/* Denkste! Nachhilfe, Stylesheet (Version 3). Farben, Abstände und Schriften stehen oben als Variablen. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("fonts/kalam-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --ink: #23262e;
  --ink-soft: #5b606c;
  --paper: #fbfaf8;
  --paper-2: #f3f1ed;
  --card: #ffffff;
  --line: rgba(35, 38, 46, 0.10);

  --orange: #e8621f; --orange-deep: #b8460f; --orange-soft: #fdeade;
  --blue: #2f9fd6;   --blue-deep: #1d6f97;   --blue-soft: #e2f2fa;
  --green: #45a368;  --green-deep: #2e7048;  --green-soft: #e4f2e9;
  --violet: #8a5bc4; --violet-deep: #64429a; --violet-soft: #efe7f9;
  --red: #c2453f;    --red-soft: #fbe6e5;
  --indigo: #4f5aa0; --indigo-soft: #e8eaf6;

  --font-h: "Archivo", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-b: "Archivo", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --band: clamp(80px, 10vw, 144px);
  --edge: clamp(20px, 5vw, 56px);
  --max: 1200px;

  --r-s: 12px; --r-m: 20px; --r-l: 28px; --r-xl: 40px;

  --shadow-s: 0 2px 10px rgba(35, 38, 46, 0.05);
  --shadow-m: 0 14px 38px rgba(35, 38, 46, 0.09);
  --shadow-l: 0 30px 80px rgba(35, 38, 46, 0.14);
  --ease: cubic-bezier(0.16, 0.84, 0.28, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }
main > section, .hero { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-b); font-size: 17px; line-height: 1.7;
  text-wrap: pretty; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--s3); }
p:last-child { margin-bottom: 0; }
a { color: var(--orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange-soft); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; line-height: 1.2; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--orange-deep); background: var(--orange-soft);
  padding: 8px 14px; border-radius: 999px; margin: 0 0 var(--s3);
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Kopfleiste: schwebende Leiste ---------- */
.site-head { position: sticky; top: 0; z-index: 50; padding: 14px var(--edge) 0; }
.site-head .bar {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: var(--s3);
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(35, 38, 46, 0.04), 0 10px 30px rgba(35, 38, 46, 0.06);
  transition: box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-head.is-scrolled .bar { box-shadow: 0 16px 44px rgba(35, 38, 46, 0.12); padding-top: 7px; padding-bottom: 7px; }
.brand { display: block; flex: none; }
.brand img { height: 38px; width: auto; transition: height 0.4s var(--ease); }
.site-head.is-scrolled .brand img { height: 32px; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
  padding: 10px 14px; border-radius: 999px; transition: background-color 0.25s ease, color 0.25s ease;
}
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav .btn { margin-left: var(--s1); }
.site-nav a.btn-primary { color: #fff; }
.site-nav a.btn-primary:hover { color: #fff; background: var(--orange-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-h); font-weight: 700; font-size: 15.5px; line-height: 1.2;
  padding: 15px 24px; border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.site-nav .btn { padding: 12px 20px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(232, 98, 31, 0.28); }
.btn-primary:hover { background: var(--orange-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 98, 31, 0.34); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-outline { border-color: var(--line); background: var(--card); color: var(--ink); box-shadow: var(--shadow-s); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-deep); transform: translateY(-2px); }
.btn svg { flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.nav-toggle {
  display: none; margin-left: auto; background: var(--paper-2); border: 0;
  border-radius: 999px; width: 46px; height: 46px; place-items: center; cursor: pointer; color: var(--ink);
}

/* Aufklappmenü Anmelden */
.menu { position: relative; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-b); font-size: 15px; font-weight: 600; color: var(--ink);
  background: none; border: 0; cursor: pointer; padding: 10px 14px; border-radius: 999px;
  transition: background-color 0.25s ease;
}
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: var(--paper-2); }
.menu-btn svg { transition: transform 0.3s var(--ease); }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-list {
  position: absolute; top: calc(100% + 14px); right: 0; z-index: 60; min-width: 280px;
  display: grid; gap: 4px; background: var(--card); border-radius: var(--r-m); padding: var(--s1);
  box-shadow: var(--shadow-l); animation: menuIn 0.3s var(--ease);
}
.menu-list[hidden] { display: none; }
.menu-list a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); white-space: normal; }
.menu-list a:hover { background: var(--orange-soft); }
.menu-list strong { font-size: 15.5px; font-weight: 700; }
.menu-list span { font-size: 13.5px; color: var(--ink-soft); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Kopfbereich ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-family: "Nunito", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Varela Round", var(--font-h); letter-spacing: -0.02em; font-size: clamp(36px, 4.4vw, 64px); }
.hero .lead { font-size: clamp(17px, 1.35vw, 19.5px); color: var(--ink-soft); max-width: 50ch; margin: var(--s3) 0 0; }
.hero .lead:first-of-type { margin-top: var(--s4); }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); margin-top: var(--s6); padding: var(--s3); background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-s); }
.lbl-short { display: none; }
@media (max-width: 600px) { .lbl-long { display: none; } .lbl-short { display: inline; } }
.hero .call-text { margin: 0; flex: 1 1 300px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); text-wrap: balance; }
@media (max-width: 760px) { .hero .cta-row { flex-direction: column; align-items: stretch; } .hero .call-text { flex: none; } .hero .cta-row .btn { width: 100%; white-space: normal; text-align: center; } }

/* wellige Unterstreichung */
.squiggle { position: relative; display: inline-block; white-space: nowrap; }
.squiggle svg { position: absolute; left: -1%; bottom: -0.16em; width: 96%; height: 0.3em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.3s var(--ease) 0.9s; }
.is-ready .squiggle path { stroke-dashoffset: 0; }

/* Begrüßungsvideo */
.video-sec { padding-bottom: var(--band); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-l); }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-cover { all: unset; box-sizing: border-box; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; overflow: hidden; transition: opacity 0.5s ease; }
.video-cover:focus-visible { outline: 3px solid var(--orange); outline-offset: -6px; }
.video-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.video-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(20, 22, 28, 0.72) 0%, rgba(20, 22, 28, 0.25) 28%, rgba(20, 22, 28, 0) 45%); }
.video-play { position: absolute; left: 61%; top: 24%; transform: translate(-50%, -50%); z-index: 1; width: clamp(68px, 8vw, 104px); height: clamp(68px, 8vw, 104px); border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; animation: playPuls 2.4s ease-out infinite; transition: transform 0.4s var(--ease), background-color 0.2s; }
.video-play svg { margin-left: 4px; }
.video-text { position: absolute; z-index: 1; left: clamp(20px, 3.5vw, 48px); bottom: clamp(18px, 3vw, 40px); display: grid; gap: 4px; color: #fff; text-align: left; }
.video-title { font-family: "Nunito", ui-rounded, "SF Pro Rounded", var(--font-h); font-weight: 800; font-size: clamp(22px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.video-sub { font-size: clamp(14px, 1.2vw, 17px); color: rgba(255, 255, 255, 0.88); }
.video-cover:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--orange-deep); }
.video-cover:hover .video-still { transform: scale(1.03); }
@keyframes playPuls { 0% { box-shadow: 0 0 0 0 rgba(232, 98, 31, 0.5); } 80%, 100% { box-shadow: 0 0 0 24px rgba(232, 98, 31, 0); } }
.video-frame.spielt .video-cover { opacity: 0; pointer-events: none; }
.ki-hinweis { position: absolute; z-index: 2; top: 14px; right: 14px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(20, 22, 28, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px; pointer-events: none; }
@media (max-width: 600px) {
  .video-frame { border-radius: var(--r-l); }
  .video-text { position: static; }
  .video-cover { grid-template-rows: 1fr; }
  .video-text { display: none; }
}
@media (prefers-reduced-motion: reduce) { .video-play { animation: none; } }

/* Titelbild */
.hero-visual { position: relative; }
.photo-card {
  position: relative; z-index: 1; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 5 / 4; box-shadow: var(--shadow-l); background: var(--paper-2);
}
.photo-card img { width: 100%; height: 118%; object-fit: cover; object-position: 38% 30%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* ---------- Kurzfakten ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); padding-top: 0; }
.facts > div { background: var(--card); border-radius: var(--r-l); padding: var(--s4); box-shadow: var(--shadow-s); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.facts > div:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.facts .num { font-family: var(--font-h); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.02em; }
.facts > div:nth-child(1) .num { color: var(--orange); }
.facts > div:nth-child(2) .num { color: var(--blue-deep); }
.facts > div:nth-child(3) .num { color: var(--green-deep); }
.facts .lbl { font-size: 15px; color: var(--ink-soft); margin-top: var(--s1); }

/* ---------- Leitsatz, leuchtet Wort für Wort auf ---------- */
.stmt-sec { padding: var(--band) 0; }
.stmt { font-family: "Nunito", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Varela Round", var(--font-h); font-weight: 800; font-size: clamp(38px, 6vw, 92px); letter-spacing: -0.025em; line-height: 1.08; max-width: 16ch; margin: 0; }
.stmt span { color: rgba(35, 38, 46, 0.14); transition: color 0.6s ease; }
.stmt span.on { color: var(--ink); }
.stmt span.on.c1 { color: var(--orange); }
.stmt span.on.c2 { color: var(--blue); }
.stmt span.on.c3 { color: var(--green); }

/* ---------- Abschnitte ---------- */
section.band { padding: var(--band) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: end; margin-bottom: var(--s6); }
.section-head h2 { font-size: clamp(32px, 4.2vw, 56px); max-width: 15ch; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 19px); max-width: 48ch; }

/* Fächer: seitlich wischen oder mit den Pfeilen blättern */
.gal-stick { display: flex; flex-direction: column; gap: var(--s3); }
.gal-head { width: 100%; }
.gal-head .section-head { margin-bottom: 0; }
#angebot { padding-top: var(--s5); }
.gal-nav { width: 100%; display: flex; align-items: center; justify-content: flex-end; gap: var(--s1); }
.gal-hint { margin-right: auto; font-size: 14px; color: var(--ink-soft); }
.gal-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-s); transition: background-color 0.2s, color 0.2s, opacity 0.2s, transform 0.2s var(--ease); }
.gal-btn:hover { background: var(--ink); color: #fff; }
.gal-btn:active { transform: scale(0.94); }
.gal-btn:disabled { opacity: 0.35; cursor: default; background: var(--card); color: var(--ink); }
.gal-btn:focus-visible, .subjects:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.subjects { --pad: max(var(--edge), calc((100vw - var(--max)) / 2 + var(--edge))); display: flex; gap: var(--s3); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: var(--s2) var(--pad) var(--s4); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subjects::-webkit-scrollbar { display: none; }
.subject { flex: none; width: clamp(250px, 24vw, 300px); height: 340px; scroll-snap-align: start; overflow: hidden; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-l); padding: var(--s4); box-shadow: var(--shadow-s); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.subject h3 { margin-top: auto; }
.courses-wrap { padding-top: var(--s5); }
.facts .cnt { display: inline-block; min-width: 0.6em; font-size: 1.6em; line-height: 1; font-variant-numeric: tabular-nums; }
.subject:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.subject .sym { display: block; width: max-content; font-family: var(--font-h); font-weight: 800; font-size: clamp(28px, 2.5vw, 36px); letter-spacing: -0.04em; line-height: 1; margin-bottom: var(--s3); transform-origin: left bottom; transition: transform 0.45s var(--ease); }
.subject:hover .sym { transform: rotate(-4deg) scale(1.06); }
.subject h3 { font-size: 20px; letter-spacing: -0.02em; }
.subject p { font-size: 15px; color: var(--ink-soft); margin: var(--s1) 0 0; line-height: 1.6; }

.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s5); }
.course { border-radius: var(--r-l); padding: var(--s5) var(--s4); transition: transform 0.4s var(--ease); position: relative; overflow: hidden; }
.course:hover { transform: translateY(-5px); }
.course:nth-child(1) { background: var(--orange-soft); }
.course:nth-child(2) { background: var(--blue-soft); }
.course:nth-child(3) { background: var(--green-soft); }
.course h3 { font-size: 24px; }
.course p { font-size: 16px; color: #3f434d; margin: var(--s2) 0 0; }

/* ---------- Ablauf mit Fortschrittslinie ---------- */
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 0; right: 0; top: 53px; height: 3px; border-radius: 3px; background: var(--line); }
.steps-line::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--blue), var(--green), var(--violet)); transform: scaleX(var(--p, 0)); transform-origin: left; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.step { background: var(--card); border-radius: var(--r-l); padding: var(--s4); box-shadow: var(--shadow-s); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); min-width: 0; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.step .n {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  font-family: var(--font-h); font-weight: 800; font-size: 15px; margin-bottom: var(--s3);
  background: var(--paper-2); color: var(--ink-soft);
  transition: background-color 0.5s ease, color 0.5s ease, transform 0.5s var(--ease);
}
.step.is-on .n { transform: scale(1.08); }
.step:nth-child(1).is-on .n { background: var(--orange); color: #fff; }
.step:nth-child(2).is-on .n { background: var(--blue); color: #fff; }
.step:nth-child(3).is-on .n { background: var(--green); color: #fff; }
.step:nth-child(4).is-on .n { background: var(--violet); color: #fff; }
.step h3 { font-size: 20px; letter-spacing: -0.02em; }
.step p { font-size: 15px; color: var(--ink-soft); margin: var(--s1) 0 0; line-height: 1.6; }

/* ---------- Über uns ---------- */
#team { background: var(--card); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.split, .place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.split h2, .place h2 { font-size: clamp(32px, 3.8vw, 50px); max-width: 15ch; }
.split p { margin-top: var(--s4); color: var(--ink-soft); max-width: 48ch; }
.split p + p { margin-top: var(--s3); }
.counter { display: flex; align-items: baseline; gap: var(--s2); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
.counter .big { font-family: var(--font-h); font-weight: 800; font-size: clamp(56px, 7vw, 92px); line-height: 0.9; letter-spacing: -0.05em; color: var(--orange); font-variant-numeric: tabular-nums; }
.counter .txt { font-size: 16px; color: var(--ink-soft); max-width: 20ch; line-height: 1.4; }
section.helps { padding-top: 0; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.note-card { background: var(--soft); border-radius: var(--r-l); padding: var(--s4); min-height: 240px; display: flex; flex-direction: column; transition: transform 0.45s var(--ease); }
.note-card .n { display: inline-block; width: max-content; transform-origin: left bottom; transition: transform 0.5s var(--ease); }
.note-card h4, .note-card p { transition: opacity 0.7s ease, transform 0.7s var(--ease); }
.note-card .n { font-family: var(--font-h); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.05em; color: var(--c); }
.note-card h4 { font-size: 21px; letter-spacing: -0.02em; margin-top: auto; padding-top: var(--s4); color: var(--deep); }
.note-card p { margin: var(--s1) 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); opacity: 0.82; }
.portrait { max-width: 440px; margin-left: auto; position: relative; }
.portrait-frame { position: relative; z-index: 1; background: #f2f1ef; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-m); aspect-ratio: 900 / 968; }
.portrait-frame img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: transform 0.7s var(--ease); }
.portrait:hover .portrait-frame img { transform: scale(1.03); }
figure { margin: 0; }
figcaption { position: relative; z-index: 1; font-size: 14px; color: var(--ink-soft); margin-top: var(--s2); }

/* ---------- Standort ---------- */
#standort { background: var(--card); }
.place dl { margin: var(--s5) 0 0; display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s4); font-size: 16.5px; }
.place dt { font-weight: 600; color: var(--ink-soft); }
.place dd { margin: 0; }
.map-link { margin-top: var(--s5); }
.map a { display: block; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-m); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.map a:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.map img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Kontakt ---------- */
.contact { padding: var(--band) 0; background: linear-gradient(180deg, var(--card) 0 30%, var(--paper) 30% 100%); }
.contact .panel { background: var(--ink); color: #f4f3f1; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 72px); box-shadow: var(--shadow-l); position: relative; overflow: hidden; }
.contact .panel::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -200px; top: -240px; background: radial-gradient(circle, rgba(232, 98, 31, 0.28), rgba(232, 98, 31, 0) 70%); pointer-events: none; }
.contact .grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.contact .kicker { background: rgba(255, 255, 255, 0.10); color: #ffb48c; }
.contact .kicker::before { background: #ffb48c; }
.contact h2 { font-size: clamp(32px, 4vw, 52px); max-width: 14ch; }
.contact .lead { color: #b9bcc5; max-width: 42ch; margin: var(--s4) 0 0; }
.contact a { color: #ffb48c; }
.contact a:hover { color: #fff; }
.contact dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s4); font-size: 16px; margin: var(--s5) 0 0; }
.contact dt { color: #8f939d; }
.contact dd { margin: 0; }
form .field { margin-bottom: var(--s3); }
form label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: var(--s1); color: #dcdee3; }
.input { width: 100%; font: inherit; font-size: 16px; color: #f4f3f1; background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-s); padding: 14px 16px; min-height: 52px; transition: border-color 0.25s ease, background-color 0.25s ease; }
.input::placeholder { color: #8f939d; }
.input:hover { border-color: rgba(255, 255, 255, 0.3); }
.input:focus-visible { border-color: var(--orange); background: rgba(255, 255, 255, 0.10); outline-offset: 0; }
textarea.input { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: var(--s2); align-items: flex-start; font-size: 14.5px; color: #b9bcc5; margin: var(--s4) 0; line-height: 1.55; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--orange); flex: none; }
form .btn-primary { width: 100%; }
.form-note { font-size: 14px; color: #8f939d; margin-top: var(--s3); }

/* ---------- Fußbereich ---------- */
.site-foot { padding: var(--s6) 0; font-size: 15px; color: var(--ink-soft); }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); justify-content: space-between; align-items: center; }
.site-foot a { color: var(--ink-soft); text-decoration: none; }
.site-foot a:hover { color: var(--orange-deep); }
.site-foot nav { display: flex; gap: var(--s2) var(--s4); flex-wrap: wrap; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: var(--s6) 0 var(--band); max-width: 72ch; }
.legal h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: var(--s4); }
.legal h2 { font-size: 23px; margin: var(--s6) 0 var(--s2); }
.legal p, .legal li { font-size: 17px; color: #3f434d; }
.legal ul { padding-left: var(--s3); }
.legal .hint { background: var(--orange-soft); border-radius: var(--r-m); padding: var(--s3) var(--s4); color: #7a3d19; font-size: 15.5px; margin-top: var(--s5); }
.legal .btn { margin-top: var(--s4); }

/* ---------- Bewegung ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* Team-Karten: kippen nacheinander herein, Nummer springt auf */
.note-card.reveal { opacity: 0; transform: translateY(60px) scale(0.9) rotate(-3deg); transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.34, 1.4, 0.64, 1); }
.note-card.reveal:nth-child(even) { transform: translateY(60px) scale(0.9) rotate(3deg); }
.note-card.reveal .n { transform: scale(0.3) rotate(-20deg); opacity: 0; transition: transform 0.7s cubic-bezier(0.34, 1.6, 0.64, 1), opacity 0.4s ease; transition-delay: inherit; }
.note-card.reveal h4, .note-card.reveal p { opacity: 0; transform: translateY(12px); }
.note-card.reveal.is-in { opacity: 1; transform: none; }
.note-card.reveal.is-in .n { opacity: 1; transform: none; transition-delay: calc(var(--d, 0s) + 0.3s); }
.note-card.reveal.is-in h4 { opacity: 1; transform: none; transition-delay: calc(var(--d, 0s) + 0.4s); }
.note-card.reveal.is-in p { opacity: 0.82; transform: none; transition-delay: calc(var(--d, 0s) + 0.5s); }
.note-card.reveal.is-in:hover { transform: translateY(-8px) rotate(-1deg); transition: transform 0.45s var(--ease); transition-delay: 0s; }
.note-card.reveal.is-in:hover .n { transform: scale(1.15) rotate(-6deg); transition-delay: 0s; }
.hero h1 .line { display: block; overflow: hidden; padding: 0 0.08em 0.2em 0; margin: 0 -0.08em -0.2em 0; }
.hero h1 .line > span { display: block; transform: translateY(108%); transition: transform 1.1s var(--ease); }
.hero h1 .line:nth-child(2) > span { transition-delay: 0.1s; }
.is-ready .hero h1 .line > span { transform: none; }
.hero .kicker, .hero .lead, .hero .actions, .hero .cta-row, .hero-visual { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s var(--ease); }
.is-ready .hero .kicker, .is-ready .hero .lead, .is-ready .hero .actions, .is-ready .hero .cta-row, .is-ready .hero-visual { opacity: 1; transform: none; }
.hero .lead { transition-delay: 0.4s; }
.hero .lead + .lead { transition-delay: 0.5s; }
.hero .actions { transition-delay: 0.62s; }
.hero-visual { transition-delay: 0.3s; transform: translateY(40px) scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero h1 .line > span, .hero .kicker, .hero .lead, .hero .actions, .hero .cta-row, .hero .note, .hero-visual { opacity: 1; transform: none; transition: none; }
  .squiggle path { stroke-dashoffset: 0; transition: none; }
  .photo-card img { transform: none; }
  .note-card.reveal, .note-card.reveal .n, .note-card.reveal h4, .note-card.reveal p { opacity: 1; transform: none; transition: none; }
  .subjects { scroll-behavior: auto; }
  .stmt span { color: var(--ink); transition: none; }
}

/* ---------- Tablet und Handy ---------- */
@media (max-width: 1040px) {
  .steps, .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-line { display: none; }
  .courses { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: var(--s3); align-items: start; }
  html { scroll-padding-top: 96px; }
  .site-head .bar { padding: 8px 8px 8px 18px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--card); border-radius: var(--r-l); padding: var(--s2); box-shadow: var(--shadow-l);
  }
  .site-nav.open { display: flex; animation: menuIn 0.3s var(--ease); }
  .site-nav a { padding: 14px 16px; border-radius: var(--r-s); }
  .site-nav .btn { margin: var(--s1) 0 0; padding: 15px 24px; }
  .nav-toggle { display: grid; }
  .menu { width: 100%; }
  .menu-btn { width: 100%; justify-content: space-between; padding: 14px 16px; border-radius: var(--r-s); }
  .menu-list { position: static; box-shadow: none; padding: 0 0 0 var(--s1); min-width: 0; animation: none; }
}
@media (max-width: 1100px) {
  .hero .grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero h1 { font-size: clamp(36px, 6.4vw, 64px); }
  .hero-visual { max-width: 600px; margin: var(--s3) auto 0; width: 100%; }
}
@media (max-width: 900px) {
  .hero .grid, .split, .place, .contact .grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-visual { max-width: 560px; margin: var(--s3) auto 0; width: 100%; }
  .split > figure, .place > figure { order: -1; }
  .portrait { max-width: 340px; margin: 0; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .steps, .courses, .facts, .notes { grid-template-columns: 1fr; }
  .note-card { min-height: 0; }
  .subject { height: 300px; width: 78vw; max-width: 300px; }
  .gal-btn { width: 44px; height: 44px; }
  .row2 { grid-template-columns: 1fr; }
  .hero .actions .btn { width: 100%; }
  .contact .panel { padding: var(--s4) var(--s3); border-radius: var(--r-l); }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
}

/* Persönliche Begrüßung mit Unterschrift */
.sign { display: grid; gap: 2px; margin-top: var(--s4); }
.sign-greet { font-size: 16px; color: var(--ink-soft); }
.sign-name {
  font-family: "Kalam", "Bradley Hand", "Segoe Print", "Comic Neue", cursive;
  font-weight: 400; font-size: clamp(32px, 3.2vw, 40px); line-height: 1.25; color: #3a3d45; letter-spacing: 0;
  width: max-content;
}
.sign-role { font-size: 14px; color: var(--ink-soft); }
.hero .sign { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease 0.55s, transform 0.9s var(--ease) 0.55s; }
.is-ready .hero .sign { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero .sign { opacity: 1; transform: none; transition: none; } }


/* Häufige Fragen (22.10.2026) */
#fragen { padding-top: clamp(56px, 7vw, 96px); }
#fragen + .contact { background: var(--paper); }
.place .orte { margin: var(--s3) 0 0; color: var(--ink-soft); max-width: 44ch; }
.faq-list { display: grid; gap: var(--s2); max-width: 880px; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: var(--s3) var(--s4); box-shadow: var(--shadow-s); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); font-family: var(--font-h); font-weight: 700; font-size: 18px; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; color: var(--orange); font-size: 26px; font-weight: 600; line-height: 1; transition: transform 0.3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: var(--s2) 0 0; color: var(--ink-soft); }
@media (max-width: 600px) { .faq-list details { padding: var(--s2) var(--s3); } .faq-list summary { font-size: 17px; } }
