/* Studio Kernkraft: buehne / vollbild. Fast-Schwarz, Kreide, Kobalt, Graphit. Big Shoulders Display + Manrope. */

@font-face { font-family: 'Big Shoulders Display'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/big-shoulders-700.woff2') format('woff2'); }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 800; font-style: normal; font-display: swap; src: url('fonts/big-shoulders-800.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/manrope-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/manrope-700.woff2') format('woff2'); }

:root {
  --bg: #111315;
  --graphite: #2a2d31;
  --panel: #1a1d20;
  --chalk: #f2f2f0;
  --muted: #b7bbc1;
  --cobalt: #3d5afe;
  --cobalt-dark: #2c45d8;
  --cobalt-light: #9aa8ff;
  --line: rgba(242, 242, 240, 0.16);
  --wrap: 1240px;
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --text: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--chalk);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--cobalt-light); text-underline-offset: 0.2em; }
a:hover { color: var(--chalk); }
:focus-visible { outline: 3px solid var(--cobalt-light); outline-offset: 3px; }
.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; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.9rem; font-weight: 700; }
p { margin: 0 0 1rem; }

/* Hillcode-Abschluss nicht von den eigenen Überschriften beeinflussen */
.hc-outro h2, .hc-outro h3 { text-transform: none; letter-spacing: 0; }

.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }

/* ---------- Kopf ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; color: var(--chalk); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
.brand:hover { color: var(--chalk); }
.brand-akzent { color: var(--cobalt); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.2rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.3rem 0.8rem; color: var(--chalk); text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:hover { color: var(--cobalt-light); }
.nav .nav-cta a { background: var(--cobalt); color: #fff; margin-left: 0.6rem; padding-inline: 1.2rem; }
.nav .nav-cta a:hover { background: var(--cobalt-dark); color: #fff; }

.head-phone { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; color: var(--chalk); text-decoration: none; font-weight: 700; white-space: nowrap; }
.head-phone svg { color: var(--cobalt-light); }

.menu-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; color: var(--chalk); background: var(--graphite); border: 0; cursor: pointer; }

/* ---------- Hero (vollbild) ---------- */
.hero { position: relative; min-height: min(calc(100svh - 120px), 820px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.94) 0%, rgba(17, 19, 21, 0.78) 34%, rgba(17, 19, 21, 0.2) 70%, rgba(17, 19, 21, 0.05) 100%),
    linear-gradient(0deg, rgba(17, 19, 21, 0.9) 0%, rgba(17, 19, 21, 0) 45%); }
.hero-content { padding: 6rem 0 clamp(3rem, 6vw, 5rem); }
.kicker { font-weight: 700; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt-light); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(3.2rem, 8.4vw, 8.6rem); line-height: 0.88; max-width: 14ch; }
.lead { font-size: 1.25rem; max-width: 34rem; margin: 1.6rem 0 2rem; color: #e4e5e3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0.8rem 1.6rem; font-weight: 700; font-size: 1.05rem; text-decoration: none; letter-spacing: 0.02em; }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-dark); color: #fff; }
.btn-ghost { color: var(--chalk); border: 2px solid rgba(242, 242, 240, 0.55); }
.btn-ghost:hover { border-color: var(--chalk); color: var(--chalk); }

/* Fakten */
.facts { border-bottom: 1px solid var(--line); background: var(--bg); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid > div { padding: 1.8rem 1.6rem 1.6rem; border-left: 1px solid var(--line); }
.facts-grid > div:first-child { border-left: 0; padding-left: 0; }
.facts-grid p { margin: 0; color: var(--muted); font-size: 1rem; }
.facts-grid .fact-title { font-family: var(--display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; color: var(--chalk); line-height: 1.05; margin-bottom: 0.4rem; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-graphite { background: var(--panel); }
.section-cobalt { background: var(--cobalt); color: #fff; }
.section-cobalt a { color: #fff; }
.section-cobalt :focus-visible { outline-color: #fff; }

/* Fläche */
.area-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.area-head p { color: var(--muted); font-size: 1.15rem; max-width: 26rem; }
.area-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.area-list li { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 0.4rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.area-list h3 { font-size: 2.4rem; }
.area-list p { margin: 0; color: var(--muted); }
.wide-img { margin-top: clamp(3rem, 6vw, 5rem); }
.wide-img img { width: 100%; height: clamp(260px, 36vw, 520px); object-fit: cover; object-position: 50% 45%; }

/* Kursplan */
.kurse-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
.kurse-head h2 { margin: 0; }
.kurse-head p { color: var(--muted); margin: 0; max-width: 34rem; }
.plan-wrap { overflow-x: auto; border: 1px solid var(--line); }
.plan { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; }
.plan th, .plan td { border: 1px solid var(--line); padding: 0.75rem 0.7rem; text-align: left; vertical-align: top; }
.plan thead th { font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; background: var(--bg); padding-block: 0.8rem; }
.plan thead th:first-child, .plan tbody th { width: 5.5rem; }
.plan tbody th { font-weight: 700; color: var(--muted); font-size: 1rem; background: var(--bg); position: sticky; left: 0; z-index: 1; }
.plan thead th:first-child { position: sticky; left: 0; z-index: 2; font-family: var(--text); font-size: 0.95rem; font-weight: 700; text-transform: none; color: var(--muted); }
.plan td { height: 4.6rem; }
.plan td:not(:empty) { background: rgba(61, 90, 254, 0.14); box-shadow: inset 3px 0 0 var(--cobalt); }
.plan .c { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.plan .d { display: block; color: var(--muted); font-size: 0.9rem; }
.plan-hint { display: none; color: var(--muted); font-size: 0.95rem; margin-top: 0.8rem; }

.course-info { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: start; }
.course-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.course-list { margin: 0; border-top: 1px solid var(--line); }
.course-list > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.3rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.course-list dt { font-family: var(--display); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; line-height: 1.1; }
.course-list dd { margin: 0; color: var(--muted); }

/* Haltung */
.stance { padding: clamp(4rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stance-big { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 8vw, 7.5rem); line-height: 0.9; max-width: 12ch; margin-bottom: 1.6rem; text-wrap: balance; }
.stance-small { font-size: 1.2rem; color: var(--muted); max-width: 40rem; margin: 0; }

/* Preise */
.tariffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--chalk); margin-top: 1rem; }
.tariff { padding: 1.8rem 2rem 1.6rem 0; }
.tariff + .tariff { border-left: 1px solid var(--line); padding-left: 2rem; }
.tariff h3 { font-size: 1.7rem; color: var(--cobalt-light); }
.price { margin: 0.8rem 0 0.6rem; color: var(--muted); font-weight: 700; }
.price .num { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 7vw, 6rem); line-height: 0.9; color: var(--chalk); }
.tariff p:last-child { color: var(--muted); margin: 0; }
.extras { width: 100%; border-collapse: collapse; margin-top: 2.4rem; }
.extras th, .extras td { text-align: left; padding: 1rem 1rem 1rem 0; border-top: 1px solid var(--line); vertical-align: baseline; }
.extras tr:last-child th, .extras tr:last-child td { border-bottom: 1px solid var(--line); }
.extras th { font-weight: 700; width: 30%; }
.extras td { color: var(--muted); }
.extras .amount { text-align: right; color: var(--chalk); font-family: var(--display); font-weight: 800; font-size: 1.8rem; padding-right: 0; white-space: nowrap; }
.small-note { color: var(--muted); font-size: 1rem; margin-top: 1.2rem; }

/* Probetraining (Kobalt als Fläche) */
.probe-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "intro tool" "more tool"; grid-template-rows: auto 1fr; column-gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.probe-intro { grid-area: intro; }
.probe-tool { grid-area: tool; min-width: 0; }
.probe-more { grid-area: more; }
.probe-intro h2 { color: #fff; }
.probe-lead { font-size: 1.25rem; max-width: 30rem; }
.probe-more h3 { font-size: 1.8rem; margin: 1.2rem 0 0.6rem; }
.probe-steps { list-style: none; margin: 0 0 1.2rem; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.35); }
.probe-steps li { padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }

#probetraining .tp {
  --tp-accent: #3d5afe;
  --tp-accent-ink: #ffffff;
  --tp-surface: #111315;
  --tp-ink: #f2f2f0;
  --tp-muted: #b7bbc1;
  --tp-line: rgba(242, 242, 240, 0.18);
  --tp-radius: 2px;
  --tp-font: 'Manrope', system-ui, sans-serif;
  max-width: none;
  margin: 0;
  font-size: 1.0625rem;
  box-shadow: 0 30px 70px rgba(10, 16, 60, 0.45);
}
#probetraining .tp .tp__badge { font-size: 0.875rem; color: var(--cobalt-light); letter-spacing: 0.1em; }
#probetraining .tp .tp__steps { font-size: 0.9rem; }
#probetraining .tp .tp__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
#probetraining .tp .tp__service { min-height: 56px; }
#probetraining .tp .tp__service span { font-size: 0.95rem; }
#probetraining .tp .tp__service:hover, #probetraining .tp .tp__service:focus-visible { border-color: var(--cobalt-light); }
#probetraining .tp .tp__day span, #probetraining .tp .tp__day small { font-size: 0.875rem; }
#probetraining .tp .tp__time { min-height: 44px; border-radius: 2px; }
#probetraining .tp .tp__link { font-size: 0.95rem; min-height: 44px; color: var(--muted); }
#probetraining .tp .tp__book { border-radius: 2px; min-height: 56px; }
#probetraining .tp :focus-visible { outline: 3px solid var(--cobalt-light); outline-offset: 2px; }

/* Zeiten und Anfahrt */
.info-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours th, .hours td { text-align: left; padding: 0.9rem 1rem 0.9rem 0; border-top: 1px solid var(--line); vertical-align: baseline; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours th { font-weight: 700; width: 40%; }
.hours td { color: var(--muted); }
.contact address { font-style: normal; margin-bottom: 1rem; font-size: 1.15rem; }
.contact p { color: var(--muted); }
.big-link { font-family: var(--display); font-weight: 800; font-size: 2.4rem; text-decoration: none; color: var(--chalk); letter-spacing: 0.02em; }

/* Fußzeile */
.site-footer { background: var(--graphite); padding: 2.4rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 0.8rem 3rem; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; color: var(--muted); }
.footer-name { font-family: var(--display); font-weight: 800; font-size: 2rem; text-transform: uppercase; color: var(--chalk) !important; letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--chalk); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .head-phone span { display: none; }
  .head-phone { width: 44px; justify-content: center; }
}

@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .header-inner { gap: 0.5rem; min-height: 64px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 0.4rem 1.5rem 1.4rem; gap: 0; }
  .nav a { min-height: 56px; font-family: var(--display); font-size: 1.9rem; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .nav .nav-cta a { margin: 1rem 0 0; justify-content: center; border-bottom: 0; font-size: 1.6rem; }

  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .area-grid, .course-info, .info-grid { grid-template-columns: 1fr; }
  .kurse-head { grid-template-columns: 1fr; }
  .probe-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "tool" "more"; row-gap: 1.6rem; }
  .tariffs { grid-template-columns: 1fr; }
  .tariff + .tariff { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .course-img img { aspect-ratio: 16 / 10; }
}

/* ---------- Handy ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .brand { font-size: 1.7rem; }

  .hero { display: block; min-height: 0; }
  .hero-img { position: static; height: 36svh; min-height: 230px; max-height: 320px; object-position: 30% 60%; }
  .hero::after { display: none; }
  .hero-content { padding: 1.6rem 0 2.6rem; }
  .kicker { font-size: 0.875rem; margin-bottom: 0.6rem; }
  .hero h1 { font-size: 3.3rem; max-width: none; }
  .lead { font-size: 1.0625rem; margin: 1rem 0 1.4rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .btn-ghost { display: none; }

  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div, .facts-grid > div:nth-child(3) { border-left: 0; padding: 1.1rem 0; border-top: 1px solid var(--line); }
  .facts-grid > div:first-child { border-top: 0; }

  .area-list li { grid-template-columns: 1fr; }
  .area-list h3 { font-size: 2.1rem; }
  .course-list > div { grid-template-columns: 1fr; }
  .plan-hint { display: block; }
  .extras th, .extras td { display: block; padding: 0; border: 0; width: auto; }
  .extras tr { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
  .extras tr:last-child { border-bottom: 1px solid var(--line); }
  .extras th { grid-column: 1; }
  .extras td:not(.amount) { grid-column: 1; grid-row: 2; }
  .extras .amount { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .extras tr:last-child th, .extras tr:last-child td { border: 0; }
  .big-link { font-size: 2rem; }
}
