/* ============================================================================
   Cuckoo — Marketing landing page
   House style: webhoch editorial/engineering (Archivo + IBM Plex), skinned in
   Cuckoo's pink→cyan brand. Cool paper body, bold dark-slate hero.
   No build step — plain CSS, fonts from bunny.net (GDPR-friendly CDN).
   ========================================================================== */

:root {
    /* ink / paper */
    --ink:      #0f172a;   /* slate-900 — primary text + dark bands */
    --ink-2:    #1e293b;   /* slate-800 */
    --ink-3:    #334155;   /* slate-700 — borders on dark */
    --paper:    #f7f8fb;   /* cool near-white page base */
    --paper-2:  #ffffff;
    --line:     #e6e9f1;   /* hairlines on light */
    --line-2:   #d4dae6;
    --muted:    #46506a;   /* muted body text on light (WCAG-AA, ~6.5:1) */
    --muted-2:  #6b7490;   /* small meta text */

    /* Cuckoo brand */
    --pink:     #fd71ba;
    --cyan:     #87d0ec;
    --magenta:  #e0249a;   /* deepened pink — AA on light */
    --teal:     #0c7d9b;   /* deepened cyan — AA on light */
    --grad:      linear-gradient(100deg, #fd71ba 0%, #87d0ec 100%);
    --grad-deep: linear-gradient(100deg, #e0249a 0%, #2cb6d8 100%);
    --glow-pink: rgba(253, 113, 186, .40);
    --glow-cyan: rgba(135, 208, 236, .40);

    --maxw:   1120px;
    --radius: 16px;
    --radius-sm: 10px;

    --font-display: 'Archivo', 'Archivo Black', system-ui, sans-serif;
    --font-body:    'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* shared type bits ---------------------------------------------------------- */
.kicker {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--magenta);
    display: inline-flex;
    align-items: center;
    gap: .6em;
}
.kicker::before {
    content: "";
    width: 26px; height: 2px;
    background: var(--grad);
    border-radius: 2px;
}
.gradient-text {
    background: var(--grad-deep);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }

/* buttons ------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .02em;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-volt {
    background: var(--grad);
    color: #2a0d1f;
    font-weight: 600;
    box-shadow: 0 8px 24px -8px var(--glow-pink), 0 4px 12px -6px var(--glow-cyan);
}
.btn-volt:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px var(--glow-pink), 0 8px 18px -8px var(--glow-cyan); }

.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--magenta); color: var(--magenta); transform: translateY(-2px); }

.btn-on-dark.btn-ghost { border-color: rgba(255,255,255,.28); color: #ffffff; }
.btn-on-dark.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ============================================================================
   NAV
   ========================================================================== */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 248, 251, .82);
    backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.brand .brand-mark { width: auto; height: 42px; display: block; }
.brand .word { background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .03em; color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-lang { font-family: var(--font-mono); font-size: .72rem; color: var(--muted-2); letter-spacing: .1em; }
.nav-lang b { color: var(--ink); }
.nav-lang a { color: var(--muted-2); transition: color .2s; }
.nav-lang a:hover { color: var(--ink); }
.nav-lang a.on { color: var(--magenta); font-weight: 700; }
.nav-toggle { display: none; }

/* ============================================================================
   HERO  (dark slate band)
   ========================================================================== */
.hero {
    position: relative;
    background: var(--ink);
    color: #eef2fa;
    overflow: hidden;
    padding: 92px 0 104px;
    border-bottom: 1px solid var(--ink-2);
}
/* engineering grid texture + brand glow */
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 80%);
}
.hero::after {
    content: "";
    position: absolute; right: -10%; top: -30%;
    width: 720px; height: 720px;
    background: radial-gradient(circle at center, var(--glow-pink), transparent 60%);
    filter: blur(20px);
    opacity: .55;
    pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: .76rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--cyan);
    display: inline-flex; align-items: center; gap: .7em;
    margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); margin-bottom: 22px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero-sub { font-size: 1.12rem; color: #aeb8cc; max-width: 30em; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stats .stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; }
.hero-stats .stat span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #7e8aa3; }
.hero-stats .stat b.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* product mock card --------------------------------------------------------- */
.mock {
    position: relative;
    background: linear-gradient(180deg, #182338, #111a2b);
    border: 1px solid var(--ink-3);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.mock::before {
    content: "";
    position: absolute; inset: -1px;
    border-radius: 19px;
    padding: 1px;
    background: linear-gradient(140deg, var(--glow-pink), transparent 40%, var(--glow-cyan));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.mock-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 2px 4px; }
.mock-top .dots { display: flex; gap: 6px; }
.mock-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: #34405a; }
.mock-top .title { font-family: var(--font-mono); font-size: .72rem; color: #7e8aa3; margin-left: 6px; }
.mock-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 14px;
    border-radius: 11px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.05);
    margin-bottom: 9px;
}
.mock-row .l { display: flex; align-items: center; gap: 11px; }
.mock-row .ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: .9rem; background: rgba(253,113,186,.14); }
.mock-row .ico.c { background: rgba(135,208,236,.14); }
.mock-row .nm { font-size: .86rem; color: #f1f5fc; font-weight: 500; }
.mock-row .mt { font-family: var(--font-mono); font-size: .68rem; color: #6e7a93; }
.mock-row .val { font-family: var(--font-mono); font-size: .9rem; font-weight: 500; }
.mock-row .val.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mock-row .pill { font-family: var(--font-mono); font-size: .64rem; padding: 3px 9px; border-radius: 999px; background: rgba(135,208,236,.16); color: var(--cyan); letter-spacing: .04em; }
.mock-row .pill.pay { background: rgba(63,125,78,.18); color: #6fce8d; }
.mock-timer {
    font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ============================================================================
   SECTION scaffold (light)
   ========================================================================== */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 40rem; margin-bottom: 52px; }
.section-head .kicker { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }

.section.tint { background: linear-gradient(180deg, #fff 0%, #f1f3f9 100%); border-block: 1px solid var(--line); }

/* numbered module grid ------------------------------------------------------ */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module {
    background: var(--paper-2);
    padding: 30px 28px 32px;
    position: relative;
    transition: background .25s ease, transform .25s ease;
}
.module::before {
    content: "";
    position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: var(--grad);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.module:hover { background: #fff; }
.module:hover::before { transform: scaleX(1); }
.module .num { font-family: var(--font-mono); font-size: .8rem; color: var(--magenta); letter-spacing: .1em; }
.module .m-ico { font-size: 1.5rem; margin: 14px 0 12px; }
.module h3 { font-size: 1.18rem; margin-bottom: 9px; }
.module p { color: var(--muted); font-size: .96rem; }

/* ============================================================================
   FEATURE SPLIT (dark band, Profitabilitäts-Showcase)
   ========================================================================== */
.feature-band { background: var(--ink); color: #e8eefb; position: relative; overflow: hidden; }
.feature-band::after {
    content:""; position:absolute; left:-12%; bottom:-40%;
    width: 640px; height: 640px;
    background: radial-gradient(circle, var(--glow-cyan), transparent 62%);
    filter: blur(10px); opacity:.5; pointer-events:none;
}
.feature-band .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-band .kicker { color: var(--cyan); }
.feature-band .kicker::before { background: var(--grad); }
.feature-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 18px 0 18px; }
.feature-band p { color: #aab4cb; font-size: 1.05rem; }
.feature-list { margin-top: 26px; display: grid; gap: 14px; }
.feature-list li { list-style: none; display: flex; gap: 13px; align-items: flex-start; font-size: .98rem; color: #cdd5e6; }
.feature-list .tick { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .7rem; color: #0f172a; background: var(--grad); margin-top: 2px; }

/* Profitabilitäts-Flow-Visual */
.flow { display: grid; gap: 14px; }
.flow-step {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.12);
    border-left: 3px solid var(--cyan);
    border-radius: 13px; padding: 16px 18px;
}
.flow-step .fnum { font-family: var(--font-mono); font-size: .72rem; color: var(--cyan); width: 24px; flex:none; }
.flow-step .fico { font-size: 1.25rem; }
.flow-step .ftxt b { display: block; font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.flow-step .ftxt span { font-size: .84rem; color: #8c97b0; }
.flow-arrow { text-align: center; color: var(--magenta); font-size: 1rem; line-height: 0; }

/* ============================================================================
   THEMES grid (compact feature themes)
   ========================================================================== */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.theme {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    background: var(--paper-2);
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
.theme:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(15,23,42,.4); }
.theme .t-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 1.2rem; background: linear-gradient(140deg, rgba(253,113,186,.12), rgba(135,208,236,.12)); margin-bottom: 16px; }
.theme h3 { font-size: 1.08rem; margin-bottom: 8px; }
.theme ul { list-style: none; display: grid; gap: 7px; }
.theme li { font-size: .9rem; color: var(--muted); padding-left: 16px; position: relative; }
.theme li::before { content: "›"; position: absolute; left: 0; color: var(--magenta); font-weight: 700; }

/* ============================================================================
   SECURITY section
   ========================================================================== */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.sec-card { padding: 26px 24px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.sec-card .s-ico { font-size: 1.3rem; margin-bottom: 12px; }
.sec-card h3 { font-size: 1.04rem; margin-bottom: 7px; }
.sec-card p { font-size: .92rem; color: var(--muted); }

/* ============================================================================
   STEPS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }
.step .s-num { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; color: var(--magenta); margin-bottom: 14px; display: block; }
.step h3 { font-size: 1.22rem; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ============================================================================
   MULTITENANT band
   ========================================================================== */
.mt-band { background: linear-gradient(110deg, #12182a, #0f172a 60%); color: #eef2fa; border-radius: 22px; padding: 54px 48px; position: relative; overflow: hidden; }
.mt-band::after { content:""; position:absolute; right:-8%; top:-50%; width:520px; height:520px; background: radial-gradient(circle, var(--glow-pink), transparent 62%); filter: blur(10px); opacity:.5; }
.mt-band .wrap-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.mt-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.mt-band p { color: #aab4cb; font-size: 1.05rem; }
.mt-stats { display: grid; gap: 16px; }
.mt-stats .ms { display: flex; align-items: baseline; gap: 12px; border-left: 2px solid; border-image: var(--grad) 1; padding-left: 16px; }
.mt-stats .ms b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; }
.mt-stats .ms span { font-size: .9rem; color: #aab4cb; }

/* ============================================================================
   CONTACT
   ========================================================================== */
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 18px 0 18px; }
.contact-lead { color: var(--muted); font-size: 1.05rem; max-width: 26em; }
.contact-mail { margin-top: 24px; font-family: var(--font-mono); font-size: .92rem; }
.contact-mail a { color: var(--magenta); border-bottom: 1px solid currentColor; }

.form { display: grid; gap: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
    font-family: var(--font-body); font-size: .96rem; color: var(--ink);
    padding: 12px 14px; border-radius: var(--radius-sm);
    border: 1.5px solid #c4cad8; background: #fafbfd;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(224,36,154,.12); }
.field textarea { resize: vertical; min-height: 96px; }
.form .note { font-family: var(--font-mono); font-size: .72rem; color: var(--muted-2); }

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: #aab4cb; padding: 64px 0 30px; }
.footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand .brand-mark { width: auto; height: 40px; }
.footer .f-tag { font-size: .92rem; color: #8c97b0; max-width: 22em; }
.footer h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #6e7a93; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { font-size: .92rem; color: #aab4cb; transition: color .2s; }
.footer a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--ink-2); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); font-size: .74rem; color: #6e7a93; }
.footer-bottom .word { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }
.reveal.d5 { transition-delay: .30s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .pulse-dot { animation: none; } }

/* hero load animation */
.rise { opacity: 0; transform: translateY(26px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.rise.r1 { animation-delay: .05s; } .rise.r2 { animation-delay: .15s; } .rise.r3 { animation-delay: .25s; }
.rise.r4 { animation-delay: .35s; } .rise.r5 { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; opacity: 1; transform: none; } }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 940px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
    .hero { padding: 64px 0 76px; }
    .mock { max-width: 460px; }
    .feature-band .wrap { grid-template-columns: 1fr; gap: 40px; }
    .modules, .themes, .sec-grid, .steps { grid-template-columns: 1fr 1fr; }
    .mt-band .wrap-inner, .contact .wrap { grid-template-columns: 1fr; }
    .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .wrap { padding-inline: 18px; }
    .nav-links a:not(.btn):not(.nav-cta) { display: none; }
    .section { padding: 64px 0; }
    .modules, .themes, .sec-grid, .steps, .form-row, .footer .wrap { grid-template-columns: 1fr; }
    .hero-stats { gap: 22px; }
    .mt-band { padding: 36px 26px; }
    .form { padding: 22px; }
}

/* ============================================================================
   LEGAL PAGES (Impressum / Datenschutz / Widerruf)
   ========================================================================== */
.legal { background: var(--paper); min-height: 60vh; }
.legal-wrap { max-width: 760px; margin-inline: auto; padding: 56px 24px 88px; }
.legal-back { font-family: var(--font-mono); font-size: .8rem; color: var(--magenta); display: inline-block; margin-bottom: 26px; }
.legal-back:hover { color: var(--ink); }
.legal-title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 6px; }
.legal-updated { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 34px; }
.legal-content { color: var(--ink); font-size: 1rem; line-height: 1.7; }
.legal-content h2 { font-size: 1.22rem; margin: 38px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.legal-content p { margin-bottom: 14px; color: var(--muted); }
.legal-content ul { margin: 0 0 16px; padding-left: 1.25em; }
.legal-content li { margin-bottom: 7px; color: var(--muted); }
.legal-content a { color: var(--magenta); border-bottom: 1px solid currentColor; }
.legal-content a:hover { color: var(--ink); }
.legal-content strong { color: var(--ink); font-weight: 600; }
/* Impressum key/value data block */
.legal-data { display: grid; grid-template-columns: 200px 1fr; gap: 8px 18px; margin: 4px 0 22px; font-size: .96rem; }
.legal-data dt { font-family: var(--font-mono); font-size: .82rem; color: var(--muted-2); }
.legal-data dd { color: var(--ink); margin: 0; }
.legal-note { margin-top: 26px; padding: 14px 16px; border-left: 3px solid var(--line-2); background: #fff; border-radius: var(--radius-sm); font-size: .9rem; color: var(--muted); }
.legal-form { margin-top: 14px; padding: 18px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); background: #fff; font-size: .94rem; color: var(--muted); }
.legal-footer { padding: 30px 0; }
.legal-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .76rem; color: #6e7a93; }
.legal-footer-links a { margin-left: 18px; color: #aab4cb; }
.legal-footer-links a:first-child { margin-left: 0; }
.legal-footer-links a:hover { color: var(--cyan); }

@media (max-width: 600px) {
    /* keep the language switch + home link usable on legal pages */
    .legal-body .nav-links a, .legal-body .nav-lang a { display: inline-flex !important; }
    .legal-data { grid-template-columns: 1fr; gap: 2px 0; }
    .legal-data dt { margin-top: 10px; }
}

/* ============================================================================
   FAQ (accessible <details> accordion)
   ========================================================================== */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); color: var(--magenta); font-size: 1.35rem; line-height: 1; flex: none; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.65; }
