/* ═══════════════════════════════════════════════════════════════
   LUONG CONSULTING — Design-System „Papier & Gold"
   Quelle der Farbwerte: Endcard_Luong_Consulting.md (helle Variante)
   PAPER #FBFAF7 · INK #16150F · GOLD #B99A3C · PENCIL #57544C
   Helles Gold #E5C25A ist markenrechtlich VERBOTEN.
   ═══════════════════════════════════════════════════════════════ */

@import url('fonts.css');

:root {
    --paper: #FBFAF7;
    --paper-raised: #FFFFFF;
    --paper-deep: #F3F0E9;
    --ink: #16150F;
    --gold: #B99A3C;
    --gold-dark: #9A7F2F;
    --pencil: #57544C;
    --line: rgba(22, 21, 15, 0.10);
    --line-soft: rgba(22, 21, 15, 0.06);
    --gold-wash: rgba(185, 154, 60, 0.09);
    --gold-line: rgba(185, 154, 60, 0.35);
    --shadow-soft: 0 2px 24px rgba(22, 21, 15, 0.05);
    --shadow-lift: 0 18px 60px rgba(22, 21, 15, 0.10);
    --ff-display: 'Playfair Display', Georgia, serif;
    --ff-sans: 'Jost', 'Segoe UI', sans-serif;
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --nav-h: 84px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: var(--ff-sans);
    font-weight: 400;
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: var(--paper); }

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* feines Papierkorn, kaum sichtbar */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2147483000;
}

/* ── Typo-Bausteine ──────────────────────────────────────────── */

.label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.38em;
    text-indent: 0.38em; /* Sperrsatz-Ausgleich — Pflicht laut Markenspec */
    text-transform: uppercase;
    color: var(--gold);
}

.label--rule {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-indent: 0;
}

.label--rule::before {
    content: '';
    width: 42px;
    height: 1px;
    background: var(--gold);
}

.heading {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-top: 1.1rem;
}

.heading em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.lede {
    font-size: 1.12rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--pencil);
    max-width: 34rem;
    margin-top: 1.4rem;
}

.section { padding: clamp(5.5rem, 11vw, 9.5rem) 0; position: relative; }
.shell { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }

.section-head--center { text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

/* Abschnittsnummer wie ein Kolumnentitel */
.section-no {
    position: absolute;
    top: clamp(2.2rem, 5vw, 4rem);
    right: max(calc((100vw - 1180px) / 2), 1.5rem);
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--gold);
    opacity: 0.75;
}

/* Goldene Trennlinie, die sich beim Erscheinen selbst zeichnet */
.rule-draw {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
    transform: scaleX(0);
    transition: transform 1.6s var(--ease-expo);
}
.rule-draw.is-in { transform: scaleX(1); }

/* ── Reveal ──────────────────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* ── Loader (nur index): Mini-Endcard mit Ladebalken ────────── */

.loader {
    position: fixed;
    inset: 0;
    z-index: 2147483100;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    transition: opacity 0.65s ease, visibility 0.65s;
}

.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-signet { width: 96px; height: 96px; }

/* Ringe zeichnen sich ab 12 Uhr — Choreografie der Endcard */
.loader-signet .rot { transform: rotate(-90deg); transform-origin: 53px 53px; }

.loader-signet .lo {
    stroke: var(--gold);
    stroke-width: 1.7;
    fill: none;
    stroke-dasharray: 314.16;
    stroke-dashoffset: 314.16;
    animation: ringDraw 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards;
}

.loader-signet .li {
    stroke: var(--gold);
    stroke-width: 0.85;
    fill: none;
    stroke-dasharray: 260.75;
    stroke-dashoffset: 260.75;
    animation: ringDraw 0.75s cubic-bezier(0.4, 0, 0.2, 1) 0.55s forwards;
}

.loader-signet text {
    font-family: var(--ff-display);
    font-size: 49.2px;
    fill: var(--gold);
    opacity: 0;
    animation: fadeIn 0.5s ease 1.05s forwards;
}

@keyframes ringDraw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.loader-bar {
    width: min(220px, 56vw);
    height: 1px;
    background: var(--line);
    position: relative;
    overflow: hidden;
}

.loader-bar span {
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform-origin: left;
    transform: scaleX(0);
}

/* Solange geladen wird: Seite still halten, Hero-Entrance aufsparen */
body.is-loading { overflow: hidden; }
body.is-loading .hero-title .line > span,
body.is-loading .hero-sub,
body.is-loading .hero-actions,
body.is-loading .hero-scroll-hint { animation-play-state: paused; }

/* ── Navigation ─────────────────────────────────────────────── */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: background 0.45s ease, box-shadow 0.45s ease, height 0.45s ease;
}

.nav.is-scrolled {
    height: 68px;
    background: rgba(251, 250, 247, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line-soft), var(--shadow-soft);
}

.nav-shell {
    width: min(1180px, calc(100% - 3rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Signet + Wortmarke, in HTML gesetzt — Geometrie aus der Endcard-Spec */
.brand { display: inline-flex; align-items: center; gap: 0.9rem; }

.brand-signet { width: 44px; height: 44px; flex: none; }
.brand-signet .ring-o { stroke: var(--gold); stroke-width: 1.7; fill: none; }
.brand-signet .ring-i { stroke: var(--gold); stroke-width: 0.85; fill: none; }
.brand-signet text {
    font-family: var(--ff-display);
    font-size: 49.2px; /* 0.492 · d bei d=100 */
    fill: var(--gold);
}

.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .w1 {
    font-weight: 400;
    font-size: 1.06rem;
    letter-spacing: 0.20em;
    color: var(--ink);
}
.brand-word .w2 {
    font-weight: 400;
    font-size: 0.46rem;
    letter-spacing: 0.40em;
    color: var(--pencil);
    margin-top: 0.28rem;
}

.nav-menu { display: flex; align-items: center; gap: 2.3rem; }

.nav-link {
    position: relative;
    font-size: 0.86rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pencil);
    padding: 0.4rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease-expo);
}

.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Trenner zwischen Onepager-Ankern (links) und echten Unterseiten (rechts) */
.nav-sep {
    width: 1px;
    height: 20px;
    background: var(--gold-line);
    align-self: center;
}

.nav-cta {
    font-size: 0.84rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--paper);
    background: var(--ink);
    padding: 0.78rem 1.7rem;
    transition: background 0.35s ease, color 0.35s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--paper); }

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1002;
}
.burger span {
    width: 26px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.4s var(--ease-expo), opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 1.02rem 2.2rem;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease-expo);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; flex: none; transition: transform 0.35s var(--ease-expo); }
.btn:hover svg { transform: translateX(4px); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--gold); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ── Hero mit Scroll-Scrub-Video ────────────────────────────── */

.scrub-stage {
    position: relative;
    height: 340vh;
    /* 0 = Hero-Copy voll sichtbar, 1 = ausgeblendet. Wird im Scrub-Modus
       per JS scrollgekoppelt gesetzt; Mobile/Autoplay bleibt bei 0. */
    --hero-fade: 0;
}

/* Autoplay-Modus (Touch/Mobile): normaler 100svh-Hero, Video läuft einmal
   rückwärts durch und friert auf dem ruhigen Startbild ein. */
.scrub-stage.is-autoplay { height: 100vh; height: 100svh; }
.scrub-stage.is-autoplay .scrub-chapter { display: none; }

.scrub-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

.scrub-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Papier-Vignette, damit das Video weich im Grund liegt */
.scrub-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(251,250,247,0.88) 0%, rgba(251,250,247,0.28) 26%, rgba(251,250,247,0) 48%, rgba(251,250,247,0.22) 78%, var(--paper) 100%),
        radial-gradient(120% 90% at 50% 42%, rgba(251,250,247,0) 52%, rgba(251,250,247,0.5) 100%);
    pointer-events: none;
}

.hero-copy {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    opacity: calc(1 - var(--hero-fade));
    transform: translateY(calc(var(--hero-fade) * -7vh));
}

.hero-copy .shell { pointer-events: auto; }

/* Ausgeblendete Buttons duerfen keine Klicks mehr abfangen */
.scrub-stage.is-copy-out .hero-copy .shell { pointer-events: none; }

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--gold-dark);
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
}
.hero-eyebrow::before {
    content: '';
    width: 46px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: clamp(2.7rem, 6.6vw, 5.4rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-top: 1.6rem;
    max-width: 15em;
}

.hero-title em { font-style: italic; font-weight: 400; color: var(--gold); }

.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
    display: block;
    transform: translateY(110%);
    animation: heroLine 1.3s var(--ease-expo) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.14s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.28s; }
@keyframes heroLine { to { transform: none; } }

.hero-sub {
    font-size: 1.14rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--pencil);
    max-width: 30rem;
    margin-top: 1.8rem;
    opacity: 0;
    animation: fadeUp 1.2s var(--ease-expo) 0.55s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.6rem;
    opacity: 0;
    animation: fadeUp 1.2s var(--ease-expo) 0.75s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

.hero-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 2.2rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.34em;
    text-indent: 0.34em;
    text-transform: uppercase;
    color: var(--pencil);
    opacity: 0;
    animation: fadeUp 1.2s ease 1.4s forwards;
    transition: opacity 0.5s ease;
}
.hero-scroll-hint::after {
    content: '';
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, var(--gold), transparent);
    animation: hintPulse 2.2s ease-in-out infinite;
}
@keyframes hintPulse {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}
.scrub-stage.is-scrubbed .hero-scroll-hint { opacity: 0 !important; }

/* Kapitel-Zeilen, die während des Scrubs einblenden */
.scrub-chapter {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    text-align: center;
    font-family: var(--ff-display);
    font-style: italic;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.14;
    letter-spacing: -0.015em;
    color: var(--ink);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-expo);
    pointer-events: none;
}
.scrub-chapter > span { display: block; max-width: 14em; }
.scrub-chapter em { color: var(--gold); font-style: italic; }
.scrub-chapter.is-on { opacity: 1; transform: none; }

/* ── Intro-Statement ────────────────────────────────────────── */

.statement { text-align: center; }
.statement p {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 3.1vw, 2.4rem);
    line-height: 1.45;
    color: var(--ink);
    max-width: 27em;
    margin: 0 auto;
}
.statement em { font-style: italic; color: var(--gold); }

/* ── Leistungen ─────────────────────────────────────────────── */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    margin-top: 3.6rem;
}

.card {
    position: relative;
    background: var(--paper-raised);
    border: 1px solid var(--line-soft);
    padding: 2.6rem 2.4rem 2.4rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.5s var(--ease-expo), box-shadow 0.5s ease, border-color 0.5s ease;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-expo);
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--gold-line); }
.card:hover::before { transform: scaleX(1); }

.card-no {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold);
}

.card h3 {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.42rem;
    margin-top: 1.1rem;
}

.card p {
    font-weight: 300;
    font-size: 0.99rem;
    line-height: 1.72;
    color: var(--pencil);
    margin-top: 0.85rem;
}

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: var(--gold-wash);
    padding: 0.38rem 0.85rem;
}

/* ── Laufband ───────────────────────────────────────────────── */

.marquee {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 1.6rem 0;
    overflow: hidden;
    background: var(--paper-deep);
}

.marquee-track {
    display: flex;
    gap: 3.2rem;
    width: max-content;
    animation: marquee 36s linear infinite;
}

.marquee-track span {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 1.12rem;
    color: var(--pencil);
    white-space: nowrap;
}
.marquee-track .dot { color: var(--gold); font-style: normal; font-size: 0.7rem; align-self: center; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Vorgehen ───────────────────────────────────────────────── */

.process-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
    margin-top: 3.8rem;
}

.video-frame {
    position: relative;
    background: var(--paper-raised);
    border: 1px solid var(--line);
    padding: 0.9rem;
    box-shadow: var(--shadow-lift);
}

.video-frame::after {
    content: '';
    position: absolute;
    inset: -14px;
    border: 1px solid var(--gold-line);
    pointer-events: none;
}

.video-frame video { width: 100%; }

.video-caption {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pencil);
    padding: 0.85rem 0.2rem 0.1rem;
}
.video-caption b { font-weight: 500; color: var(--gold-dark); }

.steps { display: flex; flex-direction: column; }

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.6rem;
    padding: 1.7rem 0;
    border-bottom: 1px solid var(--line-soft);
}
.step:last-child { border-bottom: none; }

.step-no {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--gold);
    line-height: 1.2;
    min-width: 2.4rem;
}

.step h4 {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.22rem;
}

.step p {
    font-weight: 300;
    font-size: 0.97rem;
    line-height: 1.65;
    color: var(--pencil);
    margin-top: 0.4rem;
}

/* ── Warum wir ──────────────────────────────────────────────── */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 3.6rem;
}

.why-card {
    background: transparent;
    border: 1px solid var(--line-soft);
    border-top: 2px solid var(--gold-line);
    padding: 2.3rem 2.1rem;
    transition: background 0.45s ease, border-color 0.45s ease;
}
.why-card:hover { background: var(--paper-raised); border-color: var(--gold-line); }

.why-card h3 {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.28rem;
}
.why-card p {
    font-weight: 300;
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--pencil);
    margin-top: 0.8rem;
}

.why-glyph { width: 34px; height: 34px; color: var(--gold); margin-bottom: 1.3rem; }
.why-glyph svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; }

/* ── Team-Teaser ────────────────────────────────────────────── */

.team-teaser {
    background: var(--ink);
    color: var(--paper);
}

.team-teaser .label { color: var(--gold); }
.team-teaser .heading { color: var(--paper); }
.team-teaser .lede { color: rgba(251, 250, 247, 0.66); }

.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    margin-top: 3.4rem;
}

.duo-card {
    border: 1px solid rgba(251, 250, 247, 0.14);
    padding: 2.5rem 2.3rem;
    transition: border-color 0.45s ease, background 0.45s ease;
}
.duo-card:hover { border-color: var(--gold-line); background: rgba(251, 250, 247, 0.03); }

.duo-card .duo-role {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}
.duo-card h3 {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.7rem;
    margin-top: 0.9rem;
}
.duo-card p {
    font-weight: 300;
    font-size: 0.98rem;
    line-height: 1.72;
    color: rgba(251, 250, 247, 0.66);
    margin-top: 0.9rem;
}

.team-teaser .btn--ghost {
    border-color: rgba(251, 250, 247, 0.25);
    color: var(--paper);
}
.team-teaser .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── Stimmen ────────────────────────────────────────────────── */

.reviews-head { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }

.google-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.8rem;
    border: 1px solid var(--line);
    background: var(--paper-raised);
    padding: 0.7rem 1.4rem;
    font-size: 0.86rem;
    color: var(--pencil);
    transition: border-color 0.35s ease, transform 0.35s var(--ease-expo);
}
.google-pill:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.google-pill .stars { color: var(--gold); letter-spacing: 0.12em; }
.google-pill b { font-weight: 500; color: var(--ink); }

.carousel { position: relative; margin-top: 3.2rem; }

.carousel-viewport { overflow: hidden; }

.carousel-track {
    display: flex;
    gap: 1.4rem;
    transition: transform 0.7s var(--ease-expo);
}

.review {
    flex: 0 0 calc((100% - 2.8rem) / 3);
    background: var(--paper-raised);
    border: 1px solid var(--line-soft);
    padding: 2.1rem 2rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.review-head { display: flex; align-items: center; gap: 0.9rem; }

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-wash);
    border: 1px solid var(--gold-line);
    display: grid;
    place-items: center;
    font-family: var(--ff-display);
    font-size: 1.15rem;
    color: var(--gold-dark);
    flex: none;
}

.review-name { font-weight: 500; font-size: 0.95rem; }
.review-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.14em; }

.review-text {
    font-weight: 300;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--pencil);
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review.is-expanded .review-text { display: block; -webkit-line-clamp: unset; }

.review-more {
    align-self: flex-start;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    border-bottom: 1px solid var(--gold-line);
    padding-bottom: 2px;
    margin-top: auto;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.2rem;
}

.carousel-btn {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--pencil);
    transition: border-color 0.35s ease, color 0.35s ease, background 0.35s ease;
}
.carousel-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.carousel-btn:disabled { opacity: 0.3; pointer-events: none; }
.carousel-btn svg { width: 16px; height: 16px; }

/* ── Über-uns-Seite ─────────────────────────────────────────── */

.page-hero {
    padding: calc(var(--nav-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3rem, 6vw, 5rem);
    text-align: center;
}

.page-hero .heading { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }

.story-video { padding-bottom: clamp(4rem, 8vw, 7rem); }
.story-video .video-frame { max-width: 980px; margin: 0 auto; }

.story-text {
    max-width: 42rem;
    margin: 0 auto;
}
.story-text p {
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--pencil);
    margin-bottom: 1.6rem;
}
.story-text p strong { font-weight: 500; color: var(--ink); }
.story-text .story-pull {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.45;
    color: var(--ink);
    text-align: center;
    margin: 3rem 0;
}
.story-text .story-pull em { color: var(--gold); }

.profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    margin-top: 3.6rem;
}

.profile {
    background: var(--paper-raised);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-soft);
    padding: 2.8rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.profile-initial {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 4.4rem;
    line-height: 1;
    color: var(--gold-wash);
    -webkit-text-stroke: 1px var(--gold-line);
    position: absolute;
    top: 1.4rem;
    right: 1.8rem;
    pointer-events: none;
}

.profile-role {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.profile h3 {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.85rem;
    margin-top: 0.9rem;
}

.profile p {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--pencil);
    margin-top: 1rem;
}

.profile .tags { margin-top: 1.6rem; }

/* ── Lean-Seite ─────────────────────────────────────────────── */

.term-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 3.6rem;
}

.term-card {
    position: relative;
    background: var(--paper-raised);
    border: 1px solid var(--line-soft);
    border-top: 2px solid var(--gold-line);
    padding: 2.5rem 2.2rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

/* Kanji als stilles Wasserzeichen — Systemschrift, kein Webfont nötig */
.term-kanji {
    position: absolute;
    top: 0.4rem;
    right: 1rem;
    font-family: 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    font-size: 4.2rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.13;
    pointer-events: none;
}

.term-card h3 {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.7rem;
}

.term-card .term-de {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-top: 0.45rem;
}

.term-card p {
    font-weight: 300;
    font-size: 0.98rem;
    line-height: 1.72;
    color: var(--pencil);
    margin-top: 1rem;
}

.waste-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 clamp(2rem, 5vw, 4.5rem);
    margin-top: 3.2rem;
}

.waste {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.3rem;
    align-items: baseline;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line-soft);
}

.waste-no {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--gold);
    min-width: 1.6rem;
}

.waste h4 { font-weight: 500; font-size: 1.02rem; }
.waste p {
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--pencil);
    margin-top: 0.25rem;
}

.term-grid--2 { grid-template-columns: 1fr 1fr; }

@media (max-width: 1024px) {
    .term-grid, .term-grid--2 { grid-template-columns: 1fr; }
    .waste-grid { grid-template-columns: 1fr; }
}

/* ── Kontakt ────────────────────────────────────────────────── */

.contact { background: var(--paper-deep); }

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    margin-top: 3.4rem;
    align-items: start;
}

.contact-aside p {
    font-weight: 300;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--pencil);
}

.contact-rows { margin-top: 2.2rem; display: flex; flex-direction: column; }

.contact-row {
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.98rem;
}
.contact-row .k {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-dark);
    min-width: 5.6rem;
}
.contact-row a { border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.contact-row a:hover { color: var(--gold-dark); border-color: var(--gold-line); }

.form {
    background: var(--paper-raised);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-soft);
    padding: 2.6rem 2.4rem;
}

.field { margin-bottom: 1.5rem; }
.field label {
    display: block;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pencil);
    margin-bottom: 0.55rem;
}

.field input, .field textarea {
    width: 100%;
    font-family: var(--ff-sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 0.95rem 1.1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-wash);
}

.form .btn { width: 100%; justify-content: center; border: none; }

/* ── Footer ─────────────────────────────────────────────────── */

.footer {
    background: var(--ink);
    color: rgba(251, 250, 247, 0.6);
    padding: 4.5rem 0 2.4rem;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
}

.footer .brand-word .w1 { color: var(--paper); }
.footer .brand-word .w2 { color: rgba(251, 250, 247, 0.5); }

.footer-desc {
    font-weight: 300;
    font-size: 0.94rem;
    line-height: 1.7;
    max-width: 22rem;
    margin-top: 1.4rem;
}

.footer h4 {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.3rem;
}

.footer-col a {
    display: block;
    font-weight: 300;
    font-size: 0.94rem;
    padding: 0.34rem 0;
    color: rgba(251, 250, 247, 0.6);
    transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
    margin-top: 3.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(251, 250, 247, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.82rem;
    font-weight: 300;
}

/* ── Modals (Impressum / Datenschutz) ───────────────────────── */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 21, 15, 0.5);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 5vh 1.2rem;
    z-index: 2000;
    overflow-y: auto;
}
.modal-overlay.is-open { display: flex; }

.modal {
    background: var(--paper);
    max-width: 720px;
    width: 100%;
    padding: 3rem 2.8rem;
    position: relative;
    box-shadow: var(--shadow-lift);
}

.modal h2 {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.9rem;
    margin-bottom: 1.4rem;
}
.modal h3 {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.15rem;
    margin: 1.8rem 0 0.6rem;
}
.modal p, .modal li {
    font-weight: 300;
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--pencil);
    margin-bottom: 0.8rem;
}
.modal ul { padding-left: 1.2rem; list-style: disc; }
.modal a { color: var(--gold-dark); border-bottom: 1px solid var(--gold-line); }
.modal .legal-label { font-weight: 500; color: var(--ink); }

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--pencil);
    transition: border-color 0.3s, color 0.3s;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold-dark); }
.modal-close svg { width: 14px; height: 14px; }

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .review { flex-basis: calc((100% - 1.4rem) / 2); }
    .process-layout { grid-template-columns: 1fr; }
    .process-layout .video-frame { max-width: 460px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 820px) {
    /* Wichtig: .nav.is-scrolled setzt backdrop-filter und wird dadurch zum
       containing block fuer fixed positionierte Nachfahren. Deshalb duerfen
       Groesse und Versteck-Verschiebung des Menues nicht von `inset: 0` bzw.
       einem prozentualen translate abhaengen — beides bezieht sich sonst auf
       die 68px hohe Navbar statt auf den Viewport. */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        background: var(--paper);
        flex-direction: column;
        justify-content: center;
        justify-content: safe center;
        gap: 2rem;
        padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2.5rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateY(-100vh);
        transform: translateY(-100dvh);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.6s var(--ease-expo), visibility 0s linear 0.6s;
        z-index: 1001;
    }
    .nav-menu.is-open {
        transform: none;
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.6s var(--ease-expo), visibility 0s linear 0s;
    }
    .nav-menu .nav-link { font-size: 1.1rem; }
    .nav-sep { width: 44px; height: 1px; }
    .burger { display: flex; }

    .duo, .profiles, .contact-layout { grid-template-columns: 1fr; }
    .review { flex-basis: 100%; }
    .section-no { display: none; }
    .scrub-stage { height: 300vh; }
}

@media (max-width: 560px) {
    .hero-title { font-size: 2.05rem; }
    .heading { font-size: 1.85rem; }
    .hero-sub { font-size: 1.02rem; }
    .form { padding: 1.8rem 1.4rem; }
    .modal { padding: 2.2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .hero-sub, .hero-actions { opacity: 1; transform: none; }
    .hero-title .line > span { transform: none; }
    /* Opazitaet bleibt scrollgekoppelt — nur die Verschiebung entfaellt */
    .hero-copy { transform: none; }
    .scrub-chapter { transform: none; }
}


/* ═══════════════════════════════════════════════════════════════
   PORTRÄTS — Team-Karten, Profilkarten, Duo-Band
   Freigestellte Studioporträts auf generierten Papier-&-Gold-Hintergründen.
   Reine Ergänzung: keine bestehende Regel wird überschrieben.
   ═══════════════════════════════════════════════════════════════ */

/* ── Bildrahmen, gemeinsam ──────────────────────────────────── */
.portrait {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;   /* exakt das Seitenverhältnis der Bilddateien */
    background: var(--paper-deep);
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease-expo);
}

/* ── Startseite: Team-Teaser mit Porträt ────────────────────── */
.duo-card--photo { padding: 0; overflow: hidden; }
.duo-card--photo .portrait { background: #100F0A; }

.duo-card--photo .duo-body {
    padding: 2rem 2.3rem 2.4rem;
    border-top: 1px solid rgba(185, 154, 60, 0.30);
}

.duo-card--photo:hover .portrait img { transform: scale(1.035); }

/* ── Über uns: Profilkarten mit Porträt ─────────────────────── */
.profile--photo { padding: 0; }
.profile--photo .profile-body { padding: 2.2rem 2.5rem 2.6rem; }
.profile--photo:hover .portrait img { transform: scale(1.03); }

/* ── Über uns: Duo-Band (nutzt den bestehenden .video-frame) ── */
.duo-band-img {
    width: 100%;
    height: auto;   /* noetig: sonst gewinnt das height-Attribut und aspect-ratio greift nicht */
    display: block;
    aspect-ratio: 2400 / 1029;
    object-fit: cover;
    object-position: 50% 50%;   /* die beiden stehen mittig — Ränder dürfen weg */
}

/* schmalere Viewports: Band höher schneiden, damit die Personen groß bleiben */
@media (max-width: 820px) { .duo-band-img { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .duo-band-img { aspect-ratio: 4 / 3; } }
