/* rocket-masters.de – ein Stylesheet, mobil zuerst. Schrift: Archivo (SIL OFL), lokal. */
@font-face {
  font-family: "Archivo";
  src: url("schrift/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --schwarz: #000;
  --flaeche: #141414;
  --rand: #232323;
  --linie: #1f1f1f;
  --text: #fff;
  --text-2: #c4c4c4;
  --text-3: #b3b3b3;
  --text-4: #8c8c8c;
  --blau: #60d2ff;
  --blau-hell: #d1eeff;
  --blau-grund: #07141a;
  --breite: 1240px;
  --rund: 20px;
  --abstand: clamp(80px, 11vw, 144px);
  --weich: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--schwarz);
  color: var(--text);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: 16px; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; border-radius: 4px; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.abschnitt { padding-bottom: var(--abstand); }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zum-inhalt { position: absolute; left: 16px; top: -60px; z-index: 50; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; }
.zum-inhalt:focus { top: 12px; }

/* Typografie */
.dach { color: var(--blau); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.dach-klein { color: var(--blau); font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.h1 { font-size: clamp(36px, 5vw, 66px); line-height: 1.04; letter-spacing: -.025em; font-weight: 650; hyphens: auto; }
.buehne .h1 { font-size: clamp(42px, 6.6vw, 96px); line-height: 1; letter-spacing: -.03em; }
.h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.02em; line-height: 1.08; }
.h2-klein { font-size: clamp(24px, 2.6vw, 34px); }
.text { color: var(--text-2); line-height: 1.7; }
.text-3 { color: var(--text-3); }
.leise { color: var(--text-4); font-size: 13px; }
.kopfzeile-abschnitt { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.kopfzeile-abschnitt p:not(.dach) { margin-top: 12px; color: var(--text-3); }
.unterstrichen { font-weight: 600; text-decoration: underline; text-decoration-color: var(--blau); text-underline-offset: 6px; padding: 8px 0; }

/* Knöpfe */
.knopf { display: inline-flex; transition: transform .2s var(--weich), background-color .2s ease, border-color .2s ease; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 26px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; min-height: 48px; transition: transform .15s ease, background-color .15s ease; }
.knopf:active { transform: scale(.98); }
.knopf-weiss { background: #fff; color: #000; }
.knopf-weiss:hover { background: var(--blau-hell); }
.knopf-blau { background: var(--blau); color: #000; font-weight: 700; }
.knopf-blau:hover { background: var(--blau-hell); }
.knopf-rand { border-color: var(--blau); color: var(--blau-hell); }
.knopf-rand:hover { background: var(--blau-grund); }
.knopf-grau { border-color: #3a3a3a; color: #fff; }
.knopf-grau:hover { border-color: #fff; }
.knopf-klein { padding: 10px 18px; font-size: 14px; min-height: 44px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kopf */
.kopf { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.kopf.fest { position: relative; border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo img { height: 40px; width: auto; }
.menue { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.menue a { text-decoration: none; padding: 10px 0; }
.menue a:hover, .menue a[aria-current="page"] { color: var(--blau); }
.menue .knopf { padding: 11px 20px; min-height: 44px; font-size: 14px; }
.menue .knopf:hover { color: #000; }
.ig { display: inline-flex; align-items: center; }
.menue-handy { display: none; }
@media (max-width: 900px) {
  .menue { display: none; }
  .menue-handy { display: block; position: relative; }
  .menue-handy summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,.12); }
  .menue-handy summary::-webkit-details-marker { display: none; }
  .menue-handy nav { position: absolute; right: 0; top: 58px; width: min(84vw, 320px); background: #0d0d0d; border: 1px solid var(--rand); border-radius: var(--rund); padding: 10px; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
  .menue-handy nav a { padding: 14px 16px; text-decoration: none; border-radius: 12px; font-size: 17px; }
  .menue-handy nav a:hover, .menue-handy nav a[aria-current="page"] { background: #1a1a1a; color: var(--blau); }
  .menue-handy .knopf { margin-top: 8px; }
  .menue-handy .knopf:hover { color: #000; }
}

/* Kopfbereich mit Video */
.buehne { position: relative; display: flex; overflow: hidden; background: #000 center / cover no-repeat; }
.buehne-gross { min-height: clamp(580px, 92svh, 880px); align-items: center; justify-content: center; text-align: center; }
.buehne-mittel { min-height: clamp(460px, 62svh, 640px); align-items: flex-end; }
.buehne video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buehne::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 45%, #000 100%); }
.buehne-inhalt { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: 64px; }
.buehne-gross .buehne-inhalt { max-width: 880px; padding-bottom: 96px; }
.buehne-gross .knoepfe { justify-content: center; margin-top: 32px; }
.buehne p.einleitung { margin: 20px auto 0; max-width: 620px; color: #e0e0e0; font-size: clamp(16px, 1.5vw, 19px); }
.buehne-mittel p.einleitung { margin-left: 0; }
@media (prefers-reduced-motion: reduce) { .buehne video { display: none; } }

/* Raster und Karten */
.zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 56px); align-items: center; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); gap: 14px; }
.karte { background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--rund); padding: 24px; }
.karte h3 { font-size: 19px; line-height: 1.3; }
.karte p { margin-top: 8px; color: var(--text-3); font-size: 15px; line-height: 1.6; }
.karte .zahl { color: var(--blau); font-size: 32px; font-weight: 600; line-height: 1; margin: 0 0 16px; }
.karte .marke { color: var(--blau); font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.foto { overflow: hidden; border-radius: 28px; isolation: isolate; }
.foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.symbolkreis { width: 48px; height: 48px; border-radius: 999px; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.blau-kasten { background: var(--blau-grund); border: 1px solid var(--blau); border-radius: var(--rund); padding: 24px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.blau-kasten p.fett { font-weight: 600; font-size: 19px; }
.blau-kasten p + p { margin-top: 6px; color: #c9dde6; font-size: 15px; }
.fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 100px), 1fr)); gap: 8px; max-width: 680px; margin-top: 24px; }
.fakt { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 14px; padding: 14px; }
.fakt span { display: block; color: var(--text-4); font-size: 13px; }
.fakt strong { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; }

/* Workshop-Karten: Bild zuerst */
.wkarte { display: flex; flex-direction: column; text-decoration: none; }
.wkarte-bild { position: relative; display: block; border-radius: 22px; overflow: hidden; isolation: isolate; }
.wkarte-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s var(--weich); }
a.wkarte:hover .wkarte-bild img, a.wkarte:focus-visible .wkarte-bild img { transform: scale(1.05); }
.wkarte-titel { position: absolute; inset: auto 0 0 0; padding: 80px 22px 20px; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.82)); display: flex; flex-direction: column; }
.wkarte .art { color: var(--blau); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.wkarte h3 { margin-top: 6px; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.01em; }
.wkarte .rumpf { padding: 16px 4px 0; display: flex; flex-direction: column; flex: 1; }
.wkarte p { color: var(--text-3); font-size: 15px; flex: 1; }
.wkarte .werte { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); padding: 12px 0; text-align: center; font-size: 13px; color: #d4d4d4; }
.wkarte .fuss { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-4); font-size: 14px; }
.pfeil { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 15px; }
.pfeil svg { transition: transform .3s var(--weich); }
a.wkarte:hover .pfeil { color: var(--blau); }
a.wkarte:hover .pfeil svg { transform: translateX(4px); }

/* Bewertungen im Google-Stil */
.bew { background: #fff; color: #202124; border-radius: 16px; padding: 20px; margin: 0; display: flex; flex-direction: column; }
.bew-kopf { display: flex; align-items: center; gap: 12px; }
.bew-bild { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 999px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 500; }
.bew-name { font-weight: 600; font-size: 15px; }
.bew-datum { color: #70757a; font-size: 13px; }
.sterne { color: #fbbc04; letter-spacing: 2px; line-height: 1; }
.bew .sterne { margin-top: 14px; font-size: 17px; }
.bew blockquote { margin: 10px 0 0; color: #3c4043; font-size: 14px; line-height: 1.6; }
.bew-gesamt { text-align: center; justify-content: center; }
.bew-gesamt .gross { font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.bew-gesamt .sterne { font-size: 28px; letter-spacing: 3px; margin: 8px 0 0; }
.bew-gesamt p:not(.sterne) { color: #5f6368; font-size: 14px; margin-top: 10px; }

/* Onlinekurs-Teaser */
.kurs-teaser { border: 1px solid var(--blau); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); background: var(--blau-grund); text-decoration: none; }
.kurs-teaser picture { height: 100%; }
.kurs-teaser picture { overflow: hidden; }
.kurs-teaser img { width: 100%; height: 100%; min-height: 280px; max-height: 480px; object-fit: cover; transition: transform .9s var(--weich); }
.kurs-teaser:hover img { transform: scale(1.04); }
.kurs-teaser .dach-klein { margin: 0; }
.kurs-teaser .rumpf { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.kurs-teaser h3 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 10px; }
.kurs-teaser p { margin-top: 14px; color: #c9dde6; font-size: 16px; }
.kurs-teaser .zeile { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 20px; font-weight: 600; }

/* Inhalt mit Seitenleiste (Buchen, Kaufen) */
.mit-leiste { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.mit-leiste > .haupt { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 64px; }
.leiste { flex: 1 1 320px; position: sticky; top: 24px; background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--rund); padding: 28px; }
.leiste .preis { font-weight: 600; font-size: 40px; line-height: 1; margin-top: 10px; }
.leiste ul { margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--rand); list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #e6e6e6; }
.leiste .knopf { width: 100%; margin-top: 24px; }
.leiste .klein { margin-top: 14px; color: var(--text-4); font-size: 13px; line-height: 1.5; }
.leiste img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }

/* Listen */
.haken-liste { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.haken-liste li { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 16px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; color: #e0e0e0; font-size: 15px; }
.haken-liste .haken { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 999px; background: var(--blau); color: #000; display: flex; align-items: center; justify-content: center; }
.lektionen { margin: 16px 0 0; padding: 0; list-style: none; }
.lektionen li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--rand); }
.lektionen .nr { color: var(--text-4); font-size: 14px; font-weight: 600; }
.lektionen strong { display: block; font-size: 15px; }
.lektionen span.t { display: block; margin-top: 4px; color: var(--text-3); font-size: 14px; }
.kunden { display: flex; flex-wrap: wrap; gap: 10px; }
.kunden span { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 14px; padding: 16px 22px; color: #d4d4d4; font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 16px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--blau); flex: 0 0 auto; }
.faq details[open] summary::after { content: "−"; }
.faq .antwort { padding: 0 22px 20px; color: var(--text-2); font-size: 16px; }

/* Rechtstexte */
.rechtstext { max-width: 780px; color: var(--text-2); }
.rechtstext h2 { color: #fff; font-size: 22px; margin: 40px 0 12px; }
.rechtstext p, .rechtstext li { line-height: 1.7; }
.entwurf { background: #2a1e00; border: 1px solid #a67c00; color: #ffe08a; border-radius: 14px; padding: 14px 18px; margin-bottom: 28px; font-size: 15px; }

/* Markus-Zeile */
.markus { border-top: 1px solid var(--linie); padding-top: 56px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.markus picture { flex: 0 0 120px; }
.markus img { width: 120px; height: 120px; object-fit: cover; border-radius: 999px; }
.markus div { flex: 1 1 360px; }
.markus h2 { font-size: 24px; }
.markus p { margin-top: 8px; color: var(--text-3); max-width: 680px; }

/* Model */
.model { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.model picture { flex: 0 0 140px; }
.model img { width: 140px; height: 140px; object-fit: cover; border-radius: 14px; }
.model div { flex: 1 1 260px; }

/* Fuß */
.fusszeile { border-top: 1px solid var(--linie); }
.fusszeile .oben { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.fusszeile h2 { font-size: 17px; margin-bottom: 12px; }
.fusszeile nav { display: flex; flex-direction: column; font-size: 15px; }
.fusszeile nav a, .fusszeile .unten a { text-decoration: none; padding: 6px 0; }
.fusszeile nav a:hover, .fusszeile .unten a:hover { color: var(--blau); }
.fusszeile address { font-style: normal; color: #d4d4d4; font-size: 15px; line-height: 1.8; }
.fusszeile .blau { color: var(--blau); }
.fusszeile .unten { border-top: 1px solid #1a1a1a; padding-top: 18px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--text-4); font-size: 13px; }
.fusszeile .unten nav { flex-direction: row; flex-wrap: wrap; gap: 0 20px; font-size: 13px; }
.fusszeile .unten a { color: #a3a3a3; }
.rechtstext table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.rechtstext th, .rechtstext td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rand); }
.rechtstext th { color: #fff; }
.rechtstext ol, .rechtstext ul { padding-left: 22px; }
.rechtstext a { color: var(--blau); }

/* Termine (aus der Verwaltung beim Kurs-Shop) */
.termine { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.termin { background: #0b0b0b; border: 1px solid var(--rand); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.termin strong { font-size: 16px; }
.termin span { color: var(--text-3); font-size: 14px; }
.termin a { color: var(--blau); text-decoration: none; }
.termin .knopf { margin-top: 6px; width: 100%; color: #000; }
.termin .hinweis-termin { color: var(--blau-hell); font-weight: 600; }
.termin .status { color: #ffd166; font-weight: 600; }
.termin-abgesagt strong { text-decoration: line-through; color: var(--text-4); }
.termine-liste { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.leiste .termine { border-top: 0; padding-top: 0; margin-top: 22px; }
.leiste .termine li { color: inherit; }

/* ——— Gestaltung November 2026: Bildwirkung, Bewegung (nur CSS), mehr Ruhe ——— */

/* Einstieg: Text gleitet beim Laden herein */
.buehne-gross .buehne-inhalt { max-width: 1000px; }
@media (prefers-reduced-motion: no-preference) {
  .buehne-inhalt > * { animation: herein 1s var(--weich) both; }
  .buehne-inhalt > :nth-child(2) { animation-delay: .12s; }
  .buehne-inhalt > :nth-child(3) { animation-delay: .24s; }
  .buehne-inhalt > :nth-child(4) { animation-delay: .36s; }
}
@keyframes herein { from { opacity: 0; transform: translateY(24px); } }

/* Kopf: bleibt beim Scrollen oben und bekommt eine Glasfläche (nur wo der Browser das kann) */
@supports (animation-timeline: scroll()) {
  .kopf:not(.fest) { position: fixed; animation: kopf-glas linear both; animation-timeline: scroll(root); animation-range: 0 240px; border-bottom: 1px solid transparent; }
  @keyframes kopf-glas { to { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: rgba(255, 255, 255, .08); } }
  .kopf:not(.fest) .huelle { padding-top: 12px; padding-bottom: 12px; }
}

/* Bild und Text nebeneinander, Bild größer */
.bildtext { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.bildtext-links { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.bildtext-text .text { margin-top: 24px; max-width: 58ch; }
@media (max-width: 800px) {
  /* Handy: Überschrift, erster Absatz, Foto, zweiter Absatz */
  .bildtext, .bildtext-links { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bildtext-text, .bildtext-text .text { display: contents; }
  .bildtext-text > .dach-klein { order: 1; }
  .bildtext-text > h2 { order: 2; margin-bottom: 20px; }
  .bildtext-text .text > p { order: 3; color: var(--text-2); line-height: 1.7; max-width: 58ch; }
  .bildtext > .foto { order: 4; margin: 28px 0; }
  .bildtext-text .text > p ~ p { order: 5; margin-top: 0; }
}

/* Großes Bild über die ganze Breite mit einem Satz */
.aussage { position: relative; display: flex; align-items: center; min-height: clamp(440px, 82svh, 780px); overflow: hidden; margin-bottom: var(--abstand); isolation: isolate; }
.aussage-bild { position: absolute; inset: 0; z-index: -1; }
.aussage-bild img { width: 100%; height: 100%; object-fit: cover; }
.aussage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.25) 22%, rgba(0,0,0,.35) 70%, #000 100%); }
.aussage-inhalt { width: 100%; }
.kopfbild { position: relative; height: clamp(220px, 38vw, 520px); overflow: hidden; }
.kopfbild picture, .kopfbild img { display: block; width: 100%; height: 100%; }
.kopfbild img { object-fit: cover; object-position: 50% 35%; }
.kopfbild::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to bottom, transparent, #000); }
.bildband { height: clamp(260px, 52vw, 720px); overflow: hidden; margin-bottom: var(--abstand); }
.bildband picture, .bildband img { display: block; width: 100%; height: 100%; }
.bildband img { object-fit: cover; }
.aussage-404 { min-height: clamp(520px, 88svh, 860px); margin-bottom: 0; }
.aussage-404 .aussage-bild img { object-position: 50% 60%; }
.aussage-404 .aussage-inhalt .text { max-width: 420px; }
@media (max-width: 900px) {
  .aussage-404 { flex-direction: column; align-items: stretch; min-height: 0; }
  .aussage-404 .aussage-bild { position: relative; inset: auto; height: 62vw; z-index: 0; }
  .aussage-404::after { display: none; }
  .aussage-404 .aussage-inhalt { padding-top: 28px; padding-bottom: 64px; }
  .aussage-404 .aussage-inhalt .text { max-width: none; }
}
.aussage-text { font-size: clamp(34px, 5.6vw, 80px); font-weight: 650; line-height: 1.02; letter-spacing: -.03em; max-width: 14em; margin-bottom: 32px; text-wrap: balance; }

/* Vorteile: ruhige Liste statt zehn Kästen */
.vorteile { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 44px 32px; }
.vorteile li { border-top: 1px solid #2a2a2a; padding-top: 22px; }
.vorteil-symbol { display: block; color: var(--blau); margin-bottom: 16px; }
.vorteile h3 { font-size: 17px; line-height: 1.3; }
.vorteile p { margin-top: 6px; color: var(--text-3); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 600px) {
  .vorteile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 18px; }
  .vorteile li { padding-top: 16px; }
  .vorteil-symbol { margin-bottom: 10px; }
  .vorteile h3 { font-size: 15px; }
  .vorteile p { font-size: 13.5px; }
}

/* Markus groß */
.markus-gross { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.markus-gross .text { margin: 20px 0 32px; max-width: 52ch; }
@media (max-width: 800px) { .markus-gross { grid-template-columns: minmax(0, 1fr); } .markus-gross .foto img { aspect-ratio: 1 / 1; } }

/* Handy: Kartenreihen zum Wischen statt endloser Stapel */
@media (max-width: 700px) {
  .wisch { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -24px; padding: 0 24px 10px; scroll-padding: 0 24px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .wisch::-webkit-scrollbar { display: none; }
  .wisch > * { flex: 0 0 84%; scroll-snap-align: start; }
}

/* Bewegung beim Scrollen – nur wo der Browser das kann, nie bei „Bewegung reduzieren“ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .auf, main .karte, .haken-liste li, .raster > .wkarte { animation: auftauchen linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .foto-zoom img { animation: heranzoomen linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
    .aussage-bild img { animation: schweben linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes auftauchen { from { opacity: 0; transform: translateY(40px); } }
@keyframes heranzoomen { from { transform: scale(1.2); } }
@keyframes schweben { from { transform: scale(1.18) translateY(-6%); } to { transform: scale(1.18) translateY(6%); } }
@media (max-width: 700px) {
  .wkarte-bild img { aspect-ratio: 4 / 3; }
  .wisch > .bew-gesamt { flex-basis: 62%; }
  .wkarte-titel { padding: 56px 18px 16px; }
}
.karten-link { color: var(--blau); font-weight: 600; text-decoration: none; }
.karten-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.station { padding: clamp(24px, 4vw, 48px); }
.station .marke { font-size: 16px; margin-bottom: 14px; }
.station-text { color: var(--text-2); font-size: 17px; line-height: 1.75; }
.station-text p { margin: 0; color: inherit; font-size: inherit; }
.station-text p + p { margin-top: 1.4em; }
.station-text p { break-inside: avoid-column; }
@media (min-width: 900px) { .station-text { column-count: 2; column-gap: 56px; } }
.buehne + .bildtext { padding-top: clamp(48px, 6vw, 88px); }

/* Teaser-Video oben auf der Kursseite: startet erst beim Klick, mit Ton */
.teaser { margin: 0; }
.teaser video { width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; background: #000; object-fit: cover; box-shadow: 0 30px 80px rgba(96, 210, 255, .12); }
.teaser figcaption { margin-top: 12px; color: var(--text-4); font-size: 13px; }

/* Karussell (Über mich): ohne Skript – Wischen bzw. Scrollen mit Einrasten;
   wo der Browser es kann, mit Pfeilen und Punkten (::scroll-button, ::scroll-marker). */
.karussell-huelle { position: relative; min-width: 0; }
.karussell { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 28px; scroll-marker-group: after; anchor-name: --karussell; }
.karussell::-webkit-scrollbar { display: none; }
.karussell:focus-visible { outline: 2px solid var(--blau); outline-offset: 4px; }
.karussell-bild { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; border-radius: 28px; overflow: hidden; }
.karussell-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.karussell-bild--1 img { object-position: 40% 60%; }
.karussell-bild--2 img { object-position: 50% 15%; }
.karussell-bild--3 img { object-position: 65% 40%; }
.karussell-bild--4 img { object-position: 54% 50%; }
.karussell-bild--5 img { object-position: 50% 45%; }
.karussell-bild--6 img { object-position: 50% 25%; }
.karussell-bild--7 img { object-position: 40% 40%; }
.karussell-bild--8 img { object-position: 50% 30%; }
.karussell-hinweis { margin-top: 12px; color: var(--text-4); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .karussell { scroll-behavior: auto; } }

@supports selector(::scroll-marker) {
  .karussell-hinweis { display: none; }
  .karussell::scroll-marker-group { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
  .karussell-bild::scroll-marker { content: ""; width: 9px; height: 9px; border-radius: 999px; background: #444; transition: background .2s ease, transform .2s ease; }
  .karussell-bild::scroll-marker:target-current { background: var(--blau); transform: scale(1.25); }
  .karussell::scroll-button(*) { position: absolute; position-anchor: --karussell; top: anchor(center); translate: 0 -50%; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 20px; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .karussell::scroll-button(*):disabled { opacity: 0; pointer-events: none; }
  .karussell::scroll-button(*):hover { background: rgba(0, 0, 0, .8); }
  .karussell::scroll-button(left) { content: "←" / "Vorheriges Bild"; left: calc(anchor(left) + 12px); }
  .karussell::scroll-button(right) { content: "→" / "Nächstes Bild"; left: calc(anchor(right) - 56px); }
}

/* Dachzeile gehört zur Hauptüberschrift (Suchmaschinen lesen beides), sieht aber aus wie vorher */
.h1-gruppe { margin: 0; font-weight: inherit; }
.h1-gruppe > .dach, .h1-gruppe > .h1 { display: block; }
.h1-gruppe > .dach { font-weight: 600; line-height: 1.6; }

/* Englische Fassung des Kurses (Udemy) */
.sprache-pille { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; white-space: nowrap; }
.englisch-hinweis { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 16px 10px 10px; border: 1px solid var(--rand); border-radius: 999px; background: rgba(255,255,255,.04); color: var(--text-2); text-decoration: none; font-size: 14.5px; line-height: 1.35; transition: border-color .2s ease, background-color .2s ease; }
.englisch-hinweis strong { color: #fff; }
.englisch-hinweis:hover, .englisch-hinweis:focus-visible { border-color: var(--blau); background: rgba(96, 210, 255, .08); }
.pfeil-klein { color: var(--blau); font-weight: 700; }
.englisch-kasten { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rand); }
.englisch-kopf { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.englisch-kasten p:not(.englisch-kopf) { margin-top: 8px; color: var(--text-3); font-size: 14px; }
.englisch-kasten .knopf { margin-top: 14px; }

/* Galerie auf den Workshop-Seiten */
.galerie { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.galerie-bild { display: block; flex: 0 0 calc((100% - 28px) / 3); border-radius: 16px; overflow: hidden; isolation: isolate; }
.galerie-4 .galerie-bild { flex-basis: calc((100% - 42px) / 4); }
.galerie-bild img { width: 100%; height: auto; display: block; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .8s var(--weich); }
.galerie-quadrat .galerie-bild img { aspect-ratio: 1 / 1; }
.galerie-quer .galerie-bild img { aspect-ratio: 3 / 2; }
.galerie-bild:hover img, .galerie-bild:focus-visible img { transform: scale(1.04); }
@media (max-width: 600px) { .galerie, .galerie-4 { gap: 10px; } .galerie .galerie-bild, .galerie-4 .galerie-bild { flex-basis: calc((100% - 10px) / 2); border-radius: 12px; } }

/* Großansicht ohne Skript (:target) */
.galerie-bild { cursor: zoom-in; }
.lichtbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 4vh 4vw; background: rgba(0, 0, 0, .94); }
.lichtbox:target { display: flex; }
.lichtbox-hinter { position: absolute; inset: 0; cursor: zoom-out; }
.lichtbox figure { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.lichtbox picture { display: block; }
.lichtbox img { display: block; width: auto; height: auto; max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 10px; }
.lichtbox figcaption { color: var(--text-3); font-size: 14px; text-align: center; max-width: 70ch; }
.lichtbox-zu, .lichtbox-pfeil { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lichtbox-zu:hover, .lichtbox-pfeil:hover { background: rgba(255, 255, 255, .25); }
.lichtbox-zu { top: 16px; right: 16px; }
.lichtbox-pfeil { top: 50%; translate: 0 -50%; font-size: 34px; }
.lichtbox-zurueck { left: 12px; }
.lichtbox-weiter { right: 12px; }
@media (max-width: 600px) { .lichtbox-pfeil { top: auto; bottom: 16px; translate: none; } .lichtbox img { max-height: 74vh; } }

/* Auszeichnungen */
.preise { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 220px)); gap: 14px; }
.preise .galerie-bild { margin: 0; background: #111; border: 1px solid var(--rand); }
.preise .galerie-bild img { aspect-ratio: 4 / 5; object-fit: contain; }
@media (max-width: 600px) { .preise { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }

/* Vorher/Nachher */
.vergleich { --pos: 50%; position: relative; max-width: 1100px; margin: 0 auto; border-radius: 24px; overflow: hidden; isolation: isolate; user-select: none; -webkit-user-select: none; }
.vergleich picture, .vergleich img { display: block; width: 100%; height: auto; }
.vergleich-nachher { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vergleich-nachher img { height: 100%; object-fit: cover; }
.vergleich-griff { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.5); pointer-events: none; }
.vergleich-griff::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: #fff; color: #000; font-weight: 700; font-size: 18px; letter-spacing: 2px; box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.vergleich-marke { position: absolute; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.vergleich-vorher .vergleich-marke { right: 14px; }
.vergleich-nachher .vergleich-marke { left: 14px; }
.vergleich-regler { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.vergleich-regler::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; }
.vergleich-regler::-moz-range-thumb { width: 60px; height: 100vh; border: 0; }
.vergleich-regler:focus-visible + * , .vergleich:focus-within .vergleich-griff::after { outline: 3px solid var(--blau); outline-offset: 2px; }
html:not(.js) .vergleich-regler { display: none; }

/* Workshop-Seite: Kopfbild groß, Text mit Fotos aufgelockert, Buchung über die ganze Seite */
.ws-kopf { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(580px, 94svh, 940px); padding: 120px 0 72px; }
.ws-kopf-bild { position: absolute; inset: 0 0 0 auto; width: 64%; z-index: -2; }
.ws-kopf-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%); mask-image: linear-gradient(to right, transparent 0, #000 45%); }
.ws-kopf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, #000 34%, rgba(0,0,0,.55) 48%, rgba(0,0,0,0) 70%), linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 72%, #000 100%); }
.ws-kopf-inhalt { width: 100%; }
.ws-kopf-inhalt > * { max-width: 600px; }
.ws-rumpf .leiste { top: 92px; max-height: calc(100svh - 112px); }
.ws-kurz { margin-top: 20px; font-size: 18px; }
.ws-kopf-knoepfe { margin-top: 28px; align-items: center; }
.ws-kopf-preis { font-size: 22px; font-weight: 600; }
.ws-rumpf { padding-top: 32px; }
.ws-rumpf > .haupt { gap: 72px; }
.ws-titel { margin-bottom: 20px; }
.ws-text { max-width: 720px; }
.ws-unter { margin: -6px 0 20px; }
.ws-liste-titel { margin: 32px 0 16px; font-size: 19px; }
.ws-fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ws-fotos-1 { grid-template-columns: minmax(0, 1fr); }
.ws-foto img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 16px; }
.ws-fotos-1 .ws-foto img { aspect-ratio: 3 / 2; }
.leiste { max-height: calc(100svh - 48px); overflow: auto; }
.buchen-mobil { display: none; }
@media (max-width: 960px) {
  .mit-leiste { flex-direction: column; align-items: stretch; }
  .mit-leiste > .haupt { flex: none; }
  .leiste { position: static; flex: none; max-height: none; overflow: visible; }
  .buchen-mobil { display: flex; position: sticky; bottom: 12px; z-index: 20; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border: 1px solid var(--rand); border-radius: 999px; background: rgba(18, 18, 18, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .buchen-mobil span { display: flex; flex-direction: column; line-height: 1.25; }
  .buchen-mobil small { color: var(--text-4); font-size: 12px; }
}
@media (max-width: 900px) {
  .ws-kopf { display: block; min-height: 0; padding: 0 0 48px; }
  .ws-kopf-bild { position: relative; inset: auto; display: block; width: 100%; height: min(118vw, 78svh); }
  .ws-kopf::after { background: linear-gradient(to bottom, rgba(0,0,0,.6) 0, rgba(0,0,0,0) 120px); }
  .ws-kopf-bild img { -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to bottom, #000 62%, transparent); }
  .ws-kopf-inhalt { margin-top: -32px; position: relative; }
}
