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

:root {
  --ink: #0B1D2E;
  --ink-light: #3A5068;
  --ink-muted: #7A8B9A;
  --surface: #FAFBFC;
  --white: #FFFFFF;
  --accent: #2D8CFF;
  --accent-glow: rgba(45, 140, 255, 0.15);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --kap1: #2D6A4F; --kap2: #1565C0; --kap3: #6A1E55;
  --kap4: #B71C1C; --kap5: #E65100; --kap6: #1B5E20;
}

html { scroll-behavior: smooth; }

/* ═══════════════════════════════
   NAV SCROLLED STATE
   ═══════════════════════════════ */
.nav.scrolled {
  background: rgba(11, 29, 46, 0.95);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ═══════════════════════════════
   NAV BAR
   ═══════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 29, 46, 0.6);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--white) !important;
  color: var(--ink) !important;
  padding: 7px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
}

/* ═══════════════════════════════
   HERO
   ═══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero-bg.jpg') center / cover no-repeat;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(45,140,255,0.08) 0%, transparent 70%),
    linear-gradient(180deg, rgba(11,29,46,0.4) 0%, rgba(11,29,46,0.95) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

@keyframes grain-drift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-4px, 3px); }
  40%  { transform: translate(3px, -2px); }
  60%  { transform: translate(-2px, -4px); }
  80%  { transform: translate(4px, 2px); }
  100% { transform: translate(0, 0); }
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1) translate(-50%, -50%); opacity: 0.18; }
  50%       { transform: scale(1.12) translate(-50%, -50%); opacity: 0.28; }
}

@keyframes hero-cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,140,255,0), 0 4px 20px rgba(0,0,0,0.15); }
  50%       { box-shadow: 0 0 0 6px rgba(45,140,255,0.18), 0 4px 20px rgba(0,0,0,0.15); }
}

@keyframes float-a {
  0%, 100% { transform: rotate(-4deg) translateY(0px); }
  50%       { transform: rotate(-4deg) translateY(-10px); }
}
@keyframes float-b {
  0%, 100% { transform: rotate(2deg) translateY(0px); }
  50%       { transform: rotate(2deg) translateY(-7px); }
}
@keyframes float-c {
  0%, 100% { transform: rotate(-1deg) translateY(0px); }
  50%       { transform: rotate(-1deg) translateY(-12px); }
}
@keyframes float-d {
  0%, 100% { transform: rotate(3deg) translateY(0px); }
  50%       { transform: rotate(3deg) translateY(-8px); }
}
@keyframes float-e {
  0%, 100% { transform: rotate(-3deg) translateY(0px); }
  50%       { transform: rotate(-3deg) translateY(-9px); }
}
@keyframes float-f {
  0%, 100% { transform: rotate(1deg) translateY(0px); }
  50%       { transform: rotate(1deg) translateY(-6px); }
}

@keyframes step-icon-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,140,255,0); }
  50%       { box-shadow: 0 0 0 8px rgba(45,140,255,0.12); }
}

@keyframes mail-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}

.hero-grain::before {
  content: '';
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  background-image: inherit;
  background-size: inherit;
  animation: grain-drift 20s ease-in-out infinite;
  opacity: 1;
}

/* Hero ambient orb */
.hero::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 22%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,140,255,0.22) 0%, rgba(45,140,255,0.06) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  transform-origin: center center;
  animation: orb-pulse 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 48px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text { color: var(--white); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--white);
  border: none;
}

.hero h1 span {
  display: block;
  font-family: var(--sans);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  align-items: center;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-primary {
  background: var(--white);
  color: var(--ink);
  animation: hero-cta-glow 3s ease-in-out infinite;
  cursor: pointer;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 5px rgba(45,140,255,0.25);
  animation: none;
}

.btn-hero-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.btn-hero-primary:hover svg {
  transform: translateX(3px);
}

.btn-hero-ghost {
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}

.btn-hero-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-value {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

/* Hero LP21 trust badge */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 6px 14px;
  background: rgba(45,140,255,0.1);
  border: 1px solid rgba(45,140,255,0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hero right side: floating chapter preview cards */
.hero-visual {
  position: relative;
  height: 560px;
}

.hero-card {
  position: absolute;
  width: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover { transform: translateY(-8px) rotate(0deg) !important; }

.hero-card-inner {
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: white;
  background-size: cover;
  background-position: center;
}

.hero-card-num {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
}

.hero-card-title {
  font-family: var(--serif);
  font-size: 16px;
  margin-top: 2px;
}

.hc-1 { top: 0; left: 20px; z-index: 6; animation: float-a 5.5s ease-in-out infinite; }
.hc-2 { top: 30px; left: 200px; z-index: 5; animation: float-b 6.8s ease-in-out infinite 0.8s; }
.hc-3 { top: 160px; left: 60px; z-index: 4; animation: float-c 5.2s ease-in-out infinite 1.4s; }
.hc-4 { top: 200px; left: 230px; z-index: 3; animation: float-d 7.1s ease-in-out infinite 0.3s; }
.hc-5 { top: 340px; left: 30px; z-index: 2; animation: float-e 6.0s ease-in-out infinite 1.1s; }
.hc-6 { top: 390px; left: 190px; z-index: 1; animation: float-f 5.8s ease-in-out infinite 0.6s; }
.hero-card:hover { transform: translateY(-8px) !important; animation-play-state: paused !important; }

/* ═══════════════════════════════
   SECTION SHARED
   ═══════════════════════════════ */
.section {
  padding: 100px 48px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--ink);
  border: none;
}

.section-heading-light {
  color: var(--white);
}

.section-sub {
  font-size: 17px;
  color: var(--ink-muted);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 560px;
}

.section-sub-light {
  color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════
   FEATURES
   ═══════════════════════════════ */
.features { background: var(--surface); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #E8ECF0;
  border-radius: 16px;
  overflow: hidden;
}

.feature {
  background: var(--white);
  padding: 36px 28px;
  position: relative;
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 3px solid transparent;
  cursor: default;
}

.feature:nth-child(1) { border-top-color: var(--kap1); }
.feature:nth-child(2) { border-top-color: var(--kap2); }
.feature:nth-child(3) { border-top-color: var(--kap5); }
.feature:nth-child(4) { border-top-color: var(--kap4); }

.feature:hover {
  background: #F8FAFC;
  box-shadow: 0 12px 40px rgba(11,29,46,0.1);
  z-index: 1;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature:nth-child(1) .feature-icon-wrap { background: rgba(45,106,79,0.1); color: var(--kap1); }
.feature:nth-child(2) .feature-icon-wrap { background: rgba(21,101,192,0.1); color: var(--kap2); }
.feature:nth-child(3) .feature-icon-wrap { background: rgba(230,81,0,0.1); color: var(--kap5); }
.feature:nth-child(4) .feature-icon-wrap { background: rgba(183,28,28,0.1); color: var(--kap4); }

.feature-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-light);
}

/* ═══════════════════════════════
   CHAPTERS
   ═══════════════════════════════ */
.chapters { background: var(--white); }

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ch-card {
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
  background: var(--white);
  border: 1px solid #EDF0F3;
}

.ch-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 64px rgba(11,29,46,0.18);
}

.ch-card[data-kap="1"]:hover { box-shadow: 0 20px 60px rgba(45,106,79,0.22), 0 4px 12px rgba(0,0,0,0.1); }
.ch-card[data-kap="2"]:hover { box-shadow: 0 20px 60px rgba(21,101,192,0.22), 0 4px 12px rgba(0,0,0,0.1); }
.ch-card[data-kap="3"]:hover { box-shadow: 0 20px 60px rgba(106,30,85,0.22), 0 4px 12px rgba(0,0,0,0.1); }
.ch-card[data-kap="4"]:hover { box-shadow: 0 20px 60px rgba(183,28,28,0.22), 0 4px 12px rgba(0,0,0,0.1); }
.ch-card[data-kap="5"]:hover { box-shadow: 0 20px 60px rgba(230,81,0,0.22), 0 4px 12px rgba(0,0,0,0.1); }
.ch-card[data-kap="6"]:hover { box-shadow: 0 20px 60px rgba(27,94,32,0.22), 0 4px 12px rgba(0,0,0,0.1); }

.ch-card-img {
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.ch-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.5) 100%);
}

.ch-card-img > * { position: relative; z-index: 1; }

.ch-num {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.85;
  font-weight: 600;
}

.ch-card-img h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  margin-top: 4px;
  color: var(--white);
}

.ch-card-body {
  padding: 16px 20px;
}

.ch-card-body p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.ch-card-icon {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: var(--ink-light);
  opacity: 0.6;
}

.ch-card-icon svg {
  width: 16px;
  height: 16px;
}

/* Chapter card hover arrow */
.ch-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  color: var(--ink-muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ch-card-arrow svg {
  width: 16px;
  height: 16px;
}

.ch-card:hover .ch-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Progress dot */
.ch-progress-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E0E0E0;
  margin-top: 10px;
  transition: background 0.3s;
}

.ch-progress-dot.has-progress { background: #22C55E; }
.ch-progress-dot.in-progress  { background: var(--accent); }

/* ═══════════════════════════════
   TEACHERS
   ═══════════════════════════════ */
.teachers {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.teachers::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,140,255,0.06) 0%, transparent 70%);
}

/* Dot grid decorative pattern */
.teachers::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.teachers-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px 56px;
  align-items: start;
}

.teacher-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}

.tf-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tf-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.tf-icon svg { width: 20px; height: 20px; }

.tf-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.tf-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.teacher-cta-box {
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Gradient border via pseudo-element */
.teacher-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(45,140,255,0.3), rgba(255,255,255,0.08), rgba(45,140,255,0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.teacher-cta-box h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--white);
}

.teacher-cta-box p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  line-height: 1.6;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-cta svg {
  animation: mail-pulse 2.5s ease-in-out infinite;
}

.btn-cta:hover {
  background: #1a7aef;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(45,140,255,0.3);
}

.teacher-hint {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
}

.teacher-login-link {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.teacher-login-link:hover { color: var(--white); text-decoration: underline; }

/* Login-Modal */
.lehrer-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.lehrer-modal-backdrop.is-open { display: flex; }
.lehrer-modal {
  background: white;
  border-radius: 16px;
  padding: 36px 32px 28px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  color: var(--ink, #1a1a2e);
  font-family: 'DM Sans', -apple-system, sans-serif;
}
.lehrer-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #9E9E9E;
  line-height: 1;
}
.lehrer-modal-header { text-align: center; margin-bottom: 22px; }
.lehrer-modal-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg,#1A3A5C,#2c5f8a);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
}
.lehrer-modal h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  margin: 0 0 4px;
  color: #1A3A5C;
  font-weight: 400;
}
.lehrer-modal .lehrer-modal-sub {
  color: #6b7280;
  font-size: 13px;
  margin: 0;
}
.lehrer-modal label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.lehrer-modal input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.lehrer-modal input:focus { border-color: #1A3A5C; }
.lehrer-modal #pw-error {
  color: #C62828;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}
.lehrer-modal-submit {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: linear-gradient(135deg,#1A3A5C,#2c5f8a);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}
.lehrer-modal-submit:hover { opacity: 0.9; }
.lehrer-modal-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #F0F0F0;
}
.lehrer-modal-footer p { color: #9E9E9E; font-size: 12px; margin: 0 0 8px; }
.lehrer-modal-footer a {
  color: #1565C0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.lehrer-modal-footer a:hover { text-decoration: underline; }

/* ═══════════════════════════════
   STUDENTS
   ═══════════════════════════════ */
.students {
  background: linear-gradient(180deg, var(--surface) 0%, #EEF4FF 60%, #F5F0FF 100%);
  text-align: center;
}

.students-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.s-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid #D8E4F0;
  color: var(--ink-light);
  box-shadow: 0 2px 8px rgba(11,29,46,0.06);
}

.s-badge svg {
  width: 16px;
  height: 16px;
  color: #22C55E;
  flex-shrink: 0;
}

.btn-students {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  animation: hero-cta-glow 3s ease-in-out infinite 1.5s;
  cursor: pointer;
}

.btn-students:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(11,29,46,0.25), 0 0 0 4px rgba(45,140,255,0.15);
  animation: none;
}

.btn-students svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.btn-students:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
.footer {
  background: #060F18;
  color: rgba(255,255,255,0.5);
  padding: 40px 48px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 18px;
  color: rgba(255,255,255,0.8);
}

.footer-meta {
  font-size: 13px;
  text-align: right;
}

.footer-legal {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.footer-legal a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--white); }

.footer-meta span { opacity: 0.5; }

/* ═══════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ═══════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════ */
.how-it-works {
  background: var(--surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(16.666% + 30px);
  right: calc(16.666% + 30px);
  height: 2px;
  background: linear-gradient(90deg, var(--kap1) 0%, var(--kap2) 50%, var(--kap3) 100%);
  opacity: 0.4;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  padding: 0 32px 40px;
  text-align: center;
}

.step-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
}

.step-icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.step:nth-child(1) .step-icon-wrap { background: var(--kap1); animation: step-icon-pulse 4s ease-in-out infinite; }
.step:nth-child(2) .step-icon-wrap { background: var(--kap2); animation: step-icon-pulse 4s ease-in-out infinite 1.3s; }
.step:nth-child(3) .step-icon-wrap { background: var(--kap3); animation: step-icon-pulse 4s ease-in-out infinite 2.6s; }

.step-num {
  font-family: var(--serif);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.step h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
  max-width: 220px;
  margin: 0 auto;
}

/* ═══════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════ */
.testimonials {
  background: var(--surface);
  border-top: 1px solid #EDF0F3;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid #EDF0F3;
  border-radius: 16px;
  padding: 44px 36px 32px;
  position: relative;
  overflow: hidden;
}

/* Accent bar at top */
.testimonial-card:nth-child(1)::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--kap2); border-radius: 16px 16px 0 0; }
.testimonial-card:nth-child(2)::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--kap5); border-radius: 16px 16px 0 0; }
.testimonial-card:nth-child(3)::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--kap3); border-radius: 16px 16px 0 0; }

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 26px;
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.testimonial-quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-light);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  padding-left: 16px;
  border-left: 2px solid #EDF0F3;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.testimonial-role {
  font-size: 12px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ═══════════════════════════════
   FOOTER (MODERNIZED)
   ═══════════════════════════════ */
.footer {
  background: linear-gradient(135deg, var(--ink) 0%, #162536 100%);
  color: rgba(255,255,255,0.5);
  padding: 64px 48px 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--kap1), var(--kap2), var(--accent), var(--kap3), var(--kap4), var(--kap5), var(--kap6));
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}

.footer-brand-block .footer-brand {
  font-family: var(--serif);
  font-size: 22px;
  color: rgba(255,255,255,0.9);
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.55;
  max-width: 200px;
}

.footer-lp21-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 5px 12px;
  background: rgba(45,140,255,0.1);
  border: 1px solid rgba(45,140,255,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.footer-links-col h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-links-col ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.footer-links-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links-col ul li a:hover { color: var(--white); }

.footer-links-col-right ul {
  grid-template-columns: 1fr;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover { color: rgba(255,255,255,0.75); }

.footer-copy { opacity: 0.35; }

/* ═══════════════════════════════
   COFFEE / SUPPORT
   ═══════════════════════════════ */
.coffee-section {
  background: var(--white);
  border-top: 1px solid #EDF0F3;
  padding: 72px 48px;
}

.coffee-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.coffee-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFBE6;
  border: 1px solid #FFE066;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #92400E;
}

.coffee-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.coffee-heading {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 10px;
  border: none;
}

.coffee-sub {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-coffee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #FFDD00;
  color: #1e293b;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 221, 0, 0.25);
}

.btn-coffee:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 221, 0, 0.35);
  background: #FFE533;
}

.btn-coffee svg {
  flex-shrink: 0;
}

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .chapters-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-content { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 64px 20px; }
  .hero-content { padding: 120px 24px 80px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .chapters-grid { grid-template-columns: 1fr; }
  .teacher-features { grid-template-columns: 1fr; }
  .teacher-cta-box { padding: 28px 20px; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .coffee-section { padding: 56px 20px; }
  .footer { padding: 48px 20px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links-col ul { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════
   GLOBAL CURSOR + INTERACTION
   ═══════════════════════════════ */
a, button, [role="button"], .ch-card, .nav-cta, .btn-hero, .btn-cta, .btn-students {
  cursor: pointer;
}

/* ═══════════════════════════════
   PREFERS-REDUCED-MOTION
   ═══════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
