/* Escolu – Webseite. Farben und Schriften aus docs/corporate-design.md. Mobil zuerst. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-weight: 600; font-display: swap; src: url(fonts/lexend-latin-600-normal.woff2) format('woff2'); }

:root {
  --ground: #F5F6F9;
  --surface: #FFFFFF;
  --ink: #1A1C2B;
  --muted: #565A6E;
  --line: #E4E6EC;
  --accent: #4B41C4;
  --accent-soft: #ECEBFB;
  --hint-bg: #FFE9C7;
  --hint-fg: #7A4100;
  --dark: #1A1C2B;
  --school: #4B41C4;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(26 28 43 / 6%), 0 12px 32px -12px rgb(26 28 43 / 18%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 Inter, system-ui, sans-serif; }
h1, h2, h3 { font-family: 'Lexend', Inter, sans-serif; font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.kicker { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.muted { color: var(--muted); }

/* Kopf */
.top { position: sticky; top: 0; z-index: 50; background: rgb(245 246 249 / 88%); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); margin-right: auto; line-height: 1.1; }
.brand-logo { display: block; height: 28px; width: auto; }
.brand-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 4px; }
.nav a:hover { color: var(--accent); }
.nav .lang { color: var(--muted); font-weight: 400; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; color: var(--ink); cursor: pointer; }
.nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: var(--shadow); }
.top .btn-sm { min-height: 40px; padding: 0 12px; font-size: 14px; white-space: nowrap; }
@media (max-width: 359px) { .top .btn-sm { display: none; } }
@media (min-width: 900px) {
  .nav { display: flex; gap: 22px; align-items: center; }
  .menu-btn { display: none; }
  .top .btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
}

/* Knoepfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 600 16px Inter, sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0B5849; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Hero */
.hero { padding: 48px 0 64px; background: radial-gradient(1200px 500px at 85% -10%, #DCEBE5 0%, transparent 60%), var(--ground); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); }
.lead { font-size: 19px; color: var(--muted); margin-top: 18px; max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proofs { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 600; }
.proofs li { display: flex; align-items: center; gap: 6px; }
.proofs svg { color: var(--accent); }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.stat-card { position: absolute; left: 50%; bottom: 0; transform: translateX(-108%); width: 220px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.stat-title { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat-value { font: 600 28px/1 'Lexend', sans-serif; }
.stat-note { font-size: 12px; color: var(--muted); }
.bar { height: 8px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
@media (min-width: 900px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .stat-card { transform: translateX(-130%); bottom: 40px; }
}
@media (max-width: 520px) { .stat-card { position: relative; transform: none; left: auto; margin-top: -60px; width: 100%; max-width: 300px; } .hero-visual { flex-direction: column; align-items: center; } }

/* Handy mit der App */
.phone { width: 280px; border-radius: 40px; padding: 10px; background: #1F2A27; box-shadow: 0 30px 60px -20px rgb(26 28 43 / 45%), inset 0 0 0 2px #3A4743; }
.phone-screen { border-radius: 31px; overflow: hidden; background: #F4F6F3; min-height: 500px; }
.app-bar { background: var(--school); color: #fff; padding: 34px 18px 18px; display: flex; align-items: center; gap: 10px; transition: background .3s; }
.app-logo { width: 34px; height: 34px; border-radius: 10px; background: rgb(255 255 255 / 22%); display: grid; place-items: center; font: 600 13px 'Lexend', sans-serif; }
.app-school { font: 600 17px 'Lexend', sans-serif; }
.app-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.4; }
.app-hello { font: 600 18px 'Lexend', sans-serif; }
.app-label { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.app-card { background: #fff; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 2px rgb(26 28 43 / 8%); }
.app-chip { align-self: flex-start; font-size: 11px; font-weight: 600; background: var(--hint-bg); color: var(--hint-fg); border-radius: 6px; padding: 2px 7px; }
.app-muted { color: var(--muted); font-size: 12px; display: block; }
.app-actions { display: flex; gap: 8px; margin-top: 6px; }
.app-yes, .app-no { flex: 1; text-align: center; border-radius: 10px; padding: 9px 0; font-weight: 600; }
.app-yes { background: var(--school); color: #fff; transition: background .3s; }
.app-no { border: 1px solid var(--line); }
.app-row { flex-direction: row; align-items: center; gap: 12px; }
.app-date { display: flex; flex-direction: column; align-items: center; font-size: 10px; font-weight: 600; color: var(--school); border: 1px solid var(--line); border-radius: 10px; padding: 4px 8px; transition: color .3s; }
.app-date b { font: 600 18px/1 'Lexend', sans-serif; color: var(--ink); }

/* Abschnitte */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section h2 { font-size: clamp(28px, 4.2vw, 42px); max-width: 820px; }
.section-lead { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 720px; }
.section-dark { background: var(--dark); color: #E8EEEB; }
.section-dark .kicker { color: #7FD1BC; }
@media (min-width: 900px) { .section { padding: 104px 0; } }

/* Vorher / nachher */
.compare { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.compare-head { display: none; }
.compare-row { display: grid; gap: 10px; padding: 18px 20px; border-top: 1px solid var(--line); }
.compare-row:first-of-type { border-top: 0; }
.compare-row p { display: flex; gap: 10px; align-items: flex-start; }
.compare-row svg { margin-top: 3px; }
.before { color: var(--muted); }
.before svg { color: #9AA5A0; }
.after { font-weight: 600; }
.after svg { color: var(--accent); }
@media (min-width: 760px) {
  .compare-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 14px 20px; background: var(--ground); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .compare-head span:last-child { color: var(--accent); }
  .compare-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .compare-row:first-of-type { border-top: 1px solid var(--line); }
}

/* Karten */
.cards { display: grid; gap: 16px; margin-top: 36px; }
.card { background: var(--ground); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.section:not(.section-alt) .card { background: var(--surface); box-shadow: var(--shadow); }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 16px; }
.num { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font: 600 17px 'Lexend', sans-serif; }
.card-dark { background: #22302C !important; box-shadow: none !important; }
.card-dark p { color: #B9C6C1; }
.card-dark svg { color: #7FD1BC; width: 26px; height: 26px; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  #beneficios .cards { grid-template-columns: repeat(6, 1fr); }
  #beneficios .card { grid-column: span 2; }
  #beneficios .card:nth-child(4), #beneficios .card:nth-child(5) { grid-column: span 3; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Module */
.modules { display: grid; gap: 16px; margin-top: 36px; }
.module-group { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.module-group h3 { font-size: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }
.module-group dl { margin: 14px 0 0; display: flex; flex-direction: column; gap: 12px; }
.module-group dt { font-weight: 600; }
.module-group dd { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.soon { margin-top: 24px; color: var(--muted); font-size: 15px; background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 16px; }
@media (min-width: 700px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .modules { grid-template-columns: repeat(4, 1fr); } }

.sedes { margin-top: 16px; border-radius: var(--radius); padding: 24px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 6px; }
.sedes h3 { font-size: 20px; }

/* App */
.split { display: grid; gap: 48px; align-items: center; }
.split-visual { display: flex; justify-content: center; }
.ticks, .facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li, .facts li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg, .facts svg { color: var(--accent); margin-top: 4px; }
.pick-label { margin-top: 28px; font-weight: 600; font-size: 15px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pick-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font: 600 15px Inter, sans-serif; color: var(--ink); cursor: pointer; }
.pick-btn[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.dot { width: 14px; height: 14px; border-radius: 50%; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* Schritte */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step); font: 600 32px/1 'Lexend', sans-serif; color: var(--accent); }
.steps h3 { font-size: 20px; }
.steps p { color: var(--muted); font-size: 16px; }
.facts { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Fragen */
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--ground); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 18px 28px 18px 0; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font: 400 24px 'Lexend', sans-serif; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* Kontakt */
.contact { display: grid; gap: 40px; }
.contact-side h3 { font-size: 20px; margin-top: 28px; }
.next { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.demo-link { margin-top: 24px; font-weight: 600; }
.demo-link a { display: inline-flex; align-items: center; gap: 4px; }
.mail { margin-top: 8px; color: var(--muted); }
.form { background: var(--surface); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: #33443F; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; border: 1px solid #C9D2CD; border-radius: 12px; padding: 10px 12px; font: 400 16px Inter, sans-serif; color: var(--ink); background: #fff; }
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: #B3261E; }
.form .err { color: #B3261E; font-size: 13px; font-weight: 600; }
.grid2 { display: grid; gap: 16px; }
.consent { flex-direction: row !important; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; }
.consent input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.form-status.ok { background: var(--accent-soft); color: var(--accent); }
.form-status.bad { background: #FBE3E1; color: #8C1D18; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact { grid-template-columns: .8fr 1.2fr; } .form { padding: 32px; } }

/* Fuss */
.foot { background: var(--dark); color: #B9C6C1; padding: 32px 0; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot strong { color: #fff; }
.foot nav { display: flex; gap: 18px; margin-left: auto; }
.foot a { color: #E8EEEB; }

/* Rechtliches */
.legal h1 { font-size: 36px; margin: 16px 0 8px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
.legal p { margin-top: 8px; color: #33443F; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Bildschirmfotos (Abschnitt „Así se ve") */
.shots-title { margin-top: 36px; font-size: 18px; color: var(--muted); font-weight: 600; }
.shots { display: grid; gap: 28px; margin-top: 16px; }
.shots-app { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; }
.shots-gestion { grid-template-columns: 1fr; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { color: var(--muted); font-size: 15px; line-height: 1.45; }
.shot-phone { max-width: 280px; border-radius: 34px; padding: 9px; background: #1F2A27; box-shadow: var(--shadow); }
.shot-phone img { border-radius: 26px; }
.shot-browser { border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.shot-dots { display: flex; gap: 6px; padding: 10px 12px; background: var(--ground); border-bottom: 1px solid var(--line); }
.shot-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
@media (min-width: 900px) { .shots-gestion { grid-template-columns: repeat(2, 1fr); } }
