:root {
    color-scheme: light;
    --navy: #11233d;
    --navy-deep: #09172a;
    --accent: #c93e3a;
    --ink: #18263b;
    --muted: #5f6c7d;
    --line: #dce3ea;
    --light: #f3f6f9;
    --white: #fff;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white)
}

a {
    color: inherit
}

button {
    font: inherit
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -70px;
    background: #fff;
    color: #000;
    padding: 10px;
    z-index: 100
}

.skip-link:focus {
    top: 10px
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 10
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 88px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--navy);
    font-size: 1.13rem;
    font-weight: 850;
    letter-spacing: .025em;
    line-height: 1.08
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 9px;
    background: var(--navy);
    color: white;
    font-size: .93rem
}

.brand-accent {
    color: var(--accent)
}

.brand small {
    display: block;
    font-weight: 500;
    font-size: .64rem;
    letter-spacing: .05em;
    color: var(--muted);
    margin-top: 6px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 23px
}

.main-nav a {
    font-size: .9rem;
    text-decoration: none;
    font-weight: 650
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--accent)
}

.language-label {
    font-size: .84rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 7px 10px;
    color: var(--muted)
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 8px 12px;
    cursor: pointer
}

.hero {
    padding-block: 88px 96px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .13em;
    color: var(--accent);
    font-size: .76rem;
    font-weight: 800;
    margin: 0 0 13px
}

.hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.8rem);
    letter-spacing: -.045em;
    line-height: 1.12;
    color: var(--navy);
    margin: 0;
    max-width: 1000px
}

.hero h1 span {
    color: var(--accent)
}

.hero-copy {
    font-size: 1.18rem;
    color: var(--muted);
    max-width: 730px;
    margin: 27px 0 30px
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
    padding: 13px 20px;
    font-weight: 750;
    text-decoration: none
}

.button:hover {
    background: var(--navy-deep)
}

.section {
    padding-block: 69px 85px
}

.section-muted {
    background: var(--light)
}

.section-heading {
    margin-bottom: 29px
}

.section-heading h2,
.method h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.8rem, 3.2vw, 2.75rem);
    letter-spacing: -.035em;
    line-height: 1.2
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px
}

.topic-card,
.article-card {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 29px;
    background: #fff
}

.topic-card {
    min-height: 260px;
    border-top: 5px solid var(--navy)
}

.topic-card:nth-child(2) {
    border-top-color: var(--accent)
}

.topic-symbol {
    display: inline-grid;
    place-items: center;
    background: var(--light);
    color: var(--navy);
    border-radius: 9px;
    font-weight: 900;
    width: 51px;
    height: 51px
}

.topic-card h3 {
    font-size: 1.6rem;
    margin: 15px 0 6px
}

.topic-card p,
.article-card p {
    color: var(--muted)
}

.coming-soon,
.status {
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent) !important
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.article-card h3 {
    font-size: 1.22rem;
    line-height: 1.35;
    margin: 8px 0
}

.article-card .category {
    font-size: .74rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--accent);
    margin-top: 0
}

.article-card .status {
    padding-top: 15px;
    border-top: 1px solid var(--line)
}

.method {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px
}

.method>div>p {
    margin-top: 0
}

.steps {
    padding-left: 22px;
    font-weight: 680;
    color: var(--navy)
}

.steps li {
    margin: 9px 0
}

.site-footer {
    background: var(--navy-deep);
    color: #fff;
    padding: 42px 0
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px
}

.footer-inner p,
.footer-inner small {
    color: #bac5d3;
    font-size: .88rem
}

.footer-inner strong {
    letter-spacing: .08em
}

@media(max-width:900px) {
    .header-inner {
        min-height: 75px
    }

    .menu-toggle {
        display: block
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 25px #11233d12;
        flex-direction: column;
        align-items: stretch;
        gap: 15px
    }

    .main-nav.is-open {
        display: flex
    }

    .main-nav a {
        padding: 4px
    }

    .article-grid {
        grid-template-columns: 1fr 1fr
    }

    .method {
        gap: 25px
    }
}

@media(max-width:640px) {
    .container {
        width: min(var(--max), calc(100% - 30px))
    }

    .hero {
        padding-block: 65px 70px
    }

    .section {
        padding-block: 52px 62px
    }

    .topic-grid,
    .article-grid,
    .method,
    .footer-inner {
        grid-template-columns: 1fr
    }

    .topic-card,
    .article-card {
        padding: 22px
    }

    .hero-copy {
        font-size: 1.02rem
    }

    .footer-inner {
        gap: 15px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

/* Suche im gemeinsamen Header */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap
}

.header-search {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    min-width: 170px
}

.header-search:focus-within {
    outline: 2px solid var(--navy);
    outline-offset: 2px
}

.header-search input {
    width: 125px;
    min-width: 0;
    border: 0;
    padding: 9px 10px;
    font: inherit;
    font-size: .87rem;
    outline: none
}

.header-search button {
    background: var(--navy);
    color: #fff;
    border: 0;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 1.3rem
}

.header-search button:hover {
    background: var(--navy-deep)
}

@media(max-width:900px) {
    .header-search {
        width: 100%
    }

    .header-search input {
        flex: 1;
        width: 100%
    }
}

.aufbau-hinweis {
    max-width: 1100px;
    margin: 32px auto;
    padding: 28px 32px;
    background: #eef4f9;
    border-left: 5px solid #244b73;
    border-radius: 10px;
    color: #183047;
}

.aufbau-hinweis h2 {
    margin: 0 0 16px;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

.aufbau-hinweis p {
    line-height: 1.7;
    margin: 0 0 12px;
}

.aufbau-hinweis p:last-child {
    margin-bottom: 0;
}