/* ============================================================
   Between DESIGN STUDIO – Kursbereich
   Gemeinsame Gestaltung für alle Seiten unter /kurse/
   ============================================================ */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/montserrat-300.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/montserrat-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 400; font-display: swap; src: url('../assets/fonts/montserrat-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/montserrat-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/montserrat-600.woff2') format('woff2'); }

:root {
  --ink: #141414;
  --soft: #3a3a3a;
  --mute: #8a8580;
  --line: #e4e0da;
  --paper: #ffffff;
  --note: #f6f4f1;
  --sand: #faf7f2;
  --accent: #ff6d5a;
  --accent-hover: #ffa08e;
  --foot-text: #a8a5a0;
  --pad: clamp(20px, 6vw, 112px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: 'Montserrat', sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--ink); }
.nowrap { white-space: nowrap; }

/* ---------- Kopfzeile (wie Startseite) ---------- */
.site {
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center;
  gap: 32px; padding: 32px 48px 26px;
}
.site .logo img { width: 240px; height: auto; }
.site nav {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
}
.site nav a { color: #fff; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.site nav a:hover { color: var(--accent-hover); }
.site nav a.cur { border-bottom-color: var(--accent); }

/* Zweite Zeile: Navigation im Kursbereich */
.subnav {
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 30px;
  padding: 16px var(--pad);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.subnav a { text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.subnav a:hover { color: var(--accent); }
.subnav a.cur { border-bottom-color: var(--ink); }

/* ---------- Kopf einer Seite ---------- */
.head { padding: 48px var(--pad) 8px; }
.kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
h1 { font-weight: 500; font-size: 34px; letter-spacing: -.01em; line-height: 1.2; }
.sub { font-weight: 300; font-size: 17px; line-height: 1.5; color: var(--soft); margin-top: 8px; }
.chips { display: none; }

/* ---------- Kursseiten ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.strip img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 96px; padding: 36px var(--pad) 64px; }
aside { align-self: start; position: sticky; top: 20px; }
.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.facts div:first-child { padding-top: 18px; }
.facts dt { font-weight: 600; }
.facts dd { color: var(--soft); }
.facts dd a { color: inherit; }
aside h3 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin: 32px 0 12px; }
ul.incl { list-style: none; font-size: 14px; line-height: 1.5; color: var(--soft); }
ul.incl li { padding: 6px 0 6px 18px; position: relative; }
ul.incl li:before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--ink); }

.cta {
  display: block; text-align: center; background: var(--ink); color: #fff; text-decoration: none;
  font: 500 13px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase;
  padding: 16px; margin-top: 28px;
}
.cta:hover { background: var(--soft); }
.cta-note { font-size: 12px; color: var(--mute); margin-top: 10px; line-height: 1.6; text-align: center; }
.cta-note a { color: inherit; }

.grid > .text { border-top: 1px solid var(--ink); padding-top: 18px; }
.text p { font-weight: 300; font-size: 16px; line-height: 1.75; margin-bottom: 18px; max-width: 62ch; }
.text h2 { font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 36px 0 14px; }
.text h2:first-child { margin-top: 0; }
.voucher { border-left: 2px solid var(--ink); padding: 4px 0 4px 16px; margin-top: 28px; }
.voucher p { margin: 0; font-style: italic; }

/* ---------- Terminliste ---------- */
.termine-block { max-width: 62ch; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--ink); scroll-margin-top: 20px; }
.termine-block h2 { margin-top: 0; }
.termine { list-style: none; max-width: 62ch; }
.termin {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 24px;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.termin:first-child { border-top: 1px solid var(--line); }
.termin .datum { font-weight: 500; }
.termin .zeit { font-weight: 300; color: var(--soft); }
.termin .aktion { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; text-align: right; }
.termin .aktion a { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.termin .aktion a:hover { color: var(--accent); border-color: var(--accent); }
.termin.voll .datum, .termin.voll .zeit { color: var(--mute); text-decoration: line-through; text-decoration-thickness: 1px; }
.termin.voll .aktion { color: var(--mute); }
.termin .beispiel { display: inline-block; background: #fff1c2; color: var(--ink); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; margin-left: 8px; vertical-align: 2px; font-weight: 500; }
.termine-leer { font-weight: 300; font-size: 15px; line-height: 1.7; color: var(--soft); max-width: 62ch; }
.termine-mail { font-weight: 300; font-size: 14px; line-height: 1.7; color: var(--soft); margin-top: 16px; max-width: 62ch; }
.termine-mail a { color: var(--ink); font-weight: 500; }

/* ---------- Übersichtsseite ---------- */
.hero img { width: 100%; height: min(46vw, 76vh); min-height: 360px; object-fit: cover; object-position: center 96%; }
.intro { text-align: center; padding: 80px var(--pad) 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.intro h1 { font-weight: 300; font-size: clamp(32px, 5.5vw, 48px); line-height: 1.2; max-width: 18em; text-wrap: balance; }
.intro p.lead { font-size: 18px; line-height: 1.7; color: #7c7974; font-weight: 300; max-width: 32em; }

.kursliste { list-style: none; max-width: 1040px; margin: 0 auto; padding: 0 var(--pad) 72px; }
.kurs { border-top: 1px solid var(--ink); }
.kurs:last-child { border-bottom: 1px solid var(--ink); }
.kurs a.zeile {
  display: grid; grid-template-columns: 132px 1fr 1.6fr auto; gap: 32px; align-items: center;
  padding: 30px 0; text-decoration: none; color: var(--ink);
}
.kurs .thumb { width: 132px; height: 132px; object-fit: cover; }
.kurs a.zeile:hover .thumb { opacity: .9; }
.kurs .name { font-size: 22px; font-weight: 500; letter-spacing: -.005em; }
.kurs .art { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: 8px; font-weight: 500; }
.kurs .beschr { font-weight: 300; font-size: 16px; line-height: 1.65; color: var(--soft); }
.kurs .eckdaten { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-top: 10px; font-weight: 400; }
.kurs .naechster { display: block; font-size: 13px; color: var(--mute); margin-top: 6px; }
.kurs .mehr { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.kurs a.zeile:hover .name, .kurs a.zeile:hover .mehr { color: var(--accent); }

.hinweise { background: var(--sand); padding: 56px var(--pad); }
.hinweise ul { list-style: none; max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hinweise h2 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.hinweise p { font-weight: 300; font-size: 15px; line-height: 1.7; color: var(--soft); }

/* ---------- Textseiten (Bedingungen, Datenschutz, Impressum) ---------- */
.jump { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
main.doc { padding: 40px var(--pad) 72px; }
main.doc > * { max-width: 820px; }
main.doc h2 { font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 48px 0 18px; padding-top: 18px; border-top: 1px solid var(--ink); scroll-margin-top: 20px; }
main.doc h2:first-child { margin-top: 0; }
main.doc > p, main.doc .sec p, main.doc .sec li { font-weight: 300; font-size: 15px; line-height: 1.7; max-width: 66ch; }
main.doc .sec { padding: 14px 0; border-bottom: 1px solid var(--line); }
main.doc .sec h3 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
main.doc .sec p + p, main.doc .sec p + ul, main.doc .sec ul + p { margin-top: 8px; }
main.doc .sec ul { list-style: none; }
main.doc .sec li { padding-left: 18px; position: relative; }
main.doc .sec li:before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--ink); }

details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; font-weight: 500; font-size: 15px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; position: absolute; right: 4px; top: 13px; font-weight: 300; font-size: 20px; }
details[open] summary:after { content: "–"; }
details p { font-weight: 300; font-size: 15px; line-height: 1.7; padding: 0 0 18px; max-width: 62ch; }

.clause { padding: 14px 0; border-bottom: 1px solid var(--line); }
.clause h3 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.clause h3 span { color: var(--mute); font-weight: 400; margin-right: 10px; }
.clause p, .clause li { font-weight: 300; font-size: 15px; line-height: 1.7; max-width: 62ch; }
.clause p + p { margin-top: 8px; }
.clause ul { list-style: none; margin: 6px 0 8px; }
.clause li { padding-left: 18px; position: relative; }
.clause li:before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--ink); }
.box { background: var(--note); padding: 24px 26px; margin-top: 8px; }
.box h3 { font-size: 14px; font-weight: 600; margin: 18px 0 6px; }
.box h3:first-child { margin-top: 0; }
.box p, .box li { font-weight: 300; font-size: 14px; line-height: 1.7; }
.box ul { list-style: none; }
.box li { padding: 2px 0; }
.download { display: inline-block; margin-top: 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; text-decoration: none; border: 1px solid var(--ink); padding: 12px 18px; }
.download:hover { background: var(--ink); color: #fff; }

/* ---------- Fußzeile (wie Startseite) ---------- */
.foot { background: var(--ink); color: #fff; padding: 56px 48px 40px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.foot img { width: 160px; height: auto; }
.foot .links { display: flex; gap: 12px 32px; flex-wrap: wrap; justify-content: center; font-size: 13px; }
.foot .links a { color: var(--foot-text); text-decoration: none; }
.foot .links a:hover { color: #fff; }
.foot .back { color: #fff; text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; border: 1px solid #fff; padding: 12px 20px; }
.foot .back:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.foot small { font-size: 12px; color: var(--foot-text); }

.sticky { display: none; }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .site { padding: 22px 20px 18px; gap: 20px; }
  .site .logo img { width: 170px; }
  .site nav { gap: 12px 22px; font-size: 11px; letter-spacing: .22em; }
  .subnav { gap: 8px 18px; padding: 12px 20px; font-size: 10px; letter-spacing: .14em; }

  .head { padding: 28px 20px 0; }
  h1 { font-size: 25px; }
  .sub { font-size: 15px; line-height: 1.55; }
  .chips { display: flex; flex-wrap: wrap; margin-top: 16px; }
  .chips span { white-space: nowrap; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
  .chips span + span:before { content: "·"; margin: 0 8px; color: var(--mute); }

  .strip { gap: 3px; }
  .strip img { aspect-ratio: 1 / 1; }
  .grid { grid-template-columns: 1fr; gap: 8px; padding: 28px 20px 40px; }
  aside { position: static; order: 2; margin-top: 48px; }
  .head { padding-bottom: 12px; }
  .text { order: 1; }
  .text p { font-size: 15px; }
  aside .cta, aside .cta-note { display: none; }

  .termin { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; }
  .termin .datum { grid-column: 1; }
  .termin .zeit { grid-column: 1; grid-row: 2; font-size: 14px; }
  .termin .aktion { grid-column: 2; grid-row: 1 / span 2; }

  .hero img { height: auto; min-height: 0; aspect-ratio: 3 / 2; object-position: center 92%; }
  .intro { padding: 48px 20px 36px; gap: 16px; }
  .intro p.lead { font-size: 16px; }
  .kursliste { padding: 0 20px 48px; }
  .kurs a.zeile { grid-template-columns: 96px 1fr; gap: 10px 18px; padding: 24px 0; align-items: start; }
  .kurs .thumb { width: 96px; height: 96px; grid-row: 1 / span 3; }
  .kurs .mehr { grid-column: 2; }
  .kurs .name { font-size: 20px; }
  .kurs .beschr { font-size: 15px; }
  .hinweise { padding: 40px 20px; }
  .hinweise ul { grid-template-columns: 1fr; gap: 24px; }

  main.doc { padding: 28px 20px 48px; }
  .box { padding: 18px; }

  .foot { padding: 44px 20px 32px; }
  body.mit-sticky .foot { padding-bottom: 96px; }
  .sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 20px; z-index: 5; }
  .sticky .cta { margin: 0; }
}
