/* ============================================================
   QISSES — Honig & Fliege
   Palette: Espresso #171310 · Honig #E9A13B · Wachs #F3E6CE
            Schiller #3F8E7B · Bernstein #8A5416
   Typo:    Bricolage Grotesque (Display) · Instrument Sans (Body)
            Spline Sans Mono (Labels/Daten)
   ============================================================ */

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('../fonts/bricolage-grotesque.woff2') format('woff2-variations');
    font-weight: 200 800;
    font-display: swap;
}
@font-face {
    font-family: 'Instrument Sans';
    src: url('../fonts/instrument-sans.woff2') format('woff2-variations');
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: 'Instrument Sans';
    src: url('../fonts/instrument-sans-italic.woff2') format('woff2-variations');
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Spline Sans Mono';
    src: url('../fonts/spline-sans-mono.woff2') format('woff2-variations');
    font-weight: 300 700;
    font-display: swap;
}

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

:root {
    --espresso: #171310;
    --espresso-2: #201913;
    --espresso-3: #2b2118;
    --honig: #E9A13B;
    --honig-hell: #F5C36B;
    --bernstein: #8A5416;
    --wachs: #F3E6CE;
    --wachs-tief: #E7D5B2;
    --schiller: #3F8E7B;
    --schiller-hell: #74C2AC;
    --rauch: #ADA192;          /* gedämpfter Text auf dunkel */
    --torf: #5E5340;           /* gedämpfter Text auf Wachs */
    --linie-dunkel: rgba(243, 230, 206, 0.14);
    --linie-hell: rgba(23, 19, 16, 0.16);
    --font-display: 'Bricolage Grotesque', 'Instrument Sans', sans-serif;
    --font-body: 'Instrument Sans', system-ui, sans-serif;
    --font-mono: 'Spline Sans Mono', ui-monospace, monospace;
    --pad-x: clamp(1.25rem, 4vw, 4rem);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-snap: cubic-bezier(0.6, 0.05, 0.25, 1);
}

html {
    background: var(--espresso);
    color: var(--wachs);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    background: var(--espresso);
    overflow-x: clip;
}

::selection { background: var(--honig); color: var(--espresso); }

a { color: inherit; text-decoration: none; }

:focus-visible {
    outline: 2px solid var(--honig);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Korn-Overlay für Wärme */
.grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 250;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── FLIEGE ───────────────────────────────────────────────
   Grundzustand: läuft/sitzt mit angelegten Flügeln.
   Nur während der Flucht (.fliegt) wird geflattert. */
#fliege {
    position: fixed;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    z-index: 240;
    pointer-events: none;
    will-change: transform;
    filter: drop-shadow(0 2px 2px rgba(10, 7, 4, 0.45));
    transition: filter 0.3s;
}
#fliege.fliegt {
    /* abgehoben: Schatten wird größer, weicher und rückt weg */
    filter: drop-shadow(0 11px 10px rgba(10, 7, 4, 0.28));
}
#fliege .frame {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    transform: translate(-50%, -50%);
    opacity: 0;
}
#fliege .frame-ruhe { opacity: 1; }
@keyframes flap {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
#fliege.fliegt .frame-flug { animation: flap 0.1s linear infinite; }
#fliege.fliegt .frame-ruhe { animation: flap 0.1s linear infinite reverse; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem var(--pad-x);
    transition: box-shadow 0.4s;
}
/* Blur liegt auf einem Pseudo-Element — backdrop-filter direkt auf .nav
   würde sie zum Containing Block für das fixe Mobile-Menü machen. */
.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(23, 19, 16, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity 0.4s;
}
.nav.scrolled::before { opacity: 1; }
.nav.scrolled {
    box-shadow: 0 1px 0 var(--linie-dunkel);
}
.nav-wordmark {
    font-family: var(--font-display);
    font-weight: 640;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
    color: var(--wachs);
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}
.nav-wordmark .dot { color: var(--honig); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--rauch);
}
.nav-links a { transition: color 0.25s; }
.nav-links a:hover { color: var(--wachs); }
.nav-cta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--espresso) !important;
    background: var(--honig);
    padding: 0.55rem 1.1rem;
    border-radius: 99px;
    transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--honig-hell); transform: translateY(-1px); }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 102;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--wachs); stroke-width: 1.6; fill: none; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: 8rem var(--pad-x) 5.5rem;
    overflow: hidden;
}
.hero-texture {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-texture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 30%;
    display: block;
}
.hero-texture::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(78deg, var(--espresso) 22%, rgba(23,19,16,0.55) 55%, rgba(23,19,16,0.12) 100%),
        linear-gradient(to top, var(--espresso) 2%, transparent 34%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}
.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--honig);
    margin-bottom: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.hero-eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--honig);
    display: inline-block;
}
.hero h1 {
    font-family: var(--font-display);
    font-weight: 590;
    font-size: clamp(2.9rem, 8.6vw, 7.6rem);
    line-height: 0.99;
    letter-spacing: -0.03em;
    color: var(--wachs);
    max-width: 14ch;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em {
    font-style: normal;
    color: var(--honig);
    position: relative;
    white-space: nowrap;
}
.hero h1 em svg {
    position: absolute;
    left: 0;
    bottom: -0.12em;
    width: 100%;
    height: 0.22em;
    overflow: visible;
}
.hero h1 em svg path {
    fill: none;
    stroke: var(--honig);
    stroke-width: 7;
    stroke-linecap: round;
    opacity: 0.85;
}
.hero-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 3.2rem;
    flex-wrap: wrap;
}
.hero-intro {
    max-width: 46ch;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: var(--rauch);
}
.hero-intro strong { color: var(--wachs); font-weight: 600; }
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}
.btn-honig {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--espresso);
    background: var(--honig);
    border: none;
    cursor: pointer;
    padding: 1.05rem 1.9rem;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.25s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.btn-honig:hover {
    background: var(--honig-hell);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -8px rgba(233, 161, 59, 0.45);
}
.btn-honig svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.link-quiet {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    color: var(--rauch);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.25s;
}
.link-quiet:hover { color: var(--honig); }
.link-quiet svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ── MARQUEE ────────────────────────────────────────────── */
.marquee {
    background: var(--honig);
    color: var(--espresso);
    overflow: hidden;
    padding: 0.85rem 0;
    position: relative;
    z-index: 3;
}
.marquee-track {
    display: flex;
    gap: 2.6rem;
    width: max-content;
    animation: marquee 36s linear infinite;
}
.marquee span {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 2.6rem;
}
.marquee span::after { content: '✳'; font-size: 0.7rem; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── SEKTIONEN GEMEINSAM ────────────────────────────────── */
.label {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.6rem;
}
.label::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    background: currentColor;
}

/* ── MANIFEST (Wachs) ───────────────────────────────────── */
.manifest {
    background: var(--wachs);
    color: var(--espresso);
    padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
}
.manifest-inner { max-width: 1320px; margin: 0 auto; }
.manifest .label { color: var(--bernstein); }
.manifest-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    align-items: start;
}
.manifest h2 {
    font-family: var(--font-display);
    font-weight: 580;
    font-size: clamp(2rem, 4.4vw, 3.9rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    max-width: 18ch;
}
.manifest h2 em { font-style: normal; color: var(--bernstein); }
.manifest-copy p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--torf);
}
.manifest-copy p + p { margin-top: 1.4rem; }
.manifest-copy p:first-child {
    font-size: 1.18rem;
    line-height: 1.65;
    color: var(--espresso);
    font-weight: 500;
}
.manifest-claims {
    margin-top: clamp(3.5rem, 7vw, 6rem);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--linie-hell);
}
.claim {
    padding: 2rem 2rem 0.4rem 0;
}
.claim + .claim { padding-left: 2rem; border-left: 1px solid var(--linie-hell); }
.claim dt {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    letter-spacing: -0.02em;
    color: var(--espresso);
    margin-bottom: 0.5rem;
}
.claim dt span { color: var(--schiller); }
.claim dd {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--torf);
}

/* ── LEISTUNGS-SLIDER ───────────────────────────────────── */
.slider-sektion {
    background: var(--espresso);
    position: relative;
}
.slider-kopf {
    padding: clamp(5rem, 7vw, 6.5rem) var(--pad-x) clamp(1.5rem, 2.5vw, 2.2rem);
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.slider-kopf .label { color: var(--honig); margin-bottom: 1.4rem; }
.slider-kopf h2 {
    font-family: var(--font-display);
    font-weight: 590;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.028em;
}
.slider-kopf .slider-hint {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--rauch);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.slider-kopf .slider-hint svg { width: 15px; height: 15px; stroke: var(--honig); stroke-width: 2; fill: none; }

.slider-viewport { overflow: hidden; }
.slider-track {
    display: flex;
    will-change: transform;
}
.panel {
    flex: 0 0 auto;
    width: min(78vw, 1040px);
    min-height: min(56vh, 560px);
    padding: clamp(2.2rem, 4vw, 4rem);
    margin-right: clamp(1rem, 2vw, 2rem);
    border: 1px solid var(--linie-dunkel);
    border-radius: 20px;
    background: linear-gradient(150deg, var(--espresso-2), var(--espresso) 68%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.panel:first-child { margin-left: max(var(--pad-x), calc((100vw - 1320px) / 2)); }
.panel:last-child { margin-right: max(var(--pad-x), calc((100vw - 1320px) / 2)); }
.panel-ghost {
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-weight: 720;
    font-size: clamp(5rem, 13vw, 11rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(116, 194, 172, 0.22);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}
.panel-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--honig);
    margin-bottom: auto;
}
.panel h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 4vw, 3.4rem);
    line-height: 1.03;
    letter-spacing: -0.025em;
    color: var(--wachs);
    margin: 2.5rem 0 1.1rem;
    max-width: 16ch;
}
.panel-untertitel {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--schiller-hell);
    margin-bottom: 1.2rem;
}
.panel p {
    max-width: 52ch;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rauch);
}
.panel ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.8rem;
}
.panel ul li {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--wachs);
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--linie-dunkel);
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.panel ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--honig);
    flex-shrink: 0;
}
.slider-progress {
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(1.4rem, 2.5vw, 2rem) var(--pad-x) clamp(2rem, 3.5vw, 3rem);
}
.slider-progress .bar {
    height: 3px;
    background: var(--linie-dunkel);
    border-radius: 99px;
    overflow: hidden;
}
.slider-progress .fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--bernstein), var(--honig));
    border-radius: 99px;
    transform-origin: left center;
    transform: scaleX(0);
}

/* ── PROZESS (Wachs) ────────────────────────────────────── */
.prozess {
    background: var(--wachs);
    color: var(--espresso);
    padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
}
.prozess-inner { max-width: 1320px; margin: 0 auto; }
.prozess .label { color: var(--bernstein); }
.prozess h2 {
    font-family: var(--font-display);
    font-weight: 580;
    font-size: clamp(2rem, 4.4vw, 3.9rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    max-width: 20ch;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
.schritte {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 2px solid var(--espresso);
}
.schritt {
    padding: 1.8rem 1.6rem 0.5rem 0;
    position: relative;
}
.schritt + .schritt { padding-left: 1.6rem; }
.schritt::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--honig);
    border: 2px solid var(--espresso);
}
.schritt-num {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    color: var(--bernstein);
    margin-bottom: 0.9rem;
}
.schritt h3 {
    font-family: var(--font-display);
    font-weight: 620;
    font-size: 1.45rem;
    letter-spacing: -0.015em;
    margin-bottom: 0.7rem;
}
.schritt p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--torf);
}

/* ── ÜBER UNS (Wachs, abgesetzt) ────────────────────────── */
.ueber {
    background: var(--wachs);
    color: var(--espresso);
    padding: 0 var(--pad-x) clamp(5rem, 10vw, 9rem);
}
.ueber-inner {
    max-width: 1320px;
    margin: 0 auto;
    border-top: 1px solid var(--linie-hell);
    padding-top: clamp(4rem, 8vw, 7rem);
}
.ueber .label { color: var(--bernstein); }
.ueber-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    align-items: start;
}
.ueber-text > p:first-child {
    font-family: var(--font-display);
    font-weight: 560;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.4rem;
}
.ueber-text > p:first-child em { font-style: normal; color: var(--bernstein); }
.ueber-text p + p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--torf);
    margin-bottom: 1.2rem;
}
.stack-zeile {
    margin-top: 2.2rem;
}
.stack-zeile .stack-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bernstein);
    margin-bottom: 0.9rem;
}
.stack-zeile ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.stack-zeile li {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.03em;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--linie-hell);
    border-radius: 99px;
    color: var(--espresso);
}
.fakten { border-top: 2px solid var(--espresso); }
.fakt {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--linie-hell);
}
.fakt-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--torf);
}
.fakt-wert {
    font-family: var(--font-display);
    font-weight: 620;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    letter-spacing: -0.02em;
}

/* ── KONTAKT ────────────────────────────────────────────── */
.kontakt {
    background: var(--espresso);
    position: relative;
    padding: clamp(6rem, 12vw, 11rem) var(--pad-x) clamp(5rem, 9vw, 8rem);
    overflow: hidden;
}
.kontakt::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -34vw;
    width: 72vw;
    height: 72vw;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(233, 161, 59, 0.22), rgba(138, 84, 22, 0.07) 45%, transparent 68%);
    pointer-events: none;
}
.kontakt-inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    text-align: center;
}
.kontakt .label { color: var(--honig); justify-content: center; }
.kontakt h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    line-height: 0.99;
    letter-spacing: -0.03em;
    color: var(--wachs);
}
.kontakt-sub {
    max-width: 52ch;
    margin: 1.8rem auto 3rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--rauch);
}
.kontakt-mail {
    font-size: clamp(1rem, 2vw, 1.25rem);
    padding: 1.3rem 2.4rem;
}
.kontakt-note {
    margin-top: 1.6rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--rauch);
}
.kontakt-note em { font-style: normal; color: var(--schiller-hell); }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
    background: var(--espresso);
    border-top: 1px solid var(--linie-dunkel);
    padding: 2.2rem var(--pad-x);
}
.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.03em;
    color: var(--rauch);
}
.footer-legal { display: flex; gap: 1.8rem; }
.footer-legal a { transition: color 0.25s; }
.footer-legal a:hover { color: var(--honig); }

/* ── MODALS ─────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 19, 16, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 300;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 1.25rem;
    overflow-y: auto;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--wachs);
    color: var(--espresso);
    max-width: 680px;
    width: 100%;
    border-radius: 16px;
    padding: clamp(2rem, 5vw, 3.5rem);
    position: relative;
}
.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 42px;
    height: 42px;
    border: 1px solid var(--linie-hell);
    border-radius: 50%;
    background: none;
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--espresso);
    transition: background 0.25s;
}
.modal-close:hover { background: var(--wachs-tief); }
.modal h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.9rem;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}
.modal h3 {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bernstein);
    margin: 1.8rem 0 0.5rem;
}
.modal p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--torf);
}
.modal a {
    color: var(--espresso);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── REVEALS (JS setzt Anfangszustand) ──────────────────── */
.reveal { opacity: 0; }
html.no-motion .reveal, html.no-js .reveal { opacity: 1; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
    .manifest-grid, .ueber-grid { grid-template-columns: 1fr; }
    .manifest-claims { grid-template-columns: 1fr; border-top: none; }
    .claim { padding: 1.4rem 0; border-top: 1px solid var(--linie-hell); }
    .claim + .claim { padding-left: 0; border-left: none; }
    .schritte { grid-template-columns: 1fr; border-top: none; }
    .schritt {
        border-left: 2px solid var(--espresso);
        padding: 0 0 2.2rem 1.6rem;
    }
    .schritt + .schritt { padding-left: 1.6rem; }
    .schritt::before {
        top: 2px;
        left: -6px;
    }
    /* Slider wird vertikal gestapelt */
    .slider-kopf .slider-hint { display: none; }
    .slider-track { flex-direction: column; gap: 1.2rem; padding: 0 var(--pad-x); }
    .panel, .panel:first-child, .panel:last-child {
        width: 100%;
        margin: 0;
        min-height: 0;
    }
    .panel h3 { margin-top: 3.5rem; }
    .panel-ghost { font-size: clamp(3.4rem, 16vw, 6rem); top: 0.9rem; right: 1rem; }
    .slider-progress { display: none; }
}

@media (max-width: 780px) {
    .nav { padding: 0.9rem 1.25rem; }
    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--espresso);
        flex-direction: column;
        justify-content: center;
        gap: 2.4rem;
        font-size: 1.05rem;
        transform: translateY(-102%);
        transition: transform 0.45s var(--ease-snap);
        z-index: 101;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-toggle { display: block; }
    .hero { padding-bottom: 4rem; }
    .hero-foot { flex-direction: column; align-items: flex-start; gap: 2.2rem; }
    .fakt-wert { font-size: 1.4rem; }
}

/* ── REDUZIERTE BEWEGUNG ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
    #fliege .frame { animation: none; }
    #fliege .frame-ruhe { opacity: 1; }
    #fliege .frame-flug { opacity: 0; }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
