:root {
    --primary-color: #003366; /* Dunkelblau für Seriösität */
    --secondary-color: #666666; /* Grau für Akzente */
    --bg-light: #f4f4f4;
    --text-color: #333;
    --white: #ffffff;
    --font-main: 'Poppins', sans-serif;
    --nav-font-size: 1.1rem;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Gemeinsame Layout-Elemente */
.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
}

/* Hero Sektion */
.hero {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: left;
    padding-bottom: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-sub {
    font-weight: 300;
    margin-top: 15px;
    font-size: 1.4rem;
    opacity: 0.9;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 10px;
    display: inline-block;
    color: #e0e0e0;
    white-space: nowrap;
}

/* Main Content */
main {
    padding: 140px 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero + main {
    padding-top: 60px;
}

.intro-box {
    background-color: var(--bg-light);
    padding: 60px;
    border-radius: 8px;
    border-left: 8px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.intro-box h2 {
    margin-top: 0;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.profile-img-container {
    background-color: var(--secondary-color);
    padding: 10px;
    border-radius: 4px;
}

.profile-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.contact-info p {
    margin-bottom: 10px;
}

form {
    display: flex;
    flex-direction: column;
}

form input, form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-main);
}

form input[type="submit"] {
    background-color: var(--secondary-color);
    color: var(--white);
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

form input[type="submit"]:hover {
    background-color: #888;
}

.legal {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.8rem;
}

.legal-toggle {
    cursor: pointer;
    text-decoration: underline;
    margin-right: 20px;
}

.legal-content {
    display: none;
    margin-top: 20px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 4px;
}

.legal-content.active {
    display: block;
}

/* Media Queries Basis */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .intro-box {
        padding: 30px;
    }

    .intro-box h2 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-sub {
        font-size: 1.0rem;
        white-space: normal;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero-sub {
        font-size: 0.9rem;
    }
}
