/* Fahrschule Dieter Schumacher – Kundenvorschau
   Leitidee: „Gleich zum Schumacher“ – Schusterhandwerk trifft Fahrschule.
   Die Naht wird zur Straße, der Ablauf wird geschnürt. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Yesteryear"; src: url("fonts/yesteryear.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

@property --weg { syntax: "<number>"; inherits: true; initial-value: .74; }

:root {
  /* Marke: per Pixelmessung aus Logo, Ladenfassade und Theorieraum */
  --wagengruen: #0E6A41;   /* Oldtimer im Logo, Karosserie */
  --schriftgruen: #1F3D12; /* Schriftzug „Schumacher“ im Logo */
  --reifen: #2A262B;       /* Reifen im Logo – Asphalt */
  --leder: #3B2E31;        /* Ladenfassade, Schattenseite */
  --leder-hell: #564244;   /* Ladenfassade, Licht */
  --garn: #D19B2E;         /* Wandfarbe Theorieraum – Garn, Ösen */
  --garn-hell: #EBC572;
  --creme: #F4EEE2;
  --papier: #FBF8F1;
  --text: #241E20;
  --text-2: #5A4F51;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --schrift: "Yesteryear", "Brush Script MT", cursive;
  --serif: "Fraunces", Georgia, serif;

  --rand: clamp(1rem, 4vw, 3.5rem);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --stich: repeating-linear-gradient(90deg, var(--garn) 0 16px, transparent 16px 26px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--text); font: 400 1.0625rem/1.6 var(--display); font-stretch: 100%; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.04; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 850; font-stretch: 82%; letter-spacing: -.01em; text-transform: none; }
h3 { font-size: 1.3rem; font-weight: 750; font-stretch: 90%; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--garn); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--papier); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
.schrift { font-family: var(--schrift); font-weight: 400; color: var(--wagengruen); letter-spacing: 0; text-transform: none; font-stretch: 100%; }

.rahmen { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.kopfzeile { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.kopfzeile p { color: var(--text-2); font-size: 1.125rem; margin-top: 1rem; }
.kopfzeile__marke { display: inline-flex; align-items: center; gap: .7rem; font: 700 .85rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--wagengruen) !important; margin: 0 0 1rem !important; }
.kopfzeile__marke::before { content: ""; width: 42px; height: 3px; background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 13px); }
.kopfzeile--hell p { color: #D9CFC6; }
.kopfzeile--hell .kopfzeile__marke { color: var(--garn) !important; }

/* Knöpfe – mit Naht */
.knopf {
  position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .75rem 1.5rem;
  background: var(--wagengruen); color: #fff; text-decoration: none; border-radius: 999px;
  font: 700 1rem/1.2 var(--display); letter-spacing: .01em;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.knopf::after { content: ""; position: absolute; inset: 4px; border-radius: inherit; border: 1.5px dashed rgba(255,255,255,.45); pointer-events: none; }
.knopf:hover { background: var(--schriftgruen); }
.knopf:active { transform: translateY(1px); }
.knopf--rand { background: transparent; color: var(--schriftgruen); box-shadow: inset 0 0 0 2px var(--schriftgruen); }
.knopf--rand::after { border-color: rgba(31,61,18,.35); }
.knopf--rand:hover { background: var(--schriftgruen); color: #fff; }
.knopf--hell { background: var(--creme); color: var(--schriftgruen); }
.knopf--hell::after { border-color: rgba(31,61,18,.35); }
.knopf--hell:hover { background: var(--garn); color: var(--text); }
.knopf--klein { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .95rem; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .95); backdrop-filter: blur(8px); transition: box-shadow .3s; }
.kopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--stich); opacity: 0; transition: opacity .3s; }
.kopf.ist-gescrollt { box-shadow: 0 6px 20px rgba(59,46,49,.08); }
.kopf.ist-gescrollt::after { opacity: .9; }
.kopf__innen { max-width: var(--max); margin: 0 auto; padding: .45rem var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marke { display: block; flex-shrink: 0; }
.marke img { width: clamp(150px, 16vw, 196px); height: auto; }
.menu { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(.8rem, 1.8vw, 1.6rem); }
.menu ul a { text-decoration: none; font: 650 1rem var(--display); position: relative; padding: .4rem 0; }
.menu ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--garn) 0 6px, transparent 6px 10px); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu ul a:hover::after { transform: scaleX(1); }
.menuknopf { display: none; }

@media (max-width: 979px) {
  .menuknopf { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--text); cursor: pointer; }
  .menuknopf__striche, .menuknopf__striche::before, .menuknopf__striche::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; content: ""; }
  .menuknopf__striche { position: relative; }
  .menuknopf__striche::before { position: absolute; top: -7px; }
  .menuknopf__striche::after { position: absolute; top: 7px; }
  .menuknopf[aria-expanded="true"] .menuknopf__striche { background: transparent; }
  .menuknopf[aria-expanded="true"] .menuknopf__striche::before { transform: translateY(7px) rotate(45deg); }
  .menuknopf[aria-expanded="true"] .menuknopf__striche::after { transform: translateY(-7px) rotate(-45deg); }
  .js .menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--rand) 1.6rem; background: var(--papier); box-shadow: 0 16px 30px rgba(59,46,49,.15); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
  .js .menu.ist-offen { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a { display: block; padding: .8rem 0; font-size: 1.3rem; border-bottom: 1px dashed rgba(59,46,49,.2); }
  .menu .knopf { align-self: flex-start; }
  html:not(.js) .menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 85% 0%, #FFFDF7 0%, var(--creme) 60%); }
.hero__raster { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) var(--rand) clamp(2rem, 4vw, 3rem); display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .hero__raster { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hero__ort { font-weight: 650; color: var(--text-2); letter-spacing: .02em; margin-bottom: 1.1rem; }
.hero__titel { font-size: clamp(2.4rem, 5vw, 4.3rem); font-weight: 900; font-stretch: 72%; line-height: .98; letter-spacing: -.015em; color: var(--leder); }
.hero__zeile { display: block; }
.hero__zeile--2 { margin-top: .08em; }
.hero__titel .schrift { display: inline-block; font-size: 1.22em; line-height: .8; padding: .1em .12em .08em 0; margin-left: .02em; transform: rotate(-4deg) translateY(.06em); transform-origin: left bottom; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 34rem; margin: 1.6rem 0 2rem; color: var(--text-2); }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__bild { margin: 0; position: relative; padding: 12px; background: var(--leder); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(59,46,49,.6); }
.hero__bild::after { content: ""; position: absolute; inset: 5px; border: 2px dashed var(--garn); border-radius: 18px; pointer-events: none; opacity: .85; }
.hero__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border-radius: 12px; }
@media (max-width: 959px) { .hero__bild img { aspect-ratio: 16 / 9; } }

/* Signature: Band – vorne Leder mit Naht, hinter dem Auto wird daraus die Straße */
.band { --plus: 0; position: relative; height: clamp(116px, 13vw, 156px); background: var(--leder); overflow: hidden; }
.band__leder { position: absolute; inset: 0; background:
  radial-gradient(circle at 20% 30%, rgba(255,255,255,.05) 0 1px, transparent 2px) 0 0 / 9px 9px,
  linear-gradient(180deg, var(--leder-hell), var(--leder) 55%, #2F2427); }
.band__leder::before, .band__leder::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(209,155,46,.55) 0 7px, transparent 7px 12px); }
.band__leder::before { top: 12px; }
.band__leder::after { bottom: 12px; }
.band__naht { position: absolute; left: 0; right: 0; top: calc(62% - 2px); height: 4px; background: var(--stich); filter: drop-shadow(0 1px 0 rgba(0,0,0,.5)); }
.band__strasse { position: absolute; left: 0; top: 0; bottom: 0; width: calc((var(--weg) + var(--plus)) * 100%); background: linear-gradient(180deg, #37323A, var(--reifen) 30%, #221E23); overflow: hidden; }
.band__strasse::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: #CFC8BE; opacity: .7; }
.band__strasse::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 3px; background: #CFC8BE; opacity: .7; }
.band__mitte { position: absolute; left: 0; width: 100vw; top: calc(62% - 2px); height: 4px; background: repeating-linear-gradient(90deg, #fff 0 16px, transparent 16px 26px); }
.band__auto { position: absolute; bottom: 14%; left: calc((var(--weg) + var(--plus)) * 100%); width: clamp(140px, 17vw, 230px); transform: translateX(-96%); }
.auto { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 8px 6px rgba(0,0,0,.35)); }
.auto__koerper { fill: var(--wagengruen); stroke: #0A4A2D; stroke-width: 2; }
.auto__glas { fill: #CFE3DA; stroke: #0A4A2D; stroke-width: 2; }
.auto__linie { fill: none; stroke: #0A4A2D; stroke-width: 1.6; opacity: .6; }
.auto__licht { fill: #FFF3C4; }
.auto__rot { fill: #C8423A; }
.auto__rad circle { fill: var(--reifen); }
.auto__rad .auto__felge { fill: #D8D4CC; stroke: var(--reifen); stroke-width: 3; stroke-dasharray: 4 5; }
.auto__rad { transform-box: fill-box; transform-origin: center; }
.wolke { position: absolute; right: 78%; bottom: 18%; width: 118%; height: auto; overflow: visible; transform-origin: 100% 70%; }
.wolke__form { fill: var(--papier); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }
.wolke__klein { font: 800 13px var(--display); font-stretch: 110%; letter-spacing: .06em; fill: var(--schriftgruen); }
.wolke__schrift { font: 400 34px var(--schrift); fill: var(--schriftgruen); }
@media (max-width: 599px) { .wolke { width: 100%; right: 82%; } }

/* ---------- Angebot: Etiketten mit Naht ---------- */
.etiketten { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 960px) {
  .etiketten { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .etikett--gross { grid-column: span 2; grid-row: span 2; }
}
.etikett { position: relative; background: var(--papier); border-radius: 18px; padding: 1.8rem 1.6rem 1.6rem; box-shadow: 0 1px 0 rgba(59,46,49,.08), 0 18px 40px -28px rgba(59,46,49,.45); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.etikett::before { content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(209,155,46,.75); border-radius: 13px; pointer-events: none; }
.etikett:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 1px 0 rgba(59,46,49,.08), 0 26px 46px -26px rgba(59,46,49,.5); }
.etikett__nr { font: 900 clamp(1.6rem, 3vw, 2.3rem)/1 var(--display); font-stretch: 70%; color: var(--wagengruen); margin-bottom: .8rem; }
.etikett h3 { margin-bottom: .6rem; }
.etikett p { color: var(--text-2); }
.etikett p:last-child { margin-bottom: 0; }
.etikett a { color: var(--schriftgruen); font-weight: 700; }
.etikett--gross { background: var(--wagengruen); color: #fff; padding: clamp(1.8rem, 3vw, 2.6rem); }
.etikett--gross::before { border-color: rgba(235,197,114,.6); }
.etikett--gross .etikett__nr { color: var(--garn-hell); font-size: clamp(2.6rem, 6vw, 4.4rem); }
.etikett--gross h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.etikett--gross p { color: #E3EFE8; font-size: 1.08rem; }
.b197 { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 2px dashed rgba(235,197,114,.45); }
.b197 h4 { font-size: 1.15rem; font-weight: 750; margin-bottom: .5rem; color: var(--garn-hell); }
.etikett--dunkel { background: var(--leder); color: var(--creme); }
.etikett--dunkel .etikett__nr { color: var(--garn); }
.etikett--dunkel p { color: #D9CFC6; }
.etikett--dunkel a { color: var(--garn-hell); }

/* ---------- Ablauf: Schnürung ---------- */
.ablauf { background: linear-gradient(180deg, var(--leder) 0%, #31262A 100%); color: var(--creme); position: relative; overflow: hidden; }
.ablauf::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.035) 0 1px, transparent 2px) 0 0 / 10px 10px; pointer-events: none; }
.ablauf .rahmen { position: relative; }
.schnuerung { position: relative; --lasche: 150px; }
.schnuerung::before { content: ""; position: absolute; top: -1rem; bottom: -1rem; left: 50%; width: calc(var(--lasche) + 60px); transform: translateX(-50%); border-radius: 60px; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.04) 50%, rgba(0,0,0,.18)); }
.schnuerung::after { content: ""; position: absolute; top: -1rem; bottom: -1rem; left: 50%; width: calc(var(--lasche) + 40px); transform: translateX(-50%); border-radius: 50px; border: 2px dashed rgba(209,155,46,.35); pointer-events: none; }
.schnuerung__senkel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.senkel__spur { fill: none; stroke: rgba(244,238,226,.12); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.senkel__band { fill: none; stroke: var(--creme); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 2px rgba(0,0,0,.45)); }
.schritte { list-style: none; margin: 0; padding: 0; position: relative; }
.schritt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--lasche) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.schritt + .schritt { margin-top: -1.6rem; }
.schritt__karte { grid-row: 1; background: rgba(251,248,241,.06); border: 1px solid rgba(244,238,226,.12); border-radius: 18px; padding: 1.3rem 1.5rem 1.2rem; max-width: 30rem; }
.schritt:nth-child(odd) .schritt__karte { grid-column: 1; justify-self: end; text-align: right; }
.schritt:nth-child(even) .schritt__karte { grid-column: 3; justify-self: start; }
.schritt__nr { font: 700 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--garn); margin-bottom: .55rem; }
.schritt h3 { font-size: 1.45rem; margin-bottom: .45rem; color: #fff; }
.schritt__karte p:last-child { margin-bottom: 0; color: #D9CFC6; }
.oese { grid-row: 1; grid-column: 2; position: relative; height: 34px; z-index: 3; }
.oese::before, .oese::after { content: ""; position: absolute; top: 0; width: 34px; height: 34px; border-radius: 50%; background: #1B1416; border: 7px solid #8C7F75; box-shadow: inset 0 2px 3px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.15); transition: border-color .4s var(--ease), transform .4s var(--ease); }
.oese::before { left: -17px; }
.oese::after { right: -17px; }
.schritt.ist-geschnuert .oese::before, .schritt.ist-geschnuert .oese::after,
html:not(.anim) .oese::before, html:not(.anim) .oese::after { border-color: var(--garn); }
.schritt--ziel .schritt__karte { background: var(--garn); border-color: var(--garn); }
.schritt--ziel h3, .schritt--ziel .schritt__nr, .schritt--ziel .schritt__karte p:last-child { color: var(--text); }
html:not(.js) .schnuerung__senkel { display: none; }

@media (max-width: 759px) {
  .schnuerung { --lasche: 44px; }
  .schnuerung::before { left: 30px; width: 76px; }
  .schnuerung::after { left: 30px; width: 60px; }
  .schritt { grid-template-columns: 60px minmax(0, 1fr); column-gap: 1.1rem; }
  .schritt + .schritt { margin-top: 1.1rem; }
  .oese { grid-column: 1; width: 44px; justify-self: center; height: 26px; }
  .oese::before, .oese::after { width: 26px; height: 26px; border-width: 5px; }
  .oese::before { left: -13px; }
  .oese::after { right: -13px; }
  .schritt:nth-child(odd) .schritt__karte, .schritt:nth-child(even) .schritt__karte { grid-column: 2; justify-self: stretch; text-align: left; max-width: none; }
  .senkel__band { stroke-width: 5; }
}

/* ---------- Seminare ---------- */
.seminare__raster { display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .seminare__raster { grid-template-columns: 1fr 1fr; } }
.seminar { position: relative; background: var(--papier); border-radius: 20px; padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: 0 18px 40px -28px rgba(59,46,49,.45); }
.seminar::before { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(14,106,65,.35); border-radius: 14px; pointer-events: none; }
.seminar__kopf { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.seminar__kz { font: 900 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display); font-stretch: 68%; color: var(--wagengruen); margin: 0; }
.seminar h3 { font-size: 1.35rem; }
.seminar p { color: var(--text-2); }
.seminar__info { font-size: .98rem; border-left: 3px solid var(--garn); padding-left: .9rem; }
.termine { width: 100%; border-collapse: collapse; margin-top: 1.4rem; font-variant-numeric: tabular-nums; }
.termine caption { text-align: left; font: 750 .85rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--leder); padding-bottom: .5rem; }
.termine th, .termine td { text-align: left; padding: .55rem .4rem; border-top: 1px dashed rgba(59,46,49,.25); font-weight: 500; }
.termine th { font-weight: 700; color: var(--leder); }
.termine td:last-child { text-align: right; font-weight: 700; color: var(--wagengruen); }
.seminare__fuss { margin-top: 1.6rem; font-weight: 600; }
.seminare__fuss a { color: var(--wagengruen); }

/* ---------- Fahrschule ---------- */
.fahrschule { background: var(--papier); }
.fahrschule__kopf { display: grid; gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 960px) { .fahrschule__kopf { grid-template-columns: 1fr 1fr; } }
.fahrschule__kopf .kopfzeile { margin-bottom: 0; }
.fahrschule__text p { color: var(--text-2); font-size: 1.08rem; }
.fahrschule__text strong { color: var(--text); }
.laden, .generationen { margin: 0; }
.laden img, .generationen img { width: 100%; border-radius: 18px; }
.laden figcaption, .generationen figcaption { margin-top: .8rem; color: var(--text-2); font-size: .98rem; }
.laden figcaption { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--schriftgruen); }
.laden img { aspect-ratio: 1400 / 493; object-fit: cover; }
@media (max-width: 699px) { .laden img { aspect-ratio: 4 / 3; object-position: 45% 50%; } }
.einblicke { list-style: none; margin: clamp(1.2rem, 2.5vw, 1.8rem) 0; padding: 0; display: grid; gap: clamp(.8rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.einblicke li { overflow: hidden; border-radius: 16px; }
.einblicke img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.einblicke li:hover img { transform: scale(1.04); }
.generationen { margin-top: clamp(2.5rem, 5vw, 4rem); background: #1D3557; border-radius: 22px; overflow: hidden; }
.generationen img { border-radius: 0; }
.generationen figcaption { margin: 0; padding: 1rem clamp(1rem, 3vw, 2rem) 1.2rem; color: #E8EEF6; }
.generationen strong { color: #fff; }

/* ---------- Preise ---------- */
.preise__raster { display: grid; gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 960px) { .preise__raster { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .preise .kopfzeile { position: sticky; top: 7rem; } }
.preise__stand { font-size: .98rem !important; font-weight: 650; color: var(--leder) !important; background: rgba(209,155,46,.2); display: inline-block; padding: .4rem .8rem; border-radius: 8px; }
.zettel { position: relative; background: var(--papier); border-radius: 6px 26px 26px 26px; padding: clamp(2rem, 4vw, 3rem) clamp(1.3rem, 4vw, 3rem) clamp(1.6rem, 3vw, 2.4rem); box-shadow: 0 30px 50px -30px rgba(59,46,49,.5); }
.zettel::before { content: ""; position: absolute; top: 18px; left: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--creme); border: 5px solid var(--garn); box-shadow: inset 0 2px 3px rgba(0,0,0,.25); }
.zettel::after { content: ""; position: absolute; inset: 9px; border: 2px dashed rgba(209,155,46,.6); border-radius: 2px 20px 20px 20px; pointer-events: none; }
.preisliste { margin: 0; }
.preisliste div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed rgba(59,46,49,.22); }
.preisliste dt { font-weight: 700; }
.preisliste dt small { display: block; font-weight: 450; color: var(--text-2); font-size: .9rem; }
.preisliste dd { margin: 0; font: 800 1.25rem var(--display); font-stretch: 85%; color: var(--wagengruen); white-space: nowrap; font-variant-numeric: tabular-nums; }
.preisliste__grund dd { font-size: 1.7rem; }
.preisliste__grund { padding-top: 0 !important; }
.zettel__zusatz { margin-top: 1.8rem; padding: 1.2rem 1.3rem .4rem; background: var(--creme); border-radius: 14px; }
.zettel__zusatz h3 { font-size: 1.1rem; color: var(--leder); }
.preisliste--klein dd { font-size: 1.1rem; }
.preisliste--klein div:last-child { border-bottom: 0; }
.zettel__fuss { margin: 1.4rem 0 0; color: var(--text-2); font-size: .95rem; }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--schriftgruen); color: var(--creme); position: relative; }
.kontakt::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 4px; background: var(--stich); opacity: .8; }
.kontakt__raster { display: grid; gap: 2.5rem clamp(2rem, 5vw, 5rem); }
@media (min-width: 960px) { .kontakt__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.kontakt .kopfzeile__marke { color: var(--garn) !important; }
.kontakt h2 { color: #fff; margin-bottom: 1.6rem; }
.kontakt__adresse { font-style: normal; font-size: 1.25rem; line-height: 1.5; margin-bottom: 1.4rem; }
.kontakt__wege { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.kontakt__wege li { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; padding: .55rem 0; border-top: 1px dashed rgba(244,238,226,.22); transition: transform .3s var(--ease); overflow-wrap: anywhere; }
.kontakt__wege li:hover { transform: translateX(6px); }
.kontakt__wege span { color: var(--garn-hell); font-weight: 650; }
.kontakt__wege a { color: #fff; text-decoration-color: rgba(235,197,114,.6); text-underline-offset: 3px; }
.kontakt__tel { font-weight: 800; font-size: 1.2rem; }
.kontakt__seite { display: grid; gap: 1.2rem; }
.zeiten, .anfahrt { background: rgba(251,248,241,.07); border: 1px solid rgba(244,238,226,.14); border-radius: 18px; padding: 1.4rem 1.5rem; }
.zeiten h3, .anfahrt h3 { color: #fff; margin-bottom: .8rem; }
.zeiten table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.zeiten th, .zeiten td { text-align: left; padding: .42rem .5rem; font-weight: 500; }
.zeiten td { text-align: right; }
.zeiten tr.heute { background: rgba(209,155,46,.22); }
.zeiten tr.heute th { font-weight: 800; }
.zeiten__jetzt { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; background: var(--creme); color: var(--schriftgruen); padding: .4rem .9rem; border-radius: 999px; margin-bottom: .9rem; }
.zeiten__jetzt::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9A8F86; }
.zeiten__jetzt.ist-offen::before { background: #22A162; box-shadow: 0 0 0 4px rgba(34,161,98,.25); }
.zeiten__notiz { margin: .6rem 0 0; color: #CFC7BC; font-size: .95rem; }
.zeiten--theorie p { margin: 0; line-height: 1.7; }
.zeiten--theorie small { color: #CFC7BC; font-size: .92rem; }
.anfahrt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.anfahrt li { display: flex; align-items: center; gap: .8rem; }
.linie { display: inline-grid; place-items: center; min-width: 3rem; height: 1.8rem; padding: 0 .4rem; border-radius: 6px; font: 800 .95rem var(--display); color: #fff; flex-shrink: 0; }
.linie--bus { background: #A5027D; }
.linie--s { background: #006F35; border-radius: 999px; outline: 1px solid rgba(255,255,255,.5); }
.linie--u { background: #00539F; border-radius: 3px; }

/* ---------- Fuß ---------- */
.fuss { background: var(--leder); color: #D9CFC6; padding: 2.6rem 0 2.2rem; font-size: .95rem; }
.fuss__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.fuss__logo { width: 180px; background: var(--creme); border-radius: 12px; padding: .5rem .7rem; }
.fuss__spruch { font-family: var(--serif); font-style: italic; color: var(--garn-hell); font-size: 1.1rem; flex: 1 1 18rem; margin: 0; }
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 1.4rem; }
.fuss nav a { color: #fff; }

/* ---------- Rechtsseiten, 404 ---------- */
.recht { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--rand) 4rem; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; font-stretch: 75%; margin-bottom: 1.5rem; color: var(--leder); }
.recht h2 { font-size: 1.25rem; font-stretch: 95%; margin: 2rem 0 .6rem; color: var(--schriftgruen); }
.recht address { font-style: normal; margin-bottom: 1em; }
.recht a { color: var(--wagengruen); }
.offen-markiert { background: #FCE9B8; padding: .05rem .35rem; border-radius: 4px; }
.fehler { min-height: 62vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1rem; padding: 3rem var(--rand); }
.fehler h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; font-stretch: 72%; color: var(--leder); }
.fehler h1 .schrift { font-size: 1.15em; }
.fehler p { color: var(--text-2); max-width: 32rem; }
.fehler__naht { width: min(420px, 80vw); height: 4px; background: var(--stich); border-radius: 2px; }

/* ---------- Bewegung (nur mit Klasse .anim) ---------- */
.anim .hero__ort, .anim .hero__zeile, .anim .hero__lead, .anim .hero__knoepfe { animation: hoch .9s var(--ease) both; }
.anim .hero__zeile--1 { animation-delay: .08s; }
.anim .hero__zeile--2 { animation-delay: .16s; }
.anim .hero__lead { animation-delay: .26s; }
.anim .hero__knoepfe { animation-delay: .34s; }
.anim .hero__titel .schrift { animation: schreiben 1.2s cubic-bezier(.5, 0, .2, 1) .55s both; }
.anim .hero__bild { animation: aufnaehen 1.1s var(--ease) .15s both; }
.anim .hero__bild::after { animation: naht 1.4s var(--ease) .7s both; }
.anim .band { animation: anfahrt 2.6s cubic-bezier(.35, .05, .2, 1) .5s both; }
.anim .auto__rad { animation: drehen 2.6s cubic-bezier(.35, .05, .2, 1) .5s both; }
.anim .wolke { animation: puff .8s cubic-bezier(.3, 1.5, .5, 1) 2.7s both; }
.anim .band__naht { animation: stiche 1.2s steps(12) .2s both; }

@keyframes hoch { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes schreiben { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% -10% -20% 0); } }
@keyframes aufnaehen { from { opacity: 0; transform: translateY(30px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
@keyframes naht { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes anfahrt { from { --weg: -.02; } to { --weg: .74; } }
@keyframes drehen { from { transform: rotate(-1080deg); } to { transform: rotate(0); } }
@keyframes puff { from { opacity: 0; transform: scale(.2) translateX(30%); } to { opacity: 1; transform: none; } }
@keyframes stiche { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

.anim .zeigen { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.anim .zeigen.ist-da { opacity: 1; transform: none; }
.anim .schritt.zeigen { transform: translateY(18px); }
.anim .schritt.zeigen.ist-da { transform: none; }
.anim .etikett.zeigen { transform: translateY(26px) rotate(1deg); }
.anim .etikett.zeigen.ist-da { transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .35s; }
.anim .etikett.zeigen.ist-da:hover { transform: translateY(-4px) rotate(-.4deg); }
.anim .laden.zeigen img { clip-path: inset(0 0 0 100% round 18px); transition: clip-path 1.2s cubic-bezier(.6, 0, .2, 1); }
.anim .laden.zeigen.ist-da img { clip-path: inset(0 0 0 0 round 18px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
