/* Vergabemarkt.de - Global Stylesheet 
   Clean, Professional, and Centered
*/

:root {
    --deep-blue: #003B5C;
    --trust-blue: #3A75B0;
    --vibrant-green: #4CAF50;
    --bg-gray: #f9f9f9;
    --text-gray: #444;
    --white: #ffffff;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

/* Layout Containers */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    max-width: 550px;
    width: 100%;
    box-sizing: border-box;

    /* KEY FIX: Forces all elements (logo, badge, etc.) to the center */
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Elements */
.logo {
    max-width: 480px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 0.5rem;
    /* Blend mode helps if the image has a slightly different white background */
    mix-blend-mode: multiply; 
}

.badge {
    display: inline-block;
    background-color: var(--vibrant-green);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    /* Keeps badge from stretching to full width */
    width: fit-content; 
}

/* Typography */
h1 {
    color: var(--deep-blue);
    font-size: 1.65rem;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

h2 {
    color: var(--deep-blue);
    font-size: 1.1rem;
    margin-top: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: #555;
}

/* Button */
.contact-btn {
    display: inline-block;
    background-color: var(--deep-blue);
    color: var(--white) !important; /* Force text to stay white */
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none !important; /* Remove underlines */
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--deep-blue);
    cursor: pointer;
}

.contact-btn:hover {
    background-color: var(--trust-blue);
    border-color: var(--trust-blue);
    color: var(--white) !important; /* Keep text visible on hover */
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* Links & Footer */
a {
    color: var(--deep-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--trust-blue);
    text-decoration: underline;
}

.footer {
    margin-top: 3.5rem;
    font-size: 0.85rem;
    color: #aaa;
}

.footer a {
    color: #999;
}