:root {
    --background: #f7f7f5;
    --surface: #ffffff;
    --surface-muted: #eeeeea;
    --text: #171717;
    --text-soft: #646464;
    --border: #ddddda;
    --accent: #202020;
    --max-width: 1180px;
}


/* =========================
   Grundlayout
   ========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.narrow {
    max-width: 850px;
}


/* =========================
   Header
   ========================= */

.site-header {
    background: rgba(247, 247, 245, 0.96);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;
}

.brand {
    color: var(--text);

    font-size: 1.3rem;
    font-weight: 750;
    letter-spacing: -0.04em;

    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation a {
    color: var(--text-soft);

    font-size: 0.95rem;
    text-decoration: none;

    transition: color 0.15s ease;
}

.navigation a:hover {
    color: var(--text);
}


/* =========================
   Sprachumschalter
   ========================= */

.language-switch {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--text-soft);

    font-size: 0.85rem;
    white-space: nowrap;
}

.language-switch a {
    color: var(--text-soft);
    text-decoration: none;

    transition: color 0.15s ease;
}

.language-switch a:hover {
    color: var(--text);
}

.language-active {
    color: var(--text);
    font-weight: 700;
}

.language-separator {
    color: #bdbdb8;
}


/* =========================
   Hero
   ========================= */

.hero {
    padding: 150px 0 140px;
}

.hero-content {
    max-width: 940px;
}

.eyebrow,
.section-label,
.product-status {
    margin: 0 0 18px;

    color: var(--text-soft);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

h1 {
    max-width: 900px;

    margin: 0;

    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.hero-text {
    max-width: 700px;

    margin: 32px 0 40px;

    color: var(--text-soft);

    font-size: 1.25rem;
}

.primary-button {
    display: inline-block;

    padding: 14px 22px;

    border-radius: 8px;

    background: var(--accent);
    color: #ffffff;

    font-weight: 650;
    text-decoration: none;

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}

.primary-button:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}


/* =========================
   Bereiche
   ========================= */

.section {
    padding: 110px 0;

    border-top: 1px solid var(--border);
}

.section-muted {
    background: var(--surface-muted);
}

h2 {
    max-width: 820px;

    margin: 0 0 40px;

    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

h3 {
    margin: 0 0 14px;

    font-size: 1.65rem;
    letter-spacing: -0.025em;
}

.body-text {
    max-width: 760px;

    margin: 0 0 20px;

    color: var(--text-soft);

    font-size: 1.08rem;
}


/* =========================
   Produktbereich
   ========================= */

.product-card {
    margin-top: 50px;
    padding: 42px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 14px;
}

.product-card p:last-child {
    max-width: 700px;

    margin-bottom: 0;

    color: var(--text-soft);
}


/* =========================
   Kontakt
   ========================= */

.contact-link {
    display: inline-block;

    margin-top: 8px;

    font-size: 1.15rem;
    font-weight: 650;

    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================
   Rechtliche Seiten
   ========================= */

.legal-page {
    min-height: 65vh;
}

.legal-title {
    margin-bottom: 50px;

    font-size: clamp(2.8rem, 6vw, 5rem);
}

.legal-content {
    max-width: 760px;
}

.legal-content h2 {
    margin: 42px 0 14px;

    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 24px;

    color: var(--text-soft);

    font-size: 1.05rem;
}

.legal-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-language-note {
    margin-bottom: 40px !important;
    padding: 16px 18px;

    background: var(--surface-muted);

    border-radius: 8px;
}


/* =========================
   Footer
   ========================= */

.site-footer {
    padding: 55px 0 28px;

    background: #171717;
    color: #ffffff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;

    gap: 40px;
}

.footer-inner strong {
    font-size: 1.15rem;
}

.footer-inner p {
    margin: 6px 0 0;

    color: #a9a9a9;
}

.footer-links {
    display: flex;

    gap: 24px;
}

.footer-links a {
    color: #d5d5d5;

    text-decoration: none;

    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    margin-top: 45px;
    padding-top: 22px;

    border-top: 1px solid #343434;

    color: #888888;

    font-size: 0.85rem;
}

.copyright p {
    margin: 0;
}


/* =========================
   Fokus für Tastaturbedienung
   ========================= */

a:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 4px;

    border-radius: 3px;
}


/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {

    .header-inner {
        gap: 20px;
    }

    .header-right {
        gap: 20px;
    }

    .navigation {
        gap: 18px;
    }
}


@media (max-width: 720px) {

    .header-inner {
        align-items: flex-start;
        flex-direction: column;

        padding: 20px 0;
    }

    .header-right {
        width: 100%;

        align-items: flex-start;
        flex-direction: column;

        gap: 14px;
    }

    .navigation {
        width: 100%;

        gap: 16px;

        overflow-x: auto;

        padding-bottom: 2px;
    }

    .navigation a {
        white-space: nowrap;
    }

    .hero {
        padding: 100px 0 90px;
    }

    .section {
        padding: 80px 0;
    }

    .product-card {
        padding: 28px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;

        gap: 10px;
    }

    .legal-title {
        margin-bottom: 38px;
    }

    .legal-content h2 {
        margin-top: 36px;
    }
}


@media (max-width: 480px) {

    .container {
        width: min(90%, var(--max-width));
    }

    .hero {
        padding: 80px 0 75px;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .section {
        padding: 65px 0;
    }

    .product-card {
        padding: 24px;
    }
}