/* CarMa Performance – Stylesheet
   Idee: helle Beton-Seite, ein dunkles Nachtblau aus dem Wappen für Kopf und Fuß,
   Rot nur für Buttons und eine einzige Linie. Schriften selbst gehostet (DSGVO). */

:root {
  --nacht: #0f1b2d;      /* Hero, Footer – aus dem Dunkelblau des Wappens */
  --stahl: #183058;      /* Zweitfarbe für Überschriften auf hell */
  --signal: #e52a20;     /* Logo-Rot, nur für Aktionen */
  --signal-dunkel: #c21f17;
  --beton: #eef0f3;      /* Seitenhintergrund */
  --weiss: #ffffff;
  --tinte: #161b24;
  --grau: #5b6472;
  --linie: #d3d8df;
  --linie-dunkel: rgba(255,255,255,.14);
  --hinweis: #ffd54a;    /* nur Entwurfsleiste */

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --max: 1120px;
  --gutter: 20px;
  --radius: 6px;
  color-scheme: light;
}

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--tinte);
  background: var(--beton);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--stahl); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal-dunkel); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.75rem, 7vw, 4.75rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); color: var(--stahl); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.lead { font-size: 1.2rem; max-width: 60ch; color: var(--grau); }
.measure { max-width: 62ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em;
  padding: .8rem 1.35rem; border-radius: var(--radius); text-decoration: none;
  border: 2px solid transparent; line-height: 1; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-signal { background: var(--signal); color: #fff; border-color: var(--signal); }
.btn-signal:hover { background: var(--signal-dunkel); border-color: var(--signal-dunkel); color: #fff; }
.btn-hell { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-hell:hover { border-color: #fff; color: #fff; }
.btn-dunkel { background: var(--nacht); color: #fff; border-color: var(--nacht); }
.btn-dunkel:hover { background: var(--stahl); border-color: var(--stahl); color: #fff; }

/* Entwurfsleiste – vor dem Livegang komplett entfernen (auch das Script am Ende) */
.entwurf {
  background: var(--hinweis); color: #3a2f00; font-size: .9rem;
  padding: .45rem var(--gutter); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; justify-content: center;
}
.entwurf label { display: inline-flex; gap: .4rem; align-items: center; cursor: pointer; font-weight: 600; }
[data-todo] { position: relative; }
.zeige-todos [data-todo] { outline: 2px dashed #d9a400; outline-offset: 3px; }
.zeige-todos [data-todo]::after {
  content: attr(data-todo); position: absolute; left: 0; top: 100%; z-index: 5;
  background: var(--hinweis); color: #3a2f00; font: 600 .75rem/1.3 var(--font-body);
  padding: .2rem .45rem; border-radius: 3px; margin-top: 4px; max-width: 32ch; pointer-events: none;
}

/* Kopf */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 20; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.marke img { width: 220px; }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--tinte); text-decoration: none; }
.nav a:hover { color: var(--signal-dunkel); }
.kopf .btn { font-size: 1.05rem; padding: .6rem 1rem; }
@media (max-width: 900px) {
  .nav { display: none; }
  .kopf .btn { display: none; } /* mobil übernimmt die Leiste unten */
  .marke img { width: 170px; }
}

/* Hero */
.hero { background: var(--nacht); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero::before { /* einzige Zierlinie: der rote Strich oben */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--signal);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero-text p { font-size: 1.25rem; max-width: 52ch; color: rgba(255,255,255,.82); margin-top: 1.25rem; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-nummer { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: .9rem !important; }
.hero-wappen { justify-self: center; width: min(100%, 420px); filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.vertrauen {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--linie-dunkel);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 2rem; list-style: none; grid-column: 1 / -1;
}
.vertrauen li { font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.35; }
.vertrauen strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; }
.stern { color: var(--hinweis); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-wappen { order: -1; width: min(62%, 260px); }
  .vertrauen { grid-template-columns: 1fr 1fr; }
}

/* Abschnitte */
.abschnitt { padding: clamp(3rem, 7vw, 5.5rem) 0; scroll-margin-top: 72px; }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.abschnitt-kopf { display: grid; gap: 1rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.hell { background: var(--weiss); }

/* Explosionszeichnung */
.skizze .explo-wrap { width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; }
.skizze-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.skizze-kopf .lead { margin-top: 1rem; }
.explo { color: var(--stahl); }
.explo svg { width: 100%; height: auto; display: block; overflow: visible; font-family: var(--font-body); }
.teil { transition: transform 1.1s cubic-bezier(.2, .75, .25, 1); cursor: pointer; outline: none; }
.teil.aktiv, .teil:focus-visible { color: var(--signal); }
.teil-rad { transform-box: fill-box; transform-origin: 50% 50%; }
.zerlegt .teil-karosserie { transform: translate(0, -170px); }
.zerlegt .teil-scheibe    { transform: translate(50px, -250px); transition-delay: .3s; }
.zerlegt .teil-rad        { transform: translate(210px, 40px) rotate(120deg); transition-delay: .15s; }
.zerlegt .teil-bremse     { transform: translate(60px, 40px); transition-delay: .35s; }
.zerlegt .teil-federbein  { transform: translate(0, -50px); transition-delay: .4s; }
.zerlegt .teil-motor      { transform: translate(-30px, 10px); transition-delay: .35s; }
.zerlegt .teil-getriebe   { transform: translate(-110px, 30px); transition-delay: .45s; }
.zerlegt .teil-steuer     { transform: translate(-50px, -25px); transition-delay: .5s; }
.zerlegt .teil-klima      { transform: translate(60px, -100px); transition-delay: .45s; }
.zerlegt .teil-auspuff    { transform: translate(0, 50px); transition-delay: .3s; }
.leader, .lbl, .num { opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.zerlegt .leader, .zerlegt .lbl, .zerlegt .num { opacity: 1; transition-delay: 1.05s; pointer-events: auto; }
.boden { transition: opacity .6s ease; }
.zerlegt .boden { opacity: .35; }
.leader polyline { fill: none; stroke: #9aa3b1; stroke-width: 1.5; }
.leader circle { fill: currentColor; }
.leader.aktiv polyline { stroke: var(--signal); }
.lbl { cursor: pointer; outline: none; }
.lbl text { fill: var(--stahl); }
.lbl-name { font-family: var(--font-display); font-weight: 600; font-size: 26px; }
.lbl-dienst { font-size: 21px; fill: var(--grau) !important; }
.lbl:hover .lbl-dienst, .lbl.aktiv .lbl-dienst, .lbl:focus-visible .lbl-dienst { text-decoration: underline; fill: var(--signal-dunkel) !important; }
.lbl.aktiv .lbl-name, .lbl:focus-visible .lbl-name { fill: var(--signal); }
.num circle { fill: #fff; stroke: var(--stahl); stroke-width: 3; }
.num text { font-family: var(--font-display); font-weight: 700; font-size: 32px; fill: var(--stahl); }
.num.aktiv circle { stroke: var(--signal); }
.schriftfeld text { font-size: 14px; fill: #8b94a3; }
.stueckliste { list-style: none; display: grid; gap: .5rem; margin-top: 1.25rem; }
.stueckliste li { display: grid; grid-template-columns: 1.8rem 1fr; gap: .6rem; align-items: baseline; }
.stueckliste .pos { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--stahl); border: 2px solid var(--stahl); border-radius: 999px; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; }
.stueckliste a { text-decoration: none; color: var(--tinte); font-weight: 600; }
.stueckliste a span { color: var(--grau); font-weight: 400; }
.stueckliste a span::before { content: " – "; }
@media (max-width: 899px) { .leader, .lbl, .schriftfeld { display: none; } }
@media (min-width: 900px) { .num, .stueckliste { display: none; } }
@media (prefers-reduced-motion: reduce) { .teil, .leader, .lbl, .num, .boden { transition: none !important; } }

/* CarMa-Rennen */
.rennen-abschnitt { background: var(--nacht); color: #fff; }
.rennen-abschnitt h2 { color: #fff; }
.rennen-abschnitt .lead { color: rgba(255,255,255,.8); margin-top: 1rem; }
.rennen-layout { display: grid; grid-template-columns: 1fr 440px; gap: 3rem; align-items: start; }
.rennen-regeln { list-style: none; margin-top: 1.5rem; display: grid; gap: .1rem; max-width: 34rem; }
.rennen-regeln li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--linie-dunkel); }
.rennen-regeln span { color: rgba(255,255,255,.75); }
.rennen-regeln strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; text-align: right; }
.rennen-bedingungen { margin-top: 1.5rem; font-size: .9rem; color: rgba(255,255,255,.55); max-width: 34rem; }
.rennen { background: #0a1322; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 1rem; outline: none; }
.rennen:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.hud { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; font-variant-numeric: tabular-nums; }
.hud span { display: block; font-size: .75rem; color: rgba(255,255,255,.6); }
.hud strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.ziel { margin: .75rem 0; display: grid; gap: .35rem; }
.ziel-balken { height: 8px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.ziel-balken span { display: block; height: 100%; width: 0; background: var(--signal); transition: width .3s linear; }
.ziel small { font-size: .85rem; color: rgba(255,255,255,.7); }
.buehne { position: relative; width: min(100%, 400px); margin-inline: auto; }
.buehne canvas { width: 100%; aspect-ratio: 160 / 256; display: block; image-rendering: pixelated; image-rendering: crisp-edges; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; border-radius: 6px; background: #6f8a5a; }
.r-overlay { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; text-align: center; gap: .75rem; padding: 1.25rem; background: rgba(15,27,45,.88); border-radius: 6px; color: #fff; }
.r-overlay[hidden] { display: none; }
.r-overlay p { max-width: 28ch; }
.r-titel { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; }
.r-stand { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }
.r-code strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .08em; background: #fff; color: var(--nacht); padding: .1rem .5rem; border-radius: 4px; margin-left: .3rem; }
.r-klein { font-size: .85rem; color: rgba(255,255,255,.7); }
.r-hinweis { font-size: .95rem; color: var(--hinweis); }
.r-meldung { min-height: 1.7em; margin-top: .6rem; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--hinweis); }
.r-tasten { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; margin-top: .5rem; }
.r-taste { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; padding: .9rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; touch-action: none; user-select: none; -webkit-user-select: none; cursor: pointer; }
.r-taste:active { background: var(--signal); border-color: var(--signal); }
.r-ton { font-family: var(--font-body); font-weight: 600; font-size: .9rem; background: transparent; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 0 .8rem; cursor: pointer; }
.r-ton[aria-pressed="true"] { color: #fff; border-color: #fff; }
@media (max-width: 900px) { .rennen-layout { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-height: 740px) { .buehne { width: min(100%, 300px); } }

/* Leistungen als Liste */
.leistungen { list-style: none; border-top: 1px solid var(--linie); }
.leistung { display: grid; grid-template-columns: 300px 1fr auto; gap: .5rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--linie); align-items: start; scroll-margin-top: 96px; }
.leistung.blitz h3, .leistung:target h3 { color: var(--signal); }
.leistung h3 { transition: color .3s ease; }
.leistung h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; line-height: 1.1; color: var(--tinte); }
.leistung p { color: var(--grau); max-width: 58ch; }
.tag { font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: .2rem .55rem; border-radius: 999px; border: 1px solid var(--linie); color: var(--grau); white-space: nowrap; justify-self: end; }
.tag-neu { border-color: var(--signal); color: var(--signal-dunkel); }
.nicht { margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 3px solid var(--stahl); background: var(--weiss); max-width: 70ch; }
@media (max-width: 760px) {
  .leistung { grid-template-columns: 1fr; gap: .35rem; }
  .tag { justify-self: start; order: -1; }
}

/* Zitat */
.zitat { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--beton); }
.zitat blockquote { margin: 0; }
.zitat p { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1; color: var(--stahl); max-width: 16ch; }
.zitat p::before { content: "„"; } .zitat p::after { content: "“"; }
.zitat footer { margin-top: 1.25rem; color: var(--grau); max-width: 50ch; }

/* Zusagen */
.zusagen { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; }
.zusagen h3 { color: var(--tinte); margin-bottom: .3rem; }
.zusagen p { color: var(--grau); }
@media (max-width: 860px) { .zusagen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .zusagen { grid-template-columns: 1fr; } }

/* Ablauf */
.ablauf { list-style: none; counter-reset: schritt; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ablauf li { counter-increment: schritt; padding-top: 1rem; border-top: 3px solid var(--nacht); }
.ablauf li::before { content: counter(schritt); display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--signal); margin-bottom: .5rem; }
.ablauf h3 { margin-bottom: .35rem; }
.ablauf p { color: var(--grau); }
@media (max-width: 760px) { .ablauf { grid-template-columns: 1fr; } }

/* Preistafel */
.preise { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.tafel { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: .5rem 1.5rem; }
.tafel dl { margin: 0; }
.tafel .zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linie); }
.tafel .zeile:last-child { border-bottom: 0; }
.tafel dt { font-weight: 600; }
.tafel dt small { display: block; font-weight: 400; color: var(--grau); font-size: .9rem; }
.tafel dd { margin: 0; text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tafel dd small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--grau); margin-top: .3rem; }
.fussnote { font-size: .9rem; color: var(--grau); margin-top: 1rem; }
@media (max-width: 820px) { .preise { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Kundensätze */
.saetze { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.saetze li { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.15; color: var(--stahl); }
.saetze li::before { content: "„"; } .saetze li::after { content: "“"; }
.bewertungen { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; color: var(--grau); }
@media (max-width: 620px) { .saetze { grid-template-columns: 1fr; } }

/* Über uns */
.ueber { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.fotos { display: grid; gap: 1rem; }
.foto { margin: 0; display: grid; gap: .4rem; }
.foto img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--linie); background: #e3e7ec; }
.foto-breit img { aspect-ratio: 16 / 9; }
.foto figcaption { font-size: .9rem; color: var(--grau); }
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
@media (max-width: 820px) { .galerie { grid-template-columns: 1fr 1fr; } }
.fakten { list-style: none; margin-top: 1.5rem; display: grid; gap: .55rem; }
.fakten li { padding-left: 1.2rem; position: relative; }
.fakten li::before { content: ""; position: absolute; left: 0; top: .72em; width: .65rem; height: 2px; background: var(--signal); }
@media (max-width: 820px) { .ueber { grid-template-columns: 1fr; } }

/* Fragen */
.fragen { border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 1.8rem; color: var(--signal); line-height: 1; }
.fragen details[open] summary::after { content: "–"; }
.fragen .antwort { padding: 0 0 1.25rem; color: var(--grau); max-width: 65ch; }

/* Gebiet */
.orte { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.orte li { background: var(--weiss); border: 1px solid var(--linie); border-radius: 999px; padding: .3rem .8rem; font-size: .95rem; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.kontakt address { font-style: normal; font-size: 1.15rem; line-height: 1.5; }
.zeiten { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-variant-numeric: tabular-nums; }
.zeiten th, .zeiten td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.zeiten th { font-weight: 600; width: 40%; }
.zeiten td small { display: block; color: var(--grau); font-size: .9rem; }
.kontakt-aktionen { display: grid; gap: .75rem; }
.kontakt-aktionen .btn { justify-content: center; font-size: 1.35rem; padding: 1rem 1.4rem; }
.kontakt-liste { list-style: none; display: grid; gap: .5rem; margin-top: 1.5rem; font-size: 1.05rem; }
.kontakt-liste span { color: var(--grau); display: inline-block; min-width: 7.5rem; }
@media (max-width: 820px) { .kontakt { grid-template-columns: 1fr; } }

/* Fuß */
.fuss { background: var(--nacht); color: rgba(255,255,255,.75); padding: 2.5rem 0 calc(2.5rem + 72px); }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.fuss img { width: 150px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.fuss a { color: #fff; }
.fuss small { display: block; width: 100%; font-size: .85rem; color: rgba(255,255,255,.5); }
@media (min-width: 901px) { .fuss { padding-bottom: 2.5rem; } }

/* Mobile Leiste unten */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--linie); border-top: 1px solid var(--linie); padding-bottom: env(safe-area-inset-bottom); }
.leiste a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.leiste a svg { width: 1.25em; height: 1.25em; }
.leiste .wa { background: var(--signal); color: #fff; }
.leiste .tel { background: var(--weiss); color: var(--nacht); }
@media (min-width: 901px) { .leiste { display: none; } }

/* Unterseiten (Impressum, Datenschutz) */
.unterseite { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.unterseite h1 { color: var(--stahl); font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.5rem; }
.unterseite h2 { font-size: 1.7rem; margin: 2.25rem 0 .6rem; }
.unterseite p, .unterseite li { max-width: 68ch; }
.unterseite ul { padding-left: 1.2rem; }
.unterseite li + li { margin-top: .3rem; }
.zurueck { display: inline-block; margin-bottom: 1.5rem; }
