/* ============================================================
   STYLE.CSS — Levoma Webdesign
   Mobile-First · Custom Properties · GSAP-ready
   Phase 3 — Full rebuild
   ============================================================ */


/* --- Custom Properties -------------------------------------- */
:root {
    --color-bg:          #0A0A0A;
    --color-bg-white:    #111111;
    --color-bg-light:    #0F0F0F;
    --color-bg-dark:     #050505;

    --color-text:        #F0F0F0;
    --color-text-muted:  rgba(240,240,240,0.42);
    --color-text-light:  #FFFFFF;
    --color-text-dim:    rgba(240,240,240,0.38);

    --color-accent:      #0066FF;
    --color-border:      rgba(255,255,255,0.1);
    --color-border-dark: rgba(0,0,0,0.1);

    --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --nav-height: 68px;
    --max-width:  1160px;
    --max-reading: 680px;
    --max-medium:  840px;

    --space-2xs: 0.35rem;
    --space-xs:  0.625rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;
    --space-3xl: 9rem;

    --radius-sm:   4px;
    --radius-md:   10px;
    --radius-lg:   18px;
    --radius-full: 9999px;

    --ease:     cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}


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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
fieldset { border: none; }

*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}


/* --- Scroll Animations -------------------------------------- */
.js-enabled .animate-me {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.js-enabled .animate-me.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.js-enabled .step:nth-child(2).animate-me        { transition-delay: 0.1s; }
.js-enabled .step:nth-child(3).animate-me        { transition-delay: 0.2s; }
.js-enabled .pricing-card:nth-child(2).animate-me { transition-delay: 0.1s; }
.js-enabled .pricing-card:nth-child(3).animate-me { transition-delay: 0.2s; }
.js-enabled .branchen__card:nth-child(2).animate-me { transition-delay: 0.07s; }
.js-enabled .branchen__card:nth-child(3).animate-me { transition-delay: 0.14s; }
.js-enabled .branchen__card:nth-child(4).animate-me { transition-delay: 0.21s; }
.js-enabled .timeline__step:nth-child(2).animate-me { transition-delay: 0.08s; }
.js-enabled .timeline__step:nth-child(3).animate-me { transition-delay: 0.16s; }
.js-enabled .timeline__step:nth-child(4).animate-me { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .js-enabled .animate-me {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* --- Typography --------------------------------------------- */
.section-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.section-headline {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.desktop-br { display: none; }


/* --- Buttons ------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 14px 28px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: background 0.18s var(--ease), color 0.18s var(--ease),
                border-color 0.18s var(--ease), transform 0.18s var(--ease);
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
    background: #F0F0F0;
    color: #0A0A0A;
    border-color: #F0F0F0;
}
.btn--primary:hover {
    background: transparent;
    color: #F0F0F0;
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(255,255,255,0.25);
}
.btn--outline:hover {
    border-color: var(--color-text);
    background: var(--color-text);
    color: #0A0A0A;
}

/* btn--white: dark button on light featured card */
.btn--white {
    background: #111111;
    color: #F0F0F0;
    border-color: #111111;
}
.btn--white:hover {
    background: transparent;
    color: #111111;
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(255,255,255,0.25);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.5);
}

.btn--text {
    background: transparent;
    color: var(--color-text-muted);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
}
.btn--text:hover { color: var(--color-text); }

.btn--full { width: 100%; }


/* --- Layout ------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--space-md);
}

.container--reading { max-width: var(--max-reading); }
.container--medium  { max-width: var(--max-medium);  }
.container--narrow  { max-width: 600px; }

.section-header { margin-bottom: var(--space-xl); }
.section-header--centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 100;
    height: var(--nav-height);
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--color-border);
}

.nav__inner {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.nav__logo {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.nav__links {
    display: none;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.15s var(--ease);
}
.nav__link:hover { color: var(--color-text); }

.nav__cta {
    padding: 9px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--color-text);
    color: var(--color-bg-white);
    border-radius: var(--radius-sm);
    transition: opacity 0.15s var(--ease);
}
.nav__cta:hover { opacity: 0.75; }

/* Hamburger */
.nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 12px;
}
.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.22s var(--ease);
}
.nav__toggle.active span:first-child { transform: translateY(5px) rotate(45deg); }
.nav__toggle.active span:last-child  { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
    display: none;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--color-border);
}
.nav__mobile.open { display: flex; }

.nav__mobile-link {
    padding: 15px var(--space-md);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    transition: color 0.15s;
}
.nav__mobile-link:hover { color: var(--color-text); }

.nav__mobile-cta {
    margin: var(--space-sm) var(--space-md);
    padding: 14px;
    text-align: center;
    background: var(--color-text);
    color: var(--color-bg-white);
    border-radius: var(--radius-sm);
    border: none;
}
.nav__mobile-cta:hover { opacity: 0.8; color: var(--color-bg-white); }


/* ============================================================
   SECTION 1: HERO — Two-column grid
   ============================================================ */
.hero {
    padding-block: calc(var(--nav-height) + var(--space-xl)) var(--space-2xl);
    padding-inline: 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Subtle dot grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 80%);
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero__copy { max-width: 620px; }

.hero__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.hero__headline {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.0;
    margin-bottom: var(--space-lg);
}

.hero__subline {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px var(--space-sm);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    list-style: none;
}

.hero__trust li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero__trust li::before {
    content: '✓';
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

/* Device preview column */
.hero__preview {
    display: flex;
    justify-content: center;
}

.device-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.device-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}


/* ============================================================
   CSS BROWSER MOCKUP (shared — hero + demo-proof)
   ============================================================ */
.browser-mockup,
.large-browser {
    background: #1A1A1A;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 14px;
    background: #242424;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.browser-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28C840; }

.browser-url {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.35);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Mock elements inside browser */
.mock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-logo {
    width: 80px;
    height: 10px;
    background: rgba(255,255,255,0.18);
    border-radius: 3px;
}

.mock-links {
    display: flex;
    gap: 8px;
}

.mock-link {
    width: 36px;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.mock-link--btn {
    width: 52px;
    height: 22px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}

.mock-hero-area {
    padding: 14px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-hero-area--lg {
    padding: 20px 0 16px;
    gap: 10px;
}

.mock-eyebrow {
    width: 100px;
    height: 7px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.mock-headline {
    width: 75%;
    height: 14px;
    background: rgba(255,255,255,0.22);
    border-radius: 3px;
}

.mock-headline--sm {
    width: 52%;
    height: 10px;
    background: rgba(255,255,255,0.14);
}

.mock-cta-btn {
    margin-top: 6px;
    width: 100px;
    height: 28px;
    background: rgba(255,255,255,0.16);
    border-radius: 4px;
}

.mock-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 4px;
}

.mock-feature-card {
    height: 52px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
}


/* ============================================================
   SECTION 2: DEMO-PROOF
   ============================================================ */
.demo-proof {
    padding-block: var(--space-3xl);
    background: var(--color-bg-white);
}

.demo-proof__header {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: var(--space-2xl);
}

.demo-proof__subline {
    margin-top: var(--space-sm);
    font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Industry tab bar */
.industry-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.industry-tab {
    padding: 10px 20px;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.15s var(--ease), color 0.15s var(--ease),
                border-color 0.15s var(--ease);
}

.industry-tab:hover {
    color: var(--color-text);
    border-color: rgba(255,255,255,0.35);
}

.industry-tab.active,
.industry-tab[aria-selected="true"] {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

/* Industry panels */
.industry-panels {
    max-width: 960px;
    margin-inline: auto;
}

.industry-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.industry-panel__label {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    padding-top: var(--space-sm);
}

/* Large browser (bigger version for demo-proof) */
.large-browser {
    box-shadow: 0 32px 100px rgba(0,0,0,0.7);
}

.large-browser .browser-content {
    padding: 20px;
    gap: 16px;
}


/* ============================================================
   SECTION 3: WARUM (white contrast section)
   ============================================================ */
.warum {
    background: #FFFFFF;
    color: #111111;
    padding-block: var(--space-3xl);
}

.warum .section-label { color: rgba(17,17,17,0.35); }

.warum__headline {
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.06;
    color: #111111;
    margin-bottom: var(--space-2xl);
}

.warum__blocks {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.warum__block {
    padding-block: var(--space-md);
    border-top: 1px solid rgba(17,17,17,0.1);
}

.warum__block:last-child {
    border-bottom: 1px solid rgba(17,17,17,0.1);
}

.warum__block p {
    font-size: clamp(1.0625rem, 1.8vw, 1.2rem);
    color: rgba(17,17,17,0.58);
    line-height: 1.85;
}

.warum__highlight {
    font-size: clamp(1.375rem, 3vw, 2rem);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.015em;
    line-height: 1.3;
    padding-top: var(--space-xl);
}


/* ============================================================
   SECTION 4: BRANCHEN
   ============================================================ */
.branchen {
    padding-block: var(--space-3xl);
    background: var(--color-bg-light);
}

.branchen__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.branchen__card {
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.branchen__card:hover {
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.branchen__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-xs);
}

.branchen__card-text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.branchen__intro {
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* 5th catch-all card */
.branchen__card--open {
    border-style: dashed;
    border-color: rgba(255,255,255,0.18);
}

.branchen__card--open:hover {
    border-color: rgba(255,255,255,0.45);
}

.branchen__card-link {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color 0.15s var(--ease);
}

.branchen__card-link:hover {
    color: var(--color-text);
}


/* ============================================================
   SECTION 5: ANGEBOT
   ============================================================ */
.angebot {
    padding-block: var(--space-3xl);
    background: var(--color-bg-white);
}

.angebot__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.angebot__subtext {
    margin-top: var(--space-md);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* Arrow list */
.arrow-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.arrow-list li {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    padding-block: var(--space-md);
    border-top: 1px solid var(--color-border);
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    line-height: 1.5;
}

.arrow-list li::before {
    content: '→';
    flex-shrink: 0;
    font-size: 1em;
    color: var(--color-text-muted);
    transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.arrow-list li:hover::before {
    transform: translateX(4px);
    color: var(--color-accent);
}

.arrow-list li:last-child {
    border-bottom: 1px solid var(--color-border);
}


/* ============================================================
   SECTION 6: PROZESS (Demo-first narrative)
   ============================================================ */
.prozess {
    padding-block: var(--space-3xl);
    background: var(--color-bg-light);
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: var(--space-2xl);
}

.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--space-md);
    padding-block: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.step:last-child {
    border-bottom: 1px solid var(--color-border);
}

.step__num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    padding-top: 6px;
}

.step__title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.step__text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.step__meta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    opacity: 0.5;
}

/* Risk Reversal Banner — most important block */
.risk-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    padding: var(--space-xl) var(--space-2xl);
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-lg);
    background: var(--color-bg-white);
    margin-top: var(--space-2xl);
}

.risk-banner__line {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: var(--color-text-muted);
}

.risk-banner__statement {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--color-text);
}


/* ============================================================
   SECTION 7: VERGLEICH (Comparison table)
   ============================================================ */
.vergleich {
    padding-block: var(--space-3xl);
    background: var(--color-bg);
}

/* Comparison table */
.vt {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
}

.vt__head,
.vt__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}

.vt__head {
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
}

.vt__row {
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s var(--ease);
}

.vt__row:last-child { border-bottom: none; }
.vt__row:hover { background: rgba(255,255,255,0.02); }

.vt__cell {
    padding: 16px 18px;
    font-size: 0.875rem;
    line-height: 1.5;
    border-right: 1px solid var(--color-border);
    display: flex;
    align-items: center;
}

.vt__cell:last-child { border-right: none; }

.vt__head .vt__cell {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.vt__cell--label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Our column highlight */
.vt__cell--us {
    background: rgba(240,240,240,0.04);
}

.vt__head .vt__cell--us {
    font-weight: 700;
    color: var(--color-text);
    font-size: 0.875rem;
}

/* Value states */
.vt__val--bad  { color: rgba(255,255,255,0.28); }
.vt__val--ok   { color: rgba(255,255,255,0.5);  }
.vt__val--good { color: var(--color-text); font-weight: 600; }

.vt__sub {
    display: block;
    font-size: 0.6875rem;
    font-weight: 400;
    opacity: 0.6;
    margin-top: 2px;
}

.vergleich__highlight {
    text-align: center;
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.4;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-inline: auto;
}


/* ============================================================
   SECTION 8: PREISE
   ============================================================ */
.preise {
    padding-block: var(--space-3xl);
    background: var(--color-bg-white);
}

.preise__subline {
    font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
    color: var(--color-text-muted);
    line-height: 1.8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-block: var(--space-2xl) var(--space-xl);
    align-items: start;
}

.pricing-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
                transform 0.2s var(--ease);
}

.pricing-card:hover {
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.pricing-card--featured {
    background: #F2F2F2;
    color: #111111;
    border-color: #F2F2F2;
}
.pricing-card--featured:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    transform: translateY(-3px);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    white-space: nowrap;
}

.pricing-card__use {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}
.pricing-card--featured .pricing-card__use { color: rgba(17,17,17,0.38); }

.pricing-card__name {
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: var(--space-xs);
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pricing-card__amount {
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.pricing-card__suffix {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    font-weight: 500;
}
.pricing-card--featured .pricing-card__suffix { color: rgba(17,17,17,0.45); }

.pricing-card__setup {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}
.pricing-card--featured .pricing-card__setup { color: rgba(17,17,17,0.38); }

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pricing-card__features li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: baseline;
    gap: 10px;
    line-height: 1.5;
}
.pricing-card--featured .pricing-card__features li { color: rgba(17,17,17,0.65); }

.pricing-card__features li::before {
    content: '→';
    flex-shrink: 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}
.pricing-card--featured .pricing-card__features li::before { color: var(--color-accent); }

/* Ownership / Exit trust block */
.ownership-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.ownership-block__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.ownership-block__icon {
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-top: 3px;
    line-height: 1;
}

.ownership-block__title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.ownership-block__text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.pricing-trust {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}


/* ============================================================
   SECTION 9: FAQ ACCORDION
   ============================================================ */
.faq-section {
    padding-block: var(--space-3xl);
    background: var(--color-bg-light);
}

.faq-list {
    border-top: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-block: var(--space-lg);
    font-family: var(--font);
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.15s var(--ease);
}

.faq-question:hover { color: var(--color-text-muted); }

.faq-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
    color: var(--color-text-muted);
    transition: transform 0.3s var(--ease), color 0.15s var(--ease);
    width: 20px;
    text-align: center;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--color-text);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.38s var(--ease-out);
}

.faq-item.open .faq-answer {
    max-height: 600px;
}

.faq-answer-inner {
    padding-bottom: var(--space-lg);
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    max-width: 640px;
}


/* ============================================================
   SECTION 10: FOUNDER
   ============================================================ */
.founder {
    padding-block: var(--space-3xl);
    background: var(--color-bg-white);
}

.founder__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    align-items: flex-start;
}

.founder__avatar {
    flex-shrink: 0;
}

.founder__avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.founder__avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.founder__quote {
    font-size: clamp(1.125rem, 2.5vw, 1.625rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: var(--color-text);
    font-style: normal;
    quotes: none;
    margin-bottom: var(--space-md);
}

.founder__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}


/* ============================================================
   SECTION 11: MINI-TIMELINE
   ============================================================ */
.naechste-schritte {
    padding-block: var(--space-3xl);
    background: var(--color-bg-light);
}

.timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    list-style: none;
}

.timeline__step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.timeline__num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.timeline__text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
    padding-top: 6px;
}


/* ============================================================
   SECTION 12: KONTAKT / MULTI-STEP FORM
   ============================================================ */
.kontakt {
    padding-block: var(--space-3xl);
    background: var(--color-bg);
}

.kontakt__subline {
    font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 500px;
    text-align: center;
}

/* "Was passiert als Nächstes" mini-list near form */
.form-next-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: var(--space-md);
    list-style: none;
}

.form-next-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.form-next-steps li span {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

/* Progress indicator */
.form-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.form-progress__steps {
    display: flex;
    align-items: center;
    gap: 0;
}

.form-progress__step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-muted);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.form-progress__step--active {
    border-color: var(--color-text);
    background: var(--color-text);
    color: var(--color-bg);
}

.form-progress__line {
    width: 48px;
    height: 2px;
    background: var(--color-border);
}

.form-progress__label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.form-step {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-top: var(--space-sm);
}

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

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.form-required { color: var(--color-accent); margin-left: 2px; }
.form-optional  { color: var(--color-text-muted); font-weight: 400; font-size: 0.8rem; margin-left: 4px; }

.form-input {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.5;
}

.form-input::placeholder { color: rgba(240,240,240,0.25); }

.form-input:focus {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}

.form-input.invalid {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 110px;
    line-height: 1.65;
}

/* Select */
.form-select-wrapper {
    position: relative;
}

.form-select {
    cursor: pointer;
    padding-right: 44px;
    color: var(--color-text);
}

.form-select option {
    background: var(--color-bg-white);
    color: var(--color-text);
}

.form-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: transform 0.2s var(--ease);
}

.form-select:focus + .form-select-arrow { color: var(--color-text); }

/* Radio buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.radio-group--inline {
    gap: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9375rem;
    line-height: 1.4;
    -webkit-user-select: none;
    user-select: none;
}

.radio-option input[type="radio"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.15s var(--ease);
    position: relative;
}

.radio-option input[type="radio"]::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--color-text);
    opacity: 0;
    transition: opacity 0.15s var(--ease);
}

.radio-option input[type="radio"]:checked {
    border-color: var(--color-text);
}

.radio-option input[type="radio"]:checked::after { opacity: 1; }
.radio-option:hover input[type="radio"] { border-color: var(--color-text); }

/* Error + success */
.form-error {
    font-size: 0.8rem;
    color: #DC2626;
    min-height: 16px;
    line-height: 1.3;
}

.form-success {
    padding: var(--space-md) var(--space-lg);
    background: rgba(22,163,74,0.08);
    border: 1px solid rgba(22,163,74,0.3);
    border-radius: var(--radius-md);
    text-align: center;
    color: #4ade80;
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-notice {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-top: var(--space-sm);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-dim);
    padding-block: var(--space-xl);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
    text-align: center;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    align-items: center;
}

.footer__name {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.footer__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px var(--space-xs);
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
}

.footer__contact a:hover { color: rgba(255,255,255,0.6); }

.footer__legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.footer__copy {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
}

.footer__links {
    display: flex;
    gap: var(--space-md);
}

.footer__link {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    transition: color 0.15s var(--ease);
}
.footer__link:hover { color: rgba(255,255,255,0.75); }


/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 12px var(--space-md);
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--color-border);
    gap: 10px;
}

/* JS reveals it — but only render on small screens */

.mobile-cta .btn {
    flex: 1;
    padding: 13px 16px;
    font-size: 0.9rem;
}


/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (min-width: 480px) {
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) {
    .hero__actions {
        flex-direction: row;
        align-items: center;
    }

    .branchen__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-next-steps {
        flex-direction: row;
        gap: var(--space-lg);
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .nav__links  { display: flex; }
    .nav__toggle { display: none; }

    .desktop-br { display: block; }

    /* Hero: two-column */
    .hero {
        min-height: 100svh;
        display: flex;
        align-items: center;
    }

    .hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }

    .hero__copy { max-width: 100%; }

    /* Branchen: 3-column, catch-all spans 2 cols */
    .branchen__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .branchen__card--open:nth-child(5) {
        grid-column: span 2;
    }

    /* Angebot: two-column */
    .angebot__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
        align-items: start;
    }

    /* Pricing: three-column */
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }

    /* Ownership block: three-column */
    .ownership-block { grid-template-columns: repeat(3, 1fr); }

    .pricing-card--featured {
        transform: scale(1.025);
    }
    .pricing-card--featured:hover {
        transform: scale(1.025) translateY(-3px);
    }

    /* Founder: row layout */
    .founder__inner {
        flex-direction: row;
        gap: var(--space-2xl);
        align-items: flex-start;
    }

    /* Timeline: 4 columns */
    .timeline {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Risk banner horizontal */
    .risk-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-xl);
    }
}

@media (min-width: 1024px) {
    .container { padding-inline: var(--space-xl); }

    .step {
        grid-template-columns: 80px 1fr;
    }

    .hero__headline {
        font-size: clamp(3rem, 5.5vw, 5.5rem);
    }
}

/* Mobile-only: show sticky CTA */
@media (max-width: 767px) {
    /* Show sticky CTA on mobile only */
    .mobile-cta.visible {
        display: flex;
    }

    /* vt comparison table: scroll on small screens */
    .vt {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .vt__head,
    .vt__row {
        min-width: 560px;
    }
}
