/* myfahrlehrer.ch, Design «Schilderwald» (Codani). Teil 1: wie im Entwurf B, Teil 2 am Ende: WordPress-Blöcke und Unterseiten */

@font-face {
  font-family: "Familjen Grotesk";
  src: url("../fonts/familjen-grotesk.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blau: #0B59A7;
  --blau-tief: #083F78;
  --nacht: #06284D;
  --weiss: #fff;
  --eisblau: #C5DCE6;
  --eis: #EEF4F9;
  --lime: #C0CF42;
  --lime-hell: #D3DF6E;
  --lime-text: #D6E273; /* kleine Schrift auf --blau: 5.0:1 */
  --rot: #D52B1E;
  --tinte: #0E1B2C;
  --grau: #46566A;
  --linie: #DCE5EE;
  --wrap: 1200px;
  --gut: 32px;
  --kopf: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --muster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cg transform='rotate(-6 50 50)'%3E%3Ccircle cx='50' cy='50' r='26'/%3E%3Ccircle cx='50' cy='50' r='18'/%3E%3C/g%3E%3Cpath transform='rotate(5 172 45)' d='M150 30h44l-22 38z'/%3E%3Cpath transform='rotate(4 236 70)' d='M226 46h20l14 14v20l-14 14h-20l-14-14v-20z'/%3E%3Cg transform='rotate(-4 70 160)'%3E%3Crect x='46' y='136' width='48' height='48' rx='6'/%3E%3Cpath d='M63 173v-26h9a7 7 0 0 1 0 14h-9'/%3E%3C/g%3E%3Cg transform='rotate(3 170 170)'%3E%3Ccircle cx='170' cy='170' r='24'/%3E%3Cpath d='M170 184v-26M161 166l9-9 9 9'/%3E%3C/g%3E%3Cpath d='M250 198l20 20-20 20-20-20z'/%3E%3Cpath transform='rotate(-5 110 245)' d='M86 262l24-40 24 40z'/%3E%3C/g%3E%3C/svg%3E");
  --font: "Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--kopf); }
body {
  margin: 0; background: var(--nacht); color: var(--tinte);
  font: 400 1.125rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { background: var(--weiss); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
h2 { text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
/* Auf hellen und lindgrünen Flächen dunkler Fokusrahmen */
.kosten :focus-visible, .trainer :focus-visible, .mehr :focus-visible, .galerie-kopf :focus-visible, .galerie-reihe :focus-visible { outline-color: var(--blau-tief); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--lime); color: var(--tinte); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blau);
}
.kicker::before { content: ""; width: 10px; height: 22px; background: var(--lime); }
.kicker .i { display: none; }

/* Pfeil-Etikett wie im Signet: Rechteck mit Spitze rechts in der Mitte */
.tag { position: relative; }
.tag::after {
  content: ""; position: absolute; top: 50%; right: calc(-1 * var(--spitze, 18px) + 1px);
  width: var(--spitze, 18px); height: calc(2 * var(--spitze, 18px)); margin-top: calc(-1 * var(--spitze, 18px));
  background: inherit; clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: .85em 1.4em; border-radius: 6px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--tinte); }
.btn-lime:hover { background: var(--lime-hell); }
.btn-umriss { border-color: rgb(255 255 255 / 45%); color: var(--weiss); }
.btn-umriss:hover { border-color: var(--weiss); background: rgb(255 255 255 / 8%); }
.link-pfeil {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  font-weight: 700; color: var(--blau); text-decoration: none;
}
.link-pfeil .i { transition: transform .25s var(--ease); }
.link-pfeil:hover .i:last-child { transform: translateX(4px); }
.link-pfeil:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--blau); color: var(--weiss);
  transition: background-color .3s, box-shadow .3s;
}
.kopf.gescrollt { background: rgb(8 63 120 / 94%); box-shadow: 0 8px 30px rgb(4 24 48 / 28%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.kopf-in { display: flex; align-items: center; gap: 28px; min-height: var(--kopf); }
.marke { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--weiss); margin-right: auto; }
.marke-signet { width: 52px; height: 44px; flex: none; }
.marke-text { display: flex; flex-direction: column; line-height: 1; }
.marke-name { font-size: 1.125rem; font-weight: 700; letter-spacing: .02em; }
.marke-name b { color: var(--lime); }
.marke-sub { margin-top: 5px; font-size: .6875rem; font-weight: 600; letter-spacing: .3em; color: var(--eisblau); }
.nav { display: flex; gap: 4px; }
.nav a {
  position: relative; padding: 10px 12px; font-size: 1rem; font-weight: 600; text-decoration: none; color: rgb(255 255 255 / 88%);
  transition: color .2s;
}
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--weiss); }
.nav a:hover::after { transform: scaleX(1); }
.kopf-tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border-radius: 6px; background: var(--lime); color: var(--tinte); font-weight: 700; text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums; transition: background-color .2s, transform .25s var(--ease);
}
.kopf-tel:hover { background: var(--lime-hell); transform: translateY(-1px); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--weiss);
  background:
    radial-gradient(900px 620px at 78% 46%, rgb(36 122 206 / 55%), transparent 62%),
    linear-gradient(180deg, var(--blau) 0%, #0A519A 100%);
}
.hero::before {
  /* feine Leitlinie unten, wie eine Strassenmarkierung */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 56px, transparent 56px 92px);
  opacity: .9;
}
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  min-height: min(calc(88vh - var(--kopf)), 760px); padding-top: 40px; padding-bottom: 72px;
}
.hero-in { position: relative; z-index: 1; }
.hero-text { position: relative; z-index: 3; }
.hero .kicker { color: var(--weiss); margin-bottom: 26px; padding: 7px 14px 7px 10px; border: 1px solid rgb(255 255 255 / 28%); border-radius: 999px; letter-spacing: .14em; }
.hero .kicker::before { display: none; }
.hero .kicker .i { display: block; width: 18px; height: 18px; color: var(--lime); }
h1 { margin: 0; }
.h1-klein { display: block; max-width: 30em; font-size: 1.25rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; color: var(--lime-text); }
.h1-gross { display: block; margin-top: 14px; font-size: clamp(2.75rem, 6.2vw, 5.6rem); line-height: .96; letter-spacing: -0.04em; }
.unterstrich { position: relative; z-index: 0; white-space: nowrap; }
.unterstrich::after {
  content: ""; position: absolute; z-index: -1; left: -.02em; right: .02em; bottom: .02em; height: .14em;
  background: var(--lime); transform-origin: left;
}
.lead { max-width: 30em; margin: 26px 0 34px; font-size: 1.25rem; line-height: 1.5; color: var(--eisblau); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.btn-anruf {
  --spitze: 20px;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 72px; padding: 12px 22px 12px 12px; border-radius: 6px 0 0 6px;
  background: var(--lime); color: var(--tinte); text-decoration: none;
  transition: background-color .2s, transform .25s var(--ease);
}
.btn-anruf::after {
  content: ""; position: absolute; top: 50%; right: calc(-1 * var(--spitze) + 1px);
  width: var(--spitze); height: calc(2 * var(--spitze)); margin-top: calc(-1 * var(--spitze));
  background: inherit; clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.btn-anruf:hover { background: var(--lime-hell); transform: translateX(3px); }
.btn-anruf-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 4px; background: var(--tinte); color: var(--lime); }
.btn-anruf-icon .i { width: 24px; height: 24px; }
.btn-anruf-text { display: flex; flex-direction: column; line-height: 1.15; }
.btn-anruf-label { font-size: .9375rem; font-weight: 600; }
.btn-anruf-nr { font-size: 1.625rem; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.zeiten { display: flex; align-items: flex-start; gap: 10px; margin: 30px 0 0; font-size: 1rem; color: var(--eisblau); }
.zeiten .i { margin-top: 3px; color: var(--lime); }
.zeiten strong { color: var(--weiss); font-weight: 600; white-space: nowrap; }

/* Schilderfeld */
.feld { position: relative; height: 600px; }
.schilder { position: absolute; inset: 0; z-index: 1; }
.z {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s);
  transform: translate(-50%, -50%) translate(calc(var(--px, 0) * var(--k, 0px)), calc(var(--py, 0) * var(--k, 0px))) rotate(var(--r));
  transition: transform .5s var(--ease);
  overflow: visible;
}
.z.t1 { --k: 3px; color: rgb(255 255 255 / 30%); }
.z.t2 { --k: 6px; color: rgb(255 255 255 / 30%); }
.z.t3 { --k: 10px; }
.z.farbe { filter: drop-shadow(0 10px 18px rgb(3 25 52 / 35%)); }
.etikett {
  --spitze: 56px;
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 400px; height: 480px;
  transform: translate(-50%, -50%);
}
.etikett-rahmen {
  position: absolute; inset: 0; display: block; background: var(--weiss);
  clip-path: polygon(0 0, calc(100% - var(--spitze)) 0, calc(100% - var(--spitze)) calc(50% - var(--spitze)), 100% 50%, calc(100% - var(--spitze)) calc(50% + var(--spitze)), calc(100% - var(--spitze)) 100%, 0 100%);
  filter: drop-shadow(0 30px 50px rgb(3 25 52 / 40%));
}
.etikett img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  clip-path: polygon(6px 6px, calc(100% - var(--spitze) - 6px) 6px, calc(100% - var(--spitze) - 6px) calc(50% - var(--spitze) + 2.5px), calc(100% - 8.5px) 50%, calc(100% - var(--spitze) - 6px) calc(50% + var(--spitze) - 2.5px), calc(100% - var(--spitze) - 6px) calc(100% - 6px), 6px calc(100% - 6px));
}
.bewertung {
  position: absolute; z-index: 3; left: 0; bottom: 72px;
  display: grid; gap: 4px; padding: 14px 18px 15px; max-width: 240px;
  border-radius: 8px; background: var(--nacht); color: var(--weiss); text-decoration: none;
  box-shadow: 0 20px 40px rgb(3 25 52 / 40%), inset 0 0 0 1px rgb(255 255 255 / 10%);
  transition: transform .25s var(--ease);
}
.bewertung:hover { transform: translateY(-3px); }
.sterne { display: inline-flex; gap: 2px; color: var(--lime); }
.sterne .i { width: 18px; height: 18px; }
.bewertung-zahl { font-size: .9375rem; line-height: 1.3; }
.bewertung-zahl strong { font-size: 1.125rem; }
.bewertung-quelle { font-size: .75rem; line-height: 1.35; color: var(--eisblau); }

/* ---------- Abschnitte allgemein ---------- */
.kopfzeile { max-width: 760px; margin-bottom: 56px; }
.kopfzeile h2, .fb-kopf h2, .galerie-kopf h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.kopfzeile-text { margin-top: 18px; font-size: 1.1875rem; }

/* ---------- Ablauf ---------- */
.ablauf { padding: 112px 0 104px; background: var(--blau-tief); color: var(--weiss); }
.ablauf .kicker, .feedbacks .kicker, .kontakt .kicker { color: var(--lime); }
.ablauf .kopfzeile-text { color: var(--eisblau); }
.schritte { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; counter-reset: s; }
.schritt {
  --spitze: 18px;
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 24px 22px 26px; border-radius: 6px 0 0 6px; background: var(--weiss); color: var(--tinte);
}
.schritt::after {
  content: ""; position: absolute; top: 50%; right: calc(-1 * var(--spitze) + 1px);
  width: var(--spitze); height: calc(2 * var(--spitze)); margin-top: calc(-1 * var(--spitze));
  background: inherit; clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.schritt-nr {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px;
  background: var(--blau); color: var(--weiss); font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.schritt-nr::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 4px; background: var(--lime); }
.schritt h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
.schritt p { font-size: 1rem; line-height: 1.5; color: var(--grau); }
.schritt-ziel { background: var(--lime); }
.schritt-ziel p { color: var(--tinte); }
.ablauf-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgb(255 255 255 / 16%); }
.ablauf-los { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.3; color: var(--eisblau); }
.ablauf-los strong { color: var(--weiss); }
.ablauf-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ablauf .link-pfeil { color: var(--lime); font-size: 1.0625rem; }

/* ---------- Kosten ---------- */
.kosten { position: relative; padding: 104px 0 96px; background: var(--lime); color: var(--tinte); overflow: hidden; }
.kosten::before {
  content: ""; position: absolute; right: -60px; top: 50%; width: 520px; height: 520px; margin-top: -260px;
  border-radius: 50%; border: 56px solid rgb(14 27 44 / 6%);
}
.preis-haupt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.preis-gross {
  margin: 0; display: flex; align-items: flex-start; font-weight: 700; line-height: .82; letter-spacing: -0.055em;
  font-size: clamp(5rem, 12.5vw, 11.5rem); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.preis-fr { margin: .1em .14em 0 0; font-size: .3em; letter-spacing: -0.01em; }
.preis-text { padding-bottom: 10px; }
.preis-satz { max-width: 22em; font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.preis-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.preis-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border: 2px solid var(--tinte); border-radius: 999px; font-size: .9375rem; font-weight: 700; }
.preis-chips .i { width: 18px; height: 18px; stroke-width: 2.6; }
.preis-liste { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border-top: 3px solid var(--tinte); }
.preis-liste li { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 0 0; }
.preis-liste li + li { padding-left: 24px; border-left: 1px solid rgb(14 27 44 / 22%); }
.preis-liste span { font-size: 1rem; line-height: 1.35; color: rgb(14 27 44 / 82%); }
.preis-liste strong { margin-top: auto; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kosten-fuss { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 48px; font-size: 1rem; }
.kosten-fuss p { max-width: 40em; margin: 0; }
.kosten .link-pfeil { color: var(--tinte); }

/* ---------- Feedbacks ---------- */
.feedbacks { padding: 112px 0; background: var(--blau-tief); color: var(--weiss); }
.fb-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 52px; }
.fb-kopf .kicker { margin-bottom: 18px; }
.fb-wertung { display: flex; flex-direction: column; gap: 8px; max-width: 380px; margin: 0; font-size: 1rem; line-height: 1.45; color: var(--eisblau); }
.fb-wertung strong { color: var(--weiss); }
.fb-wertung .sterne .i { width: 22px; height: 22px; }
.karussell { position: relative; }
.karussell-spur {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 32px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
.karussell-spur::-webkit-scrollbar { display: none; }
.karussell-spur:focus-visible { outline-offset: 6px; }
.zitat {
  scroll-snap-align: start; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0 32px;
  padding: 4px 0;
}
.zitat::before {
  content: "«"; grid-row: 1 / span 2; font-size: 10rem; line-height: .8; font-weight: 700; color: var(--lime);
}
.zitat blockquote p { max-width: 34em; font-size: clamp(1.375rem, 2.5vw, 2.125rem); font-weight: 500; line-height: 1.32; letter-spacing: -0.015em; }
.zitat figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.zitat figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.zitat figcaption span span { font-size: .9375rem; color: var(--eisblau); }
.zitat-initial {
  display: grid; place-items: center; width: 48px; height: 48px; background: var(--lime); color: var(--tinte);
  font-weight: 700; font-size: 1.25rem;
}
.karussell-steuer { display: none; align-items: center; gap: 18px; margin-top: 44px; padding-left: 152px; }
.js .karussell-steuer { display: flex; }
.k-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 6px; cursor: pointer;
  border: 2px solid rgb(255 255 255 / 35%); background: transparent; color: var(--weiss);
  transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease);
}
.k-btn:hover { background: var(--lime); border-color: var(--lime); color: var(--tinte); }
.k-btn:active { transform: scale(.94); }
.k-btn[disabled] { opacity: .35; cursor: default; background: transparent; border-color: rgb(255 255 255 / 35%); color: var(--weiss); }
.k-btn .i { width: 22px; height: 22px; }
.k-punkte { display: flex; gap: 2px; }
.k-punkt { position: relative; width: 36px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.k-punkt::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 4px; margin-top: -2px; background: rgb(255 255 255 / 28%); transition: background-color .3s; }
.k-punkt[aria-current="true"]::before { background: var(--lime); }
.k-punkt:hover::before { background: rgb(255 255 255 / 60%); }

/* ---------- Trainer ---------- */
.trainer { padding: 120px 0; background: var(--weiss); }
.trainer-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.trainer-bild { position: relative; }
.trainer-rahmen {
  --spitze: 40px;
  position: relative; display: block; padding: 10px calc(var(--spitze) + 10px) 10px 30px; background: var(--blau);
  clip-path: polygon(0 0, calc(100% - var(--spitze)) 0, calc(100% - var(--spitze)) calc(50% - var(--spitze)), 100% 50%, calc(100% - var(--spitze)) calc(50% + var(--spitze)), calc(100% - var(--spitze)) 100%, 0 100%);
}
.trainer-rahmen::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 8px; background: var(--lime); }
.trainer-rahmen img { width: 100%; aspect-ratio: 500 / 174; object-fit: cover; }
.trainer-bild figcaption { margin-top: 16px; padding-left: 30px; font-size: .9375rem; line-height: 1.45; color: var(--grau); }
.trainer-zitat { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; color: var(--blau-tief); }
.trainer-saetze { display: grid; gap: 18px; margin-top: 34px; }
.trainer-saetze li { position: relative; padding-left: 26px; font-size: 1.1875rem; line-height: 1.5; color: var(--grau); }
.trainer-saetze li::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; background: var(--lime); }
.trainer-quelle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 26px; font-size: 1rem; font-weight: 700; color: var(--blau); text-decoration: none; }
.trainer-quelle:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Mehr von mir ---------- */
.mehr { padding: 112px 0; background: var(--eis); }
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; align-items: stretch; }
.karte {
  --spitze: 20px;
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 34px 32px 26px; border-radius: 8px 0 0 8px; background: var(--weiss);
  filter: drop-shadow(0 1px 1px rgb(11 89 167 / 14%)) drop-shadow(0 16px 30px rgb(11 89 167 / 11%));
}
.karte::after {
  content: ""; position: absolute; top: 50%; right: calc(-1 * var(--spitze) + 1px);
  width: var(--spitze); height: calc(2 * var(--spitze)); margin-top: calc(-1 * var(--spitze));
  background: inherit; clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.karte-icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 8px; background: var(--blau); color: var(--weiss); }
.karte-icon .i { width: 28px; height: 28px; }
.karte h3 { font-size: 1.5rem; letter-spacing: -0.015em; }
.karte p { font-size: 1.0625rem; line-height: 1.55; color: var(--grau); margin: 0; }
.karte-preis { margin-top: auto !important; }
.karte-preis strong { font-size: 1.75rem; color: var(--blau); letter-spacing: -0.02em; }
.karte-liste { display: grid; margin-bottom: 4px; border-top: 1px solid var(--linie); }
.karte-liste li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linie); font-size: .9375rem; line-height: 1.35; }
.karte-liste strong { color: var(--blau); white-space: nowrap; font-variant-numeric: tabular-nums; }
.karte .link-pfeil { margin-top: auto; padding-top: 8px; }
.karte-preis + .link-pfeil { margin-top: 0; padding-top: 0; }

/* ---------- Galerie und Band ---------- */
.galerie { background: var(--eis); padding: 0 0 0; }
.galerie-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.galerie-kopf h2 { color: var(--tinte); font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
.galerie-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-bottom: 96px; }
.galerie-reihe figure { display: grid; gap: 12px; }
.galerie-reihe img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; transition: transform .6s var(--ease); }
.galerie-reihe li { overflow: hidden; }
.galerie-reihe figure > img { will-change: auto; }
.galerie-reihe li:hover img { transform: scale(1.03); }
.galerie-reihe figcaption { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; color: var(--tinte); }
.galerie-reihe figcaption::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--blau); clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%); }
.band { position: relative; color: var(--weiss); background: var(--blau-tief); overflow: hidden; }
.band img { width: 100%; height: clamp(380px, 40vw, 577px); object-fit: cover; object-position: 60% 50%; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgb(8 63 120 / 95%) 0%, rgb(8 63 120 / 86%) 32%, rgb(8 63 120 / 0%) 56%);
}
.band-in { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.band-kicker { margin-bottom: 10px; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 600; color: var(--lime); }
.band-titel { max-width: 8em; margin-bottom: 30px; font-size: clamp(2.25rem, 4.6vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }

/* ---------- Kontakt ---------- */
.kontakt { position: relative; padding: 112px 0; background: var(--blau); color: var(--weiss); overflow: hidden; }
.kontakt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--muster) 40px 20px / 280px 280px repeat; opacity: .05;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 70%);
          mask-image: linear-gradient(270deg, #000 0%, transparent 70%);
}
.kontakt-in { position: relative; }
.kontakt .kicker, .kontakt-label { color: var(--lime-text); }
.kontakt-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: start; }
.kontakt-haupt { grid-row: span 2; }
.kontakt h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.kontakt-tel {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 22px;
  font-size: clamp(2.25rem, 5.4vw, 4.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--lime); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.kontakt-tel .i { width: .7em; height: .7em; stroke-width: 2.2; }
.kontakt-tel:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.kontakt-liste { display: grid; gap: 12px; margin-top: 30px; font-size: 1.1875rem; }
.kontakt-liste li { display: flex; align-items: center; gap: 12px; }
.kontakt-liste .i { color: var(--lime); }
.kontakt-liste a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 40%); }
.kontakt-liste a:hover { border-color: var(--lime); }
/* Soziale Medien: Links mit Namen und Profilname (seit 1.2.1, vorher nur Symbole) */
.kontakt-label.sozial-titel { margin-top: 32px; }
.sozial { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sozial a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 12px; border-radius: 6px; border: 2px solid rgb(255 255 255 / 30%); color: var(--weiss); text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.sozial a:hover, .sozial a:focus-visible { background: var(--lime); border-color: var(--lime); color: var(--tinte); }
.sozial a .i { flex: none; width: 24px; height: 24px; }
.sozial-text { display: flex; flex-direction: column; line-height: 1.2; }
.sozial-name { font-weight: 700; }
.sozial-handle { font-size: .875em; opacity: .8; overflow-wrap: anywhere; }
@media (max-width: 479px) { .sozial li { flex: 1 1 100%; } .sozial a { width: 100%; } }
.kontakt-zeiten { padding: 36px 34px; border-radius: 8px; background: var(--blau-tief); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%); }
.kontakt-zeiten h3 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; letter-spacing: -0.01em; }
.kontakt-zeiten h3 .i { color: var(--lime); }
.kontakt-zeiten dl { margin: 22px 0 0; }
.kontakt-zeiten dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.kontakt-zeiten dl div:first-child { border-top: 1px solid rgb(255 255 255 / 14%); }
.kontakt-zeiten dt { color: var(--eisblau); }
.kontakt-zeiten dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.kontakt-orte { grid-column: 2; }
.kontakt-label { margin: 0 0 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime-text); }
.wegweiser { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.weg {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; height: 56px; padding: 0 48px 0 22px;
  font-size: 1.3125rem; font-weight: 700; letter-spacing: .01em; color: var(--weiss);
}
.weg::before, .weg::after { content: ""; position: absolute; }
.weg::before { inset: 0; z-index: -2; background: var(--weiss); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%); }
.weg::after { inset: 3px 4.3px 3px 3px; z-index: -1; background: var(--blau-tief); clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 50%, calc(100% - 25px) 100%, 0 100%); }
.kontakt-hinweis { margin: 18px 0 0; max-width: 30em; font-size: 1rem; line-height: 1.5; color: var(--eisblau); }

/* ---------- Fuss ---------- */
.fuss { padding: 48px 0 56px; background: var(--nacht); color: var(--eisblau); font-size: .9375rem; }
.fuss-in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 48px; }
.fuss-marke { display: flex; gap: 18px; align-items: flex-start; }
.fuss-marke .marke-signet { width: 56px; height: 47px; }
.fuss-marke p { line-height: 1.6; }
.fuss-marke strong { color: var(--weiss); }
.fuss a { color: var(--eisblau); text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; text-underline-offset: 3px; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 0 22px; max-width: 520px; }
.fuss-nav a { display: inline-flex; align-items: center; min-height: 40px; }

/* ---------- Aktionsleiste (schmale Bildschirme) ---------- */
.aktion {
  position: fixed; z-index: 900; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom));
  display: none; gap: 6px; padding: 6px; border-radius: 12px;
  background: var(--lime); box-shadow: 0 14px 34px rgb(3 25 52 / 38%), inset 0 0 0 1px rgb(14 27 44 / 10%);
}
.aktion a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px;
  border-radius: 8px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; white-space: nowrap;
}
.aktion-tel { flex: 1.5; color: var(--tinte); font-variant-numeric: tabular-nums; }
.aktion-mail { flex: 1; background: var(--weiss); color: var(--blau); }
.aktion a:active { transform: scale(.97); }

/* ---------- Bewegung (nur mit JS und ohne reduzierte Bewegung) ---------- */
@keyframes hIn { from { opacity: 0; transform: translate3d(0, 20px, 0); } }
@keyframes zIn { from { opacity: 0; scale: .7; } }
@keyframes etIn { from { opacity: 0; translate: -30px 0; } }
@keyframes strich { from { transform: scaleX(0); } }
@keyframes stups { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes stupsRunter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes bandIn { from { opacity: 0; transform: translate3d(0, 24px, 0); } }

.fx .h-in { animation: hIn .8s var(--ease) both; animation-delay: calc(.08s + var(--d, 0) * 90ms); }
.fx .unterstrich::after { animation: strich .7s cubic-bezier(.6, 0, .2, 1) .7s both; }
.fx .z { animation: zIn .5s cubic-bezier(.2, .8, .3, 1.25) both; animation-delay: calc(.3s + var(--n) * 50ms); }
.fx .etikett { animation: etIn .6s var(--ease) .15s both; }
.fx .bewertung { animation: hIn .6s var(--ease) 1.05s both; }
.fx .rv { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.fx .rv.in { opacity: 1; transform: none; }
.fx .schritt.in::after { animation: stups .55s ease-in-out 1; animation-delay: calc(var(--i, 0) * 90ms + .6s); }

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 9px; }
  .kopf-in { gap: 16px; }
  .schritte { gap: 26px; }
  .schritt { padding: 22px 18px 24px; }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .etikett { --spitze: 48px; width: 330px; height: 396px; }
  .z { width: calc(var(--s) * .84); height: calc(var(--s) * .84); }
  .feld { height: 560px; }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .hero-in { padding-top: 24px; padding-bottom: 56px; }
  .hero .kicker { margin-bottom: 18px; }
  .h1-gross { font-size: clamp(2.75rem, 5.4vw, 4.6rem); }
  .lead { margin: 20px 0 26px; }
  .zeiten { margin-top: 22px; }
}

@media (max-width: 1023px) {
  :root { --kopf: 68px; }
  .js .menu-btn {
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 6px; cursor: pointer;
    border: 2px solid rgb(255 255 255 / 35%); background: transparent; color: var(--weiss);
  }
  .menu-btn .i { width: 24px; height: 24px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gut) 20px; background: var(--blau-tief);
    box-shadow: 0 20px 40px rgb(3 25 52 / 35%);
  }
  .kopf.offen .nav { display: flex; }
  .nav a { padding: 15px 0; font-size: 1.25rem; border-bottom: 1px solid rgb(255 255 255 / 12%); }
  .nav a::after { display: none; }
  .kopf-tel { padding: 0 14px; }

  .hero-in { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-top: 36px; padding-bottom: 64px; }
  .feld { height: 580px; max-width: 640px; width: 100%; margin: 0 auto; }

  .schritte { grid-template-columns: 1fr; gap: 26px; }
  .schritt { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 20px; border-radius: 6px 6px 0 0; padding: 22px 22px 24px; }
  .schritt-nr { grid-row: 1 / span 2; margin: 0; }
  .schritt::after {
    top: auto; bottom: calc(-1 * var(--spitze) + 1px); right: auto; left: 22px; margin: 0;
    width: 46px; height: var(--spitze); clip-path: polygon(0 0, 100% 0, 50% 100%);
  }
  .schritt:last-child::after { display: none; }
  .fx .schritt.in::after { animation-name: stupsRunter; }

  .preis-haupt { grid-template-columns: 1fr; gap: 20px; }
  .preis-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preis-liste li { padding: 18px 16px 18px 0; }
  .preis-liste li + li { padding-left: 0; border-left: 0; }
  .preis-liste li:nth-child(2n) { padding-left: 18px; border-left: 1px solid rgb(14 27 44 / 22%); }
  .preis-liste li:nth-child(n + 3) { border-top: 1px solid rgb(14 27 44 / 22%); }

  .zitat { grid-template-columns: 1fr; }
  .zitat::before { grid-row: auto; font-size: 6rem; line-height: .7; margin-bottom: 4px; }
  .karussell-steuer { padding-left: 0; }

  .trainer-in { grid-template-columns: 1fr; gap: 40px; }
  .trainer-bild { max-width: 560px; margin-top: 0; order: 2; }

  .karten { grid-template-columns: 1fr; gap: 28px; }
  .karte::after { display: none; }
  .karte { border-radius: 8px; }

  .kontakt-in { grid-template-columns: 1fr; gap: 44px; }
  .kontakt-haupt { grid-row: auto; }
  .kontakt-orte { grid-column: auto; }
}

@media (min-width: 761px) and (max-width: 1023px) {
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .karte:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --gut: 18px; --kopf: 64px; }
  body { font-size: 1.0625rem; }
  .marke-signet { width: 42px; height: 35px; }
  .marke-name { font-size: 1rem; }
  .marke-sub { font-size: .625rem; }
  .kopf-in { gap: 10px; }
  .kopf-tel { width: 46px; padding: 0; justify-content: center; }
  .kopf-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .kopf-tel .i { width: 22px; height: 22px; }

  .hero-in { padding-top: 22px; padding-bottom: 40px; }
  .hero .kicker { margin-bottom: 16px; font-size: .75rem; padding: 6px 12px 6px 9px; }
  .h1-klein { font-size: 1rem; }
  .h1-gross { margin-top: 10px; font-size: clamp(2.6rem, 12.4vw, 3.6rem); line-height: .98; }
  .lead { margin: 16px 0 22px; font-size: 1.0625rem; }
  .hero-cta { gap: 14px; }
  .btn-anruf { width: calc(100% - 20px); min-height: 70px; }
  .btn-umriss { width: calc(100% - 20px); }
  .zeiten { margin-top: 18px; font-size: .9688rem; }

  .feld { height: auto; aspect-ratio: auto; padding: 64px 0 70px; }
  .schilder .z:not(.mob) { display: none; }
  .z { left: var(--xm); top: var(--ym); width: var(--sm); height: var(--sm); }
  .etikett { --spitze: 40px; position: relative; left: auto; top: auto; transform: none; width: min(76%, 320px); height: auto; aspect-ratio: 5 / 6; margin: 0 auto; }
  .bewertung { left: 0; bottom: 22px; max-width: 214px; padding: 11px 14px 12px; }
  .bewertung-zahl { font-size: .875rem; }

  .ablauf, .feedbacks, .mehr, .kontakt { padding: 80px 0; }
  .trainer { padding: 84px 0; }
  .kosten { padding: 72px 0 64px; }
  .kosten::before { width: 300px; height: 300px; right: -120px; top: 60px; margin: 0; border-width: 36px; }
  .kopfzeile { margin-bottom: 40px; }
  .kopfzeile-text { font-size: 1.0625rem; }
  .schritt { grid-template-columns: 42px minmax(0, 1fr); gap: 4px 16px; padding: 20px 18px 22px; }
  .schritt-nr { width: 42px; height: 42px; font-size: 1.25rem; }
  .schritt::after { left: 18px; width: 42px; }
  .schritt h3 { font-size: 1.1875rem; }
  .preis-gross { font-size: clamp(4.5rem, 25vw, 7rem); }
  .preis-satz { font-size: 1.3125rem; }
  .preis-liste { margin-top: 44px; }
  .preis-liste strong { font-size: 1.375rem; }
  .preis-liste span { font-size: .9375rem; }
  .kosten-fuss { margin-top: 32px; font-size: .9375rem; }
  .zitat blockquote p { font-size: 1.3125rem; }
  .fb-kopf { margin-bottom: 36px; }
  .karussell-steuer { justify-content: space-between; gap: 8px; }
  .trainer-rahmen { --spitze: 28px; padding: 7px calc(var(--spitze) + 7px) 7px 22px; }
  .trainer-rahmen::before { left: 8px; top: 7px; bottom: 7px; width: 6px; }
  .trainer-bild figcaption { padding-left: 0; }
  .trainer-saetze li { font-size: 1.0625rem; }
  .karte { padding: 28px 24px 22px; }
  .galerie-reihe {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 72px; margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut);
    scroll-padding: 0 var(--gut); scrollbar-width: none;
  }
  .galerie-reihe::-webkit-scrollbar { display: none; }
  .galerie-reihe li { scroll-snap-align: start; }
  .band img { height: 300px; object-position: 64% 50%; }
  .band::before { inset: 0 0 auto; height: 300px; background: linear-gradient(0deg, rgb(8 63 120 / 100%) 0%, rgb(8 63 120 / 0%) 34%); }
  .band-in { position: relative; top: auto; transform: none; padding-top: 6px; padding-bottom: 64px; }
  .band-titel { font-size: 2.375rem; margin-bottom: 22px; }
  .band-kicker { margin-bottom: 6px; }
  .kontakt-tel { font-size: clamp(2.1rem, 10.6vw, 3rem); gap: 12px; }
  .kontakt-liste { font-size: 1.0625rem; }
  .kontakt-liste li { align-items: flex-start; }
  .kontakt-liste .i { margin-top: 3px; }
  .kontakt-zeiten { padding: 28px 22px; }
  .fuss { padding-bottom: calc(170px + env(safe-area-inset-bottom)); }
  .aktion { display: flex; }
  .js .aktion { opacity: 0; transform: translate3d(0, 24px, 0); pointer-events: none; transition: opacity .3s, transform .45s var(--ease); }
  .js .aktion.zeigen { opacity: 1; transform: none; pointer-events: auto; }
}

@media (max-width: 380px) {
  .marke-sub { letter-spacing: .22em; }
  .btn-anruf-label { font-size: .875rem; }
  .btn-anruf-nr { font-size: 1.5rem; }
  .aktion a { font-size: 1rem; padding: 0 10px; }
}
@media (max-width: 359px) {
  .btn-anruf { gap: 10px; padding-right: 12px; }
  .btn-anruf-icon { width: 42px; height: 42px; }
  .btn-anruf-label { font-size: .8125rem; white-space: nowrap; }
  .hero .kicker { font-size: .6875rem; letter-spacing: .08em; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .karussell-spur { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .kopf, .aktion, .schilder, .karussell-steuer { display: none !important; }
  .hero, .ablauf, .feedbacks, .kontakt, .kosten { background: #fff !important; color: #000 !important; }
}

/* =====================================================================
   Teil 2: WordPress-Blöcke und Unterseiten
   ===================================================================== */

/* Grundlage: WordPress setzt sonst eigene Abstände */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
main, .mf-main { display: block; background: var(--weiss); }
.wp-block-group { box-sizing: border-box; }
figure.wp-block-image { margin: 0; }
.wp-block-image img { height: auto; }
:where(.wp-block-list) { padding: 0; }
.wp-element-caption { margin: 0; }
.rv-1 { --i: 1; } .rv-2 { --i: 2; } .rv-3 { --i: 3; } .rv-4 { --i: 4; } .rv-5 { --i: 5; }
.mf-hinweis { padding: 14px 18px; border: 2px dashed var(--linie); color: var(--grau); font-size: 1rem; }

/* Menü: aktuelle Seite und Menü-Symbol */
.nav a[aria-current="page"] { color: var(--weiss); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn .i-zu, .kopf.offen .menu-btn .i-auf { display: none; }
.kopf.offen .menu-btn .i-zu { display: block; }
.fuss-nav a[aria-current="page"] { color: var(--weiss); }
.fuss-zeile { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 10%); font-size: .8125rem; color: rgb(197 220 230 / 70%); }

/* Ablauf: Nummern kommen von selbst */
.schritte { counter-reset: s; }
.schritt { counter-increment: s; }
.schritt::before {
  content: counter(s); position: relative; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; flex: none;
  background: linear-gradient(var(--lime), var(--lime)) 8px 8px / 4px calc(100% - 16px) no-repeat, var(--blau);
  color: var(--weiss); font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.schritt > h3, .schritt > p { margin: 0; }
.ablauf-links .link-pfeil, .kosten-fuss .link-pfeil { margin: 0; }

/* Kosten */
.preis-text .preis-satz { margin: 0; }
.preis-chips { list-style: none; }
.preis-chips li::before {
  content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: var(--ic-check) center / contain no-repeat; mask: var(--ic-check) center / contain no-repeat;
}
.kosten-fuss > p { flex: 1 1 28em; }

/* Feedbacks */
.fb-kopf > .wp-block-group > * { margin: 0; }
.fb-kopf .kicker { margin-bottom: 18px !important; }
.fb-wertung a { color: inherit; text-decoration-color: rgb(255 255 255 / 45%); text-underline-offset: 3px; }
.fb-wertung a:hover { color: var(--weiss); text-decoration-color: var(--lime); }
.fb-wertung-hell { color: var(--grau); }
.fb-wertung-hell strong, .fb-wertung-hell a { color: var(--tinte); }
.fb-wertung-hell .sterne { color: #D9A400; }

/* Trainer: Bild mit Pfeilrahmen direkt am Bild */
.trainer-bild { margin: 0; }
.trainer-bild img {
  --spitze: 40px;
  display: block; width: 100%; aspect-ratio: 560 / 194; object-fit: cover;
  padding: 10px calc(var(--spitze) + 10px) 10px 30px;
  background: linear-gradient(var(--lime), var(--lime)) 11px 10px / 8px calc(100% - 20px) no-repeat, var(--blau);
  clip-path: polygon(0 0, calc(100% - var(--spitze)) 0, calc(100% - var(--spitze)) calc(50% - var(--spitze)), 100% 50%, calc(100% - var(--spitze)) calc(50% + var(--spitze)), calc(100% - var(--spitze)) 100%, 0 100%);
}
.trainer-bild figcaption { margin-top: 16px; padding-left: 30px; font-size: .9375rem; line-height: 1.45; color: var(--grau); text-align: left; }
.trainer-text > .kicker { margin-bottom: 18px; }
.trainer-saetze { list-style: none; }
.trainer-quelle-p { margin: 26px 0 0; }
.trainer-quelle-p a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 1rem; font-weight: 700; color: var(--blau); text-decoration: none;
}
.trainer-quelle-p a::before {
  content: ""; width: 1.2em; height: 1.2em; flex: none; background: currentColor;
  -webkit-mask: var(--ic-pdf) center / contain no-repeat; mask: var(--ic-pdf) center / contain no-repeat;
}
.trainer-quelle-p a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Karten (Mehr von mir): Symbol oben */
.karte::before {
  content: ""; display: block; width: 56px; height: 56px; margin-bottom: 8px; flex: none;
  background: var(--blau) var(--karte-ic, none) center / 28px no-repeat;
}
.karte.ic-schule { --karte-ic: var(--icw-schule); }
.karte.ic-buch { --karte-ic: var(--icw-buch); }
.karte.ic-kalender { --karte-ic: var(--icw-kalender); }
.karte.ic-auto { --karte-ic: var(--icw-auto); }
.karte.ic-geschenk { --karte-ic: var(--icw-geschenk); }
.karte.ic-handshake { --karte-ic: var(--icw-handshake); }
.karte > h3, .karte > p { margin: 0; }
.karte > .link-pfeil { margin-top: auto; padding-top: 8px; }
.karte-preis + .link-pfeil { margin-top: 0; padding-top: 0; }

/* Galerie (Startseite und Bilder) */
.galerie-kopf > * { margin: 0; }
.wp-block-gallery.galerie-reihe, .wp-block-gallery.galerie-alle {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px !important; margin: 0; flex-wrap: nowrap;
}
.wp-block-gallery.galerie-reihe { padding-bottom: 96px; }
.wp-block-gallery.galerie-alle { gap: 32px 24px !important; }
.wp-block-gallery.galerie-reihe > figure.wp-block-image, .wp-block-gallery.galerie-alle > figure.wp-block-image {
  width: auto !important; margin: 0 !important; display: grid !important; gap: 12px; align-content: start; flex-direction: column;
}
.wp-block-gallery.galerie-reihe figure.wp-block-image img, .wp-block-gallery.galerie-alle figure.wp-block-image img {
  width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; object-fit: cover !important; border-radius: 6px; flex: none !important;
  transition: transform .6s var(--ease);
}
.wp-block-gallery.galerie-reihe figure.wp-block-image figcaption, .wp-block-gallery.galerie-alle figure.wp-block-image figcaption {
  position: static !important; display: flex; align-items: center; gap: 10px; max-height: none; overflow: visible; padding: 0 !important; margin: 0;
  background: none !important; color: var(--tinte) !important; text-shadow: none; text-align: left; font-size: 1rem; font-weight: 600; line-height: 1.35;
  -webkit-mask-image: none; mask-image: none; scrollbar-width: auto;
}
.wp-block-gallery.galerie-reihe figure.wp-block-image figcaption::before, .wp-block-gallery.galerie-alle figure.wp-block-image figcaption::before {
  content: ""; width: 14px; height: 14px; flex: none; background: var(--blau); clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%);
}
.wp-block-gallery.galerie-reihe figure.wp-block-image::before, .wp-block-gallery.galerie-alle figure.wp-block-image::before { display: none !important; }
.wp-block-gallery figure.wp-block-image { overflow: visible; }
.wp-block-gallery.galerie-reihe figure.wp-block-image:hover img { transform: scale(1.03); }
.wp-block-gallery.galerie-reihe figure.wp-block-image > a, .wp-block-gallery.galerie-alle figure.wp-block-image > a { display: block; overflow: hidden; border-radius: 6px; }

/* Band mit Bild (Cover-Block) */
.wp-block-cover.band { min-height: clamp(380px, 40vw, 577px) !important; padding: 0; align-items: center; justify-content: flex-start; overflow: hidden; }
.wp-block-cover.band::before { display: none; }
.wp-block-cover.band .wp-block-cover__background {
  opacity: 1 !important; background: linear-gradient(90deg, rgb(8 63 120 / 95%) 0%, rgb(8 63 120 / 86%) 32%, rgb(8 63 120 / 0%) 56%) !important;
}
.wp-block-cover.band .wp-block-cover__image-background { object-position: 60% 50%; }
.wp-block-cover.band .wp-block-cover__inner-container {
  position: relative; z-index: 2; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); color: var(--weiss);
}
.wp-block-cover.band .band-kicker, .wp-block-cover.band .band-titel { color: inherit; }
.wp-block-cover.band .band-kicker { color: var(--lime); }

/* ---------- Unterseiten ---------- */
.seitenkopf {
  position: relative; overflow: hidden; color: var(--weiss); padding: 72px 0 88px;
  background:
    radial-gradient(800px 520px at 85% 30%, rgb(36 122 206 / 50%), transparent 62%),
    linear-gradient(180deg, var(--blau) 0%, #0A519A 100%);
}
.seitenkopf::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 56px, transparent 56px 92px); opacity: .9;
}
.seitenkopf::after {
  content: ""; position: absolute; right: -40px; top: 50%; width: 420px; height: 420px; margin-top: -210px; pointer-events: none;
  background: var(--muster) 0 0 / 280px 280px repeat; opacity: .07;
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%); mask-image: radial-gradient(circle, #000 40%, transparent 72%);
}
.seitenkopf .wrap { position: relative; z-index: 1; }
.seitenkopf .kicker { color: var(--lime-text); }
.seitenkopf .kicker::before { background: var(--lime); }
.seitenkopf h1 { max-width: 16em; font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: .98; letter-spacing: -0.04em; text-wrap: balance; }
.seitenkopf .lead { max-width: 36em; margin: 22px 0 0; }
.seitenkopf .seitenkopf-knoepfe { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 30px; }

.abschnitt { padding: 96px 0; background: var(--weiss); }
.abschnitt-eis { background: var(--eis); }
.abschnitt-blau { background: var(--blau-tief); color: var(--weiss); }
.abschnitt-blau .kicker { color: var(--lime); }
.abschnitt-blau .text p, .abschnitt-blau .text li { color: var(--eisblau); }
.abschnitt-lime { background: var(--lime); color: var(--tinte); }
.abschnitt .kopfzeile { margin-bottom: 44px; }

.text { max-width: 760px; }
.text > * { margin: 0 0 1em; }
.text > *:last-child { margin-bottom: 0; }
.text p, .text li { font-size: 1.125rem; line-height: 1.65; color: var(--grau); }
.text strong { color: var(--tinte); }
.abschnitt-blau .text strong { color: var(--weiss); }
.text h2 { margin: 1.6em 0 .5em; font-size: clamp(1.75rem, 3vw, 2.375rem); color: var(--tinte); }
.text h3 { margin: 1.4em 0 .4em; font-size: 1.375rem; color: var(--tinte); }
.text > h2:first-child, .text > h3:first-child { margin-top: 0; }
.abschnitt-blau .text h2, .abschnitt-blau .text h3 { color: var(--weiss); }
.text ul { display: grid; gap: 10px; list-style: none; padding: 0; }
.text ul li { position: relative; padding-left: 26px; }
.text ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; background: var(--lime); clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%); }
.text ol { padding-left: 1.4em; }
.text a { color: var(--blau); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.abschnitt-blau .text a { color: var(--lime); }
.text .link-pfeil { text-decoration: none; }

.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.zwei-bild { align-items: center; }
.zwei > * { margin: 0; }

/* Kästen mit Hinweis (z. B. Neu ab 2027) */
.hinweis-box {
  --spitze: 20px;
  position: relative; padding: 28px 30px; border-radius: 8px 0 0 8px; background: var(--blau); color: var(--weiss);
}
.hinweis-box::after {
  content: ""; position: absolute; top: 50%; right: calc(-1 * var(--spitze) + 1px);
  width: var(--spitze); height: calc(2 * var(--spitze)); margin-top: calc(-1 * var(--spitze));
  background: inherit; clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hinweis-box > * { margin: 0 0 .6em; }
.hinweis-box > *:last-child { margin-bottom: 0; }
.hinweis-box h2, .hinweis-box h3 { font-size: 1.5rem; color: var(--weiss); }
.hinweis-box p { color: var(--eisblau); font-size: 1.0625rem; line-height: 1.55; }
.hinweis-box strong { color: var(--weiss); }
.hinweis-box .kicker { color: var(--lime-text); }
.hinweis-box a { color: var(--lime); }

/* Weg zum Führerausweis ab 2027 (Bilder von Dani) */
.weg-2027 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; counter-reset: w; }
.weg-2027 > figure.wp-block-image { margin: 0; counter-increment: w; }
.weg-2027 > figure.wp-block-image img {
  width: 100%; height: auto; aspect-ratio: 1400 / 788; object-fit: cover; object-position: 50% 0; border-radius: 10px;
  box-shadow: 0 1px 2px rgb(11 89 167 / 14%), 0 20px 40px rgb(11 89 167 / 16%);
}
.weg-2027 > figure.wp-block-image figcaption { margin-top: 14px; font-size: 1rem; line-height: 1.5; color: var(--grau); text-align: left; }
.weg-2027 > figure.wp-block-image figcaption strong { display: block; margin-bottom: 2px; font-size: 1.1875rem; color: var(--tinte); }
.weg-2027 > figure.wp-block-image:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 16px); justify-self: center; }

/* Preistabelle */
.preis-tabelle table { width: 100%; border-collapse: collapse; border-top: 3px solid var(--tinte); }
.preis-tabelle th, .preis-tabelle td { padding: 18px 0; border-bottom: 1px solid var(--linie); vertical-align: top; text-align: left; }
.preis-tabelle th { padding-right: 24px; font-weight: 400; }
.pt-name { display: block; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; color: var(--tinte); }
.pt-text { display: block; margin-top: 4px; font-size: .9688rem; line-height: 1.45; color: var(--grau); }
.preis-tabelle td { width: 1%; white-space: nowrap; text-align: right; font-size: 1.375rem; font-weight: 700; color: var(--blau); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.abschnitt-lime .preis-tabelle td { color: var(--tinte); }
.abschnitt-lime .preis-tabelle th, .abschnitt-lime .preis-tabelle td { border-color: rgb(14 27 44 / 22%); }
.abschnitt-lime .pt-text { color: rgb(14 27 44 / 78%); }

/* Theorie-Produkte */
.produkte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; }
.produkt {
  display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 24px; border-radius: 8px; background: var(--weiss);
  box-shadow: 0 1px 2px rgb(11 89 167 / 14%), 0 16px 30px rgb(11 89 167 / 10%); border-top: 6px solid var(--blau);
}
.produkt h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
.produkt p { margin: 0; font-size: .9688rem; line-height: 1.5; color: var(--grau); }
.produkt .produkt-preis { margin-top: auto; padding-top: 8px; }
.produkt-preis strong { font-size: 1.625rem; color: var(--blau); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Feedbacks als Liste */
.fb-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; list-style: none; }
.fb-karte figure { height: 100%; display: flex; flex-direction: column; padding: 32px 30px 28px; border-radius: 8px; background: var(--weiss); box-shadow: 0 1px 2px rgb(11 89 167 / 14%), 0 16px 30px rgb(11 89 167 / 10%); }
.fb-karte blockquote { position: relative; padding-top: 34px; }
.fb-karte blockquote::before { content: "«"; position: absolute; left: -2px; top: -18px; font-size: 4.5rem; line-height: 1; font-weight: 700; color: var(--lime); }
.fb-karte blockquote p { font-size: 1.1875rem; line-height: 1.5; color: var(--tinte); }
.fb-karte figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; }
.fb-karte figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.fb-karte figcaption span span { font-size: .9375rem; color: var(--grau); }

/* Partner */
.partner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.partner > .wp-block-group {
  display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: 8px; background: var(--weiss);
  box-shadow: 0 1px 2px rgb(11 89 167 / 14%), 0 16px 30px rgb(11 89 167 / 10%); border-left: 6px solid var(--lime);
}
.partner h3 { font-size: 1.375rem; }
.partner p { margin: 0; font-size: 1.0625rem; color: var(--grau); }
.partner .link-pfeil, .partner p a { color: var(--blau); font-weight: 700; }

/* Formulare (Contact Form 7) */
.formular { max-width: 760px; }
.formular .wpcf7 { margin: 0; }
.formular form > p, .formular .f-feld { margin: 0 0 18px; }
.formular label { display: block; font-size: 1rem; font-weight: 700; color: var(--tinte); }
.formular .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.formular input[type="text"], .formular input[type="email"], .formular input[type="tel"], .formular input[type="date"], .formular select, .formular textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #B9CBDD; border-radius: 6px; background: var(--weiss);
  font: inherit; font-size: 1.0625rem; color: var(--tinte); transition: border-color .2s, box-shadow .2s;
}
.formular textarea { min-height: 140px; resize: vertical; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgb(11 89 167 / 18%); }
.formular .zwei-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.formular .wpcf7-radio, .formular .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.formular .wpcf7-list-item { margin: 0; }
.formular .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border: 2px solid #B9CBDD; border-radius: 999px; font-weight: 600; cursor: pointer; }
.formular .wpcf7-list-item input { width: 18px; height: 18px; accent-color: var(--blau); }
.formular .wpcf7-list-item label:has(input:checked) { border-color: var(--blau); background: var(--eis); }
.formular .wpcf7-acceptance .wpcf7-list-item label { border: 0; padding: 0; border-radius: 0; font-weight: 400; font-size: .9688rem; color: var(--grau); }
.formular .wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: .85em 1.6em; border: 0; border-radius: 6px;
  background: var(--blau); color: var(--weiss); font: inherit; font-size: 1.0625rem; font-weight: 700; cursor: pointer; transition: background-color .2s, transform .25s var(--ease);
}
.formular .wpcf7-submit:hover { background: var(--blau-tief); transform: translateY(-2px); }
.formular .wpcf7-not-valid-tip { margin-top: 6px; font-size: .9375rem; font-weight: 600; color: #B4231A; }
.formular .wpcf7-response-output { margin: 18px 0 0 !important; padding: 14px 18px !important; border-radius: 6px; border-width: 2px !important; font-size: 1rem; }
.formular .wpcf7-spinner { margin: 0 12px; }
.formular .hinweis-klein { font-size: .9375rem; color: var(--grau); }
.abschnitt-eis .formular input, .abschnitt-eis .formular select, .abschnitt-eis .formular textarea { background: var(--weiss); }

/* Kontaktseite: Formular neben Bild */
.kontakt-formular-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }

@media (max-width: 1023px) {
  .zwei, .kontakt-formular-grid { grid-template-columns: 1fr; gap: 36px; }
  .produkte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-liste, .partner { grid-template-columns: 1fr; }
  .weg-2027 { grid-template-columns: 1fr; }
  .weg-2027 > figure.wp-block-image:last-child:nth-child(odd) { max-width: none; }
  .hinweis-box::after { display: none; }
  .hinweis-box { border-radius: 8px; }
}
@media (max-width: 760px) {
  .seitenkopf { padding: 48px 0 60px; }
  .abschnitt { padding: 64px 0; }
  .produkte { grid-template-columns: 1fr; }
  .wp-block-gallery.galerie-alle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px !important; }
  .wp-block-gallery.galerie-reihe {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 14px !important;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 72px; margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut);
    scroll-padding: 0 var(--gut); scrollbar-width: none;
  }
  .wp-block-gallery.galerie-reihe::-webkit-scrollbar { display: none; }
  .wp-block-gallery.galerie-reihe > figure.wp-block-image { scroll-snap-align: start; }
  .wp-block-cover.band { min-height: 520px !important; align-items: flex-end; }
  .wp-block-cover.band .wp-block-cover__background { background: linear-gradient(0deg, rgb(8 63 120 / 100%) 0%, rgb(8 63 120 / 92%) 42%, rgb(8 63 120 / 0%) 78%) !important; }
  .wp-block-cover.band .wp-block-cover__image-background { object-position: 64% 30%; }
  .wp-block-cover.band .wp-block-cover__inner-container { padding-bottom: 56px; }
  .preis-tabelle th, .preis-tabelle td { padding: 16px 0; }
  .preis-tabelle td { font-size: 1.1875rem; }
  .pt-name { font-size: 1.0625rem; }
  .formular .zwei-felder { grid-template-columns: 1fr; }
  .trainer-bild img { --spitze: 28px; padding: 7px calc(var(--spitze) + 7px) 7px 22px; background-position: 8px 7px, 0 0; background-size: 6px calc(100% - 14px), auto; }
  .trainer-bild figcaption { padding-left: 0; }
}

/* Symbole als Masken (CSS) */
:root {
  --ic-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5l9.5 -10'/%3E%3C/svg%3E");
  --ic-pdf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3v4a1 1 0 0 0 1 1h4'/%3E%3Cpath d='M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h4'/%3E%3C/svg%3E");
  --icw-schule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 9l-10 -4l-10 4l10 4l10 -4v6'/%3E%3Cpath d='M6 10.6v5.4a6 3 0 0 0 12 0v-5.4'/%3E%3C/svg%3E");
  --icw-buch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0'/%3E%3Cpath d='M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0'/%3E%3Cpath d='M3 6l0 13'/%3E%3Cpath d='M12 6l0 13'/%3E%3Cpath d='M21 6l0 13'/%3E%3C/svg%3E");
  --icw-kalender: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12z'/%3E%3Cpath d='M16 3v4'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M4 11h16'/%3E%3Cpath d='M8 15h2v2h-2z'/%3E%3C/svg%3E");
  --icw-auto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17a2 2 0 1 0 4 0a2 2 0 1 0 -4 0'/%3E%3Cpath d='M15 17a2 2 0 1 0 4 0a2 2 0 1 0 -4 0'/%3E%3Cpath d='M5 17h-2v-6l2 -5h9l4 5h1a2 2 0 0 1 2 2v4h-2m-4 0h-6m-6 -6h15m-6 0v-5'/%3E%3C/svg%3E");
  --icw-geschenk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8m0 1a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1z'/%3E%3Cpath d='M12 8l0 13'/%3E%3Cpath d='M19 12v7a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0 -5a4.8 8 0 0 1 4.5 5a4.8 8 0 0 1 4.5 -5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E");
  --icw-handshake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 17l-1.5 1.5a2.1 2.1 0 0 1 -3 -3l3.5 -3.5'/%3E%3Cpath d='M13 7l1.5 -1.5a2.1 2.1 0 0 1 3 3l-3.5 3.5'/%3E%3Cpath d='M8 16l8 -8'/%3E%3C/svg%3E");
}

@media print {
  .wp-block-cover.band, .seitenkopf { background: #fff !important; color: #000 !important; }
}

/* Ablauf: Nummern im schmalen Layout links neben dem Text */
@media (max-width: 1023px) {
  .schritt::before { grid-row: 1 / span 2; margin: 0; }
}
@media (max-width: 760px) {
  .schritt::before { width: 42px; height: 42px; font-size: 1.25rem; }
}

/* Ergänzungen */
.formular .feld-label { display: block; font-size: 1rem; font-weight: 700; color: var(--tinte); }
.mf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.feedbacks .link-pfeil { color: var(--lime); }
.fb-fuss { margin-top: 36px; }
.abschnitt .link-pfeil { color: var(--blau); }
.abschnitt-blau .link-pfeil { color: var(--lime); }
.abschnitt-lime .link-pfeil { color: var(--tinte); }
.knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.knoepfe .btn-umriss { border-color: rgb(11 89 167 / 40%); color: var(--blau); }
.knoepfe .btn-umriss:hover { border-color: var(--blau); background: var(--eis); }
.seitenkopf .knoepfe .btn-umriss, .abschnitt-blau .knoepfe .btn-umriss { border-color: rgb(255 255 255 / 45%); color: var(--weiss); }
.seitenkopf .knoepfe .btn-umriss:hover, .abschnitt-blau .knoepfe .btn-umriss:hover { border-color: var(--weiss); background: rgb(255 255 255 / 8%); }
.kontakt h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.cta { text-align: left; }
.cta h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); max-width: 14em; }
.cta .kicker { margin-bottom: 14px; }

.formular .wpcf7-submit, .formular .wpcf7-submit:disabled { -webkit-appearance: none; appearance: none; background-color: var(--blau) !important; color: var(--weiss) !important; }
.formular .wpcf7-submit:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.preise-seite h2 { margin: 0 0 18px; font-size: clamp(1.75rem, 3vw, 2.375rem); }
.preise-seite h2.abstand-oben { margin-top: 72px; }
.kontakt-seite { display: grid; gap: 0; }
.kontakt-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px 8px 0 0; }
.kontakt-seite .hinweis-box { border-radius: 0 0 0 8px; }
.wp-block-gallery.galerie-reihe > figure.wp-block-image, .wp-block-gallery.galerie-alle > figure.wp-block-image { justify-items: stretch; }
.wp-block-gallery.galerie-reihe figure.wp-block-image img, .wp-block-gallery.galerie-alle figure.wp-block-image img { max-width: none !important; justify-self: stretch; }

/* ---------- Gutschein-Gestalter (seit 1.2.2: Vorschau = gedruckte Karte, eine Karte pro Lektion) ---------- */
.gutschein-gestalter { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.gs-vorschau-spalte { position: sticky; top: calc(var(--kopf) + 28px); order: 2; }
.gs-eingabe { order: 1; }
.gs-vorschau { margin: 0; padding-top: 16px; }
.gs-vorschau figcaption { margin-top: 16px; font-size: .9375rem; color: var(--grau); }
.gs-vorschau figcaption strong { color: var(--tinte); }

/* Stapel: ab 2 Lektionen liegen Karten dahinter */
.gs-stapel { position: relative; }
.gs-stapel::before, .gs-stapel::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(150deg, #0A4E92, var(--blau-tief));
  box-shadow: 0 10px 24px rgb(3 25 52 / 22%); opacity: 0; transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.gs-stapel[data-anzahl]:not([data-anzahl="1"])::before { opacity: .55; transform: translate(14px, 12px) rotate(2.2deg); }
.gs-stapel[data-anzahl]:not([data-anzahl="1"]):not([data-anzahl="2"])::after { opacity: .3; transform: translate(26px, 22px) rotate(4deg); }

.gs-karte {
  --gs-r: 14px;
  position: relative; z-index: 1; overflow: hidden; aspect-ratio: 148 / 105; padding: 7% 7% 0; border-radius: var(--gs-r); color: var(--weiss);
  display: grid; grid-template-rows: auto 1fr auto; isolation: isolate;
  background:
    radial-gradient(70% 70% at 82% 34%, rgb(36 122 206 / 62%), transparent 68%),
    linear-gradient(150deg, var(--blau) 0%, #0A4E92 55%, var(--blau-tief) 100%);
  box-shadow: 0 2px 4px rgb(3 25 52 / 18%), 0 30px 60px rgb(3 25 52 / 30%);
  transition: transform .5s var(--ease);
}
.gs-karte::before { /* gestrichelter Rahmen */
  content: ""; position: absolute; inset: 3.4%; z-index: 0; border: 2px dashed rgb(192 207 66 / 60%); border-radius: 10px; pointer-events: none;
}
.gs-karte::after { /* Strassenmarkierung unten */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--lime) 0 40px, transparent 40px 66px);
}
.gs-muster { position: absolute; inset: 0; z-index: -1; background: var(--muster) 0 0 / 200px 200px repeat; opacity: .075; }
.gs-kopf { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gs-marke { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.gs-marke b { color: var(--lime); }
.gs-marke small { display: block; margin-top: 4px; font-size: .5625rem; font-weight: 600; letter-spacing: .3em; color: var(--eisblau); }
.gs-signet { width: 38px; height: 32px; flex: none; }
.gs-label { padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--tinte); font-size: .6875rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.gs-mitte { position: relative; z-index: 2; align-self: center; max-width: 58%; padding: 6px 0 10px; }
.gs-mitte p { margin: 0; }
.gs-wert { display: grid; gap: 0; }
.gs-zahl { font-size: clamp(3.4rem, 7vw, 5.4rem); font-weight: 700; line-height: .9; letter-spacing: -0.04em; }
.gs-wert-titel { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.gs-wert-sub { margin-top: 10px; font-size: .9375rem; color: var(--lime-text); font-weight: 600; }
.gs-schild { position: absolute; z-index: 1; right: 6%; top: 25%; width: 31%; aspect-ratio: 1; }
.gs-schild svg { position: absolute; filter: drop-shadow(0 12px 18px rgb(3 25 52 / 45%)); }
.gs-schild .gs-s50 { width: 48%; height: 48%; right: -2%; top: -6%; transform: rotate(9deg); }
.gs-schild .gs-sl { width: 74%; height: 74%; left: 6%; top: 20%; transform: rotate(-8deg); }
.gs-fuss { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6%; padding-top: 10px; border-top: 1px solid rgb(255 255 255 / 20%); font-size: .75rem; color: var(--eisblau); }
.gs-fuss span:last-child { font-weight: 700; color: var(--weiss); white-space: nowrap; }
.gs-anzahl { position: absolute; z-index: 3; right: 18px; top: -15px; padding: 5px 13px; border: 2px solid var(--blau); border-radius: 999px; background: var(--weiss); color: var(--blau); font-size: .9375rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; box-shadow: 0 4px 12px rgb(3 25 52 / 22%); }
.gs-anzahl[hidden] { display: none; }
.fx .gs-karte.gs-neu { animation: gsStups .45s var(--ease); }
@keyframes gsStups { 30% { transform: translateY(-4px) rotate(-.4deg); } }

/* Rückseite: was Dani von Hand schreibt */
.gs-rueck { position: relative; margin: 26px 0 0; padding: 18px 22px 16px; border-radius: 12px; background: var(--weiss); box-shadow: 0 2px 4px rgb(3 25 52 / 10%), 0 14px 30px rgb(3 25 52 / 12%); border-top: 6px solid var(--blau); }
.gs-rueck-titel { margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grau); }
.gs-zeile { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 8px 0 4px; border-bottom: 1px solid #C5D4E2; }
.gs-zeile > span { flex: none; min-width: 92px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blau); }
.gs-zeile em { flex: 1; min-width: 0; font-size: 1.0625rem; color: #1D3F8F; overflow-wrap: anywhere; }
.gs-zeile-lang em { min-height: 2.6em; }
.gs-leer { opacity: .5; }

/* Eingabe */
.gs-schritt { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; }
.gs-schritt legend, .gs-legende { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; color: var(--tinte); }
.gs-formular .gs-legende { margin-top: 8px; }
.gs-nr { display: grid; place-items: center; width: 34px; height: 34px; flex: none; font-size: 1rem; color: var(--weiss);
  background: linear-gradient(var(--lime), var(--lime)) 6px 6px / 3px calc(100% - 12px) no-repeat, var(--blau); }
.gs-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gs-chip { position: relative; cursor: pointer; }
.gs-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gs-chip > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 2px solid #B9CBDD; border-radius: 8px; background: var(--weiss); transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease); }
.gs-chip strong { font-size: 1.0625rem; color: var(--tinte); }
.gs-chip small { font-size: .875rem; color: var(--grau); font-variant-numeric: tabular-nums; }
.gs-chip:hover > span { border-color: var(--blau); transform: translateY(-1px); }
.gs-chip input:checked + span { border-color: var(--blau); background: var(--eis); box-shadow: inset 0 0 0 1px var(--blau); }
.gs-chip input:checked + span strong { color: var(--blau); }
.gs-chip input:focus-visible + span { outline: 3px solid var(--blau-tief); outline-offset: 2px; }
.gs-hinweis { margin: 12px 0 0; font-size: .9375rem; color: var(--grau); }

@media (max-width: 1023px) {
  .gutschein-gestalter { grid-template-columns: 1fr; gap: 36px; }
  .gs-vorschau-spalte { position: relative; top: auto; order: 0; max-width: 560px; }
}
@media (max-width: 760px) {
  .gs-karte { padding: 6% 6% 0; }
  .gs-marke { font-size: .75rem; gap: 7px; }
  .gs-marke small { font-size: .5rem; }
  .gs-signet { width: 28px; height: 24px; }
  .gs-label { padding: 4px 9px; font-size: .5625rem; }
  .gs-zahl { font-size: 3rem; }
  .gs-wert-titel { font-size: 1.4rem; }
  .gs-wert-sub { margin-top: 6px; font-size: .8125rem; }
  .gs-fuss { font-size: .625rem; padding-top: 6px; }
  .gs-fuss span:first-child { max-width: 62%; }
  .gs-anzahl { right: 12px; top: -13px; padding: 3px 10px; font-size: .8125rem; }
  .gs-stapel[data-anzahl]:not([data-anzahl="1"])::before { transform: translate(8px, 8px) rotate(2deg); }
  .gs-stapel[data-anzahl]:not([data-anzahl="1"]):not([data-anzahl="2"])::after { transform: translate(15px, 14px) rotate(3.5deg); }
  .gs-rueck { padding: 14px 16px 12px; }
  .gs-zeile > span { min-width: 84px; }
  .gs-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kosten-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.hinweis-box .knoepfe { margin-top: 16px; }
.hinweis-box .btn-lime { color: var(--tinte); }
.wpcf7 .hidden-fields-container { display: none; }

/* =====================================================================
   Seit 1.2.0 (Wünsche von Dani vom 28.11.2026)
   ===================================================================== */

/* Der Weg zum Führerschein: Danis Übersicht, als Link auf die Datei in voller Grösse (am Handy zum Vergrössern) */
.weg-oben { padding-bottom: 80px; }
.weg-uebersicht { margin: 0; }
.weg-uebersicht a { display: block; overflow: hidden; border-radius: 12px; cursor: zoom-in; box-shadow: 0 1px 2px rgb(11 89 167 / 14%), 0 24px 48px rgb(11 89 167 / 18%); }
.weg-uebersicht img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.weg-uebersicht a:hover img { transform: scale(1.012); }
.weg-uebersicht a:focus-visible { outline-color: var(--blau); outline-offset: 4px; }

/* Fahrstunde: Hinweis auf die Seite «Der Weg zum Führerschein» */
.abschnitt.weg-hinweis { padding: 72px 0; }
.weg-hinweis .kopfzeile { margin-bottom: 0; }
.weg-hinweis .knoepfe { margin-top: 22px; }

/* Kosten: so bestellst du die Lernmittel */
.preise-seite .preise-hinweis { margin: -4px 0 20px; font-size: 1.0625rem; line-height: 1.55; color: var(--grau); }
.preise-hinweis a { color: var(--blau); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Bilderwand auf der Seite Feedbacks (Fotos unter Feedbacks > Bilderwand) */
.bilderwand + .abschnitt:not(.abschnitt-eis):not(.abschnitt-blau):not(.abschnitt-lime) { padding-top: 0; }
.bw-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; margin: 0; padding: 0; list-style: none; }
.bw-foto { margin: 0; }
.bw-foto figure { display: grid; gap: 10px; margin: 0; }
.bw-link { display: block; overflow: hidden; border-radius: 10px; cursor: zoom-in; box-shadow: 0 1px 2px rgb(11 89 167 / 14%), 0 14px 28px rgb(11 89 167 / 12%); }
.bw-link:focus-visible { outline-color: var(--blau); }
.bw-foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--eis); transition: transform .6s var(--ease); }
.bw-foto > figure > img { border-radius: 10px; }
.bw-link:hover img { transform: scale(1.03); }
.bw-foto figcaption { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--tinte); }
.bw-foto figcaption::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--lime); clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%); }
.bw-mehr { margin: 36px 0 0; }
.bw-mehr .link-pfeil { gap: 10px; }

/* Foto gross (Dialog) */
/* Der Dialog ist so breit wie das Foto; der Text darunter macht ihn nicht breiter (width 0, min-width 100 %) */
.bw-dialog { width: fit-content; max-width: 92vw; max-height: 92vh; margin: auto; padding: 0; border: 0; border-radius: 12px; background: var(--nacht); color: var(--weiss); overflow: visible; }
.bw-dialog::backdrop { background: rgb(3 18 36 / 88%); }
.bw-gross { margin: 0; }
.bw-gross img { display: block; width: auto; height: auto; max-width: min(92vw, 1000px); max-height: calc(92vh - 52px); object-fit: contain; border-radius: 12px 12px 0 0; background: var(--nacht); }
.bw-gross figcaption { box-sizing: border-box; width: 0; min-width: 100%; padding: 14px 20px 16px; font-size: 1.0625rem; font-weight: 600; }
.bw-gross figcaption:empty { display: none; }
.bw-gross:has(figcaption:empty) img { border-radius: 12px; }
.bw-knopf {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: var(--lime); color: var(--tinte); cursor: pointer; box-shadow: 0 6px 18px rgb(3 18 36 / 40%);
}
.bw-knopf:hover { background: var(--lime-hell); }
.bw-knopf .i { width: 24px; height: 24px; }
.bw-zu { top: -18px; right: -18px; }
.bw-zurueck, .bw-weiter { top: 50%; margin-top: -24px; }
.bw-zurueck { left: -24px; }
.bw-weiter { right: -24px; }

@media (max-width: 1023px) {
  .bw-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .abschnitt.weg-hinweis { padding: 56px 0; }
  .weg-oben { padding-bottom: 56px; }
  .bw-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .bw-foto figcaption { font-size: .9375rem; }
  .bw-dialog { width: 94vw; max-width: 94vw; }
  .bw-gross img { width: 100%; max-width: none; }
  .bw-zu { top: 8px; right: 8px; }
  .bw-zurueck { left: 8px; }
  .bw-weiter { right: 8px; }
}

/* Kopf: Menüpunkte einzeilig. «Der Weg zum Führerschein» ist lang, darum zwischen 1024 und 1139 px (z. B. iPad quer)
   das Menü hinter dem Knopf wie am Handy, als Feld rechts unter dem Knopf */
.nav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1139px) {
  .js .menu-btn {
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 6px; cursor: pointer;
    border: 2px solid rgb(255 255 255 / 35%); background: transparent; color: var(--weiss);
  }
  .js .menu-btn .i { width: 24px; height: 24px; }
  .js .nav {
    display: none; position: absolute; left: auto; right: var(--gut); top: 100%; width: 340px;
    flex-direction: column; gap: 0; padding: 8px 24px 20px; background: var(--blau-tief); border-radius: 0 0 8px 8px;
    box-shadow: 0 20px 40px rgb(3 25 52 / 35%);
  }
  .js .kopf.offen .nav { display: flex; }
  .js .nav a { padding: 15px 0; font-size: 1.125rem; border-bottom: 1px solid rgb(255 255 255 / 12%); }
  .js .nav a::after { display: none; }
}
/* Hinweis unter der Übersicht nur am Handy, dort ist die Schrift im Bild klein */
.weg-uebersicht figcaption { display: none; }
@media (max-width: 760px) {
  .weg-uebersicht figcaption { display: block; margin-top: 12px; font-size: .9375rem; color: var(--grau); text-align: center; }
}
