/* ============================================================
   FONTS — self-hosted, DSGVO compliant
   ============================================================ */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair/PlayfairDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair/PlayfairDisplay-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/jetbrains/JetBrainsMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --bg:          #0d0d0d;
    --surface:     #111111;
    --surface-deep:#070707;
    --border:      #1e1e1e;
    --text:        #f5f5f5;
    --text-muted:  #999999;
    --accent:      #0057a8;
    --accent-light:#4d9de0;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-code:    'JetBrains Mono', 'Courier New', monospace;

    --max-width: 1100px;
    --gap: 2rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-light);
    text-decoration: none;
}

a:hover {
    color: var(--text);
}

img { max-width: 100%; display: block; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

/* ============================================================
   BAVARIAN RAUTEN BAND
   ============================================================ */
.rauten-band {
    height: 12px;
    background-image: repeating-linear-gradient(
        45deg,
        var(--accent) 0px,
        var(--accent) 6px,
        transparent 6px,
        transparent 12px
    ),
    repeating-linear-gradient(
        -45deg,
        var(--accent) 0px,
        var(--accent) 6px,
        transparent 6px,
        transparent 12px
    );
    opacity: 0.6;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: background 0.3s ease, border-bottom 0.3s ease;
}

.nav.scrolled {
    background: rgba(13, 13, 13, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.nav__logo span {
    color: var(--accent-light);
}

.nav__links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav__links a:hover {
    color: var(--text);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
}

.hero__rauten-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.hero__content {
    padding: 5rem 0 4rem;
}

.hero__eyebrow {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--accent-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0;
}

.hero__headline-accent {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--accent-light);
    margin-bottom: 2rem;
    display: block;
}

.hero__divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 2rem 0;
}

.hero__subline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero__subline strong {
    color: var(--text);
    font-weight: 600;
}

.hero__prost {
    margin-top: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    opacity: 0.7;
    font-style: italic;
    letter-spacing: 0.01em;
}

/* ── Schema interlude section ──────────────────────────────── */
.schema-interlude {
    padding: 4rem 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.schema-interlude .container {
    max-width: 600px;
}

.schema-interlude__caption {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.65;
}

/* ── Schema gimmick window ─────────────────────────────────── */
.schema-win {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(77,157,224,0.08);
}

.schema-win__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--surface-deep);
    border-bottom: 1px solid var(--border);
}

.sw-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.sw-dot--r { background: #ff5f56; }
.sw-dot--y { background: #febc2e; }
.sw-dot--g { background: #28c840; }

.schema-win__label {
    margin-left: 6px;
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.55;
}

.schema-win__code {
    padding: 1.25rem 1.75rem;
    margin: 0;
    font-family: var(--font-code);
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-muted);
    overflow: hidden;
    white-space: pre;
}

/* Syntax colours */
.j-k { color: #4d9de0; }
.j-s { color: #4caf82; }
.j-p { color: var(--text-muted); opacity: 0.6; }
.j-c { color: #4caf82; font-style: normal; }

/* Line-by-line animation — triggered by .is-visible on parent */
.sl {
    display: block;
    opacity: 0;
}
.schema-win.is-visible .sl {
    animation: schema-line-in 0.35s ease forwards;
}
.schema-win.is-visible .l1 { animation-delay: 0.1s; }
.schema-win.is-visible .l2 { animation-delay: 0.55s; }
.schema-win.is-visible .l3 { animation-delay: 1.0s; }
.schema-win.is-visible .l4 { animation-delay: 1.45s; }
.schema-win.is-visible .l5 { animation-delay: 1.9s; }
.schema-win.is-visible .l6 { animation-delay: 2.35s; }

@keyframes schema-line-in {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Blinking cursor */
.schema-cursor {
    display: inline-block;
    width: 2px;
    height: 0.9em;
    background: var(--accent-light);
    margin-left: 1px;
    vertical-align: text-bottom;
    animation: schema-blink 1s step-end infinite;
}

@keyframes schema-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
}

.btn--primary:hover {
    background: #0069cc;
    border-color: #0069cc;
    color: #fff;
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--border);
}

.btn--ghost:hover {
    border-color: var(--accent-light);
    color: var(--accent-light);
    transform: translateY(-1px);
}

/* ============================================================
   PITCH SECTION
   ============================================================ */
.pitch {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pitch__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.pitch__personal {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-left: 2px solid var(--accent);
    padding-left: 1.25rem;
    line-height: 1.8;
}

.pitch__personal cite {
    display: block;
    margin-top: 1rem;
    color: var(--accent-light);
    font-style: normal;
    font-weight: 600;
    font-size: 0.85rem;
}

.pitch__text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.pitch__text p + p {
    margin-top: 1rem;
}

.pitch__text strong {
    color: var(--text);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features__heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.features__subheading {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.feature-card__icon {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.features__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ============================================================
   SECURITY SECTION
   ============================================================ */
.security {
    background: var(--surface-deep);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.security__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.security__heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.security__text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.security__text p + p {
    margin-top: 1rem;
}

.security__text strong {
    color: var(--text);
}

.code-block {
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block pre {
    font-family: var(--font-code);
    font-size: 0.82rem;
    line-height: 1.7;
    color: #c9d1d9;
    white-space: pre;
}

.code-block .c  { color: #6e7681; } /* comment */
.code-block .k  { color: var(--accent-light); } /* keyword */
.code-block .s  { color: #a5d6ff; } /* string */
.code-block .p  { color: #f0883e; } /* punctuation/prefix */

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
    text-align: center;
}

.pricing__headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.pricing__headline span {
    color: var(--accent-light);
}

.pricing__text {
    max-width: 620px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.pricing__text p + p {
    margin-top: 0.75rem;
}

.pricing__providers {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.provider-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ============================================================
   STORY / TRUST SIGNAL SECTION
   ============================================================ */
.story {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.story__label {
    font-family: var(--font-code);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    margin-bottom: 2rem;
}

.story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story__blockquote {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.45;
    color: var(--text);
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
    margin: 0 0 1.5rem;
}

.story__author {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    line-height: 1.7;
}

.story__author strong {
    color: var(--text);
}

.story__author a {
    color: var(--accent-light);
    text-decoration: none;
}

.story__author a:hover {
    text-decoration: underline;
}

.story__heading {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.story__text p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.story__text p:last-of-type {
    margin-bottom: 1.5rem;
}

.story__link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-light);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.story__link:hover {
    text-decoration: underline;
}

/* ============================================================
   GET IT / CTA SECTION
   ============================================================ */
.getit {
    background: var(--surface);
    border-top: 1px solid var(--border);
    text-align: center;
}

.getit__heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.getit__sub {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.getit__prost {
    color: var(--accent-light);
    font-style: italic;
}

.getit__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.getit__requirements {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__brand {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer__brand a {
    color: var(--accent-light);
}

.footer__links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer__links a:hover {
    color: var(--text);
}

/* ============================================================
   SUBPAGE LAYOUT (changelog, impressum)
   ============================================================ */
.subpage {
    padding-top: 120px;
    min-height: 100vh;
}

.subpage__header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
}

.subpage__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.subpage__meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Changelog specific */
.changelog-version {
    margin-bottom: 3rem;
}

.changelog-version__heading {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--accent-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.changelog-version__heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.changelog-version ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.changelog-version li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.changelog-version li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.5rem;
    top: 0.4em;
}

/* Impressum specific */
.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.legal-section h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent-light);
    margin: 1rem 0 0.5rem;
}

.legal-section p,
.legal-section address {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-section ul {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.legal-section a {
    color: var(--accent-light);
}

/* ============================================================
   PRICING PROOF — real-world cost snapshot
   ============================================================ */
.pricing__proof {
    margin: 3rem auto 0;
    max-width: 660px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.proof__header {
    background: var(--surface-deep);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.proof__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-light);
    flex-shrink: 0;
}

.proof__eyebrow {
    font-family: var(--font-code);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
}

.proof__body {
    padding: 1.75rem 1.5rem 1.5rem;
}

.proof__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.proof__stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.proof__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
}

.proof__stat--highlight .proof__num {
    color: var(--accent-light);
}

.proof__desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.proof__detail {
    font-family: var(--font-code);
    font-size: 0.74rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    line-height: 1.9;
}

.proof__detail strong {
    color: var(--text);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .pitch__grid,
    .security__grid,
    .story__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .features__grid {
        grid-template-columns: 1fr;
    }

    .proof__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border);
        gap: 0;
    }

    .nav__links.open {
        display: flex;
    }

    .nav__links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }

    .nav__toggle {
        display: block;
    }

    .hero__ctas,
    .getit__buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .getit__buttons {
        align-items: center;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps__heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.steps__sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 520px;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.step {
    position: relative;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s, transform 0.2s;
}

.step:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.step__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.25;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.step__title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.step__desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.step__desc code {
    font-family: var(--font-code);
    font-size: 0.82rem;
    color: var(--accent-light);
    background: var(--surface-deep);
    padding: 0.1em 0.4em;
    border-radius: 3px;
}

.geo-callout {
    margin-top: 3rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-light);
    border-radius: 6px;
    background: var(--surface-deep);
}

.geo-callout p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.geo-callout strong {
    color: var(--text);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
    background: var(--surface-deep);
    border-top: 1px solid var(--border);
}

.faq__heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.faq__list {
    max-width: 720px;
    display: grid;
    gap: 0.75rem;
}

.faq__more {
    margin-top: 2.5rem;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
}

.faq__item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
    transition: background 0.15s;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--accent-light);
    flex-shrink: 0;
    transition: transform 0.2s;
    font-weight: 300;
    line-height: 1;
}

.faq__item[open] summary::after {
    transform: rotate(45deg);
}

.faq__item[open] summary {
    border-bottom: 1px solid var(--border);
}

.faq__item summary:hover {
    background: var(--bg);
}

.faq__answer {
    padding: 1.25rem 1.5rem;
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.faq__answer p + p {
    margin-top: 0.75rem;
}

.faq__answer strong {
    color: var(--text);
}

.faq__answer code {
    font-family: var(--font-code);
    font-size: 0.82rem;
    color: var(--accent-light);
    background: var(--surface-deep);
    padding: 0.1em 0.4em;
    border-radius: 3px;
}

/* ── FAQ standalone page ─────────────────── */
.faq-page {
    max-width: 760px;
    padding-bottom: 4rem;
}

.faq-section {
    margin-top: 3.5rem;
}

.faq-section__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: var(--accent-light);
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
}

.faq-page .faq__list {
    max-width: 100%;
}

/* ── Scrollable table wrapper (mobile) ─── */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.25rem 0;
}
.table-scroll .class-table {
    margin: 0;
    min-width: 520px;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 1.5rem;
}

.lang-switcher__btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-code);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.2rem 0;
    line-height: 1;
    transition: color 0.2s;
}

.lang-switcher__btn:hover {
    color: var(--accent-light);
}

.lang-switcher__btn.is-active {
    color: var(--accent-light);
    cursor: default;
}

.lang-switcher__sep {
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: var(--border);
    user-select: none;
    line-height: 1;
}

/* Mobile: Switcher im offenen Nav-Menü */
@media (max-width: 600px) {
    .lang-switcher {
        margin-left: 0;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
}

/* ============================================================
   DEMO PAGE — Hero
   ============================================================ */
.demo-hero {
    padding: 9rem 0 5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.demo-hero__eyebrow {
    font-family: var(--font-code);
    font-size: 0.82rem;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.demo-hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.demo-hero__title-accent {
    font-style: italic;
    color: var(--accent-light);
    display: block;
}

.demo-hero__sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 1.25rem auto 0;
    line-height: 1.6;
}

/* ============================================================
   ALPINE DEMO CARD
   ============================================================ */
.alpine-section {
    padding: 5rem 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.alpine-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    overflow: hidden;
    max-width: 780px;
    margin: 0 auto;
}

.alpine-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.alpine-card__mountain {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.alpine-card__badge {
    display: inline-block;
    font-family: var(--font-code);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    background: rgba(77, 157, 224, 0.1);
    border: 1px solid rgba(77, 157, 224, 0.25);
    border-radius: 20px;
    padding: 0.25rem 0.85rem;
    margin-bottom: 1.25rem;
}

.alpine-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.alpine-card__text {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

.alpine-card__cta {
    margin-bottom: 1.5rem;
}

.alpine-card__note {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
    font-style: italic;
}

/* ============================================================
   SCREENSHOT GRID
   ============================================================ */
.screens-section {
    padding: 5rem 0 6rem;
}

.screens-section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.screens-section__heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.screens-section__sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.screen-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.screen-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-2px);
}

.screen-card--wide {
    grid-column: span 2;
}

.screen-card__thumb {
    display: block;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--surface-deep);
    flex-shrink: 0;
}

.screen-card__thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.35s ease;
}

.screen-card:hover .screen-card__thumb img {
    transform: scale(1.04);
}

.screen-card__thumb--pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    cursor: zoom-in;
}

.screen-card__thumb--pair img {
    height: 160px;
    cursor: zoom-in;
}

.screen-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
    flex: 1;
}

.screen-card__label {
    font-family: var(--font-code);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-light);
    margin-bottom: 0.4rem;
}

.screen-card__title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.screen-card__desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#brezn-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    backdrop-filter: blur(6px);
}

#brezn-lightbox.is-open {
    display: flex;
    animation: lb-in 0.18s ease;
}

@keyframes lb-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#brezn-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.8);
    cursor: default;
    display: block;
}

#brezn-lightbox__close {
    position: fixed;
    top: 1.5rem;
    right: 1.75rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff;
    font-size: 1.4rem;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s;
}

#brezn-lightbox__close:hover {
    background: rgba(255,255,255,0.18);
}

/* ============================================================
   HOMEPAGE DEMO TEASER
   ============================================================ */
.demo-teaser {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5rem 0;
}

.demo-teaser__inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: center;
}

.demo-teaser__eyebrow {
    font-family: var(--font-code);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
}

.demo-teaser__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1rem;
}

.demo-teaser__sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.demo-teaser__screens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.demo-teaser__thumb {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border);
    cursor: zoom-in;
    padding: 0;
    background: none;
    transition: border-color 0.2s, transform 0.2s;
}

.demo-teaser__thumb:hover {
    border-color: var(--accent-light);
    transform: translateY(-2px);
}

.demo-teaser__thumb img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.35s ease;
}

.demo-teaser__thumb:hover img {
    transform: scale(1.05);
}

.demo-teaser__caption {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
    font-style: italic;
    grid-column: span 3;
}

/* ============================================================
   DEMO PAGE — RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .screens-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screen-card--wide {
        grid-column: span 2;
    }

    .demo-teaser__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .screens-grid {
        grid-template-columns: 1fr;
    }

    .screen-card--wide {
        grid-column: span 1;
    }

    .screen-card__thumb--pair {
        grid-template-columns: 1fr 1fr;
    }

    .demo-teaser__screens {
        grid-template-columns: 1fr 1fr;
    }

    .demo-teaser__caption {
        grid-column: span 2;
    }
}
