/* TODO: sort css into multiple files if needed & Revisit base styles (they are a little all over the place) */

/* ---------- VARIABLES ---------- */
:root {
    /* Section vertikal */
    --section-y: 80px;

    /* Page-Gutter */
    --page-x: 140px;
}

/* ---------- BASE STYLES ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    height: 100%;
}
body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f6fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section {
    padding: var(--section-y) 0;
}

a {
    color: #85ecc3;
}
h3 {
    color: white;
}
.container {
    padding-left: var(--page-x);
    padding-right: var(--page-x);
    align-content: center;
}
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.spacer-mid {
    height: 50px;
}

/*
button {
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button:hover {
    background: #85ecc3;
} */

/* ---------- NAVBAR ---------- */
nav {
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    background: #0e0e2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #34b984;
}
.menu-toggle {
    display: none;
}
/* -------- DISCLAIMER -------*/

.disclaimer-banner {
    position: sticky;
    top: 77px;
    z-index: 9999;
    width: 100%;
    padding: 12px 80px 12px 45px;
    background: #57a8fe;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: default;
}

.disclaimer-close {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.disclaimer-close::before {
    content: "×";
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    opacity: 0.6;
    line-height: 1;
}

.disclaimer-close:hover::before {
    opacity: 1;
    color: #85ecc3;
}

/* ---------- HEADER ---------- */
header {
    background-image: url("../images/Header.png") !important;
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 5%;
    color: white;
}

.header-content {
    padding: 40px;
    width: 50%;
    border-radius: 8px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- ABOUT SECTION ---------- */

.about {
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about p {
    max-width: 800px;
    margin: auto;
    color: rgba(0, 0, 0, 0.7);
    font-size: 1rem;
}

.flag-row {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #f8f8f8;
    padding: 10px;
}
.flag-row svg {
    width: 80px;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/* ---------- TEAM SECTION ---------- */
.team {
    text-align: center;
}

.team h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;

    max-width: 1100px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 280px;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
}

.team-member img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.team-member h3 {
    margin: 15px 0 5px;
    color: #34495e;
}

.team-member p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ---------- IMPRESSUM SECTION ---------- */

.contact.impressum {
    background: #1c1447;
}

.impressum-intro {
    color: #ffffff;
    font-size: 0.98rem;
    max-width: 520px;
}




.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #34b984;
}

.contact p {
    color: white;
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
}

/* ---------- FOOTER ---------- */
footer {
    margin-top: auto;
    background: #0e0e2a;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* ---------- RESPONSIVE ---------- */

/* Viewport-Stufen für Außen-Padding */
@media (max-width: 1200px) {
    :root {
        --page-x: 80px;
    }
}

@media (max-width: 992px) {
    :root {
        --page-x: 60px;
    }

    header {
        justify-content: center;
        padding: 0;
        height: auto;
        min-height: 400px;
    }

    .header-content {
        width: 100%;
        padding: 30px 20px;
        background: rgba(14, 14, 42, 0.25);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    nav.active ul {
        display: flex;
        flex-direction: column;
        background: #34495e;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
        color: white;
        font-size: 1.6rem;
        cursor: pointer;
    }

    .team-member {
        max-width: 90%;
    }
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    :root {
        --page-x: 30px;
    }
}
