/* Fahrschule Jürgen Anklam – Kundenvorschau. Leitidee „Das Schild an der Tür“ (siehe PROJEKTNOTIZEN.md) */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/publicsans-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --putz: #EEE9E0;
  --putz-2: #E3DCCF;
  --papier: #FBF8F2;
  --tinte: #1C2421;
  --tinte-2: #46504B;
  --nacht: #17201D;
  --nacht-2: #223029;
  --messing: #C9A55F;
  --messing-hell: #EBD9A4;
  --messing-tief: #8E6C2C;
  --gravur: #3B2D12;
  --patina: #2D5B4F;
  --patina-tief: #224A40;
  --patina-hell: #8FC2B0;
  --messing-verlauf: linear-gradient(118deg, #8E6C2C 0%, #B8914A 14%, #E6CF93 34%, #F3E6BC 42%, #CDA65D 55%, #A9843F 72%, #D2B271 88%, #9C7834 100%);
  --gebuerstet: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, rgba(0, 0, 0, .035) 1px 3px, rgba(255, 255, 255, 0) 3px 5px);
  --titel: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --breit: 72rem;
  --kopf-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--putz); color: var(--tinte); font: 400 1.0625rem/1.6 var(--text); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--titel); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; font-variation-settings: "opsz" 72; }
p, ul, ol, dl { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--patina); outline-offset: 3px; border-radius: 4px; }
.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: 50; background: var(--nacht); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }
.rahmen { max-width: var(--breit); margin: 0 auto; padding: 0 var(--rand); }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: .7rem 1.35rem; border-radius: 999px; background: var(--patina); color: #fff; font-weight: 650; text-decoration: none; border: 2px solid var(--patina); transition: background-color .2s, border-color .2s, transform .2s; }
.knopf:hover { background: var(--patina-tief); border-color: var(--patina-tief); transform: translateY(-1px); }
.knopf--rahmen { background: transparent; color: var(--tinte); border-color: rgba(28, 36, 33, .35); }
.knopf--rahmen:hover { background: rgba(28, 36, 33, .06); border-color: var(--tinte); }
.knopf--klein { min-height: 2.5rem; padding: .4rem 1rem; font-size: .95rem; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(238, 233, 224, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: box-shadow .25s; }
.kopf.ist-gescrollt { box-shadow: 0 1px 0 rgba(28, 36, 33, .12), 0 8px 24px -16px rgba(28, 36, 33, .4); }
.kopf__innen { max-width: var(--breit); margin: 0 auto; padding: 0 var(--rand); height: var(--kopf-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.marke__schild { flex: none; filter: drop-shadow(0 2px 2px rgba(59, 45, 18, .3)); }
.marke__text { display: flex; flex-direction: column; line-height: 1.05; }
.marke__klein { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--tinte-2); font-weight: 600; }
.marke__gross { font-family: var(--titel); font-size: 1.3rem; font-weight: 600; }
.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu ul { display: flex; gap: 1.25rem; list-style: none; padding: 0; }
.menu ul a { text-decoration: none; font-weight: 550; position: relative; padding: .3rem 0; }
.menu ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--messing-tief); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu ul a:hover::after { transform: scaleX(1); }
.menuknopf { display: none; }

@media (max-width: 960px) {
  .menuknopf { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: var(--tinte); }
  .menuknopf__striche, .menuknopf__striche::before, .menuknopf__striche::after { display: block; width: 1.4rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, background-color .25s; }
  .menuknopf__striche { position: relative; }
  .menuknopf__striche::before, .menuknopf__striche::after { content: ""; position: absolute; left: 0; }
  .menuknopf__striche::before { top: -7px; }
  .menuknopf__striche::after { 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: var(--kopf-h); flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--rand) 1.5rem; background: var(--putz); box-shadow: 0 16px 24px -16px rgba(28, 36, 33, .35); display: none; }
  .js .menu.ist-offen { display: flex; }
  .js .menu ul { flex-direction: column; gap: 0; }
  .js .menu ul a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(28, 36, 33, .1); font-size: 1.1rem; }
  .js .menu .knopf { justify-content: center; }
  html:not(.js) .menu { flex-wrap: wrap; }
  html:not(.js) .kopf__innen { height: auto; flex-wrap: wrap; padding-block: .6rem; }
  html:not(.js) .menu ul { flex-wrap: wrap; }
}

/* ---------- Hero: das Schild an der Tür ---------- */
.held { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(46rem, calc(100svh - var(--kopf-h))); padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 8vw, 6rem); background:
  radial-gradient(ellipse 60% 70% at 30% 40%, rgba(255, 252, 244, .85), rgba(255, 252, 244, 0) 70%),
  var(--putz); }
.held__putz { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55; mix-blend-mode: multiply;
  background-image: url("img/putz.svg"); }
.held__innen { position: relative; z-index: 1; width: 100%; max-width: var(--breit); margin: 0 auto; padding: 0 var(--rand); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.schild { --hs: 0; position: relative; isolation: isolate; padding: clamp(2rem, 5vw, 3.6rem) clamp(1.6rem, 5vw, 3.8rem); border-radius: 10px; background: var(--gebuerstet), var(--messing-verlauf); background-size: auto, 220% 100%; background-position: 0 0, calc(30% + var(--hs) * 50%) 0; color: var(--gravur);
  box-shadow: inset 0 1px 0 rgba(255, 249, 225, .8), inset 0 -2px 0 rgba(94, 71, 24, .45), inset 0 0 0 1px rgba(94, 71, 24, .35), 0 2px 0 #7A5C24, 0 22px 40px -18px rgba(59, 45, 18, .65), 0 6px 14px -6px rgba(59, 45, 18, .35); }
.schild::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(59, 45, 18, .38); border-radius: 5px; box-shadow: 0 1px 0 rgba(255, 245, 210, .55); pointer-events: none; }
.schraube { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F6EAC2, #B48D45 55%, #6E521D); box-shadow: inset 0 -1px 1px rgba(0, 0, 0, .35), 0 1px 1px rgba(255, 245, 215, .6); }
.schraube::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; margin-top: -1px; background: rgba(59, 45, 18, .75); border-radius: 1px; box-shadow: 0 1px 0 rgba(255, 245, 215, .45); }
.schild > .schraube:nth-of-type(1) { left: 22px; top: 22px; rotate: 20deg; }
.schild > .schraube:nth-of-type(2) { right: 22px; top: 22px; rotate: -35deg; }
.schild > .schraube:nth-of-type(3) { left: 22px; bottom: 22px; rotate: 70deg; }
.schild > .schraube:nth-of-type(4) { right: 22px; bottom: 22px; rotate: 5deg; }
.schild__titel { display: flex; flex-direction: column; gap: .2em; }
.gravur { position: relative; display: block; width: fit-content; max-width: 100%; text-shadow: 0 1px 0 rgba(255, 246, 214, .7), 0 -1px 0 rgba(59, 45, 18, .35); }
.gravur__t { display: block; }
.gravur--1 { font-family: var(--text); font-size: clamp(.8rem, 1.5vw, 1rem); font-weight: 700; letter-spacing: .42em; text-transform: uppercase; }
.gravur--2 { font-family: var(--titel); font-size: clamp(2.5rem, 7.4vw, 5.4rem); font-weight: 600; line-height: .98; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.schild__linie { display: block; height: 2px; margin: clamp(1rem, 2.4vw, 1.6rem) 0 clamp(.8rem, 2vw, 1.2rem); background: rgba(59, 45, 18, .55); box-shadow: 0 1px 0 rgba(255, 246, 214, .6); transform-origin: left; }
.gravur--3 { font-family: var(--text); font-size: clamp(.95rem, 1.9vw, 1.2rem); font-weight: 600; letter-spacing: .04em; }
.schild__glanz { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; overflow: hidden; }
.schild__glanz::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; background: linear-gradient(100deg, rgba(255, 252, 235, 0), rgba(255, 252, 235, .55) 50%, rgba(255, 252, 235, 0)); transform: translateX(-140%) skewX(-14deg); }

.held__ort { font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--patina); margin-bottom: .9rem; }
.held__lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; max-width: 30rem; }
.held__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

@media (max-width: 860px) {
  .held { min-height: 0; }
  .held__innen { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .schild { padding: 2.6rem 2rem 2.5rem; }
  .schild > .schraube { width: 13px; height: 13px; }
  .schild > .schraube:nth-of-type(1) { left: 13px; top: 13px; }
  .schild > .schraube:nth-of-type(2) { right: 13px; top: 13px; }
  .schild > .schraube:nth-of-type(3) { left: 13px; bottom: 13px; }
  .schild > .schraube:nth-of-type(4) { right: 13px; bottom: 13px; }
  .schild::before { inset: 7px; }
  .schraube::after { left: 2px; right: 2px; height: 1.5px; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(4rem, 9vw, 7rem) 0; overflow-x: clip; }
.kopfzeile { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.kopfzeile__nr { font-family: var(--titel); font-size: 1rem; font-weight: 600; color: var(--messing-tief); letter-spacing: .1em; margin-bottom: .6rem; display: flex; align-items: center; gap: .7rem; }
.kopfzeile__nr::after { content: ""; width: 3rem; height: 2px; background: currentColor; opacity: .6; }
.kopfzeile h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: .9rem; }
.kopfzeile p:not(.kopfzeile__nr) { color: var(--tinte-2); font-size: 1.1rem; }
.kopfzeile--hell .kopfzeile__nr { color: var(--messing); }
.kopfzeile--hell p:not(.kopfzeile__nr) { color: rgba(255, 255, 255, .78); }

/* ---------- Klassen: Schlüsselanhänger ---------- */
.klassen { background: var(--papier); }
.anhaenger { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.tag { position: relative; padding: 3.2rem 1.4rem 1.6rem; border-radius: 14px 14px 18px 18px; background: var(--putz); border: 1px solid rgba(28, 36, 33, .1); box-shadow: 0 14px 26px -20px rgba(28, 36, 33, .5); transform-origin: 50% 1.2rem; }
.tag::before { content: ""; position: absolute; left: 50%; top: -1.6rem; width: 2px; height: 1.9rem; background: linear-gradient(var(--messing-tief), var(--messing)); transform: translateX(-50%); }
.tag__loch { position: absolute; left: 50%; top: .75rem; width: 1.15rem; height: 1.15rem; margin-left: -.575rem; border-radius: 50%; background: var(--papier); box-shadow: inset 0 1px 2px rgba(28, 36, 33, .35), 0 0 0 3px var(--messing); }
.tag__kz { display: inline-block; font-family: var(--titel); font-size: 1.7rem; font-weight: 700; line-height: 1; padding: .45rem .7rem .5rem; border-radius: 6px; background: var(--gebuerstet), var(--messing-verlauf); background-size: auto, 260% 100%; color: var(--gravur); text-shadow: 0 1px 0 rgba(255, 246, 214, .6); box-shadow: inset 0 0 0 1px rgba(94, 71, 24, .35); margin-bottom: 1rem; transition: background-position .6s ease; background-position: 0 0, 20% 0; }
.tag:hover .tag__kz { background-position: 0 0, 80% 0; }
.tag h3 { font-size: 1.4rem; margin-bottom: .45rem; }
.tag p:not(.tag__kz) { color: var(--tinte-2); font-size: .98rem; }
.klassen__fuss { margin-top: 2.25rem; color: var(--tinte-2); }
.klassen__fuss a { color: var(--patina); font-weight: 650; }
@media (max-width: 1000px) { .anhaenger { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.75rem; } }
@media (max-width: 560px) { .anhaenger { grid-template-columns: 1fr; } }

/* ---------- Ablauf: Route mit Fahrschulauto ---------- */
.ablauf { background: var(--nacht); color: #fff; position: relative; overflow: hidden; }
.ablauf::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 90% 10%, rgba(201, 165, 95, .14), transparent 70%); pointer-events: none; }
.ablauf__raster { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.ablauf .kopfzeile { position: sticky; top: calc(var(--kopf-h) + 2rem); }
.route-bahn { position: relative; --sx: 1.35rem; }
.route { list-style: none; padding: 0 0 0 calc(var(--sx) * 2 + 1.5rem); counter-reset: halt; position: relative; z-index: 1; }
.route::before { content: ""; position: absolute; left: var(--sx); top: .4rem; bottom: .4rem; width: 0; border-left: 3px dashed rgba(235, 217, 164, .3); transform: translateX(-50%); }
.route__halt { position: relative; counter-increment: halt; padding-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.route__halt:last-child { padding-bottom: 0; }
.route__halt::before { content: counter(halt); position: absolute; left: calc((var(--sx) * 2 + 1.5rem) * -1 + var(--sx)); top: -.1rem; transform: translateX(-50%); width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--titel); font-weight: 700; font-size: 1.1rem; background: var(--messing); color: var(--gravur); box-shadow: 0 0 0 5px var(--nacht); transition: background-color .35s, color .35s, scale .35s; }
.route__halt h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin-bottom: .45rem; padding-top: .15rem; }
.route__halt p { color: rgba(255, 255, 255, .78); max-width: 34rem; }
.route__spur, .route__auto { display: none; }
@media (max-width: 860px) {
  .ablauf__raster { grid-template-columns: 1fr; }
  .ablauf .kopfzeile { position: static; }
}

/* ---------- Fahrschule ---------- */
.fahrschule__raster { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hausnummer { position: relative; aspect-ratio: 1; max-width: 26rem; width: 100%; justify-self: center; display: grid; place-items: center; align-content: center; border-radius: 50%; background: var(--papier); box-shadow: inset 0 0 0 1px rgba(28, 36, 33, .08), 0 30px 60px -40px rgba(28, 36, 33, .6); }
.hausnummer::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 2px dashed rgba(142, 108, 44, .45); }
.hausnummer__zahl { font-family: var(--titel); font-weight: 700; font-size: clamp(6rem, 17vw, 11rem); line-height: .9; letter-spacing: -.04em; font-variation-settings: "opsz" 144; color: transparent; background: var(--messing-verlauf); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px rgba(94, 71, 24, .35); }
.hausnummer__strasse { margin-top: .6rem; font-size: .85rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--tinte-2); }
.fahrschule__text > p { font-size: 1.12rem; max-width: 36rem; }
.steckbrief { margin-top: 2rem; border-top: 1px solid rgba(28, 36, 33, .15); max-width: 36rem; }
.steckbrief div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(28, 36, 33, .15); }
.steckbrief dt { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tinte-2); padding-top: .15rem; }
.steckbrief dd { margin: 0; font-weight: 550; }
.steckbrief a { color: var(--patina); font-weight: 650; }
@media (max-width: 860px) { .fahrschule__raster { grid-template-columns: 1fr; } .hausnummer { max-width: 17rem; } .hausnummer__strasse { font-size: .7rem; letter-spacing: .2em; } }

/* ---------- Preise ---------- */
.preise { background: var(--papier); }
.preise__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.posten { list-style: none; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 12px; background: var(--putz); border: 1px solid rgba(28, 36, 33, .1); }
.posten li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px dotted rgba(28, 36, 33, .3); font-weight: 550; }
.posten__wert { font-family: var(--titel); font-style: normal; color: var(--patina); font-weight: 600; white-space: nowrap; }
.posten .posten__fuss { display: block; border-bottom: 0; padding-bottom: 0; font-weight: 400; font-size: .95rem; color: var(--tinte-2); }
@media (max-width: 860px) { .preise__raster { grid-template-columns: 1fr; } }

/* ---------- Kontakt: das Klingelbrett ---------- */
.kontakt { background: var(--nacht-2); color: #fff; }
.kontakt__raster { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.klingel { justify-self: center; text-align: center; }
.klingel__hinweis { font-family: var(--titel); font-size: 1.2rem; color: var(--messing-hell); margin-bottom: 1.2rem; }
.klingel__brett { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.1rem; align-items: center; width: min(20rem, 100%); padding: 2.2rem 1.6rem; border-radius: 10px; background: var(--gebuerstet), var(--messing-verlauf); background-size: auto, 220% 100%; box-shadow: inset 0 1px 0 rgba(255, 249, 225, .8), inset 0 0 0 1px rgba(94, 71, 24, .35), 0 2px 0 #7A5C24, 0 26px 40px -22px rgba(0, 0, 0, .8); }
.klingel__brett > .schraube { position: absolute; left: 50%; margin-left: -6px; width: 12px; height: 12px; }
.klingel__brett > .schraube:nth-of-type(1) { top: 9px; }
.klingel__brett > .schraube:nth-of-type(2) { bottom: 9px; rotate: 60deg; }
.schraube--klein::after { left: 2px; right: 2px; height: 1.5px; }
.klingel__schild { display: block; min-height: 2.4rem; padding: .5rem .7rem; border-radius: 3px; background: #FBF7EA; color: var(--tinte); font-family: var(--titel); font-weight: 600; font-size: 1.05rem; text-align: left; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3), 0 1px 0 rgba(255, 246, 214, .6); }
.klingel__schild--leer { opacity: .55; }
.klingel__knopf { position: relative; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #F3E6BC, #A9843F 70%, #6E521D); box-shadow: 0 2px 0 #5E4718, 0 4px 8px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 250, 230, .8); transition: transform .12s, box-shadow .12s; }
.klingel__knopf span { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFF7D6, #D9BC7A 60%, #9C7834); box-shadow: inset 0 -1px 2px rgba(59, 45, 18, .5); }
a.klingel__knopf::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--patina-hell); opacity: 0; }
a.klingel__knopf:hover, a.klingel__knopf:focus-visible { box-shadow: 0 2px 0 #5E4718, 0 0 0 4px rgba(143, 194, 176, .35), 0 4px 8px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 250, 230, .8); }
a.klingel__knopf:active { transform: translateY(2px); box-shadow: 0 0 0 #5E4718, 0 2px 4px rgba(0, 0, 0, .4); }
.klingel__knopf--still { opacity: .5; }

.kontakt__tel { display: inline-block; font-family: var(--titel); font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--messing-hell); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: .2rem; transition: background-size .35s; }
.kontakt__tel:hover { background-size: 100% 2px; }
.kontakt__adresse { font-style: normal; margin-top: 1.5rem; font-size: 1.1rem; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.kontakt__link { display: inline-block; margin-top: .8rem; color: var(--patina-hell); font-weight: 650; }
.zeiten { margin-top: 2rem; padding: 1.25rem 1.4rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); max-width: 30rem; }
.zeiten h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.zeiten__status { display: flex; align-items: center; gap: .55rem; font-weight: 650; margin-bottom: .35rem; }
.zeiten__status::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: rgba(255, 255, 255, .35); flex: none; }
.zeiten__status.offen::before { background: #5BD39A; box-shadow: 0 0 0 4px rgba(91, 211, 154, .2); }
.zeiten__text { color: rgba(255, 255, 255, .78); }
@media (max-width: 860px) { .kontakt__raster { grid-template-columns: 1fr; } }

/* ---------- Fuß ---------- */
.fuss { background: var(--nacht); color: rgba(255, 255, 255, .72); padding: 1.6rem 0; font-size: .95rem; }
.fuss__innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; }
.fuss nav { display: flex; gap: 1.25rem; }
.fuss a { color: #fff; }

/* ---------- Rechtsseiten, 404 ---------- */
.recht { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--rand) 5rem; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.recht h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.recht p, .recht address { margin-bottom: .8rem; font-style: normal; }
.recht a { color: var(--patina); }
.offen-markiert { background: #FFE7A3; padding: 0 .25rem; border-radius: 3px; }
.fehler { min-height: 62vh; display: grid; place-content: center; justify-items: start; gap: 1rem; max-width: 40rem; margin: 0 auto; padding: 4rem var(--rand); }
.fehler .schild { padding: 2.2rem 3.4rem; }
.fehler .schild .gravur--2 { font-size: clamp(3.5rem, 12vw, 6rem); }
.fehler h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }

/* ---------- Bewegung (nur mit Klasse .anim) ---------- */
.anim .schild { animation: anbringen .9s cubic-bezier(.2, .8, .2, 1) both; }
.anim .schild > .schraube { animation: eindrehen .75s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.25s + var(--i) * .09s); }
.anim .gravur__t { animation: gravieren var(--d, .8s) cubic-bezier(.55, .1, .45, .95) both; animation-delay: var(--v, 0s); }
.anim .gravur::after { content: ""; position: absolute; top: 50%; left: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #FFF9E2; box-shadow: 0 0 8px 3px rgba(255, 244, 200, .95), 0 0 18px 6px rgba(255, 220, 140, .45); opacity: 0; animation: stichel var(--d, .8s) cubic-bezier(.55, .1, .45, .95) both; animation-delay: var(--v, 0s); pointer-events: none; }
.anim .gravur--1 { --v: .55s; --d: .55s; }
.anim .gravur--2 { --v: 1.05s; --d: .95s; }
.anim .gravur--3 { --v: 2.15s; --d: .7s; }
.anim .schild__linie { animation: linie .5s ease-out 1.95s both; }
.anim .schild__glanz::before { animation: glanz 1.3s ease-in-out 2.8s both; }
.anim .held__text > * { animation: hoch .7s cubic-bezier(.2, .8, .2, 1) both; }
.anim .held__ort { animation-delay: .5s; }
.anim .held__lead { animation-delay: .65s; }
.anim .held__knoepfe { animation-delay: .8s; }

@keyframes anbringen { from { opacity: 0; transform: translateY(26px) rotate(-1.2deg); } }
@keyframes eindrehen { from { opacity: 0; transform: scale(1.8) rotate(-240deg); } }
@keyframes gravieren { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -2% -10% 0); } }
@keyframes stichel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes linie { from { transform: scaleX(0); } }
@keyframes glanz { from { transform: translateX(-140%) skewX(-14deg); } to { transform: translateX(330%) skewX(-14deg); } }
@keyframes hoch { from { opacity: 0; transform: translateY(18px); } }

.anim [data-zeigen] { opacity: 0; transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--v, 0ms); }
.anim [data-zeigen="hoch"] { transform: translateY(26px); }
.anim [data-zeigen="schwingen"] { transform: rotate(-10deg) translateY(-12px); transition-timing-function: ease, cubic-bezier(.3, 1.7, .45, 1); transition-duration: .5s, 1.1s; }
.anim [data-zeigen="drehen"] { transform: rotate(-30deg) scale(.9); }
.anim [data-zeigen].sichtbar { opacity: 1; transform: none; }
.anim .hausnummer.sichtbar .hausnummer__zahl { animation: polieren 1.6s ease-in-out .5s both; }
@keyframes polieren { from { background-position: 100% 0; } to { background-position: 0 0; } }
.anim .klingel__brett.sichtbar a.klingel__knopf::after { animation: klingeln 1.6s ease-out .6s 2; }
@keyframes klingeln { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.7); } }

/* Route: Auto fährt beim Scrollen die Strecke ab */
.anim .route-bahn { --weg: 0px; }
.anim .route__spur { display: block; position: absolute; left: var(--sx); top: .4rem; bottom: .4rem; width: 3px; transform: translateX(-50%); overflow: hidden; border-radius: 2px; }
.anim .route__fuellung { display: block; width: 100%; height: var(--weg); background: var(--messing); }
.anim .route__auto { display: block; position: absolute; left: var(--sx); top: 0; z-index: 0; width: 30px; height: 48px; transform: translate(-50%, calc(var(--weg) - 24px)); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.anim .route__halt::before { background: var(--nacht-2); color: rgba(255, 255, 255, .55); box-shadow: 0 0 0 5px var(--nacht), inset 0 0 0 2px rgba(235, 217, 164, .3); }
.anim .route__halt.erreicht::before { background: var(--messing); color: var(--gravur); scale: 1.08; box-shadow: 0 0 0 5px var(--nacht); }
.anim .route__halt h3, .anim .route__halt p { transition: opacity .4s; }
.anim .route__halt:not(.erreicht) h3, .anim .route__halt:not(.erreicht) p { opacity: .55; }

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