@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Source+Sans+3:wght@300;400;600&display=swap');

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

:root {
    --green-dark: #2d4a35;
    --green-mid: #4a7c59;
    --green-light: #c8dfc1;
    --cream: #f5f0e8;
    --sand: #e8dcc8;
    --text: #1e2e22;
    --accent: #b85c2a;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

/* ── HEADER ── */
header {
    background-color: var(--green-dark);
    color: var(--cream);
    padding: 2rem 2rem 2rem;
    text-align: center;
    border-bottom: 5px solid var(--accent);
}

header .logo-abbr {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    letter-spacing: 0.12em;
    color: var(--green-light);
    line-height: 1;
}

header .logo-full {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sand);
    margin-top: 0.4rem;
}

header .tagline {
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--green-light);
    font-style: italic;
}

/* ── NAV ── */
nav {
    background-color: var(--green-mid);
    display: flex;
    justify-content: center;
    gap: 0;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    padding: 0.85rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s;
}

nav a:hover {
    background-color: var(--accent);
}

/* ── HERO ── */
.hero {
    background-color: var(--sand);
    border-bottom: 2px solid var(--green-light);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    color: #3a4a3e;
}

/* ── MAIN CONTENT ── */
main {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* ── SECTION ── */
section {
    margin-bottom: 3.5rem;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--green-dark);
    border-left: 4px solid var(--accent);
    padding-left: 0.8rem;
    margin-bottom: 1.2rem;
}

section p {
    font-size: 1rem;
    font-weight: 300;
    max-width: 680px;
    margin-bottom: 0.8rem;
}

/* ── CARDS ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.card {
    background: white;
    border: 1px solid var(--green-light);
    border-top: 3px solid var(--green-mid);
    padding: 1.4rem 1.6rem;
    border-radius: 2px;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: #4a5a4e;
    margin: 0;
}

/* ── TEAM LIST ── */
.team-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    list-style: none;
}

.team-list li {
    background-color: var(--green-dark);
    color: var(--cream);
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-radius: 2px;
}

/* ── FOOTER ── */
footer {
    background-color: var(--green-dark);
    color: var(--green-light);
    text-align: center;
    padding: 1.8rem 2rem;
    font-size: 0.85rem;
    font-weight: 300;
    border-top: 4px solid var(--accent);
}

footer strong {
    color: var(--cream);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #b85c2a;
    color: white;
    text-decoration: none;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 12px rgba(184, 92, 42, 0.3);
}

.cta-button:hover {
    background-color: #2d4a35;
    transform: translateY(-3px);
}

/* ── BARRIEREFREIHEIT ── */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #b85c2a;
    outline-offset: 4px;
    border-radius: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ── MOBILE ── */
@media (max-width: 600px) {
    header {
        padding: 0.8rem 1rem;
    }

    header .logo-abbr {
        font-size: 1.6rem;
    }

    header .logo-full {
        font-size: 0.6rem;
        letter-spacing: 0.08em;
    }

    header .tagline {
        font-size: 0.8rem;
        margin-top: 0.3rem;
    }

    header img {
        max-width: 100px !important;
        height: auto !important;
        margin: 0.1rem auto !important;
    }

    nav {
        flex-wrap: nowrap;
    }

    nav a {
        padding: 0.6rem 0.5rem;
        font-size: 0.7rem;
        letter-spacing: 0.03em;
        flex: 1;
        text-align: center;
    }

    .search-bar {
        padding: 1.2rem 1rem;
    }

    .search-wrapper input {
        max-width: 100%;
    }

    main {
        padding: 0 1rem;
        margin: 1.5rem auto;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
}