/*
 * A + S Flamm – Wärmepumpen-Landingpage
 * Farben abgeleitet von input/as flamm logo.png (Rot #B1192D, Warmgrau #635F5A)
 * und www.as-flamm.de (Links/Buttons #B1192D, Fußzeile #E7E5E3), gemessen am 23.11.2026.
 * Gestaltungsidee: das Fadenkreuz aus dem Logo („A|S" über „FLAMM") als einziges
 * Ordnungselement – im Hero und in der Fußzeile, sonst ruhige Flächen.
 */

/* ---------------------------------------------------------------- Tokens */
:root {
  --rot: #b1192d;
  --rot-dunkel: #8c1424;
  --rot-hauch: #fbf0f1;
  --grau: #635f5a;
  --grau-hell: #e7e5e3;
  --text: #2b2926;
  --text-leise: #57534e;
  --flaeche: #f4f3f1;
  --weiss: #fff;
  --anthrazit: #3a3734;
  --linie: #cfcbc6;
  --stern: #c98a0b;
  --fokus: #2b2926;

  --font: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-slab: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;

  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(3.5rem, 8vw, 6.5rem);
  --kopf-hoehe: 4.25rem;
  --radius: 6px;
}

/* ---------------------------------------------------------------- Schriften */
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("/fonts/zilla-slab-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("/fonts/zilla-slab-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------------------------------------------------------------- Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf-hoehe) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--font-slab);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

a { color: var(--rot); text-underline-offset: .18em; }
a:hover { color: var(--rot-dunkel); }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: .6rem 1rem;
  background: var(--text);
  color: var(--weiss);
  border-radius: var(--radius);
}
.skip-link:focus { top: .75rem; color: var(--weiss); }

.wrap {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
}

.section { padding: var(--abstand) 0; }
.section--flaeche { background: var(--flaeche); }

.lead { font-size: 1.1875rem; color: var(--text-leise); max-width: 38em; }
.text { max-width: 36em; }

/* ---------------------------------------------------------------- Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border: 2px solid var(--rot);
  border-radius: var(--radius);
  background: var(--rot);
  color: var(--weiss);
  font: 600 1.0625rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: var(--weiss); }
.button--hell { background: var(--weiss); color: var(--rot); border-color: var(--weiss); }
.button--hell:hover { background: var(--grau-hell); border-color: var(--grau-hell); color: var(--rot-dunkel); }

/* ---------------------------------------------------------------- Kopfzeile */
.kopf {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--grau-hell);
}
.kopf .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--kopf-hoehe);
}
.kopf-logo { display: block; flex: none; }
.kopf-logo img { width: 112px; height: auto; }
.kopf-tel {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.2;
}
.kopf-tel:hover { color: var(--rot); }
.kopf-tel svg { flex: none; width: 1.25rem; height: 1.25rem; color: var(--rot); }
.kopf-tel-frage { display: none; color: var(--text-leise); font-size: .95rem; }
.kopf-tel-nummer { font-weight: 700; font-size: 1.0625rem; white-space: nowrap; }
@media (min-width: 40em) {
  .kopf-logo img { width: 130px; }
  .kopf-tel-frage { display: inline; }
}

/* ---------------------------------------------------------------- Hero
   Fadenkreuz wie im Logo: senkrechte Linie zwischen Text und Formular,
   waagrechte Linie unter der Überschrift. Rechts das Anlagenfoto hinter der Formularkarte. */
.hero { position: relative; background: var(--weiss); }
.hero-grid {
  display: grid;
  grid-template-areas: "text" "buehne" "belege";
}
.hero-text { grid-area: text; padding: 1.75rem 0 1.25rem; }
.hero-buehne { grid-area: buehne; position: relative; }
.hero-belege { grid-area: belege; padding: 1.5rem 0 2.5rem; }
.hero h1 { max-width: 13em; margin-bottom: .35em; }
.hero-unterzeile { font-size: 1.1875rem; color: var(--text-leise); max-width: 26em; margin: 0; }
.hero-fakten {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--grau);
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  color: var(--grau);
  font-weight: 600;
  font-size: .98rem;
}
.hero-fakten li { display: flex; align-items: center; gap: .4rem; }
.hero-fakten svg { width: 1rem; height: 1rem; color: var(--rot); flex: none; }

.hero-foto { margin: 0 calc(-1 * var(--rand)); }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 63.99em) {
  .hero-foto { aspect-ratio: 16 / 10; overflow: hidden; margin-top: 1.5rem; }
  .hero-foto img { object-position: 50% 70%; }
  .hero-karte-wrap { margin: 0 calc(-1 * var(--rand) + .5rem); }
}

@media (min-width: 64em) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "text buehne" "belege buehne";
    min-height: min(46rem, calc(100vh - var(--kopf-hoehe)));
  }
  .hero-text, .hero-belege { border-right: 1px solid var(--grau); padding-right: 3rem; }
  .hero-text { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 3rem; padding-bottom: 1.75rem; }
  .hero-belege { padding-top: 0; padding-bottom: 3rem; }
  /* waagrechte Linie läuft bis an die senkrechte – das Kreuz aus dem Logo */
  .hero-fakten {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-right: -3rem;
    padding-right: 1.25rem;
    gap: .35rem;
  }
  .hero-buehne {
    display: grid;
    align-items: center;
    padding: 2.5rem 0 2.5rem 3rem;
  }
  .hero-foto {
    position: absolute;
    inset: 0 calc(-1 * max(var(--rand), (100vw - var(--breite)) / 2 + var(--rand))) 0 0;
    margin: 0;
  }
  .hero-karte-wrap { position: relative; z-index: 1; max-width: 30rem; width: 100%; margin-left: auto; }
}

/* ---------------------------------------------------------------- Formular-Karte */
.anfrage {
  position: relative;
  background: var(--weiss);
  border-radius: var(--radius);
  border-top: 5px solid var(--rot);
  box-shadow: 0 1px 2px rgba(43, 41, 38, .12), 0 12px 32px -8px rgba(43, 41, 38, .35);
  padding: 1.25rem 1.25rem 1.5rem;
}
@media (min-width: 30em) { .anfrage { padding: 1.5rem 1.75rem 1.75rem; } }
.anfrage-titel { font-size: 1.5rem; margin-bottom: .2em; }
.anfrage-hinweis { margin: 0 0 1rem; color: var(--text-leise); font-size: .98rem; }
.anfrage-status-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
  font-size: .9rem;
  color: var(--text-leise);
}
.anfrage progress {
  appearance: none;
  display: block;
  width: 100%;
  height: .375rem;
  margin: .35rem 0 1.25rem;
  border: 0;
  border-radius: 99px;
  background: var(--grau-hell);
  color: var(--rot);
  overflow: hidden;
}
.anfrage progress::-webkit-progress-bar { background: var(--grau-hell); border-radius: 99px; }
.anfrage progress::-webkit-progress-value { background: var(--rot); border-radius: 99px; transition: width .25s ease; }
.anfrage progress::-moz-progress-bar { background: var(--rot); border-radius: 99px; }

.zurueck {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  min-height: 2.25rem;
  padding: 0 .25rem;
  border: 0;
  background: none;
  color: var(--text);
  font: 600 .95rem/1 var(--font);
  cursor: pointer;
}
.zurueck:hover { color: var(--rot); }
.zurueck svg { width: 1rem; height: 1rem; }

.anfrage fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.anfrage legend {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 1rem;
  font: 600 1.3rem/1.25 var(--font-slab);
  color: var(--text);
}
.anfrage legend:focus { outline: none; }
.anfrage legend:focus-visible { outline: 2px solid var(--fokus); outline-offset: 4px; }

.optionen { display: grid; gap: .5rem; }
@media (min-width: 26em) { .optionen--2 { grid-template-columns: 1fr 1fr; } }

.option {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 3.1rem;
  padding: .6rem .9rem;
  border: 1.5px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.option:hover { border-color: var(--grau); }
.option input {
  appearance: none;
  flex: none;
  display: grid;
  place-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  border: 2px solid var(--grau);
  border-radius: 50%;
  background: var(--weiss);
  cursor: pointer;
}
.option input::before {
  content: "";
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--rot);
  transform: scale(0);
  transition: transform .12s;
}
.option input:checked { border-color: var(--rot); }
.option input:checked::before { transform: scale(1); }
.option:has(input:checked) { border-color: var(--rot); background: var(--rot-hauch); }
.option input:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.option input[aria-invalid="true"] { border-color: var(--rot); }

.schritt-nav { display: flex; justify-content: flex-end; margin-top: 1rem; }
.weiter {
  min-height: 2.75rem;
  padding: .5rem 1.1rem;
  border: 1.5px solid var(--grau);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--text);
  font: 600 1rem/1 var(--font);
  cursor: pointer;
}
.weiter:hover { border-color: var(--text); }

.feld { display: grid; gap: .3rem; margin-bottom: .9rem; }
.feld label { font-weight: 600; font-size: .98rem; }
.feld-zusatz { font-weight: 400; color: var(--text-leise); }
.feld input {
  width: 100%;
  min-height: 3rem;
  padding: .6rem .8rem;
  border: 1.5px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--text);
  font: 400 1.0625rem/1.3 var(--font);
}
.feld input:hover { border-color: var(--grau); }
.feld input:focus-visible { outline: 3px solid var(--fokus); outline-offset: 1px; border-color: var(--text); }
.feld input[aria-invalid="true"] { border-color: var(--rot); }
.felder-2 { display: grid; gap: 0 .75rem; }
@media (min-width: 26em) { .felder-2 { grid-template-columns: 1fr 1fr; } }
.kwh { margin-top: 1rem; }

.fehler {
  margin: .4rem 0 0;
  color: var(--rot);
  font-size: .95rem;
  font-weight: 600;
}
.feld .fehler { margin: 0; }

.anfrage-datenschutz { margin: .25rem 0 1rem; font-size: .9rem; color: var(--text-leise); }
.anfrage .button[type="submit"] { width: 100%; }
.anfrage .button[type="submit"]:disabled { opacity: .7; cursor: progress; }

.anfrage-meldung {
  margin: 1rem 0 0;
  padding: .85rem 1rem;
  border-left: 4px solid var(--rot);
  background: var(--rot-hauch);
  font-weight: 600;
}
.anfrage-ohne-js { margin: 1rem 0 0; padding: .85rem 1rem; background: var(--flaeche); }

.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- Vertrauensleiste */
.vertrauen { border-bottom: 1px solid var(--grau-hell); background: var(--weiss); }
.vertrauen ul {
  list-style: none;
  margin: 0 auto;
  padding: 1.5rem var(--rand);
  max-width: var(--breite);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  align-items: center;
  justify-items: center;
}
@media (min-width: 56em) {
  .vertrauen ul { grid-template-columns: auto auto auto auto; justify-content: space-between; }
}
.vertrauen img { height: auto; }
.siegel-bosch { width: 15.5rem; }
.siegel-kermi { width: 11rem; }
.siegel-mde { width: 7.5rem; }
.vertrauen-google { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; line-height: 1.2; }
.vertrauen-google strong { font: 600 2rem/1 var(--font-slab); }
.vertrauen-google span { font-size: .92rem; color: var(--text-leise); }
.vertrauen-google:hover strong { color: var(--rot); }
.vertrauen-google .sterne { color: var(--stern); }
@media (max-width: 55.99em) {
  .vertrauen li:nth-child(-n+2) { grid-column: 1 / -1; }
  .siegel-bosch { width: 100%; max-width: 15.5rem; }
}

.sterne { display: inline-flex; gap: 1px; color: var(--stern); }
.sterne svg { width: 1rem; height: 1rem; }

/* ---------------------------------------------------------------- Bild + Text */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--bild-rechts .split-bild { order: 2; }
}
.split-bild img { width: 100%; border-radius: var(--radius); }

.haken { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; display: grid; gap: .65rem; }
.haken li { display: flex; gap: .7rem; align-items: flex-start; }
.haken svg { flex: none; width: 1.3rem; height: 1.3rem; margin-top: .15rem; color: var(--rot); }

/* ---------------------------------------------------------------- Expertise */
.expertise-kopf { max-width: 44rem; margin-bottom: 2.5rem; }
.expertise-punkte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--grau);
}
.expertise-punkte li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--grau-hell);
}
.expertise-punkte h3 { margin-bottom: .3em; }
.expertise-punkte p { margin: 0; color: var(--text-leise); }
@media (min-width: 56em) {
  .expertise-punkte { grid-template-columns: repeat(3, 1fr); border-bottom: 0; }
  .expertise-punkte li { padding: 1.5rem 2rem 0 0; border-bottom: 0; }
  .expertise-punkte li + li { padding-left: 2rem; border-left: 1px solid var(--grau-hell); }
}
.expertise-mde { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; margin-top: 2.5rem; }
.expertise-mde img { width: 9rem; }
.expertise-mde p { margin: 0; max-width: 34em; color: var(--text-leise); }

/* ---------------------------------------------------------------- Einzelzitat */
.zitat { margin: 0 auto; max-width: 50rem; }
.zitat blockquote { margin: 0; }
.zitat blockquote p {
  margin: 0;
  font: italic 400 clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem)/1.4 var(--font-slab);
  color: var(--text);
}
.zitat blockquote p::before { content: "„"; color: var(--rot); }
.zitat blockquote p::after { content: "“"; color: var(--rot); }
.zitat figcaption { margin-top: 1.25rem; color: var(--text-leise); }
.zitat figcaption strong { color: var(--text); }

/* ---------------------------------------------------------------- Funktionsweise */
.funktion-bild { margin: 2rem 0 2.5rem; }
.funktion-bild img { width: 100%; border: 1px solid var(--grau-hell); border-radius: var(--radius); }
.ablauf { list-style: none; margin: 0; padding: 0; counter-reset: ablauf; display: grid; gap: 1.5rem; }
.ablauf li { counter-increment: ablauf; display: grid; grid-template-columns: 2.5rem 1fr; gap: .9rem; align-items: start; }
.ablauf li::before {
  content: counter(ablauf);
  display: grid;
  place-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--rot);
  border-radius: 50%;
  color: var(--rot);
  font: 600 1.2rem/1 var(--font-slab);
}
.ablauf h3 { margin: .35rem 0 .2em; font-size: 1.15rem; }
.ablauf p { margin: 0; color: var(--text-leise); }
@media (min-width: 56em) { .ablauf { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ---------------------------------------------------------------- Förderung & Kontakt */
.foerderung + .kontakt { margin-top: var(--abstand); }
.kontakt-tel {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: .25rem 0 1.5rem;
  font: 600 1.6rem/1.1 var(--font-slab);
  color: var(--text);
  text-decoration: none;
}
.kontakt-tel svg { width: 1.5rem; height: 1.5rem; color: var(--rot); }
.kontakt-tel:hover { color: var(--rot); }

/* ---------------------------------------------------------------- Kundenstimmen */
.stimmen-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.stimmen-kopf h2 { margin: 0; }
.stimmen-google { display: flex; align-items: center; gap: .75rem; }
.stimmen-google strong { font: 600 2.4rem/1 var(--font-slab); }
.stimmen-google span { display: block; font-size: .95rem; color: var(--text-leise); }
.stimmen-google .sterne { display: flex; margin-bottom: .2rem; color: var(--stern); }
.stimmen { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 2rem; }
@media (min-width: 56em) { .stimmen { columns: 2; } }
.stimme {
  break-inside: avoid;
  margin: 0 0 2rem;
  padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--rot);
}
.stimme blockquote { margin: .5rem 0 .75rem; }
.stimme blockquote p { margin: 0 0 .6em; }
.stimme blockquote p:last-child { margin-bottom: 0; }
.stimme figcaption { font-weight: 700; }
.stimme figcaption span { font-weight: 400; color: var(--text-leise); }
.stimmen-link { margin: .5rem 0 0; }

/* ---------------------------------------------------------------- Vorteils-Spalten */
.vorteile-kopf { max-width: 44rem; margin-bottom: 2.5rem; }
.spalten { display: grid; gap: 2.5rem; }
@media (min-width: 56em) {
  .spalten { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .spalte { padding: 0 2rem; }
  .spalte:first-child { padding-left: 0; }
  .spalte + .spalte { border-left: 1px solid var(--linie); }
}
.spalte svg { width: 2.25rem; height: 2.25rem; color: var(--rot); margin-bottom: 1rem; }
.spalte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.spalte li { color: var(--text-leise); }
.spalte li strong { color: var(--text); }

/* ---------------------------------------------------------------- FAQ */
.faq > * { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq details:first-of-type { border-top: 1px solid var(--grau); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font: 600 1.2rem/1.3 var(--font-slab);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: .7rem;
  height: .7rem;
  margin-right: .3rem;
  border-right: 2px solid var(--rot);
  border-bottom: 2px solid var(--rot);
  transform: translateY(-25%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.faq summary:hover { color: var(--rot); }
.faq-antwort { padding: 0 0 1.25rem; max-width: 40em; }
.faq-antwort p:last-child, .faq-antwort ol:last-child { margin-bottom: 0; }
.faq-antwort ol { padding-left: 1.25rem; margin: 0 0 1em; }

/* ---------------------------------------------------------------- Abschluss-CTA mit Galerie */
.abschluss { background: var(--anthrazit); color: var(--weiss); padding: var(--abstand) 0; --fokus: var(--weiss); }
.abschluss h2 { color: var(--weiss); }
.abschluss p { color: #e4e1dd; max-width: 34em; font-size: 1.1875rem; }
.abschluss-kopf { margin-bottom: 2.5rem; }
.galerie {
  --galerie-rand: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80%, 26rem);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--galerie-rand);
  margin: 0;
  padding: 0 var(--galerie-rand) 1rem;
  list-style: none;
  scrollbar-color: #8a857f transparent;
}
.galerie li { scroll-snap-align: start; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---------------------------------------------------------------- Fußzeile */
.fuss { background: var(--grau-hell); color: var(--text); padding: 3rem 0 2rem; font-size: .98rem; }
.fuss-grid { display: grid; gap: 2rem; }
@media (min-width: 48em) { .fuss-grid { grid-template-columns: auto 1fr auto; gap: 3rem; align-items: start; } }
.fuss-logo img { width: 150px; }
.fuss address { font-style: normal; line-height: 1.7; }
.fuss a { color: var(--text); }
.fuss a:hover { color: var(--rot); }
.social { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid;
  place-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--grau);
  border-radius: 50%;
  color: var(--grau);
}
.social a:hover { color: var(--rot); border-color: var(--rot); }
.social svg { width: 1.2rem; height: 1.2rem; }
.fuss-unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--grau);
  color: var(--text-leise);
  font-size: .92rem;
}
.fuss-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.fuss-links a { display: inline-block; padding: .35rem 0; }

/* ---------------------------------------------------------------- Anruf-Leiste (Handy) */
.anruf-leiste {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.5rem;
  padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom));
  background: var(--rot);
  color: var(--weiss);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  box-shadow: 0 -2px 12px rgba(43, 41, 38, .25);
}
.anruf-leiste:hover, .anruf-leiste:focus-visible { color: var(--weiss); background: var(--rot-dunkel); }
.anruf-leiste:focus-visible { outline-color: var(--text); outline-offset: -5px; }
.anruf-leiste svg { width: 1.25rem; height: 1.25rem; }
body.mit-anruf-leiste .fuss { padding-bottom: 5.5rem; }
@media (min-width: 48em) {
  .anruf-leiste { display: none; }
  body.mit-anruf-leiste .fuss { padding-bottom: 2rem; }
}

/* ---------------------------------------------------------------- Unterseiten */
.seite { padding: 3rem 0 var(--abstand); }
.seite .wrap { max-width: 50rem; }
.zurueck-link { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; }

.danke h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); }
.danke-schritte { margin: 2rem 0; padding: 1.5rem; background: var(--flaeche); border-left: 4px solid var(--rot); }
.danke-schritte h2 { font-size: 1.35rem; }
.danke-schritte ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }

.video { margin: 1.5rem 0 1rem; border-radius: var(--radius); overflow: hidden; }
.video[data-youtube-id] { aspect-ratio: auto; background: var(--anthrazit); }
.video[data-youtube-id].is-loaded { aspect-ratio: 16 / 9; background: #000; }
.video-vorschau { position: relative; aspect-ratio: 16 / 9; }
.video[data-youtube-id] .video-vorschau img { width: 100%; height: 100%; object-fit: cover; }
.video-vorschau::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 41, 38, 0) 40%, rgba(43, 41, 38, .7));
  pointer-events: none;
}
.video-titel {
  position: absolute;
  left: 1rem;
  bottom: .8rem;
  z-index: 1;
  margin: 0;
  color: var(--weiss);
  font: 600 clamp(1.2rem, 1rem + 1vw, 1.7rem)/1.15 var(--font-slab);
}
.video-laden { padding: 1rem; color: #e4e1dd; font-size: .95rem; --fokus: var(--weiss); }
.video-laden .button { margin-bottom: .75rem; }
.video-laden p { margin: 0; }
.video-laden a { color: var(--weiss); }

.recht h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.recht h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.recht h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.recht ul { padding-left: 1.25rem; }
.recht li { margin-bottom: .35rem; }
.recht address { font-style: normal; margin: 0 0 1em; padding: 1rem 1.25rem; background: var(--flaeche); }
.recht-stand { color: var(--text-leise); font-size: .95rem; }
.recht p, .recht li { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
