/* Spechtwerk IT – Stylesheet */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111827;
  --ink-2: #1F2937;
  --text: #111827;
  --body: #374151;
  --muted: #4B5563;
  --line: #E5E7EB;
  --line-strong: #9CA3AF;
  --alt: #F3F4F6;
  --alt-2: #F9FAFB;
  --red: #E4002B;
  --red-dark: #B91C1C;
  --red-on-dark: #F87171;
  --white: #FFFFFF;
  --radius: 4px;
  --wrap: 1240px;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Jost", "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img, svg { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; line-height: 1.15; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 17px;
  padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; font-family: inherit; line-height: 1.3; text-align: center;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #C40025; color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--alt); color: var(--ink); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark { background: transparent; color: var(--white); border-color: #6B7280; }
.btn--ghost-dark:hover { border-color: var(--white); color: var(--white); }

/* Servicezeile */
.topbar { background: var(--ink); color: #D1D5DB; font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); text-decoration: none; padding: 6px 0; }
.topbar a:hover { text-decoration: underline; }
.topbar__strong { font-weight: 600; }

/* Kopfzeile */
.header { border-bottom: 1px solid var(--line); background: var(--white); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 80px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #111111; padding: 12px 0; }
.logo__word { font-family: var(--font-head); font-size: 23px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 0 28px; font-weight: 600; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; padding: 27px 0 24px; border-bottom: 3px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav a:hover { border-bottom-color: var(--line-strong); }
.nav .btn { padding: 12px 20px; border-bottom: 0; margin-left: 4px; }
.nav-toggle {
  display: none; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: inherit; font-weight: 600; padding: 10px 14px; cursor: pointer; color: var(--ink);
}
@media (max-width: 900px) {
  .header__inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--red-dark); }
  .nav .btn { margin: 12px 0 0; }
  .no-js .nav { display: flex; }
  .no-js .nav-toggle { display: none; }
}

/* Abschnitte */
.section { padding-top: 88px; padding-bottom: 88px; }
.section--alt { background: var(--alt); }
.section--dark { background: var(--ink); color: var(--white); }
.section--tight { padding-top: 56px; padding-bottom: 56px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--red-dark); }
.section--dark .kicker, .hero .kicker { color: var(--red-on-dark); }
.h2 { font-size: clamp(30px, 3.4vw, 40px); }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; max-width: 680px; }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head--row > div { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.text-link { font-weight: 600; padding: 10px 0; }

/* Startbereich */
.hero { background: var(--ink); color: var(--white); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 80px; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.015em; }
.hero__lead { font-size: 20px; color: #D1D5DB; max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: #D1D5DB; list-style: none; margin: 0; padding: 4px 0 0; }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__media { flex: 1 1 380px; min-width: 0; }

.placeholder {
  background: var(--alt); border-radius: var(--radius); display: flex; align-items: flex-end;
  padding: 20px; color: var(--muted); font-size: 14px;
}
.placeholder--dark { background: var(--ink-2); color: #9CA3AF; }
.placeholder--hero { height: 420px; }
.placeholder--portrait { height: 520px; }
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }

/* Vorteile */
.facts { border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; padding-top: 36px; padding-bottom: 36px; list-style: none; margin-top: 0; margin-bottom: 0; }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact svg { flex: none; }
.fact strong { display: block; font-weight: 600; }
.fact span { color: var(--muted); font-size: 15px; }

/* Leistungs-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }
.tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px;
}
.tile:hover { border-color: var(--line-strong); color: var(--ink); }
.tile strong { font-size: 20px; font-weight: 600; }
.tile span { color: var(--muted); }

/* Zielgruppen */
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.split__side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split__main { flex: 999 1 560px; min-width: 0; }
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.audience li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.audience strong { display: block; font-size: 19px; font-weight: 600; }
.audience span { color: var(--muted); }

/* Hinweisband */
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.notice__text { flex: 999 1 560px; min-width: 0; display: flex; gap: 20px; align-items: flex-start; }
.notice__text svg { flex: none; }
.notice h2 { font-size: 26px; line-height: 1.25; }
.notice p { color: var(--muted); margin-top: 6px; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.steps li:last-child { border-top-color: var(--red); }
.steps__n { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--red-dark); }
.steps strong { font-size: 20px; font-weight: 600; }
.steps span:last-child { color: var(--muted); }

/* Abschlussband */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cta h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.cta p { color: #D1D5DB; }

/* Seitenkopf der Unterseiten */
.pagehead { background: var(--alt); border-bottom: 1px solid var(--line); }
.pagehead__inner { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 12px; }
.pagehead--narrow .pagehead__inner { max-width: 860px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.pagehead h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }

/* Leistungsseite */
.service { display: flex; flex-wrap: wrap; gap: 24px 64px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.service__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.service__text h2 { font-size: 30px; line-height: 1.2; }
.service__text p { color: var(--muted); }
.service__box { flex: 1 1 420px; min-width: 0; background: var(--alt-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.service__box strong { display: block; font-weight: 600; margin-bottom: 12px; }
.list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--body); }
.remote {
  margin: 56px 0 72px; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
}
.remote__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.remote h2 { font-size: 28px; }
.remote p { color: #D1D5DB; }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; padding-top: 64px; padding-bottom: 40px; }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.price--main { border: 2px solid var(--ink); }
.price__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price__head strong, .price > strong { font-size: 20px; font-weight: 600; }
.badge { font-size: 13px; font-weight: 600; background: var(--ink); color: var(--white); padding: 4px 10px; border-radius: 2px; }
.price__amount { font-family: var(--font-head); font-size: 48px; font-weight: 600; line-height: 1; }
.price__unit { color: var(--muted); }
.price .btn { margin-top: auto; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }
.price__note { font-size: 15px; color: var(--muted); }
.calc {
  background: var(--alt); border-radius: var(--radius); padding: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
}
.calc__text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.calc__text h2 { font-size: 26px; }
.calc__text span { color: var(--muted); }
.calc__control { display: flex; align-items: center; gap: 12px; }
.calc__btn {
  width: 48px; height: 48px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--white); color: var(--ink); font-size: 24px; cursor: pointer; font-family: inherit;
}
.calc__btn:hover { border-color: var(--ink); }
.calc__seats { min-width: 128px; text-align: center; display: flex; flex-direction: column; }
.calc__seats output { font-family: var(--font-head); font-size: 32px; font-weight: 600; line-height: 1.1; }
.calc__seats span, .calc__result span { font-size: 15px; color: var(--muted); }
.calc__result { display: flex; flex-direction: column; align-items: flex-end; min-width: 180px; }
.calc__result output { font-family: var(--font-head); font-size: 40px; font-weight: 600; line-height: 1.1; }
.small-note { margin-top: 12px; font-size: 15px; color: var(--muted); }
.faq { max-width: 860px; margin: 0 auto; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Über mich */
.about { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.about__media { flex: 1 1 340px; max-width: 460px; min-width: 0; }
.about__text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about__text h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
.about__text p { font-size: 18px; color: var(--body); }
.about__quote { margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--font-head); font-size: 22px; font-weight: 500; line-height: 1.4; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.values li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.values strong { font-size: 20px; font-weight: 600; }
.values span { color: var(--muted); }
.area { display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: center; }
.area__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.area__text > p { color: var(--muted); font-size: 18px; }
.legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.legend li { display: flex; gap: 14px; align-items: flex-start; }
.legend strong { display: block; font-weight: 600; }
.legend li span span { color: var(--muted); }
.swatch { flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px; }
.swatch--near { background: #FCE8EC; border: 2px solid var(--red); }
.swatch--far { border: 2px dashed #6B7280; }
.legend svg { flex: none; margin-top: 3px; }
.map { flex: 999 1 560px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.map__frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--alt); }
.map__frame svg { display: block; width: 100%; height: auto; }
.map figcaption { font-size: 14px; color: #6B7280; }

/* Anfrage */
.request { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 48px; padding-bottom: 88px; }
.wizard { flex: 999 1 640px; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.wizard__progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 24px 32px 0; list-style: none; margin: 0; }
.wizard__progress li { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #6B7280; }
.wizard__progress li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); }
.wizard__progress li.is-done::before, .wizard__progress li.is-current::before { background: var(--red); }
.wizard__progress li.is-current { color: var(--ink); font-weight: 600; }
.no-js .wizard__progress { display: none; }
.wizard__body { padding: 32px; }
.step { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.no-js .step + .step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.step__title { font-family: var(--font-head); font-size: 28px; font-weight: 600; padding: 0; }
.step__hint { color: var(--muted); margin-top: -18px; }
.step > legend.step__title { margin-bottom: 6px; }
.step > legend.step__title + .step__hint { margin-top: 0; }
.step__title:focus { outline: none; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  display: flex; flex-direction: column; gap: 4px; min-height: 48px; justify-content: center;
  padding: 14px 18px; border: 2px solid #D1D5DB; border-radius: var(--radius); background: var(--white);
}
.choice__box strong { font-weight: 600; }
.choice__box span { font-size: 15px; color: var(--muted); }
.choice--tile .choice__box { min-height: 88px; justify-content: flex-start; }
.choice input:checked + .choice__box { border-color: var(--ink); background: var(--alt); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--red); outline-offset: 2px; }
.group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.group legend { font-weight: 600; padding: 0; margin-bottom: 10px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 0 14px; height: 48px;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field--narrow { max-width: 420px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--body); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.summary { margin: 0; display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); border-top: 1px solid var(--line); }
.summary dt { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.summary dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; overflow-wrap: anywhere; white-space: pre-line; }
.wizard__error { margin: 20px 0 0; padding: 12px 16px; background: #FEF2F2; color: #991B1B; border-radius: var(--radius); }
.wizard__nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.wizard__count { font-size: 15px; color: #6B7280; }
.wizard__done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px 0; }
.wizard__done h2 { font-size: 30px; }
.wizard__done p { color: var(--body); max-width: 560px; }
.aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.aside__dark { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.aside__dark strong { font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.aside__dark a { color: var(--white); }
.aside__dark .aside__phone { font-size: 22px; font-weight: 600; text-decoration: none; }
.aside__muted { color: #9CA3AF; font-size: 15px; }
.aside__box { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.aside__box strong { font-weight: 600; font-size: 18px; }

/* Rechtstexte */
.legal { max-width: 860px; margin: 0 auto; padding: 48px 24px 88px; display: flex; flex-direction: column; gap: 14px; line-height: 1.65; }
.legal h2 { font-size: 28px; margin-top: 24px; }
.legal h3 { font-family: var(--font-body); font-size: 20px; margin-top: 12px; }
.legal h4 { font-size: 17px; margin: 4px 0 0; }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal__todo { padding: 14px 18px; background: var(--alt); border-radius: var(--radius); color: var(--muted); font-size: 15px; }

/* Fußzeile */
.footer { background: var(--ink); color: #D1D5DB; font-size: 16px; }
.footer__inner { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col strong { color: var(--white); font-weight: 600; margin-bottom: 4px; }
.footer a { color: #D1D5DB; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer .logo { color: var(--white); padding: 0; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__bottom { border-top: 1px solid #374151; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: #9CA3AF; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { text-decoration: underline; }


/* Feste Kontaktleiste auf dem Handy */
.mobilbar { display: none; }
@media (max-width: 900px) {
  .mobilbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(17, 24, 39, 0.08);
  }
  .mobilbar__btn {
    flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 12px; border-radius: var(--radius);
    font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; color: var(--white);
  }
  .mobilbar__btn--dark { background: var(--ink); }
  .mobilbar__btn--dark:hover { background: #000; color: var(--white); }
  .mobilbar__btn--red { background: var(--red); }
  .mobilbar__btn--red:hover { background: #C40025; color: var(--white); }
  .mobilbar__btn:focus-visible { outline: 3px solid var(--red-on-dark); outline-offset: 2px; }
  body.has-mobilbar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .anim .mobilbar { animation: sw-bar-in 0.45s 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes sw-bar-in { from { transform: translateY(100%); } to { transform: none; } }
@media print { .mobilbar { display: none !important; } body.has-mobilbar { padding-bottom: 0; } }

.no-js .js-only { display: none; }
.notice-error { margin: 0 0 24px; padding: 12px 16px; background: #FEF2F2; color: #991B1B; border-radius: var(--radius); }

/* ==========================================================
   Kleine Animationen
   Alles hier läuft nur, wenn im System keine reduzierte
   Bewegung eingestellt ist. Ohne JavaScript bleibt alles sichtbar.
   ========================================================== */
.text-link::after { content: "\2192"; display: inline-block; margin-left: 6px; }
.map-pulse { opacity: 0; }

@keyframes sw-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sw-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sw-pop { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes sw-peck { 0%, 100% { transform: translateX(0); } 18% { transform: translateX(5px); } 30% { transform: translateX(0); } 48% { transform: translateX(5px); } 60% { transform: translateX(0); } }
@keyframes sw-peck-loop { 0%, 46%, 100% { transform: translateX(0); } 8%, 22%, 36% { transform: translateX(5px); } 15%, 29% { transform: translateX(0); } }
@keyframes sw-knock { 0%, 7%, 11%, 21%, 25%, 35%, 39%, 100% { transform: translateX(0); } 9%, 23%, 37% { transform: translateX(1.5px); } }
@keyframes sw-bump { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes sw-pulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes sw-draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: no-preference) {
  /* Einstieg oben auf jeder Seite */
  .hero__text > *, .pagehead__inner > *, .nf__text > * { animation: sw-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__text > :nth-child(2), .pagehead__inner > :nth-child(2), .nf__text > :nth-child(2) { animation-delay: 0.08s; }
  .hero__text > :nth-child(3), .pagehead__inner > :nth-child(3), .nf__text > :nth-child(3) { animation-delay: 0.16s; }
  .hero__text > :nth-child(4), .nf__text > :nth-child(4) { animation-delay: 0.24s; }
  .hero__text > :nth-child(5), .nf__text > :nth-child(5) { animation-delay: 0.32s; }
  .hero__media { animation: sw-fade 1s 0.25s ease both; }
  .nf__art { animation: sw-pop 0.8s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  /* Beim Scrollen einblenden (Klasse setzt main.js) */
  .anim .reveal { opacity: 0; transform: translateY(22px); }
  .anim .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  /* Der Specht klopft ans t */
  .logo svg circle, .logo svg polygon { transform-box: view-box; }
  .logo:hover svg circle, .logo:hover svg polygon,
  .logo.peck svg circle, .logo.peck svg polygon { animation: sw-peck 0.9s ease-in-out; }

  /* Schaltflächen, Kacheln, Links */
  .btn { transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(17, 24, 39, 0.16); }
  .btn:active { transform: translateY(0); box-shadow: none; }
  .nav a { transition: border-color 0.2s, color 0.2s; }
  .topbar a, .footer a { transition: color 0.2s; }
  .text-link::after { transition: transform 0.2s; }
  .text-link:hover::after { transform: translateX(4px); }
  .tile, .values li, .price, .info-card, .help-card { transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s; }
  .tile:hover, .values li:hover, .price:hover, .info-card:hover, .help-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(17, 24, 39, 0.09); }
  .tile svg { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .tile:hover svg { transform: scale(1.12) rotate(-5deg); }
  .fact svg { transition: transform 0.3s; }
  .fact:hover svg { transform: translateY(-3px); }
  .service__text > svg { transition: transform 0.3s; }
  .service:hover .service__text > svg { transform: scale(1.1) rotate(-5deg); }
  .choice__box { transition: border-color 0.15s, background-color 0.15s, transform 0.15s; }
  .choice:hover .choice__box { border-color: var(--line-strong); }
  .choice input:checked + .choice__box { transform: scale(1.01); }
  .calc__btn { transition: border-color 0.15s, transform 0.1s; }
  .calc__btn:active { transform: scale(0.92); }
  .calc output.bump { animation: sw-bump 0.3s ease; }
  .faq summary { transition: color 0.2s; }
  .faq summary:hover { color: var(--red-dark); }
  .faq details[open] p { animation: sw-rise 0.35s ease both; }

  /* Anfrage: Schritte und Bestätigung */
  .anim .step:not([hidden]) { animation: sw-rise 0.4s ease both; }
  .anim .wizard__done:not([hidden]) { animation: sw-pop 0.5s ease both; }
  .wizard__done svg path { stroke-dasharray: 20; animation: sw-draw 0.6s 0.25s ease both; }
  .wizard__progress li::before { transition: background-color 0.3s; }

  /* Karte: Kasseburg pulsiert */
  .map-pulse { transform-box: fill-box; transform-origin: center; animation: sw-pulse 2.6s ease-out infinite; }

  /* 404: Der Specht sucht weiter */
  .nf__head { animation: sw-peck-loop 2.8s ease-in-out infinite; }
  .nf__t { animation: sw-knock 2.8s ease-in-out infinite; }
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================
   Fehlerseite 404
   ========================================================== */
.nf { background: var(--ink); color: var(--white); overflow: hidden; }
.nf__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding-top: 80px; padding-bottom: 88px; }
.nf__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.nf .kicker { color: var(--red-on-dark); }
.nf h1 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -0.015em; }
.nf__lead { font-size: 20px; color: #D1D5DB; max-width: 560px; }
.nf__path { font-size: 15px; color: #9CA3AF; overflow-wrap: anywhere; }
.nf__path code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--white); background: var(--ink-2); padding: 2px 8px; border-radius: 3px; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.nf__phone { font-size: 16px; color: #D1D5DB; }
.nf__phone a { color: var(--white); font-weight: 600; }
.nf__art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.nf__code {
  display: flex; align-items: center; gap: 0.08em; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(88px, 12vw, 168px); line-height: 1; letter-spacing: -0.02em; color: #F3F4F6; user-select: none;
}
.nf__tile {
  width: 0.78em; height: 0.78em; background: var(--white); border-radius: 0.14em; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.nf__tile svg { width: 78%; height: 78%; overflow: visible; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.info-card__head { display: flex; align-items: center; gap: 12px; }
.info-card__head svg { flex: none; }
.info-card h3 { font-size: 21px; }
.info-card p, .info-card address { color: var(--body); font-style: normal; }
.info-card__big { font-family: var(--font-head); font-size: 26px; font-weight: 600; text-decoration: none; color: var(--ink); line-height: 1.2; }
.info-card__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.info-card__links a { text-decoration: none; font-weight: 600; }
.info-card__links a:hover { text-decoration: underline; }
.info-card .price-table td { padding: 8px 0; }
.info-card .text-link { margin-top: auto; padding-bottom: 0; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.info-card__note { font-size: 15px; color: var(--muted); }

/* Links in dunklen Bändern lesbar halten */
.section--dark a:not(.btn), .cta p a, .nf a:not(.btn) { color: var(--white); }
.section--dark a:not(.btn):hover, .cta p a:hover { color: var(--white); text-decoration-thickness: 2px; }

/* ==========================================================
   Fernhilfe
   ========================================================== */
.help { padding-top: 56px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 48px; }
.help .steps { margin-top: 8px; }
.help-download {
  background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
}
.help-download__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.help-download h2 { font-size: 28px; }
.help-download p { color: #D1D5DB; }
.help-download a:not(.btn) { color: var(--white); }
.help-download__action { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.help-download__fallback { color: #D1D5DB; max-width: 320px; }
.help-download__fallback a { color: var(--white); font-weight: 600; }
.help-note { font-size: 14px; color: #9CA3AF; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.help-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.help-card--warn { border-color: #FCA5A5; background: #FEF2F2; }
.help-card strong { font-family: var(--font-head); font-size: 21px; font-weight: 600; }
.help-card p { color: var(--body); }
.help-card .sticker {
  align-self: flex-start; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 700;
  background: var(--white); border: 2px solid var(--ink); border-radius: 4px; padding: 4px 10px; font-size: 16px;
}
