/* ════════════════════════════════════════════════════════════
   Startseite v4 – zwei Türen (Eigentümer · Makler)
   Umsetzung des Handoffs „design_handoff_website_v4".

   Die Seite enthält die Texte BEIDER Türen. Welche sichtbar ist,
   steuert html[data-tuer] – ohne JavaScript bleibt „Eigentümer"
   stehen. Unter 720 px gilt die Mobil-Fassung (Menü, feste
   Aktionsleiste, Bottom-Sheet, Wisch-Reihe).

   Schriften liegen unter fonts/ – keine Verbindung zu Google
   (siehe datenschutz.html, „Hosting & Server").
   ════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 500;
  src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 700;
  src: url('../fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 400;
  src: url('../fonts/newsreader-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 500;
  src: url('../fonts/newsreader-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-display: swap; font-weight: 400;
  src: url('../fonts/newsreader-latin-400-italic.woff2') format('woff2'); }

:root {
  --navy: #0c1826;
  --navy-hover: #13243a;
  --ink: #0f2b2e;
  --muted: #5a6b6c;
  --teal: #1abbb4;
  --teal-text: #0c7d77;
  --surface-alt: #f4f6f7;
  --border: #e2e8e9;
  --border-strong: #d3dcdd;
  --grid: #e6ecec;
  --gut: #2f6b4f;
  --gut-bg: #f3faf6;
  --disabled: #9aa7a8;
  --warn: #b25a2b;
  --warn-bg: #fdf4ee;
  --bild-leer: #eef2f3;
  --rand: clamp(20px, 4vw, 48px);
  --abschnitt: clamp(56px, 8vw, 96px);
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --serif: 'Newsreader', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #ffffff; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.gesperrt { overflow: hidden; }
a { color: var(--teal-text); text-decoration: none; }
a:hover { color: var(--navy); }
button { font-family: inherit; }
a, button { -webkit-tap-highlight-color: rgba(26, 187, 180, .18); }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
/* hidden gilt immer – auch dort, wo eine Klasse display setzt (Aktionsleiste, Telefon) */
[hidden] { display: none !important; }

.inhalt { max-width: 1240px; margin: 0 auto; padding-inline: var(--rand); }
.abschnitt { padding-block: var(--abschnitt); }
section[id] { scroll-margin-top: 68px; }
.rand-oben { border-top: 1px solid var(--border); }

/* Tür: Texte der jeweils anderen Tür ausblenden */
html[data-tuer="makler"] [data-tuer-nur="eigentuemer"],
html:not([data-tuer="makler"]) [data-tuer-nur="makler"] { display: none !important; }
/* Mobil / Desktop: Varianten derselben Stelle */
.nur-mobil { display: none !important; }

.augenbraue { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--teal-text); }
.h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: var(--navy); text-wrap: balance; }
.knopf { display: inline-block; padding: 15px 24px; border-radius: 8px; background: var(--navy); color: #ffffff; font-size: 15px; font-weight: 800; border: 0; cursor: pointer; }
.knopf:hover { background: var(--navy-hover); color: #ffffff; }
.kopf-zeile { display: flex; align-items: flex-end; gap: 16px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.kopf-zeile > div { flex: 1 1 420px; }
.kopf-zeile > p { flex: 1 1 320px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 440px; text-wrap: pretty; }

/* ── 0 Navigation ─────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav .inhalt { height: 68px; display: flex; align-items: center; gap: 20px; }
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { margin-left: auto; min-width: 0; display: flex; align-items: center; gap: 24px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink); }
.nav-links a:hover { color: var(--teal-text); }
.nav-cta { flex: none; font-size: 14px; font-weight: 700; color: #ffffff; background: var(--navy); padding: 11px 18px; border-radius: 8px; white-space: nowrap; }
.nav-cta:hover { background: var(--navy-hover); color: #ffffff; }
.menu-knopf { margin-left: auto; height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 10px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: #ffffff; color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.menu-knopf span { display: flex; flex-direction: column; gap: 4px; }
.menu-knopf i { display: block; width: 16px; height: 2px; border-radius: 1px; background: var(--navy); }
.menu-knopf i:last-child { width: 11px; }

/* ── 1 Kopf ───────────────────────────────────────────────── */
.kopf { background: var(--navy); color: #ffffff; }
.kopf-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }   /* nebeneinander erst ab 1200 px, darunter wie am Handy */
.kopf-text { padding: clamp(48px, 8vw, 104px) var(--rand) clamp(40px, 5vw, 56px) max(var(--rand), calc((100vw - 1240px) / 2 + 48px));
  display: flex; flex-direction: column; justify-content: flex-end; }
.kopf .augenbraue { margin-bottom: 18px; color: var(--teal); }
.kopf h1 { font-size: clamp(46px, 6.4vw, 92px); font-weight: 900; line-height: .92; letter-spacing: -.045em; }
.kopf h1 em { font-style: normal; color: var(--teal); }
.wer { margin-top: clamp(28px, 4vw, 40px); font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.tueren { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; max-width: 620px; }
.tuer { text-align: left; padding: 16px 18px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #ffffff;
  cursor: pointer; transition: background .15s, border-color .15s; }
.tuer:hover { border-color: #ffffff; }
.tuer[aria-pressed="true"] { background: #ffffff; color: var(--navy); border-color: #ffffff; }
.tuer b { display: block; font-size: 17px; font-weight: 800; }
.tuer small { display: block; margin-top: 3px; font-size: 13px; opacity: .75; }
.tuer-hinweis { margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.kopf-bild { position: relative; min-height: clamp(360px, 48vw, 620px); overflow: hidden; }
.kopf-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.kopf-bild::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, rgba(12, 24, 38, 0) 30%), linear-gradient(to top, var(--navy) 0%, rgba(12, 24, 38, 0) 25%); }
.kopf-pille { position: absolute; right: 20px; bottom: 20px; z-index: 1; padding: 8px 12px; border-radius: 999px; background: rgba(12, 24, 38, .78);
  font-size: 12.5px; font-weight: 600; color: #ffffff; }

/* Unter 1200 px reicht der Platz nicht für Text und Foto nebeneinander. Statt
   Text oben und Foto lose darunter: derselbe Aufbau wie am Handy – Foto oben,
   der Text überlappt es unten –, nur größer. Der Handy-Block (< 720 px) unten
   setzt danach seine eigenen Maße. */
@media (max-width: 1199px) {
  .kopf-raster { display: flex; flex-direction: column-reverse; }
  .kopf-bild { min-height: 0; height: clamp(300px, 54vw, 540px); }
  .kopf-bild img { object-position: 50% 20%; }
  .kopf-bild::after { background: linear-gradient(to top, var(--navy) 0%, rgba(12, 24, 38, .6) 28%, rgba(12, 24, 38, 0) 60%); }
  .kopf-pille { display: none; }
  .kopf-text { position: relative; z-index: 1; margin-top: clamp(-120px, -11vw, -64px); padding: 0 var(--rand) clamp(32px, 5vw, 56px); }
}

/* ── 2 48-Stunden-Uhr ─────────────────────────────────────── */
.uhr { background: var(--navy); color: #ffffff; border-top: 1px solid rgba(255, 255, 255, .1); }
.uhr .inhalt { padding-block: clamp(36px, 5vw, 52px) clamp(40px, 5vw, 56px); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 56px; align-items: end; }
.uhr-satz { font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; color: rgba(255, 255, 255, .8); }
.uhr-tag { margin-top: 10px; font-size: clamp(34px, 4.4vw, 52px); font-weight: 900; line-height: 1; letter-spacing: -.035em; }
.uhr-zeit { margin-top: 4px; font-family: var(--mono); font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.04em; color: var(--teal); }
.uhr-kopf { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.uhr-kopf span { white-space: nowrap; }
.uhr-balken, .uhr-etappen { display: grid; grid-template-columns: 1fr 2fr 2fr 1fr; gap: 4px; }
.uhr-balken i { height: 8px; border-radius: 4px; }
.e1 { background: var(--teal); }
.e2 { background: rgba(26, 187, 180, .55); }
.e3 { background: rgba(26, 187, 180, .3); }
.e4 { background: #ffffff; }
.uhr-etappen { margin: 10px 0 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .78); }
.uhr-etappen li:last-child { color: #ffffff; font-weight: 700; }
.uhr-etappen li i { display: none; }

/* ── 3 Ablauf ─────────────────────────────────────────────── */
.ablauf .inhalt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px 64px; }
.ablauf-text { margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 480px; text-wrap: pretty; }
.ablauf .knopf { margin-top: 28px; }
.knopf-unter { margin-top: 12px; font-size: 13px; color: var(--muted); }
.schritte { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--navy); }
.schritte li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.nr { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #ffffff; font-size: 11.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 2px; flex: none; }
.schritte b { display: block; font-size: clamp(17px, 1.6vw, 19px); font-weight: 800; color: var(--ink); }
.schritte p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* ── 4 Warum wir ──────────────────────────────────────────── */
.gruende { background: var(--surface-alt); border-top: 1px solid var(--border); }
.gruende-liste { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0 56px; border-top: 1px solid var(--navy); }
.gruende-liste li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 26px 0; border-bottom: 1px solid var(--border-strong); }
.pfeil { font-size: 22px; font-weight: 700; color: var(--teal); line-height: 1.2; }
.gruende-liste b { display: block; font-size: clamp(19px, 1.8vw, 22px); font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.gruende-liste p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.zusage { margin-top: 32px; background: var(--navy); border-radius: 14px; padding: clamp(20px, 3vw, 28px); color: #ffffff; }
.zusage-titel { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); }
.zusage ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px 24px; }
.zusage li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; font-weight: 600; line-height: 1.4; }
.zusage li::before { content: '✓'; color: var(--teal); }

/* ── 5 Brief ──────────────────────────────────────────────── */
/* Handoff 2026-10-14-website-brief: links Zeichen + Zitat, rechts die Absätze unter einer Linie.
   Ab ca. 912 px Inhaltsbreite zwei Spalten, darunter eine. */
.brief .abschnitt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 36px 72px; align-items: start; font-family: var(--serif); }
.brief-links { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 22px); }
.brief-links .augenbraue { font-family: var(--sans); }
/* Kasten auf die Farbe des Zeichens beschnitten – gleicher Abstand oben und unten, kein negativer Rand */
.brief-zeichen { display: block; font-size: clamp(84px, 9vw, 120px); line-height: 1; height: .42em; overflow: hidden; margin-top: 4px; color: var(--teal); font-weight: 500; }
.brief-zitat { margin: 0; font-size: clamp(32px, 3.8vw, 46px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.brief-rechts { display: flex; flex-direction: column; color: var(--ink); border-top: 2px solid var(--navy); padding-top: clamp(8px, 3vw, 44px); }
.brief-rechts p { margin: 28px 0 0; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; text-wrap: pretty; }
.brief-rechts p + p { margin-top: 20px; }
.brief-rechts strong { font-weight: 600; color: var(--navy); }
.brief-rechts .knopf { align-self: flex-start; margin-top: 36px; font-family: var(--sans); }

/* ── 6 Bestand (vorbereitet, noch aus) ───────────────────── */
.bestand-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.bestand-karte { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #ffffff; scroll-snap-align: start; }
.bestand-bild { position: relative; aspect-ratio: 4 / 3; background: var(--bild-leer); }
.bestand-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bestand-karte[data-zeigt="vorher"] img[data-nachher], .bestand-karte:not([data-zeigt="vorher"]) img[data-vorher] { display: none; }
.vn { position: absolute; left: 12px; top: 12px; display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(12, 24, 38, .85); }
.vn button { height: 36px; padding: 0 14px; border-radius: 7px; border: 0; background: transparent; color: #ffffff; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.vn button[aria-pressed="true"] { background: #ffffff; color: var(--navy); }
.bestand-info { padding: 16px 18px; }
.bestand-info b { font-size: 16px; font-weight: 800; }
.bestand-werte { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 10px; border-top: 1px solid var(--grid); }
.bestand-werte small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.bestand-werte span { display: block; margin-top: 2px; font-size: 14px; font-weight: 700; }
.bestand-info p { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ── 7 Gebiet ─────────────────────────────────────────────── */
.gebiet .inhalt { padding-block: clamp(64px, 9vw, 112px) clamp(56px, 8vw, 104px); }
.staedte { margin-top: 22px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.3; letter-spacing: -.03em; color: var(--navy); text-wrap: balance; }
.staedte span { color: var(--teal); }
.dazwischen { margin-top: 12px; font-size: 16px; color: var(--muted); }
.profil { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 0 20px; border-top: 1px solid var(--navy); }
.profil > div { padding-top: 28px; }
.profil b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.profil b.akzent { color: var(--teal-text); }
.profil span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }
.gebiet-fuss { margin-top: clamp(40px, 5vw, 56px); display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.gebiet-fuss .knopf { padding: 15px 22px; }
.gebiet-fuss span { font-size: 14px; color: var(--muted); }

/* ── 8 Kontakt ────────────────────────────────────────────── */
.kontakt .inhalt { padding-block: clamp(64px, 9vw, 120px); }
.kontakt .augenbraue { margin-bottom: 14px; }
.kontakt .h2 { margin-top: 0; }
.kontakt-text { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 520px; text-wrap: pretty; }
.kontakt-mail { display: inline-block; margin-top: 28px; font-size: clamp(20px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.035em; color: var(--navy);
  border-bottom: 4px solid var(--teal); line-height: 1.15; overflow-wrap: anywhere; }
.kontakt-mail:hover { color: var(--teal-text); }
.kontakt-spalten { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--border); }
.kontakt-spalten > div { padding: 20px 24px 0 0; }
.kontakt-spalten small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.kontakt-spalten b, .kontakt-spalten a { display: block; margin-top: 6px; font-size: 18px; font-weight: 700; color: var(--ink); }

/* ── 9 Fußzeile ───────────────────────────────────────────── */
.fuss { background: var(--navy); }
.fuss .inhalt { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.fuss b { font-size: 15px; font-weight: 800; color: #ffffff; }
.fuss nav { display: flex; gap: 24px; flex-wrap: wrap; }
.fuss nav a { font-size: 13px; color: rgba(255, 255, 255, .7); }
.fuss nav a:hover { color: #ffffff; }
.fuss small { margin-left: auto; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ── Aktionsleiste und Menü (nur mobil) ───────────────────── */
.leiste { display: none; }
.menu { position: fixed; inset: 0; z-index: 95; background: var(--navy); color: #ffffff; display: flex; flex-direction: column;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-kopf { height: 56px; display: flex; align-items: center; }
.menu-kopf b { font-size: 15px; font-weight: 800; }
.menu-zu { margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #ffffff; font-size: 22px; cursor: pointer; }
.menu-tueren { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.menu-tueren button { height: 44px; border-radius: 9px; border: 0; background: transparent; color: #ffffff; font-size: 14px; font-weight: 700; cursor: pointer; }
.menu-tueren button[aria-pressed="true"] { background: #ffffff; color: var(--navy); }
.menu-links { margin-top: 20px; display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .14); }
.menu-links a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #ffffff; }
.menu-links a::after { content: '→'; font-size: 20px; color: var(--teal); }
.menu-unten { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.menu-cta { height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--teal); color: var(--navy); font-size: 15px; font-weight: 800; }
.menu-cta:hover { color: var(--navy); }
.menu-mail { text-align: center; font-size: 14px; color: rgba(255, 255, 255, .75); }

/* ── Rückruf-Dialog ───────────────────────────────────────── */
.rr { position: fixed; inset: 0; z-index: 100; background: rgba(12, 24, 38, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rr[hidden] { display: none; }
.rr-fenster { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; background: #ffffff; border-radius: 16px;
  box-shadow: 0 24px 64px rgba(12, 24, 38, .35); padding-bottom: env(safe-area-inset-bottom); }
.rr-griff { display: none; }
.rr-kopf { display: flex; align-items: flex-start; gap: 16px; padding: 22px 22px 6px; }
.rr-kopf h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.rr-kopf p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.rr-zu { margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: #ffffff; color: var(--ink); font-size: 18px; cursor: pointer; }
.rr-inhalt { padding: 14px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.rr-inhalt[hidden] { display: none; }
.karte { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: #ffffff; }
.karte-kopf { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--grid); }
.karte-kopf .nr { margin-top: 0; }
.karte-kopf b { font-size: 14px; font-weight: 700; }
.karte-kopf small { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.feld { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.feld input, .feld textarea { padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 16px; color: var(--ink); font-family: inherit; background: #ffffff; }
.feld input { height: 44px; }
.feld textarea { padding: 10px 12px; line-height: 1.5; resize: vertical; }
.feld input:focus, .feld textarea:focus { border-color: var(--teal-text); outline: none; box-shadow: 0 0 0 3px rgba(26, 187, 180, .18); }
.haus { display: flex; flex-direction: column; gap: 14px; }
.chipgruppe { display: flex; flex-direction: column; gap: 6px; }
.chipgruppe > span { font-size: 12px; font-weight: 700; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips.zeiten { gap: 8px; }
.chip { min-height: 38px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--border-strong); background: #ffffff; color: var(--ink);
  font-size: 13px; font-weight: 600; cursor: pointer; }
.chips.zeiten .chip { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
.chip[aria-pressed="true"] { background: var(--navy); color: #ffffff; border-color: var(--navy); }
.karte-hinweis { margin-top: 10px; font-size: 12px; color: var(--muted); }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rr-senden { height: 52px; border-radius: 10px; border: 0; background: var(--navy); color: #ffffff; font-size: 15px; font-weight: 800; cursor: pointer; }
.rr-senden:disabled { background: var(--disabled); cursor: wait; }
/* Noch nicht vollständig: grau wie im Design, aber anklickbar – der Klick zeigt, was fehlt */
.rr-senden.inaktiv { background: var(--disabled); }
.rr-pflicht { font-size: 12px; color: var(--muted); margin: -4px 0 0; }
.rr-pflicht span, .stern { color: var(--warn); font-weight: 700; }
.feld-fehler { font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--warn); }
.feld-fehler::before { content: '! '; }
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: var(--warn); background: var(--warn-bg); }
.feld input[aria-invalid="true"]:focus { border-color: var(--warn); box-shadow: 0 0 0 3px rgba(178, 90, 43, .18); }
.karte-kopf small.warn { color: var(--warn); font-weight: 700; }
.rr-hinweis { padding: 10px 14px; border-radius: 10px; background: var(--warn-bg); border: 1px solid var(--warn); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rr-fehler { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--warn); background: var(--warn-bg); font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.rr-fehler[hidden] { display: none; }
.rr-klein { font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.erfolg { border: 1.5px solid var(--gut); border-radius: 12px; padding: 16px; background: var(--gut-bg); display: flex; gap: 14px; align-items: flex-start; }
.erfolg > i { width: 30px; height: 30px; border-radius: 50%; background: var(--gut); color: #ffffff; font-size: 15px; font-weight: 900; font-style: normal;
  display: flex; align-items: center; justify-content: center; flex: none; }
.erfolg b { display: block; font-size: 16px; font-weight: 800; }
.erfolg p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.erfolg .erfolg-haus { margin-top: 10px; padding-top: 10px; border-top: 1px solid #d3e6dc; font-size: 13px; color: var(--ink); }
.erfolg .erfolg-haus b { display: inline; font-size: inherit; }
.rr-schliessen { height: 48px; border-radius: 10px; border: 1px solid var(--border-strong); background: #ffffff; color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }

/* ════════════════════════════════════════════════════════════
   Mobil (< 720 px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 719px) {
  .nur-desktop { display: none !important; }
  .nur-mobil { display: revert !important; }
  .menu-knopf.nur-mobil { display: flex !important; }

  /* Kopf: Foto oben, Text überlappt */
  .kopf-raster { display: flex; flex-direction: column-reverse; }
  .kopf-bild { min-height: 0; height: 300px; }
  .kopf-bild img { object-position: 50% 20%; }
  .kopf-bild::after { background: linear-gradient(to top, var(--navy) 0%, rgba(12, 24, 38, .6) 28%, rgba(12, 24, 38, 0) 60%); }
  .kopf-pille { display: none; }
  .kopf-text { position: relative; z-index: 1; margin-top: -64px; padding: 0 20px 32px; }
  .kopf .augenbraue { margin-bottom: 12px; font-size: 10.5px; letter-spacing: 2.5px; }
  .kopf h1 { font-size: 44px; line-height: .94; }
  .wer { margin-top: 26px; font-size: 12.5px; color: rgba(255, 255, 255, .65); }
  .tueren { margin-top: 8px; grid-template-columns: 1fr 1fr; gap: 8px; }
  .tuer { min-height: 64px; padding: 12px 14px; }
  .tuer b { font-size: 15px; line-height: 1.2; }
  .tuer small { font-size: 11.5px; }
  .tuer-hinweis { display: none; }

  /* Uhr: Legende 2×2 */
  .uhr-etappen { grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 14px; line-height: 1.35; color: rgba(255, 255, 255, .8); }
  .uhr-etappen li { display: flex; gap: 8px; align-items: baseline; }
  .uhr-etappen li i { display: block; flex: none; width: 8px; height: 8px; border-radius: 2px; }

  .knopf-unter { margin-top: 16px; }
  .gruende-liste li { grid-template-columns: 28px minmax(0, 1fr); padding: 20px 0; }

  /* Brief: Foto 16:10 über dem Text */

  /* Bestand: Wisch-Reihe */
  .bestand-reihe { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding: 0 20px; margin: 0 -20px; padding: 0 20px 4px; gap: 12px; scrollbar-width: none; }

  .fuss { padding-bottom: 84px; }

  /* Feste Aktionsleiste */
  .leiste { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--border);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -8px 24px rgba(12, 24, 38, .06); }
  body.gesperrt .leiste { display: none; }
  .leiste a { height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 15px; }
  .leiste-anrufen { flex: none; padding: 0 16px; border: 1px solid var(--border-strong); color: var(--ink); font-weight: 700; }
  .leiste-cta { flex: 1; gap: 8px; background: var(--navy); color: #ffffff; font-weight: 800; }
  .leiste-cta:hover { color: #ffffff; }
  .leiste-cta span { color: var(--teal); }

  /* Rückruf als Bottom-Sheet */
  .rr { align-items: flex-end; padding: 0; }
  .rr-fenster { max-width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  .rr-griff { display: flex; justify-content: center; padding-top: 8px; }
  .rr-griff i { width: 40px; height: 5px; border-radius: 3px; background: var(--border-strong); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tuer { transition: none; }
}
