/* JD Brüder: dunkle Werkstatt-Seite, zuerst fürs Handy gebaut.
   Schwarz und JD Gold aus dem Markenhandbuch. Inter für alle Texte,
   Instrument Serif kursiv nur als Akzent (zweite Zeile der Überschriften, Preise). */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #000000;        /* Seitengrund */
  --panel: #111111;        /* Kacheln und Fenster */
  --panel-2: #181818;      /* Zebra-Zeilen */
  --line: #262626;
  --text: #f4f4f2;
  --text-2: #b3b2ad;       /* Nebentext, 9.9:1 auf Schwarz */
  --gold: #b49759;         /* Aktion und Akzent, 7.5:1 auf Schwarz */
  --gold-hover: #c7ab6e;
  --white: #ffffff;
  --wa: #1da851;           /* runder WhatsApp-Knopf, weißes Zeichen 3.1:1 */

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 3.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--black); }
html:has(dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Typografie ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; font-size-adjust: from-font; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
/* Akzent: zweite Zeile einer Überschrift (Gold) und Preise */
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 .accent, h2 .accent { display: block; color: var(--gold); }
@supports not (font-size-adjust: from-font) {
  h1 .accent, h2 .accent { font-size: 1.12em; line-height: 1; }
}
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-2); }
.muted { color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.25rem; padding: .75rem 1.3rem; border-radius: 999px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-line { border-color: rgb(244 244 242 / .45); color: var(--text); background: rgb(0 0 0 / .35); }
.btn-line:hover { background: var(--text); color: var(--black); border-color: var(--text); }
.btn-icon { width: 3.25rem; padding: 0; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Kopfzeile + Menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgb(0 0 0 / .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: .6rem; min-height: var(--header-h); }
.site-logo {
  margin-right: auto; color: var(--gold); text-decoration: none;
  font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
}
.menu-button {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text);
  font: 600 .95rem var(--sans); cursor: pointer;
}
.menu-button svg { width: 1.2rem; height: 1.2rem; }
.site-menu {
  margin: 0; padding: .5rem; list-style: none;
  inset: calc(var(--header-h) + .5rem) var(--gutter) auto auto;
  width: min(18rem, calc(100vw - 2 * var(--gutter)));
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--text);
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / .8);
}
.site-menu a { display: block; padding: .85rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 500; }
.site-menu a:hover { background: var(--panel-2); }
/* Handy: Logo links, rechts Anrufen und Menü */
.site-logo { order: -2; }
.header-call { order: -1; width: 2.75rem; min-height: 2.75rem; padding: 0; }
.header-call span { display: none; }
@media (min-width: 1100px) {
  .header-inner { gap: 1.5rem; }
  .menu-button { display: none; }
  .site-menu, .site-menu:popover-open {
    display: flex; position: static; inset: auto; width: auto; padding: 0; border: 0; box-shadow: none; background: none; gap: .25rem; overflow: visible;
  }
  .site-menu a { padding: .55rem .8rem; color: var(--text-2); }
  .site-menu a:hover { color: var(--text); background: var(--panel); }
  .header-call { order: 0; width: auto; padding: .5rem 1.1rem; }
  .header-call span { display: inline; }
}

/* ---------- Erster Bildschirm ---------- */
.hero { position: relative; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.hero-media { display: block; position: relative; aspect-ratio: 10 / 9; overflow: hidden; background: var(--black); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Der Hallenboden läuft nach unten in Schwarz aus, darauf steht die Überschrift */
.hero-media::after {
  content: ""; position: absolute; inset: 60% 0 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0), var(--black) 94%);
}
.hero-text { position: relative; margin-top: -3.25rem; }
.hero h1 { margin-bottom: .9rem; }
.hero .lead { margin-bottom: 1.5rem; max-width: 36ch; }
@media (max-width: 639px) { .hero .actions .btn, .contact-grid .actions .btn { flex: 1 1 100%; } }
/* Tablet: das breite Foto oben, Text darunter */
@media (min-width: 640px) { .hero-media { aspect-ratio: 16 / 9; } }
@media (min-width: 1100px) {
  .hero { display: grid; align-items: center; min-height: min(88vh, 46rem); padding: 0; }
  .hero h1 { font-size: clamp(2.4rem, 3.6vw, 3.4rem); }
  /* PC: Text links auf Schwarz, das Hallenfoto rechts. Ausschnitt nach rechts gerückt, damit die Werkbank-Seite zu sehen ist. */
  .hero-media { position: absolute; inset: 0 0 0 36%; aspect-ratio: auto; }
  .hero-media img { object-position: 75% 50%; }
  .hero-media::after {
    inset: 0;
    background:
      linear-gradient(to right, var(--black), rgb(0 0 0 / 0) 24%),
      linear-gradient(to top, var(--black), rgb(0 0 0 / 0) 16%);
  }
  .hero-text { margin-top: 0; padding-block: 5rem; }
  .hero-text > * { max-width: 26rem; }
  .hero-text > h1 { max-width: 34rem; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: .75rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head p { margin: 0; }
.section-head > *, .about > *, .contact-grid > * { min-width: 0; }

/* ---------- Leistungen: vier feste Kacheln ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.tile {
  position: relative; display: grid; align-content: end; gap: .1rem;
  aspect-ratio: 4 / 5; padding: .95rem; margin: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); color: var(--text); font: inherit; text-align: left; cursor: pointer;
  transition: border-color .2s var(--ease), scale .2s var(--ease);
}
.tile:hover { border-color: var(--gold); }
.tile:active { scale: .98; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(0 0 0 / .92), rgb(0 0 0 / .4) 42%, rgb(0 0 0 / 0) 68%);
}
.tile > span { position: relative; z-index: 1; }
.tile-name { font-weight: 600; font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.2; }
.tile-price { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.15; }
.tile > .tile-more {
  position: absolute; top: .7rem; right: .7rem; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; background: rgb(0 0 0 / .55); border: 1px solid rgb(255 255 255 / .28);
}
.tile-more svg { width: .9rem; height: .9rem; }
.tile > .tile-art { position: absolute; inset: 0 0 34%; display: grid; place-items: center; color: var(--gold); }
.tile-art svg { width: 46%; height: auto; }

/* ---------- Fenster von unten (Details und Preise) ---------- */
dialog.sheet {
  position: fixed; inset: auto 0 0; margin: 0 auto; width: 100%; max-width: 46rem; max-height: 90dvh;
  padding: 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0;
  background: var(--panel); color: var(--text); overflow: hidden; flex-direction: column;
}
dialog.sheet[open] { display: flex; }
dialog.sheet:focus-visible { outline: none; }
dialog.sheet::backdrop { background: rgb(0 0 0 / .72); }
.sheet-head {
  position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem var(--gutter) .9rem;
}
.sheet-head::before {
  content: ""; position: absolute; top: .6rem; left: 50%; translate: -50% 0;
  width: 2.75rem; height: 4px; border-radius: 4px; background: #3d3d3d;
}
.sheet-head h2 { font-size: 1.7rem; }
.sheet-close {
  flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line);
  background: var(--black); color: var(--text); display: grid; place-items: center; cursor: pointer;
}
.sheet-close svg { width: 1rem; height: 1rem; }
.sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .25rem var(--gutter) 1.75rem; }
.sheet-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.1rem; }
.sheet-body > .lead { margin-bottom: .6rem; color: var(--text); }
.sheet-foot {
  flex: none; display: flex; gap: .6rem;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--panel);
}
.sheet-foot .btn-gold { flex: 1; min-width: 0; }
@media (min-width: 900px) {
  dialog.sheet { inset: 0; margin: auto; height: fit-content; max-height: 86dvh; border: 1px solid var(--line); border-radius: 22px; }
  .sheet-head::before { display: none; }
  .sheet-head { padding-top: 1.2rem; }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.sheet {
    translate: 0 100%;
    transition: translate .38s var(--ease), overlay .38s allow-discrete, display .38s allow-discrete;
  }
  dialog.sheet[open] { translate: 0 0; }
  @starting-style { dialog.sheet[open] { translate: 0 100%; } }
  dialog.sheet::backdrop {
    background: rgb(0 0 0 / 0);
    transition: background-color .38s, overlay .38s allow-discrete, display .38s allow-discrete;
  }
  dialog.sheet[open]::backdrop { background: rgb(0 0 0 / .72); }
  @starting-style { dialog.sheet[open]::backdrop { background: rgb(0 0 0 / 0); } }
}

/* Anfrageformular: eine Frage pro Schritt, große Antwortflächen zum Antippen.
   Das Fenster hat eine feste Höhe und hängt oben fest: Es wechselt nicht die Größe je Frage, und wenn am Handy
   die Tastatur aufgeht, endet es einfach über ihr (--oben und --hoehe setzt main.js aus dem sichtbaren Bereich). */
#sheet-anfrage { top: calc(var(--oben, 0px) + 10dvh); bottom: auto; height: calc(var(--hoehe, 100dvh) - 10dvh); max-height: none; }
@media (min-width: 900px) { #sheet-anfrage { inset: 0; height: min(40rem, 86dvh); } }
.anfrage fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.anfrage legend, .anfrage-done h3 { padding: 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.step-n { margin: .3rem 0 1.1rem; color: var(--text-2); font-size: .9rem; }
.choices { display: grid; gap: .6rem; }
.choice {
  display: flex; align-items: center; gap: .85rem; min-height: 3.5rem; padding: .8rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--black);
  font-weight: 500; cursor: pointer; transition: border-color .2s var(--ease);
}
.choice:hover, .choice:has(:checked) { border-color: var(--gold); }
.choice input { appearance: none; flex: none; width: 1.25rem; height: 1.25rem; margin: 0; border: 1.5px solid var(--text-2); border-radius: 50%; display: grid; place-items: center; }
.choice input::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--gold); scale: 0; transition: scale .2s var(--ease); }
.choice input:checked { border-color: var(--gold); }
.choice input:checked::before { scale: 1; }
.choice:has(:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.field { display: grid; gap: .35rem; margin-bottom: .9rem; }
.field > span { color: var(--text-2); font-size: .9rem; }
.input {
  width: 100%; min-height: 3.25rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--black); color: var(--text); font: 400 1.0625rem/1.3 var(--sans);   /* ab 16px zoomt iOS nicht */
}
.input::placeholder { color: #77766f; }
.input:focus { outline: none; border-color: var(--gold); }
.step-nav { display: flex; gap: .6rem; margin-top: 1.25rem; }
.step-nav .btn-gold { flex: 1; min-width: 0; }
.step-nav-1 { display: none; }                         /* nur zurück auf Frage 1 mit schon gewählter Antwort */
fieldset:has(:checked) > .step-nav-1 { display: flex; }
.btn:disabled { opacity: .6; cursor: progress; }
.fine { margin: .2rem 0 0; color: var(--text-2); font-size: .9rem; }
.fine a, .form-error a { color: var(--text); }
.form-error { margin: .9rem 0 0; padding: .75rem 1rem; border: 1px solid #e06c5a; border-radius: 12px; color: var(--text); font-size: .95rem; }
.anfrage-done { padding-top: .5rem; }
.anfrage-done h3:focus { outline: none; }
.anfrage-done p { margin: .6rem 0 1.4rem; }

/* Umschalter Pakete / Einzelleistungen */
.tablist {
  display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem; margin: 1.25rem 0;
  border: 1px solid var(--line); border-radius: 999px; background: var(--black);
}
.tablist [role="tab"] {
  min-height: 2.75rem; padding: 0 .75rem; border: 0; border-radius: 999px; background: none;
  color: var(--text-2); font: 600 .97rem var(--sans); cursor: pointer;
}
.tablist [role="tab"][aria-selected="true"] { background: var(--text); color: var(--black); }
.panels { display: grid; grid-template-columns: minmax(0, 1fr); }
.panels > [role="tabpanel"] { grid-area: 1 / 1; min-width: 0; }

/* Paketliste */
.pkgs { border-top: 1px solid var(--line); }
.pkg { border-bottom: 1px solid var(--line); }
.pkg summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem 1.5rem;
  padding: 1.1rem .25rem;
}
.pkg summary::-webkit-details-marker { display: none; }
.pkg-title { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.1rem; }
.pkg-title svg { width: 1rem; height: 1rem; color: var(--text-2); transition: transform .3s var(--ease); flex: none; }
.pkg[open] .pkg-title svg { transform: rotate(90deg); }
.pkg-dur { grid-column: 1; color: var(--text-2); font-size: .95rem; padding-left: 1.6rem; }
.pkg-price { grid-row: 1 / span 2; grid-column: 2; text-align: right; white-space: nowrap; color: var(--gold); }
.pkg-price .accent { font-size: 1.8rem; line-height: 1; }
.pkg-price small { font-size: .9rem; color: var(--text-2); margin-right: .3rem; }
.pkg-body { padding: 0 .25rem 1.4rem 1.85rem; color: var(--text-2); }
.pkg-body ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.pkg-body li::marker { color: var(--gold); }
.pkg-body .inherit { color: var(--text); font-weight: 600; margin-bottom: .5rem; }
.pkg-body .addon { margin: .9rem 0 0; }
.pkg-group { margin-top: 2.25rem; }
.pkg-group > h3 { margin-bottom: .6rem; }
.price-note { margin: 1.25rem 0 0; color: var(--text-2); font-size: .95rem; max-width: 70ch; }

details::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
details:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  details::details-content {
    transition: block-size, content-visibility, display; transition-duration: .3s;
    transition-timing-function: ease-in-out; transition-behavior: allow-discrete;
  }
}

/* einfache Preistabellen */
.pricegrid { display: grid; gap: 2.25rem; }
.pricetable { width: 100%; border-collapse: collapse; }
.pricetable caption { text-align: left; font-weight: 600; font-size: 1.1rem; padding-bottom: .6rem; }
.pricetable th, .pricetable td { padding: .8rem .25rem; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: baseline; }
.pricetable tr:first-child th, .pricetable tr:first-child td { border-top: 1px solid var(--line); }
.pricetable td { text-align: right; white-space: nowrap; font-weight: 600; padding-left: 1rem; color: var(--gold); }

/* Trockeneis */
.checks { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; }
.checks li { display: flex; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.checks li:first-child { border-top: 1px solid var(--line); }
.checks svg { width: 1.2rem; height: 1.2rem; color: var(--gold); flex: none; margin-top: .2rem; }

/* ---------- Vorher / Nachher ---------- */
.work { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .work { grid-template-columns: minmax(0, 24rem) 1fr; gap: 1.5rem; align-items: start; } }
.work figure { margin: 0; }
.work figcaption { margin-top: .7rem; color: var(--text-2); font-size: .95rem; }
.work figcaption strong { color: var(--text); font-weight: 600; }
.compare-frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; width: 100%; max-height: 80vh;
  border-radius: var(--radius); border: 1px solid var(--line); --pos: 50%; user-select: none; touch-action: pan-y; background: var(--panel);
}
.compare-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.compare-frame .after { clip-path: inset(0 0 0 var(--pos)); }
/* goldene Linie trennt vorher und nachher */
.compare-line { position: absolute; inset-block: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--gold); pointer-events: none; }
.compare-knob {
  position: absolute; top: 50%; left: var(--pos); translate: -50% -50%; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--gold); color: var(--black); display: grid; place-items: center; pointer-events: none;
  box-shadow: 0 6px 16px rgb(0 0 0 / .5);
}
.compare-knob svg { width: 1.4rem; height: 1.4rem; }
.compare-frame input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-frame:has(input:focus-visible) .compare-knob { outline: 2px solid var(--white); outline-offset: 3px; }
.compare-tag {
  position: absolute; bottom: .7rem; z-index: 1; padding: .2rem .6rem; border-radius: 999px;
  background: rgb(0 0 0 / .65); font-size: .82rem; font-weight: 600; pointer-events: none;
}
.compare-tag.before { left: .7rem; }
.compare-tag.after-tag { right: .7rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
@media (min-width: 900px) { .gallery { gap: 1rem; } }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.insta { margin: 1.25rem 0 0; color: var(--text-2); }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgb(0 0 0 / .92); }
dialog.lightbox img { max-width: 94vw; max-height: 80vh; width: auto; height: auto; border-radius: var(--radius); }
dialog.lightbox p { color: var(--text-2); margin: .6rem 0 0; }
dialog.lightbox button {
  position: fixed; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border-radius: 50%; border: 0;
  background: var(--white); color: var(--black); cursor: pointer; display: grid; place-items: center;
}
dialog.lightbox button svg { width: 1.2rem; height: 1.2rem; }

/* ---------- So läuft's ---------- */
.steps { list-style: none; margin: 0 0 2rem; padding: 0; counter-reset: step; display: grid; gap: 1.4rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 1rem; }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid var(--gold); color: var(--gold); font-weight: 600;
}
.steps h3 { font-size: 1.1rem; margin-top: .5rem; }
.steps p { margin: .3rem 0 0; color: var(--text-2); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } .steps li { display: block; } .steps li::before { margin-bottom: .6rem; } }

/* ---------- Über uns + Fragen ---------- */
.about { display: grid; gap: 3.25rem; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.about-photo { position: relative; }
.about-photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
@media (min-width: 900px) { .about-photo > img { aspect-ratio: 4 / 5; } }
/* Das Logo hat schwarze Flächen und steht deshalb immer auf Weiß. */
.logo-plate {
  position: absolute; left: 1rem; bottom: -1.75rem; width: 11.5rem; padding: .75rem 1rem;
  background: var(--white); border-radius: 10px; box-shadow: 0 12px 30px rgb(0 0 0 / .6);
}
.logo-plate img { width: 100%; }
.about h2 { margin-bottom: 1.2rem; }
.about p { color: var(--text-2); }
.faq-block { margin-top: clamp(3rem, 8vw, 5rem); }
.faq-block > h2 { margin-bottom: 1.25rem; }
.faq { max-width: 50rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .7rem; padding: 1.1rem .25rem; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1rem; height: 1rem; color: var(--gold); flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(90deg); }
.faq details p { padding: 0 .25rem 1.2rem 1.95rem; color: var(--text-2); margin: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 4rem; } }
.contact-grid h2 { margin-bottom: 1rem; }
.contact-grid .actions { margin-top: 1.5rem; }
.contact-list { margin: 0; display: grid; padding: .35rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.contact-list > div { padding: .85rem 0; }
.contact-list > div + div { border-top: 1px solid var(--line); }
.contact-list dt { color: var(--text-2); font-size: .9rem; }
.contact-list dd { margin: 0; font-size: 1.1rem; font-weight: 500; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.open-state { display: inline-flex; align-items: center; gap: .4rem; margin-left: .6rem; font-size: .9rem; font-weight: 500; color: var(--text-2); }
.open-state[hidden] { display: none; }
.open-state::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #8a8a86; }
.open-state.is-open { color: #9fe0a6; }
.open-state.is-open::before { background: #4cc35a; }

.foot { color: var(--text-2); border-top: 1px solid var(--line); padding: 1.8rem 0 calc(5.75rem + env(safe-area-inset-bottom)); font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.foot nav { display: flex; gap: 1.5rem; }

/* ---------- Runder WhatsApp-Knopf unten rechts ---------- */
.fab {
  position: fixed; z-index: 30; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 3.75rem; height: 3.75rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--white);
  box-shadow: 0 10px 28px rgb(0 0 0 / .65), 0 0 0 1px rgb(255 255 255 / .14);
  translate: 0 160%; transition: translate .4s var(--ease);
}
.fab.show { translate: 0 0; }
.fab svg { width: 2rem; height: 2rem; }
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--gold); color: var(--black); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: 3rem 5rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; letter-spacing: -.015em; margin: 2.2rem 0 .6rem; }
.legal p { color: var(--text-2); max-width: 70ch; }
.legal strong { color: var(--text); }
