/* ═══════════════════════════════════════════════════════════════════
   KLASSENBLICK V2 — styles.css
   Apple-like, clean, conversion-optimized. Mobile first.
   ═══════════════════════════════════════════════════════════════════ */

/* ═══ LOCAL FONTS ═══ */
@import url('fonts.css');

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

:root {
  --primary:       #2563EB;
  --primary-dark:  #1D4ED8;
  --primary-light: #EFF6FF;
  --primary-50:    #DBEAFE;
  --accent:        #0EA5E9;
  --teal:          #0D9488;
  --green:         #10B981;
  --amber:         #F59E0B;
  --red:           #EF4444;
  --purple:        #7C3AED;

  --bg:            #FFFFFF;
  --bg-alt:        #F8FAFC;
  --bg-dark:       #0A1628;
  --bg-dark-2:     #111D35;

  --surface:       #FFFFFF;
  --surface-alt:   #F1F5F9;
  --border:        #E2E8F0;
  --border-light:  #F1F5F9;

  --text:          #0F172A;
  --text-sec:      #475569;
  --text-muted:    #94A3B8;
  --text-inv:      #F1F5F9;

  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.14);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ═══ TYPOGRAPHY ═══ */
.t-hero    { font-size: clamp(2rem, 5.5vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.t-h2      { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; }
.t-h3      { font-size: clamp(1.2rem, 2.2vw, 1.65rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.t-h4      { font-size: 1.1rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.t-body    { font-size: 1rem; line-height: 1.7; color: var(--text-sec); }
.t-body-lg { font-size: 1.125rem; line-height: 1.7; color: var(--text-sec); }
.t-small   { font-size: 0.875rem; line-height: 1.6; color: var(--text-sec); }
.t-label   { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.text-white { color: #fff; }
.text-white-muted { color: rgba(255,255,255,0.5); max-width: 640px; margin: 16px auto 0; }

/* ═══ LAYOUT ═══ */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  position: relative; overflow: hidden;
}
.section-dark::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(37,99,235,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(99,102,241,0.06) 0%, transparent 50%);
}
.section-dark > .container { position: relative; z-index: 1; }
.text-center { text-align: center; }
.section-sub { max-width: 580px; margin: 12px auto 0; }

/* ═══ SECTION LABEL ═══ */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-full);
  background: var(--primary-light); color: var(--primary);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 20px;
}
.section-label-dark {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-lg);
  font-size: 0.95rem; font-weight: 600; line-height: 1;
  transition: all 0.2s ease; white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--primary-50); outline-offset: 2px; }
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 1px 3px rgba(37,99,235,0.3), 0 4px 16px rgba(37,99,235,0.2);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(37,99,235,0.35), 0 8px 24px rgba(37,99,235,0.25); }
.btn-ghost {
  background: transparent; color: var(--text-inv);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); }
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--r-lg); }

/* ═══ REVEAL ═══ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ════════════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all 0.3s ease; padding: 10px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.nav.scrolled {
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 90px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); line-height: 1;
}
.footer .nav-logo-text { color: #fff; }
.footer .nav-logo-mark {
  background: #fff;
  padding: 6px;
  border-radius: var(--r-md);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}
.nav-logo-mark {
  height: 98px; width: auto;
  object-fit: contain;
}
.nav .nav-logo-mark {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 10px; border-radius: var(--r-md);
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-sec); transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--surface-alt); }
.nav-cta {
  margin-left: 8px; background: var(--primary); color: #fff !important;
  padding: 9px 18px !important; border-radius: var(--r-md) !important;
  font-weight: 600 !important; font-size: 0.85rem !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }
.nav-mobile-btn { display: none; }
.nav-mobile-btn svg { stroke: var(--text); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--border);
  padding: 16px 24px 20px; flex-direction: column; gap: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 12px 16px; border-radius: var(--r-md);
  color: var(--text-sec); font-size: 0.92rem; font-weight: 500;
  transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--text); background: var(--surface-alt); }
.mobile-menu .nav-cta {
  margin-top: 8px; text-align: center;
  background: var(--primary); color: #fff !important;
  border-radius: var(--r-lg); padding: 12px 16px; font-weight: 600;
}
.mobile-menu .nav-cta:hover { background: var(--primary-dark); }

/* ════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; background: var(--bg-dark);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 120px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 65% 35%, rgba(37,99,235,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(14,165,233,0.08) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(135deg, #93C5FD, #60A5FA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-hook {
  font-size: 1.2rem; color: rgba(255,255,255,0.75);
  font-weight: 500; line-height: 1.6; max-width: 460px;
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.5);
  line-height: 1.7; max-width: 460px; margin-bottom: 24px;
}
.hero-visual-label {
  text-align: center; font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.4); letter-spacing: 0.02em;
  margin-top: 16px;
}

/* Hero Trust Bullets */
.hero-bullets {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-top: 24px; margin-bottom: 32px;
}
.hero-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.75);
}
.hero-check {
  color: var(--green); font-weight: 700; font-size: 1rem;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-hint {
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
  margin-top: 12px; font-weight: 500;
}
.hero-trust {
  display: flex; align-items: center; gap: 24px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-trust-item { display: flex; align-items: center; gap: 8px; }
.hero-trust-icon { font-size: 1rem; opacity: 0.7; }
.hero-trust-text { font-size: 0.8rem; color: rgba(255,255,255,0.4); font-weight: 500; }

/* Hero Phone Mockup */
.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.phone-mockup {
  position: relative; width: 380px;
  background: #1A1A2E; border-radius: 32px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 8px 32px rgba(0,0,0,0.3),
              0 0 0 1px rgba(255,255,255,0.06);
  padding: 10px; overflow: hidden;
}
.phone-mockup-img {
  width: 100%; display: block;
  border-radius: 22px;
}
.phone-screen {
  background: #F8FAFC; border-radius: 22px; overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #fff;
  border-bottom: 1px solid #E2E8F0;
}
.mock-bar-title { font-size: 11px; font-weight: 700; color: #0F172A; }
.mock-bar-btn {
  font-size: 9px; font-weight: 600; color: #fff;
  background: #2563EB; border-radius: 6px; padding: 4px 8px;
}
.mock-canvas {
  position: relative; min-height: 280px; padding: 10px;
}
.mock-table {
  position: absolute; background: #fff;
  border: 1.5px solid #E2E8F0; border-radius: 8px;
  padding: 4px 5px;
}
.mock-label {
  font-size: 7px; font-weight: 600; color: #94A3B8;
  text-align: center; margin-bottom: 2px;
}
.mock-seats { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; }
.ms {
  width: 36px; height: 18px; border-radius: 4px;
  font-size: 7px; font-weight: 600; color: #fff;
  display: flex; align-items: center; justify-content: center;
  background: #3B82F6;
}
.ms-g { background: #10B981; }
.ms-a { background: #F59E0B; }
.ms-r { background: #EF4444; }
.ms-p { background: #8B5CF6; }
.mock-sel { border-color: #2563EB; box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
.mock-con { border-color: #FCA5A5; }
.mock-group { border-color: #10B981; background: #F0FDF4; }
.mock-teacher {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  background: #F1F5F9; border: 1px solid #E2E8F0;
  border-radius: 6px; padding: 3px 14px;
  font-size: 8px; font-weight: 600; color: #64748B;
}
.mock-alert {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; background: #fff;
  border-top: 1px solid #E2E8F0;
  font-size: 10px;
}
.mock-alert-text { font-size: 9px; font-weight: 600; color: #DC2626; flex: 1; }
.mock-alert-btn {
  font-size: 9px; font-weight: 600; color: #2563EB;
  background: #EFF6FF; border-radius: 5px; padding: 3px 8px;
}

/* ════════════════════════════════════════════════════════════════════
   PROBLEM
═══════════════════════════════════════════════════════════════════ */
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.problem-text .section-label { margin-bottom: 20px; }
.problem-text h2 { margin-bottom: 16px; }
.problem-cards { display: flex; flex-direction: column; gap: 16px; }
.problem-card {
  background: var(--bg-alt); border: 1px solid var(--border-light);
  border-radius: var(--r-xl); padding: 28px;
}
.problem-icon { font-size: 1.6rem; margin-bottom: 12px; display: block; }
.problem-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.problem-card p { font-size: 0.875rem; color: var(--text-sec); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════════════
   INLINE CTA
═══════════════════════════════════════════════════════════════════ */
.inline-cta {
  padding: 48px 0;
  background: var(--primary-light);
  border-top: 1px solid var(--primary-50);
  border-bottom: 1px solid var(--primary-50);
}
.inline-cta-alt {
  background: var(--bg-alt);
  border-color: var(--border);
}
.inline-cta-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.inline-cta-hook {
  font-size: 1.05rem; font-weight: 500; color: var(--text-muted);
  font-style: italic; margin-bottom: 8px;
}
.inline-cta-text {
  font-size: 1.15rem; font-weight: 700; color: var(--text);
}

/* ════════════════════════════════════════════════════════════════════
   SOLUTION
═══════════════════════════════════════════════════════════════════ */
.solution-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; margin-top: 56px;
}
.sol-feat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-xl); padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.sol-feat:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.sol-icon { font-size: 2rem; margin-bottom: 16px; }
.sol-feat h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sol-feat p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════════════
   USP / FUNKTIONEN
═══════════════════════════════════════════════════════════════════ */
.usp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.usp-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
  transition: all 0.3s;
}
.usp-card:hover {
  border-color: var(--primary-50);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.usp-card-highlight {
  border-color: var(--primary-50);
  background: var(--primary-light);
}
.usp-card-highlight:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.usp-icon-wrap {
  width: 48px; height: 48px; border-radius: var(--r-lg);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.usp-icon-wrap-accent {
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.usp-icon { font-size: 1.4rem; }
.usp-icon-wrap-accent .usp-icon { filter: brightness(10); }
.usp-card h3 { margin-bottom: 8px; }

/* ════════════════════════════════════════════════════════════════════
   FEATURE BLOCKS (6-block system section)
═══════════════════════════════════════════════════════════════════ */
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 80px 0;
}
/* Override default .reveal on feature-blocks — children animate instead */
.feature-block.reveal {
  opacity: 1; transform: none;
  transition: none;
}
.feature-block-reverse { direction: rtl; }
.feature-block-reverse > * { direction: ltr; }

/* Alternating backgrounds — full-width breakout */
.feature-block-alt {
  background: var(--bg-alt);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 80px calc(50vw - 50%);
}

/* Staggered scroll animations — visual slides in from side, text fades up */
.feature-block .feature-visual {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.feature-block-reverse .feature-visual {
  transform: translateX(40px);
}
.feature-block .feature-text {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s,
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
}
.feature-block.visible .feature-visual,
.feature-block.visible .feature-text {
  opacity: 1; transform: none;
}

.feature-visual { display: flex; justify-content: center; }
.feature-img {
  width: 100%; max-width: 420px;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl, 0 20px 40px rgba(0,0,0,0.12));
}
.feature-placeholder {
  width: 100%; max-width: 320px; aspect-ratio: 9/16;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--r-2xl);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  transition: all 0.3s ease;
}
.feature-placeholder span {
  font-size: 0.85rem; color: var(--text-muted); font-weight: 500;
}
.feature-placeholder:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-50);
}
.feature-transition {
  text-align: center; font-size: 1rem; font-weight: 600;
  color: var(--text-muted); padding: 24px 0;
  letter-spacing: 0.01em;
}
.feature-text .section-label { margin-bottom: 20px; }
.feature-text h3 { margin-bottom: 16px; }
.feature-text .t-body-lg { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════════════════
   STEPS
═══════════════════════════════════════════════════════════════════ */
.steps {
  max-width: 680px; margin: 56px auto 0;
  display: flex; flex-direction: column; gap: 0;
}
.step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-content h3 { margin-bottom: 6px; }

/* ════════════════════════════════════════════════════════════════════
   SCREEN SHOWCASES
═══════════════════════════════════════════════════════════════════ */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.showcase-reverse { direction: rtl; }
.showcase-reverse > * { direction: ltr; }
.showcase-visual { display: flex; justify-content: center; }
.app-screen-img {
  width: 100%; max-width: 420px;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}
.app-screen-img:hover {
  transform: scale(1.02);
}
.showcase-content .section-label { margin-bottom: 20px; }
.showcase-content h2 { margin-bottom: 16px; }
.showcase-content .t-body-lg { margin-bottom: 24px; }
.showcase-checks {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.showcase-checks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; font-weight: 500; color: var(--text-sec);
}

/* ════════════════════════════════════════════════════════════════════
   STORY
═══════════════════════════════════════════════════════════════════ */
.story-inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.story-content .section-label { margin-bottom: 20px; }
.story-content h2 { margin-bottom: 24px; }
.story-text p {
  font-size: 1rem; color: rgba(255,255,255,0.5);
  line-height: 1.8; margin-bottom: 16px;
}
.story-text p:last-child {
  font-weight: 600; color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}
.story-image-wrap {
  width: 100%; max-width: 320px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
}
.story-img {
  width: 100%; display: block;
}
.story-caption {
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
  margin-top: 14px; text-align: center;
  max-width: 320px;
}

.story-stats-row {
  display: flex; gap: 24px; margin-top: 48px;
  position: relative; z-index: 1;
}
.story-stat {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-xl); padding: 24px 28px;
  text-align: center;
}
.story-stat-num {
  font-size: 2.2rem; font-weight: 800; color: #fff;
  letter-spacing: -0.03em;
}
.story-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-top: 4px; }

/* ════════════════════════════════════════════════════════════════════
   PERSONAS
═══════════════════════════════════════════════════════════════════ */
.persona-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.persona-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}
.persona-card:hover {
  border-color: var(--primary-50);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.persona-emoji { font-size: 2.4rem; margin-bottom: 16px; }
.persona-card h3 { margin-bottom: 10px; }

/* ════════════════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════════════ */
.pricing-intro {
  font-size: 1.15rem; font-weight: 600; color: var(--green);
  margin-top: 12px;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 720px; margin: 48px auto 0;
}
.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
}
.pricing-per {
  font-size: 1rem; font-weight: 500; color: var(--text-muted);
}
.btn-ghost-dark {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-ghost-dark:hover { background: var(--primary-light); border-color: var(--primary-50); }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: 36px 32px;
  text-align: left; position: relative;
}
.pricing-card-pro {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}
.pricing-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 16px; border-radius: var(--r-full);
  white-space: nowrap;
}
.pricing-badge {
  font-size: 0.85rem; font-weight: 700; color: var(--primary);
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.pricing-period {
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px;
}
.pricing-features {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: 0.9rem; color: var(--text-sec); padding-left: 24px;
  position: relative;
}
.pricing-features li::before {
  content: '\2713'; position: absolute; left: 0;
  color: var(--green); font-weight: 700;
}
.pricing-btn { width: 100%; }
.pricing-note {
  font-size: 0.78rem; color: var(--text-muted);
  text-align: center; margin-top: 12px;
}
.pricing-reassurance {
  font-size: 0.95rem; font-weight: 600; color: var(--text-muted);
  margin-top: 32px;
}

/* ════════════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 700px; margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 1rem; font-weight: 600;
  color: var(--text); text-align: left; gap: 16px;
}
.faq-question span { flex: 1; }
.faq-chevron {
  flex-shrink: 0; transition: transform 0.3s;
  color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px; padding-bottom: 20px;
}
.faq-answer p {
  font-size: 0.92rem; color: var(--text-sec); line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════════════════════ */
.final-cta {
  background: var(--bg-dark);
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(37,99,235,0.12) 0%, transparent 70%);
}
.final-cta-inner {
  position: relative; z-index: 1;
  text-align: center; padding: 96px 24px;
  max-width: 640px; margin: 0 auto;
}
.final-cta-inner h2 { color: #fff; margin-bottom: 16px; }
.final-cta-inner p {
  font-size: 1.05rem; color: rgba(255,255,255,0.5);
  line-height: 1.7; margin-bottom: 36px;
}
.final-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.final-cta-note {
  font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 14px;
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 56px 24px 32px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand-desc {
  font-size: 0.85rem; color: rgba(255,255,255,0.35);
  line-height: 1.6; margin-top: 16px; max-width: 280px;
}
.footer-col h4 {
  font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 0.88rem; color: rgba(255,255,255,0.4);
  padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.8rem; color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ════════════════════════════════════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 1.1rem; font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px);
  transition: all 0.3s; z-index: 100;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; transform: none; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════════════
   MOBILE STICKY CTA
═══════════════════════════════════════════════════════════════════ */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 14px 20px; z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.mobile-cta .btn {
  width: 100%; justify-content: center;
  padding: 16px 28px; font-size: 1rem;
}
.mobile-cta.visible { transform: none; }

/* ════════════════════════════════════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════════════════════════════════ */
.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal-page .legal-date {
  font-size: 0.88rem; color: var(--text-muted);
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1.2rem; font-weight: 700;
  margin: 40px 0 12px; color: var(--text);
}
.legal-page h3 {
  font-size: 1.05rem; font-weight: 600;
  margin: 28px 0 8px; color: var(--text);
}
.legal-page p {
  font-size: 0.95rem; line-height: 1.8;
  color: var(--text-sec); margin-bottom: 12px;
}
.legal-page ul,
.legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page ul { list-style: disc; }
.legal-page ol { list-style: decimal; }
.legal-page ul li,
.legal-page ol li {
  font-size: 0.95rem; line-height: 1.8;
  color: var(--text-sec); margin-bottom: 4px;
}
.legal-page a {
  color: var(--primary); text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub { margin: 0 auto 24px; }
  .hero-bullets { align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 340px; }

  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .solution-features { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-block { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .feature-block-alt { padding: 48px calc(50vw - 50%); }
  .feature-block-reverse { direction: ltr; }
  .feature-block .feature-visual,
  .feature-block-reverse .feature-visual { transform: translateY(30px); }
  .feature-placeholder { max-width: 280px; margin: 0 auto; }
  .showcase { grid-template-columns: 1fr; gap: 40px; }
  .showcase-reverse { direction: ltr; }
  .app-screen-img { max-width: 280px; margin: 0 auto; }
  .story-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-stats-row { flex-wrap: wrap; }
  .pricing-grid-3 { grid-template-columns: 1fr 1fr; max-width: 720px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-inner { height: 70px; }
  .nav-logo-mark { height: 73px; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; align-items: center; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .phone-mockup { width: 300px; }

  .solution-features { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 400px; }
  .story-stats-row { flex-direction: column; }
  .story-inner { text-align: center; }

  .inline-cta-inner { flex-direction: column; gap: 16px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { justify-content: center; }

  .mobile-cta { display: block; }
  .scroll-top { bottom: 80px; }

  .legal-page { padding: 110px 0 60px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .final-cta-actions { flex-direction: column; align-items: center; }
  .step { gap: 16px; }
}

/* v5 — micro trust additions */
.hero-micro-trust { margin-top: 8px; font-size: 0.95rem; color: rgba(255,255,255,0.78); font-style: italic; }
.hero-soft-proof { margin-top: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.68); }
.kollegium-hint { margin-top: 32px; text-align: center; font-size: 1rem; color: var(--text-sec); font-style: italic; }

/* v5 — testen page additions */
.testen-trust-list { list-style: none; padding: 0; margin: 20px 0 8px; display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: center; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.friction-killer { margin-top: 12px; font-size: 0.88rem; color: rgba(255,255,255,0.65); text-align: center; }
.friction-killer-form { margin-top: 10px; font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.viral-trigger { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-light); font-size: 0.92rem; color: var(--text-sec); text-align: center; font-style: italic; }
.platform-choice { display: flex; gap: 12px; margin-top: 6px; }
.platform-option { flex: 1; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-lg); cursor: pointer; font-weight: 500; transition: all 0.2s; }
.platform-option:hover { border-color: var(--primary); background: var(--primary-light); }
.platform-option input { accent-color: var(--primary); }

/* v5 — store buttons (hero) */
.store-buttons { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.store-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: var(--r-lg);
  background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.2s, background 0.2s;
  min-width: 168px;
}
.store-btn:hover { transform: translateY(-2px); background: #111; }
.store-btn-icon { width: 26px; height: 26px; flex-shrink: 0; background-repeat: no-repeat; background-position: center; background-size: contain; }
.store-btn.ios .store-btn-icon { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/></svg>"); }
.store-btn.android .store-btn-icon { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M17.523 15.341a1.001 1.001 0 100-2.001 1.001 1.001 0 000 2.001m-11.046 0a1.001 1.001 0 110-2.001 1.001 1.001 0 010 2.001m11.405-6.02l1.998-3.459a.416.416 0 00-.153-.567.416.416 0 00-.566.153l-2.022 3.503a12.58 12.58 0 00-10.278 0L5.839 5.448a.416.416 0 10-.72.414l1.998 3.459C3.69 11.137 1.4 14.553 1 18.584h22c-.4-4.031-2.69-7.447-6.118-9.263'/></svg>"); }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn-small { font-size: 0.68rem; opacity: 0.85; }
.store-btn-big { font-size: 1.05rem; font-weight: 700; }
.store-btn-badge { position: absolute; top: -8px; right: -8px; background: var(--primary); color: #fff; font-size: 0.62rem; font-weight: 700; padding: 3px 7px; border-radius: var(--r-full); text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 520px) { .store-buttons { flex-direction: column; } .store-btn { width: 100%; justify-content: center; } }

/* v5 — form select + platform hint */
#platformField {
  width: 100%; padding: 14px 16px;
  font-family: inherit; font-size: 1rem;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: #fff; color: var(--text);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23475569'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#platformField:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
#platformField.error { border-color: var(--red); }
.platform-hint { margin-top: 10px; padding: 10px 14px; background: var(--primary-light); color: var(--primary-dark); border-radius: var(--r-md); font-size: 0.88rem; font-weight: 500; }

/* v6 — Nav Store Buttons (compact) */
.nav-stores { display: inline-flex; gap: 6px; margin-left: 8px; }
.nav-store-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--r-md);
  background: #000; color: #fff !important;
  font-size: 0.78rem; font-weight: 600;
  border: 1px solid #000;
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.nav-store-btn:hover,
.nav-links a.nav-store-btn:hover {
  transform: translateY(-2px) scale(1.04);
  background: var(--primary) !important;
  border-color: var(--primary);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(37,99,235,0.45);
}
.nav-store-icon { width: 16px; height: 16px; flex-shrink: 0; background-repeat: no-repeat; background-position: center; background-size: contain; }
.nav-store-icon.ios { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/></svg>"); }
.nav-store-icon.android { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M17.523 15.341a1.001 1.001 0 100-2.001 1.001 1.001 0 000 2.001m-11.046 0a1.001 1.001 0 110-2.001 1.001 1.001 0 010 2.001m11.405-6.02l1.998-3.459a.416.416 0 00-.153-.567.416.416 0 00-.566.153l-2.022 3.503a12.58 12.58 0 00-10.278 0L5.839 5.448a.416.416 0 10-.72.414l1.998 3.459C3.69 11.137 1.4 14.553 1 18.584h22c-.4-4.031-2.69-7.447-6.118-9.263'/></svg>"); }
@media (max-width: 1024px) { .nav-stores { display: none; } }

/* v6 — Feature-Card Screenshots */
.usp-img {
  width: 100%; height: auto;
  border-radius: var(--r-lg);
  margin: 16px 0 4px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: block;
}

/* v6 — Equalize feature card image alignment */
.usp-grid > .usp-card {
  display: flex; flex-direction: column;
}
.usp-card > h3.t-h3 { min-height: 2.6em; }
.usp-card > h3.t-h3 + p { min-height: 5.6em; }
@media (max-width: 900px) {
  .usp-card > h3.t-h3,
  .usp-card > h3.t-h3 + p { min-height: 0; }
}

/* v6 — Trust layout (image left, cards right on desktop) */
.trust-layout {
  display: grid; grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 56px; align-items: center;
  margin-top: 56px;
}
.trust-visual { display: block; }
.trust-visual img {
  display: block;
  width: 100%; height: auto;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.trust-cards { display: flex; flex-direction: column; gap: 20px; }
.trust-cards .usp-card { padding: 24px 28px; }
@media (max-width: 900px) {
  .trust-layout { grid-template-columns: 1fr; gap: 40px; }
  .trust-visual { max-width: 280px; margin: 0 auto; }
}

/* v6 — Ghost button variant for light backgrounds (pricing) */
.btn-ghost-light {
  background: transparent !important;
  color: var(--text) !important;
  border: 1.5px solid var(--border) !important;
}
.btn-ghost-light:hover {
  background: var(--surface-alt) !important;
  border-color: var(--text-muted) !important;
}

/* v6 — Founder Letter (paper feel) */
.founder-letter {
  max-width: 100%; margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255,253,247,1) 0%, rgba(252,250,243,1) 100%);
  border: 1px solid #ece6d6;
  border-radius: var(--r-lg);
  padding: 72px 80px;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 12px 40px rgba(60,40,10,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.founder-letter::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.founder-letter::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0,0,0,0.03) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 100%, rgba(0,0,0,0.03) 0%, transparent 40%);
  pointer-events: none;
}
.founder-letter > * { position: relative; z-index: 1; }
.founder-head { text-align: left; margin-bottom: 32px; }
.founder-head .t-h2 { text-align: left; }
.founder-head .t-h2 { margin-top: 12px; }
.founder-lede {
  margin-top: 20px;
  font-size: 1.18rem; line-height: 1.7;
  color: var(--text); font-style: italic;
  max-width: none;
}
.founder-body p {
  font-size: 1.02rem; line-height: 1.8;
  color: var(--text-sec); margin-bottom: 18px;
}
.founder-body p strong { color: var(--text); font-weight: 600; }
.founder-quote {
  border-left: 3px solid var(--primary);
  padding: 8px 0 8px 20px;
  margin: 28px 0;
  font-size: 1.18rem; font-weight: 600; line-height: 1.5;
  color: var(--text); font-style: italic;
}
.founder-list {
  list-style: none; padding: 0;
  margin: 8px 0 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.founder-list li {
  font-size: 1.02rem; color: var(--text-sec);
  padding: 10px 16px;
  background: var(--bg-alt);
  border-radius: var(--r-md);
}
.founder-list li span {
  font-weight: 700; color: var(--primary);
}
.founder-closing {
  margin-top: 32px;
  padding: 24px;
  background: var(--primary-light);
  border-radius: var(--r-lg);
  font-size: 1.05rem !important;
  color: var(--text) !important;
  font-weight: 500;
}
.founder-sign {
  clear: both;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid #ece6d6;
  text-align: right;
}
.founder-sign-name {
  font-family: 'Inter', cursive;
  font-size: 1.6rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.01em;
  font-style: italic;
}
.founder-sign-role {
  margin-top: 4px;
  font-size: 0.88rem; color: var(--text-muted);
  letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600;
}
@media (max-width: 700px) {
  .founder-letter { padding: 40px 24px; }
  .founder-quote { font-size: 1.05rem; padding-left: 16px; }
  .founder-head, .founder-head .t-h2 { text-align: center; }
}

/* v6 — Founder photo (Polaroid, header grid) */
.founder-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}
.founder-photo {
  width: 320px; height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 8px 24px rgba(60,40,10,0.18);
  transform: rotate(-1.5deg);
}
.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 760px) {
  .founder-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .founder-photo { width: 220px; height: 220px; }
}
@media (max-width: 700px) {
  .founder-photo { width: 140px; height: 140px; }
}

/* v6 — Ratgeber Übersicht */
.ratgeber-hero {
  padding: 160px 0 60px;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.ratgeber-hero .section-label { margin-bottom: 20px; }
.ratgeber-hero .t-hero { font-size: clamp(1.8rem, 4.5vw, 3rem); }
.ratgeber-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px;
}
.ratgeber-card {
  display: block; padding: 32px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ratgeber-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-50);
  box-shadow: var(--shadow-md);
}
.ratgeber-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-light);
  padding: 4px 10px; border-radius: var(--r-full);
  margin-bottom: 16px;
}
.ratgeber-card h2 { margin-bottom: 12px; }
.ratgeber-card p { color: var(--text-sec); font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }
.ratgeber-cta { color: var(--primary); font-weight: 600; font-size: 0.92rem; }

/* v6 — Article (Schülernotizen etc.) */
.article { padding: 140px 0 80px; }
.article-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.article-breadcrumb {
  font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 28px;
}
.article-breadcrumb a { color: var(--primary); }
.article-breadcrumb span { margin: 0 6px; }
.article-header { margin-bottom: 40px; }
.article-header .t-hero {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: 16px;
  text-align: left;
}
.article-lede {
  font-size: 1.18rem; line-height: 1.7;
  color: var(--text-sec); font-style: italic;
  margin-top: 20px;
}
.article-body p {
  font-size: 1.05rem; line-height: 1.85;
  color: var(--text);
  margin-bottom: 20px;
}
.article-body h2 {
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  color: var(--text);
}
.article-body h3 {
  font-size: 1.2rem; font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}
.article-body ul,
.article-body ol {
  padding-left: 28px;
  margin: 16px 0 24px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body ul li,
.article-body ol li {
  font-size: 1.02rem; line-height: 1.8;
  color: var(--text); margin-bottom: 6px;
  padding-left: 4px;
}
.article-body ol li::marker { font-weight: 700; color: var(--primary); }
.article-body blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.15rem; font-weight: 600;
  color: var(--text); font-style: italic;
}
.article-body a {
  color: var(--primary); text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--primary-dark); }
.article-cta {
  margin: 56px 0 32px;
  padding: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  text-align: center;
}
.article-cta h3 { margin-bottom: 12px; }
.article-cta p { color: var(--text-sec); line-height: 1.7; max-width: 560px; margin: 0 auto; }
.article-cta .store-buttons { justify-content: center; }
.article-back {
  margin-top: 32px; text-align: center;
}
.article-back a { color: var(--primary); font-weight: 600; }
@media (max-width: 760px) {
  .article { padding: 110px 0 60px; }
  .article-cta { padding: 28px 20px; }
}

/* v6 — Ratgeber featured card with image */
.ratgeber-card-feat {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 40px; padding: 0;
  overflow: hidden;
  align-items: stretch;
  min-height: 380px;
}
.ratgeber-card-img {
  overflow: hidden;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ratgeber-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(14,165,233,0.06));
  pointer-events: none;
}
.ratgeber-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.ratgeber-card-text {
  padding: 36px 40px 36px 0;
  display: flex; flex-direction: column; justify-content: center;
}
.ratgeber-card-feat .ratgeber-tag { margin-bottom: 14px; }
.ratgeber-card-feat h2 { margin-bottom: 12px; line-height: 1.25; }
@media (max-width: 760px) {
  .ratgeber-card-feat { grid-template-columns: 1fr; gap: 0; }
  .ratgeber-card-img { aspect-ratio: 16 / 10; }
  .ratgeber-card-text { padding: 28px; }
}

/* v6 — Ratgeber SVG illustration */
.ratgeber-illu {
  width: 100%; height: 100%;
  display: block;
}
.ratgeber-card-img:has(.ratgeber-illu) { padding: 0; }

/* v6 — Ratgeber Quote-Hero (editorial Typo-Illu) */
.ratgeber-quote-hero {
  background:
    radial-gradient(ellipse 70% 80% at 20% 30%, rgba(37,99,235,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(14,165,233,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
  color: #fff;
  padding: 44px 40px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 16px;
}
.ratgeber-quote-hero::after { display: none; }
.rqh-label {
  display: inline-flex; align-self: flex-start;
  padding: 5px 12px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.1);
  color: #93C5FD;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
}
.rqh-quote {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700; line-height: 1.35;
  color: #fff; letter-spacing: -0.01em;
  margin: 0;
}
.rqh-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.rqh-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981; box-shadow: 0 0 0 4px rgba(16,185,129,0.2);
}
.rqh-wave {
  display: flex; align-items: center; gap: 4px;
  height: 32px; margin-top: 4px;
}
.rqh-wave span {
  display: block; width: 4px;
  background: linear-gradient(180deg, #60A5FA, #2563EB);
  border-radius: 2px;
  animation: rqhWave 1.4s ease-in-out infinite;
}
.rqh-wave span:nth-child(1)  { height: 30%; animation-delay: 0.00s; }
.rqh-wave span:nth-child(2)  { height: 60%; animation-delay: 0.08s; }
.rqh-wave span:nth-child(3)  { height: 90%; animation-delay: 0.16s; }
.rqh-wave span:nth-child(4)  { height: 70%; animation-delay: 0.24s; }
.rqh-wave span:nth-child(5)  { height: 40%; animation-delay: 0.32s; }
.rqh-wave span:nth-child(6)  { height: 80%; animation-delay: 0.40s; }
.rqh-wave span:nth-child(7)  { height: 95%; animation-delay: 0.48s; }
.rqh-wave span:nth-child(8)  { height: 55%; animation-delay: 0.56s; }
.rqh-wave span:nth-child(9)  { height: 70%; animation-delay: 0.64s; }
.rqh-wave span:nth-child(10) { height: 35%; animation-delay: 0.72s; }
.rqh-wave span:nth-child(11) { height: 60%; animation-delay: 0.80s; }
.rqh-wave span:nth-child(12) { height: 80%; animation-delay: 0.88s; }
.rqh-wave span:nth-child(13) { height: 45%; animation-delay: 0.96s; }
.rqh-wave span:nth-child(14) { height: 25%; animation-delay: 1.04s; }
@keyframes rqhWave {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}
@media (max-width: 760px) {
  .ratgeber-quote-hero { aspect-ratio: auto; padding: 36px 28px; }
}

/* ═══ v6 — Article SEO Layout (TOC + Progress + FAQ + Author) ═══ */

/* Reading progress bar */
.reading-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 1100;
  background: transparent; pointer-events: none;
}
.reading-progress > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.12s linear;
}

/* Article layout: main + sticky TOC */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px;
  gap: 64px; align-items: start;
}
.article-main { min-width: 0; }
.article-toc {
  position: sticky; top: 110px;
  align-self: start;
  padding: 24px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}
.article-toc-title {
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px;
}
.article-toc ol {
  list-style: none; padding: 0; margin: 0;
  counter-reset: toc;
}
.article-toc li { counter-increment: toc; }
.article-toc a {
  display: block; padding: 6px 0 6px 22px;
  font-size: 0.88rem; line-height: 1.4;
  color: var(--text-sec);
  border-left: 2px solid transparent;
  margin-left: -2px; padding-left: 14px;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
}
.article-toc a::before {
  content: counter(toc) '. ';
  color: var(--text-muted); font-weight: 600;
}
.article-toc a:hover { color: var(--text); }
.article-toc a.active {
  color: var(--primary); border-left-color: var(--primary);
  font-weight: 600;
}
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-toc { display: none; }
}

/* Headings get scroll-margin so anchor jumps don't hide under fixed nav */
.article-body h2,
.article-body h3,
.article-faq,
.article-author,
.article-related { scroll-margin-top: 110px; }

/* Author mini in header */
.article-meta {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem; color: var(--text-muted);
}
.article-author-mini {
  display: inline-flex; align-items: center; gap: 12px;
}
.article-author-mini img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
}
.article-author-mini strong {
  display: block; color: var(--text);
  font-size: 0.92rem; font-weight: 700;
}
.article-author-mini span {
  display: block; font-size: 0.78rem; color: var(--text-muted);
}
.article-meta-divider {
  width: 1px; height: 24px; background: var(--border);
}
.article-meta-dot { color: var(--text-muted); }

/* FAQ block (native <details>) */
.article-faq {
  margin-top: 64px; padding-top: 48px;
  border-top: 1px solid var(--border);
}
.article-faq h2 {
  font-size: 1.8rem; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.faq-q {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-q summary {
  list-style: none; cursor: pointer;
  padding: 18px 24px;
  font-size: 1.05rem; font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after {
  content: '+'; font-size: 1.4rem; font-weight: 400;
  color: var(--primary); transition: transform 0.2s;
  line-height: 1;
}
.faq-q[open] summary::after { content: '–'; }
.faq-q p {
  padding: 0 24px 22px;
  font-size: 1rem; line-height: 1.75;
  color: var(--text-sec);
}
.faq-q a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* Author block */
.article-author {
  margin-top: 64px; padding: 40px;
  display: grid; grid-template-columns: 140px 1fr;
  gap: 36px; align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
}
.article-author-img {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--primary-50), var(--shadow-md);
}
.article-author-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.article-author-text .section-label { margin-bottom: 12px; }
.article-author-text h2 { margin-bottom: 10px; }
.article-author-text p {
  font-size: 0.98rem; line-height: 1.75;
  color: var(--text-sec); margin-bottom: 10px;
}
.article-author-text a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .article-author { grid-template-columns: 1fr; text-align: center; padding: 28px; }
  .article-author-img { margin: 0 auto; width: 120px; height: 120px; }
}

/* Related cards */
.article-related { margin-top: 56px; }
.article-related h2 { margin-bottom: 20px; }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.related-card {
  display: block; padding: 22px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-50);
  box-shadow: var(--shadow-sm);
}
.related-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-light);
  padding: 3px 8px; border-radius: var(--r-full);
  margin-bottom: 10px;
}
.related-card strong {
  display: block; font-size: 1rem; color: var(--text);
  margin-bottom: 6px; font-weight: 700;
}
.related-card p {
  font-size: 0.88rem; color: var(--text-sec); line-height: 1.5;
  margin: 0;
}

/* Ratgeber categories + sections */
.ratgeber-categories {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 90px; z-index: 50;
}
.ratgeber-cat-list {
  list-style: none; display: flex; gap: 4px;
  padding: 12px 0; margin: 0;
  flex-wrap: wrap;
}
.ratgeber-cat {
  display: inline-block;
  padding: 7px 14px; border-radius: var(--r-full);
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-sec);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.ratgeber-cat:hover { color: var(--text); background: var(--surface-alt); }
.ratgeber-cat.is-active {
  background: var(--primary-light); color: var(--primary);
  border-color: var(--primary-50);
}
.ratgeber-section-title {
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.ratgeber-section-sub {
  color: var(--text-sec); margin-bottom: 28px;
  font-size: 1rem;
}

/* Upcoming grid */
.ratgeber-upcoming-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.ratgeber-card-soon {
  padding: 28px; position: relative;
  background: #fff; opacity: 0.92;
}
.ratgeber-card-soon:hover {
  transform: none; border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.ratgeber-tag-soon {
  background: var(--surface-alt); color: var(--text-muted);
}
.ratgeber-card-soon h3 { margin-bottom: 10px; font-size: 1.1rem; }
.ratgeber-card-soon p { font-size: 0.92rem; color: var(--text-sec); margin-bottom: 16px; }
.ratgeber-soon {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px; border-radius: var(--r-full);
  background: var(--surface-alt);
}

/* v6 — Ratgeber Agenda-Hero (Elterngespräche teaser) */
.ratgeber-agenda-hero {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(14,165,233,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(37,99,235,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
  color: #fff;
  padding: 36px 36px;
  display: flex; flex-direction: column;
  gap: 18px; justify-content: center;
}
.ratgeber-agenda-hero::after { display: none; }
.rah-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.rah-date {
  display: inline-flex;
  padding: 5px 12px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.1);
  color: #93C5FD;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
}
.rah-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.rah-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981; box-shadow: 0 0 0 4px rgba(16,185,129,0.2);
}
.rah-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800; color: #fff; letter-spacing: -0.01em;
  margin: 0;
}
.rah-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.rah-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem; font-weight: 500;
}
.rah-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  flex-shrink: 0;
}
.rah-footer {
  display: flex; align-items: center; gap: 10px;
  margin-top: 4px;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
  font-style: italic;
}
.rah-icon { font-size: 1rem; }

/* ═══ v6 — Editorial Upcoming Section (Apple/Linear/Notion style) ═══ */
.upcoming { background: #fff; }
.upcoming-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.upcoming-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 18px;
}
.upcoming-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.1; color: var(--text);
  margin: 0 0 14px;
}
.upcoming-sub {
  font-size: 1.1rem; line-height: 1.6;
  color: var(--text-sec); margin: 0;
}

.upcoming-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.upcoming-card {
  position: relative;
  padding: 40px 36px 36px;
  background: #fff;
  display: flex; flex-direction: column;
  min-height: 240px;
  transition: background 0.25s ease;
}
.upcoming-card:hover {
  background: var(--bg-alt);
}
.upcoming-num {
  position: absolute; top: 28px; right: 32px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.upcoming-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.upcoming-cat {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary);
}
.upcoming-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.upcoming-status::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.6;
}
.upcoming-card-title {
  font-size: 1.18rem; font-weight: 700;
  line-height: 1.35; letter-spacing: -0.015em;
  color: var(--text); margin: 0 0 12px;
  max-width: 32ch;
}
.upcoming-card-desc {
  font-size: 0.95rem; line-height: 1.65;
  color: var(--text-sec);
  margin: auto 0 0;
  max-width: 48ch;
}

@media (max-width: 760px) {
  .upcoming-grid { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .upcoming-card { padding: 32px 24px 28px; min-height: 0; }
  .upcoming-num { top: 22px; right: 22px; }
}

/* v6 — Upcoming Cards (made clickable for live articles) */
.upcoming-card-link { position: relative; cursor: pointer; }
.upcoming-link { position: absolute; inset: 0; z-index: 1; }
.upcoming-status-live {
  color: var(--primary) !important;
  font-weight: 700 !important;
}
.upcoming-status-live::before {
  background: var(--primary) !important;
  opacity: 1 !important;
}

/* v6 — Additional Teaser-Hero Variants (Lehrerorg, Unterricht, Apps, Sitzplan) */

/* Shared task/agenda-hero family — same dark base */
.ratgeber-task-hero,
.ratgeber-timeline-hero,
.ratgeber-criteria-hero,
.ratgeber-seats-hero {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(14,165,233,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(37,99,235,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
  color: #fff;
  padding: 36px 36px;
  display: flex; flex-direction: column;
  gap: 18px; justify-content: center;
}
.ratgeber-task-hero::after,
.ratgeber-timeline-hero::after,
.ratgeber-criteria-hero::after,
.ratgeber-seats-hero::after { display: none; }

/* Different background tints per topic for subtle distinction */
.ratgeber-task-hero {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(245,158,11,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(37,99,235,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
}
.ratgeber-timeline-hero {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(16,185,129,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(37,99,235,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
}
.ratgeber-criteria-hero {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(37,99,235,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
}
.ratgeber-seats-hero {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(13,148,136,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(37,99,235,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
}

/* Open-circle checkmark (for "todo" items) */
.rah-check-todo {
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.5) !important;
  border: 1.5px solid rgba(255,255,255,0.2);
  font-weight: 400 !important;
}

/* Numbered list (criteria-hero) */
.rah-list-criteria .rah-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.04em;
  color: #93C5FD;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* Timeline (timeline-hero) */
.rth-timeline {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 8px;
  position: relative;
}
.rth-timeline::before {
  content: ''; position: absolute;
  left: 38px; top: 8px; bottom: 8px;
  width: 1px; background: rgba(255,255,255,0.12);
}
.rth-timeline li {
  display: flex; align-items: center; gap: 16px;
  padding: 8px 14px 8px 0;
  position: relative;
}
.rth-timeline time {
  display: inline-block;
  min-width: 56px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.04em;
  color: #93C5FD;
  font-variant-numeric: tabular-nums;
  background: rgba(37,99,235,0.18);
  padding: 4px 8px; border-radius: 6px;
  text-align: center;
  z-index: 1;
}
.rth-timeline span {
  font-size: 0.88rem; line-height: 1.4;
  color: rgba(255,255,255,0.82);
}

/* Seats grid (seats-hero) */
.rsh-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
}
.rsh-grid > span {
  aspect-ratio: 1.4 / 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}
.rsh-grid > span.rsh-mark {
  background: rgba(245,158,11,0.35);
  border-color: rgba(245,158,11,0.6);
}
.rsh-grid > span.rsh-active {
  background: rgba(37,99,235,0.4);
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.3);
}

/* v6 — Teaser-Hero Variants for new ratgeber articles */
.ratgeber-foerder-hero,
.ratgeber-leitung-hero,
.ratgeber-bogen-hero,
.ratgeber-classbook-hero,
.ratgeber-elternabend-hero {
  color: #fff;
  padding: 36px 36px;
  display: flex; flex-direction: column;
  gap: 18px; justify-content: center;
}
.ratgeber-foerder-hero::after,
.ratgeber-leitung-hero::after,
.ratgeber-bogen-hero::after,
.ratgeber-classbook-hero::after,
.ratgeber-elternabend-hero::after { display: none; }

.ratgeber-foerder-hero {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(239,68,68,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(37,99,235,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
}
.ratgeber-leitung-hero {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(14,165,233,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(124,58,237,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
}
.ratgeber-bogen-hero {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(16,185,129,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(37,99,235,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
}
.ratgeber-classbook-hero {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(245,158,11,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(13,148,136,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
}
.ratgeber-elternabend-hero {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(14,165,233,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(37,99,235,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0A1628 0%, #111D35 100%);
}

/* v6 — Founder Video Embed */
.founder-video {
  margin: 40px 0 16px;
  padding-top: 32px;
  border-top: 1px solid #ece6d6;
}
.founder-video-intro {
  font-size: 0.98rem;
  color: var(--text-sec);
  font-style: italic;
  margin-bottom: 20px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.founder-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(60,40,10,0.15);
  background: #000;
  max-width: 880px;
  margin: 0 auto;
}
.founder-video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.founder-video-fallback {
  text-align: center;
  margin-top: 12px;
  font-size: 0.88rem;
}
.founder-video-fallback a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* v6 — Lite YouTube Embed (click-to-load) */
.founder-video-lite {
  position: relative;
  display: block;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 0;
  padding: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(60,40,10,0.15);
  transition: transform 0.25s ease;
}
.founder-video-lite:hover { transform: translateY(-2px); }
.founder-video-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}
.founder-video-lite:hover .founder-video-thumb { opacity: 0.85; }
.founder-video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.founder-video-lite:hover .founder-video-play {
  transform: translate(-50%, -50%) scale(1.08);
}
.founder-video-lite.is-loaded { cursor: default; }
.founder-video-lite.is-loaded .founder-video-play,
.founder-video-lite.is-loaded .founder-video-thumb { display: none; }
.founder-video-lite iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
