/* ==========================================================================
   GLAM SMILE — Design System v3 · kantig-filigran, an der Logo-Ästhetik
   orientiert. Typografie: Karla · Akzent #E2001A
   Moderne CSS-Features: scroll-driven animations, color-mix, text-wrap,
   view transitions, backdrop-filter — jeweils mit Fallbacks.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Font: Karla (variable, 200–800, Google Fonts / SIL OFL) — selbst gehostet.
   Echte Schnitte für alle Stärken, daher keine synthetische Fettung nötig.
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Karla';
    src: url('../fonts/karla-var.woff2') format('woff2');
    font-weight: 200 800;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Farben */
    --c-paper:     #FCFBF9;
    --c-surface:   #FFFFFF;
    --c-sand:      #F6F1E9;
    --c-champagne: #EFE6D8;
    --c-ink:       #191512;
    --c-ink-soft:  #57504A;
    --c-ink-faint: #6E655D;
    --c-line:      #E9E2D8;
    --c-line-soft: #F0EAE1;
    --c-red:       #E2001A;
    --c-red-deep:  #B60015;
    --c-red-tint:  #FCECEB;
    --c-bronze:    #A98A63;
    --c-bronze-soft: #C9B394;

    /* Dark Sections */
    --c-night:     #16110D;
    --c-night-soft: rgba(255, 250, 243, .64);

    /* Typografie — Karla (echte Schnitte 200–800) */
    --f-display: 'Karla', -apple-system, 'Segoe UI', sans-serif;
    --f-body: 'Karla', -apple-system, 'Segoe UI', sans-serif;

    --fs-hero:  clamp(2rem, 3.6vw, 3.1rem);
    --fs-h1:    clamp(1.9rem, 3.1vw, 2.7rem);
    --fs-h2:    clamp(1.9rem, 3.4vw, 2.9rem);
    --fs-h3:    clamp(1.3rem, 2vw, 1.55rem);
    --fs-body:  1.0625rem;
    --fs-small: .92rem;
    --fs-tiny:  .78rem;

    /* Layout */
    --w-max:    1240px;
    --w-narrow: 800px;
    --gutter:   clamp(1.25rem, 4vw, 2.5rem);
    --sec-pad:  clamp(4.5rem, 10vw, 8.5rem);

    /* Form */
    --radius-lg: 2px;
    --radius:    2px;
    --radius-sm: 2px;
    --radius-xs: 2px;
    --shadow-soft: 0 30px 80px -30px rgba(25, 21, 18, .22);
    --shadow-card: 0 14px 44px -22px rgba(25, 21, 18, .16);
    --shadow-lift: 0 34px 90px -28px rgba(25, 21, 18, .28);

    /* Motion */
    --ease: cubic-bezier(.19, 1, .22, 1);
    --ease-spring: cubic-bezier(.34, 1.4, .44, 1);
    --t-fast: .25s;
    --t-med:  .6s;

    accent-color: var(--c-red);
}

/* Sanfte Seitenübergänge (Chrome: Cross-Document View Transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: .18s; }
::view-transition-new(root) { animation-duration: .26s; }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-synthesis: none;
    font-family: var(--f-body);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--c-ink);
    background: var(--c-paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    font-family: var(--f-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.012em;
    margin: 0 0 .55em;
    color: var(--c-ink);
    text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-family: var(--f-body); font-weight: 600; font-size: 1.02rem; margin: 0 0 .6em; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-red); text-decoration: none; }
a:hover { color: var(--c-red-deep); }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 3px; border-radius: 4px; }

img { max-width: 100%; height: auto; display: block; }
b, strong { font-weight: 700; }

/* Hervorhebung in Headlines: rot */
em.hl {
    font-style: normal;
    color: var(--c-red);
}

::selection { background: var(--c-ink); color: var(--c-paper); }

/* --------------------------------------------------------------------------
   Filigrane Inline-Icons
   -------------------------------------------------------------------------- */
.ico {
    display: inline-flex;
    width: 1.1em;
    height: 1.1em;
    vertical-align: -.16em;
    color: var(--c-red);
    flex-shrink: 0;
}
.ico svg { width: 100%; height: 100%; }
.header-phone .ico { margin-right: .45em; }
.action-bar .ico { color: #fff; margin-right: .1em; }
.site-footer .ico { color: var(--c-bronze-soft); margin-right: .3em; width: 1em; height: 1em; }
.contact-card h3 .ico { width: 1.25em; height: 1.25em; }

/* --------------------------------------------------------------------------
   Layout-Helfer
   -------------------------------------------------------------------------- */
.container {
    max-width: calc(var(--w-max) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--w-narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--sec-pad); position: relative; }
.section--soft { background: linear-gradient(180deg, var(--c-sand), color-mix(in srgb, var(--c-sand) 55%, var(--c-paper))); }
.section--white { background: var(--c-surface); }
.section--tight { padding-block: calc(var(--sec-pad) * .5); }

/* Eyebrow: Chip mit pulsierendem Punkt */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .8em;
    font-size: var(--fs-tiny);
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
    margin-bottom: 1.4rem;
}
.eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--c-red);
}
.eyebrow::after {
    content: '';
    width: 44px; height: 1px;
    background: var(--c-line);
}

.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { color: var(--c-ink-soft); font-size: 1.14rem; line-height: 1.65; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--c-ink);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .65em;
    font-family: var(--f-body);
    font-size: .99rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1;
    padding: 1.05em 1.7em;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
                background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn::after {
    content: '→';
    font-weight: 500;
    translate: 0 0;
    transition: translate var(--t-fast) var(--ease-spring);
}
.btn:hover::after { translate: 4px 0; }
.btn:active { transform: translateY(1px) scale(.995); }

.btn--primary {
    background: var(--c-red);
    color: #fff;
    box-shadow: 0 14px 34px -14px rgba(226, 0, 26, .5);
}
.btn--primary:hover {
    background: var(--c-red-deep);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -16px rgba(226, 0, 26, .55);
}

.btn--ghost {
    background: transparent;
    color: var(--c-ink);
    border-color: color-mix(in srgb, var(--c-ink) 22%, transparent);
}
.btn--ghost:hover {
    border-color: var(--c-ink);
    color: var(--c-ink);
    transform: translateY(-2px);
    background: var(--c-surface);
}

.btn--light {
    background: rgba(255, 255, 255, .96);
    color: var(--c-ink);
    box-shadow: var(--shadow-card);
}
.btn--light:hover { color: var(--c-red-deep); transform: translateY(-2px); }
.btn--light::after { content: none; }

.btn--lg { font-size: 1.05rem; padding: 1.2em 2em; }

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--c-ink);
}
.arrow-link::after {
    content: '→';
    color: var(--c-red);
    transition: translate var(--t-fast) var(--ease-spring);
}
.arrow-link:hover { color: var(--c-red-deep); }
.arrow-link:hover::after { translate: 5px 0; }

/* --------------------------------------------------------------------------
   Topbar (Bewertungen, Instagram, Leading Implant Centers)
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--c-night);
    color: var(--c-night-soft);
    font-size: var(--fs-tiny);
    letter-spacing: .02em;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 40px;
}
.topbar a {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    color: var(--c-night-soft);
    font-weight: 500;
    white-space: nowrap;
    transition: color var(--t-fast);
}
.topbar a:hover { color: #FFFAF3; }
.topbar .stars { font-size: .78rem; letter-spacing: 1.5px; }
.topbar-ratings { display: flex; align-items: center; gap: 1.6rem; }
.topbar-links { display: flex; align-items: center; gap: 1.6rem; }
.topbar-lic img { display: block; }
.topbar .ico { color: var(--c-bronze-soft); }
.jameda-mark { width: 14px; height: 14px; fill: #7AB41D; flex-shrink: 0; }
.topbar .stars.stars--jameda { color: #7AB41D; }
@media (max-width: 860px) {
    .topbar-lic span, .topbar-insta-label { display: none; }
    .topbar-ratings { gap: 1.1rem; }
    .topbar-links { gap: 1.1rem; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--c-paper) 82%, transparent);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    transition: box-shadow var(--t-fast);
}
.site-header::after {
    /* Hairline */
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: var(--c-line);
    opacity: 0;
    transition: opacity var(--t-fast);
}
.site-header.is-stuck::after { opacity: 1; }
.site-header.is-stuck { box-shadow: 0 18px 40px -32px rgba(25, 21, 18, .3); }

/* Lese-Fortschritt */
.scroll-progress {
    position: absolute;
    bottom: -1px; left: 0;
    height: 2px;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--c-red), #FF5A47);
    z-index: 2;
}
@supports (animation-timeline: scroll()) {
    .scroll-progress {
        animation: progress-grow linear both;
        animation-timeline: scroll(root);
    }
    @keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    min-height: 86px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; transition: height var(--t-fast); }
.site-header.is-stuck .brand img { height: 40px; }

.main-nav { margin-left: auto; align-self: stretch; display: flex; }
.main-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: stretch;
    gap: .1rem;
}
.main-nav li { display: flex; align-items: center; }
.main-nav a {
    display: block;
    padding: .6em .95em;
    font-size: .96rem;
    font-weight: 500;
    color: var(--c-ink-soft);
    border-radius: 2px;
    transition: background var(--t-fast), color var(--t-fast);
}
.main-nav a:hover { background: color-mix(in srgb, var(--c-sand) 75%, transparent); color: var(--c-ink); }
.main-nav li.is-active > a { color: var(--c-ink); font-weight: 600; }
.main-nav li.is-active { box-shadow: inset 0 -2px 0 var(--c-red); }

/* Chevron bei Punkten mit Untermenü */
.main-nav li.has-mega > a {
    display: inline-flex;
    align-items: center;
    gap: .5em;
}
.main-nav li.has-mega > a::after {
    content: '';
    width: 6px; height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    opacity: .5;
    transition: transform var(--t-fast) var(--ease);
}
.main-nav li.has-mega:hover > a::after { transform: rotate(225deg) translate(-2px, -2px); }

/* Mega-Menü in voller Breite */
.main-nav li { position: static; }
.mega {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--c-paper);
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 40px 80px -40px rgba(25, 21, 18, .35);
    padding-block: 2.2rem 2.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    /* Schließen erst nach kurzer Karenzzeit — verhindert Flackern beim Überfahren */
    transition: opacity .22s var(--ease) .25s, transform .22s var(--ease) .25s, visibility 0s linear .47s;
}
.main-nav li:hover > .mega,
.main-nav li:focus-within > .mega {
    opacity: 1; visibility: visible; transform: none;
    transition-delay: .06s, .06s, .06s;
}
.mega-inner {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}
.mega-featured { display: block; }
.mega-featured img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: .9rem;
    box-shadow: var(--shadow-card);
}
.mega-featured strong { display: block; font-weight: 700; color: var(--c-ink); }
.mega-featured span { display: block; font-size: var(--fs-small); color: var(--c-ink-soft); line-height: 1.5; margin-top: .2em; }
.mega-featured:hover strong { color: var(--c-red); }
.mega-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .3rem 2rem;
    align-content: start;
}
.mega-links a {
    display: block;
    padding: .85em 1em;
    border-radius: 2px;
    border-left: 1px solid transparent;
    transition: background var(--t-fast), border-color var(--t-fast);
}
.mega-links a:hover { background: color-mix(in srgb, var(--c-sand) 70%, transparent); border-left-color: var(--c-red); }
.mega-links strong { display: block; font-weight: 600; color: var(--c-ink); font-size: .98rem; }
.mega-links span { display: block; font-size: var(--fs-tiny); color: var(--c-ink-soft); margin-top: .1em; letter-spacing: .01em; }

.header-cta { flex-shrink: 0; display: flex; align-items: center; gap: 1rem; }
.header-phone {
    font-weight: 600;
    font-size: .95rem;
    color: var(--c-ink);
    white-space: nowrap;
}
.header-phone:hover { color: var(--c-red); }
.header-cta .btn { padding: .9em 1.45em; font-size: .93rem; }

/* Burger */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: .6rem;
    margin-left: auto;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--c-ink);
    margin: 6px 0;
    border-radius: 2px;
    transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}

@media (max-width: 1120px) {
    .header-phone { display: none; }
}
@media (max-width: 1023px) {
    .main-nav {
        position: fixed;
        inset: 86px 0 0 0;
        background: var(--c-paper);
        padding: 1.2rem var(--gutter) 7rem;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--t-fast);
        margin-left: 0;
    }
    body.nav-open .main-nav { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
    .main-nav { align-self: auto; display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav li { display: block; }
    .main-nav li.is-active { box-shadow: none; }
    .main-nav li.is-active > a { color: var(--c-red); }
    .main-nav a {
        font-family: var(--f-display);
        font-size: 1.65rem;
        font-weight: 500;
        color: var(--c-ink);
        padding: .55em .1em;
        border-radius: 0;
        border-bottom: 1px solid var(--c-line-soft);
    }
    .main-nav a:hover { background: none; }
    .main-nav li.is-active > a::after { content: none; }
    .main-nav li.has-mega > a::after { display: none; }
    .mega {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        border: 0; box-shadow: none; background: none;
        padding: .2rem 0 .8rem 1.1rem;
    }
    .mega .container { padding-inline: 0; }
    .mega-inner { display: block; }
    .mega-featured { display: none; }
    .mega-links { display: block; }
    .mega-links a { padding: .5em .2em; border-left: 0; }
    .mega-links a:hover { background: none; }
    .mega-links strong { font-family: var(--f-body); font-size: 1.02rem; font-weight: 500; color: var(--c-ink-soft); }
    .mega-links span { display: none; }
    .nav-toggle { display: block; }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .header-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Mobile Quick-Action-Bar (Anrufen / Termin)
   -------------------------------------------------------------------------- */
.action-bar {
    position: fixed;
    left: 50%;
    bottom: max(14px, env(safe-area-inset-bottom));
    translate: -50% 0;
    z-index: 90;
    display: none;
    gap: .5rem;
    padding: .45rem;
    background: color-mix(in srgb, var(--c-ink) 92%, transparent);
    backdrop-filter: blur(16px);
    border-radius: 2px;
    box-shadow: 0 24px 60px -20px rgba(25, 21, 18, .55);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.action-bar.is-visible { opacity: 1; transform: none; }
.action-bar a {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-size: .95rem;
    font-weight: 600;
    padding: .85em 1.35em;
    border-radius: 2px;
    color: #fff;
    white-space: nowrap;
}
.action-bar a.call { background: rgba(255, 255, 255, .13); }
.action-bar a.book { background: var(--c-red); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
@media (max-width: 767px) {
    .action-bar { display: flex; }
    body { padding-bottom: 76px; }
}

/* --------------------------------------------------------------------------
   Hero (Startseite)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: clip;
    padding-block: clamp(3.5rem, 7vw, 6.5rem) 0;
}
/* Atmosphäre: warme Radials + feine Smile-Bögen */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(52% 68% at 82% 8%, color-mix(in srgb, var(--c-champagne) 85%, transparent), transparent 70%),
        radial-gradient(40% 52% at 6% 90%, color-mix(in srgb, var(--c-sand) 90%, transparent), transparent 70%);
    pointer-events: none;
}
.hero::after {
    /* riesiges, schwaches GLAM-Signet */
    content: '';
    position: absolute;
    top: -6%; right: -12%;
    width: 56vw;
    aspect-ratio: 492 / 326;
    background: var(--c-red);
    -webkit-mask: url('../img/signet.svg') no-repeat center / contain;
    mask: url('../img/signet.svg') no-repeat center / contain;
    opacity: .04;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.hero h1 {
    font-size: var(--fs-hero);
    margin-bottom: .45em;
    text-wrap: initial;
}
.hero .lead {
    font-size: clamp(1.08rem, 1.5vw, 1.22rem);
    color: var(--c-ink-soft);
    max-width: 33em;
    margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-media { position: relative; }
.hero-media .frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    aspect-ratio: 4 / 5;
    isolation: isolate;
}
.hero-media .frame::after {
    /* innerer Lichtrand */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
    z-index: 1;
}
.hero-media .frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    scale: 1.06;
    animation: kenburns 14s var(--ease) forwards;
}
@keyframes kenburns { to { scale: 1; } }

/* Offset-Rahmen hinter dem Bild */
.hero-media::before {
    content: '';
    position: absolute;
    inset: 8% -6% -6% 8%;
    border: 1px solid color-mix(in srgb, var(--c-bronze) 45%, transparent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-badge {
    position: absolute;
    right: 1.3rem;
    bottom: 1.3rem;
    width: 88px;
    height: 88px;
    box-shadow: 0 14px 36px -12px rgba(25, 21, 18, .45);
    z-index: 2;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    padding: 1rem 1.3rem;
    font-size: var(--fs-small);
    line-height: 1.35;
    color: var(--c-ink-soft);
    z-index: 2;
}
.float-card strong {
    display: block;
    font-family: var(--f-display);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--c-ink);
}
.float-card--tl { top: 1.6rem; right: -2rem; }
.float-card--br { bottom: 2.2rem; left: -1.6rem; }

/* Trust-Marquee unter dem Hero */
.trust-marquee {
    position: relative;
    border-block: 1px solid var(--c-line);
    background: color-mix(in srgb, var(--c-surface) 68%, transparent);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-track {
    display: flex;
    width: max-content;
    gap: 3.5rem;
    padding: 1.05rem 1.75rem;
    animation: marquee 32s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    white-space: nowrap;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--c-ink-soft);
    letter-spacing: .02em;
}
.trust-item::before { content: '✦'; color: var(--c-bronze); font-size: .8em; }
.trust-item strong { color: var(--c-ink); font-weight: 600; }
.stars { color: #E8A200; letter-spacing: 2.5px; font-size: .92rem; }

/* Schmale Desktop-Breiten: obere Zahlen-Karte verdeckt sonst das Gesicht */
@media (max-width: 1280px) and (min-width: 901px) {
    .float-card--tl { display: none; }
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { max-width: 460px; }
    .float-card--tl { display: none; }
    .float-card--br { right: auto; left: .8rem; }
}

/* --------------------------------------------------------------------------
   Hero (Unterseite)
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    overflow: clip;
    padding-block: clamp(3.2rem, 6vw, 5.5rem);
    background:
        radial-gradient(58% 120% at 88% -10%, color-mix(in srgb, var(--c-champagne) 75%, transparent), transparent 72%),
        var(--c-paper);
    border-bottom: 1px solid var(--c-line);
}
.page-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40vw; height: 100%;
    background:
        repeating-linear-gradient(90deg,
            color-mix(in srgb, var(--c-bronze) 18%, transparent) 0 1px,
            transparent 1px 120px);
    -webkit-mask-image: linear-gradient(200deg, #000 5%, transparent 75%);
    mask-image: linear-gradient(200deg, #000 5%, transparent 75%);
    pointer-events: none;
}
.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.page-hero-media { position: relative; }
.page-hero-media::before {
    content: '';
    position: absolute;
    inset: 9% -6% -6% 9%;
    border: 1px solid color-mix(in srgb, var(--c-bronze) 45%, transparent);
}
.page-hero-media img {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}
.page-hero-media--tall { text-align: right; }
.page-hero-media--tall::before { content: none; }
.page-hero-media--tall img {
    display: inline-block;
    width: auto;
    max-height: 400px;
    aspect-ratio: auto;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--c-line);
    padding: 10px;
    box-shadow: var(--shadow-card);
}

.page-hero-media--video::before { content: none; }
.page-hero-media--video .video-poster,
.page-hero-media--video .video-frame {
    border: 6px solid rgba(255, 250, 243, .95);
    box-shadow: var(--shadow-lift);
}
@media (max-width: 860px) {
    .page-hero-grid { grid-template-columns: 1fr; }
    .page-hero-media { max-width: 420px; }
}

.page-hero h1 { max-width: 17em; }
.page-hero .lead { font-size: 1.14rem; color: var(--c-ink-soft); max-width: 42em; }
.page-hero .hero-actions { margin-top: 2rem; }

/* Hero: drei diagonale Bild-Ausschnitte, getrennt durch weiße Linien */
.page-hero-grid:has(.page-hero-media--collage) { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); }
.page-hero-media--collage::before { content: none; }
.hero-collage {
    display: flex;
    height: clamp(280px, 28vw, 400px);
}
.hero-collage-item {
    flex: 1 1 0;
    overflow: hidden;
    transform: skewX(-8deg);
    background: var(--c-champagne);
}
.hero-collage-item + .hero-collage-item { border-left: 5px solid #fff; }
.hero-collage-item img {
    width: calc(100% + 120px);
    max-width: none;
    height: 100%;
    margin-left: -60px;
    aspect-ratio: auto;
    object-fit: cover;
    box-shadow: none;
    transform: skewX(8deg);
}
@media (max-width: 860px) {
    .page-hero-grid:has(.page-hero-media--collage) { grid-template-columns: 1fr; }
    .page-hero-media--collage { max-width: none; }
    .hero-collage { height: 220px; }
}

.page-hero--red {
    background:
        radial-gradient(55% 90% at 82% 15%, rgba(255, 255, 255, .07), transparent 62%),
        linear-gradient(115deg, #A50013 0%, var(--c-red) 55%, #EE2434 100%);
    border-bottom: 0;
}
.page-hero--red::after { content: none; }
.page-hero--red h1 { color: #fff; }
.page-hero--red h1 em.hl {
    color: var(--c-night);
    background: rgba(255, 255, 255, .5);
    padding: .04em .18em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.page-hero--red .lead { color: rgba(255, 250, 243, .88); }
.page-hero--red .breadcrumb,
.page-hero--red .breadcrumb a { color: rgba(255, 250, 243, .65); }
.page-hero--red .breadcrumb a:hover { color: #fff; }
.page-hero--red .breadcrumb li:last-child { color: rgba(255, 250, 243, .9); }
.page-hero--red .btn--primary {
    background: #fff;
    color: var(--c-red);
    box-shadow: 0 14px 34px -14px rgba(25, 21, 18, .4);
}
.page-hero--red .btn--primary:hover { background: var(--c-paper); color: var(--c-red-deep); }
.page-hero--red .page-hero-media::before { border-color: rgba(255, 250, 243, .5); }

.page-hero--dark {
    background: var(--c-night);
    border-bottom: 0;
}
.page-hero--dark::after { background: #FFFAF3; opacity: .05; }
.page-hero--dark h1 { color: #FFFAF3; }
.page-hero--dark .lead { color: var(--c-night-soft); }
.page-hero--dark .breadcrumb,
.page-hero--dark .breadcrumb a { color: rgba(255, 250, 243, .55); }
.page-hero--dark .breadcrumb li:last-child { color: rgba(255, 250, 243, .8); }
.page-hero--dark .page-hero-media::before { border-color: color-mix(in srgb, var(--c-bronze) 60%, transparent); }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .45em;
    list-style: none;
    padding: 0;
    margin: 0 0 1.7rem;
    font-size: var(--fs-tiny);
    letter-spacing: .04em;
    color: var(--c-ink-faint);
}
.breadcrumb a { color: var(--c-ink-faint); font-weight: 500; }
.breadcrumb a:hover { color: var(--c-red); }
.breadcrumb li:not(:last-child)::after { content: '→'; margin-left: .45em; opacity: .5; }
.breadcrumb li:last-child { color: var(--c-ink-soft); font-weight: 600; }

/* --------------------------------------------------------------------------
   Text + Bild
   -------------------------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}
.split--media-left .split-media { order: -1; }
.split-media { position: relative; }
.split-media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    width: 100%;
    object-fit: cover;
}
.split-media--stack { padding-bottom: 3.2rem; padding-right: 3.2rem; }
.split-media--stack img:first-child { width: 88%; }
.split-media--stack img:last-child {
    position: absolute;
    right: 0; bottom: 0;
    width: 56%;
    border: 6px solid var(--c-paper);
    border-radius: var(--radius);
}
.split .body { color: var(--c-ink-soft); }
.split .body h2, .split .body h3 { color: var(--c-ink); }
.split .body ul { padding-left: 0; list-style: none; }
.split .body ul li {
    padding: .35em 0 .35em 1.7em;
    position: relative;
}
.split .body ul li::before {
    content: '✓';
    position: absolute;
    left: 0; top: .35em;
    color: var(--c-red);
    font-weight: 700;
}

/* dezente Parallaxe für Medien (nur wenn unterstützt + Motion erlaubt) */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .split-media img:first-child {
            animation: media-drift linear both;
            animation-timeline: view();
            animation-range: entry 0% exit 100%;
        }
        @keyframes media-drift {
            from { transform: translateY(2.5%); }
            to   { transform: translateY(-2.5%); }
        }
    }
}

@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split--media-left .split-media { order: 0; }
}

/* --------------------------------------------------------------------------
   Leistungs-Grid
   -------------------------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 1.3rem;
}
.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 2.1rem 1.9rem 1.8rem;
    overflow: hidden;
    transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-fast);
}
.svc-card::before {
    /* rote Kante, die bei Hover einläuft */
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2.5px;
    background: linear-gradient(90deg, var(--c-red), #FF5A47);
    transform: scaleX(0);
    transform-origin: 0 0;
    transition: transform var(--t-med) var(--ease);
}
.svc-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lift);
}
.svc-card:hover::before { transform: none; }
.svc-card .icon {
    width: 54px; height: 54px;
    border-radius: 2px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--c-bronze) 45%, var(--c-line));
    color: var(--c-ink);
    margin-bottom: 1.15rem;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-med) var(--ease-spring);
}
.svc-card:hover .icon { color: var(--c-red); border-color: var(--c-red); }
.svc-card .icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.32rem; margin-bottom: .25em; }
.svc-card p { color: var(--c-ink-soft); font-size: var(--fs-small); line-height: 1.6; flex-grow: 1; }
.svc-card .arrow-link { margin-top: 1rem; }
.svc-card > a.cover::after { content: ''; position: absolute; inset: 0; }

/* --------------------------------------------------------------------------
   Zahlen-Band (dunkel, animierte Zähler)
   -------------------------------------------------------------------------- */
.stats-band {
    position: relative;
    background: var(--c-night);
    overflow: clip;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.stats-band::before {
    content: '';
    position: absolute;
    top: -20%; right: -4%;
    width: 34%;
    aspect-ratio: 492 / 326;
    background: #FFFAF3;
    -webkit-mask: url('../img/signet.svg') no-repeat center / contain;
    mask: url('../img/signet.svg') no-repeat center / contain;
    opacity: .04;
    pointer-events: none;
}
.stat {
    position: relative;
    padding: clamp(2.6rem, 5vw, 4rem) 1.5rem;
    text-align: center;
}
.stat + .stat::before {
    content: '';
    position: absolute;
    left: 0; top: 22%; bottom: 22%;
    width: 1px;
    background: rgba(255, 250, 243, .12);
}
.stat .num {
    font-family: var(--f-display);
    font-size: clamp(2.6rem, 4.6vw, 4rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1;
    color: #FFFAF3;
    font-variant-numeric: tabular-nums;
}
.stat .num .accent { color: var(--c-red); }
.stat .label { margin-top: .8rem; font-size: var(--fs-small); color: var(--c-night-soft); }
@media (max-width: 640px) {
    .stat + .stat::before { content: none; }
    .stat { padding-block: 1.8rem; }
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quote-slider { position: relative; }
.quote-track {
    display: flex;
    gap: 1.3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: .5rem .25rem 1.6rem;
    margin-inline: -.25rem;
}
.quote-track::-webkit-scrollbar { display: none; }
.quote-card {
    position: relative;
    flex: 0 0 min(460px, 88%);
    scroll-snap-align: start;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 2.4rem 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px -22px rgba(25, 21, 18, .18);
}
.quote-card::before {
    content: '“';
    position: absolute;
    top: .4rem; right: 1.4rem;
    font-family: var(--f-display);
    font-size: 5.2rem;
    font-weight: 600;
    line-height: 1;
    color: color-mix(in srgb, var(--c-bronze) 30%, transparent);
    pointer-events: none;
}
.quote-card .stars { margin-bottom: 1.1rem; }
.quote-card blockquote {
    margin: 0 0 1.5rem;
    font-size: 1.13rem;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -.005em;
    color: var(--c-ink);
    flex-grow: 1;
    text-wrap: pretty;
}
.quote-card .who {
    font-size: var(--fs-small);
    color: var(--c-ink-soft);
    display: flex;
    align-items: center;
    gap: .7rem;
}
.quote-card .who::before {
    content: '';
    width: 26px; height: 2px;
    border-radius: 2px;
    background: var(--c-red);
}
.slider-nav { display: flex; gap: .6rem; justify-content: flex-end; }
.slider-nav button {
    width: 48px; height: 48px;
    border-radius: 2px;
    border: 1px solid var(--c-line);
    background: var(--c-surface);
    color: var(--c-ink);
    font-size: 1.05rem;
    cursor: pointer;
    transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.slider-nav button:hover { border-color: var(--c-ink); transform: translateY(-2px); }
.slider-nav button:active { background: var(--c-ink); color: #fff; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.faq-item[open] { box-shadow: var(--shadow-card); border-color: color-mix(in srgb, var(--c-ink) 16%, transparent); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.6rem;
    font-weight: 600;
    font-size: 1.04rem;
    letter-spacing: -.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 34px; height: 34px;
    display: grid;
    place-items: center;
    border-radius: 2px;
    border: 1px solid var(--c-line);
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--c-red);
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.faq-item[open] summary::after { content: '−'; background: var(--c-red); border-color: var(--c-red); color: #fff; }
.faq-item .faq-body { padding: 0 1.6rem 1.5rem; color: var(--c-ink-soft); max-width: 62ch; }

/* --------------------------------------------------------------------------
   Arzt-Porträt
   -------------------------------------------------------------------------- */
.doctor {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}
.doctor-photo { position: relative; }
.doctor-photo::before {
    content: '';
    position: absolute;
    inset: 10% -7% -7% 10%;
    border: 1px solid color-mix(in srgb, var(--c-bronze) 45%, transparent);
    border-radius: var(--radius-lg);
}
.doctor-photo img {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
}
.doctor-photo .sig {
    position: absolute;
    bottom: -1.2rem;
    right: -.8rem;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    padding: .85rem 1.4rem;
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 1.05rem;
    z-index: 1;
}
.doctor .creds { list-style: none; margin: 1.7rem 0 2.2rem; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.doctor .creds li {
    display: flex;
    gap: .75rem;
    align-items: baseline;
    color: var(--c-ink-soft);
    font-size: var(--fs-small);
}
.doctor .creds li::before { content: '✓'; color: var(--c-red); font-weight: 700; }

@media (max-width: 860px) {
    .doctor { grid-template-columns: 1fr; }
    .doctor-photo { max-width: 380px; }
}

/* --------------------------------------------------------------------------
   Timeline (Vita)
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 5px; top: 8px; bottom: 8px;
    width: 1.5px;
    background: linear-gradient(180deg, var(--c-red), var(--c-line) 30%);
}
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
    content: '';
    position: absolute;
    left: -2.2rem; top: .45em;
    width: 10px; height: 10px;
    background: var(--c-paper);
    border: 2px solid var(--c-red);
}
.tl-item .year {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .02em;
    color: var(--c-red);
}
.tl-item .what { font-weight: 600; margin-top: .1em; }
.tl-item .detail { color: var(--c-ink-soft); font-size: var(--fs-small); margin-top: .15em; }

/* --------------------------------------------------------------------------
   CTA-Banner
   -------------------------------------------------------------------------- */
.cta-banner {
    position: relative;
    overflow: clip;
    background:
        radial-gradient(80% 140% at 85% -20%, color-mix(in srgb, var(--c-champagne) 90%, transparent), transparent 70%),
        #FFFDFA;
    color: var(--c-ink);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: clamp(3rem, 6.5vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
    text-align: center;
    isolation: isolate;
}
.cta-banner::before {
    /* schwaches Signet-Wasserzeichen */
    content: '';
    position: absolute;
    top: -8%; right: -6%;
    width: 46%;
    aspect-ratio: 492 / 326;
    background: var(--c-red);
    -webkit-mask: url('../img/signet.svg') no-repeat center / contain;
    mask: url('../img/signet.svg') no-repeat center / contain;
    opacity: .06;
    z-index: -1;
    pointer-events: none;
}
.cta-banner h2 { color: var(--c-ink); max-width: 18em; margin-inline: auto; }
.cta-banner p { color: var(--c-ink-soft); max-width: 38em; margin-inline: auto; font-size: 1.06rem; }
.cta-banner .hero-actions { justify-content: center; margin: 2.4rem 0 0; }

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}
.gallery figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
}
.gallery figure::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
    pointer-events: none;
}
.gallery img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    transition: scale .8s var(--ease);
}
.gallery figure:hover img { scale: 1.05; }

/* --------------------------------------------------------------------------
   Jobs
   -------------------------------------------------------------------------- */
.job-card {
    position: relative;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 2.1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    overflow: hidden;
    transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.job-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2.5px;
    background: linear-gradient(90deg, var(--c-red), #FF5A47);
    transform: scaleX(0);
    transform-origin: 0 0;
    transition: transform var(--t-med) var(--ease);
}
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.job-card:hover::before { transform: none; }
.job-card .salary {
    font-size: var(--fs-tiny);
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--c-ink);
    background: var(--c-sand);
    border: 1px solid var(--c-line);
    align-self: flex-start;
    border-radius: 2px;
    padding: .45em 1.05em;
}
.job-card ul { margin: 0; padding-left: 1.1rem; color: var(--c-ink-soft); font-size: var(--fs-small); }
.job-card ul li { margin-bottom: .3em; }

/* --------------------------------------------------------------------------
   Kontakt-Block
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.3rem;
}
.contact-card {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 2rem 1.9rem;
    transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.contact-card h3 { font-size: 1.14rem; display: flex; align-items: center; gap: .6rem; font-family: var(--f-body); font-weight: 600; }
.contact-card h3 .dot { width: 9px; height: 9px; background: var(--c-red); }
.contact-card a.big {
    font-family: var(--f-display);
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--c-ink);
}
.contact-card a.big:hover { color: var(--c-red); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.hours td { padding: .45em 0; color: var(--c-ink-soft); border-bottom: 1px dashed var(--c-line); }
.hours td:last-child { text-align: right; color: var(--c-ink); font-weight: 600; }
.hours tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   Funnel (Multistep-Leadformular)
   -------------------------------------------------------------------------- */
.funnel {
    position: relative;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    max-width: 760px;
    margin-inline: auto;
    overflow: hidden;
}
.funnel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--c-line-soft);
}
.funnel-head { padding: 1.9rem 2.2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.funnel-progress {
    position: absolute;
    top: 0; left: 0;
    height: 4px;
    width: 100%;
    z-index: 1;
}
.funnel-progress .bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--c-red), #FF5A47);
    border-radius: 0;
    transition: width .6s var(--ease);
}
.funnel-step-label {
    font-size: var(--fs-tiny);
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-ink-faint);
}

.funnel-body { padding: .9rem 2.2rem 2.4rem; }
.funnel-body h3 { font-size: 1.6rem; margin-bottom: 1.5rem; }

.funnel-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: .85rem; }
.funnel-opt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    text-align: left;
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    padding: 1.35rem 1.3rem 1.2rem;
    cursor: pointer;
    font-family: var(--f-body);
    font-size: 1rem;
    color: var(--c-ink);
    transition: border-color var(--t-fast), transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast), background var(--t-fast);
}
.funnel-opt:hover { border-color: var(--c-ink); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.funnel-opt.is-selected { border-color: var(--c-red); background: var(--c-red-tint); }
.funnel-opt strong { font-weight: 600; letter-spacing: -.005em; }
.funnel-opt small { color: var(--c-ink-soft); line-height: 1.45; }

.funnel-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.funnel-fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: var(--fs-small); font-weight: 600; margin-bottom: .4rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
    width: 100%;
    font: inherit;
    color: var(--c-ink);
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-xs);
    padding: .9em 1.05em;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    background: #fff;
    border-color: var(--c-red);
    box-shadow: 0 0 0 4px rgba(226, 0, 26, .1);
}
.field.has-error input { border-color: var(--c-red); background: var(--c-red-tint); }
.field .err { color: var(--c-red-deep); font-size: var(--fs-tiny); margin-top: .3rem; display: none; }
.field.has-error .err { display: block; }

.funnel-consent { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-small); color: var(--c-ink-soft); margin-top: 1.2rem; }
.funnel-consent input { margin-top: .28em; width: 1.1em; height: 1.1em; }

.funnel-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.9rem;
    gap: 1rem;
}
.funnel-back {
    background: none;
    border: 0;
    color: var(--c-ink-faint);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: .5em .2em;
}
.funnel-back:hover { color: var(--c-ink); }

.funnel-success { text-align: center; padding: 3.2rem 2rem; }
.funnel-success .check {
    width: 76px; height: 76px;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
    background: linear-gradient(140deg, var(--c-red), #F13A2C);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    box-shadow: 0 18px 40px -14px rgba(226, 0, 26, .5);
    animation: pop .6s var(--ease-spring);
}
@keyframes pop { from { scale: .4; opacity: 0; } }
.funnel-note { font-size: var(--fs-tiny); color: var(--c-ink-faint); margin-top: 1.1rem; text-align: center; letter-spacing: .02em; }

.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.funnel-pane { animation: funnelIn .45s var(--ease); }
@keyframes funnelIn {
    from { opacity: 0; transform: translateX(26px); filter: blur(3px); }
    to   { opacity: 1; transform: none; filter: none; }
}

/* --------------------------------------------------------------------------
   Autorenbox (E-E-A-T)
   -------------------------------------------------------------------------- */
.author-box {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 1.6rem;
    align-items: center;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-left: 2px solid var(--c-red);
    padding: 1.8rem 2rem;
}
.author-box .author-photo {
    width: 130px; height: 130px;
    object-fit: cover;
    object-position: top;
}
.author-label {
    display: block;
    font-size: var(--fs-tiny);
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c-ink-faint);
}
.author-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin: .15em 0 .4em;
}
.author-box p { font-size: var(--fs-small); color: var(--c-ink-soft); margin-bottom: .9em; }
.author-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
@media (max-width: 560px) {
    .author-box { grid-template-columns: 1fr; }
    .author-box .author-photo { width: 96px; height: 96px; }
}

/* --------------------------------------------------------------------------
   Video-Testimonials (Zwei-Klick, youtube-nocookie)
   -------------------------------------------------------------------------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.3rem;
}
.video-card { margin: 0; }
.video-poster {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--c-line);
    background: var(--c-night);
    cursor: pointer;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.video-poster img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .92;
    transition: opacity var(--t-fast), scale .8s var(--ease);
}
.video-poster:hover img { opacity: 1; scale: 1.04; }
.video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px; height: 64px;
    background: rgba(226, 0, 26, .3);
    display: grid;
    place-items: center;
    transition: transform var(--t-fast) var(--ease-spring), background var(--t-fast);
}
.video-play::before {
    content: '';
    width: 0; height: 0;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}
.video-poster:hover .video-play { transform: scale(1.08); background: rgba(226, 0, 26, .85); }
.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
    background: #000;
}
.video-card figcaption { margin-top: .8rem; }
.video-card figcaption strong { display: block; font-weight: 600; }
.video-card figcaption span { font-size: var(--fs-small); color: var(--c-ink-soft); }

/* --------------------------------------------------------------------------
   Instagram-Reels (lokal gehostet, Hochformat)
   -------------------------------------------------------------------------- */
.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem 2rem;
    flex-wrap: wrap;
    max-width: none;
}
.btn--insta { white-space: nowrap; }
.btn--insta .ico { width: 17px; height: 17px; margin-right: .55em; vertical-align: -3px; }
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.1rem;
}
@media (max-width: 1100px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }
.insta-card { margin: 0; }
.video-poster--reel { aspect-ratio: 9 / 16; }
.video-poster--reel .video-play { width: 48px; height: 48px; }
.video-poster--reel .video-play::before { border-width: 7px 0 7px 12px; }
.insta-card figcaption { margin-top: .7rem; }
.insta-card figcaption strong {
    display: block;
    font-weight: 600;
    font-size: var(--fs-small);
    line-height: 1.45;
}
.video-frame--reel { aspect-ratio: 9 / 16; }

/* --------------------------------------------------------------------------
   Balken-Diagramm
   -------------------------------------------------------------------------- */
.chart { display: flex; flex-direction: column; gap: 1.35rem; }
.chart-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: .5rem;
}
.chart-label { font-weight: 500; }
.chart-value {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--c-ink);
}
.chart-track {
    height: 10px;
    background: var(--c-sand);
    border: 1px solid var(--c-line);
    overflow: hidden;
}
.chart-bar {
    height: 100%;
    width: 0;
    background: var(--c-red);
    transition: width 1.4s var(--ease);
}
.chart.is-in .chart-bar { width: var(--target); }
.chart-footnote {
    font-size: var(--fs-tiny);
    color: var(--c-ink-faint);
    margin-top: 1.6rem;
    letter-spacing: .01em;
}
@media (prefers-reduced-motion: reduce) {
    .chart-bar { width: var(--target); transition: none; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    background: var(--c-night);
    color: var(--c-night-soft);
    margin-top: var(--sec-pad);
    padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
    font-size: var(--fs-small);
    overflow: clip;
}
.site-footer::before {
    content: '';
    position: absolute;
    bottom: -12%; right: -4%;
    width: 34%;
    aspect-ratio: 492 / 326;
    background: #FFFAF3;
    -webkit-mask: url('../img/signet.svg') no-repeat center / contain;
    mask: url('../img/signet.svg') no-repeat center / contain;
    opacity: .035;
    pointer-events: none;
}
.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 2.5rem;
    padding-bottom: 2.8rem;
    border-bottom: 1px solid rgba(255, 250, 243, .12);
}
.site-footer .footer-head {
    color: #FFFAF3;
    font-size: var(--fs-tiny);
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.site-footer a { color: var(--c-night-soft); transition: color var(--t-fast); }
.site-footer a:hover { color: #FFFAF3; }
.footer-brand img { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 30em; line-height: 1.7; }
.footer-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.7rem;
    font-size: var(--fs-tiny);
    color: rgba(255, 250, 243, .45);
}
.footer-meta a { color: rgba(255, 250, 243, .55); }
@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Scroll-Reveal
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(4px);
    transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.reveal-d1 { transition-delay: .09s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; filter: none; transition: none; }
    .trust-track { animation: none; }
    .hero-media .frame img { animation: none; scale: 1; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Prose (cke5-Freitext)
   -------------------------------------------------------------------------- */
.prose { color: var(--c-ink-soft); }
.prose h2, .prose h3 { color: var(--c-ink); margin-top: 1.7em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { padding: .3em 0 .3em 1.7em; position: relative; }
.prose ul li::before {
    content: '✓';
    position: absolute;
    left: 0; top: .3em;
    color: var(--c-red);
    font-weight: 700;
}
.prose blockquote {
    margin: 2.2rem 0;
    padding: 1.8rem 2.1rem;
    background: var(--c-sand);
    border: 1px solid var(--c-line);
    border-left: 3px solid var(--c-red);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 1.18rem;
    line-height: 1.5;
    color: var(--c-ink);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }
