/* ====== Cinematic Hero (Taxidash) ======
 * Vanilla-Port des CinematicHero React-Komponenten.
 * Animationen: GSAP + ScrollTrigger (per CDN geladen).
 * Farben sind hartcodiert dunkel, weil index.html dauerhaft dunkel ist.
 * --------------------------------------------------------- */

:root {
    --ch-fg: #ffffff;
    --ch-muted: rgba(255, 255, 255, 0.6);
    --ch-bg: #000000;
    /* Taxidash-Gelb (aus meta theme-color) */
    --ch-brand: #ffd400;
    --ch-brand-deep: #b88a00;
    --ch-brand-ink: #1a1500;
}

/* ====== Trust Infinity Bar (ineedataxi-Style) ======
 * Endlosschleife mit weichem Edge-Fade. Logos passen sich farbig durch
 * (kein grayscale-Filter). Auf Hover leichter Scale-Effekt.
 */
.trust-bar {
    width: 100%;
    max-width: 1400px;
    overflow: hidden;
    /* Weiches Ausfaden links und rechts → "Infinity"-Effekt */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: trust-scroll 28s linear infinite;
}

.trust-logo {
    flex-shrink: 0;
    height: 64px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Subtile Aufhellung damit dunkle Logos auf schwarz besser kommen */
    filter: brightness(1.15) contrast(1.05);
}

.trust-logo:hover {
    transform: scale(1.08);
    filter: brightness(1.3) contrast(1.1);
}

.trust-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* WICHTIG: Kein grayscale mehr. Wenn das SVG selbst Farben enthält,
       erscheinen sie hier. */
}

@keyframes trust-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .trust-track {
        gap: 40px;
        animation-duration: 22s;
    }
    .trust-logo {
        height: 48px;
        width: 120px;
    }
}

/* ====== Pricing-Card Counter-Reihen ======
 * Beide Reihen (Unternehmen, Fahrzeuge) nutzen denselben Grid-Layout:
 *   [Titel + Subtitle (flex 1)]  [Counter (fixed)]
 * Mit align-items:center sitzt der Counter immer mittig zur Reihe,
 * egal wie viele Zeilen der Titel hat. Pixelgenau übereinander.
 */
.pricing-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
}

.pricing-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pricing-counter-btn {
    height: 36px;
    width: 36px;
    border-radius: 9999px;
    border: 2px solid #cbd5e1; /* slate-300 */
    color: #334155;            /* slate-700 */
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    background: transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pricing-counter-btn:hover {
    background: #f1f5f9; /* slate-100 */
}

.pricing-counter-btn:active {
    transform: scale(0.95);
}

.pricing-counter-input {
    width: 44px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #030712; /* gray-950 */
    background: transparent;
    border: 0;
    outline: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.pricing-counter-input::-webkit-outer-spin-button,
.pricing-counter-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ====== Info-Tooltip (Tap-to-toggle) ======
 * Kreis mit "i" drin. Click/Tap zeigt Popover, Click außerhalb schließt.
 */
.info-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.info-pill {
    width: 18px;
    height: 18px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.08);
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    font-family: serif;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, transform 0.15s ease;
}

.info-pill:hover {
    background: rgba(0, 0, 0, 0.14);
    transform: scale(1.1);
}

.info-pill:focus-visible {
    outline: 2px solid #0A8DD3;
    outline-offset: 2px;
}

.info-pop {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    width: 240px;
    max-width: 80vw;
    padding: 10px 14px;
    background: #1e293b;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Whitespace-Wrap zurück auf normal, weil Parent wahrscheinlich nowrap */
    white-space: normal;
    text-align: left;
}

.info-pop::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #1e293b;
    border-radius: 2px;
}

.info-pop.is-open {
    display: block;
}

/* ====== Glassiger Login-Button ======
 * Fixed top-right, immer sichtbar (auch während Cinematic-Hero).
 * Nicht von der `body.ch-hero-pinning` Regel betroffen, weil's kein
 * section/header/footer/main ist.
 */
.td-login-glass {
    position: fixed;
    top: 12px;
    right: 60px;             /* lässt Platz für den Mobile-Hamburger rechts daneben */
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.25),
        inset 0 -1px 1px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.td-login-glass:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.35),
        inset 0 -1px 1px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.td-login-glass:active {
    transform: translateY(0);
}

.td-login-glass svg {
    width: 16px;
    height: 16px;
    /* Globaler svg{fill:white} würde sonst die Innenform füllen — fill:none erzwingen */
    fill: none !important;
}

@media (min-width: 1024px) {
    /* Auf Desktop ist der Login-Link bereits in der Navbar – Glass-Button wäre doppelt */
    .td-login-glass {
        display: none;
    }
}

/* Wrapper isoliert die Hero-Section vom flex-column-Body. Minimalistisch –
   keine fixe Höhe, kein min-height, kein flex-shrink. ScrollTrigger berechnet
   den Pin-Spacer selbst. Jede CSS-Komplexität hier verursacht Konflikte. */
.ch-hero-wrapper {
    position: relative;
    width: 100%;
}

.ch-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ch-fg);
    background: var(--ch-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    perspective: 1500px;
}

/* Während die Hero-Section gepinnt ist, dürfen weder die nachfolgenden
   Sections noch der Footer noch die Navbar noch der Login-Button sichtbar
   sein. JS toggelt diese Klasse über ScrollTrigger-Callbacks. */
body.ch-hero-pinning > header,
body.ch-hero-pinning > section,
body.ch-hero-pinning > footer,
body.ch-hero-pinning > main,
body.ch-hero-pinning > .td-login-glass {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

/* Soft fade-in nach dem Pin-Ende: Navbar + Login + Sections. */
body > header,
body > section,
body > footer,
body > main,
body > .td-login-glass {
    transition: opacity 0.6s ease 0.05s, visibility 0s linear 0s;
}

/* Wrapper bleibt immer sichtbar – darin ist die Hero-Section, die während
   des Pins gezeigt wird. */
body.ch-hero-pinning > .ch-hero-wrapper { opacity: 1; visibility: visible; pointer-events: auto; }

/* Consent-Banner: fixed positioniert, soll für DSGVO sichtbar bleiben. */
body.ch-hero-pinning > #consentBanner { opacity: 1; visibility: visible; pointer-events: auto; }

.ch-section *,
.ch-section *::before,
.ch-section *::after {
    box-sizing: border-box;
}

.gsap-reveal {
    visibility: hidden;
}

/* Environment Overlays */
.ch-film-grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
}

.ch-bg-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Typografie */
.ch-text-matte {
    color: var(--ch-fg);
    text-shadow:
        0 10px 30px rgba(255, 255, 255, 0.2),
        0 2px 4px rgba(255, 255, 255, 0.1);
}

.ch-text-silver {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateZ(0);
    filter:
        drop-shadow(0px 10px 20px rgba(255, 255, 255, 0.15))
        drop-shadow(0px 2px 4px rgba(255, 255, 255, 0.1));
}

.ch-text-card-silver {
    /* Auf gelbem Card-Hintergrund: tiefschwarzer Verlauf für maximalen Kontrast. */
    background: linear-gradient(180deg, #000000 0%, #1a1500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateZ(0);
    filter:
        drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.35))
        drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hero Text Wrapper (Hintergrund) */
.ch-hero-text-wrapper {
    position: absolute;
    z-index: 10;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100vw;
    padding: 0 16px;
    transform-style: preserve-3d;
}

.ch-hero-text-wrapper h1 {
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

.ch-track {
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.ch-days {
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

/* Brand-Block unter dem Hero-Text: Logo + TAXIDASH mit Shimmer */
.ch-brand-block {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.5rem, 1.2vw, 1rem);
    will-change: opacity;
}

.ch-brand-logo {
    width: clamp(64px, 8vw, 96px);
    height: clamp(64px, 8vw, 96px);
    transform-box: fill-box;
    transform-origin: 75% 20%;
}

.main-card {
    will-change: transform, opacity;
}

/* Shimmer: animierter Gradient läuft horizontal durch den Text. */
.ch-brand-shimmer {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(
        90deg,
        rgba(160, 160, 170, 0.55) 0%,
        rgba(160, 160, 170, 0.55) 35%,
        #ffffff 50%,
        rgba(160, 160, 170, 0.55) 65%,
        rgba(160, 160, 170, 0.55) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: ch-shimmer 3.5s linear infinite;
    will-change: background-position;
}

@keyframes ch-shimmer {
    from { background-position: 200% center; }
    to   { background-position: -200% center; }
}

/* CTA Wrapper (Hintergrund-Layer hinter der Karte) */
.ch-cta-wrapper {
    position: absolute;
    z-index: 10;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100vw;
    padding: 0 16px;
    pointer-events: auto;
    will-change: transform;
}

.ch-cta-heading {
    margin: 0 0 1rem 0;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ch-cta-desc {
    color: var(--ch-muted);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 36rem;
    margin: 0 auto 1.5rem auto;
    font-weight: 300;
    line-height: 1.6;
}

.ch-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .ch-cta-buttons {
        flex-direction: row;
    }
}

/* Buttons */
.ch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1.25rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: 0;
    font-family: inherit;
}

.ch-btn-light {
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
    color: #0F172A;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 12px 24px -4px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 1),
        inset 0 -3px 6px rgba(0, 0, 0, 0.06);
}

.ch-btn-light:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 6px 12px -2px rgba(0, 0, 0, 0.15),
        0 20px 32px -6px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 1),
        inset 0 -3px 6px rgba(0, 0, 0, 0.06);
}

.ch-btn-light:active {
    transform: translateY(1px);
    background: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 100%);
}

.ch-btn-dark {
    background: linear-gradient(180deg, #27272A 0%, #18181B 100%);
    color: #ffffff;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 12px 24px -4px rgba(0, 0, 0, 0.9),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -3px 6px rgba(0, 0, 0, 0.8);
}

.ch-btn-dark:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, #3F3F46 0%, #27272A 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 6px 12px -2px rgba(0, 0, 0, 0.7),
        0 20px 32px -6px rgba(0, 0, 0, 1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        inset 0 -3px 6px rgba(0, 0, 0, 0.8);
}

.ch-btn-dark:active {
    transform: translateY(1px);
    background: #18181B;
}

.ch-btn-icon {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.ch-btn:hover .ch-btn-icon {
    transform: scale(1.06);
}

/* Animierter CTA-Pfeil rechts vom Text "Jetzt starten" */
.ch-btn-arrow {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    fill: none !important; /* überrennt globalen svg{fill:white} */
    animation: ch-cta-arrow-nudge 1.6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

@keyframes ch-cta-arrow-nudge {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(6px); }
}

.ch-btn:hover .ch-btn-arrow {
    animation-play-state: paused;
    transform: translateX(10px);
}

.ch-btn-label {
    text-align: left;
    line-height: 1.1;
}

.ch-btn-label-small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: -2px;
    display: block;
}

.ch-btn-dark .ch-btn-label-small {
    color: #a1a1aa;
}

.ch-btn-label-large {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: block;
}

/* Card */
.ch-card-stage {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    perspective: 1500px;
}

.ch-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    width: 92vw;
    height: 92vh;
    height: 92svh;
    border-radius: 32px;
    /* Taxidash-Gelb statt Blau */
    background: linear-gradient(145deg, #ffd400 0%, #c79e00 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.7),
        0 20px 40px -20px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .ch-card {
        width: 85vw;
        height: 85vh;
        height: 85svh;
        border-radius: 40px;
    }
}

.ch-card-sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 50;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.25) 0%, transparent 40%);
    mix-blend-mode: overlay;
    transition: opacity 0.3s ease;
}

.ch-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    z-index: 10;
}

@media (min-width: 1024px) {
    .ch-card-inner {
        display: grid;
        /* Phone-Spalte breit (für Badges links/rechts), Brand-Spalte schmal */
        grid-template-columns: 1fr 1.6fr 0.9fr;
        gap: 1.5rem;
        padding: 0 2.5rem;
        align-items: center;
    }
}

/* Card-Sections (Order) */
.ch-card-brand {
    order: 1;
    display: flex;
    justify-content: center;
    z-index: 20;
    width: 100%;
}

.ch-card-mockup {
    order: 2;
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    perspective: 1000px;
}

.ch-card-text {
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    z-index: 20;
    width: 100%;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .ch-card-brand {
        order: 3;
        justify-content: flex-end;
    }
    .ch-card-mockup {
        order: 2;
        height: 600px;
    }
    .ch-card-text {
        order: 1;
        text-align: left;
        padding: 0;
    }
}

.ch-brand {
    margin: 0;
    /* Vorher: clamp(3.5rem, 9vw, 8rem) → 128 px+ auf Desktop, sprengte die Spalte
       und überschnitt mit den Badges. Jetzt deutlich kompakter, passt in die
       Brand-Spalte des Grid-Layouts. */
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1;
    /* Text NIE über die Spalte hinaus, falls Zeichen breiter werden */
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.ch-card-heading {
    /* Dunkel auf gelbem Card-Hintergrund */
    color: #1a1500;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (min-width: 1024px) {
    .ch-card-heading {
        margin-bottom: 1.25rem;
    }
}

.ch-card-desc {
    display: none;
    color: rgba(26, 21, 0, 0.78);
    font-size: clamp(0.875rem, 1.2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    max-width: 28rem;
}

@media (min-width: 768px) {
    .ch-card-desc {
        display: block;
    }
}

@media (min-width: 1024px) {
    .ch-card-desc {
        max-width: none;
    }
}

.ch-card-desc-strong {
    color: #1a1500;
    font-weight: 700;
}

/* Mockup scaling wrapper */
.ch-mockup-scale {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.65);
}

@media (max-width: 767px) {
    .ch-card-inner {
        gap: 0.6rem;
        justify-content: center;
        padding: 1rem 0.75rem;
    }

    .ch-card-brand {
        margin-top: -0.8rem;
        margin-bottom: 0;
    }

    .ch-card-mockup {
        height: min(58svh, 440px);
    }

    .ch-card-text {
        margin-top: 0.85rem;
        margin-bottom: -0.7rem;
    }

    .ch-mockup-scale {
        transform: scale(0.72);
    }
}

@media (min-width: 768px) {
    .ch-mockup-scale {
        transform: scale(0.85);
    }
}

@media (min-width: 1024px) {
    .ch-mockup-scale {
        transform: scale(1);
    }
}

/* iPhone bezel */
.ch-phone {
    position: relative;
    width: 280px;
    height: 580px;
    border-radius: 3rem;
    background-color: #111;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform-style: preserve-3d;
    box-shadow:
        inset 0 0 0 2px #52525B,
        inset 0 0 0 7px #000,
        0 40px 80px -15px rgba(0, 0, 0, 0.9),
        0 15px 25px -5px rgba(0, 0, 0, 0.7);
}

.ch-phone-btn {
    position: absolute;
    background: linear-gradient(90deg, #404040 0%, #171717 100%);
    box-shadow:
        -2px 0 5px rgba(0, 0, 0, 0.8),
        inset -1px 0 1px rgba(255, 255, 255, 0.15),
        inset 1px 0 2px rgba(0, 0, 0, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.ch-phone-btn-l1 { top: 120px; left: -3px; width: 3px; height: 25px; border-radius: 4px 0 0 4px; }
.ch-phone-btn-l2 { top: 160px; left: -3px; width: 3px; height: 45px; border-radius: 4px 0 0 4px; }
.ch-phone-btn-l3 { top: 220px; left: -3px; width: 3px; height: 45px; border-radius: 4px 0 0 4px; }
.ch-phone-btn-r1 { top: 170px; right: -3px; width: 3px; height: 70px; border-radius: 0 4px 4px 0; transform: scaleX(-1); }

.ch-screen {
    position: absolute;
    inset: 7px;
    border-radius: 2.5rem;
    overflow: hidden;
    background-color: #050914;
    color: #fff;
    z-index: 10;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 1);
}

.ch-screen-glare {
    position: absolute;
    inset: 0;
    z-index: 40;
    pointer-events: none;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 45%);
}

.ch-island {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 999px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 12px;
    box-shadow: inset 0 -1px 2px rgba(255, 255, 255, 0.1);
}

.ch-island-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    animation: ch-pulse 2s ease-in-out infinite;
}

@keyframes ch-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ch-app {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 48px 20px 32px;
    display: flex;
    flex-direction: column;
}

.ch-app-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.ch-app-head-label {
    font-size: 10px;
    color: #a3a3a3;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.ch-app-head-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.ch-avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.ch-ring-wrap {
    position: relative;
    width: 11rem;
    height: 11rem;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.8));
}

.ch-ring-wrap svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ch-progress-ring {
    transform: rotate(-90deg);
    transform-origin: center;
    stroke-dasharray: 402;
    stroke-dashoffset: 402;
    stroke-linecap: round;
}

.ch-ring-inner {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ch-counter-val {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
}

.ch-counter-label {
    font-size: 8px;
    color: rgba(191, 219, 254, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-top: 2px;
}

.ch-widgets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ch-widget {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        inset 0 -1px 1px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
}

.ch-widget-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    border: 1px solid;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ch-widget-icon-blue {
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.05));
    border-color: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.ch-widget-icon-green {
    background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.05));
    border-color: rgba(52, 211, 153, 0.2);
    color: #34d399;
}

.ch-widget-icon svg {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.ch-widget-lines {
    flex: 1;
}

.ch-widget-line {
    height: 8px;
    border-radius: 999px;
    background: #d4d4d4;
    margin-bottom: 8px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    width: 80px;
}

.ch-widget-line-sm {
    height: 6px;
    border-radius: 999px;
    background: #525252;
    width: 48px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ch-widget-line-md {
    height: 8px;
    width: 64px;
}

.ch-widget-line-lg {
    height: 6px;
    width: 96px;
    background: #525252;
}

/* Echte Text-Widgets statt anonymisierter Linien */
.ch-widget-text {
    flex: 1;
    min-width: 0;
}

.ch-widget-title {
    color: #fafafa;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 2px 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.ch-widget-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

.ch-home-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Floating Badges */
.ch-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    z-index: 30;
    /* Statt backdrop-filter: blur (extrem GPU-teuer, verursacht Ruckeln bei 6
       gleichzeitigen Layern) → dunkleres semi-transparentes Background.
       Sieht ähnlich glasig aus, kostet aber praktisch nichts. */
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.75) 0%, rgba(10, 10, 15, 0.55) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 40px -12px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

@media (min-width: 1024px) {
    .ch-badge {
        padding: 1rem;
        gap: 1rem;
        border-radius: 1rem;
    }
}

/* Position der 6 Notification-Badges rund ums Phone-Mockup.
   Mobile: kompakt am Phone-Rand, partielle Überlappung wirkt wie echte
   iOS-Notifications. Auf < 768 px werden die 2 mittigen Badges versteckt,
   um den Screen nicht zu überladen → 4 sichtbar (Ecken). */
.ch-badge-tl { top: 8px;   left: -18px; }
.ch-badge-tr { top: 96px;  right: -22px; }
.ch-badge-ml { top: 44%;   left: -32px; }
.ch-badge-mr { top: 50%;   right: -32px; }
.ch-badge-bl { bottom: 92px; left: -18px; }
.ch-badge-br { bottom: 6px; right: -22px; }

@media (max-width: 767px) {
    .ch-badge-ml,
    .ch-badge-mr { display: none; }

    .ch-badge {
        gap: 0.85rem;
        padding: 0.875rem;
        border-radius: 0.9rem;
        max-width: 190px;
    }

    .ch-badge-tl { top: 0; left: -12px; }
    .ch-badge-tr { top: 82px; right: -16px; }
    .ch-badge-bl { bottom: 86px; left: -12px; }
    .ch-badge-br { bottom: -2px; right: -16px; }

    .ch-badge-circle {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }
}

@media (min-width: 768px) {
    .ch-badge-tl { top: 20px;  left: -50px; }
    .ch-badge-tr { top: 110px; right: -60px; }
    .ch-badge-ml { top: 44%;   left: -100px; }
    .ch-badge-mr { top: 50%;   right: -100px; }
    .ch-badge-bl { bottom: 110px; left: -50px; }
    .ch-badge-br { bottom: 20px;  right: -60px; }
}

@media (min-width: 1024px) {
    .ch-badge-tl { top: 24px;  left: -90px; }
    .ch-badge-tr { top: 120px; right: -110px; }
    .ch-badge-ml { top: 42%;   left: -140px; }
    .ch-badge-mr { top: 48%;   right: -140px; }
    .ch-badge-bl { bottom: 130px; left: -90px; }
    .ch-badge-br { bottom: 24px;  right: -110px; }
}

.ch-badge-circle {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1024px) {
    .ch-badge-circle {
        width: 40px;
        height: 40px;
    }
}

.ch-badge-circle-blue {
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.2), rgba(30, 58, 138, 0.1));
    border-color: rgba(96, 165, 250, 0.3);
}

.ch-badge-circle-indigo {
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.2), rgba(67, 56, 202, 0.1));
    border-color: rgba(129, 140, 248, 0.3);
}

.ch-badge-circle-amber {
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.22), rgba(180, 83, 9, 0.10));
    border-color: rgba(252, 211, 77, 0.35);
}

.ch-badge-circle-emerald {
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.10));
    border-color: rgba(52, 211, 153, 0.35);
}

.ch-badge-circle-violet {
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.22), rgba(91, 33, 182, 0.10));
    border-color: rgba(167, 139, 250, 0.35);
}

.ch-badge-circle-rose {
    background: linear-gradient(to bottom, rgba(244, 63, 94, 0.22), rgba(159, 18, 57, 0.10));
    border-color: rgba(251, 113, 133, 0.35);
}

.ch-badge-icon {
    font-size: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

@media (min-width: 1024px) {
    .ch-badge-icon {
        font-size: 1.25rem;
    }
}

.ch-badge-title {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .ch-badge-title {
        font-size: 0.875rem;
    }
}

.ch-badge-subtitle {
    color: rgba(191, 219, 254, 0.5);
    font-size: 10px;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .ch-badge-subtitle {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .ch-badge-circle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .ch-badge-icon {
        font-size: 1.22rem;
    }

    .ch-badge-title {
        font-size: 0.95rem;
        line-height: 1.12;
    }

    .ch-badge-subtitle {
        font-size: 0.78rem;
        line-height: 1.15;
    }
}
