/* Senkblei Haustechnik · Demo der Unternehmenspraxis
   Regelwerk: IBM/Carbon (siehe DESIGN.md), Identität eigen.
   Regler: DESIGN_VARIANCE 6 · MOTION_INTENSITY 4 · VISUAL_DENSITY 5
   Z-Ebenen: 10 Kopfzeile · 20 Handy-Leiste · 30 Menü */

:root {
  --paper: oklch(0.965 0.006 160);
  --paper-2: oklch(0.925 0.009 162);
  --paper-3: oklch(0.895 0.011 164);
  --ink: oklch(0.23 0.022 172);
  --ink-2: oklch(0.43 0.02 170);
  --line: oklch(0.84 0.012 165);
  --line-strong: oklch(0.23 0.022 172);
  --patina: oklch(0.34 0.058 172);
  --patina-deep: oklch(0.28 0.048 172);
  --patina-ink: oklch(0.965 0.01 165);
  --patina-ink-2: oklch(0.84 0.03 168);
  --gruenspan: oklch(0.82 0.085 168);
  --signal: oklch(0.55 0.19 38);
  --signal-deep: oklch(0.48 0.18 36);
  --signal-soft: oklch(0.94 0.035 45);
  --signal-ink: oklch(0.99 0.004 60);
  --ok: oklch(0.52 0.12 150);
  --error: oklch(0.52 0.19 27);
  --ph: oklch(0.36 0.045 172);
  --ph-line: oklch(0.52 0.05 170 / 0.55);
  --ph-ink: oklch(0.9 0.03 168);
  --focus: oklch(0.55 0.13 175);
  --accent: oklch(0.34 0.058 172);
  --slab: oklch(0.23 0.022 172);
  --slab-ink: oklch(0.965 0.006 160);

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --f-label: "Barlow Semi Condensed", "Barlow", sans-serif;

  --gut: clamp(16px, 4.2vw, 56px);
  --max: 1320px;
  --sec: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --demo-h: 30px;
  --nav-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: oklch(0.185 0.014 172);
    --paper-2: oklch(0.225 0.016 172);
    --paper-3: oklch(0.26 0.018 172);
    --ink: oklch(0.945 0.008 160);
    --ink-2: oklch(0.77 0.014 165);
    --line: oklch(0.34 0.02 172);
    --line-strong: oklch(0.9 0.01 165);
    --patina: oklch(0.31 0.052 172);
    --patina-deep: oklch(0.25 0.04 172);
    --signal: oklch(0.56 0.19 38);
    --signal-deep: oklch(0.5 0.18 36);
    --signal-soft: oklch(0.25 0.05 38);
    --ok: oklch(0.72 0.13 150);
    --error: oklch(0.72 0.16 27);
    --ph: oklch(0.29 0.04 172);
    --focus: oklch(0.78 0.1 172);
    --accent: oklch(0.8 0.085 168);
    --slab: oklch(0.27 0.03 172);
    --slab-ink: oklch(0.955 0.008 160);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-feature-settings: "tnum" 0;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--s { width: 18px; height: 18px; }
.ico--l { width: 28px; height: 28px; stroke-width: 1.4; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; background: var(--ink); color: var(--paper); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Typo ---------- */
.d-xl, .d-lg, .d-md, .h-card {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.d-xl { font-size: clamp(3.25rem, 9.2vw, 7.4rem); line-height: 0.94; }
.d-lg { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 0.98; }
.d-md { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.02; }
.h-card { font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.08; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.5; max-width: 58ch; margin: 0; }
.muted { color: var(--ink-2); }
.label {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.kicker { font-family: var(--f-label); font-weight: 600; font-size: 1rem; color: var(--ink-2); margin: 0 0 16px; }
p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--patina); --fg: var(--patina-ink);
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 52px; padding: 0 18px 0 20px;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--f-label); font-weight: 600; font-size: 1.06rem; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .35s var(--ease), transform .2s var(--ease), color .35s var(--ease);
}
.btn .ico { transition: transform .45s var(--ease); }
.btn:hover { --bg: var(--patina-deep); }
.btn:hover .ico--go { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--signal { --bg: var(--signal); --fg: var(--signal-ink); }
.btn--signal:hover { --bg: var(--signal-deep); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { --bg: var(--paper-2); }
.btn--light { --bg: var(--patina-ink); --fg: var(--patina-deep); }
.btn--light:hover { --bg: var(--gruenspan); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 500; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Demo-Band ---------- */
.demo-band {
  height: var(--demo-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-3); color: var(--ink-2);
  font-family: var(--f-label); font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  text-align: center; padding-inline: 12px;
}

/* ---------- Kopfzeile ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklch, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
}
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 48px; }
.brand__mark { flex: none; width: 30px; height: 40px; color: var(--accent); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.62rem; letter-spacing: 0.01em; }
.brand__sub { font-family: var(--f-label); font-weight: 500; font-size: .78rem; color: var(--ink-2); margin-top: 3px; letter-spacing: .03em; white-space: nowrap; }
.nav__links { display: none; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; text-decoration: none; font-family: var(--f-label); font-weight: 500; font-size: 1.02rem; color: var(--ink); background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0 1px; background-repeat: no-repeat; background-position: 12px calc(100% - 12px); transition: background-size .4s var(--ease); }
.nav__links a:hover { background-size: calc(100% - 24px) 1px; }
.nav__call { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; min-width: 48px; justify-content: center; padding: 0 14px; background: var(--signal); color: var(--signal-ink); text-decoration: none; font-family: var(--f-label); font-weight: 600; transition: background-color .3s var(--ease); }
.nav__call:hover { background: var(--signal-deep); }
.nav__call-txt { display: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav__cta { display: none; }
.nav__menu { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; }
.nav__menu span { position: relative; width: 20px; height: 1.5px; background: var(--ink); transition: background-color .2s; }
.nav__menu span::before, .nav__menu span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease); }
.nav__menu span::before { transform: translateY(-6px); }
.nav__menu span::after { transform: translateY(6px); }
.nav__menu[aria-expanded="true"] span { background: transparent; }
.nav__menu[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] span::after { transform: rotate(-45deg); }
.drawer { position: fixed; inset: calc(var(--demo-h) + var(--nav-h)) 0 0 0; z-index: 30; background: var(--paper); padding: 24px var(--gut) 120px; display: none; overflow-y: auto; }
.drawer.is-open { display: block; }
.drawer ul { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer li a { display: flex; align-items: center; justify-content: space-between; min-height: 64px; font-family: var(--f-display); font-weight: 600; font-size: 2rem; text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .drawer.is-open li { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
}
@media (min-width: 720px) { .nav__call-txt { display: inline; } }
@media (min-width: 1080px) and (max-width: 1299px) { .nav__call-n { display: none; } }
@media (min-width: 1080px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; min-height: 48px; }
  .nav__menu { display: none; }
  .drawer { display: none !important; }
  .nav__in { gap: 12px; }
}

/* ---------- Bildflächen (Platzhalter bis Freigabe) ---------- */
.ph {
  position: relative; overflow: hidden;
  background-color: var(--ph);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 120' opacity='.32'%3E%3Cpath d='M15 0v90' stroke='%23a6dcc6' stroke-width='.6'/%3E%3Cpath d='M9 91h12v4l-6 21-6-21z' fill='%23a6dcc6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: auto 62%;
  background-position: 78% 0;
  color: var(--ph-ink);
  isolation: isolate;
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background: radial-gradient(120% 90% at 78% 12%, oklch(0.5 0.06 168 / .55), transparent 60%),
              linear-gradient(180deg, transparent 40%, oklch(0.2 0.03 172 / .55));
}
.ph__dim { position: absolute; inset: 16px; pointer-events: none; }
.ph__dim::before, .ph__dim::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--ph-ink); border-style: solid; opacity: .7; }
.ph__dim::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.ph__dim::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.ph__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; font-family: var(--f-label); }
.ph__cap b { font-weight: 600; font-size: .95rem; letter-spacing: .02em; color: var(--gruenspan); }
.ph__cap span { font-weight: 500; font-size: 1rem; line-height: 1.3; max-width: 34ch; }
.ph__fmt { position: absolute; right: 20px; top: 18px; font-family: var(--f-label); font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; opacity: .85; }
/* Fotos (KI-Beispielbilder, siehe bilder.md) */
.pic { position: relative; margin: 0; overflow: hidden; background: var(--paper-3); }
.pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.r-45 { aspect-ratio: 4 / 5; }
.r-169 { aspect-ratio: 16 / 9; }
.r-11 { aspect-ratio: 1 / 1; }
.r-43 { aspect-ratio: 4 / 3; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 88px); }
.hero__grid { display: grid; gap: 32px; }
.hero__h { margin-bottom: 24px; }
.hero__h em { font-style: normal; color: var(--accent); }
.hero__sub { margin-bottom: 32px; }
.hero__sub strong { font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__aside { display: grid; gap: 0; }
.hero__grid > *, .nd__grid > *, .gebiet__grid > *, .ueber__grid > *, .karriere__grid > *, .faq__grid > *, .end__grid > *, .anfrage__grid > * { min-width: 0; }
.plz .input { min-width: 0; }
@media (max-width: 899px) {
  .hero .sos { order: -1; margin-bottom: 12px; }
  .hero__ctas .btn { flex: 1 1 100%; }
}
.hero__img { aspect-ratio: 4 / 3; }
.sos {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 20px;
  background: var(--signal); color: var(--signal-ink);
  padding: 18px 20px; text-decoration: none;
  transition: background-color .3s var(--ease);
}
.sos:hover { background: var(--signal-deep); }
.sos__t { font-family: var(--f-label); font-weight: 600; font-size: 1.02rem; line-height: 1.25; }
.sos__n { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .01em; display: flex; align-items: center; gap: 12px; }
.sos__hint { font-family: var(--f-label); font-size: .88rem; opacity: .9; justify-self: end; grid-row: 1; grid-column: 2; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
  .hero__h { font-size: clamp(3.25rem, 6.8vw, 6.2rem); }
  .hero__img { aspect-ratio: 4 / 5; max-height: 54vh; width: 100%; }
  .hero__text { padding-bottom: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Bewertungs-Leiste ---------- */
.proof { border-block: 1px solid var(--line); background: var(--paper-2); }
.proof__in { display: grid; gap: 16px; padding-block: 22px; align-items: center; }
.proof__slot { display: flex; align-items: center; gap: 16px; }
.proof__g { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px dashed var(--ink-2); font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--ink-2); }
.proof__slot strong { display: block; font-family: var(--f-label); font-weight: 600; font-size: 1.05rem; }
.proof__slot span { color: var(--ink-2); font-size: .95rem; }
.proof__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-family: var(--f-label); font-weight: 500; }
.proof__facts li { display: inline-flex; align-items: center; gap: 8px; }
.proof__facts .ico { color: var(--accent); }
@media (min-width: 900px) { .proof__in { grid-template-columns: auto 1fr; gap: 48px; } .proof__facts { justify-content: flex-end; } }

/* ---------- Problem ---------- */
.problem { padding-block: var(--sec); }
.problem__h { max-width: 22ch; margin-bottom: clamp(40px, 6vw, 72px); }
.problem__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: p; }
.problem__list li { display: grid; gap: 8px; padding: 28px 0; border-top: 1px solid var(--line); }
.problem__list li:last-child { border-bottom: 1px solid var(--line); }
.problem__when { font-family: var(--f-label); font-weight: 600; color: var(--signal); font-size: 1rem; }
.problem__txt { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; max-width: 44ch; margin: 0; }
@media (min-width: 900px) {
  .problem__list li { grid-template-columns: 220px 1fr; gap: 48px; padding: 36px 0; align-items: baseline; }
  .problem__list li:nth-child(2) { padding-left: 8%; }
  .problem__list li:nth-child(3) { padding-left: 16%; }
}

/* ---------- Lösung (Markenfläche) ---------- */
.loesung { background: var(--patina); color: var(--patina-ink); padding-block: clamp(80px, 11vw, 150px); position: relative; overflow: hidden; }
.loesung__lot { position: absolute; top: 0; bottom: 0; left: calc(var(--gut) + 6px); width: 1px; background: oklch(0.82 0.085 168 / .35); }
.loesung__lot::after { content: ""; position: absolute; left: -7px; top: 58%; width: 15px; height: 22px; background: var(--gruenspan); clip-path: polygon(50% 100%, 0 30%, 20% 0, 80% 0, 100% 30%); }
.loesung__q { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: 1.0; letter-spacing: -0.01em; max-width: 20ch; margin: 0 0 32px; padding-left: clamp(28px, 4vw, 56px); text-wrap: balance; }
.loesung__q em { font-style: normal; color: var(--gruenspan); }
.loesung__p { padding-left: clamp(28px, 4vw, 56px); color: var(--patina-ink-2); max-width: 54ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin: 0; }
.loesung__grid { display: grid; gap: 48px; align-items: center; }
.loesung__grid > * { min-width: 0; }
.loesung .pic { --ph: oklch(0.42 0.055 172); --ph-line: oklch(0.6 0.05 170 / 0.45); aspect-ratio: 4 / 3; max-height: 560px; width: 100%; margin: 0 0 0 clamp(28px, 4vw, 56px); max-width: calc(100% - clamp(28px, 4vw, 56px)); }
@media (min-width: 900px) { .loesung__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); } .loesung .pic { margin: 0; max-width: none; aspect-ratio: 4 / 5; } }

/* ---------- Ablauf (Leitung mit Fittings) ---------- */
.ablauf { padding-block: var(--sec) calc(var(--sec) * .6); }
.ablauf__h { margin-bottom: clamp(40px, 6vw, 64px); max-width: 16ch; }
.pipe { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.pipe::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 4px; background: var(--paper-3); }
.pipe::after { content: ""; position: absolute; left: 15px; top: 8px; width: 4px; height: calc(100% - 16px); background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 1)); }
.pipe li { position: relative; padding: 0 0 40px 64px; }
.pipe li:last-child { padding-bottom: 0; }
.pipe__fit { z-index: 1; position: absolute; left: 0; top: 0; width: 34px; height: 34px; background: var(--paper); border: 2px solid var(--accent); display: grid; place-items: center; font-family: var(--f-label); font-weight: 700; font-size: .95rem; color: var(--accent); }
.pipe__fit::before, .pipe__fit::after { content: ""; position: absolute; background: var(--patina); }
.pipe h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; margin: 0 0 10px; }
.pipe p { margin: 0; max-width: 38ch; color: var(--ink-2); }
@media (min-width: 900px) {
  .pipe { grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
  .pipe::before { left: 0; right: 0; top: 15px; bottom: auto; width: auto; height: 4px; }
  .pipe::after { left: 0; top: 15px; width: 100%; height: 4px; transform-origin: left; transform: scaleX(var(--p, 1)); }
  .pipe li { padding: 64px 24px 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .pipe.is-armed::after { --p: 0; transition: transform 1.6s var(--ease); }
  .pipe.is-armed.is-in::after { --p: 1; }
}

/* ---------- Anfrage-Strecke ---------- */
.anfrage { padding-block: calc(var(--sec) * .6) var(--sec); }
.anfrage__frame { border: 1px solid var(--line-strong); background: var(--paper); }
.anfrage__head { display: grid; gap: 12px; padding: clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.anfrage__head p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.anfrage__grid { display: grid; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 14px 8px 12px; font-family: var(--f-label); font-weight: 600; font-size: .86rem; color: var(--ink-2); text-align: center; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; transition: background-color .3s var(--ease); }
.steps li[aria-current="step"] { color: var(--ink); }
.steps li[aria-current="step"]::after { background: var(--accent); }
.steps li.is-done { color: var(--ink); }
.steps li.is-done::after { background: var(--gruenspan); }
.steps__n { display: block; font-variant-numeric: tabular-nums; font-size: .8rem; opacity: .7; }
.steps__t { display: none; }
@media (min-width: 560px) { .steps__t { display: block; } .steps li { font-size: .95rem; } }
.form-pane { padding: clamp(20px, 4vw, 40px); min-width: 0; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .step.is-entering { animation: stepIn .5s var(--ease) both; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step__legend { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; padding: 0; margin: 0 0 8px; }
.step__hint { color: var(--ink-2); margin: 0 0 24px; max-width: 56ch; }

.tiles { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; padding: 16px 16px; min-height: 76px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.tile:hover { border-color: var(--ink-2); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile .ico { grid-row: span 2; margin-top: 2px; color: var(--accent); width: 26px; height: 26px; }
.tile__t { font-family: var(--f-label); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
.tile__s { font-size: .93rem; color: var(--ink-2); line-height: 1.35; }
.tile:has(input:checked) { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 9%, var(--paper)); box-shadow: inset 0 0 0 1px var(--accent); }
.tile:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.tile--urgent .ico { color: var(--signal); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); background: var(--paper); font-family: var(--f-label); font-weight: 500; font-size: 1rem; cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink-2); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.chip--signal:has(input:checked) { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.chip small { font-size: .85em; opacity: .75; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.days .chip { flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; padding: 8px 12px; min-height: 60px; line-height: 1.2; }
.days .chip b { font-weight: 600; }

.field { display: grid; gap: 8px; margin-bottom: 22px; align-content: start; }
.field > label, .field__l { font-family: var(--f-label); font-weight: 600; font-size: 1rem; }
.field__opt { font-weight: 500; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: var(--paper-2); border: 0; border-bottom: 1px solid var(--ink-2); border-radius: 0;
  font-size: 1.06rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.textarea { min-height: 116px; resize: vertical; line-height: 1.45; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-bottom-color: var(--focus); box-shadow: inset 0 -2px 0 var(--focus); background: var(--paper-3); }
.input::placeholder, .textarea::placeholder { color: var(--ink-2); opacity: .85; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: inset 0 -2px 0 var(--error); }
.field__help { font-size: .92rem; color: var(--ink-2); margin: 0; }
.field__err { font-size: .95rem; color: var(--error); font-weight: 500; margin: 0; display: none; align-items: center; gap: 6px; }
.field__err.is-on { display: flex; }
.group-err { margin-top: 10px; }
.two { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.num { display: grid; grid-template-columns: 50px 1fr 50px auto; align-items: stretch; max-width: 320px; }
.num button { border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; }
.num button:hover { background: var(--paper-2); }
.num .input { text-align: center; font-variant-numeric: tabular-nums; font-family: var(--f-label); font-weight: 600; font-size: 1.2rem; }
.num__u { display: grid; place-items: center; padding: 0 12px; font-family: var(--f-label); font-weight: 600; color: var(--ink-2); }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: .98rem; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); }

.alert { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; padding: 16px 18px; margin: 20px 0 0; background: var(--signal-soft); border: 1px solid var(--signal); }
.alert > .ico { color: var(--signal); }
.alert p { margin: 0; }
.alert strong { font-family: var(--f-label); font-weight: 600; font-size: 1.05rem; display: block; margin-bottom: 2px; }
.alert a { grid-column: 2; justify-self: start; margin-top: 4px; }
.alert[hidden] { display: none; }

.drop { display: grid; justify-items: center; gap: 10px; padding: 28px 20px; text-align: center; border: 1.5px dashed var(--ink-2); background: var(--paper-2); cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.drop:hover, .drop.is-over { background: var(--paper-3); border-color: var(--accent); }
.drop .ico { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.3; }
.drop strong { font-family: var(--f-label); font-weight: 600; font-size: 1.1rem; }
.drop span { color: var(--ink-2); font-size: .95rem; }
.drop:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-tip { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border-left: 0; background: color-mix(in oklch, var(--accent) 8%, var(--paper)); border: 1px solid color-mix(in oklch, var(--accent) 30%, var(--line)); }
.photo-tip .ico { color: var(--accent); }
.photo-tip p { margin: 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-top: 12px; list-style: none; padding: 0; }
.thumbs li { position: relative; aspect-ratio: 1; background: var(--paper-3); overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; display: grid; place-items: center; background: oklch(0.2 0.02 172 / .78); color: #f4f7f5; border: 0; }
.thumbs button:hover { background: var(--signal); }
.thumbs__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; background: oklch(0.2 0.02 172 / .72); color: oklch(0.96 0.01 165); font-family: var(--f-label); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: no-preference) { .thumbs li { animation: rise .45s var(--ease) both; } }
.note { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); margin: 14px 0 0; }
.note .ico { width: 18px; height: 18px; margin-top: 2px; }

.step-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.step-nav .btn--line { padding: 0 20px 0 16px; }
.step-nav__count { font-family: var(--f-label); font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; order: -1; flex-basis: 100%; }
@media (min-width: 560px) { .step-nav__count { order: 0; flex-basis: auto; } }

/* Auftragszettel */
.ticket-pane { display: none; border-top: 1px solid var(--line); background: var(--paper-2); padding: clamp(20px, 3vw, 32px); }
.ticket-pane.is-visible { display: block; }
.ticket-pane__h { font-family: var(--f-label); font-weight: 600; font-size: 1rem; color: var(--ink-2); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.ticket { background: var(--paper); border: 1px solid var(--line-strong); position: relative; }
.ticket__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px; background: var(--slab); color: var(--slab-ink); }
.ticket__top b { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; line-height: 1; display: block; }
.ticket__top span { font-family: var(--f-label); font-size: .88rem; opacity: .8; font-variant-numeric: tabular-nums; }
.ticket__badge { font-family: var(--f-label); font-weight: 600; font-size: .9rem; padding: 6px 10px; background: var(--paper-3); color: var(--ink); white-space: nowrap; }
.ticket__badge.is-urgent { background: var(--signal); color: var(--signal-ink); }
.ticket__badge.is-soon { background: var(--gruenspan); color: oklch(0.23 0.022 172); }
.ticket dl { margin: 0; padding: 4px 18px 8px; }
.ticket__row { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.ticket__row:last-child { border-bottom: 0; }
.ticket dt { font-family: var(--f-label); font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.ticket dd { margin: 0; font-size: .98rem; line-height: 1.4; overflow-wrap: anywhere; }
.ticket dd.is-empty { color: var(--ink-2); font-style: italic; opacity: .8; }
@media (prefers-reduced-motion: no-preference) { .ticket dd.is-new { animation: flash 1.2s var(--ease); } }
@keyframes flash { 0% { background: color-mix(in oklch, var(--gruenspan) 55%, transparent); } 100% { background: transparent; } }
.ticket__pics { display: flex; flex-wrap: wrap; gap: 4px; }
.ticket__pics img { width: 52px; height: 52px; object-fit: cover; }
.ticket__stamp { position: absolute; right: 16px; bottom: 16px; transform: rotate(-6deg); border: 2px solid var(--ok); color: var(--ok); padding: 4px 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; opacity: 0; pointer-events: none; }
.ticket.is-sent .ticket__stamp { opacity: .9; }
.ticket.is-sent dl { padding-bottom: 64px; }
@media (prefers-reduced-motion: no-preference) { .ticket.is-sent .ticket__stamp { animation: stamp .5s var(--ease) both; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-6deg) scale(1.5); } to { opacity: .9; transform: rotate(-6deg) scale(1); } }

.done { display: none; }
.done.is-on { display: block; }
.done__h { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.02; margin: 0 0 12px; }
.done__list { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 12px; }
.done__list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.done__list .ico { color: var(--accent); margin-top: 2px; }
.done__demo { padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--line); font-size: .95rem; display: flex; gap: 10px; }
.done__demo .ico { margin-top: 2px; color: var(--ink-2); }
.done__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (min-width: 1000px) {
  .anfrage__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .ticket-pane { display: block; border-top: 0; border-left: 1px solid var(--line); }
  .ticket-pane__in { position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* ---------- Leistungen ---------- */
.leist { padding-block: var(--sec); background: var(--paper-2); border-top: 1px solid var(--line); }
.leist__h { margin-bottom: clamp(36px, 5vw, 56px); max-width: 24ch; }
.bento { display: grid; gap: 12px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.card__body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.card__foot { margin-top: auto; padding-top: 12px; }
.card__need { font-family: var(--f-label); font-size: .95rem; color: var(--ink); display: flex; gap: 8px; align-items: flex-start; }
.card__need .ico { color: var(--accent); margin-top: 1px; }
.card--sos { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }
.card--sos p { color: var(--signal-ink); opacity: .95; }
.card--sos .h-card { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.card--dark { background: var(--patina); color: var(--patina-ink); border-color: var(--patina); }
.card--dark p { color: var(--patina-ink-2); }
.card--dark .card__need, .card--dark .card__need .ico { color: var(--gruenspan); }
.card .btn { align-self: flex-start; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: auto; }
  .card--bad { grid-column: 1 / span 7; grid-row: span 2; }
  .card--bad .pic { aspect-ratio: 16 / 10; }
  .card--heiz { grid-column: 8 / span 5; grid-row: span 2; }
  .card--heiz .pic { aspect-ratio: 4 / 3; }
  .card--sos { grid-column: 1 / span 5; }
  .card--wart { grid-column: 6 / span 7; flex-direction: row; }
  .card--wart .pic { width: 42%; flex: none; aspect-ratio: auto; min-height: 100%; }
}

/* ---------- Notdienst ---------- */
.nd { padding-block: var(--sec); }
.nd__grid { display: grid; gap: 40px; }
.nd__h { margin-bottom: 20px; }
.nd__tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.nd__tab { flex: 1; min-height: 52px; border: 0; background: transparent; font-family: var(--f-label); font-weight: 600; font-size: 1.05rem; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: color .25s, border-color .25s; }
.nd__tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--signal); }
.nd__tab:hover { color: var(--ink); }
.nd__panel[hidden] { display: none; }
.moves { list-style: none; margin: 0; padding: 0; }
.moves li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.moves__i { width: 52px; height: 52px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal); }
.moves h3 { font-family: var(--f-label); font-weight: 600; font-size: 1.2rem; margin: 0 0 4px; line-height: 1.25; }
.moves p { margin: 0; color: var(--ink-2); }
.nd__call { background: var(--slab); color: var(--slab-ink); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; align-content: start; }
.nd__call p { margin: 0; color: color-mix(in oklch, var(--slab-ink) 80%, var(--slab)); }
.nd__call .nd__num { color: var(--slab-ink); }
.nd__num { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.nd__call .btn { width: 100%; }
.nd__small { font-size: .9rem; }
@media (min-width: 900px) { .nd__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; } .nd__call { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* ---------- Einzugsgebiet + Über uns ---------- */
.gebiet { padding-block: var(--sec); border-top: 1px solid var(--line); }
.gebiet__grid { display: grid; gap: 40px; }
.gebiet__h { margin-bottom: 20px; }
.plan { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.plan svg { width: 100%; height: 100%; overflow: visible; }
.plan .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.plan .ring--in { stroke: var(--accent); stroke-dasharray: 3 5; }
.plan .spoke { stroke: var(--line); stroke-width: 1; }
.plan .town circle { fill: var(--paper); stroke: var(--accent); stroke-width: 2; transition: fill .3s var(--ease); }
.plan .town text { font-family: var(--f-label); font-weight: 600; font-size: 21px; fill: var(--ink); }
.plan .town.is-hit circle { fill: var(--accent); }
.plan .home circle { fill: var(--accent); }
.plan .home text { font-family: var(--f-display); font-weight: 600; font-size: 28px; fill: var(--ink); }
.plan__cap { font-family: var(--f-label); font-size: .9rem; color: var(--ink-2); text-align: center; margin-top: 8px; }
.towns { display: flex; flex-wrap: wrap; gap: 6px 8px; list-style: none; padding: 0; margin: 20px 0 28px; }
.towns li { font-family: var(--f-label); font-weight: 600; padding: 6px 12px; border: 1px solid var(--line); background: var(--paper-2); }
.plz { display: grid; grid-template-columns: 1fr auto; gap: 0; max-width: 440px; }
.plz .btn { min-height: 50px; }
.plz__out { margin-top: 12px; min-height: 28px; font-weight: 500; display: flex; gap: 8px; align-items: flex-start; }
.plz__out.is-ok { color: var(--ok); }
.plz__out.is-far { color: var(--ink); }
@media (min-width: 900px) { .gebiet__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; } }

.ueber { padding-block: 0 var(--sec); }
.ueber__grid { display: grid; gap: 32px; }
.ueber__img { aspect-ratio: 16 / 10; }
.ueber__txt { max-width: 60ch; }
.ueber__txt .d-md { margin-bottom: 20px; }
.ueber__facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ueber__facts li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ueber__facts .ico { color: var(--accent); }
@media (min-width: 900px) { .ueber__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; } }

/* ---------- Bewertungen (Platzhalter) ---------- */
.bew { padding-block: var(--sec); background: var(--paper-2); border-block: 1px solid var(--line); }
.bew__top { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 48px); }
.bew__top p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.bew__row { display: grid; gap: 12px; }
.slot { border: 1.5px dashed var(--ink-2); padding: 24px; display: grid; gap: 14px; align-content: start; min-height: 200px; background: var(--paper); }
.slot__q { display: block; font-family: var(--f-display); font-weight: 700; font-size: 4.5rem; line-height: 1; color: var(--accent); height: 40px; overflow: hidden; }
.slot p { margin: 0; color: var(--ink-2); }
.slot__who { margin-top: auto; font-family: var(--f-label); font-weight: 600; color: var(--ink); }
@media (min-width: 900px) { .bew__row { grid-template-columns: 1.3fr 1fr 1fr; } .bew__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Karriere ---------- */
.karriere { padding-block: var(--sec); }
.karriere__grid { display: grid; gap: 40px; }
.karriere__h { margin-bottom: 20px; }
.karriere__img { aspect-ratio: 4 / 3; margin-top: 32px; }
.apply { border: 1px solid var(--line-strong); background: var(--paper); padding: clamp(20px, 3.5vw, 36px); }
.apply__h { font-family: var(--f-label); font-weight: 600; font-size: 1rem; color: var(--ink-2); margin: 0 0 20px; display: flex; gap: 8px; align-items: center; }
.apply fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.apply legend { font-family: var(--f-label); font-weight: 600; font-size: 1rem; padding: 0; margin-bottom: 10px; }
.apply__res { display: none; }
.apply__res.is-on { display: block; }
.apply__res .ticket { margin: 16px 0 20px; }
@media (min-width: 900px) { .karriere__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; } }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--sec); border-top: 1px solid var(--line); }
.faq__grid { display: grid; gap: 32px; }
.faq__h { max-width: 12ch; }
.qa { border-top: 1px solid var(--line-strong); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: grid; grid-template-columns: 1fr 44px; gap: 16px; align-items: center; min-height: 72px; padding: 16px 0; cursor: pointer; font-family: var(--f-label); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .45s var(--ease), background-color .3s; }
.qa details[open] summary .pm { transform: rotate(45deg); background: var(--paper-2); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa details[open] .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { margin: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); } }

/* ---------- Abschluss ---------- */
.end { background: var(--patina); color: var(--patina-ink); padding-block: clamp(72px, 10vw, 136px); }
.end__grid { display: grid; gap: 32px; align-items: end; }
.end .d-lg { max-width: 18ch; }
.end p { color: var(--patina-ink-2); max-width: 52ch; margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.end__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.end .btn--line { --fg: var(--patina-ink); border-color: var(--patina-ink-2); }
.end .btn--line:hover { --bg: var(--patina-deep); }
@media (min-width: 900px) { .end__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } .end__btns { justify-content: flex-end; } }

/* ---------- Fußzeile ---------- */
.foot { background: var(--patina-deep); color: var(--patina-ink-2); padding: 56px 0 48px; font-size: .96rem; }
.foot__grid { display: grid; gap: 32px; }
.foot h2 { font-family: var(--f-label); font-weight: 600; font-size: 1rem; color: var(--patina-ink); margin: 0 0 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot a { color: var(--patina-ink); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot .brand { color: var(--patina-ink); }
.foot .brand__sub { color: var(--patina-ink-2); }
.foot .brand__mark { color: var(--gruenspan); }
.foot__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid oklch(0.82 0.085 168 / .25); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; }
@media (min-width: 900px) { .foot { padding-bottom: 40px; } .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Handy-Leiste ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1fr 1.25fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); transform: translateY(0); transition: transform .45s var(--ease); }
.mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; text-decoration: none; font-family: var(--f-label); font-weight: 600; font-size: 1.08rem; }
.mbar__sos { background: var(--signal); color: var(--signal-ink); }
.mbar__go { background: var(--patina); color: var(--patina-ink); }
.mbar.is-hidden { transform: translateY(110%); }
@media (min-width: 1080px) { .mbar { display: none; } }

/* ---------- Scroll-Einblendung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
}
