/* =====================================================================
   BannerTracker — Landing Page CSS (Variant Safe V2)
   Dark navy/teal hero + Constellation, helle Paper-Sektionen, Mint-Akzent
   ===================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
    /* Dark surfaces */
    --bt-bg-top:        #0c1922;
    --bt-bg-mid:        #102736;
    --bt-bg-btm:        #0a1a26;
    --bt-bg-deepest:    #08121a;

    --bt-card:          rgba(14, 32, 46, 0.72);
    --bt-card-border:   rgba(111, 207, 151, 0.18);
    --bt-card-hi:       rgba(20, 42, 58, 0.88);

    /* Mint accent */
    --bt-mint:          #8de0a8;
    --bt-mint-soft:     #6fcf97;
    --bt-mint-deep:     #4fa578;
    --bt-mint-faint:    rgba(141, 224, 168, 0.14);
    --bt-mint-ink:      #2d8458; /* darker, reads on cream */

    /* Text on dark */
    --bt-text:          #e8f1ec;
    --bt-text-2:        #b8c8c0;
    --bt-text-3:        #7a8a84;

    /* Lines */
    --bt-line:          rgba(255, 255, 255, 0.08);
    --bt-line-strong:   rgba(141, 224, 168, 0.25);

    /* Light surfaces */
    --bt-paper:         #f3efe5;
    --bt-paper-alt:     #e8e2d4;
    --bt-paper-mint-1:  #e8f3ec;
    --bt-paper-mint-2:  #dceee2;
    --bt-paper-mint-3:  #f0f7f2;
    --bt-paper-mint-4:  #e4efe7;

    --bt-ink:           #0c1922;
    --bt-ink-2:         #3a4a52;
    --bt-ink-3:         #6e7a7e;
    --bt-line-paper:    rgba(12, 25, 34, 0.12);

    /* Gradients */
    --bt-grad-mint:     linear-gradient(135deg, #a8e6b3 0%, #6fcf97 55%, #4fa578 100%);
    --bt-grad-mint-dark: linear-gradient(135deg, #2d8458 0%, #1f6b46 100%);
    --bt-page-bg:       radial-gradient(ellipse at 30% 20%, #143247 0%, #0c1922 55%, #08121a 100%);

    /* Fonts */
    --bt-font-display:  "Orbitron", "Oxanium", "Jura", "Rajdhani", sans-serif;
    --bt-font-body:     "Inter", system-ui, -apple-system, sans-serif;
    --bt-font-mono:     "JetBrains Mono", ui-monospace, Menlo, monospace;

    /* Layout */
    --bt-pad-x:         56px;
    --bt-section-y:     120px;
    --bt-nav-h:         72px;

    /* Shadows */
    --bt-shadow-card:   0 1px 3px rgba(12,25,34,0.04), 0 4px 16px rgba(12,25,34,0.04);
    --bt-shadow-cta:    0 8px 24px rgba(111, 207, 151, 0.25);
    --bt-shadow-float:  0 12px 40px rgba(0,0,0,0.25);

    /* Aliasse (Kompatibilitaet mit Modal-Code) */
    --bt-display:        var(--bt-font-display);
    --bt-body:           var(--bt-font-body);
    --bt-mono:           var(--bt-font-mono);
    --bt-mint-gradient:  var(--bt-grad-mint);
}

/* ---------- BASE ---------- */
body {
    background: var(--bt-page-bg);
    color: var(--bt-text);
    font-family: var(--bt-font-body);
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

.gradient-text,
.bt-mint-text {
    background: var(--bt-grad-mint);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 40px rgba(141, 224, 168, 0.25);
}

.bt-mint-text-dark {
    background: var(--bt-grad-mint-dark);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.bt-mono {
    font-family: var(--bt-font-mono);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--bt-text-3);
}
.bt-mono-mint   { color: var(--bt-mint); }
.bt-mono-ink    { color: var(--bt-mint-ink); }
.bt-mono-ink-3  { color: var(--bt-ink-3); }

/* ---------- CONSTELLATION BG ---------- */
.bt-particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: block;
}
.bt-constellation {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .bt-particle-canvas { display: none; }
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px var(--bt-pad-x);
    display: flex;
    align-items: center;
    background: rgba(8, 18, 26, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--bt-line);
    transition: background 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
    background: rgba(8, 18, 26, 0.92);
    border-bottom-color: rgba(141, 224, 168, 0.12);
}
.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 36px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    gap: 32px;
    margin-left: 56px;
    font-family: var(--bt-font-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.nav-links a {
    color: var(--bt-text-2);
    text-decoration: none;
    transition: color 0.18s ease;
    position: relative;
}
.nav-links a:hover,
.nav-links a:focus {
    color: var(--bt-mint);
}
.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}
.btn-login {
    background: var(--bt-grad-mint);
    color: #0a1a26;
    border: none;
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--bt-font-display);
    border-radius: 4px;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.18s ease, filter 0.2s ease;
}
.btn-login:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

/* Hamburger - Style angelehnt an more10.one (filigran, hover + active) */
.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    z-index: 101;
}
.hamburger div {
    width: 100%;
    height: 1px;
    border-radius: 2px;
    background: var(--bt-mint);
    transition: transform 0.4s ease, opacity 0.3s ease, background 0.3s ease;
}
.hamburger.active div {
    background: var(--bt-mint);
}
.hamburger.active div:nth-child(1),
.hamburger:hover div:nth-child(1) {
    transform: rotate(42deg) translate(7px, 7px);
}
.hamburger.active div:nth-child(2),
.hamburger:hover div:nth-child(2) {
    opacity: 0;
}
.hamburger.active div:nth-child(3),
.hamburger:hover div:nth-child(3) {
    transform: rotate(-40deg) translate(4px, -4px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--bt-nav-h);
    left: 0;
    right: 0;
    background: rgba(8, 18, 26, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bt-line);
    padding: 24px var(--bt-pad-x);
    flex-direction: column;
    gap: 18px;
    z-index: 99;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
}
.mobile-menu.active {
    transform: translateY(0);
    display: flex;
}
.mobile-menu a {
    color: var(--bt-text);
    text-decoration: none;
    font-family: var(--bt-font-display);
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.btn-mobile-login {
    background: var(--bt-grad-mint);
    color: #0a1a26;
    border: none;
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--bt-font-display);
    border-radius: 4px;
    cursor: pointer;
    margin-top: 12px;
}

/* ---------- BUTTONS ---------- */
body.landing .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: var(--bt-font-display);
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
body.landing .btn-large {
    padding: 16px 36px;
    font-size: 14px;
}
body.landing .btn-primary {
    background: var(--bt-grad-mint);
    color: #0a1a26;
    box-shadow: none;
    border: none;
}
body.landing .btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
    background: var(--bt-grad-mint);
    border: none;
}
body.landing .btn-secondary {
    background: transparent;
    color: var(--bt-mint);
    border: 1.5px solid var(--bt-mint-soft);
}
body.landing .btn-secondary:hover {
    background: rgba(141, 224, 168, 0.08);
    border-color: var(--bt-mint);
    color: var(--bt-mint);
}

/* ---------- HERO (DARK) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--bt-nav-h) + 100px) var(--bt-pad-x) 140px;
    background: var(--bt-page-bg);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 60%, rgba(141, 224, 168, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 40%, rgba(20, 50, 71, 0.5) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-text {
    max-width: 720px;
}
.hero-eyebrow {
    font-family: var(--bt-font-mono);
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--bt-mint);
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--bt-font-display);
    font-size: clamp(48px, 5.5vw, 80px);
    font-weight: 500;
    letter-spacing: -1.5px;
    line-height: 0.92;
    margin: 0;
    text-transform: uppercase;
}
/* Hero-Titel Animation */
.hero-title-anim {
    display: block;
}

.hero-line {
    display: block;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(28px);
    animation: heroLineIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-line-nowrap {
    white-space: nowrap;
}

.hero-line:nth-child(1) { animation-delay: 0.10s; }
.hero-line:nth-child(2) { animation-delay: 0.26s; }
.hero-line:nth-child(3) { animation-delay: 0.42s; }
.hero-line:nth-child(4) { animation-delay: 0.58s; }

@keyframes heroLineIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   HERO TITLE GLOW - alle Buchstaben funkeln zufaellig
   ========================================================================= */

/* hero-line bleibt der Block (eine Zeile pro Wort)
   Gradient kommt NICHT mehr hier drauf - sonst sieht man den Glow nicht.
   Stattdessen bekommt jeder hg-char den Mint-Gradient als Grundzustand. */
.hero-line-glow {
    /* Wichtig: hier KEIN gradient-text, sonst sind die hg-char transparent */
    color: inherit;
}

/* Vor JS-Hydration: Text zeigt sich normal im Mint-Gradient.
   Greift nur, solange die Zeile noch reinen Text enthaelt (keine hg-char Kinder). */
.hero-line-glow {
    background: var(--bt-grad-mint);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 40px rgba(141, 224, 168, 0.25);
}

/* Sobald JS Buchstaben-Spans eingefuegt hat: Gradient von der Zeile entfernen
   und auf die einzelnen Buchstaben verlagern. */
.hero-line-glow:has(.hg-char) {
    background: none;
    -webkit-text-fill-color: initial;
    color: inherit;
    text-shadow: none;
}

.hero-line-glow .hg-char {
    display: inline-block;
    /* Mint-Gradient als Grundzustand pro Buchstabe */
    background: var(--bt-grad-mint);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Glow-Schatten faerbt sich an (text-shadow ist von der Hintergrund-Faerbung unabhaengig) */
    text-shadow: 0 0 12px rgba(141, 224, 168, 0.15);
    /* JS setzt animation-delay und -duration zufaellig */
    animation: heroCharGlow 6s ease-in-out infinite;
    will-change: filter, text-shadow;
}

/* Leerzeichen-Spans nicht kollabieren lassen */
.hero-line-glow .hg-char {
    white-space: pre;
}

@keyframes heroCharGlow {
    /* Lange Ruhephase: Buchstabe bleibt im normalen Mint-Gradient */
    0%, 70%, 100% {
        filter: brightness(1);
        text-shadow: 0 0 12px rgba(141, 224, 168, 0.15);
    }
    /* Kurzer heller Peak */
    80% {
        filter: brightness(1.7) saturate(1.2);
        text-shadow:
            0 0 10px rgba(200, 245, 214, 0.85),
            0 0 26px rgba(141, 224, 168, 0.55),
            0 0 50px rgba(141, 224, 168, 0.25);
    }
    /* Abklingen */
    88% {
        filter: brightness(1.3) saturate(1.1);
        text-shadow:
            0 0 8px rgba(141, 224, 168, 0.45),
            0 0 18px rgba(141, 224, 168, 0.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-line {
        opacity: 1;
        transform: none;
        animation: none;
    }
    .hero-line-glow .hg-char {
        animation: none;
        text-shadow: 0 0 16px rgba(141, 224, 168, 0.3);
    }
}
.hero-subtitle {
    font-size: 17px;
    color: var(--bt-text-2);
    line-height: 1.65;
    max-width: 572px;
    margin: 36px 0 44px;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}
/* =========================================================================
   HERO LIFECYCLE - 3 Cards: Lager / Event / Zeitplan
   Sanfte Choreografie: aktive Card hebt sich dezent, keine Scale-Spruenge.
   ========================================================================= */
.hero-visual {
    position: relative;
    min-width: 320px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    align-items: stretch;
    overflow: visible;
}

/* Verbindungslinien-Layer */
.lifecycle-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: visible;
}
.lc-line {
    fill: none;
    stroke: rgba(141, 224, 168, 0.22);
    stroke-width: 1.2;
    stroke-dasharray: 3 5;
    stroke-linecap: round;
    opacity: 0;
    transition: opacity 0.8s ease, stroke 0.8s ease;
}
.lc-line.is-active {
    opacity: 1;
    stroke: rgba(141, 224, 168, 0.7);
    stroke-width: 1.6;
    animation: lcLineFlow 2s linear infinite;
}
@keyframes lcLineFlow {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -16; }
}

.lc-dot {
    fill: var(--bt-mint);
    opacity: 0;
}
.lc-dot.is-traveling {
    opacity: 1;
    animation: lcDotTravel 3.4s cubic-bezier(0.5, 0, 0.5, 1) forwards;
}
.lc-dot-3.is-traveling {
    animation-duration: 5s;
}
.lc-dot-1.is-traveling { offset-path: path('M 110 240 Q 200 295, 260 150'); }
.lc-dot-2.is-traveling { offset-path: path('M 320 90 Q 360 30, 400 115'); }
.lc-dot-3.is-traveling { offset-path: path('M 500 220 C 480 360, 120 360, 100 220'); }
@keyframes lcDotTravel {
    0%   { offset-distance: 0%;   opacity: 0; }
    20%  { opacity: 0.9; }
    80%  { opacity: 0.9; }
    100% { offset-distance: 100%; opacity: 0; }
}

/* ===== CARDS ===== */
.floating-card {
    position: relative;
    z-index: 1;
    background: var(--bt-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--bt-card-border);
    border-radius: 14px;
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--bt-shadow-float);
    /* Reveal-Startzustand */
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease,
                transform 0.9s cubic-bezier(0.22, 0.7, 0.3, 1),
                box-shadow 0.9s ease,
                border-color 0.9s ease,
                background 0.9s ease;
    will-change: transform, opacity;
}

/* Stagger-Reveal */
.hero-visual.is-revealed .floating-card {
    opacity: 1;
    transform: translateY(0);
}
.hero-visual.is-revealed .card-1 { transition-delay: 0.15s, 0.15s, 0.15s, 0.15s, 0.15s; }
.hero-visual.is-revealed .card-2 { transition-delay: 0.35s, 0.35s, 0.35s, 0.35s, 0.35s; }
.hero-visual.is-revealed .card-3 { transition-delay: 0.55s, 0.55s, 0.55s, 0.55s, 0.55s; }

/* Sanftes Float - alle Cards, leicht versetzt */
.hero-visual.is-revealed .floating-card {
    animation: lcCardFloat 8s ease-in-out infinite;
    animation-delay: var(--lc-float-delay, 0s);
}
.hero-visual.is-revealed .card-1 { --lc-float-delay: 0s;    }
.hero-visual.is-revealed .card-2 { --lc-float-delay: -2.6s; }
.hero-visual.is-revealed .card-3 { --lc-float-delay: -5.2s; }
@keyframes lcCardFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* Aktive Card - sehr dezent: nur Border-Glow und Pulse, KEIN scale/translate */
.floating-card.is-active {
    border-color: rgba(141, 224, 168, 0.55);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(141, 224, 168, 0.25),
        0 0 28px rgba(141, 224, 168, 0.18);
    background: rgba(16, 38, 54, 0.78);
}

/* ===== CARD TITEL ===== */
.lc-title {
    font-family: var(--bt-font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--bt-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px;
    text-align: center;
    transition: color 0.6s ease;
}
.floating-card.is-active .lc-title {
    color: var(--bt-mint);
}

/* ===== CARD 1: BILDER-CROSSFADE ===== */
.lc-image {
    width: 100%;
    max-width: 110px;
    aspect-ratio: 1;
    margin: 0 auto 12px;
    position: relative;
    background: transparent;
}
.lc-image-cycle {
    overflow: visible;
}
.lc-product {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1.8s ease, transform 2.2s cubic-bezier(0.22, 0.7, 0.3, 1);
    will-change: opacity, transform;
}
.lc-product.is-current {
    opacity: 1;
    transform: scale(1);
}
.lc-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

/* Counter im Lager - zentriert, selbe Optik wie Event-Liste */
.lc-info {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lc-count {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    color: var(--bt-text);
    font-weight: 400;
    text-align: center;
}
.lc-count-num,
.lc-count-name {
    display: none;
}
.lc-count-num.is-current,
.lc-count-name.is-current {
    display: inline-block;
    animation: lcCountFade 1.6s ease both;
}
.lc-count-num {
    font-family: var(--bt-font-display);
    font-weight: 600;
    font-size: 18px;
    min-width: 22px;
    text-align: right;
    color: var(--bt-mint);
    font-variant-numeric: tabular-nums;
}
.lc-count-x {
    color: var(--bt-text-3);
    font-size: 12px;
}
.lc-count-name {
    color: var(--bt-text-2);
    font-size: 13.5px;
}
@keyframes lcCountFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ===== CARD 2: EVENT-LISTE ===== */
.lc-event-list,
.lc-plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lc-event-list li {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    color: var(--bt-text);
}
.lc-event-num {
    font-family: var(--bt-font-display);
    font-weight: 600;
    font-size: 18px;
    min-width: 22px;
    text-align: right;
    color: var(--bt-mint);
    font-variant-numeric: tabular-nums;
}
.lc-event-x {
    color: var(--bt-text-3);
    font-size: 12px;
}
.lc-event-name {
    color: var(--bt-text-2);
    font-size: 13.5px;
}

/* ===== CARD 3: ZEITPLAN ===== */
.lc-plan-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(141, 224, 168, 0.1);
    font-size: 13px;
}
.lc-plan-list li:last-child { border-bottom: none; }
.lc-plan-label {
    font-family: var(--bt-font-mono);
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--bt-text-3);
}
.lc-plan-value {
    font-weight: 600;
    color: var(--bt-text);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.lc-plan-value {
    transition: color 0.5s ease, text-shadow 0.5s ease;
}
.lc-plan-value.is-highlight {
    color: var(--bt-mint);
    text-shadow: 0 0 12px rgba(141, 224, 168, 0.45);
}

/* ===== PULSE-HINTERGRUND (sehr dezent, nur in aktiver Card) ===== */
.lc-pulse {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(ellipse at center top, rgba(141, 224, 168, 0.14), transparent 65%);
    transition: opacity 1.2s ease;
}
.floating-card.is-active .lc-pulse {
    opacity: 1;
    animation: lcPulseBreathe 4s ease-in-out infinite;
}
@keyframes lcPulseBreathe {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual.is-revealed .floating-card,
    .floating-card.is-active .lc-pulse,
    .lc-line.is-active,
    .lc-dot.is-traveling,
    .lc-count-num.is-current,
    .lc-count-name.is-current {
        animation: none !important;
    }
    .floating-card { opacity: 1; transform: none; }
}
/* ---------- DIGITALES RÜCKGRAT (DARK + PAPER CARDS) ---------- */
.backbone {
    position: relative;
    overflow: hidden;
    padding: var(--bt-section-y) var(--bt-pad-x);
    background: var(--bt-page-bg);
}
.backbone-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
}
.backbone-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 64px;
}
.backbone-header h2 {
    font-family: var(--bt-font-display);
    font-size: clamp(40px, 4.4vw, 64px);
    font-weight: 500;
    letter-spacing: -1.5px;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}
.backbone-header p {
    font-size: 17px;
    color: var(--bt-text-2);
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
}
.backbone-header p strong {
    color: var(--bt-text);
    font-weight: 600;
}
.backbone-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 16px;
}

/* Paper Cards on dark BG */
.paper-card {
    background: #fff;
    border: 1px solid var(--bt-line-paper);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--bt-shadow-card);
    color: var(--bt-ink);
}
.paper-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 4px;
}
.paper-card-title {
    font-family: var(--bt-font-mono);
    font-size: 10.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--bt-mint-ink);
    margin-bottom: 6px;
}
.paper-card h3 {
    font-family: var(--bt-font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--bt-ink);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1.05;
}
.paper-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    background: rgba(45, 132, 88, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bt-mint-ink);
    font-size: 18px;
    font-family: var(--bt-font-display);
    flex-shrink: 0;
    margin-left: 12px;
}

/* Grid placements */
.pc-asset    { grid-column: span 7; grid-row: span 2; }
.pc-history  { grid-column: span 5; grid-row: span 2; }
.pc-plan     { grid-column: span 5; }
.pc-partners { grid-column: span 7; }
.pc-notif    { grid-column: span 4; }
.pc-logistics{ grid-column: span 4; }
.pc-approval { grid-column: span 4; }

/* Asset Safe content */
.asset-files {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}
.asset-file {
    background: rgba(12, 25, 34, 0.04);
    border: 1px solid var(--bt-line-paper);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.asset-file-thumb {
    width: 32px;
    height: 40px;
    background: var(--bt-grad-mint-dark);
    border-radius: 3px;
    display: flex;
    align-items: flex-end;
    padding: 4px;
    box-sizing: border-box;
}
.asset-file-ext {
    font-family: var(--bt-font-mono);
    font-size: 8px;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.asset-file-name {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--bt-ink);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.asset-file-size {
    font-family: var(--bt-font-mono);
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--bt-ink-3);
    text-transform: uppercase;
}
.asset-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--bt-line-paper);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--bt-ink-2);
}
.asset-footer strong { color: var(--bt-ink); }
.asset-encrypted {
    font-family: var(--bt-font-mono);
    font-size: 10.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--bt-mint-ink);
}

/* History timeline */
.history-timeline {
    margin-top: 18px;
    position: relative;
    padding-left: 20px;
}
.history-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--bt-line-paper);
}
.history-item {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--bt-line-paper);
}
.history-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.history-item::before {
    content: '';
    position: absolute;
    left: -19px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--bt-ink-2);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--bt-line-paper);
}
.history-item.is-mint::before { background: var(--bt-mint-ink); }
.history-when {
    font-family: var(--bt-font-mono);
    font-size: 9.5px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--bt-ink-3);
}
.history-what {
    font-size: 13.5px;
    color: var(--bt-ink);
    margin-top: 3px;
}
.history-what strong { font-weight: 700; }

/* Planning calendar */
.cal-head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    font-size: 10px;
    font-family: var(--bt-font-mono);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--bt-ink-3);
    margin: 16px 0 8px;
}
.cal-head span { text-align: center; }
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-day {
    aspect-ratio: 1;
    background: rgba(12, 25, 34, 0.03);
    border: 1px solid var(--bt-line-paper);
    border-radius: 4px;
    padding: 4px;
    font-size: 10px;
    color: var(--bt-ink);
    position: relative;
    font-family: var(--bt-font-mono);
    cursor: default;
    transition:
        background 0.45s cubic-bezier(0.25, 0.8, 0.3, 1),
        color 0.35s ease,
        border-color 0.25s ease,
        transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease;
}
.cal-day.is-empty {
    background: transparent;
    border-color: transparent;
    pointer-events: none;
}
.cal-day.is-today {
    border-color: var(--bt-mint-ink);
    box-shadow: inset 0 0 0 1px var(--bt-mint-ink);
    font-weight: 700;
}
.cal-day.cal-anim {
    animation: calDayPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes calDayPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.cal-day.evt-1 { background: rgba(45, 132, 88, 0.15); }
.cal-day.evt-2 { background: rgba(45, 132, 88, 0.4); color: #fff; }
.cal-day.evt-3 { background: var(--bt-grad-mint-dark); color: #fff; }
.cal-day-badge {
    position: absolute;
    bottom: 3px;
    right: 3px;
    font-size: 8px;
    font-family: var(--bt-font-mono);
}
.cal-day.evt-1 .cal-day-badge,
.cal-day.evt-2 .cal-day-badge { color: var(--bt-mint-ink); }
.cal-day.evt-3 .cal-day-badge { color: #fff; }

/* ---------- HOVER für Kalender-Tage ---------- */
.cal-day:not(.is-empty):hover {
    transform: translateY(-2px) scale(1.05);
    border-color: var(--bt-mint-ink);
    box-shadow:
        0 6px 16px rgba(45, 132, 88, 0.22),
        inset 0 0 0 1px rgba(45, 132, 88, 0.35);
    z-index: 3;
}
.cal-day.is-today:hover {
    box-shadow:
        0 6px 18px rgba(45, 132, 88, 0.3),
        inset 0 0 0 2px var(--bt-mint-ink);
}
.cal-day.evt-1:hover { background: rgba(45, 132, 88, 0.28); }
.cal-day.evt-2:hover { background: rgba(45, 132, 88, 0.55); }
.cal-day.evt-3:hover {
    background: var(--bt-grad-mint-dark);
    filter: brightness(1.12) saturate(1.08);
}

/* ---------- TOOLTIP für Kalender-Termine ---------- */
.cal-day[data-tooltip] {
    cursor: help;
}
.cal-day[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--bt-ink);
    color: #fff;
    font-family: var(--bt-font-body);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.1px;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: pre-line;
    min-width: 140px;
    max-width: 220px;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-shadow: 0 8px 24px rgba(12, 25, 34, 0.35);
    z-index: 10;
}
.cal-day[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 6px solid transparent;
    border-top-color: var(--bt-ink);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 10;
}
.cal-day[data-tooltip]:hover::after,
.cal-day[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Tooltip-Ausrichtung für Tage am Rand */
.cal-day[data-tooltip-align="right"]::after {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(4px);
}
.cal-day[data-tooltip-align="right"]:hover::after {
    transform: translateX(0) translateY(0);
}
.cal-day[data-tooltip-align="right"]::before {
    left: auto;
    right: 14px;
    transform: translateX(0) translateY(4px);
}
.cal-day[data-tooltip-align="right"]:hover::before {
    transform: translateX(0) translateY(0);
}
.cal-day[data-tooltip-align="left"]::after {
    left: 0;
    right: auto;
    transform: translateX(0) translateY(4px);
}
.cal-day[data-tooltip-align="left"]:hover::after {
    transform: translateX(0) translateY(0);
}
.cal-day[data-tooltip-align="left"]::before {
    left: 14px;
    right: auto;
    transform: translateX(0) translateY(4px);
}
.cal-day[data-tooltip-align="left"]:hover::before {
    transform: translateX(0) translateY(0);
}

/* Monatslabel im Card-Header */
.cal-month-label {
    font-family: var(--bt-font-mono);
    font-size: 10.5px;
    letter-spacing: 1.2px;
    color: var(--bt-ink-3);
    text-transform: uppercase;
    margin-left: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .cal-day { transition: none; }
    .cal-day.cal-anim { animation: none; }
}
.plan-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--bt-line-paper);
    font-size: 12.5px;
    color: var(--bt-ink-2);
}
.plan-footer strong { color: var(--bt-ink); }

/* Partners list - 2 Karten pro Reihe */
.partner-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}
.partner-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--bt-line-paper);
    border-radius: 10px;
    background: rgba(12, 25, 34, 0.02);
    align-items: start;
}
.partner-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}
.partner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--bt-grad-mint-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--bt-font-display);
    flex-shrink: 0;
}
.partner-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--bt-ink);
}
.partner-mats {
    font-size: 13px;
    color: var(--bt-ink-2);
}
.partner-contract {
    font-family: var(--bt-font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bt-ink-3);
}
.partner-expires {
    font-size: 12px;
    color: var(--bt-ink-2);
    display: flex;
    align-items: center;
    gap: 6px;
}
.partner-row.is-warn .partner-expires {
    color: #c2410c;
    font-weight: 600;
}
.partner-row.is-warn .partner-expires::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #c2410c;
    display: inline-block;
}

/* Notifications */
.notif-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.notif-item {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(12, 25, 34, 0.03);
    border-left: 3px solid var(--bt-mint-ink);
    border-radius: 4px;
}
.notif-item.is-warn  { border-left-color: #f59e0b; }
.notif-item.is-error { border-left-color: #c2410c; }
.notif-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--bt-ink);
}
.notif-desc {
    font-size: 11.5px;
    color: var(--bt-ink-2);
    margin-top: 2px;
}

/* Logistics */
.lg-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lg-row-head {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--bt-ink);
    margin-bottom: 6px;
}
.lg-row-head strong { font-weight: 700; }
.lg-row-q {
    font-family: var(--bt-font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bt-ink-2);
}
.lg-bar {
    height: 6px;
    background: rgba(12, 25, 34, 0.06);
    border-radius: 3px;
    overflow: hidden;
}
.lg-bar-fill {
    height: 100%;
    background: var(--bt-grad-mint-dark);
    border-radius: 3px;
}
.lg-foot {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--bt-line-paper);
    font-family: var(--bt-font-mono);
    font-size: 10.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--bt-mint-ink);
}

/* Approvals */
.appr-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.appr-item {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bt-line-paper);
}
.appr-item:last-child { border-bottom: none; }
.appr-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}
.appr-who {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--bt-ink);
}
.appr-status {
    font-family: var(--bt-font-mono);
    font-size: 9px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.appr-status.is-ok    { color: var(--bt-mint-ink); }
.appr-status.is-open  { color: #c2410c; }
.appr-what {
    font-size: 12px;
    color: var(--bt-ink-2);
}
.appr-what em { font-style: italic; }

/* ---------- FEATURES (LIGHT MINT) ---------- */
.features {
    background: linear-gradient(180deg, var(--bt-paper-mint-1) 0%, var(--bt-paper-mint-2) 100%);
    color: var(--bt-ink);
    padding: var(--bt-section-y) var(--bt-pad-x);
}
.features .container {
    max-width: 1440px;
    margin: 0 auto;
}
.features-header {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 64px;
    margin-bottom: 56px;
    align-items: end;
}
.features-header h2,
.section-title-dark {
    font-family: var(--bt-font-display);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 500;
    letter-spacing: -1.2px;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    color: var(--bt-ink);
}
.features-header p {
    font-size: 16px;
    color: var(--bt-ink-2);
    line-height: 1.65;
    max-width: 540px;
    align-self: flex-end;
    margin: 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--bt-line-paper);
    border-radius: 16px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    /* Reveal-Startzustand */
    opacity: 0;
    transform: translateY(24px);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
                opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}
.features-grid.is-in .feature-card {
    opacity: 1;
    transform: translateY(0);
}
.features-grid.is-in .feature-card:nth-child(1) { transition-delay: 0.05s; }
.features-grid.is-in .feature-card:nth-child(2) { transition-delay: 0.15s; }
.features-grid.is-in .feature-card:nth-child(3) { transition-delay: 0.25s; }
.features-grid.is-in .feature-card:nth-child(4) { transition-delay: 0.35s; }
.features-grid.is-in .feature-card:nth-child(5) { transition-delay: 0.45s; }
.features-grid.is-in .feature-card:nth-child(6) { transition-delay: 0.55s; }

/* Mint-Akzentstreifen links, wischt beim Hover rein */
.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--bt-grad-mint-dark);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    border-radius: 16px 0 0 16px;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(45, 132, 88, 0.12), 0 2px 8px rgba(12, 25, 34, 0.04);
    border-color: rgba(45, 132, 88, 0.25);
}
.feature-card:hover::before {
    transform: scaleY(1);
}
.feature-card.f-big   { grid-column: span 5; }
.feature-card.f-med   { grid-column: span 4; }
.feature-card.f-small { grid-column: span 3; }
.feature-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}
.feature-card-n,
.feature-card-tag {
    font-family: var(--bt-font-mono);
    font-size: 10.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}
.feature-card-n   { color: var(--bt-mint-ink); }
.feature-card-tag { color: var(--bt-ink-3); }
.feature-card:hover .feature-card-n {
    text-shadow: 0 0 12px rgba(45, 132, 88, 0.45);
}
.feature-card:hover .feature-card-tag {
    transform: translateX(4px);
    color: var(--bt-mint-ink);
}
.feature-card h3 {
    font-family: var(--bt-font-display);
    font-size: 19px;
    font-weight: 500;
    color: var(--bt-ink);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.05;
    transition: color 0.3s ease;
}
.feature-card:hover h3 {
    color: var(--bt-mint-ink);
}
.feature-card.f-big h3 { font-size: 28px; }
.feature-card p {
    font-size: 13.5px;
    color: var(--bt-ink-2);
    line-height: 1.6;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .feature-card { opacity: 1; transform: none; transition: none; }
    .feature-card::before { transition: none; }
}

/* ---------- HOW IT WORKS (DARK) ---------- */
.how-it-works {
    position: relative;
    overflow: hidden;
    padding: var(--bt-section-y) var(--bt-pad-x);
    background: var(--bt-page-bg);
}
.how-it-works .container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
}
.section-title {
    font-family: var(--bt-font-display);
    font-size: clamp(40px, 4.5vw, 56px);
    font-weight: 500;
    color: var(--bt-text);
    margin: 0;
    text-transform: uppercase;
    text-align: center;
}
.section-subtitle {
    text-align: center;
    color: var(--bt-text-2);
    font-size: 16px;
    margin: 18px auto 56px;
    max-width: 560px;
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 16px;
    position: relative;
}

/* Verbindungslinie zwischen den Schritten - desktop */
.steps::before {
    content: '';
    position: absolute;
    top: 36px; /* halbe Hoehe von .step-number */
    left: calc(100% / 6); /* Mitte der ersten Spalte */
    right: calc(100% / 6);
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(141, 224, 168, 0.0) 5%,
        rgba(141, 224, 168, 0.4) 50%,
        rgba(141, 224, 168, 0.0) 95%,
        transparent 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}
.steps.is-in-view::before {
    transform: scaleX(1);
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.steps.is-in-view .step { opacity: 1; transform: translateY(0); }
.steps.is-in-view .step:nth-child(1) { transition-delay: 0.05s; }
.steps.is-in-view .step:nth-child(2) { transition-delay: 0.30s; }
.steps.is-in-view .step:nth-child(3) { transition-delay: 0.55s; }

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 36px;
    background: var(--bt-grad-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bt-font-display);
    font-size: 28px;
    font-weight: 700;
    color: #0a1a26;
    margin: 0 auto 28px;
    box-shadow: 0 8px 24px rgba(111, 207, 151, 0.25);
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    will-change: transform, box-shadow;
}

/* Pulsierender Ring um die Step-Number */
.step-number::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(141, 224, 168, 0.35);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}
.steps.is-in-view .step-number::before {
    animation: stepRingPulse 3.6s ease-in-out infinite;
}
.steps.is-in-view .step:nth-child(1) .step-number::before { animation-delay: 0.0s; }
.steps.is-in-view .step:nth-child(2) .step-number::before { animation-delay: 1.2s; }
.steps.is-in-view .step:nth-child(3) .step-number::before { animation-delay: 2.4s; }

@keyframes stepRingPulse {
    0%   { opacity: 0;   transform: scale(0.92); }
    35%  { opacity: 0.7; transform: scale(1.0);  }
    70%  { opacity: 0;   transform: scale(1.18); }
    100% { opacity: 0;   transform: scale(1.18); }
}

/* Subtiles Atmen der Step-Number */
.steps.is-in-view .step-number {
    animation: stepBreathe 5s ease-in-out infinite;
}
.steps.is-in-view .step:nth-child(2) .step-number { animation-delay: 0.7s; }
.steps.is-in-view .step:nth-child(3) .step-number { animation-delay: 1.4s; }

@keyframes stepBreathe {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(111, 207, 151, 0.25);
    }
    50% {
        box-shadow: 0 8px 32px rgba(111, 207, 151, 0.45), 0 0 0 2px rgba(141, 224, 168, 0.08);
    }
}

.step:hover .step-number {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 32px rgba(111, 207, 151, 0.45);
}

.step-content h3 {
    font-family: var(--bt-font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--bt-text);
    margin: 0 0 12px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.step:hover .step-content h3 {
    color: var(--bt-mint);
}
.step-content p {
    font-size: 14.5px;
    color: var(--bt-text-2);
    line-height: 1.65;
    max-width: 320px;
    margin: 0 auto;
}
.step-connector { display: none; }

@media (prefers-reduced-motion: reduce) {
    .steps::before { transform: scaleX(1); transition: none; }
    .step { opacity: 1; transform: none; transition: none; }
    .steps.is-in-view .step-number,
    .steps.is-in-view .step-number::before { animation: none; }
}

/* ---------- PRICING (LIGHT MINT) ---------- */
.pricing {
    background: linear-gradient(180deg, var(--bt-paper-mint-3) 0%, var(--bt-paper-mint-4) 100%);
    color: var(--bt-ink);
    padding: var(--bt-section-y) var(--bt-pad-x);
}
.pricing .container {
    max-width: 1440px;
    margin: 0 auto;
}
.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 32px;
}
.pricing-header h2 {
    font-family: var(--bt-font-display);
    font-size: clamp(38px, 4.2vw, 56px);
    font-weight: 500;
    letter-spacing: -1.2px;
    margin: 0;
    text-transform: uppercase;
}
/* ---------- PRICING TOGGLES ---------- */
.pricing-toggles {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0 0 36px;
    flex-wrap: wrap;
}
.pricing-toggle {
    display: inline-flex;
    align-items: center;
    background: rgba(12, 25, 34, 0.06);
    border: 1px solid var(--bt-line-paper);
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
}
.pricing-toggle .pt-opt {
    appearance: none;
    background: transparent;
    border: none;
    color: var(--bt-ink-2);
    font-family: var(--bt-font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 9px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}
.pricing-toggle .pt-opt:hover {
    color: var(--bt-ink);
}
.pricing-toggle .pt-opt.is-active {
    background: var(--bt-grad-mint-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(45, 132, 88, 0.25);
}
.pricing-toggle .pt-mwst,
.pricing-toggle .pt-save {
    font-family: var(--bt-font-mono);
    font-size: 9.5px;
    letter-spacing: 0.6px;
    text-transform: none;
    opacity: 0.85;
    font-weight: 500;
}
.pricing-toggle .pt-mwst {
    padding: 0 10px 0 6px;
    white-space: nowrap;
    color: var(--bt-ink-2);
}
.pricing-toggle .pt-opt:not(.is-active) .pt-save {
    color: var(--bt-mint-ink);
}

/* Sub-Zeile unter dem Preis (Jahres-Summe / Hinweis) */
.price-sub {
    font-family: var(--bt-font-mono);
    font-size: 10.5px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--bt-ink-3);
    margin-top: 6px;
    min-height: 16px;
}
.pricing-card.is-featured .price-sub {
    color: var(--bt-mint-ink);
}

/* price-sub-row: Desktop inline mit Trenner, Mobile separate Zeilen (siehe Mobile-Media) */
.price-sub .price-sub-row {
    display: inline;
}
.price-sub .price-sub-row + .price-sub-row::before {
    content: ' \00B7  ';
}

/* Smoothes Re-Layout beim Umschalten */
.price-amount,
.js-price-period,
.js-price-sub,
.js-modal-price,
.js-modal-info {
    transition: color 0.18s ease;
}

/* Mobile: Toggles untereinander */
@media (max-width: 600px) {
    .pricing-toggles {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .pricing-toggle {
        justify-content: center;
    }
    .pricing-toggle .pt-opt {
        flex: 1;
        justify-content: center;
        padding: 10px 14px;
        font-size: 11.5px;
    }
}
/* Pricing-Cards: Liste statt Grid, jede Card 2-spaltig */
.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 2px solid var(--bt-mint-ink);
}
.pricing-card {
    padding: 36px 40px;
    border-right: none;
    border-bottom: 1px solid var(--bt-line-paper);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "head     features"
        "price    features"
        "sub      features"
        "button   features";
    column-gap: 56px;
    row-gap: 14px;
    align-items: start;
    min-height: unset;
    position: relative;
    background: transparent;
    /* Reveal-Startzustand */
    opacity: 0;
    transform: translateY(22px);
    transition: background 0.25s ease,
                opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pricing-grid.is-in .pricing-card {
    opacity: 1;
    transform: translateY(0);
}
.pricing-grid.is-in .pricing-card:nth-child(1) { transition-delay: 0.08s; }
.pricing-grid.is-in .pricing-card:nth-child(2) { transition-delay: 0.24s; }
.pricing-grid.is-in .pricing-card:nth-child(3) { transition-delay: 0.40s; }

/* Hover-Treatment fuer nicht-featured Karten */
.pricing-card[data-plan="essential"]:hover {
    background: rgba(45, 132, 88, 0.09);
}
.pricing-card[data-plan="professional"]:hover {
    background: rgba(45, 132, 88, 0.20);
}
.pricing-card[data-plan="business"]:hover {
    background: rgba(45, 132, 88, 0.12);
}
.pricing-card:not(.is-featured):hover .pricing-name,
.pricing-card:not(.is-featured):hover .pricing-idx {
    color: var(--bt-mint-ink);
}
.pricing-name,
.pricing-idx {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.pricing-card:hover .pricing-idx {
    text-shadow: 0 0 12px rgba(45, 132, 88, 0.35);
}
.pricing-card:last-child { border-bottom: none; }
.pricing-card[data-plan="business"] {
    background: rgba(45, 132, 88, 0.07);
}
/* Featured-Akzentlinie oben (3px) - jetzt mit subtilem atmenden Glow */
.pricing-card.is-featured::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bt-grad-mint-dark);
    box-shadow: 0 0 12px rgba(45, 132, 88, 0.4);
    animation: pricingFeaturedBreathe 4.5s ease-in-out infinite;
}
.pricing-card[data-plan="professional"] {
    background: rgba(45, 132, 88, 0.15);
}
@keyframes pricingFeaturedBreathe {
    0%, 100% { box-shadow: 0 0 8px rgba(45, 132, 88, 0.3); }
    50%      { box-shadow: 0 0 20px rgba(45, 132, 88, 0.6), 0 0 36px rgba(141, 224, 168, 0.15); }
}
/* Preis-Wechsel-Animation: bei JS-Klasse .is-flipping kurze Pop-Anim */
.price-amount.is-flipping {
    animation: pricingPriceFlip 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes pricingPriceFlip {
    0%   { transform: translateY(0)     scale(1);     opacity: 1; }
    35%  { transform: translateY(-6px)  scale(0.92);  opacity: 0.4; }
    65%  { transform: translateY(4px)   scale(0.96);  opacity: 0.8; }
    100% { transform: translateY(0)     scale(1);     opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-card { opacity: 1; transform: none; transition: none; }
    .pricing-card.is-featured::before { animation: none; }
    .price-amount.is-flipping { animation: none; }
}
.pricing-card-head {
    grid-area: head;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
}
.pricing-name {
    font-family: var(--bt-font-display);
    font-size: 28px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    color: var(--bt-ink);
}
.pricing-desc {
    font-size: 12.5px;
    color: var(--bt-ink-3);
    margin: 44px 0 0;
}
.pricing-idx {
    font-family: var(--bt-font-display);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--bt-ink-3);
}
.pricing-card.is-featured .pricing-idx { color: var(--bt-mint-ink); }
.pricing-price {
    grid-area: price;
    margin-bottom: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0;
}
.price-amount {
    font-family: var(--bt-font-display);
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -1.5px;
    line-height: 1;
    background: var(--bt-grad-mint-dark);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.price-currency {
    font-family: var(--bt-font-display);
    font-size: 28px;
    color: var(--bt-mint-ink);
    margin-left: 4px;
}
.price-period {
    font-size: 13px;
    color: var(--bt-ink-3);
    margin-left: 8px;
}
.price-sub {
    grid-area: sub;
    margin-top: 0;
}
.pricing-features {
    grid-area: features;
    list-style: none;
    padding: 14px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: none;
    align-self: start;
}
.pricing-features li {
    font-size: 13.5px;
    color: var(--bt-ink-2);
    display: flex;
    gap: 10px;
    line-height: 1.4;
}
.pricing-features li::before {
    content: '—';
    font-family: var(--bt-font-mono);
    color: var(--bt-mint-ink);
    font-weight: 700;
    flex-shrink: 0;
}
.pricing-btn {
    grid-area: button;
    margin-top: 0;
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--bt-font-display);
    border-radius: 4px;
    background: transparent;
    color: var(--bt-ink);
    border: 1.5px solid var(--bt-ink);
    transition: background 0.18s ease, color 0.18s ease;
    justify-self: start;
    width: 100%;
    max-width: 280px;
}
.pricing-btn:hover {
    background: var(--bt-ink);
    color: #fff;
}
.pricing-card.is-featured .pricing-btn {
    background: var(--bt-grad-mint-dark);
    color: #fff;
    border: none;
}
.pricing-card.is-featured .pricing-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(45, 132, 88, 0.3);
}
.pricing-note {
    text-align: center;
    margin-top: 32px;
    font-size: 13px;
    color: var(--bt-ink-3);
}

/* ---------- BENEFITS (DARK) ---------- */
.benefits {
    position: relative;
    overflow: hidden;
    padding: var(--bt-section-y) var(--bt-pad-x);
    background: var(--bt-page-bg);
}
.benefits .container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
}
.benefits-content {
    display: block;
    /* Lesefreundliche Zeilenlänge - Text läuft nicht über die volle Sektion-Breite */
    max-width: 920px;
}
.benefits-text h2 {
    font-family: var(--bt-font-display);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 500;
    color: var(--bt-text);
    margin: 0 0 36px;
    text-transform: uppercase;
}
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.benefits-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.check-icon {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: var(--bt-grad-mint);
    color: #0a1a26;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.benefits-list strong {
    display: block;
    font-family: var(--bt-font-display);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bt-text);
    margin-bottom: 4px;
}
.benefits-list p {
    margin: 0;
    font-size: 14.5px;
    color: var(--bt-text-2);
    line-height: 1.6;
}
.benefits-visual {
    background: var(--bt-card);
    border: 1px solid var(--bt-card-border);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.benefits-illustration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.illustration-item {
    text-align: center;
    padding: 24px 12px;
    border-radius: 12px;
    background: rgba(141, 224, 168, 0.05);
    border: 1px solid rgba(141, 224, 168, 0.12);
    position: relative;
    overflow: hidden;
    /* Reveal-Startzustand */
    opacity: 0;
    transform: translateY(18px);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
                opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}
.illustration-item.is-in {
    opacity: 1;
    transform: translateY(0);
}
.benefits-illustration.is-in .illustration-item:nth-child(1) { transition-delay: 0.05s; }
.benefits-illustration.is-in .illustration-item:nth-child(2) { transition-delay: 0.18s; }
.benefits-illustration.is-in .illustration-item:nth-child(3) { transition-delay: 0.31s; }
.benefits-illustration.is-in .illustration-item:nth-child(4) { transition-delay: 0.44s; }

.illustration-item:hover {
    background: rgba(141, 224, 168, 0.09);
    border-color: rgba(141, 224, 168, 0.28);
    box-shadow: 0 10px 30px rgba(141, 224, 168, 0.1);
    transform: translateY(-3px);
}

/* Subtiler Lichteinfall über die Card beim Hover */
.illustration-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, rgba(141, 224, 168, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.illustration-item:hover::after { opacity: 1; }

.illustration-icon {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: rgba(141, 224, 168, 0.1);
    color: var(--bt-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}
.illustration-item:hover .illustration-icon {
    background: rgba(141, 224, 168, 0.18);
    transform: scale(1.06);
}

/* ---- bi-articles: Icon hebt sich beim Hover leicht (lift) ---- */
.illustration-item.bi-articles:hover .illustration-icon svg {
    animation: biArticleLift 0.6s ease;
}
@keyframes biArticleLift {
    0%   { transform: translateY(0) rotate(0deg); }
    40%  { transform: translateY(-3px) rotate(-3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ---- bi-partners: drei überlappende Personen ---- */
.illustration-icon.bi-people {
    background: rgba(141, 224, 168, 0.1);
    overflow: visible;
}
.bi-person {
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--bt-mint);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}
.bi-person-back {
    transform: translate(-50%, -50%) translateX(-14px) translateY(2px) scale(0.85);
    opacity: 0.55;
}
.bi-person-back.bi-person-right {
    transform: translate(-50%, -50%) translateX(14px) translateY(2px) scale(0.85);
}
.bi-person-front {
    transform: translate(-50%, -50%);
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

/* Reveal-Stagger der Partner-Personen, sobald Section in View */
.benefits-illustration.is-in .bi-person-back        { animation: biPersonInLeft  0.7s cubic-bezier(0.34, 1.4, 0.64, 1) 0.4s backwards; }
.benefits-illustration.is-in .bi-person-back.bi-person-right { animation: biPersonInRight 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) 0.55s backwards; }
.benefits-illustration.is-in .bi-person-front       { animation: biPersonInCenter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s backwards; }

@keyframes biPersonInLeft {
    from { opacity: 0; transform: translate(-50%, -50%) translateX(-30px) translateY(2px) scale(0.6); }
    to   { opacity: 0.55; transform: translate(-50%, -50%) translateX(-14px) translateY(2px) scale(0.85); }
}
@keyframes biPersonInRight {
    from { opacity: 0; transform: translate(-50%, -50%) translateX(30px) translateY(2px) scale(0.6); }
    to   { opacity: 0.55; transform: translate(-50%, -50%) translateX(14px) translateY(2px) scale(0.85); }
}
@keyframes biPersonInCenter {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
    to   { opacity: 1;  transform: translate(-50%, -50%) scale(1); }
}

/* Hover: Personen fächern sich leicht auf */
.illustration-item.bi-partners:hover .bi-person-back {
    transform: translate(-50%, -50%) translateX(-18px) translateY(2px) scale(0.85);
    opacity: 0.75;
}
.illustration-item.bi-partners:hover .bi-person-back.bi-person-right {
    transform: translate(-50%, -50%) translateX(18px) translateY(2px) scale(0.85);
    opacity: 0.75;
}
.illustration-item.bi-partners:hover .bi-person-front {
    transform: translate(-50%, -50%) translateY(-2px) scale(1.05);
}

/* ---- bi-events: kurzer Pulse-Effekt beim Hover ---- */
.illustration-item.bi-events:hover .illustration-icon svg {
    animation: biEventsPulse 0.7s ease;
}
@keyframes biEventsPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}

/* ---- bi-storage: subtiles Glow im "Fenster" beim Hover ---- */
.illustration-item.bi-storage .illustration-icon {
    position: relative;
}
.illustration-item.bi-storage .illustration-icon::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: var(--bt-mint);
    top: 50%;
    left: 50%;
    transform: translate(-50%, 4px);
    opacity: 0;
    transition: opacity 0.4s ease, box-shadow 0.4s ease;
    pointer-events: none;
}
.illustration-item.bi-storage:hover .illustration-icon::before {
    opacity: 0.9;
    box-shadow: 0 0 8px rgba(141, 224, 168, 0.8), 0 0 16px rgba(141, 224, 168, 0.4);
}

.illustration-item span {
    font-family: var(--bt-font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--bt-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bi-num {
    display: inline-block;
    min-width: 1.2em;
    font-variant-numeric: tabular-nums;
    background: var(--bt-grad-mint);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .illustration-item { opacity: 1; transform: none; transition: none; }
    .benefits-illustration.is-in .bi-person-back,
    .benefits-illustration.is-in .bi-person-back.bi-person-right,
    .benefits-illustration.is-in .bi-person-front { animation: none; }
    .illustration-item.bi-articles:hover .illustration-icon svg,
    .illustration-item.bi-events:hover .illustration-icon svg { animation: none; }
}

/* ---------- CTA (DARK) ---------- */
.cta {
    position: relative;
    overflow: hidden;
    padding: var(--bt-section-y) var(--bt-pad-x);
    background: var(--bt-page-bg);
}
.cta .container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.cta-text-eyebrow {
    font-family: var(--bt-font-mono);
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--bt-mint);
    margin-bottom: 14px;
}
.cta h2 {
    font-family: var(--bt-font-display);
    font-size: clamp(38px, 4.2vw, 56px);
    font-weight: 500;
    margin: 0;
    line-height: 1.05;
    text-transform: uppercase;
}
.cta p {
    font-size: 16px;
    color: var(--bt-text-2);
    margin: 22px 0 32px;
    max-width: 440px;
}
.cta-stats {
    background: var(--bt-card);
    border: 1px solid var(--bt-card-border);
    border-radius: 16px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.cta-stat .stat-number {
    font-family: var(--bt-font-display);
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -1.5px;
    line-height: 0.9;
    background: var(--bt-grad-mint);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.cta-stat .stat-label {
    font-family: var(--bt-font-mono);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--bt-text-3);
    margin-top: 10px;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bt-bg-deepest);
    padding: 56px var(--bt-pad-x) 16px;
    color: var(--bt-text-2);
    font-size: 13px;
}
.footer .container {
    max-width: 1440px;
    margin: 0 auto;
}
.footer-brand {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--bt-line);
}
.footer-brand .footer-logo {
    height: 32px;
    width: auto;
    display: block;
    margin-bottom: 14px;
}
.footer-brand p {
    color: var(--bt-text-3);
    line-height: 1.6;
    max-width: 480px;
    margin: 0;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--bt-line);
}
.footer-column h4 {
    font-family: var(--bt-font-mono);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--bt-mint);
    margin: 0 0 14px;
    font-weight: 600;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-column li {
    color: var(--bt-text-2);
    line-height: 1.5;
}
.footer-column a {
    color: var(--bt-text-2);
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: color 0.18s ease;
}
.footer-column a:hover,
.footer-column a:focus,
.footer-column a:visited {
    color: var(--bt-mint);
    text-decoration: none !important;
}
/* Kontakt-Spalte: keinerlei Dekoration, auch nicht auf hover */
.footer-column-contact a {
    color: var(--bt-text-2);
    text-decoration: none !important;
    border: none;
    cursor: pointer;
}
.footer-column-contact a:hover,
.footer-column-contact a:focus,
.footer-column-contact a:visited {
    color: var(--bt-mint);
    text-decoration: none !important;
}
.footer-bottom {
    padding-top: 24px;
    font-size: 12px;
    color: var(--bt-text-3);
}
.footer-bottom p { margin: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    :root { --bt-pad-x: 40px; }
    .features-header,
    .backbone-header,
    .benefits-content,
    .cta .container,
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-header h2 br { display: none; }

    /* Benefits-Visual auf schmalen Viewports ausblenden (wirkt leer ohne Stat-Live-Daten) */
    .benefits-visual { display: none; }

    /* CTA: alles mittig wenn 1-spaltig */
    .cta .container > div:first-child {
        text-align: center;
    }
    .cta .container > div:first-child p {
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
    .cta-stats {
        text-align: center;
    }
    .pricing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Backbone grid: collapse to 2 columns */
    .pc-asset    { grid-column: span 12; grid-row: auto; }
    .pc-history  { grid-column: span 12; grid-row: auto; }
    .pc-plan     { grid-column: span 6; }
    .pc-partners { grid-column: span 12; }
    .pc-notif    { grid-column: span 6; }
    .pc-logistics{ grid-column: span 6; }
    .pc-approval { grid-column: span 12; }

    .feature-card.f-big,
    .feature-card.f-med,
    .feature-card.f-small { grid-column: span 6; }
}

/* Sweet-Spot Tablet: 2 lockere Spalten */
@media (max-width: 900px) and (min-width: 601px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .feature-card,
    .feature-card.f-big,
    .feature-card.f-med,
    .feature-card.f-small {
        grid-column: span 1;
    }
    .feature-card.f-big h3 { font-size: 22px; }
}

@media (max-width: 900px) {
    :root {
        --bt-pad-x: 28px;
        --bt-section-y: 80px;
    }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .navbar { padding: 14px var(--bt-pad-x); }

    .hero {
        padding: calc(var(--bt-nav-h) + 60px) var(--bt-pad-x) 60px;
        min-height: 100vh;
        min-height: 100svh;
        display: flex;
        align-items: stretch;
    }
    .hero-title {
        font-size: clamp(40px, 6vw, 64px);
    }
    .hero-content {
        width: 100%;
        align-content: space-between;
    }
    .hero-visual {
        margin-top: 56px;
        gap: 10px;
    }
    .floating-card {
        padding: 14px 10px 12px;
    }
    .lc-title { font-size: 17px; margin-bottom: 10px; }
    .lc-image { max-width: 84px; margin-bottom: 8px; }
    .lc-count { font-size: 12.5px; }
    .lc-event-list li { font-size: 12px; }
    .lc-event-num { font-size: 16px; min-width: 18px; }
    .lc-plan-list li { font-size: 11.5px; padding: 4px 0; }
    .lc-plan-label { font-size: 9px; letter-spacing: 1px; }
    .lc-plan-value { font-size: 11.5px; }

    /* Backbone Mobile Bento: 2-Spalten Grid mit Hero-Reihen */
    .backbone-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 12px;
    }
    .pc-asset     { grid-column: span 2; grid-row: auto; }
    .pc-history   { grid-column: span 2; grid-row: auto; }
    .pc-plan      { grid-column: span 2; grid-row: auto; }
    .pc-partners  { grid-column: span 2; grid-row: auto; }
    .pc-notif     { grid-column: span 1; grid-row: auto; }
    .pc-logistics { grid-column: span 1; grid-row: auto; }
    .pc-approval  { grid-column: span 2; grid-row: auto; }

    /* Kompakteres Card-Padding und Innenleben auf Mobile */
    .paper-card {
        padding: 18px 16px;
        border-radius: 10px;
    }
    .paper-card h3 { font-size: 16px; line-height: 1.1; }
    .paper-card-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-left: 8px;
    }
    .paper-card-title { font-size: 9.5px; letter-spacing: 1.1px; }

    /* Asset Safe: 2 Spalten Files auf Mobile (Card ist voll breit) */
    .asset-files { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .asset-file { padding: 10px; gap: 6px; }
    .asset-footer { font-size: 11.5px; gap: 8px; }

    /* History timeline kompakter */
    .history-timeline { padding-left: 16px; margin-top: 12px; }
    .history-item { padding-bottom: 10px; margin-bottom: 10px; }
    .history-when { font-size: 9px; letter-spacing: 0.6px; }
    .history-what { font-size: 12px; }

    /* Kalender: voll breit - groessere Werte fuer Lesbarkeit */
    .cal-head { font-size: 11px; letter-spacing: 1.2px; gap: 4px; }
    .cal-grid { gap: 4px; }
    .cal-day { font-size: 13px; padding: 6px; border-radius: 5px; }
    .cal-day-badge { font-size: 9px; bottom: 4px; right: 4px; }
    .plan-footer { font-size: 12.5px; margin-top: 14px; padding-top: 12px; }

    /* Partner-Liste: 1 Spalte auf Mobile (Card ist voll breit) */
    .partner-list { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
    .partner-row { padding: 12px 14px; }

    /* Notifications kompakter */
    .notif-list { margin-top: 10px; gap: 8px; }
    .notif-item { padding: 8px 10px; gap: 8px; }
    .notif-title { font-size: 11.5px; }
    .notif-desc { font-size: 10.5px; }

    /* Lager Bars kompakter */
    .lg-list { margin-top: 10px; gap: 10px; }
    .lg-row-head { font-size: 11.5px; margin-bottom: 4px; }
    .lg-row-q { font-size: 9px; }
    .lg-bar { height: 5px; }
    .lg-foot { font-size: 9.5px; letter-spacing: 1px; margin-top: 12px; padding-top: 8px; }

    /* Approvals kompakter */
    .appr-list { margin-top: 10px; gap: 8px; }
    .appr-item { padding-bottom: 8px; }
    .appr-who { font-size: 11.5px; }
    .appr-status { font-size: 8.5px; }
    .appr-what { font-size: 11px; }
    .partner-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .partner-list {
        grid-template-columns: 1fr;
    }

    /* Module: Bento auf Mobile - 1 / 2x2 / 1 */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        grid-auto-rows: auto;
    }
    .feature-card.f-big   { grid-column: span 2; }
    .feature-card.f-med   { grid-column: span 1; }
    .feature-card.f-small { grid-column: span 1; }
    /* Letzte Card volle Breite, damit 5 mittlere aufgehen */
    .feature-card:last-child { grid-column: span 2; }

    /* Kompaktere Cards auf Mobile */
    .feature-card {
        padding: 18px 18px;
        border-radius: 12px;
    }
    .feature-card-meta { margin-bottom: 10px; }
    .feature-card h3 { font-size: 15px; margin-bottom: 6px; }
    .feature-card.f-big h3 { font-size: 22px; }
    .feature-card p { font-size: 12.5px; line-height: 1.5; }
    .feature-card-n,
    .feature-card-tag { font-size: 9.5px; letter-spacing: 1.2px; }

    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    /* Horizontale Linie auf Mobile ausblenden - Steps untereinander */
    .steps::before { display: none; }

    .pricing-grid {
        flex-direction: column;
    }
    .pricing-card {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "head      price"
            "head      sub"
            "features  button";
        column-gap: 20px;
        row-gap: 14px;
        padding: 32px 24px;
        border-right: none;
        border-bottom: 1px solid var(--bt-line-paper);
        align-items: start;
    }
    .pricing-card:last-child { border-bottom: none; }
    .pricing-card .pricing-price {
        justify-content: flex-end;
        text-align: right;
    }
    .pricing-card .price-sub {
        text-align: right;
        line-height: 1.6;
    }
    /* Sub-Zeile auf Mobile in mehrere Zeilen umbrechen */
    .price-sub-row {
        display: block;
    }
    .pricing-card .pricing-btn {
        justify-self: end;
        align-self: end;
        max-width: max-content;
        padding: 14px 32px;
    }

    .footer-columns {
        gap: 32px;
    }

    .cta-stats {
        padding: 32px;
    }

    .benefits-illustration { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 56px; line-height: 0.92; letter-spacing: -1.5px; }
    .hero-subtitle { font-size: 18px; margin: 32px 0 40px; }
    .hero-buttons .btn { width: 100%; }
    .hero-visual {
        margin-top: 40px;
        gap: 6px;
    }
    .floating-card {
        padding: 12px 6px 10px;
        border-radius: 12px;
    }
    .lc-title { font-size: 14px; letter-spacing: 0.5px; margin-bottom: 8px; }
    .lc-image { max-width: 64px; margin-bottom: 6px; }
    .lc-count { font-size: 11px; gap: 2px; }
    .lc-event-list { gap: 5px; }
    .lc-event-list li { font-size: 10.5px; gap: 3px; }
    .lc-event-num { font-size: 13px; min-width: 14px; }
    .lc-event-name { font-size: 10.5px; }
    .lc-plan-list { gap: 4px; }
    .lc-plan-list li { font-size: 10px; padding: 3px 0; grid-template-columns: 1fr auto; }
    .lc-plan-label { font-size: 8px; letter-spacing: 0.7px; }
    .lc-plan-value { font-size: 10px; }
    .asset-files { grid-template-columns: 1fr; }
    .cta-stats { grid-template-columns: 1fr; }
    .benefits-illustration { grid-template-columns: 1fr; }
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}


/* =========================================================================
   MODAL STYLES (uebernommen aus pre-redesign, 2026-05-21)
   ========================================================================= */
/* =========================================================================
   14. LOGIN / REGISTER MODAL
   ========================================================================= */
.login-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-modal.active {
    display: flex;
}

.login-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 10, 16, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.login-modal-content {
    position: relative;
    background:
        linear-gradient(180deg, rgba(24, 56, 64, 0.9) 0%, rgba(29, 52, 72, 0.9) 100%);
    border: 1px solid var(--bt-card-border);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    overflow: hidden;
}

/* Aurora-Glow am unteren Modal-Rand */
.login-modal-content::before {
    content: '';
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -40%;
    height: 70%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(79, 183, 160, 0.29) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 60%, rgba(187, 226, 121, 0.18) 0%, transparent 55%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
    animation: loginAuroraDrift 14s ease-in-out infinite alternate;
}

/* Inhalt muss ueber dem Aurora-Layer liegen */
.login-modal-content > * {
    position: relative;
    z-index: 1;
}

@keyframes loginAuroraDrift {
    0%   { transform: translateX(-6%) translateY(0)    scale(1);    opacity: 0.85; }
    50%  { transform: translateX(4%)  translateY(-3%)  scale(1.05); opacity: 1; }
    100% { transform: translateX(6%)  translateY(2%)   scale(1.02); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
    .login-modal-content::before { animation: none; }
}

.register-modal-content {
    max-width: 640px;
}

.login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bt-line);
    color: var(--bt-text-2);
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.login-modal-close:hover {
    background: var(--bt-mint-faint);
    color: var(--bt-mint);
}

.login-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo {
    height: 36px;
    width: auto;
    margin: 0 auto 16px;
}

.login-modal-header h2 {
    font-family: var(--bt-display);
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--bt-text);
    margin: 0 0 8px;
}

.login-welcome,
.login-modal-header p {
    font-size: 14px;
    color: var(--bt-text-2);
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.login-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-form-group label {
    font-family: var(--bt-mono);
    font-size: 11.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--bt-text-3);
}

.login-form-group input[type="text"],
.login-form-group input[type="email"],
.login-form-group input[type="tel"],
.login-form-group input[type="password"] {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--bt-line);
    border-radius: 6px;
    padding: 12px 14px;
    font-family: var(--bt-body);
    font-size: 14px;
    color: var(--bt-text);
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
}

.login-form-group input::placeholder {
    color: var(--bt-text-3);
}

.login-form-group input:focus {
    outline: none;
    border-color: var(--bt-mint-soft);
    background: rgba(0, 0, 0, 0.35);
}

.form-hint-small {
    font-size: 11px;
    color: var(--bt-text-3);
    margin-top: 2px;
}

/* PW-Toggle */
.pw-wrap {
    position: relative;
}

.pw-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--bt-text-3);
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.pw-toggle:hover {
    color: var(--bt-mint);
}

.pw-icon-hide {
    display: none;
}

.pw-toggle[aria-pressed="true"] .pw-icon-show {
    display: none;
}

.pw-toggle[aria-pressed="true"] .pw-icon-hide {
    display: block;
}

.pw-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: none;
    align-items: center;
    background: var(--pw-overlay-bg, rgba(0, 0, 0, 0.25));
    border: 1px solid var(--bt-line);
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

.pw-overlay.active {
    display: flex;
}

.pw-char {
    display: inline-block;
    transition: transform 0.18s ease, color 0.18s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.pw-char.flip {
    transform: rotateY(90deg);
}

.login-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--bt-text-2);
}

.register-options {
    justify-content: flex-start;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.login-remember input[type="checkbox"] {
    accent-color: var(--bt-mint-soft);
    width: 16px;
    height: 16px;
}

.login-remember a {
    color: var(--bt-mint);
    text-decoration: underline;
}

.login-forgot {
    color: var(--bt-mint);
    font-size: 13px;
}

.login-forgot:hover {
    text-decoration: underline;
}

.login-error {
    display: none;
    background: rgba(194, 65, 12, 0.15);
    border: 1px solid rgba(194, 65, 12, 0.4);
    color: #fda077;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
}

.login-error.show {
    display: block;
}

.login-submit {
    background: var(--bt-mint-gradient);
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    color: #0a1a26;
    border: 1.5px solid transparent;
    padding: 14px 24px;
    font-family: var(--bt-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: none;
    margin-top: 8px;
    transition: transform 0.15s ease, filter 0.2s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

.login-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.biometric-btn {
    background: transparent;
    color: var(--bt-mint);
    border: 1.5px solid var(--bt-mint-soft);
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.biometric-btn:hover {
    background: var(--bt-mint-faint);
    box-shadow: none;
    transform: translateY(-1px);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--bt-text-3);
    font-size: 12px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--bt-line);
}

.login-register {
    text-align: center;
    font-size: 13px;
    color: var(--bt-text-2);
}

.login-register p {
    margin: 0 0 4px;
}

.login-register-link {
    color: var(--bt-mint);
    font-weight: 600;
    text-decoration: none;
}

.login-register-link:hover {
    text-decoration: underline;
}

/* Plan-Auswahl im Register-Modal */
.modal-plan-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.modal-plan-card {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border: 1.5px solid var(--bt-line);
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-plan-card:hover {
    border-color: var(--bt-mint-soft);
    background: rgba(141, 224, 168, 0.05);
}

.modal-plan-card.selected {
    border-color: var(--bt-mint);
    background: rgba(141, 224, 168, 0.08);
    box-shadow: 0 0 0 1px var(--bt-mint);
}

.modal-plan-name {
    font-family: var(--bt-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--bt-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.modal-plan-price {
    font-family: var(--bt-display);
    font-size: 20px;
    font-weight: 500;
    background: var(--bt-mint-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.modal-plan-info {
    font-size: 10px;
    color: var(--bt-text-3);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-plan-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bt-mint-gradient);
    color: #0a1a26;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-plan-card.selected .modal-plan-check {
    display: flex;
}

.register-submit {
    margin-top: 16px;
}



/* Hero ohne Visual: einspaltig (3-Card-Lifecycle entfernt 2026-05-31) */
.hero-content:not(:has(.hero-visual)) {
    grid-template-columns: 1fr;
}


/* =========================================================================
   RESET: Landing-Page ueberschreibt base.css (App-Layout)
   base.css setzt body { height:100vh; overflow:hidden } fuer Dashboard -
   das muss fuer die Landing rueckgaengig gemacht werden.
   ========================================================================= */
html.landing,
body.landing {
    height: auto !important;
    overflow: visible !important;
    overflow-x: hidden !important;
}
