/* stunden-hotels.com: Grundlage. Farben, Maße und Aufbau nach doku/1-uebergabe.md (Abschnitt 10)
   und dem Entwurf design/stadtseite-entwurf.dc.html. */

@font-face {
  font-family: "Fraunces";
  src: url("../schriften/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../schriften/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --grund: #fbf4f1;
  --flaeche: #ffffff;
  --abgesetzt: #f5e8e4;
  --bildgrund: #f0dcd8;
  --text: #2a1a24;
  --text-leise: #5b4750;
  --text-klein: #6e5a63;
  --akzent: #7a2141;
  --akzent-dunkel: #561229;
  --linie: #e6d5d0;
  --linie-stark: #cbb3ae;
  --chip-grund: #f3e4e0;
  --chip-text: #4a3340;
  --radius: 14px;
  --schrift-kopf: "Fraunces", Georgia, "Times New Roman", serif;
  --schrift-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1rem;
  line-height: 1.5;
}

main { flex: 1; }

h1, h2, h3 {
  font-family: var(--schrift-kopf);
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-weight: 400; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h2 { font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-weight: 600; font-size: 1.15rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--akzent); }
a:hover { color: var(--akzent-dunkel); }

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

.breite { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 24px; }
.schmal { max-width: 44rem; }
.breite.schmal { max-width: calc(44rem + 48px); margin-inline: auto; }
.leise { color: var(--text-leise); }
.nurleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sprung { position: absolute; left: -999px; top: 0; background: var(--flaeche); padding: 0.75rem 1rem; }
.sprung:focus { left: 1rem; top: 1rem; z-index: 10; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: 14px;
}
.wortmarke {
  font-family: var(--schrift-kopf);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.wortmarke:hover { color: var(--text); }
.wortmarke__punkt { color: var(--akzent); }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 0.9375rem; }
.nav a:not(.knopf) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-leise);
  text-decoration: none;
}
.nav a:not(.knopf):hover { color: var(--akzent); }

/* Schaltflächen */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--akzent);
  border-radius: 999px;
  background: var(--akzent);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.knopf:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); color: #fff; }
.knopf--rand { background: transparent; color: var(--akzent); }
.knopf--rand:hover { background: var(--akzent); color: #fff; }

/* Bühne: Kopfbereich einer Seite */
.buehne { padding-block: 48px 28px; }
.dachzeile {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--akzent);
  font-weight: 700;
}
.dachzeile a { color: inherit; text-decoration: none; display: inline-block; padding-block: 6px; }
.dachzeile a:hover { text-decoration: underline; }
.einleitung { margin: 16px 0 0; max-width: 680px; font-size: 1.125rem; color: var(--text-leise); }
.buehne .knopf { margin-top: 20px; }

/* Suche */
.suche { margin-top: 28px; max-width: 34rem; }
.suche label { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 6px; }
.suche__zeile { display: flex; gap: 10px; }
.suche input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--text);
  font: inherit;
}
.suche .knopf { min-height: 48px; margin-top: 0; }
/* Vorschläge unter dem Suchfeld */
.suche__feld { position: relative; flex: 1; display: flex; min-width: 0; }
.suche__feld input { width: 100%; }
.vorschlaege { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; max-height: 23rem; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; box-shadow: 0 16px 40px rgba(42, 26, 36, 0.16); }
.vorschlaege[hidden] { display: none; }
.vorschlaege__titel { padding: 8px 12px 6px; font-size: 0.8125rem; font-weight: 700; color: var(--text-klein); }
.vorschlaege a { color: inherit; }
.vorschlaege [role="option"] a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 12px; border-radius: 10px; text-decoration: none; }
.vorschlaege [role="option"] a:hover, .vorschlaege [role="option"][aria-selected="true"] a { background: #f5e8e4; }
.vorschlaege__ort { display: flex; flex-direction: column; line-height: 1.35; }
.vorschlaege__land, .vorschlaege__zahl { font-size: 0.8125rem; color: var(--text-klein); }
.vorschlaege__zahl { white-space: nowrap; }
.vorschlaege__leer { padding: 12px; font-size: 0.9375rem; }
.vorschlaege__leer a { color: #7a2141; text-decoration: underline; }
/* Füllstoff in E-Mail-Adressen, siehe mailText() */
.fern { display: none; }

.hinweis {
  margin-top: 20px;
  max-width: 44rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--linie-stark);
  border-radius: var(--radius);
  background: var(--flaeche);
}
.hinweis--fehler { border-color: var(--akzent); }

/* Abschnitte */
.block { padding-block: 28px 44px; }
.block--liste { padding-top: 0; }
.abgesetzt { background: var(--abgesetzt); border-block: 1px solid var(--linie); margin-block: 16px; }
.abgesetzt .block { padding-block: 56px; }

/* Städte-Kacheln */
.kachelreihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ortkachel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px 20px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}
.ortkachel:hover { border-color: var(--akzent); color: var(--text); }
.ortkachel__land { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--akzent); font-weight: 700; }
.ortkachel__name { font-family: var(--schrift-kopf); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.ortkachel__zahl { font-size: 0.875rem; color: var(--text-klein); }

/* Bundesländer */
.laenderliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; }
.laenderliste a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  border-bottom: 1px solid var(--linie);
  color: var(--text);
  text-decoration: none;
}
.laenderliste a:hover { color: var(--akzent); border-color: var(--akzent); }
.laenderliste__zahl { font-size: 0.8125rem; color: var(--text-klein); white-space: nowrap; }

/* Diskretions-Check und ähnliche Kästen */
.fuenfer { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 28px; }
.dreier { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.punkt { padding: 20px; border: 1px solid var(--linie); border-radius: 12px; }
.dreier .punkt { background: var(--flaeche); }
.punkt h2, .punkt h3 { margin: 0 0 6px; font-family: var(--schrift-text); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; color: var(--akzent); }
.punkt p { margin: 0; font-size: 0.9375rem; color: var(--text-leise); }
.punkt p + p { margin-top: 16px; }

.schritte3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; counter-reset: schritt; }
.schritte3 li { counter-increment: schritt; padding-top: 14px; border-top: 1px solid var(--linie-stark); }
.schritte3 li::before { content: counter(schritt); font-family: var(--schrift-kopf); font-size: 2rem; line-height: 1; color: var(--akzent); }
.schritte3 h3 { margin: 8px 0 6px; }
.schritte3 p { margin: 0; color: var(--text-leise); }

.zweispalter { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 48px; align-items: start; }
.zweispalter p { color: var(--text-leise); max-width: 40rem; }
.kasten { padding: 28px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); }
.kasten h2 { font-size: 1.5rem; }
.kasten p:last-child { margin: 0; }

/* Liste der Häuser */
.zaehler { margin: 0 0 16px; font-size: 0.875rem; color: var(--text-klein); }
.hausliste { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.haus {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--flaeche);
  border: 1px solid var(--linie);
}
.haus:hover { border-color: var(--akzent); }
.haus__bild {
  flex: 0 0 168px;
  min-height: 148px;
  border-radius: 10px;
  background: var(--bildgrund);
  color: var(--akzent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.haus__mitte { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.haus__art { margin: 0; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--akzent); font-weight: 700; }
.haus__name { margin: 0; font-family: var(--schrift-kopf); font-weight: 600; font-size: 1.5rem; line-height: 1.15; letter-spacing: 0; }
.haus__zeile { margin: 0; font-size: 0.9375rem; color: var(--text-leise); }
.haus__stand { margin: 2px 0 0; font-size: 0.8125rem; color: var(--text-klein); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chips li { font-size: 0.8125rem; padding: 4px 10px; border-radius: 999px; background: var(--chip-grund); color: var(--chip-text); }
.haus__rechts { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; }
.haus__preis { margin: 0; text-align: right; font-size: 0.8125rem; color: var(--text-klein); }
.haus__preis span { font-family: var(--schrift-kopf); font-size: 1.875rem; color: var(--text); line-height: 1; }
.haus__kontakt { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

/* Städte-Kacheln mit Bild und Länderseite */
.kachelreihe--bild { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ortkachel--bild { padding: 0; overflow: hidden; }
.ortkachel--bild:hover { border-color: var(--akzent); }
.ortkachel__bild { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--bildgrund); overflow: hidden; }
.ortkachel__foto { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ortkachel--bild:hover .ortkachel__foto { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .ortkachel--bild:hover .ortkachel__foto { transform: none; } }
.ortkachel__text { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 16px; }
.ortkachel__arten { font-size: 0.8125rem; color: var(--text-leise); }

.land__kopf { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.land__kopf--ohne-bild { grid-template-columns: minmax(0, 1fr); }
.land__kopf .einleitung { max-width: 36rem; margin-top: 20px; }
.land__bild { margin: 0; position: relative; }
.land__bild img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--bildgrund); }
@media (max-width: 60rem) {
  .land__kopf { grid-template-columns: minmax(0, 1fr); }
  .land__bild img { aspect-ratio: 16 / 10; }
}

/* Bilder */
.haus__bild--foto { margin: 0; position: relative; padding: 0; overflow: hidden; background: var(--bildgrund); }
.haus__foto { display: block; width: 100%; height: 100%; object-fit: cover; }
.bildhinweis {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(251, 244, 241, 0.94);
  color: var(--text-leise);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}
.eintrag__bild { margin: 0 0 32px; }
.eintrag__bild img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--radius); background: var(--bildgrund); }
.eintrag__bild figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--text-klein); }

/* Filter der Stadtseite */
.filterleiste { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.filterleiste[hidden], .haus[hidden], #filter-leer[hidden] { display: none; }
.chip-knopf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}
.chip-knopf:hover { border-color: var(--akzent); }
.chip-knopf[aria-pressed="true"] { background: var(--akzent); border-color: var(--akzent); color: #fff; font-weight: 700; }
.chip-knopf__zahl { font-size: 0.8125rem; opacity: 0.75; }
#filter-leer { margin: 0 0 16px; }

/* Stadtseite: Liste und Karte */
.stadt { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(24rem, 1fr); gap: 32px; align-items: start; }
.stadt--ohne-karte { grid-template-columns: minmax(0, 1fr); }
.stadt .hausliste { max-width: none; }
.stadt__karte { position: sticky; top: 16px; }

.karte {
  position: relative;
  height: 720px;
  max-height: 82vh;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f1e6e1;
}
.karte__platzhalter { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.karte__skizze { position: absolute; inset: 0; width: 100%; height: 100%; }
.karte__inhalt { position: relative; text-align: center; padding: 20px; background: rgba(251, 244, 241, 0.92); border: 1px solid var(--linie-stark); border-radius: var(--radius); }
.karte__titel { margin: 0 0 12px; font-family: var(--schrift-kopf); font-size: 1.25rem; font-weight: 600; }
.karte__flaeche { position: absolute; inset: 0; }
.karte .knopf:disabled { opacity: 0.7; cursor: progress; }

.karten-marker { background: none; border: 0; }
.karten-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--akzent);
  background: #fff;
  color: var(--text);
  font: 700 0.9375rem/1 var(--schrift-text);
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(42, 26, 36, 0.25);
}
.karten-marker--aktiv .karten-pin { background: var(--akzent); color: #fff; }
.karten-popup a { display: inline-block; margin-top: 6px; }
.haus--aktiv { border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent); }

@media (max-width: 70rem) {
  .stadt { grid-template-columns: 1fr; }
  .stadt__karte { position: static; }
  .karte { height: 420px; }
}

/* Eintragsseite */
.vorschau { border-color: var(--akzent); background: #fbeef1; max-width: none; }
.haus__name a { color: inherit; text-decoration: none; }
.haus__name a:hover { color: var(--akzent); text-decoration: underline; }
.haus__preis small { font-size: 0.8125rem; color: var(--text-klein); }
.haus__preis--ohne { text-align: left; }

.eintrag { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 32px; align-items: start; padding-block: 12px 24px; }
.eintrag__haupt > section { margin-bottom: 36px; }
.eintrag__haupt h2 { margin-bottom: 8px; }
.fuenfer--eintrag { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 16px; }
.punkt__wert { font-weight: 600; color: var(--text) !important; margin: 0; }
.punkt__wert--offen { font-weight: 400; color: var(--text-klein) !important; font-style: italic; }
.punkt__text { margin: 6px 0 0 !important; font-size: 0.875rem; }
.punkt__stand { margin: 6px 0 0 !important; font-size: 0.8125rem; color: var(--text-klein) !important; }
.chips--gross li { font-size: 0.9375rem; padding: 6px 14px; }

.tabellenrahmen { overflow-x: auto; }
.angebote { width: 100%; border-collapse: collapse; background: var(--flaeche); border: 1px solid var(--linie); }
.angebote th, .angebote td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.angebote th { background: var(--abgesetzt); font-size: 0.875rem; }

.eintrag__seite { position: sticky; top: 16px; }
.eintrag__seite .haus__preis { margin-bottom: 18px; }
.eintrag__seite .haus__preis span { font-size: 2.25rem; }
.kasten .kleinkopf, .kleinkopf { font-family: var(--schrift-text); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--akzent); font-weight: 700; margin: 16px 0 4px; }
.eintrag__seite p { margin-bottom: 0.5em; }
.kontakt { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 14px; }
.klein { font-size: 0.8125rem; color: var(--text-klein); }

.melden { border-top: 1px solid var(--linie); }
.meldefelder { display: grid; gap: 10px; max-width: 44rem; margin-top: 16px; }
.meldefelder details { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); }
.meldefelder summary { display: flex; align-items: center; min-height: 48px; padding: 0 18px; font-weight: 700; cursor: pointer; }
.meldefelder .formular { max-width: none; margin: 0; padding: 0 18px 18px; }
.meldefelder textarea { padding: 0.5rem 0.9rem; border: 1px solid var(--linie-stark); border-radius: var(--radius); background: var(--flaeche); color: var(--text); font: inherit; }
.meldefelder .knopf { justify-self: start; margin-top: 6px; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 60rem) {
  .eintrag { grid-template-columns: 1fr; }
  .eintrag__seite { position: static; order: -1; }
}

/* Ratgeber */
.kurzantwort { margin: 20px 0 0; max-width: 44rem; padding: 16px 20px; background: var(--flaeche); border: 1px solid var(--linie-stark); border-left: 4px solid var(--akzent); border-radius: var(--radius); font-size: 1.125rem; color: var(--text); }
.ratgeber { padding-block: 12px 56px; }
.ratgeber > section { margin-bottom: 8px; }
.ratgeber h3 { font-family: var(--schrift-text); font-size: 1.0625rem; font-weight: 700; margin: 1.4rem 0 0.3rem; color: var(--text); }
.ratgeberliste { list-style: disc; margin: 0 0 1em; padding-left: 1.3rem; }
.ratgeberliste--zahlen { list-style: decimal; }
.ratgeberliste li { margin-bottom: 0.5em; color: var(--text-leise); }
.beispiel { padding: 4px 22px 14px; background: var(--abgesetzt); border: 1px solid var(--linie); border-radius: var(--radius); margin: 1.6rem 0; }
.beispiel__hinweis { font-size: 0.875rem; color: var(--text-klein) !important; font-style: italic; }
.ratgeber .tabellenrahmen { margin-bottom: 1rem; }
.quellen details { border-top: 1px solid var(--linie); padding-top: 12px; margin-top: 28px; }
.quellen summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--text-leise); }
/* Pfeil zeigt, dass sich die Quellen aufklappen lassen */
.quellen summary { gap: 12px; list-style: none; }
.quellen summary::-webkit-details-marker { display: none; }
.quellen summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid var(--akzent, #7a2141); border-bottom: 2px solid var(--akzent, #7a2141); transform: rotate(45deg); transition: transform .2s; }
.quellen details[open] summary::after { margin-top: 4px; transform: rotate(225deg); }
.quellen summary:hover { color: var(--akzent, #7a2141); }
@media (prefers-reduced-motion: reduce) { .quellen summary::after { transition: none; } }
.ratgeber__bild { margin: 1.6rem 0; position: relative; }
.ratgeber__bild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--bildgrund); }
.kachelreihe--breit { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.kachelreihe--breit .ortkachel__zahl { font-size: 0.9375rem; line-height: 1.5; }

/* Fließtext-Seiten (Impressum, Datenschutz, Ratgeber) */
.abschnitt { padding-block: 48px 64px; }
.text h1 { margin-bottom: 0.5em; }
.text h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2rem; letter-spacing: 0; }
.text ul { margin: 0 0 1em; padding-left: 1.3rem; list-style: disc; }
.text li { margin-bottom: 0.3em; }
.text p, .text li { color: var(--text-leise); }
.text a { overflow-wrap: anywhere; }
.text .stand { margin-top: 2.5rem; color: var(--text-klein); font-size: 0.9375rem; }

/* Einfache Formulare (Einrichtung, Anmeldung) */
.formular { display: grid; gap: 0.6rem; max-width: 26rem; margin-top: 1.5rem; }
.formular label { font-weight: 600; }
.formular input {
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--linie-stark);
  border-radius: var(--radius);
  background: var(--flaeche);
  color: var(--text);
  font: inherit;
}
.einrichtung__zwischen { margin: 1rem 0 0; color: var(--text-leise); }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); font-size: 0.875rem; color: var(--text-klein); }
.fuss__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-block: 16px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.fuss a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-leise); }

/* Raster: Überschrift links, Inhalt rechts. Gibt Länder-, Stadt- und Startseite einen ruhigen, gleichen Aufbau. */
.reihe { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 16px 56px; align-items: start; padding-block: 40px; border-top: 1px solid var(--linie); }
.reihe__kopf { position: sticky; top: 20px; }
.reihe__kopf h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.reihe__kopf p { margin: 0; font-size: 0.9375rem; color: var(--text-klein); }
.reihe__inhalt > :first-child { margin-top: 0; }
.reihe__inhalt > :last-child { margin-bottom: 0; }
.reihe__inhalt.text { max-width: 44rem; }
.reihe .hausliste { max-width: none; }
.reihe .laenderliste { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.faq .reihe__inhalt h3 { font-family: var(--schrift-text); font-size: 1.0625rem; font-weight: 700; margin: 1.5rem 0 0.3rem; }
.faq .reihe__inhalt h3:first-child { margin-top: 0; }
@media (max-width: 60rem) {
  .reihe { grid-template-columns: minmax(0, 1fr); padding-block: 28px; }
  .reihe__kopf { position: static; }
}

/* Städte eines Bundeslands */
.kachelreihe--land { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.reihe__kopf p + p { margin-top: 10px; }
.ortkachel__text { flex: 1; }
.ortkachel__aufruf {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px;
  border: 1px solid var(--akzent); border-radius: 999px; color: var(--akzent); font-size: 0.875rem; font-weight: 700;
}
.ortkachel__arten + .ortkachel__aufruf, .ortkachel__zahl + .ortkachel__aufruf { margin-top: 12px; }
.ortkachel:hover .ortkachel__aufruf { background: var(--akzent); color: #fff; }

/* Liste größerer Städte */
.stadtliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 28px; }
.stadtliste a, .stadtliste__leer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px;
  border-bottom: 1px solid var(--linie); color: var(--text); text-decoration: none;
}
.stadtliste a:hover { color: var(--akzent); border-color: var(--akzent); }
.stadtliste__leer { color: var(--text-klein); }

/* Karten: leichte Tiefe */
.haus, .ortkachel, .kasten { box-shadow: 0 1px 2px rgba(42, 26, 36, 0.04); }
.haus:hover, .ortkachel:hover { box-shadow: 0 6px 20px rgba(42, 26, 36, 0.08); }
.haus, .ortkachel { transition: box-shadow 0.2s ease, border-color 0.2s ease; }
@media (prefers-reduced-motion: reduce) { .haus, .ortkachel { transition: none; } }

/* Stadtseite mit Stadtbild */
.stadt__kopf .land__bild img { aspect-ratio: 16 / 10; }
.stadt__kopf { padding-bottom: 36px; }

/* Startseite */
.start__kopf { padding-block: 40px 36px; }
.fakten { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--linie); font-size: 0.9375rem; color: var(--text-leise); }
.fakten li { display: flex; align-items: baseline; gap: 8px; }
.fakten strong { font-family: var(--schrift-kopf); font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--akzent); }
.blockkopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 20px; }
.blockkopf h2 { margin: 0; }
.blockkopf p { margin: 0; font-size: 0.9375rem; color: var(--text-klein); }
.kachelreihe--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.kachelreihe--drei .ortkachel__bild { aspect-ratio: 3 / 2; }
.kachelreihe--drei .ortkachel__text { padding: 18px 22px 20px; }
.kachelreihe--drei .ortkachel__name { font-size: 1.75rem; }
@media (max-width: 60rem) { .kachelreihe--drei { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 36rem) { .kachelreihe--drei { grid-template-columns: minmax(0, 1fr); } }
.abgesetzt .fuenfer { counter-reset: frage; }
.abgesetzt .fuenfer .punkt { counter-increment: frage; background: var(--flaeche); }
.abgesetzt .fuenfer .punkt::before { content: counter(frage); display: block; margin-bottom: 10px; font-family: var(--schrift-kopf); font-size: 1.75rem; line-height: 1; color: var(--akzent); }

@media (max-width: 40rem) {
  .breite { padding-inline: 18px; }
  .buehne { padding-block: 32px 20px; }
  .nav { gap: 4px 18px; }
  .haus__bild { flex: 1 1 100%; min-height: 96px; }
  .haus__rechts { flex: 1 1 100%; flex-direction: row; align-items: center; }
  .haus__preis { text-align: left; }
  .suche__zeile { flex-wrap: wrap; }
  .suche__feld { flex: 1 1 100%; }
  .suche .knopf { flex: 1 1 100%; }
}
