/* =========================================================
   A&J Entrümpelung – Stylesheet
   Aufbau angelehnt an tu-gartenbau.de, Farben: Schwarz & Gold
   ========================================================= */

/* Schriften lokal (keine Verbindung zu Google) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/playfair-italic-latin.woff2") format("woff2");
}

:root {
  --base: #0c0b09;
  --section: #13110e;
  --card: #1b1814;
  --bone: #f2eee5;
  --muted: rgba(242, 238, 229, 0.7);
  --faint: rgba(242, 238, 229, 0.56);
  --line: rgba(242, 238, 229, 0.1);
  --gold: #d19f51;
  --gold-hover: #e2b46a;
  --gold-soft: rgba(209, 159, 81, 0.4);
  --brass: #b08a4f;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 12px;
  --header-h: 88px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: var(--base); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  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: fixed;
  left: 16px; top: -80px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--base);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* Icons */
.i {
  width: 18px; height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin-inline: auto; }

.section { padding: 96px 20px; }
.section--base { background: var(--base); }
.section--alt { background: var(--section); }
.section--anker { scroll-margin-top: 96px; }

@media (min-width: 768px) {
  .section { padding: 128px 32px; }
}

/* Augenbraue + Überschrift (wie TU) */
.augenbraue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.augenbraue::before {
  content: "";
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--brass);
}

.titel {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--bone);
}
.titel em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
@media (min-width: 640px) { .titel { font-size: 36px; } }
@media (min-width: 768px) { .titel { font-size: 48px; } }

.einleitung {
  margin: 24px 0 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.625;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn .i { width: 16px; height: 16px; }
.btn:active { transform: scale(0.95); }

.btn--gold { background: var(--gold); color: var(--base); }
.btn--gold:hover { background: var(--gold-hover); transform: scale(1.03); }
.btn--gold:active { transform: scale(0.95); }

.btn--linie {
  border: 1px solid var(--line);
  background: rgba(242, 238, 229, 0.04);
  color: var(--bone);
}
.btn--linie:hover { border-color: var(--gold-soft); color: var(--gold); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.kopf.is-gescrollt,
.kopf.is-menue {
  background: rgba(12, 11, 9, 0.8);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.kopf__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}
@media (min-width: 768px) { .kopf__inner { padding: 14px 40px; } }

.kopf__logo { display: inline-flex; align-items: center; min-height: 44px; }
.kopf__logo img { height: 60px; width: auto; transition: height 0.3s var(--ease-out); }
@media (min-width: 768px) { .kopf__logo img { height: 84px; } }
/* beim Scrollen etwas kompakter */
.kopf.is-gescrollt .kopf__logo img { height: 48px; }
@media (min-width: 768px) { .kopf.is-gescrollt .kopf__logo img { height: 58px; } }

.nav { display: none; }
.nav ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(242, 238, 229, 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--bone); }
.nav a[aria-current="page"] { background: rgba(242, 238, 229, 0.08); color: var(--gold); }

.kopf__tel { display: none; }

.menue-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--bone);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.menue-knopf .i { width: 20px; height: 20px; }
.menue-knopf .i--zu { display: none; }
.menue-knopf[aria-expanded="true"] .i--auf { display: none; }
.menue-knopf[aria-expanded="true"] .i--zu { display: block; }

@media (min-width: 960px) {
  .nav {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .kopf__tel { display: inline-flex; }
  .menue-knopf { display: none; }
}

/* Mobiles Menü */
.menue {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 32px) 24px calc(32px + env(safe-area-inset-bottom));
  background: var(--base);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0s linear 0.25s;
}
.menue.is-offen {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s;
}
.menue ul { margin: 0; padding: 0; list-style: none; }
.menue li + li { border-top: 1px solid var(--line); }
.menue li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.menue li a[aria-current="page"] { color: var(--gold); }
.menue li a .i { color: var(--gold); }
.menue__aktionen { display: grid; gap: 12px; }
.menue__aktionen .btn { width: 100%; min-height: 52px; font-size: 15px; }
body.menue-offen { overflow: hidden; }
@media (min-width: 960px) { .menue { display: none; } }

/* ---------- Hero mit Aufräum-Effekt ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--base);
  touch-action: pan-y;
}
@supports (height: 100dvh) {
  .hero { height: 100dvh; }
}

.hero__zoom {
  position: absolute;
  inset: 0;
  animation: heroZoom 1.8s var(--ease-out) both;
}
.hero__lqip,
.hero__basis,
.hero__reveal {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 66%;
  background-repeat: no-repeat;
}
.hero__lqip {
  transform: scale(1.1);
  filter: blur(24px) brightness(0.7);
}

.hero__basis {
  background-image: url("../img/hero-vorher.jpg");
  background-image: image-set(url("../img/hero-vorher.webp") type("image/webp"), url("../img/hero-vorher.jpg") type("image/jpeg"));
  filter: brightness(0.62) saturate(0.8);
}
.hero__reveal {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s;
  will-change: mask-image;
  -webkit-mask-image: radial-gradient(circle 1px at -9999px -9999px, #000, transparent);
  mask-image: radial-gradient(circle 1px at -9999px -9999px, #000, transparent);
}
.hero__reveal.is-bereit { opacity: 1; }

/* Ohne Nachher-Bild: der Lichtkegel macht den Raum hell (Taschenlampe) */
.hero--lampe .hero__reveal {
  background-image: url("../img/hero-vorher.jpg");
  background-image: image-set(url("../img/hero-vorher.webp") type("image/webp"), url("../img/hero-vorher.jpg") type("image/jpeg"));
  filter: brightness(1.5) saturate(1.08) contrast(1.05);
}
.hero--lampe .hero__basis { filter: brightness(0.46) saturate(0.7); }

/* Breite Bildschirme: Querformat-Foto vom selben Zimmer (nicht so stark aufgezoomt) */
@media (min-aspect-ratio: 1/1) {
  .hero__lqip,
  .hero__basis,
  .hero__reveal { background-position: 50% 55%; }
  .hero__basis,
  .hero--lampe .hero__reveal {
    background-image: url("../img/hero-vorher-quer.jpg");
    background-image: image-set(url("../img/hero-vorher-quer.webp") type("image/webp"), url("../img/hero-vorher-quer.jpg") type("image/jpeg"));
  }
}
.hero--nachher .hero__basis { filter: brightness(0.56) saturate(0.78); }
.hero--nachher .hero__reveal { filter: brightness(1.22) saturate(1.04) contrast(1.03); }

.hero__staub {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 4;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, rgba(12, 11, 9, 0.12) 0%, rgba(12, 11, 9, 0.45) 55%, rgba(12, 11, 9, 0.9) 100%);
}

.hero__inhalt {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.hero h1 {
  position: absolute;
  top: 15%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  text-align: center;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 28px rgba(12, 11, 9, 0.62), 0 1px 4px rgba(12, 11, 9, 0.5);
}
.hero__zeile {
  display: block;
  font-size: clamp(34px, 10.8vw, 48px);
  white-space: nowrap;
  color: var(--bone);
}
.hero__zeile--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.hero__zeile--sans {
  font-weight: 600;
  letter-spacing: -0.065em;
}
@media (min-width: 640px) { .hero__zeile { font-size: 72px; } }
@media (min-width: 768px) { .hero__zeile { font-size: 96px; } }
@media (min-width: 1280px) { .hero__zeile { font-size: 108px; } }

.hero__satz {
  position: absolute;
  left: 24px;
  bottom: 40px;
  display: none;
  max-width: 280px;
  margin: 0;
  font-size: 14px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.82);
}
.hero__aktion {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero__aktion p {
  margin: 0;
  font-size: 14px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.82);
}
.hero__aktion .btn { pointer-events: auto; }

@media (min-width: 640px) {
  .hero__satz { display: block; }
  .hero__aktion {
    left: auto;
    bottom: 40px;
    max-width: 330px;
    align-items: flex-end;
    text-align: right;
  }
}
@media (min-width: 768px) {
  .hero__satz { left: 40px; }
  .hero__aktion { right: 40px; }
}

.hero__hinweis {
  position: absolute;
  left: 50%;
  bottom: 190px;
  transform: translateX(-50%);
  display: none;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
  transition: opacity 0.4s;
}
.hero__hinweis.is-weg { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .hero__hinweis { display: block; }
}
@media (min-width: 640px) { .hero__hinweis { bottom: 140px; } }

/* Einstieg-Animationen */
.anim-zeile { animation: heroZeile 0.8s var(--ease-out) both; }
.anim-fade { animation: heroFade 1s var(--ease-out) both; }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes heroZeile {
  from { opacity: 0; transform: translateY(0.3em); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Wofür wir stehen ---------- */
.philo {
  display: grid;
  gap: 48px;
  align-items: center;
}
.philo__text p {
  margin: 24px 0 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.7;
}
.philo__bild {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  aspect-ratio: 4 / 3;
}
.philo__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
/* Teamfoto: Gesichter im Ausschnitt halten */
.philo__bild--team img { object-position: 50% 42%; }
.philo__gruss .und-zeichen {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 0.9em;
}
.philo__gruss {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold) !important;
}
@media (min-width: 1024px) {
  .philo { grid-template-columns: 1fr 1fr; gap: 64px; }
  .philo__bild { aspect-ratio: 1 / 1; }
  .philo__bild--team { aspect-ratio: 4 / 5; }
  .philo__bild--team img { object-position: 50% 70%; }
}

/* ---------- Ablauf ---------- */
.schritte {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.schritte > li { position: relative; }
.schritte > li:last-child { grid-column: 1 / -1; }

.schritt {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s;
}
.schritt:hover { border-color: var(--gold-soft); }
.schritt__nr {
  position: absolute;
  top: -10px;
  right: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: rgba(242, 238, 229, 0.06);
  user-select: none;
}
.schritt h3 {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.schritt p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.icon-kreis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  background: var(--base);
  color: var(--gold);
}

.schritt__pfeil { display: none; }

@media (min-width: 768px) {
  .schritte { gap: 16px; }
  .schritt { padding: 28px; }
  .schritt h3 { font-size: 17px; }
}
@media (min-width: 1100px) {
  .schritte { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .schritte > li:last-child { grid-column: auto; }
  .schritt__pfeil {
    position: absolute;
    top: 50%;
    right: -17px;
    display: block;
    transform: translateY(-50%);
    color: rgba(209, 159, 81, 0.55);
  }
  .schritt__pfeil .i { width: 14px; height: 14px; }
}

/* ---------- Karten ---------- */
.karten-3,
.karten-2 {
  display: grid;
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 768px) {
  .karten-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .karten-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

.karte {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s;
}
.karte:hover { border-color: var(--gold-soft); }
.karte > .i { width: 20px; height: 20px; color: var(--gold); }
.karte h3 {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.karte p {
  flex: 1;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.625;
  color: var(--muted);
}
.karte__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 44px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--bone);
  transition: color 0.2s;
}
.karte__link .i { width: 14px; height: 14px; transition: transform 0.2s; }
.karte__link:hover { color: var(--gold); }
.karte__link:hover .i { transform: translateX(3px); }

.vorteil {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.vorteil__kopf { display: flex; align-items: center; gap: 12px; }
.vorteil__kopf .i { color: var(--gold); }
.vorteil h3 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.vorteil p { margin: 12px 0 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
@media (min-width: 768px) { .vorteil { padding: 32px; } }

/* ---------- Laufband Einsatzgebiet ---------- */
.laufband {
  padding: 48px 0;
  border-block: 1px solid var(--line);
  background: var(--section);
}
.laufband h2 {
  margin: 0 0 28px;
  padding: 0 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: var(--bone);
}
.laufband__spur {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.laufband__band {
  display: flex;
  width: max-content;
  animation: laufen 48s linear infinite;
}
.laufband__spur:hover .laufband__band { animation-play-state: paused; }
.laufband ul {
  display: flex;
  gap: 56px;
  margin: 0;
  padding: 0 56px 0 0;
  list-style: none;
}
.laufband li {
  white-space: nowrap;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(242, 238, 229, 0.55);
}
.laufband li.ist-sitz { color: var(--gold); }
@media (min-width: 768px) {
  .laufband { padding: 56px 0; }
  .laufband li { font-size: 22px; }
}
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Kontakt ---------- */
.kontakt__grid {
  display: grid;
  gap: 48px;
  margin-top: 56px;
}
@media (min-width: 1024px) {
  .kontakt__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
}

.kanaele { display: grid; gap: 16px; }
.kanal {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  color: var(--bone);
}
.kanal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--gold);
  transition: border-color 0.2s;
}
.kanal:hover .kanal__icon { border-color: var(--gold-soft); }
.kanal__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.kanal__wert { word-break: break-word; }

.gebiet {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.gebiet h3 { margin: 0; font-size: 14px; font-weight: 600; }
.gebiet > p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.gebiet figure { margin: 24px 0 0; }
.gebiet svg { width: 100%; height: auto; }
.gebiet svg text { font-family: var(--font-sans); }
.karte-ort { font-size: 12px; }
.karte-km { font-size: 10px; }
.karte-sitz { font-size: 13px; font-weight: 600; }
@media (max-width: 639px) {
  .karte-ort { font-size: 16px; }
  .karte-km { font-size: 13px; }
  .karte-sitz { font-size: 17px; }
}
.gebiet ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.gebiet li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.gebiet li span:first-child { color: var(--muted); }
.gebiet li span:last-child { flex: none; font-size: 12px; color: var(--faint); }
@media (min-width: 640px) { .gebiet ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .gebiet { padding: 32px; } }

/* Formular */
.formular { display: grid; gap: 20px; align-content: start; }
.feld label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--bone);
}
.feld label span { color: var(--muted); }
.feld input,
.feld textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 11, 9, 0.6);
  font-size: 16px;
  color: var(--bone);
  transition: border-color 0.2s;
}
.feld input::placeholder,
.feld textarea::placeholder { color: rgba(242, 238, 229, 0.35); }
.feld input:hover,
.feld textarea:hover { border-color: rgba(242, 238, 229, 0.25); }
.feld input:focus,
.feld textarea:focus { border-color: var(--gold); outline: none; }
.feld input:focus-visible,
.feld textarea:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.feld textarea { min-height: 150px; resize: vertical; }
.feld.hat-fehler input,
.feld.hat-fehler textarea { border-color: rgba(248, 113, 113, 0.75); }

.feld__fehler { margin: 8px 0 0; font-size: 14px; color: #fca5a5; }
.feld__hilfe { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

.feld-reihe { display: grid; gap: 20px; }
@media (min-width: 640px) { .feld-reihe { grid-template-columns: 1fr 1fr; } }

.einwilligung { display: flex; align-items: flex-start; }
.einwilligung__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: none;
  margin-left: -12px;
}
.einwilligung input { width: 20px; height: 20px; accent-color: var(--gold); cursor: pointer; }
.einwilligung label {
  padding: 11px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}
.einwilligung a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

.formular__knoepfe { display: flex; flex-direction: column; gap: 12px; }
.formular__knoepfe .btn { width: 100%; }
@media (min-width: 640px) {
  .formular__knoepfe { flex-direction: row; flex-wrap: wrap; }
  .formular__knoepfe .btn { width: auto; }
}
.formular__hinweis { margin: 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.formular__status { margin: 0; font-size: 14px; color: var(--gold); }

/* ---------- Fußzeile ---------- */
.fuss {
  padding: 56px 20px;
  border-top: 1px solid var(--line);
  background: var(--base);
}
.fuss__grid { display: grid; gap: 40px; }
.fuss__logo { display: inline-block; }
.fuss__logo img { width: 210px; height: auto; }
.fuss address {
  margin-top: 24px;
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.fuss address a { display: inline-block; padding: 2px 0; transition: color 0.2s; }
.fuss address a:hover { color: var(--bone); }
.fuss__links { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; align-content: start; }
.fuss__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.fuss__links a:hover { color: var(--bone); }
.fuss__social { display: flex; gap: 10px; align-items: flex-start; }
.fuss__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.fuss__wa:hover { border-color: var(--gold-soft); color: var(--gold); }
.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.fuss__unten em { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 13px; }
@media (min-width: 768px) {
  .fuss { padding: 56px 32px; }
  .fuss__grid { grid-template-columns: 1.5fr 1fr auto; }
}

/* ---------- Aktionsleiste (Handy) ---------- */
.aktionsleiste {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 20, 16, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(calc(100% + 24px));
  transition: transform 0.35s var(--ease-out);
}
.aktionsleiste.is-sichtbar { transform: none; }
.aktionsleiste .btn { width: 100%; padding-inline: 12px; }
@media (max-width: 959px) {
  .hat-aktionsleiste .fuss { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 960px) { .aktionsleiste { display: none; } }

/* ---------- Unterseiten ---------- */
.seitenkopf { padding: 140px 20px 72px; background: var(--base); }
@media (min-width: 768px) { .seitenkopf { padding: 176px 32px 96px; } }
.seitenkopf .einleitung { max-width: 42rem; }

.section--direkt { padding-top: 0; }
@media (min-width: 768px) { .section--direkt { padding-top: 0; } }

/* Leistungen */
.leistungen { display: grid; gap: 20px; }
@media (min-width: 1024px) { .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.leistung {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.leistung > .i { width: 22px; height: 22px; color: var(--gold); }
.leistung h2 {
  margin: 20px 0 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.leistung > p {
  max-width: 34rem;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.gruppen { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 640px) { .gruppen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gruppe h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--bone); }
.gruppe ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gruppe li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.gruppe li .i { width: 14px; height: 14px; color: var(--gold); stroke-width: 2.2; }
@media (min-width: 768px) {
  .leistung { padding: 36px; }
  .leistung h2 { font-size: 24px; }
}

/* Aufruf-Karte */
.aufruf {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.aufruf h2 { margin: 0; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.aufruf p { max-width: 32rem; margin: 12px 0 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.aufruf .btn { flex: none; }
@media (min-width: 768px) {
  .aufruf { flex-direction: row; align-items: center; justify-content: space-between; padding: 48px; }
}

/* Referenzen */
.referenzen { display: grid; gap: 88px; }
@media (min-width: 768px) { .referenzen { gap: 112px; } }

.referenz { display: grid; gap: 36px; align-items: center; }
.referenz h2 { margin: 0; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.referenz__text > p { margin: 16px 0 0; line-height: 1.7; color: var(--muted); }
.worauf {
  margin: 24px 0 0;
  padding-left: 20px;
  border-left: 2px solid rgba(209, 159, 81, 0.45);
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.worauf span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (min-width: 768px) { .referenz h2 { font-size: 30px; } }
@media (min-width: 1024px) {
  .referenz { grid-template-columns: 1.25fr 1fr; gap: 64px; }
  .referenz--gespiegelt > :first-child { order: 2; }
}

/* Vorher/Nachher-Regler */
.vergleich {
  --r: 1;
  width: min(100%, calc(76vh * var(--r)));
  margin: 0 auto;
}
.vergleich__buehne {
  --pos: 50%;
  position: relative;
  aspect-ratio: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.vergleich__buehne img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.vergleich__vorher {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.vergleich__linie {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(242, 238, 229, 0.9);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.vergleich__griff {
  position: absolute;
  top: 50%;
  left: var(--pos);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(242, 238, 229, 0.75);
  border-radius: 999px;
  background: rgba(12, 11, 9, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--bone);
  transform: translate(-50%, -50%);
  transition: transform 0.2s, border-color 0.2s;
  cursor: ew-resize;
}
.vergleich__griff .i { width: 16px; height: 16px; stroke-width: 1.6; }
.vergleich__buehne:hover .vergleich__griff,
.vergleich__buehne.is-ziehen .vergleich__griff { border-color: var(--gold); transform: translate(-50%, -50%) scale(1.08); }
.vergleich__griff:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 999px; }

.vergleich__label {
  position: absolute;
  top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 11, 9, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
  transition: opacity 0.2s;
}
.vergleich__label--vorher { left: 12px; color: var(--bone); }
.vergleich__label--nachher { right: 12px; color: var(--gold); }
.vergleich__buehne.zeigt-nachher .vergleich__label--vorher,
.vergleich__buehne.zeigt-vorher .vergleich__label--nachher { opacity: 0; }

/* Rechtliches */
.recht { max-width: 48rem; margin-top: 48px; }
.recht h2 { margin: 40px 0 12px; font-size: 18px; font-weight: 500; color: var(--bone); }
.recht h3 { margin: 24px 0 8px; font-size: 15px; font-weight: 600; color: var(--bone); }
.recht p, .recht li { line-height: 1.75; color: var(--muted); }
.recht p { margin: 0 0 12px; }
.recht ul { margin: 0 0 12px; padding-left: 20px; }
.recht a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
mark.offen {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(209, 159, 81, 0.18);
  color: var(--gold-hover);
}

/* ---------- Einblenden beim Scrollen ---------- */
.js .rise { opacity: 0; }
.js .rise.is-sichtbar { animation: riseIn 0.8s var(--ease-out) var(--d, 0ms) both; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__zoom,
  .anim-zeile,
  .anim-fade { animation: none !important; }
  .js .rise { opacity: 1 !important; animation: none !important; }
  .laufband__band { animation: none; width: auto; justify-content: center; }
  .laufband ul { flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 0 20px; }
  .laufband ul[aria-hidden="true"] { display: none; }
  .btn, .karte, .schritt, .aktionsleiste, .menue { transition: none; }
}

@media print {
  .kopf, .aktionsleiste, .menue, .hero__staub { display: none !important; }
  .js .rise { opacity: 1 !important; }
}

/* ---------- SEO-Ergänzungen: Hero-Ortszeile, FAQ, Stadtseiten ---------- */
.hero__ort {
  display: block;
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: normal;
  color: var(--gold);
  text-shadow: 0 1px 12px rgba(12, 11, 9, 0.7);
}
@media (min-width: 768px) { .hero__ort { font-size: 13px; margin-bottom: 24px; } }

.faq { display: grid; gap: 12px; margin-top: 48px; max-width: 52rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s;
}
.faq details[open], .faq details:hover { border-color: var(--gold-soft); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; }
.faq details p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.faq details p + p { margin-top: 12px; }

.stadt-text { display: grid; gap: 40px; }
.stadt-text p { margin: 0 0 16px; line-height: 1.75; color: var(--muted); }
.stadt-text h2 { margin: 0 0 16px; font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
@media (min-width: 900px) { .stadt-text { grid-template-columns: 1.4fr 1fr; gap: 64px; } }

.fakten { display: grid; gap: 0; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); align-self: start; }
.fakten div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fakten div:last-child { border-bottom: 0; }
.fakten dt { color: var(--faint); }
.fakten dd { margin: 0; text-align: right; color: var(--bone); }

.stadtteile { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.stadtteile li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }

.laufband a { color: inherit; text-decoration: none; }
.laufband a:hover { color: var(--gold); }

.brotkrumen { margin: 0 0 24px; font-size: 13px; color: var(--faint); }
.brotkrumen a { color: var(--muted); }
.brotkrumen a:hover { color: var(--gold); }

@media (min-width: 768px) { .fuss__grid { grid-template-columns: 1.5fr 1fr 1fr auto; } }

/* Footer: Einsatzorte als zweispaltige Liste unter einer Überschrift */
.fuss__titel { margin: 0 0 4px; line-height: 1; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.fuss__orte ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.fuss__orte a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color 0.2s; }
.fuss__orte a:hover { color: var(--bone); }

/* ---------- Ratgeber-Seiten: Vergleichstabelle, Spartipps, Links im Fließtext ---------- */
.vergleich { margin: 40px 0 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.vergleich table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.vergleich th, .vergleich td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.vergleich tbody tr:last-child th, .vergleich tbody tr:last-child td { border-bottom: 0; }
.vergleich thead th { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.vergleich thead th:last-child { color: var(--gold); }
.vergleich tbody th { font-weight: 500; color: var(--bone); white-space: nowrap; }
.vergleich td { color: var(--muted); }
.vergleich td:last-child { color: var(--bone); }

.tipps { display: grid; gap: 12px; max-width: 52rem; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: tipp; }
.tipps li { position: relative; padding: 20px 24px 20px 64px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font-size: 15px; line-height: 1.7; color: var(--muted); counter-increment: tipp; }
.tipps li::before { content: counter(tipp, decimal-leading-zero); position: absolute; left: 24px; top: 20px; font-family: var(--font-serif); font-style: italic; color: var(--gold); }
.tipps strong { font-weight: 500; color: var(--bone); }

.karte p a, .leistung li a, .faq details p a:not(.karte__link) { color: inherit; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
.karte p a:hover, .leistung li a:hover { color: var(--gold); }
.faq .karte__link { margin-top: 4px; }

/* ---------- Handy: kompaktere Darstellung ---------- */
@media (max-width: 767px) {
  /* Footer: kleineres Logo, Links und Orte platzsparend nebeneinander */
  .fuss__grid { gap: 28px; }
  .fuss__logo img { width: 140px; }
  .fuss address { margin-top: 16px; line-height: 1.7; }
  .fuss__links { grid-template-columns: repeat(2, max-content); gap: 0 32px; }
  .fuss__links a { min-height: 36px; }
  .fuss__orte ul { grid-template-columns: repeat(3, max-content); gap: 0 20px; }
  .fuss__orte a { min-height: 36px; font-size: 13.5px; }
  .fuss__unten { margin-top: 32px; }


  /* Kosten-Seite: Preisfaktoren als eine kompakte Liste statt sechs Karten */
  .faktoren { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
  .faktoren .vorteil { padding: 18px 20px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .faktoren .vorteil:last-child { border-bottom: 0; }
  .faktoren .vorteil p { margin-top: 6px; }
}

/* Vergleichstabelle: auf dem Handy als Blöcke untereinander statt seitlich wischen */
@media (max-width: 639px) {
  .vergleich { overflow: visible; }
  .vergleich table { min-width: 0; }
  .vergleich thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vergleich tr { display: block; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .vergleich tbody tr:last-child { border-bottom: 0; }
  .vergleich th, .vergleich td { display: block; padding: 0; border: 0; }
  .vergleich tbody th { margin-bottom: 10px; white-space: normal; }
  .vergleich td { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 4px 0; }
  .vergleich td::before { content: attr(data-label); font-size: 12px; color: var(--faint); }
  .vergleich td:last-child::before { color: var(--gold); }
}

/* Stadtseiten: Links unter den FAQ */
.stadt-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; }
