/* Kfz-Instandsetzung Möllendorf, Gestaltungsentwurf UKMedia, Fassung 2
   Farben aus der Werkstatt: Blaumann (Arbeitskleidung, Hallenwand), Estrich (Boden), Signalgelb (Hebebühne, Markierung) */

@font-face {
  font-family: "Sofia Sans";
  src: url("assets/fonts/SofiaSans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans Condensed";
  src: url("assets/fonts/SofiaSansCondensed-latin.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans Extra Condensed";
  src: url("assets/fonts/SofiaSansExtraCondensed-latin.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blaumann: #1e3a64;
  --blaumann-tief: #13284a;
  --nacht: #0f1a2b;
  --graphit: #1b2129;
  --estrich: #d9dcd7;
  --estrich-hell: #e7e9e5;
  --tinte: #17202a;
  --oel: #4e5965;
  --signal: #f4b400;
  --signal-tief: #c18e00;
  --papier: #fffefa;

  --text: "Sofia Sans", Arial, sans-serif;
  --kond: "Sofia Sans Condensed", "Arial Narrow", Arial, sans-serif;
  --schild: "Sofia Sans Extra Condensed", "Arial Narrow", Arial, sans-serif;

  --rand: clamp(1rem, 3.4vw, 3rem);
  --breit: 84rem;
  /* Estrich: feine Körnung aus SVG-Rauschen, liegt lokal in der Datei */
  --koernung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--estrich);
  color: var(--tinte);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.sprung {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--signal); color: var(--tinte); padding: .6rem 1rem; font-weight: 700;
}
.sprung:focus { top: 1rem; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(#17304f, #12263f);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 3px 0 var(--signal), 0 10px 24px -12px rgba(0,0,0,.6);
}
.kopf-innen {
  max-width: var(--breit); margin: 0 auto; padding: .5rem var(--rand);
  display: flex; align-items: center; gap: 2rem;
}
.marke { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.marke-name { font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -.01em; }
.marke-zusatz { font-size: .78rem; line-height: 1.15; color: #b9c7da; border-left: 2px solid var(--signal); padding-left: .65rem; }
.kopf-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.kopf-nav a { text-decoration: none; font-weight: 600; font-size: 1rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.kopf-nav a:hover { border-bottom-color: var(--signal); }
.kopf-tel {
  background: linear-gradient(#ffc61f, var(--signal)); color: var(--tinte); text-decoration: none;
  font-weight: 800; font-size: 1.12rem; padding: .45rem .95rem; border-radius: 4px;
  white-space: nowrap; box-shadow: 0 2px 0 var(--signal-tief), 0 6px 14px -6px rgba(0,0,0,.6);
  font-variant-numeric: tabular-nums;
}
.kopf-tel:hover { background: #ffcb2e; }
.kopf-tel-wort { font-weight: 600; }

/* ---------- Held: Werkstatthalle ---------- */
.held {
  position: relative;
  height: clamp(700px, calc(100svh - 58px), 980px);
  background: #2a3036;
  overflow: hidden;
  isolation: isolate;
}
.halle { position: absolute; inset: 0; }
.halle-3d, .halle-standbild {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.halle-standbild { object-fit: cover; object-position: 70% 50%; }
.halle-3d { touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity .6s; outline: none; }
.halle-3d.zieht { cursor: grabbing; }
.halle-3d:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; }
.halle.mit-3d .halle-3d { opacity: 1; }
.halle.ohne-3d .halle-3d, .halle.ohne-3d .buehne, .halle.ohne-3d .halle-hinweis, .halle.ohne-3d .pins { display: none; }
.halle:not(.mit-3d) .buehne, .halle:not(.mit-3d) .halle-hinweis { visibility: hidden; }
/* oben und links etwas abdunkeln, damit Schild und Pult ruhig stehen */
.halle::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,18,30,.55), rgba(10,18,30,0) 42%),
    linear-gradient(0deg, rgba(10,18,30,.6), rgba(10,18,30,0) 26%);
}

.held-text {
  position: absolute; z-index: 2;
  left: var(--rand); top: clamp(1.25rem, 3.5vh, 2.75rem);
  width: min(32rem, 38vw);
  color: #fff;
  padding: 1.9rem 2.1rem 1.8rem;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.08), rgba(255,255,255,0) 60%),
    linear-gradient(170deg, #1d3a63 0%, #142a49 55%, #10223b 100%);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.14) inset,
    0 -3px 0 rgba(0,0,0,.25) inset,
    0 34px 60px -24px rgba(0,0,0,.75),
    0 6px 16px -6px rgba(0,0,0,.5);
}
.held-text::before {
  content: ""; position: absolute; left: 2.1rem; top: 0; width: 4.5rem; height: 5px; background: var(--signal); border-radius: 0 0 3px 3px;
}
.held h1 { display: block; }
.h1-zeile {
  display: block; font-weight: 800;
  font-size: clamp(2.2rem, 3.35vw, 3.35rem); line-height: 1.02; letter-spacing: -.02em;
  text-wrap: balance;
}
.h1-ort {
  display: block; margin-top: .35rem;
  font-weight: 700; font-size: clamp(1.35rem, 1.9vw, 1.8rem); line-height: 1.1; color: var(--signal);
}
.held-lead { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.5; color: #dbe4ef; margin: 1.1rem 0 1.4rem; max-width: 28em; }

.held-kontakt { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.3rem; margin-bottom: 1.3rem; }
.knopf-tel {
  display: inline-flex; flex-direction: column; text-decoration: none;
  background: linear-gradient(#ffc927, var(--signal) 60%, #e6a800); color: var(--tinte);
  padding: .55rem 1.2rem .65rem; border-radius: 5px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 4px 0 var(--signal-tief), 0 14px 24px -10px rgba(0,0,0,.7);
}
.knopf-tel:hover { background: linear-gradient(#ffd23f, #ffc000); }
.knopf-tel:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--signal-tief); }
.knopf-tel-klein { font-size: .88rem; font-weight: 700; }
.knopf-tel-nr { font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.35rem); line-height: 1.02; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.status { margin: 0; font-weight: 600; max-width: 16em; line-height: 1.35; position: relative; padding-left: 1.3rem; color: #dbe4ef; }
.status b { display: block; font-size: 1.2rem; font-weight: 800; }
.status .offen { color: #6fe39a; }
.status .zu-jetzt { color: #ffab8f; }
.status::before {
  content: ""; display: inline-block; width: .7rem; height: .7rem; border-radius: 50%;
  background: #8a96a3; position: absolute; left: 0; top: .45rem;
}
.status[data-offen="ja"]::before { background: #3ccf6d; box-shadow: 0 0 0 4px rgba(60,207,109,.22), 0 0 12px #3ccf6d; }
.status[data-offen="nein"]::before { background: #e2583d; box-shadow: 0 0 0 4px rgba(226,88,61,.2); }

.held-adresse { font-size: 1.02rem; line-height: 1.5; margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); color: #dbe4ef; }
.held-adresse a { font-weight: 800; color: #fff; margin-right: 1.1rem; }

/* Hebebühnen-Pult rechts oben */
.buehne {
  position: absolute; z-index: 3; right: var(--rand); top: clamp(1.25rem, 3.5vh, 2.75rem);
  display: flex; align-items: center; gap: .55rem;
  padding: .5rem .55rem .5rem .9rem;
  background: linear-gradient(#e8ebee, #c9ced3);
  border-radius: 8px;
  box-shadow: 0 1px 0 #fff inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 16px 30px -12px rgba(0,0,0,.7);
}
.buehne-titel { font-weight: 800; font-size: .95rem; color: #2a323b; margin-right: .2rem; }
.buehne-knopf {
  width: 3rem; height: 3rem; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  background: radial-gradient(circle at 40% 30%, #4fd27c, #1f8a43 70%);
  box-shadow: 0 0 0 3px #9aa3ab, 0 4px 0 #165f30, 0 8px 12px -4px rgba(0,0,0,.5);
}
.buehne-knopf[data-richtung="-1"] { background: radial-gradient(circle at 40% 30%, #59626c, #262c33 70%); box-shadow: 0 0 0 3px #9aa3ab, 0 4px 0 #14181c, 0 8px 12px -4px rgba(0,0,0,.5); }
.buehne-knopf svg { width: 1.15rem; height: 1.15rem; fill: #fff; }
.buehne-knopf.drueckt, .buehne-knopf:active { transform: translateY(3px); box-shadow: 0 0 0 3px #9aa3ab, 0 1px 0 #165f30; }
.halle-hinweis {
  position: absolute; z-index: 3; right: var(--rand); top: calc(clamp(1.25rem, 3.5vh, 2.75rem) + 4.6rem);
  margin: 0; font-size: .9rem; font-weight: 600; color: #fff;
  background: rgba(15,26,43,.82); padding: .35rem .7rem; border-radius: 4px;
}
.nur-touch { display: none; }
@media (hover: none) { .nur-touch { display: inline; } .nur-maus { display: none; } }

/* Markierungen an den Bauteilen */
.pins { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.pin {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  transition: opacity .25s; opacity: 0;
}
.halle.mit-3d .pin[data-sicht="ja"] { opacity: 1; }
.pin::before {
  content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px rgba(244,180,0,.35), 0 2px 6px rgba(0,0,0,.6);
}
.pin::after {
  content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--tinte);
}
.pin b {
  position: absolute; left: 16px; top: -14px; white-space: nowrap;
  font-size: .85rem; font-weight: 800; color: var(--tinte); background: #fff;
  padding: .2rem .5rem; border-radius: 3px; box-shadow: 0 4px 10px rgba(0,0,0,.35);
  opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s;
}
.pin[data-hover="ja"] b, .pin[data-aktiv="ja"] b { opacity: 1; transform: none; }
.pin[data-aktiv="ja"]::before { background: #fff; box-shadow: 0 0 0 5px var(--signal), 0 2px 8px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: no-preference) {
  .pin[data-aktiv="nein"]::before { animation: puls 2.4s ease-out infinite; }
}
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(244,180,0,.6), 0 2px 6px rgba(0,0,0,.6); } 70% { box-shadow: 0 0 0 12px rgba(244,180,0,0), 0 2px 6px rgba(0,0,0,.6); } 100% { box-shadow: 0 0 0 0 rgba(244,180,0,0), 0 2px 6px rgba(0,0,0,.6); } }

/* Pult mit den Leistungen, unten über der Halle */
.pult {
  position: absolute; z-index: 2; left: var(--rand); right: var(--rand); bottom: clamp(1rem, 2.6vh, 1.75rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 27rem); gap: .6rem 1.4rem; align-items: end;
}
.pult-titel { grid-column: 1; margin: 0; font-weight: 800; font-size: 1rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.pult-tasten { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; gap: .5rem; }
.taste {
  font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.15; color: #fff; cursor: pointer;
  padding: .7rem 1rem .72rem; border: 0; border-radius: 6px;
  background: linear-gradient(#36404b, #232a32);
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 3px 0 #0f1318, 0 12px 20px -10px rgba(0,0,0,.8);
  transition: background .15s, transform .1s;
}
.taste:hover { background: linear-gradient(#414c58, #2b333c); }
.taste:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 1px 0 #0f1318; }
.taste[aria-pressed="true"] {
  color: var(--tinte); background: linear-gradient(#ffcd33, var(--signal));
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 3px 0 var(--signal-tief), 0 0 0 2px rgba(255,255,255,.25), 0 12px 24px -8px rgba(244,180,0,.55);
}
.info {
  grid-column: 2; grid-row: 1 / span 2; align-self: end;
  color: #fff; padding: 1rem 1.2rem 1.05rem; border-radius: 6px;
  background: linear-gradient(170deg, rgba(23,32,42,.93), rgba(13,19,26,.95));
  border-left: 4px solid var(--signal);
  box-shadow: 0 24px 40px -20px rgba(0,0,0,.8);
}
.info-titel { font-weight: 800; font-size: 1.3rem; line-height: 1.15; margin: 0 0 .35rem; }
.info-text { margin: 0; font-size: 1rem; line-height: 1.45; color: #dce3ea; }
.info-szene { margin: .55rem 0 0; font-size: .9rem; line-height: 1.4; color: var(--signal); font-weight: 600; }

/* ---------- Leistungen ---------- */
.leistungen {
  color: #fff;
  background:
    radial-gradient(70% 60% at 15% 0%, rgba(244,180,0,.10), rgba(244,180,0,0) 60%),
    var(--koernung),
    linear-gradient(#18212c, #121920);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.6) inset;
}
.leistungen-innen { max-width: var(--breit); margin: 0 auto; padding: clamp(2.8rem, 6vw, 5rem) var(--rand) clamp(2.8rem, 6vw, 4.5rem); }
.leistungen-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.2rem; }
h2 { font-weight: 800; font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.leistungen-kopf p { margin: 0; max-width: 32em; color: #c7d1dc; }
.liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 1.8rem; }
.eintrag { display: flex; flex-direction: column; }
.eintrag img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: 5px; margin-bottom: 1rem;
  background: #2a3036;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 22px 34px -18px rgba(0,0,0,.9);
}
.eintrag h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: .4rem; letter-spacing: -.01em; }
.eintrag p { margin: 0 0 .7rem; color: #c9d2dc; font-size: 1.04rem; line-height: 1.5; max-width: 30em; }
.zeigen {
  margin-top: auto; align-self: flex-start;
  font: inherit; font-size: .98rem; font-weight: 700; color: var(--signal); background: none; border: 0; padding: .3rem 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .45rem;
}
.zeigen::after { content: ""; width: .5rem; height: .5rem; border-top: 2.5px solid currentColor; border-left: 2.5px solid currentColor; transform: rotate(45deg) translate(2px, 2px); }
.zeigen:hover { color: #ffd04d; text-decoration: underline; text-underline-offset: 4px; }
.liste-fuss { margin: 2.4rem 0 0; font-size: 1.15rem; color: #dce3ea; }
.liste-fuss a { font-weight: 800; color: #fff; white-space: nowrap; }

/* ---------- Odyssee ---------- */
.odyssee {
  color: #fff;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(120,160,220,.25), rgba(0,0,0,0) 60%),
    var(--koernung),
    linear-gradient(160deg, #24467a, #17325a 60%, #112645);
}
.odyssee-innen {
  max-width: var(--breit); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--rand);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 5rem);
}
.odyssee-titel { grid-column: 1 / -1; font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--signal); max-width: 32em; letter-spacing: 0; }
.odyssee-zitat { margin: 0; }
.odyssee-zitat p {
  font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 1.2rem;
  text-indent: -.4em; text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.odyssee-zitat footer { font-weight: 700; font-size: 1.2rem; color: #c8d3e3; }
.odyssee-zitat footer::before { content: ""; display: inline-block; width: 2.4rem; height: 3px; background: var(--signal); vertical-align: .35rem; margin-right: .7rem; }
.odyssee-text { align-self: end; font-size: 1.12rem; color: #e1e8f1; max-width: 30em; }
.odyssee-text a { color: #fff; font-weight: 700; }

/* ---------- Auftrag: Zettel auf dem Klemmbrett ---------- */
.auftrag {
  background:
    radial-gradient(55% 70% at 72% 35%, rgba(255,255,255,.6), rgba(255,255,255,0) 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(60,70,80,.12), rgba(60,70,80,0) 70%),
    var(--koernung), var(--estrich);
}
.auftrag-innen {
  max-width: var(--breit); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--rand);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start;
}
.auftrag-text { position: sticky; top: 6rem; }
.auftrag h2, .anfahrt h2 { color: var(--blaumann); }
.auftrag-text h2 { margin-bottom: 1.2rem; }
.auftrag-text a { font-weight: 800; }

.klemmbrett {
  position: relative; padding: 2.6rem 1.1rem 1.2rem; border-radius: 12px;
  background:
    radial-gradient(120% 60% at 30% 0%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%),
    repeating-linear-gradient(92deg, rgba(0,0,0,.035) 0 2px, rgba(0,0,0,0) 2px 7px),
    linear-gradient(160deg, #9b7a52, #7c5e3c);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 -3px 0 rgba(0,0,0,.2) inset, 0 40px 60px -30px rgba(20,24,30,.65), 0 8px 18px -8px rgba(20,24,30,.4);
  transform: rotate(-.6deg);
}
.klemme {
  position: absolute; left: 50%; top: -.9rem; width: 9rem; height: 2.6rem; margin-left: -4.5rem; z-index: 2; border-radius: 8px 8px 14px 14px;
  background: linear-gradient(#f2f4f6, #aeb5bc 45%, #d7dce0 55%, #8d959d);
  box-shadow: 0 1px 0 #fff inset, 0 6px 10px -3px rgba(0,0,0,.45);
}
.klemme::after { content: ""; position: absolute; left: 50%; top: .55rem; width: 2.2rem; height: .7rem; margin-left: -1.1rem; border-radius: 6px; background: #6b737b; box-shadow: 0 1px 0 rgba(255,255,255,.6); }

.zettel {
  background: var(--papier);
  padding: clamp(1.1rem, 3vw, 2.1rem);
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 10px 16px -10px rgba(0,0,0,.45);
  background-image: linear-gradient(rgba(30,58,100,.06) 1px, transparent 1px);
  background-size: 100% 1.9rem;
}
.zettel-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem 1rem; border-bottom: 3px solid var(--tinte); padding-bottom: .6rem; margin-bottom: .8rem; }
.zettel-titel { font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--blaumann); letter-spacing: -.01em; }
.zettel-firma { font-size: .9rem; color: var(--oel); }
.zettel-demo { background: #fff4cc; border-left: 4px solid var(--signal); padding: .45rem .7rem; font-size: .95rem; margin-bottom: 1.2rem; }

.feld { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.feld label, .feld legend { display: block; font-weight: 700; font-size: .98rem; margin-bottom: .35rem; padding: 0; }
.optional { font-weight: 400; color: var(--oel); }
.feld input[type="text"], .feld input[type="tel"], .feld textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--tinte);
  background: #f4f6f8; border: 0; border-bottom: 2px solid var(--tinte); border-radius: 0;
  padding: .5rem .3rem;
}
.feld textarea { resize: vertical; border: 2px solid var(--tinte); }
.feld input:focus, .feld textarea:focus { outline: 3px solid var(--signal); outline-offset: 1px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }

.schild {
  display: flex; align-items: stretch; max-width: 22rem;
  border: 3px solid #111; border-radius: 6px; background: #fff; overflow: hidden;
  box-shadow: 0 1px 0 #fff inset, 0 6px 12px -6px rgba(0,0,0,.45);
}
.schild-eu {
  flex: none; width: 2.6rem; background: #1c3f9e; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: .25rem 0 .2rem; font-weight: 700; font-size: 1rem; line-height: 1;
}
.schild-eu svg { width: 1.5rem; height: 1.5rem; margin-bottom: .2rem; }
.feld .schild input {
  border: 0; background: #fff; font-family: var(--schild); font-weight: 800;
  font-size: 2.3rem; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .7rem; line-height: 1.1;
}
.feld .schild input::placeholder { color: #b9bec4; }
.feld .schild input:focus { outline: none; }
.schild:focus-within { outline: 3px solid var(--signal); outline-offset: 2px; }

.kreuze { display: flex; flex-wrap: wrap; gap: .5rem; }
.kreuze label { margin: 0; font-weight: 600; cursor: pointer; }
.kreuze input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kreuze span {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 2px solid var(--tinte); padding: .35rem .7rem .4rem .5rem; font-size: 1rem; background: #fff; border-radius: 3px;
}
.kreuze span::before {
  content: ""; width: 1.05rem; height: 1.05rem; border: 2px solid var(--tinte); background: #fff; flex: none;
}
.kreuze input:checked + span { background: var(--tinte); color: #fff; }
.kreuze input:checked + span::before {
  background: var(--signal); border-color: var(--signal);
  background-image: linear-gradient(45deg, transparent 44%, var(--tinte) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--tinte) 44% 56%, transparent 56%);
}
.kreuze input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }

.zettel-fehler { color: #8a2a12; font-weight: 700; }
.knopf-senden {
  font: inherit; font-weight: 800; font-size: 1.25rem;
  background: linear-gradient(#25477a, var(--blaumann)); color: #fff; border: 0; padding: .7rem 1.4rem .75rem; cursor: pointer; border-radius: 5px;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 4px 0 #0d1d36, 0 14px 22px -12px rgba(0,0,0,.6);
}
.knopf-senden:hover { background: linear-gradient(#2c5290, #22427a); }
.knopf-senden:active { transform: translateY(2px); box-shadow: 0 2px 0 #0d1d36; }

.durchschlag {
  margin-top: 1.4rem; padding: 1rem 1.1rem; background: #eef1f6; border: 2px dashed var(--blaumann);
}
.durchschlag-titel { font-weight: 800; font-size: 1.25rem; color: var(--blaumann); margin-bottom: .5rem; }
.durchschlag dl { display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1rem; margin: 0 0 .8rem; }
.durchschlag dt { font-weight: 700; }
.durchschlag dd { margin: 0; overflow-wrap: anywhere; }
.durchschlag-hinweis { font-size: .92rem; color: var(--oel); margin: 0; }

/* ---------- Anfahrt ---------- */
.anfahrt {
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(255,255,255,.5), rgba(255,255,255,0) 70%),
    var(--koernung), var(--estrich-hell);
  box-shadow: 0 14px 24px -14px rgba(0,0,0,.35) inset;
}
.anfahrt-innen {
  max-width: var(--breit); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--rand);
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem clamp(2rem, 5vw, 4.5rem);
}
.anfahrt h2 { margin-bottom: 1.6rem; }
/* Öffnungszeiten als Emailschild mit Schrauben */
.zeitenschild {
  position: relative; max-width: 27rem; margin-bottom: 2rem; padding: 1.2rem 1.4rem 1.1rem;
  color: #fff; border-radius: 10px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,0) 40%),
    linear-gradient(#21426f, #172f52);
  box-shadow: 0 0 0 3px #e9ecef inset, 0 0 0 5px #142944 inset, 0 30px 40px -24px rgba(10,20,40,.7), 0 6px 12px -4px rgba(10,20,40,.35);
}
.zeitenschild::before, .zeitenschild::after {
  content: ""; position: absolute; top: .55rem; width: .6rem; height: .6rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #8b939b 60%, #5b636b);
}
.zeitenschild::before { left: .6rem; }
.zeitenschild::after { right: .6rem; }
.zeiten { border-collapse: collapse; width: 100%; font-size: 1.1rem; }
.zeiten caption { text-align: left; font-weight: 800; color: var(--signal); font-size: 1rem; padding: 0 .6rem .5rem; }
.zeiten th, .zeiten td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.zeiten tr:last-child th, .zeiten tr:last-child td { border-bottom: 0; }
.zeiten th { font-weight: 600; }
.zeiten td { font-weight: 800; font-size: 1.18rem; text-align: right; font-variant-numeric: tabular-nums; }
.zeiten tr.zu td { font-weight: 400; font-size: 1.02rem; color: #b5c2d3; }
.zeiten tr.heute { background: var(--signal); color: var(--tinte); }
.zeiten tr.heute td, .zeiten tr.heute.zu td { color: var(--tinte); }
.zeiten tr.heute th::after { content: " (heute)"; font-weight: 400; }
.adressblock { font-size: 1.1rem; }
.adressblock a { font-weight: 700; }
.knopf-route {
  display: inline-block; background: linear-gradient(#2a333d, var(--tinte)); color: #fff; text-decoration: none; padding: .6rem 1.2rem;
  font-size: 1.15rem; font-weight: 800; border-radius: 5px; box-shadow: 0 3px 0 #05080b, 0 12px 20px -10px rgba(0,0,0,.6);
}
.knopf-route:hover { background: var(--blaumann); }

.karten { align-self: start; }
.karten-wahl { display: inline-flex; margin-bottom: .9rem; border-radius: 6px; padding: 4px; background: #c5cac6; box-shadow: 0 1px 2px rgba(0,0,0,.2) inset; }
.karten-wahl button {
  font: inherit; font-weight: 700; font-size: 1rem; border: 0; background: none; color: var(--tinte); padding: .45rem .9rem; border-radius: 4px; cursor: pointer;
}
.karten-wahl button[aria-pressed="true"] { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.karte-fig { margin: 0; }
.karte-fig figcaption { font-size: .88rem; color: var(--oel); margin-top: .6rem; max-width: 46em; }
.karte-rahmen {
  position: relative; background: #e4e6e2; overflow: hidden; border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 30px 50px -28px rgba(10,20,40,.7), 0 6px 14px -6px rgba(10,20,40,.3);
}
.karte { display: block; width: 100%; height: auto; }
.karte-rahmen-nah { aspect-ratio: 680 / 800; }
.karte-rahmen-nah .karte { height: 100%; }
.karte-rahmen-weit { aspect-ratio: 1140 / 720; }

.k-grund { fill: #e4e6e2; }
.k-gruen { fill: #cfd8c9; }
.k-wasser { fill: #a9bfd3; }
.k-kanal { fill: none; stroke: #a9bfd3; stroke-width: 14; }
.k-weg { fill: none; stroke: #fdfdfb; stroke-width: 1.4; stroke-dasharray: 4 3; }
.k-zufahrt { fill: none; stroke: #fdfdfb; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.k-strasse { fill: none; stroke: #fdfdfb; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.k-haupt { fill: none; stroke: #fff6d6; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.karte-weit .k-strasse { stroke-width: 6; }
.karte-weit .k-zufahrt { stroke-width: 2; }
.karte-weit .k-haupt { stroke-width: 11; }
.k-bahn-u { fill: none; stroke: #4e5965; stroke-width: 5; }
.k-bahn { fill: none; stroke: #fff; stroke-width: 2.4; stroke-dasharray: 9 9; }
.k-grenze { fill: none; stroke: var(--blaumann); stroke-width: 3.5; stroke-dasharray: 14 5 3 5; }
.k-haus { fill: #b7bec6; stroke: #98a1aa; stroke-width: 1; }
.karte-weit .k-haus { fill: #c3c9cf; stroke: none; }
.k-werkstatt { fill: var(--signal); stroke: var(--tinte); stroke-width: 3; }
.k-wohnhaus { fill: #f2d68a; stroke: var(--tinte); stroke-width: 1.5; }
.k-name { font-family: var(--kond); font-weight: 700; fill: #3c4651; letter-spacing: .02em; }
.karte-nah .k-name { paint-order: stroke; stroke: #fdfdfb; stroke-width: 0; }
.k-ort { font-family: var(--kond); font-weight: 800; font-size: 22px; fill: var(--blaumann); }
.k-ort-wasser { fill: #44678a; font-size: 17px; font-weight: 700; }
.k-ziel circle { fill: var(--signal); stroke: var(--tinte); stroke-width: 3; }
.k-ziel text { font-family: var(--kond); font-weight: 900; font-size: 22px; fill: var(--tinte); paint-order: stroke; stroke: #fff; stroke-width: 5px; }
.k-sbahn circle { fill: #1b7a3a; stroke: #fff; stroke-width: 2.5; }
.k-sbahn text { font-family: var(--kond); font-weight: 800; font-size: 17px; fill: #1b5a30; paint-order: stroke; stroke: #fff; stroke-width: 4px; }

.karte-ziel { position: absolute; left: var(--x); top: var(--y); pointer-events: none; }
.karte-ziel-punkt {
  position: absolute; left: -5rem; top: -5rem; width: 10rem; height: 10rem; border-radius: 50%;
  border: 3px dashed var(--tinte); opacity: .55;
}
.karte-ziel-schild {
  position: absolute; left: 4.4rem; top: -6.4rem; white-space: nowrap;
  background: var(--tinte); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .45rem .7rem .5rem; border-radius: 3px; box-shadow: 0 8px 16px -6px rgba(0,0,0,.5);
}
.karte-ziel-schild b { font-size: 1.4rem; font-weight: 800; color: var(--signal); }
.karte-ziel-schild::after {
  content: ""; position: absolute; left: -1.05rem; bottom: -.6rem; width: 2.5rem; height: 3px; background: var(--tinte);
  transform: rotate(-38deg); transform-origin: right center;
}
.karte-nord { position: absolute; right: .8rem; top: .8rem; width: 2.2rem; }
.karte-nord path { fill: var(--tinte); }
.karte-nord text { font-family: var(--kond); font-weight: 800; font-size: 15px; fill: var(--tinte); }
.karte-mass {
  position: absolute; left: .8rem; bottom: .8rem; display: flex; align-items: flex-end; gap: .4rem;
  font-family: var(--kond); font-weight: 700; font-size: .95rem; width: 60%;
}
.karte-mass span { display: block; height: .55rem; border: 2px solid var(--tinte); border-top: 0; flex: none; }

/* ---------- Fuß ---------- */
.fuss { background: linear-gradient(#141a21, #0f1419); color: #c9d0d8; }
.fuss-innen {
  max-width: var(--breit); margin: 0 auto; padding: 2.5rem var(--rand) 3rem;
  display: grid; grid-template-columns: auto 1fr 1.3fr; gap: 1.2rem 3rem; align-items: start; font-size: .98rem;
}
.fuss-name { font-weight: 800; font-size: 1.9rem; line-height: 1; color: #fff; margin: 0; letter-spacing: -.01em; }
.fuss a { color: #fff; }
.fuss-hinweis { font-size: .88rem; color: #9aa4af; }

.leiste { display: none; }

/* ---------- Mittlere Breiten ---------- */
@media (max-width: 1180px) {
  .kopf-nav { display: none; }
  .kopf-tel { margin-left: auto; }
  .taste { font-size: .95rem; padding: .6rem .8rem; }
  .pult { grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem); }
  .liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Handy und Tablet hochkant: Text, dann Halle, dann Pult ---------- */
@media (max-width: 860px) {
  body { padding-bottom: 4.2rem; }
  .held { height: auto; display: flex; flex-direction: column; background: #10223b; }
  .held-text {
    position: relative; order: 1; left: auto; top: auto; width: auto; border-radius: 0;
    padding: 1.4rem var(--rand) 1.3rem; box-shadow: none;
  }
  .held-text::before { left: var(--rand); }
  .halle { position: relative; order: 2; height: clamp(340px, 60svh, 560px); }
  .halle::after { background: linear-gradient(0deg, rgba(10,18,30,.35), rgba(10,18,30,0) 25%); }
  .pins { display: none; }
  .buehne { top: .75rem; right: .75rem; padding: .35rem .4rem .35rem .7rem; }
  .buehne-titel { font-size: .85rem; }
  .buehne-knopf { width: 2.75rem; height: 2.75rem; }
  .halle-hinweis { top: auto; bottom: .75rem; right: auto; left: .75rem; font-size: .82rem; }
  .pult {
    position: relative; order: 3; left: auto; right: auto; bottom: auto;
    grid-template-columns: 1fr; padding: 1rem var(--rand) 1.4rem; background: linear-gradient(#141b23, #10161d);
  }
  .pult-titel { grid-row: 1; }
  .pult-tasten { grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; }
  .taste { text-align: left; min-height: 3rem; }
  .info { grid-column: 1; grid-row: 3; }
  .leistungen-kopf, .odyssee-innen, .auftrag-innen, .anfahrt-innen { grid-template-columns: 1fr; }
  .auftrag-text { position: static; }
  .fuss-innen { grid-template-columns: 1fr; }
  .leiste {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--tinte); border-top: 3px solid var(--signal);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .leiste a {
    color: #fff; text-decoration: none; text-align: center; padding: .85rem .4rem;
    font-weight: 800; font-size: 1.1rem;
  }
  .leiste a + a { border-left: 1px solid #39434e; }
  .leiste .leiste-tel { background: var(--signal); color: var(--tinte); }
}

@media (max-width: 620px) {
  .held-text { padding: 1.05rem var(--rand) 1rem; }
  .h1-ort { font-size: 1.25rem; margin-top: .2rem; }
  .held-lead { font-size: .98rem; line-height: 1.45; margin: .65rem 0 .9rem; }
  .held-kontakt { flex-wrap: nowrap; gap: .8rem; margin-bottom: .8rem; }
  .knopf-tel { padding: .45rem .8rem .5rem; flex: none; }
  .knopf-tel-klein { font-size: .78rem; }
  .knopf-tel-nr { font-size: 1.55rem; }
  .status { font-size: .88rem; padding-left: 1.05rem; }
  .status b { font-size: 1rem; }
  .status::before { width: .6rem; height: .6rem; top: .35rem; }
  .held-adresse { font-size: .95rem; padding-top: .7rem; }
  .held-adresse br { display: none; }
  .held-adresse a { display: inline-block; margin: .15rem 1rem 0 0; }
  .halle { height: clamp(320px, 54svh, 480px); }
  .marke-zusatz { display: none; }
  .kopf-tel-wort { display: none; }
  .kopf-innen { gap: 1rem; }
  .h1-zeile { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .liste { grid-template-columns: 1fr; gap: 1.8rem; }
  .eintrag { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
  .eintrag img { grid-row: span 3; margin: 0; aspect-ratio: 1; }
  .eintrag h3 { font-size: 1.2rem; }
  .eintrag p { font-size: .98rem; margin-bottom: .3rem; }
  .feld-paar { grid-template-columns: 1fr; }
  .klemmbrett { padding: 2.2rem .6rem .7rem; transform: none; }
  .karte-ziel-schild { font-size: .9rem; left: -3.2rem; top: 3.6rem; }
  .karte-ziel-schild::after { display: none; }
  .karte-ziel-schild b { font-size: 1.2rem; }
  .karte-ziel-punkt { width: 6rem; height: 6rem; left: -3rem; top: -3rem; }
  .karte-rahmen-weit { aspect-ratio: 1 / 1; }
  .karte-rahmen-weit .karte { width: 180%; max-width: none; margin-left: -52%; margin-top: -4%; }
  .karten-wahl button { font-size: .92rem; padding: .45rem .65rem; }
}
