/* =====================================================================
   VORALIS REBUILD — Android-first, state-of-the-art
   ===================================================================== */

:root {
  /* Core palette */
  --ink: #0a0a0a;
  --ink-soft: #525252;
  --ink-mute: #737373;
  --line: #e5e5e5;
  --line-soft: #f4f4f5;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-dark: #0a0a0a;
  --cream: #faf6ed;

  /* Brand accents per sub-product */
  --brand: #0a0a0a;
  --brand-soft: #404040;
  --schule: #f97316;      /* warm orange — child-friendly, energetic */
  --schule-soft: #fed7aa;
  --karriere: #0891b2;    /* deep teal — professional, trustworthy */
  --karriere-soft: #cffafe;
  --business: #7c3aed;    /* violet — premium, AI/tech */
  --business-soft: #ede9fe;
  --start: #16a34a;       /* green — beginning, growth */
  --start-soft: #dcfce7;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 10px 30px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.16);
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);

  /* Touch — Material 2026 standard, exceeds WCAG 2.5.5 */
  --tap-min: 48px;
  --tap-comfort: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px; /* never under 16 — prevents iOS auto-zoom, Android-readable */
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, picture, video, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* =====================================================================
   TOUCH-TARGET BASELINE (Android-first)
   ===================================================================== */

a:not(.bare), button, [role="button"], input[type="submit"], input[type="button"], .btn {
  min-height: var(--tap-min);
  min-width: var(--tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
}

@media (pointer: coarse) {
  a:not(.bare), button, [role="button"], .btn {
    min-height: var(--tap-comfort);
    min-width: var(--tap-comfort);
  }
}

/* Ripple effect for tactile feedback on tap */
.btn, button, [role="button"] { overflow: hidden; }
.btn::before, button::before, [role="button"]::before {
  content: ''; position: absolute; inset: 0;
  background: currentColor; opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none; border-radius: inherit;
}
.btn:hover::before, button:hover::before { opacity: 0.05; }
.btn:active::before, button:active::before { opacity: 0.12; transition: opacity 0.05s ease; }

/* =====================================================================
   REVEAL ANIMATIONS — default-visible, JS-opt-in
   ===================================================================== */

.reveal { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

html.js-active .reveal:not(.visible) { opacity: 0; transform: translateY(24px); }
html.js-active .reveal.visible { opacity: 1; transform: none; }

/* CRITICAL: Disable reveal on mobile + reduced motion. Mobile users get content INSTANTLY. */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js-active .reveal:not(.visible) { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   CONTAINER & LAYOUT
   ===================================================================== */

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }
@media (min-width: 768px) { .container { padding: 0 36px; } }
@media (min-width: 1280px) { .container { padding: 0 48px; } }

main { padding-bottom: 100px; }
@media (max-width: 768px) { main { padding-bottom: 100px; } }

/* =====================================================================
   SCROLL PROGRESS BAR (top, sticky)
   ===================================================================== */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 100; pointer-events: none;
  background: rgba(0,0,0,0.04);
}
.scroll-progress__bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--schule), var(--business), var(--karriere), var(--start));
  transition: width 0.05s linear;
}

/* =====================================================================
   HEADER (sticky, adaptive)
   ===================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding var(--transition), border-color var(--transition), box-shadow var(--transition);
  padding: 14px 0;
}
.site-header.scrolled {
  padding: 8px 0;
  border-bottom-color: var(--line);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand-mark { display: flex; align-items: center; gap: 10px; padding: 0; min-height: 44px; }
.brand-mark .v-logo {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--ink); color: var(--bg);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--font); font-weight: 900; font-size: 22px;
  font-style: italic; letter-spacing: -0.04em;
  line-height: 1;
}
.brand-mark .wordmark { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.brand-mark .wordmark .sub { font-weight: 400; color: var(--ink-mute); margin-left: 4px; font-size: 14px; }

/* Desktop nav */
.nav-desktop { display: none; align-items: center; gap: 4px; }
@media (min-width: 880px) {
  .nav-desktop { display: flex; }
}
.nav-desktop a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  padding: 10px 16px; min-height: 44px; min-width: 0;
  border-radius: var(--radius-pill); transition: color var(--transition), background var(--transition);
}
.nav-desktop a:hover { color: var(--ink); background: var(--line-soft); }
.nav-desktop a.active { color: var(--ink); background: var(--ink); color: var(--bg); }

.header-cta { display: none; }
@media (min-width: 880px) {
  .header-cta {
    display: inline-flex; padding: 10px 20px; min-height: 44px;
    background: var(--ink); color: var(--bg);
    border-radius: var(--radius-pill); font-weight: 600; font-size: 14px;
    transition: transform var(--transition), background var(--transition);
  }
  .header-cta:hover { transform: translateY(-1px); background: var(--brand-soft); }
}

/* Mobile menu icon */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap-comfort); height: var(--tap-comfort); padding: 0;
  background: transparent; border: 1px solid var(--line);
  border-radius: 14px; color: var(--ink);
}
@media (min-width: 880px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 24px; height: 24px; }

/* =====================================================================
   MOBILE DRAWER (slides from right)
   ===================================================================== */

.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  z-index: 90;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 86vw); background: var(--bg);
  z-index: 91; transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.18);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head .brand-mark { padding: 0; min-height: auto; }
.drawer-close {
  width: 48px; height: 48px; padding: 0;
  background: var(--line-soft); border: 0; border-radius: 12px;
}
.drawer-close svg { width: 22px; height: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 16px 80px; -webkit-overflow-scrolling: touch; }
.drawer-section { margin-bottom: 24px; }
.drawer-section h3 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-mute); font-weight: 600;
  padding: 0 12px; margin-bottom: 8px;
}
.drawer-link {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 14px 14px; min-height: 56px;
  border-radius: 14px; font-size: 16px; font-weight: 500; color: var(--ink);
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.drawer-link:hover, .drawer-link:active { background: var(--line-soft); }
.drawer-link .icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--line-soft); color: var(--ink);
  font-weight: 800; font-style: italic;
}
.drawer-link.schule .icon { background: var(--schule-soft); color: var(--schule); }
.drawer-link.karriere .icon { background: var(--karriere-soft); color: var(--karriere); }
.drawer-link.business .icon { background: var(--business-soft); color: var(--business); }
.drawer-link.start .icon { background: var(--start-soft); color: var(--start); }
.drawer-link .meta { flex: 1; min-width: 0; }
.drawer-link .meta .ti { font-size: 15px; font-weight: 600; }
.drawer-link .meta .sub { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.drawer-link .arrow { color: var(--ink-mute); font-size: 18px; flex-shrink: 0; }
.drawer-cta {
  display: flex; padding: 16px; min-height: 56px;
  background: var(--ink); color: var(--bg); border-radius: 14px;
  font-weight: 600; font-size: 16px; justify-content: center;
  margin-top: 16px;
}

/* =====================================================================
   MOBILE BOTTOM TAB BAR (sticky, primary navigation)
   ===================================================================== */

.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  z-index: 80;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)) 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
@media (min-width: 880px) { .tabbar { display: none; } }

.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 8px 4px; min-height: 56px;
  border-radius: 14px; text-decoration: none;
  font-size: 11px; font-weight: 600;
  color: var(--ink-mute);
  transition: color var(--transition), background var(--transition);
}
.tab.active { color: var(--ink); background: var(--line-soft); }
.tab .tab-icon {
  width: 26px; height: 26px; display: grid; place-items: center;
  font-weight: 900; font-style: italic; font-size: 16px;
  line-height: 1; letter-spacing: -0.05em;
  border-radius: 8px;
}
.tab.schule .tab-icon { background: var(--schule-soft); color: var(--schule); }
.tab.karriere .tab-icon { background: var(--karriere-soft); color: var(--karriere); }
.tab.business .tab-icon { background: var(--business-soft); color: var(--business); }
.tab.start .tab-icon { background: var(--start-soft); color: var(--start); }
.tab.active.schule { background: var(--schule-soft); }
.tab.active.karriere { background: var(--karriere-soft); }
.tab.active.business { background: var(--business-soft); }
.tab.active.start { background: var(--start-soft); }

/* =====================================================================
   FLOATING CONTACT FAB (mobile only)
   ===================================================================== */

.fab {
  position: fixed; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom));
  width: 60px; height: 60px; min-width: 0; min-height: 0;
  background: var(--ink); color: var(--bg);
  border-radius: 50%; padding: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 4px 8px rgba(0,0,0,0.15);
  z-index: 70;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.fab:hover, .fab:active { transform: scale(1.08); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.fab svg { width: 26px; height: 26px; }
.fab { display: none !important; }

/* =====================================================================
   HERO
   ===================================================================== */

.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 100px 0 120px; } }
@media (min-width: 1100px) { .hero { padding: 140px 0 160px; } }

.hero::before, .hero::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.hero::before {
  top: -100px; right: -200px; width: 500px; height: 500px;
  background: radial-gradient(circle, var(--business-soft) 0%, transparent 70%);
}
.hero::after {
  bottom: -200px; left: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, var(--karriere-soft) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; min-height: 36px; min-width: 0;
  background: var(--line-soft); color: var(--ink-soft);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--start); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(36px, 6.4vw, 76px);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 800;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero h1 .accent { background: linear-gradient(120deg, var(--business), var(--karriere)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-soft);
  max-width: 640px; margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-primary {
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-pill); padding: 16px 28px; font-size: 16px; font-weight: 600;
  transition: transform var(--transition), background var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: var(--radius-pill);
  padding: 16px 28px; font-size: 16px; font-weight: 600;
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }

/* =====================================================================
   PRODUCT CARDS GRID
   ===================================================================== */

.products {
  padding: 56px 0;
}
@media (min-width: 768px) { .products { padding: 80px 0; } }

.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--ink-mute); font-weight: 700; margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: -0.03em; line-height: 1.1; font-weight: 800;
  color: var(--ink);
}
.section-head .lead {
  font-size: 17px; color: var(--ink-soft); max-width: 600px; margin: 14px auto 0;
}

.products-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 700px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  display: flex; flex-direction: column;
  padding: 28px 26px 26px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  min-height: auto; min-width: 0; text-align: left;
  align-items: stretch; justify-content: flex-start;
  position: relative; overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px); border-color: var(--ink);
  box-shadow: var(--shadow);
}
.product-card::before { display: none; }
.product-card .pc-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 900; font-style: italic; font-size: 28px;
  letter-spacing: -0.06em; line-height: 1;
  margin-bottom: 20px;
}
.product-card.schule .pc-icon { background: var(--schule-soft); color: var(--schule); }
.product-card.karriere .pc-icon { background: var(--karriere-soft); color: var(--karriere); }
.product-card.business .pc-icon { background: var(--business-soft); color: var(--business); }
.product-card.start .pc-icon { background: var(--start-soft); color: var(--start); }

.product-card h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 700; line-height: 1.2; margin-bottom: 10px; color: var(--ink); }
.product-card p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.product-card .pc-arrow {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 8px 0; min-height: 44px; min-width: 0;
}
.product-card .pc-arrow .arrow-icon { transition: transform var(--transition); }
.product-card:hover .pc-arrow .arrow-icon { transform: translateX(4px); }

/* =====================================================================
   FEATURES / WHY SECTION
   ===================================================================== */

.features { padding: 56px 0; background: var(--bg-soft); }
@media (min-width: 768px) { .features { padding: 96px 0; } }

.features-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 700px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature {
  padding: 0;
}
.feature .f-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature .f-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* =====================================================================
   TRUST LOGOS
   ===================================================================== */

.trust { padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trust .container { text-align: center; }
.trust-label {
  display: block; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--ink-mute); font-weight: 700; margin-bottom: 22px;
}
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; }
.trust-logo {
  font-family: var(--font);
  font-size: 19px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink-mute);
  opacity: 0.7; transition: opacity var(--transition);
  padding: 10px 18px; min-height: 44px; min-width: 0;
}
.trust-logo:hover { opacity: 1; }

/* =====================================================================
   CONTACT FORM
   ===================================================================== */

.contact-section { padding: 64px 0; }
@media (min-width: 768px) { .contact-section { padding: 96px 0; } }

.contact-card {
  max-width: 720px; margin: 0 auto;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
@media (min-width: 768px) { .contact-card { padding: 48px 56px; } }

.contact-card h2 { font-size: clamp(26px, 3.8vw, 36px); letter-spacing: -0.025em; font-weight: 800; margin-bottom: 12px; }
.contact-card .lead { color: var(--ink-soft); font-size: 16px; margin-bottom: 32px; }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 52px;
  padding: 12px 16px; font-size: 16px; /* MUST be 16px on mobile to prevent iOS auto-zoom */
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink);
  font-family: var(--font);
  transition: border-color var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }

.form-submit {
  width: 100%; padding: 16px 24px; min-height: 56px;
  background: var(--ink); color: var(--bg);
  border: 0; border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
.form-submit:hover { background: #1a1a1a; }

.form-success {
  background: var(--start-soft); color: #14532d;
  padding: 16px; border-radius: 12px;
  margin-top: 16px; font-size: 15px; font-weight: 500;
  display: none;
}
.form-success.show { display: block; }

/* =====================================================================
   FOOTER
   ===================================================================== */

.site-footer {
  background: var(--bg-dark); color: var(--cream);
  padding: 56px 0 24px;
  border-top: 1px solid #1a1a1a;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; } }

.footer-brand .brand-mark .v-logo { background: var(--cream); color: var(--ink); }
.footer-brand .brand-mark .wordmark { color: var(--cream); }
.footer-brand .brand-mark .wordmark .sub { color: rgba(250,246,237,0.6); }
.footer-brand p { color: rgba(250,246,237,0.7); font-size: 14px; margin-top: 14px; line-height: 1.55; max-width: 340px; }

.footer-col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(250,246,237,0.5); font-weight: 700; margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.footer-col a {
  color: rgba(250,246,237,0.85); font-size: 15px;
  padding: 10px 0; min-height: 44px; min-width: 0;
  display: inline-flex; align-items: center;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(250,246,237,0.12);
  padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: rgba(250,246,237,0.55);
}

/* =====================================================================
   SUB-BRAND PAGES (Schule, Karriere, Business, Start)
   ===================================================================== */

.sub-hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
@media (min-width: 768px) { .sub-hero { padding: 100px 0 100px; } }
.sub-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.sub-hero h1 {
  font-size: clamp(32px, 5.2vw, 60px);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 800;
  margin-bottom: 18px; max-width: 800px;
}
.sub-hero .lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); max-width: 600px; line-height: 1.55; margin-bottom: 32px; }
.sub-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; padding: 8px 16px;
  border-radius: var(--radius-pill); margin-bottom: 22px;
  min-height: 36px; min-width: 0;
}

.sub-hero.schule { background: linear-gradient(180deg, var(--schule-soft) 0%, var(--bg) 100%); }
.sub-hero.schule .sub-hero-tag { background: rgba(249, 115, 22, 0.14); color: var(--schule); }
.sub-hero.schule h1 .accent { color: var(--schule); }

.sub-hero.karriere { background: linear-gradient(180deg, var(--karriere-soft) 0%, var(--bg) 100%); }
.sub-hero.karriere .sub-hero-tag { background: rgba(8, 145, 178, 0.14); color: var(--karriere); }
.sub-hero.karriere h1 .accent { color: var(--karriere); }

.sub-hero.business { background: linear-gradient(180deg, var(--business-soft) 0%, var(--bg) 100%); }
.sub-hero.business .sub-hero-tag { background: rgba(124, 58, 237, 0.14); color: var(--business); }
.sub-hero.business h1 .accent { color: var(--business); }

.sub-hero.start { background: linear-gradient(180deg, var(--start-soft) 0%, var(--bg) 100%); }
.sub-hero.start .sub-hero-tag { background: rgba(22, 163, 74, 0.14); color: var(--start); }
.sub-hero.start h1 .accent { color: var(--start); }

/* Sub-page sections */
.sub-section { padding: 56px 0; }
@media (min-width: 768px) { .sub-section { padding: 80px 0; } }
.sub-section.bg-soft { background: var(--bg-soft); }

.sub-section h2 { font-size: clamp(24px, 3.6vw, 36px); letter-spacing: -0.025em; line-height: 1.15; font-weight: 800; margin-bottom: 14px; max-width: 720px; }
.sub-section .lead { font-size: 17px; color: var(--ink-soft); max-width: 680px; line-height: 1.55; margin-bottom: 40px; }

.checklist { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 880px; }
@media (min-width: 700px) { .checklist { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.check-item {
  display: flex; gap: 14px; padding: 18px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
}
.check-item .check-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--line-soft); color: var(--ink); font-weight: 800;
}
.sub-hero.schule + .sub-section .check-icon, .sub-section.schule-accent .check-icon { background: var(--schule-soft); color: var(--schule); }
.sub-hero.karriere + .sub-section .check-icon, .sub-section.karriere-accent .check-icon { background: var(--karriere-soft); color: var(--karriere); }
.sub-hero.business + .sub-section .check-icon, .sub-section.business-accent .check-icon { background: var(--business-soft); color: var(--business); }
.sub-hero.start + .sub-section .check-icon, .sub-section.start-accent .check-icon { background: var(--start-soft); color: var(--start); }
.check-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.check-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

/* =====================================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ===================================================================== */

.legal { padding: 48px 0 80px; max-width: 800px; margin: 0 auto; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--ink-mute); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.legal h3 { font-size: 16px; font-weight: 700; margin: 18px 0 6px; }
.legal p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 12px; }
.legal ul { margin: 8px 0 16px 20px; }
.legal li { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 4px; }
.legal a { color: var(--karriere); text-decoration: underline; text-underline-offset: 3px; padding: 0; min-height: auto; min-width: 0; display: inline; }

/* =====================================================================
   404
   ===================================================================== */

.error-page { padding: 80px 0 120px; text-align: center; }
.error-page h1 { font-size: clamp(80px, 14vw, 160px); font-weight: 900; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(120deg, var(--schule), var(--business)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.error-page h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.error-page p { color: var(--ink-soft); margin-bottom: 32px; }

/* =====================================================================
   ACCESSIBILITY HELPERS
   ===================================================================== */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--karriere); outline-offset: 2px; }

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* =====================================================================
   RUNDE 1 — VISUAL POLISH
   Hero animations, sub-brand identity, typography drama, microinteractions
   ===================================================================== */

/* ========== ANIMATED HERO BACKGROUNDS (per sub-brand) ========== */

.hero { background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%); }
.hero::before { animation: blob1 22s ease-in-out infinite; }
.hero::after { animation: blob2 28s ease-in-out infinite; }
@keyframes blob1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.1); }
  66% { transform: translate(-30px,20px) scale(0.95); }
}
@keyframes blob2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px,-40px) scale(1.15); }
}

/* Sub-brand hero — animated grid/wave patterns per brand */
.sub-hero { isolation: isolate; }
.sub-hero::before, .sub-hero::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
}

/* Schule — playful dotted grid */
.sub-hero.schule::before {
  inset: 0;
  background-image: radial-gradient(circle, rgba(249,115,22,0.18) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
  animation: dots-drift 30s linear infinite;
}
@keyframes dots-drift {
  from { background-position: 0 0; }
  to { background-position: 26px 26px; }
}

/* Karriere — flowing waves */
.sub-hero.karriere::before {
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(8,145,178,0.22) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(8,145,178,0.18) 0%, transparent 55%);
  animation: wave-flow 24s ease-in-out infinite;
}
@keyframes wave-flow {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-20px,-15px); }
}

/* Business — pulsing concentric rings */
.sub-hero.business::before {
  width: 700px; height: 700px;
  right: -200px; top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 30%, transparent 60%);
  animation: pulse-ring 8s ease-in-out infinite;
}
.sub-hero.business::after {
  width: 500px; height: 500px;
  left: -150px; bottom: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 30%, transparent 60%);
  animation: pulse-ring 10s ease-in-out infinite reverse;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.15); opacity: 0.55; }
}

/* Start — rising plant lines */
.sub-hero.start::before {
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(22,163,74,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,163,74,0.06) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 50%, transparent 100%);
  animation: grow-grid 18s ease-in-out infinite;
}
@keyframes grow-grid {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 40px -40px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .sub-hero::before, .sub-hero::after { animation: none !important; }
}

/* ========== TYPOGRAPHY DRAMA ========== */

.hero h1, .sub-hero h1 { letter-spacing: -0.04em; }

/* Animated gradient accent — sliding shimmer */
.hero h1 .accent, .sub-hero h1 .accent {
  background: linear-gradient(110deg, var(--business) 0%, var(--karriere) 40%, var(--business) 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-slide 6s ease-in-out infinite;
}
.sub-hero.schule h1 .accent { background: linear-gradient(110deg, var(--schule) 0%, #fb923c 40%, var(--schule) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; }
.sub-hero.karriere h1 .accent { background: linear-gradient(110deg, var(--karriere) 0%, #22d3ee 40%, var(--karriere) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; }
.sub-hero.business h1 .accent { background: linear-gradient(110deg, var(--business) 0%, #a78bfa 40%, var(--business) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; }
.sub-hero.start h1 .accent { background: linear-gradient(110deg, var(--start) 0%, #4ade80 40%, var(--start) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; }
@keyframes gradient-slide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) { .accent { animation: none !important; } }

/* Eyebrow dot pulse — already exists, intensified */
.hero-eyebrow .dot { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }

/* ========== BUTTON MICROINTERACTIONS ========== */

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 100%; }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }

.btn-secondary { transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition); }
.btn-secondary:hover { transform: translateY(-2px); }

/* ========== CARD HOVER LIFT + GLOW PER SUB-BRAND ========== */

.product-card { isolation: isolate; }
.product-card::after {
  content: ''; position: absolute; inset: -2px;
  border-radius: var(--radius-lg);
  background: transparent;
  z-index: -1; opacity: 0;
  transition: opacity var(--transition);
}
.product-card.schule::after { background: linear-gradient(135deg, var(--schule), #fb923c); }
.product-card.karriere::after { background: linear-gradient(135deg, var(--karriere), #22d3ee); }
.product-card.business::after { background: linear-gradient(135deg, var(--business), #a78bfa); }
.product-card.start::after { background: linear-gradient(135deg, var(--start), #4ade80); }
.product-card:hover::after { opacity: 0.7; filter: blur(14px); }
.product-card:hover { transform: translateY(-6px) scale(1.01); }

/* Animate the icon on card hover */
.product-card .pc-icon { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition); }
.product-card:hover .pc-icon { transform: scale(1.08) rotate(-3deg); }

/* ========== FEATURE CARDS — STAGGERED HOVER ========== */

.feature {
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.feature .f-icon { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.feature:hover .f-icon { transform: scale(1.1) rotate(5deg); }

/* ========== SECTION DIVIDER FLOURISH ========== */

.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after {
  content: ''; position: absolute; left: 50%; bottom: -10px;
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--schule), var(--karriere), var(--business), var(--start));
  border-radius: 2px;
  transform: translateX(-50%);
}

/* ========== TRUST LOGOS — MARQUEE FLOAT ========== */

.trust-logos { perspective: 600px; }
.trust-logo { transition: transform var(--transition), opacity var(--transition), color var(--transition); }
.trust-logo:hover { transform: scale(1.08); opacity: 1; color: var(--ink); }

/* ========== CONTACT FORM — INPUT POLISH ========== */

.form-field input, .form-field select, .form-field textarea {
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10,10,10,0.06);
}

/* ========== TAB BAR — ACTIVE INDICATOR PULSE ========== */

.tab { position: relative; transition: background var(--transition), color var(--transition); }
.tab.active::after {
  content: ''; position: absolute; top: 4px; left: 50%;
  width: 28px; height: 3px;
  background: currentColor; border-radius: 2px;
  transform: translateX(-50%);
  animation: tab-indicator 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes tab-indicator {
  from { width: 0; opacity: 0; }
  to { width: 28px; opacity: 1; }
}

/* ========== SCROLL-TRIGGERED SHIMMER ON H1 ========== */

@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .hero h1.reveal.visible { animation: hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1); }
  @keyframes hero-rise {
    from { transform: translateY(40px); opacity: 0; letter-spacing: -0.02em; }
    to { transform: translateY(0); opacity: 1; letter-spacing: -0.035em; }
  }
}

/* ========== CHECK-ITEM — ROW HOVER ========== */

.check-item {
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}
.check-item:hover { transform: translateX(4px); border-color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,0.06); }

/* ========== SITE-HEADER — REFINED BORDER ANIMATION ========== */

.site-header { transition: padding 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s ease, box-shadow 0.32s ease, background var(--transition); }
.site-header.scrolled { background: rgba(255,255,255,0.96); }

/* ========== LOGO MARK — SUBTLE TILT ========== */

.brand-mark .v-logo { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand-mark:hover .v-logo { transform: rotate(-6deg) scale(1.08); }

/* ========== SCROLL-PROGRESS — FANCIER ========== */

.scroll-progress {
  background: rgba(0,0,0,0);
  height: 4px;
}
.scroll-progress__bar {
  background: linear-gradient(90deg, var(--schule), var(--business), var(--karriere), var(--start));
  box-shadow: 0 0 8px rgba(124,58,237,0.4);
}

/* =====================================================================
   RUNDE 2 — CONTENT-TIEFE
   Stats-Strip, FAQ-Accordion, Testimonial-Cards, Trust-Signals
   ===================================================================== */

/* ========== STATS STRIP ========== */
.stats-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  padding: 32px 0; max-width: 1100px; margin: 0 auto;
}
@media (min-width: 768px) { .stats-strip { grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0; } }
.stat-card {
  text-align: center; padding: 18px 14px;
  border-left: 2px solid var(--line);
}
.stats-strip .stat-card:first-child { border-left: 0; }
@media (max-width: 767px) {
  .stat-card { border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .stat-card:first-child, .stats-strip .stat-card:nth-child(odd) { border-top: 0; }
  .stats-strip .stat-card:nth-child(even) { border-left: 1px solid var(--line); }
}
.stat-card .num {
  font-size: clamp(32px, 5vw, 48px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1; color: var(--ink);
}
.stat-card .num .unit { font-size: 0.5em; font-weight: 700; color: var(--ink-mute); margin-left: 2px; }
.stat-card .lbl { font-size: 13px; color: var(--ink-soft); margin-top: 8px; letter-spacing: 0.02em; }

/* ========== FAQ ACCORDION ========== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 14px; overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] { border-color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,0.05); }
.faq-item summary {
  padding: 20px 56px 20px 22px; cursor: pointer;
  font-weight: 600; font-size: 16px; line-height: 1.4;
  list-style: none; position: relative;
  min-height: 60px; display: flex; align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 28px; font-weight: 300; color: var(--ink-mute);
  transition: transform 0.3s ease, color var(--transition);
  line-height: 1; width: 28px; text-align: center;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--ink); }
.faq-item .faq-body { padding: 0 22px 22px 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.faq-item .faq-body p + p { margin-top: 10px; }

/* ========== TESTIMONIAL CARDS ========== */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 1100px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 24px;
  position: relative; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.testimonial:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 10px 28px rgba(0,0,0,0.06); }
.testimonial::before {
  content: '"'; position: absolute; top: -8px; left: 16px;
  font-family: Georgia, serif; font-size: 80px; color: var(--ink-soft);
  opacity: 0.12; line-height: 1; pointer-events: none;
}
.testimonial .stars { font-size: 14px; letter-spacing: 2px; color: #d4a946; margin-bottom: 14px; }
.testimonial .quote { font-size: 15px; line-height: 1.6; color: var(--ink); margin-bottom: 18px; font-style: italic; }
.testimonial .meta { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
  display: grid; place-items: center; color: var(--bg);
  font-weight: 700; font-size: 14px;
}
.testimonial.schule .avatar { background: linear-gradient(135deg, var(--schule), #fb923c); }
.testimonial.karriere .avatar { background: linear-gradient(135deg, var(--karriere), #22d3ee); }
.testimonial.business .avatar { background: linear-gradient(135deg, var(--business), #a78bfa); }
.testimonial.start .avatar { background: linear-gradient(135deg, var(--start), #4ade80); }
.testimonial .meta .who-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.testimonial .meta .who-role { font-size: 12.5px; color: var(--ink-mute); margin-top: 1px; }
.testimonial .placeholder-tag {
  display: inline-block; font-size: 10.5px;
  background: var(--line-soft); color: var(--ink-mute);
  padding: 2px 8px; border-radius: 4px; margin-bottom: 12px;
  letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600;
}

/* ========== TRUST RIBBON (logos with claim) ========== */
.trust-ribbon {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 16px 28px; padding: 18px 16px;
  background: var(--bg-soft); border-radius: var(--radius-lg);
  margin: 24px 0; max-width: 1000px; margin-left: auto; margin-right: auto;
}
.trust-ribbon .ribbon-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-soft); font-weight: 600;
}
.trust-ribbon .ribbon-item svg { width: 18px; height: 18px; color: var(--start); flex-shrink: 0; }

/* =====================================================================
   VOICE-AGENT WIDGET — POSITION OVER TABBAR ON MOBILE
   ===================================================================== */
elevenlabs-convai {
  position: fixed !important;
  bottom: 96px !important;   /* over the 80px tab-bar + 16px gap */
  right: 16px !important;
  left: auto !important;
  top: auto !important;
  z-index: 95 !important;
}
@media (min-width: 880px) {
  elevenlabs-convai {
    bottom: 28px !important;
    right: 28px !important;
  }
}
@media (max-width: 880px) {
  /* extra space at bottom of main so content doesn't hide under tabbar+widget */
  main { padding-bottom: 100px; }
}

/* =====================================================================
   FORMAT-AUDIT RUNDE 1 — Mobile spacing + stat-card clarity
   ===================================================================== */

/* Stats-Strip on mobile: 2x2 grid mit bigger numbers für Lesbarkeit */
@media (max-width: 767px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    padding: 24px 8px !important;
  }
  .stat-card {
    border-left: 0 !important;
    border-top: 0 !important;
    padding: 16px 8px !important;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .stat-card .num {
    font-size: clamp(30px, 8.5vw, 40px) !important;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .stat-card .num .unit { font-size: 0.55em !important; }
  .stat-card .lbl {
    font-size: 12.5px !important;
    line-height: 1.4;
    margin-top: 6px !important;
  }
}

/* Stat-Card numbers: prevent crazy overflow on long units */
.stat-card .num { line-height: 1.05; word-break: keep-all; max-width: 100%; }
.stat-card .num .unit { white-space: nowrap; }

/* FAQ summary: bigger right-padding so the "+" never overlaps long titles */
.faq-item summary { padding-right: 64px; }

/* Trust-Ribbon: better wrap behavior on small screens */
@media (max-width: 600px) {
  .trust-ribbon {
    gap: 10px 18px;
    padding: 14px 12px;
    font-size: 13.5px;
  }
  .trust-ribbon .ribbon-item { font-size: 13px; }
}

/* Testimonial: avoid the giant "quote" mark colliding with content on small */
@media (max-width: 600px) {
  .testimonial { padding: 22px 18px; }
  .testimonial::before { font-size: 60px; top: -4px; left: 10px; }
  .testimonial .quote { font-size: 14.5px; }
}

/* Footer-bottom: stack cleaner on mobile */
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 16px; }
}

/* Footer-grid mobile: tighter spacing, columns flow naturally */
@media (max-width: 767px) {
  .footer-grid { gap: 28px; }
  .footer-brand { margin-bottom: 8px; }
}

/* Section-head gap on mobile — eyebrow + h2 + lead */
@media (max-width: 600px) {
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(22px, 7vw, 30px); }
  .section-head h2::after { width: 44px; height: 3px; bottom: -8px; }
}

/* Sub-section h2 wrap-fix on tight mobile */
@media (max-width: 600px) {
  .sub-section h2 { font-size: clamp(22px, 6.5vw, 30px); }
  .sub-section .lead { font-size: 15.5px; }
}

/* Checklist items: bigger touch on mobile, better text wrap */
@media (max-width: 600px) {
  .check-item { padding: 16px 14px; gap: 12px; }
  .check-item h4 { font-size: 15.5px; }
  .check-item p { font-size: 14px; }
}

/* Hero-eyebrow doesn't collide with adjacent content on mobile */
@media (max-width: 600px) {
  .hero-eyebrow { font-size: 12px; padding: 6px 14px; min-height: 32px; }
}

/* Container padding bottom on mobile so widget+tabbar don't cover content */
@media (max-width: 880px) {
  main { padding-bottom: 120px !important; }
}

/* Tabbar safe-area: avoid touching widget */
.tabbar { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }

/* Better scroll-progress bar so it doesn't cover header content */
.scroll-progress { height: 3px; }

/* Product-card pc-arrow: doesn't get squished on mobile */
@media (max-width: 600px) {
  .product-card { padding: 24px 22px 22px; }
  .product-card h3 { font-size: 20px; }
  .product-card p { font-size: 14.5px; }
}

/* =====================================================================
   FORMAT-AUDIT RUNDE 2 — Final polish
   ===================================================================== */

/* Stat-card: subtle hover-feedback */
.stat-card {
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-2px); }
@media (max-width: 767px) {
  .stat-card:hover { border-color: var(--ink-soft); box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
}

/* Stats label: clamp to 2 lines + balance for better readability */
.stat-card .lbl {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: balance;
}

/* Hero-eyebrow padding on small viewports — nicht zu eng am Header */
@media (max-width: 600px) {
  .hero { padding-top: 36px; }
  .sub-hero { padding-top: 36px; }
}

/* FAQ summary line-height for easier reading */
.faq-item summary { line-height: 1.45; font-weight: 600; }
.faq-item summary:hover { background: var(--bg-soft); }

/* Section-eyebrow: prevent flex squish on mobile */
.section-eyebrow { white-space: nowrap; }

/* Trust-ribbon icon-alignment */
.trust-ribbon .ribbon-item svg { width: 16px; height: 16px; }

/* Contact-form better label spacing */
.form-field label { font-size: 13.5px; letter-spacing: 0.02em; }

/* Footer-col title micro-spacing */
.footer-col h4 { margin-bottom: 10px; padding-top: 2px; }

/* Testimonial-card: ensure even heights on grid */
.testimonials-grid { align-items: stretch; }
.testimonial { display: flex; flex-direction: column; height: 100%; }
.testimonial .quote { flex: 1; }

/* Tab-icon: ensure consistent rendering */
.tab .tab-icon { line-height: 1; }

/* Form-success message: subtle entrance */
.form-success { transition: opacity 0.3s ease; opacity: 0; }
.form-success.show { opacity: 1; }

/* Reveal-content: ensure section heads have a tiny breath before content */
.section-head { padding-bottom: 4px; }

/* Headline accent: subtle text-shadow for legibility against animated bg */
.hero h1 .accent, .sub-hero h1 .accent {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.04));
}

/* 404 page styling improvement */
.error-page { padding: 80px 24px 120px; }
.error-page .hero-cta { gap: 10px; }
@media (max-width: 600px) {
  .error-page .hero-cta { flex-direction: column; align-items: stretch; }
  .error-page .hero-cta a { width: 100%; }
}

/* Brand-mark "sub" badge (e.g. Schule, Karriere) — better contrast */
.brand-mark .wordmark .sub {
  font-weight: 500; opacity: 0.7;
}

/* Legal-page link styling */
.legal a { transition: color var(--transition); }
.legal a:hover { color: var(--ink); }

/* Container padding bottom fine-tune */
@media (min-width: 880px) {
  main { padding-bottom: 0; }
}

/* Trust-Section: bigger label margin */
.trust .trust-label { margin-bottom: 28px; }

/* Voice-widget: subtle backdrop drop-shadow on mobile */
@media (max-width: 880px) {
  elevenlabs-convai {
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
  }
}

/* Final: ensure no element has overflow-x */
html, body { overflow-x: hidden; }
.container { overflow-x: visible; }

/* =====================================================================
   VORALIS VOICE — 5th sub-brand (amber/gold)
   ===================================================================== */
:root {
  --voice: #f59e0b;
  --voice-soft: #fef3c7;
}

/* Product card */
.product-card.voice .pc-icon { background: var(--voice-soft); color: var(--voice); }
.product-card.voice::after { background: linear-gradient(135deg, var(--voice), #fbbf24); }

/* Drawer link */
.drawer-link.voice .icon { background: var(--voice-soft); color: var(--voice); }

/* Tab-bar (now 5 tabs) */
.tabbar { grid-template-columns: repeat(5, 1fr) !important; }
.tab.voice .tab-icon { background: var(--voice-soft); color: var(--voice); }
.tab.active.voice { background: var(--voice-soft); }
@media (max-width: 400px) {
  .tabbar { gap: 2px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)) 4px; }
  .tab { padding: 6px 2px; font-size: 10px; }
  .tab .tab-icon { width: 22px; height: 22px; font-size: 14px; }
}

/* Sub-hero voice variant */
.sub-hero.voice { background: linear-gradient(180deg, var(--voice-soft) 0%, var(--bg) 100%); }
.sub-hero.voice .sub-hero-tag { background: rgba(245, 158, 11, 0.16); color: #b45309; }
.sub-hero.voice h1 .accent { background: linear-gradient(110deg, var(--voice) 0%, #fbbf24 40%, var(--voice) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub-hero.voice::before {
  width: 700px; height: 700px;
  right: -200px; top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.22) 30%, transparent 60%);
  animation: pulse-ring 9s ease-in-out infinite;
}
.sub-hero.voice::after {
  width: 500px; height: 500px;
  left: -150px; bottom: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,0.18) 30%, transparent 60%);
  animation: pulse-ring 11s ease-in-out infinite reverse;
}

/* Check-item voice accent */
.sub-section.voice-accent .check-icon { background: var(--voice-soft); color: var(--voice); }

/* Testimonial voice */
.testimonial.voice .avatar { background: linear-gradient(135deg, var(--voice), #fbbf24); }

/* Feature voice */
.feature.voice .f-icon { background: var(--voice); color: var(--bg); }

/* ========== PRICING TIERS ========== */
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pricing-card {
  background: var(--bg); border: 2px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 26px;
  display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.08); }
.pricing-card.featured { border-color: var(--voice); }
.pricing-card.featured::before {
  content: 'Beliebt'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--voice); color: var(--ink);
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.pricing-card .tier-name {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px;
}
.pricing-card .tier-price {
  font-size: clamp(36px, 5vw, 48px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1; color: var(--ink);
  margin-bottom: 4px;
}
.pricing-card .tier-price .currency { font-size: 0.55em; vertical-align: top; margin-right: 2px; color: var(--ink-soft); font-weight: 600; }
.pricing-card .tier-price .per { font-size: 0.36em; color: var(--ink-mute); font-weight: 600; margin-left: 4px; }
.pricing-card .tier-from { font-size: 12px; color: var(--ink-mute); margin-bottom: 8px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.pricing-card .tier-setup {
  font-size: 13px; color: var(--ink-soft);
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.pricing-card .tier-setup b { color: var(--ink); }
.pricing-card .tier-features { list-style: none; margin: 0 0 24px 0; padding: 0; flex: 1; }
.pricing-card .tier-features li {
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.55;
  padding: 8px 0 8px 28px; position: relative;
}
.pricing-card .tier-features li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--voice-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='3'><path d='M5 13 L9 17 L19 7'/></svg>");
  background-position: center; background-size: 12px; background-repeat: no-repeat;
}
.pricing-card.featured .tier-features li::before { background-color: var(--voice); }
.pricing-card .tier-cta {
  width: 100%; padding: 14px 20px; min-height: 52px;
  background: var(--bg); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; text-align: center; justify-content: center;
}
.pricing-card.featured .tier-cta { background: var(--ink); color: var(--bg); }
.pricing-card .tier-cta:hover { transform: translateY(-1px); }

/* Product-Grid: now 5 cards — adapt layout */
@media (min-width: 1200px) { .products-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
@media (min-width: 700px) and (max-width: 1199px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.product-card { padding: 24px 22px 22px; }
.product-card .pc-icon { width: 52px; height: 52px; margin-bottom: 18px; }
.product-card h3 { font-size: 19px; }
.product-card p { font-size: 14px; line-height: 1.5; }
