/* Mieter One – Design "Frisch"
   Nur Aussehen. Keine Texte, kein HTML, kein Skript.
   Diese Datei wird NACH style.css geladen und ueberschreibt Farben,
   Schriften und Formen. Zurueck zum alten Aussehen: die eine <link>-Zeile
   wieder entfernen.

   Einbau in jede HTML-Datei, direkt unter der Zeile mit style.css:
   <link rel="stylesheet" href="assets/frisch.css">

   Schriften liegen selbst gehostet in assets/schriften/ (SIL Open Font
   License 1.1), es wird nichts von Google geladen. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("schriften/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("schriften/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Farben und Grundwerte ---------- */
:root {
  --ink: #0E1B17;        /* fast schwarzes Gruen: Text, dunkle Flaechen */
  --ink2: #3A4A44;       /* Fliesstext - 17.10.2026 von #4B5B55 abgedunkelt,
                          war auf hellgrauen Flaechen zu blass (Review) */
  --ink3: #5E6E68;       /* Nebeninformationen - nur fuer Beiwerk, nicht
                          fuer Fliesstext */
  --sun: #C9F26A;        /* Akzent Limette (hier aendern fuer andere Akzentfarbe) */
  --brick: #0A7A4B;      /* Hervorhebung im Text, Links */
  --apricot: #EEF9CF;    /* helle Akzentflaeche */
  --sage: #DDF7E8;
  --sky: #E4F0FF;
  --rose: #F2F6F3;
  --cream: #FFFFFF;      /* Seitengrund */
  --line: #DFE7E2;
  --success: #0A7A4B;
  --mist: #F2F6F3;       /* ruhige Flaeche fuer Abschnitte und Kacheln */
  --radius: 28px;
  --display: "Instrument Sans", system-ui, -apple-system, sans-serif;  /* Ueberschriften: klare Schrift ohne Serifen */
  --body: "Instrument Sans", system-ui, -apple-system, sans-serif;
}

/* Keine seitliche Verschiebung auf dem Handy: clip statt hidden, sonst
   bliebe der sticky Header stehen. */
html, body { overflow-x: clip; }

/* ---------- Schrift ---------- */
body,
.toggle button,
.price-tag small,
.price-block .amount small { font-family: var(--body); }

h1, h2, h3,
.logo,
.step .num,
.price-tag,
.callout strong,
.dashboard-mock-header strong,
.score-value,
.avatar,
.gauge .v b,
.price-block .amount,
.price-options.zwei .price-option .amount,
.bestelluebersicht h3,
.zahlenkachel b,
.pb-punkte,
.pb-kopf b,
.ol-schritte.gross li::before { font-family: var(--display); }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; }
/* line-height 1.12 statt 1 (Markus, 12.10.2026: "Zeilenabstand leicht
   erhoehen"). Bei 1 stossen die Textmarker-Kaesten von h1 em aneinander
   und schneiden die Unterlaengen ab - das "g" in "Wohnung" und
   "Bewerbungen" verschwand unter der naechsten Zeile. */
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.05; }
.logo { font-weight: 700; letter-spacing: -0.02em; }
.hero .eyebrow, .eyebrow { letter-spacing: 0.1em; }

/* Hervorhebung in der Hauptueberschrift: wie mit Textmarker */
h1 em, .hero h1 span.hl {
  color: var(--ink);
  background: var(--sun);
  padding: 0 0.14em;
  border-radius: 0.18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Abschnitte ---------- */
.section-alt { background: var(--mist); }

/* ---------- Hinweis Testbetrieb, Kopfzeile ---------- */
/* Der Banner wird vollstaendig in style.css beschrieben - hier steht
   bewusst NICHTS mehr. Vorher ueberschrieb diese Datei den Grund mit
   `var(--ink)`, und niemand sah es, weil beide Regeln gleich spezifisch
   sind und die Ladereihenfolge entschied. */
header.site-header {
  background: #FFFFFF;
  background-image: none;
  border-bottom-color: transparent;
}
header.site-header.gescrollt { box-shadow: 0 2px 14px rgba(14, 27, 23, 0.08); }
.anmelden-link::before { background: var(--line); }

/* ---------- Knoepfe ---------- */
.btn { border-color: transparent; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn-primary:hover { background: var(--brick); border-color: var(--brick); color: #FFFFFF; }
.btn-outline { background: var(--mist); border-color: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--apricot); border-color: transparent; color: var(--ink); }
.section-alt .btn-outline { background: #FFFFFF; }
.section-alt .btn-outline:hover { background: var(--apricot); }
.tab-btn { border-color: var(--line); }
.tab-btn.active { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

/* ---------- Hero ---------- */
@media (min-width: 901px) {
  /* align-items: start statt des geerbten center (style.css:714): Die
     Grafik soll neben dem EINSTIEG stehen, nicht an der Mitte der ganzen
     Textspalte haengen - die reicht bis unter die Vertiefung und schob
     die Grafik rund 280px nach unten. */
  .hero-split { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: start; }
  /* Mindesthoehe gegen das Abschneiden der Produktansicht auf schmaler
     Spalte: aspect-ratio 1/1 macht die Box dort nur 385px hoch, die
     Ansicht darin rund 470px - overflow:hidden nahm oben und unten je
     ein Stueck fort, samt der Kennzeichnung "Beispielansicht". Auf
     breitem Desktop ist die Box groesser, die Regel wirkt dort nicht. */
  .hero-split .visual { margin-top: .5rem; min-height: 460px; }
}

/* Zwischen Mobil und breitem Desktop passen die beiden Knoepfe nicht
   nebeneinander (sie brauchen zusammen rund 550px, die Textspalte hat
   bei 1024px nur 462px). Dann untereinander - aber gleich breit und
   mittig beschriftet, nicht ungleich lang linksbuendig. */
@media (min-width: 641px) and (max-width: 1299px) {
  .einstiege { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .einstieg-block { width: 100%; max-width: 340px; }
  /* flex statt block: Mit display:block sitzt der Text bei min-height:52px
     oben in der Flaeche statt in der Mitte (Markus, 12.10.2026: "Text in
     Buttons immer mittig mittig zentrieren"). flex haelt die volle Breite
     UND zentriert in beiden Richtungen. */
  .einstieg-knopf { display: flex; align-items: center; justify-content: center;
                    text-align: center; }
}
.hero-split .hero-text h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1.12; }
.hero-secondary-route a { color: var(--brick); }

.toggle { background: var(--mist); border-color: transparent; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }

/* KEIN Kasten (04.10.2026). Vorher: border-radius 999px, weisser Grund,
   1px Rand - also genau die Form des Knopfes daneben. Vier Pillen, die
   nichts tun, direkt neben zwei, die etwas tun. Die Pillenform ist jetzt
   den Knoepfen und dem Rollenumschalter vorbehalten.
   Lesbar bleiben die Merkmale ueber den Haken und die halbfette
   Schrift - dafuer braucht es keinen Rahmen. */
.trust-row > span {
  color: var(--ink);
  font-weight: 600;
  padding: 0.2rem 0;
}

.visual { background: var(--sun); border-radius: 40px; }
.visual .sky { display: none; }
.hero-vorauswahl { transform: translate(-50%, -50%) rotate(-2deg); }
.doc, .doc-top { box-shadow: 0 22px 48px rgba(14, 27, 23, 0.16); }
.doc-top { border-color: var(--ink); }

/* ---------- Produktansicht (Vorauswahl) ---------- */
.produkt-bild {
  border-color: var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(14, 27, 23, 0.14);
  color: var(--ink);
}
.pb-kopf { border-bottom-color: transparent; padding-bottom: 0.5rem; }
.pb-zeile { background: var(--mist); margin-bottom: 0.4rem; border-radius: 16px; }
.pb-zeile.top { background: var(--sage); }
.pb-rang { background: var(--ink); }
.pb-punkte { color: var(--ink); }
.pb-tag {
  background: var(--mist);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
}
.marke { font-weight: 700; }
.marke.ok { background: #DDF7E8; color: #0A6B42; }
.pb-zeile.top .marke.ok { background: #FFFFFF; }
.marke.offen { background: #FFF1CC; color: #7A5200; }

/* ---------- Spezialisierung ---------- */
.fokus > .container {
  background: var(--mist);
  border-radius: 36px;
  padding-top: clamp(1.75rem, 4vw, 3.25rem);
  padding-bottom: clamp(1.75rem, 4vw, 3.25rem);
}
.fokus-zeile {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.12;
  max-width: 900px;
}

/* ---------- Heute / Mit Mieter One ---------- */
.process-col.is-today { background: #FFFFFF; border: 1px solid var(--line); color: var(--ink2); }
.process-col.is-today h3 { color: #5F6E68; }
.process-col.is-mieterone { background: var(--sun); color: var(--ink); }
.process-col.is-mieterone h3 { color: var(--ink); }
.process-col h3 { font-size: 1.6rem; }
.process-steps li {
  background: var(--mist);
  border-radius: 14px;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  margin-bottom: 0.5rem;
}
.process-steps li::before { left: 1rem; top: 0.75rem; }
.process-steps li:last-child { padding-bottom: 0.75rem; margin-bottom: 0; }
.process-col.is-mieterone .process-steps li { background: #FFFFFF; font-weight: 600; }
.process-col.is-mieterone .process-steps li::before { color: var(--brick); }

/* ---------- Vier Nutzenkacheln ---------- */
.value-card { background: var(--mist); border-radius: var(--radius); padding: 1.75rem; }
.value-card::before { background: var(--sun); }
.value-card:nth-child(4n+2)::before { background: #BFEFD3; }
.value-card:nth-child(4n+3)::before { background: #C4DEFF; }
.value-card:nth-child(4n+4) { background: var(--ink); color: #FFFFFF; }
.value-card:nth-child(4n+4)::before { background: var(--sun); }
.value-card:nth-child(4n+4) p,
.value-card:nth-child(4n+4) .muted { color: #C3D2CB; }

/* ---------- "Was der Vermieter sieht": dunkler Abschnitt ---------- */
.section-alt.produkt { background: var(--ink); color: #F2F6F3; }
.produkt .produkt-text .muted, .produkt .produkt-text p { color: #C3D2CB; }
.produkt .eyebrow { color: var(--sun); }
.produkt .btn-primary { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.produkt .btn-primary:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
.produkt .btn-outline { background: transparent; border-color: #F2F6F3; color: #F2F6F3; }
.produkt .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.produkt .pb-fuss, .produkt .pb-tag { color: var(--ink2); }

/* ---------- Schritte ---------- */
.step .num { background: var(--sun); color: var(--ink); font-weight: 700; }
.ol-schritte.gross li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FFFFFF;
  padding: 1.5rem 1.5rem 1.5rem 4.9rem;
}
.ol-schritte.gross li::before {
  left: 1.4rem;
  top: 1.4rem;
  background: var(--sun);
  color: var(--ink);
}

/* ---------- Abschnitt fuer Mieter (steht direkt vor den Preisen) ---------- */
section.section-alt:has(+ #preise) { background: transparent; }
section.section-alt:has(+ #preise) > .container {
  background: var(--sky);
  border-radius: 36px;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}
section.section-alt:has(+ #preise) .eyebrow { color: #1D4F91; }
section.section-alt:has(+ #preise) .muted { color: #33485F; }

/* ---------- Preise ---------- */
.price-option, .price-block, .card { border-color: var(--line); }
.price-option.best { background: var(--apricot); border-color: var(--ink); }
.price-options.zwei .price-option { padding: clamp(1.75rem, 3vw, 2.6rem); }
.price-options.zwei .price-option .amount {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}
.price-options.zwei .price-option:first-child { background: var(--sun); border-color: var(--sun); }
.price-options.zwei .price-option:first-child .eyebrow { color: var(--ink); }
.price-options.zwei .price-option:first-child .muted { color: #33443D; }
.price-block .amount, .price-tag { font-weight: 700; letter-spacing: -0.03em; }
.card.recommended { box-shadow: 0 0 0 3px var(--sun); }
.placeholder-badge { color: #0A6B42; background: var(--sage); }

/* ---------- Vertrauenszeile ---------- */
.trust-bar { border-top-color: transparent; border-bottom-color: transparent; gap: 0.75rem; }
.trust-bar span { background: var(--mist); border-radius: 20px; padding: 0.8rem 1.1rem; }

/* ---------- Schluss-Abschnitt ---------- */
.cta-section { background: transparent; }
.cta-section .container { border-radius: 36px; }
.cta-section .muted { color: #C3D2CB; }
.cta-section .btn-outline { background: transparent; border-color: #FFFFFF; color: #FFFFFF; }
.cta-section .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }

/* ---------- Weiche, Kacheln, Zahlen (Unterseiten) ---------- */
.tile, .step, .weiche-karte, .b2b-block, .future-offer, .dashboard-mock-card, .karte-39 { border-color: var(--line); border-radius: var(--radius); }
.tile:hover, .weiche-karte:hover { border-color: var(--ink); box-shadow: 0 14px 34px rgba(14, 27, 23, 0.10); }
.weiche-icon { background: var(--mist); color: var(--ink); }
.weiche-karte.vermieter .weiche-icon { background: var(--sun); color: var(--ink); }
.weiche-pfeil { color: var(--brick); }
.zahlenkachel { border-radius: 20px; }
.zahlenkachel b { color: var(--ink); font-weight: 700; }
.erfolgsliste li { border-radius: 16px; }
.callout { border-color: var(--line); }
.spalte-39.ja { background: var(--sage); border-color: #BFEFD3; }
.spalte-39.nein { background: #FFF1CC; border-color: #F2DC9A; }

/* ---------- Scoring-Ansicht ---------- */
.sc-card { border-color: var(--line); }
.sc-cap { color: var(--ink2); }
.bar i, .qrow span { background: #E7EEEA; }
.qrow span { color: var(--ink2); }
.bar i::before { background: var(--c, #0A7A4B); }

/* ---------- Formulare ---------- */
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea { border-radius: 14px; border-color: var(--line); }

/* ---------- Fusszeile ---------- */
footer.site-footer { color: #C3D2CB; }
footer.site-footer a { color: #C3D2CB; }
.footer-bottom { color: #A9BDB4; }
footer.site-footer .logo span { color: var(--sun); }

/* FAQ: Tastaturbedienung sichtbar machen (03.10.2026).
   Die Fragen waren teils <div> ohne Fokus - wer mit der Tastatur
   navigiert, sah nicht, wo er steht. */
.faq-q { cursor: pointer; }
.faq-q:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 8px;
}
/* Einheitliche Oeffnen-/Schliessen-Kennzeichnung */
.faq-q .icon { transition: transform .2s ease; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }

/* ---------------------------------------- Startseite: zentraler Einstieg */
/* Eine Aussage fuer beide Zielgruppen, ueber dem Umschalter (03.10.2026). */
/* Die alte H1 war kurz ("Drei passende Mieter statt 400 Anfragen"), die
   neue ist laenger. Mit 15ch und 3,4rem fuellte sie den ganzen Bildschirm,
   und die Einstiege waren nur noch durch Scrollen erreichbar - genau das,
   was dieser Einstieg verhindern soll (03.10.2026 im Browser gesehen). */
/* Verankert wie .hero-split .hero-text h1 (Zeile 116), sonst gewinnt
   jene Regel mit ihrer hoeheren Spezifitaet und die H1 bleibt 5.4vw
   gross - gemessen 75.7px statt der gewollten 40px (03.10.2026). */
.hero-split .hero-text h1.h1-zentral,
.h1-zentral {
  /* Groesse und Breite gemeinsam abgestimmt: Die laengere Zeile ("Die
     Vorauswahl uebernehmen wir.") muss auf Desktop in EINE Zeile passen,
     sonst zerfaellt die Aussage. 30ch deckt sie mit Reserve ab. */
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: .4rem 0 .7rem;
  max-width: 34ch;
}
/* Der Teaser soll haengen bleiben: eine laute Aussage, zwei leisere
   Belege. Fett ist bereits ausgereizt - "Instrument Sans" geht nur bis
   700 (s. @font-face oben), daher Hierarchie ueber Groesse und Farbe.
   --brick (#0A7A4B) auf Weiss = 5,4:1, sicher ueber der Anforderung;
   die Limette --sun waere mit 1,28:1 unlesbar. */
.h1-haupt { color: var(--ink); }
/* Luft zwischen Aussage und Belegen - der Groessensprung allein trennt
   die beiden Bloecke auf Mobil nicht sichtbar genug. In em, damit der
   Abstand mit der Schriftgroesse mitwaechst. */
.h1-haupt + .h1-nutzen { margin-top: .32em; }
/* Zwischen den beiden Flaechen etwas Luft, sonst kleben sie aneinander. */
.h1-nutzen + .h1-nutzen { margin-top: .18em; }
.h1-nutzen {
  font-size: .78em;          /* relativ zur H1 - skaliert ueberall mit */
  letter-spacing: -0.015em;  /* weniger eng als die grosse Zeile */
  /* Textmarker wie in h1 em (Zeile 79), nur an der Rolle festgemacht.
     fit-content: die Flaeche umschliesst den Text, nicht die Spalte. */
  color: var(--ink);
  background: var(--sun);
  width: fit-content;
  max-width: 100%;
  padding: .06em .22em;
  border-radius: .16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Auf Desktop je Satz eine Zeile. Kein <br>: auf schmalen Schirmen
   werden die Spannen wieder inline und der Umbruch faellt natuerlich. */
.h1-zeile { display: block; }
.h1-unterzeile { max-width: 50ch; margin-bottom: .6rem; font-size: .98rem; }
.segment-hinweis {
  font-size: .88rem;
  font-weight: 600;
  color: var(--brick);
  margin: 0 0 1.5rem;
}
/* Zwei getrennte Einstiege. Beide sind echte Knoepfe in der bestehenden
   Gestaltungssprache (.btn); der Hinweis steht als eigene Zeile darunter,
   damit Beschriftung und Begleittext nicht ineinanderlaufen. */
.einstiege {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  /* .hero-text ist ein Spalten-Flex mit align-items:flex-start
     (style.css:715) - ohne dieses stretch bleibt .einstiege inhaltsbreit
     (gemessen 276px in einer 352px-Spalte) und ein width:100% an den
     Bloecken darin wirkt nicht. */
  align-self: stretch;
  gap: 1rem 1.3rem;
  margin-bottom: 1.6rem;
}
.einstieg-block { display: flex; flex-direction: column; gap: .45rem; }
.einstieg-knopf { white-space: nowrap; }
.einstieg-hinweis {
  font-size: .86rem;
  line-height: 1.4;
  color: var(--ink2);
  padding-left: .1rem;
}
.h-vertiefung {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 1rem 0 .7rem;
}
@media (max-width: 640px) {
  .hero-split .hero-text h1.h1-zentral,
  .h1-zentral {
    max-width: none;
    /* Deutlich groesser als die 23,8px des clamp-Minimums. An die
       Schirmbreite gekoppelt, weil das Layout hier einspaltig ist und
       die Textspalte mitwaechst - anders als bei 1024px, wo zwei Spalten
       stehen. Gemessene Obergrenze bei 390px: 33,8px, darueber bricht
       die dritte Zeile um. */
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  /* Je Satz eine eigene Zeile, auch hier: Inline liefen die drei Saetze
     ineinander und der Dreiklang war nicht mehr zu erkennen. Kostet
     gemessen KEINE zusaetzliche Zeile (beide Male 109px) und isoliert
     kein Wort - jeder Satz hat drei bis fuenf. Innerhalb eines Satzes
     bricht der Text weiterhin natuerlich um. */
  .h1-zeile { display: block; }
  /* Die groessere Schrift (s. o.) braucht den Platz darunter - sonst
     steht der zweite Einstieg unter der Kante. Nur auf Mobil. */
  .segment-hinweis { margin-bottom: .9rem; }
  .h1-unterzeile { margin-bottom: .4rem; }
  /* Untereinander, jeder Knopf ueber die volle Breite */
  .einstiege { flex-direction: column; align-items: stretch; gap: 1.1rem; }
  /* Die Box ist hier so hoch wie breit (aspect-ratio 1/1, bei 390px rund
     352px), die Produktansicht darin 362px - 12px wurden oben
     abgeschnitten. Der bestehende max-height-Deckel (style.css:1116)
     greift dagegen nicht, der begrenzt nach oben. */
  .hero-split .visual { min-height: 380px; }
  /* 77px Leerraum ueber der Einordnung (42.5px .hero + 34px .hero-split)
     schoben den zweiten Einstieg unter die Kante. Auf Mobil zaehlt der
     Platz: beide Einstiege sollen ohne Scrollen zu sehen sein. */
  .hero:has(.hero-split) { padding-top: 1rem; }
  .hero-split { padding-top: .5rem; }
  .einstieg-block { width: 100%; }
  .einstieg-knopf { display: flex; align-items: center; justify-content: center;
                    text-align: center; white-space: normal; }
}

/* ------------------------------------------------------------ Mietrechner */
/* Eine Zahl, gross und ruhig - der Rest erklaert sie (04.10.2026). */
/* Eigene Klasse statt der allgemeinen .hero h1: Die tragen andere
   Seiten, und dort ist die Groesse richtig. Dieselbe Falle wie am
   03.10. auf der Startseite. */
.hero h1.rechner-titel {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.rechner { padding: 1.6rem; }
.rechner-feld { display: block; }
.rechner-feld > span:first-child {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.rechner-eingabe { position: relative; display: block; max-width: 280px; }
.rechner-eingabe input {
  width: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.6rem 2.2rem 0.6rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--ink);
}
.rechner-eingabe input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-color: var(--ink);
}
.rechner-eingabe .einheit {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink2);
  pointer-events: none;
}

.rechner-ergebnis {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.rechner-zahl { margin-bottom: 0.7rem; }
.rechner-wert {
  display: block;
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--brick);
}
.rechner-label {
  display: block;
  font-size: 0.92rem;
  color: var(--ink2);
  max-width: 44ch;
}

.rechner-tabelle { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; }
.rechner-tabelle th, .rechner-tabelle td {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--line);
}
.rechner-tabelle th { font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--ink2); }
.rechner-tabelle td:first-child { font-weight: 600; }

/* --------------------------------------------- JSON-Vorschau fuer Agenten */
.agent-vorschau {
  background: var(--ink);
  color: #E8F3EC;
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 1rem 0 0.6rem;
}
.agent-vorschau code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ------------------------------------------------ Leitgedanke (Briefing 5) */
/* Eine Aussage, ein Absatz, mittig - der Abschnitt soll ruhig wirken und
   nicht wie eine zweite Werbeflaeche (04.10.2026). */
.leitgedanke { padding: clamp(2.6rem, 5vw, 4rem) 0; }
.leitgedanke .container { max-width: 780px; text-align: center; }
.leitgedanke h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.leitgedanke p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink2);
  margin: 0;
}

/* Kurze Ablauferklaerung im Einstieg (Briefing 4) */
.ablauf-kurz {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink2);
  max-width: 52ch;
  margin: 0 0 0.9rem;
}

/* ---------------------------------------- Satz unter dem Hauptknopf */
/* Briefing 6/7: ein Satz direkt unter dem CTA. Er gehoert zum Knopf,
   nicht zum naechsten Absatz - deshalb eng darunter und zurueckhaltend. */
.cta-hinweis {
  margin: 0.7rem auto 0;
  font-size: 0.92rem;
  color: var(--ink2);
  max-width: 48ch;
  text-align: center;
}

/* ------------------------------------------------- Hochzaehlende Zahl */
/* Gruen hinterlegt wie der Textmarker in h1 em. Feste Breite, damit die
   Ueberschrift beim Zaehlen nicht springt: "0" ist schmaler als "400". */
.zaehler {
  display: inline-block;
  min-width: 2.6ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------- Titelbild im Hero (11.10.2026)
   Ersetzt die gezeichnete Szene in der rechten Spalte. Nur die Grafik
   wurde getauscht; Aufbau und Texte der Startseite sind unveraendert.

   object-position: left center haelt die Frau im Bild, wenn die Spalte
   schmaler wird als das Bildverhaeltnis - der Himmel rechts darf
   wegfallen, sie nicht. */
.visual picture { display: block; height: 100%; }
.hero-foto {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 560px;
  object-fit: cover;
  object-position: left center;
  border-radius: var(--radius);
}
@media (max-width: 860px) {
  /* Schmaler Schirm: Das Bild steht ueber dem Text und wird flacher -
     dann greift der engere Ausschnitt aus titelbild-mobil-*. */
  .hero-foto { min-height: 0; height: clamp(200px, 56vw, 300px); }
}

/* ===================================================================
   Fullsize-Titelbild im Hero (Markus, 11.10.2026)
   ===================================================================
   Nur der Hero. Der Rest der Startseite ist unveraendert.

   Zwei Dinge, die hier wirklich zaehlen - und eine Korrektur:

   0. DIE LEEREN STREIFEN ueber und unter dem Bild kamen von der
      Polsterung der <section>, nicht vom Bild. Siehe den Kommentar an
      `padding: 0` unten. Frueher stand hier eine andere Erklaerung
      (zirkulaere Zeilenhoehe); die war geraten und falsch.

   1. Die feste Zeilenhoehe gibt dem Bild einen eindeutigen Bezug fuer
      height:100%. Nicht die Ursache der Streifen, aber richtig so.

   2. Das <img> MUSS im Zuordnungs-Selektor ausdruecklich stehen.
      picture hat display:contents, damit ist das img das Grid-Item -
      aber `> *` trifft weiterhin nur das picture. Fehlt das img, landet
      es in einer eigenen Zeile UNTER dem Text.

   3. Duenner dunkler Text auf dem Bild ist nicht lesbar. Der Schleier
      ist auf Knopfhoehe fast durchsichtig; die Hinweiszeilen brauchen
      eine eigene helle Unterlage.
   ------------------------------------------------------------------- */

.hero-voll {
  display: grid;
  grid-template-areas: "stapel";
  /* Markus, 12.10.2026: Derzeit ist das Bild zu hoch - oben stand ein
     breiter Streifen leerer Himmel ueber dem Fenster. Statt 52vw jetzt
     42vw; im Browser gemessen: 744px -> 601px, also 143px weniger.
     Der Mindestwert bleibt bei 440px: unter 1048px Fensterbreite greift er,
     und auf dem Telefon war die Hoehe nicht beanstandet. */
  grid-template-rows: clamp(440px, 42vw, 620px);
  /* OHNE POLSTERUNG. Die allgemeine Regel `section { padding:
     clamp(56px, 8vw, 96px) 0 }` gibt jeder Section oben und unten bis
     zu 96px - beim Hero wurde darin der Containerhintergrund sichtbar
     und stand als hellblauer Balken ueber und unter dem Bild.
     Im Browser gemessen: 936px Section, 744px Bild, 2x96px Polster. */
  padding: 0;
  margin: 0 24px;
  border-radius: 40px;
  overflow: hidden;
  background: #DCE6EE;            /* Himmelston, bis das Bild da ist */
}
.hero-voll > *,
.hero-voll img { grid-area: stapel; }              /* siehe Falle 2 */

.hero-voll picture { display: contents; }
.hero-voll img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 75 % statt center: Von dem, was cover wegschneidet, faellt drei Viertel
     OBEN weg - genau der leere Himmel, den Markus weghaben wollte. Bei
     bottom waere der Kopf der Frau angeschnitten worden (gemessen: sie
     beginnt 190px unter der Bildoberkante, abgeschnitten werden 177px). */
  object-position: left 75%;      /* die Frau bleibt ganz im Bild */
}

.hero-voll .hero-schleier {
  background: linear-gradient(to left,
              rgba(255,255,255,.52) 0%,
              rgba(255,255,255,.34) 38%,
              rgba(255,255,255,0) 60%);
  pointer-events: none;
}

.hero-voll-text {
  position: relative;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(28px, 4vw, 56px);
  padding-left: 46%;              /* Frau und Fernsehturm bleiben frei */
}
.hero-voll-text .h1-zentral {
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.04;
  margin: 0;
  max-width: 16ch;
}
.hero-voll .einstiege { margin-bottom: 0; }

/* Die Unterzeile steht unter dem Bild - auf dem Himmel waeren es vier
   Zeilen Text. Im Entwurf steht der Fliesstext genauso unter dem Hero. */
.hero-nachsatz { padding: clamp(28px, 3.2vw, 44px) 0 0; }
.hero-nachsatz .lead { max-width: 640px; margin: 0; }

/* ---------- schmal: Bild oben, Text darunter ---------- */
@media (max-width: 900px) {
  .hero-voll {
    grid-template-areas: "bild" "text";
    grid-template-rows: auto auto;
    padding: 0;
    margin: 0 12px;
    border-radius: 0;
    background: transparent;
  }
  .hero-voll img {
    grid-area: bild;
    height: clamp(210px, 58vw, 300px);
    border-radius: 24px;
    object-position: center 35%;
  }
  .hero-voll .hero-schleier { display: none; }
  .hero-voll-text {
    grid-area: text;
    align-self: start;
    padding: 20px 8px 0;
    padding-left: 8px;
  }
  .hero-voll-text .h1-zentral { max-width: none; }
  /* Kein Bild hinter dem Text - also auch keine Unterlage noetig. */
}


/* ===================================================================
   Schluessel-Lauf (uebernommen 11.10.2026)
   ===================================================================
   Dekoratives Element: Der Schluessel laeuft beim Scrollen am rechten
   Rand mit und kommt am Seitenende am Haus an. Unveraendert aus der
   gelieferten Datei uebernommen.

   Es traegt aria-hidden, liegt unter 1024px Breite still, respektiert
   prefers-reduced-motion und erscheint nicht im Druck - deshalb genuegt
   das Anhaengen hier ohne weitere Anpassung.
   =================================================================== */
/* Schlüssel-Lauf: Der Schlüssel läuft beim Scrollen am rechten Rand mit
   und kommt am Seitenende am Haus an. Rein dekorativ. */
.schluessel-lauf{position:fixed;right:14px;top:150px;bottom:24px;width:44px;z-index:30;pointer-events:none}
.schluessel-lauf__spur,.schluessel-lauf__weg{position:absolute;left:21px;top:22px;width:2px;border-radius:2px;filter:drop-shadow(0 0 1.5px rgba(255,255,255,.95))}
.schluessel-lauf__spur{bottom:22px;background:repeating-linear-gradient(to bottom,rgba(14,27,23,.32) 0 5px,transparent 5px 11px)}
.schluessel-lauf__weg{height:0;background:#0E1B17}
.schluessel-lauf__schluessel,.schluessel-lauf__ziel{position:absolute;left:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.schluessel-lauf__schluessel{top:0;border-radius:999px;background:#C9F26A;border:2px solid #fff;box-shadow:0 6px 18px rgba(14,27,23,.2);will-change:transform}
.schluessel-lauf__schluessel svg{transition:transform .35s ease}
.schluessel-lauf__ziel{bottom:0;border-radius:14px;background:#fff;border:1px solid #DFE7E2;color:#0E1B17;box-shadow:0 6px 18px rgba(14,27,23,.1);transition:background-color .3s ease,color .3s ease,border-color .3s ease}
.schluessel-lauf.ist-angekommen .schluessel-lauf__ziel{background:#C9F26A;border-color:#fff;color:#0E1B17}
.schluessel-lauf.ist-angekommen .schluessel-lauf__schluessel svg{transform:rotate(90deg)}
@media (max-width:1023px),(max-height:520px){.schluessel-lauf{display:none}}
@media (prefers-reduced-motion:reduce){.schluessel-lauf__schluessel svg,.schluessel-lauf__ziel{transition:none}}
@media print{.schluessel-lauf{display:none}}

/* ===================================================================
   Anmelde-Overlay (Markus, 12.10.2026: "Anmelden als Popup, nicht als
   eigene Seite")

   Die Knoepfe auf der Webseite zeigen weiter auf /app/anmelden. Das Skript
   faengt den Klick ab und oeffnet stattdessen diesen Dialog. Ohne
   JavaScript passiert nichts Besonderes: Der Link fuehrt wie bisher auf die
   Anmeldeseite. So bleibt der Weg auch dann begehbar, wenn das Skript
   blockiert ist oder nicht laedt.
   =================================================================== */

.mo-overlay {
  position: fixed;
  inset: 0;
  /* Hoeher als alles andere auf der Seite: Hinweisbanner (60), Kopfzeile (40),
     Keks-Hinweis (100), Bewertungsfenster (1200). Solange das Fenster offen
     ist, liegt nichts davor. (Markus, 07.11.2026) */
  z-index: 2000;
  display: flex;
  /* Oben verankert, damit die Oberkante beim Umstellen nicht springt. */
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  background: rgba(16, 32, 24, .55);
  /* Kein backdrop-filter: auf aelteren Telefonen kostet er spuerbar Bildrate. */
}

.mo-overlay[hidden] { display: none; }

.mo-dialog {
  position: relative;
  width: 100%;
  max-width: 26rem;
  max-height: 96vh;
  overflow-y: auto;
  padding: 1.5rem 1.45rem 1.45rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.mo-dialog h2 {
  margin: 0 0 .35rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.mo-dialog .mo-unterzeile {
  margin: 0 0 1rem;
  color: #5b6b62;
  font-size: .98rem;
}

/* Beide Rollen ergeben dieselbe Popup-Hoehe: die Registrier-Unterzeile
   belegt immer denselben festen Platz (3 Zeilen = 54px), auch wenn eine
   Rolle nur zwei Zeilen braucht. So springt der Dialog beim Umschalten
   zwischen den beiden Auswahlknoepfen nicht und scrollt nicht.
   (Markus, 04.11.2026) */
.mo-dialog .mo-unter-reg { min-height: 54px; }

/* Das Schliesskreuz ist ein echter Knopf - mit der Tastatur erreichbar und
   fuer Vorleseprogramme beschriftet. */
.mo-schliessen {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  /* Runder, gefuellter Kreis hinter dem X; X passt hinein (Markus, 07.11.2026). */
  background: #eef2ef;
  color: #2b382f;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.mo-schliessen:hover,
.mo-schliessen:focus-visible { background: #e0e6e2; color: #16271f; }

.mo-feld { display: block; margin-bottom: .7rem; font-weight: 600; font-size: .98rem; }

.mo-feld input {
  display: block;
  width: 100%;
  margin-top: .3rem;
  padding: .65rem .85rem;
  border: 1px solid #c9d4ce;
  border-radius: 9px;
  font: inherit;
  font-weight: 400;
}

.mo-feld input:focus-visible { outline: 2px solid #1d4b36; outline-offset: 1px; }

/* Knopftext waagerecht UND senkrecht mittig - gilt fuer die ganze Seite
   (Markus, 12.10.2026). Deshalb flex statt block. */
.mo-dialog .mo-knopf {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.6rem;
  margin-top: .3rem;
  padding: .65rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: #16271f;
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.mo-dialog .mo-knopf:hover { background: #22392e; }

/* Langer Registrier-Knopftext in EINE Zeile (Markus, 07.11.2026). */
.mo-dialog .mo-knopf.mo-knopf-reg { font-size: .92rem; white-space: nowrap; letter-spacing: -.01em; }

.mo-dialog .mo-knopf.mo-geist {
  background: #fff;
  color: #16271f;
  border: 1px solid #c9d4ce;
}

.mo-dialog .mo-knopf.mo-geist:hover { background: #f4f7f5; }

.mo-dialog .mo-hilfe {
  margin: .6rem 0 0;
  text-align: center;
  font-size: .78rem;
}

.mo-dialog .mo-trenner {
  margin: .75rem 0 .55rem;
  border: 0;
  border-top: 1px solid #e3e9e5;
}

.mo-dialog .mo-wechsel { margin: 0 0 .4rem; text-align: center; font-size: .78rem; color: #5b6b62; }

.mo-dialog .mo-meldung {
  margin: 0 0 .7rem;
  padding: .5rem .65rem;
  border-radius: 8px;
  background: #fdecec;
  color: #8a1f1f;
  font-size: .8rem;
}

/* Auch auf dem Telefon bleibt ringsum ein schmaler Rand frei. Dadurch
   bleibt der abgedunkelte Seiteninhalt links und rechts sichtbar, und es
   ist sofort erkennbar, dass hier ein Fenster UEBER der Seite liegt - die
   Seite selbst hat nicht gewechselt. Das loest die fruehere Regel ab, die
   den vollen Platz nutzte, weil die Felder Breite brauchen; .9rem je Seite
   kosten davon wenig. (Markus, 06.11.2026) */
@media (max-width: 30rem) {
  /* Popup BLEIBT ein Popup: Rand ringsum + abgedunkelter Hintergrund sichtbar.
     Nur nicht scrollbar (overflow hidden); Inhalt gedraengt, damit er in die
     Hoehe passt. (Markus, 07.11.2026) */
  .mo-overlay { padding: .9rem; }
  .mo-dialog { max-width: none; border-radius: 16px;
    max-height: calc(100vh - 1.8rem);
    max-height: calc(100dvh - 1.8rem);
    overflow: hidden; padding: 1.05rem 1.2rem; }
  .mo-dialog .mo-unterzeile { margin-bottom: .7rem; }
  .mo-dialog .mo-unter-reg { min-height: 3.1rem; }
  .mo-feld { margin-bottom: .55rem; }
}

/* Wer "Bewegung reduzieren" eingestellt hat, bekommt kein Einblenden. */
@media (prefers-reduced-motion: no-preference) {
  .mo-overlay:not([hidden]) { animation: mo-ein .16s ease-out; }
  .mo-overlay:not([hidden]) .mo-dialog { animation: mo-hoch .2s ease-out; }
}

@keyframes mo-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes mo-hoch { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* --- Registrier-Ansicht im Dialog (12.10.2026) ------------------------- */

.mo-ansicht[hidden] { display: none; }

/* Rollenumschalter wie auf der Registrierseite: zwei Knoepfe, der aktive
   gefuellt. Hier sind es echte <button>, keine Links - der Dialog wechselt
   die Ansicht, ohne die Seite zu verlassen. */
.mo-rollenwahl {
  display: flex;
  gap: .5rem;
  margin: 0 0 .9rem;
}

.mo-rollenwahl .mo-rolle {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: .55rem .8rem;
  border: 1px solid #c9d4ce;
  border-radius: 999px;
  background: #fff;
  color: #1d4b36;
  font: inherit;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.mo-rollenwahl .mo-rolle.aktiv {
  background: #16271f;
  border-color: #16271f;
  color: #fff;
}

.mo-leise { font-weight: 400; color: #5b6b62; font-size: .86rem; }

/* Der Haken fuer AGB und Datenschutz. Die beiden Links stehen IM Text, aber
   als eigene Ziele: ein Klick darauf oeffnet das Dokument, ein Klick daneben
   setzt den Haken. Vorausgewaehlt ist nichts (Pflichtfeld). */
.mo-haken {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: .2rem 0 .9rem;
  padding: .7rem .8rem;
  border-radius: 10px;
  background: #f1f6ec;
  font-size: .9rem;
  line-height: 1.35;
}

.mo-haken input[type="checkbox"] {
  flex: 0 0 auto;
  width: .95rem;
  height: .95rem;
  margin: .12rem 0 0;
  accent-color: #16271f;
}

.mo-haken a { color: #1d4b36; }


/* === Design-Review 17.10.2026, Phase 1: Navigation und Logo ===============
   designreview-nav

   Befund aus dem Review: "Menuepunkte und CTA brechen auf zwei Zeilen um
   (Fuer / Mieter, Wohnung / eintragen) - wirkt unfertig." Ursache war
   fehlendes nowrap bei knappem Platz. Dazu der Burger erst viel zu spaet.

   nowrap allein reicht nicht: Ohne Burger-Grenze schiebt die Leiste dann
   waagerecht. Beides gehoert zusammen. */
nav.main-nav a.navlink,
nav.main-nav .btn,
header .btn { white-space: nowrap; }

/* Burger ab 1180 px statt erst auf Handybreite - zwischen 900 und 1180 px
   ist die Leiste mit fuenf Punkten plus Knopf sonst zu eng. */
/* Schliessen-Knopf im Menue: ausserhalb des geoeffneten Mobilmenues
   immer unsichtbar (auch auf Desktop, wo script.js ihn mit einhaengt). */
.nav-schliessen { display: none; }
@media (max-width: 1180px) {
  nav.main-nav { display: none; }
  /* Menue-Knopf (Hamburger) doppelt so gross. */
  .nav-toggle { display: block; font-size: 3.2rem; line-height: 1; }
  /* Menue UEBERLAGERT den Header (beginnt am Header-Oberrand) und fuellt nur
     einen Teil des Schirms: rechts angedockt, schmal. */
  nav.main-nav.open { display: flex; flex-direction: column; position: fixed;
    top: var(--hinweis-h); right: 0; left: auto; width: min(82vw, 320px);
    max-height: calc(100vh - var(--hinweis-h)); overflow-y: auto;
    background: #fff; padding: 0 1.25rem 1.25rem;
    gap: .25rem; box-shadow: -8px 14px 30px rgba(14,27,23,.18); z-index: 60;
    border-bottom-left-radius: 16px; }
  nav.main-nav.open a.navlink { padding: .6rem 0; }
  /* X-Knopf EXAKT an der ☰-Position (gleicher rechter Rand, margin 0) und
     doppelt so gross; Band in Kopf-Hoehe, vertikal zentriert. */
  nav.main-nav.open .nav-schliessen { display: flex; align-items: center;
    justify-content: flex-end; align-self: stretch; min-height: 84px;
    margin: 0; padding: 1.1rem 0; background: none; border: none;
    cursor: pointer; font-size: 3.2rem; line-height: 1; color: var(--ink); }
  /* Kopf schrumpft beim Scrollen (nur Mobil); oben wieder volle Groesse. */
  .nav-inner { transition: min-height .2s ease, padding .2s ease; }
  header .logo img { transition: height .2s ease; }
  header.site-header.gescrollt .nav-inner { min-height: 52px; padding-top: .45rem; padding-bottom: .45rem; }
  header.site-header.gescrollt .logo img { height: 26px !important; }
  header.site-header.gescrollt .nav-toggle { font-size: 2.7rem; }
  header.site-header.gescrollt nav.main-nav.open .nav-schliessen { min-height: 52px; padding: .45rem 0; font-size: 2.7rem; }
}
/* Der Knopf existierte schon als .nav-toggle - nur die Breite, ab der er
   erscheint, war zu knapp. */

/* Logo: Wortmarke groesser (Review: "Logo sehr klein"). Das Bild traegt die
   Wortmarke, deshalb wirkt die Hoehe direkt. */
header .logo img { height: 38px !important; }
footer.site-footer .logo img { height: 34px !important; }


/* === Design-Review Phase 1: Pruefstatus und Vertrauensleiste =============
   designreview-status

   Drei Zustaende, immer gleich benannt - in der Karte wie im Text:
   gruen = wirklich geprueft (Bank, Auskunftei), grau = Selbstauskunft,
   blau = noch nicht verfuegbar. Der blaue Zustand ist wichtig: Er sagt
   ehrlich "kommt noch", statt etwas zu behaupten, das nicht stimmt. */
.marke.bald { background: #E8F0FE; color: #1A4D8F; border-color: #C5D9F7; }

/* Line-Icons in der Vertrauensleiste: gleiche Strichstaerke, gleiche Groesse,
   Farbe erbt vom Text - damit sie auf hellem wie dunklem Grund funktionieren. */
.trust-bar svg { width: 18px; height: 18px; flex: none; }
.trust-bar span { display: inline-flex; align-items: center; gap: .45rem; }


/* === Design-Review Phase 1: Abstaende =====================================
   designreview-abstaende

   Review: "Einheitliches Raster: 96 px zwischen Sektionen (Mobil 64 px),
   24 px innerhalb von Karten. Aktuell entstehen teils leere Baender von
   ca. 150 px."

   Die Werte stehen als Variablen, damit sie an EINER Stelle liegen - sonst
   laufen sie beim naechsten Umbau wieder auseinander. */
:root {
  --abstand-sektion: 96px;
  --abstand-karte: 24px;
}

section { padding-top: var(--abstand-sektion); padding-bottom: var(--abstand-sektion); }
.karte, .card { padding: var(--abstand-karte); }

@media (max-width: 760px) {
  :root { --abstand-sektion: 64px; --abstand-karte: 20px; }
}


/* === Website-Entwuerfe (Goldau 03.11.2026) ================================
   website-entwuerfe-2026-11

   Bausteine der vier oeffentlichen Entwurfsseiten (Startseite, Fuer
   Vermieter, Fuer Mieter, Preise). Nur Aussehen, alle Farben aus den Tokens
   oben. Oeffentlicher Bereich -> Inline-Styles sind erlaubt; die
   wiederkehrenden Muster liegen aber hier, damit sie nicht auseinanderlaufen. */

/* --- Wahl-Hero: Textspalte + zwei Wahlkarten, rechts Foto mit Pass-Karte --- */
.start-hero { padding-top: clamp(2rem, 5vw, 4.5rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.start-hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 901px) { .start-hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.start-hero-text h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.1; margin: .3rem 0 .6rem; }
.start-hero-text .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34rem; margin-bottom: 1.6rem; color: var(--ink2); }
.wahl-karten { display: grid; gap: 1rem; }
@media (min-width: 520px) { .wahl-karten { grid-template-columns: 1fr 1fr; } }
.wahl-karte { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.4rem 1.5rem; border-radius: 22px; text-decoration: none; border: 1px solid var(--line); transition: transform .12s ease, box-shadow .12s ease; }
.wahl-karte:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(14,27,23,.12); }
.wahl-karte.dunkel { background: var(--ink); border-color: var(--ink); color: #fff; }
.wahl-karte.hell { background: #fff; color: var(--ink); }
.wahl-icon { width: 30px; height: 30px; }
.wahl-icon svg { width: 30px; height: 30px; }
.wahl-karte.dunkel .wahl-icon { color: var(--sun); }
.wahl-karte.hell .wahl-icon { color: var(--brick); }
.wahl-titel { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; margin-top: .2rem; }
.wahl-text { font-size: .95rem; line-height: 1.4; }
.wahl-karte.dunkel .wahl-text { color: #C3D2CB; }
.wahl-karte.hell .wahl-text { color: var(--ink2); }
.wahl-knopf { margin-top: .8rem; align-self: flex-start; display: inline-flex; align-items: center; gap: .3rem; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.wahl-karte.dunkel .wahl-knopf { background: var(--sun); color: var(--ink); }
.wahl-karte.hell .wahl-knopf { background: var(--ink); color: #fff; }

/* --- Hero-Foto mit aufgesetzter Pass-Karte --- */
.start-hero-bild { position: relative; border-radius: 28px; overflow: hidden; min-height: 340px; background: var(--sun); }
.start-hero-bild picture, .start-hero-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.start-hero-bild img { min-height: 340px; }
.pass-karte { position: absolute; left: 50%; bottom: clamp(1rem, 3vw, 2rem); transform: translateX(-50%); width: min(300px, 86%); background: #10201A; color: #EAF4EE; border-radius: 18px; padding: 1rem 1.1rem 1.1rem; box-shadow: 0 20px 44px rgba(10,20,16,.45); }
.pass-karte.statisch { position: static; transform: none; width: 100%; max-width: 320px; }
.pk-kopf { display: flex; justify-content: space-between; align-items: flex-start; }
.pk-marke { font-size: .66rem; letter-spacing: .14em; font-weight: 700; color: var(--sun); }
.pk-qr { width: 34px; height: 34px; opacity: .92; }
.pk-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: .5rem 0 .55rem; }
.pk-zeilen > div { display: flex; justify-content: space-between; padding: .3rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.pk-zeilen dt { color: #AEC0B6; }
.pk-zeilen dd { margin: 0; font-weight: 700; color: var(--sun); }
.pk-wallets { display: flex; gap: .5rem; margin-top: .85rem; }
.pk-wallets span { flex: 1; text-align: center; background: rgba(255,255,255,.1); border-radius: 8px; padding: .42rem; font-size: .72rem; font-weight: 600; }

/* --- Zwei Zielgruppen-Karten (Fuer Mieter / Fuer Vermieter) --- */
.zielgruppen { display: grid; gap: 1.5rem; }
@media (min-width: 821px) { .zielgruppen { grid-template-columns: 1fr 1fr; } }
.zg-karte { border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); }
.zg-karte .eyebrow { display: block; margin-bottom: .4rem; }
.zg-karte h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 0 0 1.2rem; }
.zg-mieter { background: var(--mist); }
.zg-vermieter { background: var(--sun); }
.zg-liste { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .9rem; }
.zg-liste li { display: flex; gap: .7rem; align-items: flex-start; }
.zg-liste svg { width: 22px; height: 22px; flex: none; color: var(--brick); margin-top: .15rem; }
.zg-vermieter .zg-liste svg { color: var(--ink); }
.zg-liste b { display: block; font-size: 1rem; }
.zg-liste span { font-size: .9rem; color: var(--ink2); line-height: 1.35; }

/* --- Dunkler Pruefblock: linke Spalte + rechts die Match-Karte --- */
.pruef-zeilen { display: grid; gap: .7rem; margin: 1.5rem 0 1.1rem; }
.pruef-zeile { display: flex; gap: .8rem; align-items: flex-start; background: rgba(255,255,255,.06); border-radius: 14px; padding: .9rem 1rem; }
.pruef-zeile svg { width: 24px; height: 24px; flex: none; color: var(--sun); margin-top: .1rem; }
.pruef-zeile b { display: block; color: #fff; }
.pruef-zeile span { font-size: .9rem; color: #C3D2CB; line-height: 1.35; }
.pruef-fuss { font-size: .88rem; }
.pruef-fuss a { color: var(--sun); }
/* Zweite Satzhaelfte der dunklen Ueberschrift: gedaempftes Gruen, nicht kursiv
   und ohne den Textmarker (den traegt nur die h1 im Hero). */
.produkt h2 em { font-style: normal; background: transparent; color: #A4CE6A; padding: 0; }

/* --- Match-Karte mit Score-Ring und Kennzeichnungs-Chips --- */
.match-karte { background: #fff; color: var(--ink); border-radius: 22px; padding: 1.2rem 1.3rem; box-shadow: 0 24px 60px rgba(10,20,16,.3); }
.mk-kopf { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.mk-kopf b { font-family: var(--display); font-size: 1.02rem; }
.mk-tag { font-size: .72rem; font-weight: 700; color: var(--ink2); background: var(--mist); padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.mk-zeile { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; border-top: 1px solid var(--line); }
.mk-zeile:first-of-type { border-top: 0; }
.score-ring { position: relative; width: 52px; height: 52px; flex: none; }
.score-ring svg { width: 52px; height: 52px; display: block; }
.ring-spur { stroke: #E3E9E5; }
.ring-wert { stroke: var(--sun); }
.ring-zahl { font-family: var(--display); font-weight: 700; font-size: 16px; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.mk-platz { font-size: .7rem; font-weight: 700; letter-spacing: .03em; color: var(--brick); background: var(--sage); padding: .12rem .45rem; border-radius: 999px; }
.mk-mitte b { font-size: 1rem; margin-left: .35rem; }
.mk-meta { font-size: .82rem; color: var(--ink2); margin: .3rem 0 .45rem; line-height: 1.3; }
.mk-marken { display: flex; flex-wrap: wrap; gap: .35rem; }
.mk-marken .marke { display: inline-block; font-size: .72rem; padding: .18rem .55rem; border-radius: 999px; }
.mk-fuss { font-size: .8rem; color: var(--ink2); margin: .9rem 0 0; }

/* --- Fuenf-Schritte-Reihe --- */
.schritt-reihe { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .schritt-reihe { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .schritt-reihe { grid-template-columns: repeat(5, 1fr); } }
.schritt-reihe li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; }
.schritt-reihe .sr-nr { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--ink3); }
.schritt-reihe svg { width: 26px; height: 26px; color: var(--brick); margin: .6rem 0 .4rem; }
.schritt-reihe h3 { font-size: 1.02rem; margin: .2rem 0 .3rem; }
.schritt-reihe p { font-size: .86rem; color: var(--ink2); line-height: 1.35; margin: 0; }
/* Drei-Schritte-Variante (Mieter-Onboarding) - hoehere Spezifitaet schlaegt die
   5-Spalten-Regel oben. */
.schritt-reihe.drei { grid-template-columns: 1fr; }
@media (min-width: 720px) { .schritt-reihe.drei { grid-template-columns: repeat(3, 1fr); } }

/* --- Preiskarten (Startseite + Preise) --- */
.preis-paar { display: grid; gap: 1.5rem; margin-top: 2.2rem; }
@media (min-width: 821px) { .preis-paar { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.preis-karte { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; }
.preis-karte .btn { margin-top: auto; }
.preis-karte.lime { background: var(--sun); border-color: var(--sun); }
.preis-karte .eyebrow { display: block; margin-bottom: 1rem; }
.pk-betrag { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .3rem; flex-wrap: wrap; }
.pk-betrag > b { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -.03em; line-height: 1; }
.pk-betrag span { font-weight: 600; }
.pk-betrag2 { display: flex; align-items: baseline; gap: .6rem; margin: .6rem 0 0; flex-wrap: wrap; }
.pk-betrag2 > b { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: -.03em; line-height: 1; }
.pk-betrag2 s { color: var(--ink3); font-weight: 600; }
.pk-info { font-size: .92rem; color: var(--ink2); line-height: 1.45; margin: 1rem 0 1.4rem; }
.preis-karte.lime .pk-info { color: #33443D; }
.pass-hinweis { display: flex; gap: .7rem; align-items: flex-start; background: var(--mist); border-radius: 14px; padding: .9rem 1rem; margin: 0 0 1.4rem; }
.pass-hinweis svg { width: 24px; height: 24px; flex: none; color: var(--ink); margin-top: .1rem; }
.pass-hinweis b { display: block; font-size: .95rem; }
.pass-hinweis span { font-size: .84rem; color: var(--ink2); line-height: 1.35; }
.preis-karte .btn { width: 100%; text-align: center; justify-content: center; }

/* --- Mieter-Score-Karte (Hero Fuer-Mieter) + Pass-Detailblock --- */
.score-karte { background: var(--mist); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2rem); }
.score-karte .sk-kopf { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.sk-ort { font-weight: 700; }
.sk-platz { font-size: .72rem; font-weight: 700; color: var(--brick); background: var(--sage); padding: .2rem .55rem; border-radius: 999px; }
.sk-score { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.sk-score .score-ring { width: 72px; height: 72px; }
.sk-score .score-ring svg { width: 72px; height: 72px; }
.sk-score .ring-zahl { font-size: 22px; }
.sk-score-text b { font-size: 1.1rem; }
.sk-score-text span { display: block; font-size: .88rem; color: var(--ink2); }
.sk-zeilen > div { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.sk-zeilen .sk-label { display: flex; align-items: center; gap: .5rem; }
.sk-zeilen svg { width: 18px; height: 18px; color: var(--ink3); flex: none; }
.sk-wert { font-weight: 700; white-space: nowrap; }
.sk-wert small { font-weight: 600; color: var(--brick); margin-right: .35rem; }
.sk-wert.offen small { color: #7A5200; }
.sk-fuss { font-size: .8rem; color: var(--ink3); margin: .8rem 0 0; }

.pass-detail { display: grid; gap: .8rem; }
.pass-detail .pd-zeile { display: flex; gap: .9rem; align-items: center; justify-content: space-between; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 1rem 1.1rem; }
.pass-detail .pd-links { display: flex; gap: .8rem; align-items: flex-start; }
.pass-detail svg { width: 26px; height: 26px; color: var(--sun); flex: none; }
.pass-detail b { display: block; color: #fff; }
.pass-detail span { font-size: .88rem; color: #C3D2CB; line-height: 1.35; }
.pd-punkte { font-weight: 700; font-size: .8rem; color: var(--ink); background: var(--sun); border-radius: 999px; padding: .25rem .7rem; white-space: nowrap; }
/* Abzeichen nicht abschneiden: Textseite schrumpfbar, Abzeichen fest (Markus 07.11.2026). */
.pass-detail .pd-links { min-width: 0; }
.pass-detail .pd-links > div { min-width: 0; }
.pass-detail .pd-zeile .pd-punkte, .pass-detail .pd-zeile .pd-ja { flex-shrink: 0; }
.pd-ja { font-weight: 700; font-size: .8rem; color: var(--sun); border: 1px solid var(--sun); border-radius: 999px; padding: .25rem .7rem; white-space: nowrap; }
.pd-klein { display: grid; gap: .8rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 620px) { .pd-klein { grid-template-columns: repeat(3, 1fr); } }
.pd-klein div { background: rgba(255,255,255,.05); border-radius: 14px; padding: .9rem 1rem; }
.pd-klein svg { width: 22px; height: 22px; color: var(--sun); margin-bottom: .4rem; }
.pd-klein b { display: block; font-size: .92rem; margin-bottom: .15rem; }
.pd-klein span { display: block; font-size: .82rem; }

/* --- Hero mit zwei Knoepfen (Vermieter/Mieter) + Foto mit heller Karte --- */
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.hero-knoepfe .btn { font-size: 1rem; }
.hero-mini { margin-top: 1rem; font-size: .92rem; color: var(--ink2); display: inline-flex; align-items: center; gap: .5rem; }
.hero-mini svg { width: 18px; height: 18px; color: var(--brick); flex: none; }
.foto-karte { position: absolute; left: 50%; bottom: clamp(1rem, 3vw, 2rem); transform: translateX(-50%); width: min(340px, 90%); background: #fff; color: var(--ink); border-radius: 16px; padding: .9rem 1rem; box-shadow: 0 20px 44px rgba(10,20,16,.35); }
.foto-karte .mk-zeile { padding: 0; border: 0; }
.foto-karte .score-ring { width: 46px; height: 46px; }
.foto-karte .score-ring svg { width: 46px; height: 46px; }
.foto-karte .ring-zahl { font-size: 15px; }

/* --- Drei Merk-Kacheln (hell, mit Icon) --- */
.merk-karten { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .merk-karten { grid-template-columns: repeat(3, 1fr); } }
.merk-karten .merk { background: var(--mist); border-radius: var(--radius); padding: 1.5rem; }
.merk-karten svg { width: 28px; height: 28px; color: var(--brick); margin-bottom: .6rem; }
.merk-karten h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.merk-karten p { font-size: .9rem; color: var(--ink2); line-height: 1.4; margin: 0; }

/* --- Inklusive-Liste (Haken) --- */
.inkl-karte { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); }
.inkl-karte .eyebrow { display: block; margin-bottom: 1rem; }
.inkl-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.inkl-liste li { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; }
.inkl-liste svg { width: 20px; height: 20px; color: var(--brick); flex: none; margin-top: .15rem; }

/* --- Dunkle Hausverwaltungs-Karte (quer) --- */
.hv-karte { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.hv-karte .hv-text { max-width: 44rem; }
.hv-karte h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 .4rem; }
.hv-karte p { color: #C3D2CB; margin: 0; }
.hv-karte .btn-sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.hv-karte .btn-sun:hover { background: #fff; border-color: #fff; }

/* --- Pass-Angebotsblock (Preisseite): Pass-Karte + Text + Preis --- */
.pass-angebot { background: var(--sky); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 821px) { .pass-angebot { grid-template-columns: auto 1fr auto; } }
.pass-angebot .pass-karte { position: static; transform: none; width: 100%; max-width: 300px; }
.pass-angebot .pa-text .eyebrow { display: block; margin-bottom: .5rem; }
.pass-angebot .pa-text h2 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pass-angebot .pa-text p { margin: 0; color: #2b4a3a; }
.pass-angebot .pa-preis { text-align: right; }
.pass-angebot .pa-preis b { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.2rem); letter-spacing: -.03em; line-height: 1; display: block; }
.pass-angebot .pa-preis span { font-size: .9rem; color: #33485F; }
@media (max-width: 820px) { .pass-angebot .pa-preis { text-align: left; } }


/* === Startseiten-Hero dunkel (Markus 04.11.2026, Vorlage "Variante B") ======
   startseite-dark-hero
   NUR fuer die Startseite. Dunkler Hero mit schwebendem Pass (Float, Lichtsheen,
   3D-Neigung bei Mausbewegung) und den ECHTEN Wallet-Badges. Alles unter
   .mo-dark-hero / .hat-dunklen-hero gekapselt - der Rest der (hellen) Seite
   bleibt unberuehrt. */

/* Kopfzeile auf der Startseite dunkel */
.hat-dunklen-hero .site-header { background: var(--ink); border-bottom-color: transparent; }
.hat-dunklen-hero .site-header.gescrollt { box-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hat-dunklen-hero nav.main-nav a.navlink { color: #D5DED9; }
.hat-dunklen-hero nav.main-nav a.navlink:hover { color: var(--sun); }
.hat-dunklen-hero nav.main-nav a.anmelden-link::before { background: rgba(255,255,255,.25); }
.hat-dunklen-hero .site-header .btn-primary { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.hat-dunklen-hero .site-header .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hat-dunklen-hero .nav-toggle { color: #fff; }

.mo-dark-hero { background: var(--ink); color: #fff; padding-top: 1.4rem; padding-bottom: clamp(2rem, 5vw, 3.8rem); }
.mo-dark-hero .mdh-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.mdh-col { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.mdh-toggle { display: inline-flex; align-self: flex-start; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); gap: 4px; flex-wrap: wrap; }
.mdh-toggle button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: none; font: 600 15px var(--body); cursor: pointer; background: transparent; color: #fff; }
.mdh-toggle button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
.mdh-copy { display: flex; flex-direction: column; gap: 22px; }
.mdh-copy[hidden] { display: none !important; }
.mo-dark-hero h1 { margin: 0; font-weight: 700; font-size: clamp(44px, 5.6vw, 78px); line-height: 1; letter-spacing: -.035em; color: #fff; }
.mo-dark-hero h1 em { font-style: normal; background: transparent; color: var(--sun); padding: 0; }
.mdh-lead { margin: 0; font-size: 19px; line-height: 1.5; color: #C3CFC9; max-width: 540px; }
.mdh-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mdh-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: none; }
.mdh-cta:hover { filter: brightness(1.05); color: var(--ink); }
.mdh-ghost { display: inline-flex; align-items: center; min-height: 56px; padding: 0 24px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); font-weight: 600; font-size: 16px; color: #fff; text-decoration: none; }
.mdh-ghost:hover { border-color: var(--sun); color: var(--sun); }
.mdh-note { font-size: 15px; color: #C3CFC9; }
.mdh-stage { flex: 1 1 440px; min-width: 0; position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; perspective: 1100px; }
.mdh-glow { position: absolute; width: 440px; height: 440px; max-width: 90%; border-radius: 50%; background: radial-gradient(circle, rgba(201,242,106,.22) 0%, rgba(201,242,106,0) 65%); }
.mdh-float { position: relative; width: 440px; max-width: 92%; display: flex; flex-direction: column; gap: 16px; animation: mdh-float 6s ease-in-out infinite; }
@keyframes mdh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.mdh-card { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1.586; padding: 26px 28px; border-radius: 26px; display: flex; flex-direction: column; justify-content: space-between; background: #17291F; border: 1px solid rgba(201,242,106,.28); box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); transform: rotateX(8deg) rotateY(-16deg); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.mdh-card.hover { transition: transform .08s linear; }
.mdh-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.16) 50%, rgba(255,255,255,0) 62%); background-size: 260% 100%; animation: mdh-sheen 5.5s ease-in-out infinite; }
@keyframes mdh-sheen { 0% { background-position: 130% 0; } 55%, 100% { background-position: -60% 0; } }
.mdh-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mdh-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--sun); }
.mdh-card-mid { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mdh-name { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.mdh-score { font-size: 14px; font-weight: 700; color: var(--ink); background: var(--sun); padding: 6px 12px; border-radius: 999px; }
.mdh-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
.mdh-grid3 > div { display: flex; flex-direction: column; gap: 4px; }
.mdh-grid3 .l { font-size: 12px; color: #A9B8B1; }
.mdh-grid3 .v { font-size: 15px; font-weight: 700; color: var(--sun); }
.mdh-wallets { display: flex; gap: 10px; justify-content: center; flex-wrap: nowrap; align-items: center; }
.mdh-wallets img { height: 48px; width: auto; max-width: 48%; object-fit: contain; display: block; filter: drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
.mdh-bob { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.35); animation: mdh-bob 5s ease-in-out infinite; }
@keyframes mdh-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mdh-bob-a { top: 40px; left: 2%; }
.mdh-bob-b { top: 96px; right: 0; animation-delay: 1.4s; background: var(--sun); }
@media (max-width: 600px) { .mdh-bob { font-size: 12px; padding: 8px 11px; } .mdh-card { padding: 18px 20px; } .mdh-stage { min-height: 500px; } }
@media (prefers-reduced-motion: reduce) { .mdh-float, .mdh-sheen, .mdh-bob { animation: none !important; } }


/* --- Rollenwahl beim ersten Besuch (04.11.2026) ---------------------- */
/* Kein border-radius:999px - die Knoepfe bringen ihre Form aus .btn mit,
   und eine neue Pillenform-Regel muesste in gestaltungstest einzeln
   begruendet werden. */
.rw-overlay{position:fixed;inset:0;z-index:1200;display:flex;
  align-items:center;justify-content:center;padding:1.5rem;
  background:rgba(16,20,18,.72);backdrop-filter:blur(3px)}
.rw-overlay[hidden]{display:none}
.rw-box{position:relative;background:#fff;border-radius:1.25rem;padding:2.2rem 1.8rem;
  max-width:30rem;width:100%;text-align:center;
  box-shadow:0 1.5rem 3rem rgba(0,0,0,.28)}
.rw-frage{margin:0 0 1.6rem;font-size:1.35rem;font-weight:700;line-height:1.3}
.rw-schliessen{position:absolute;top:.6rem;right:.6rem;width:2.4rem;height:2.4rem;
  border:0;background:transparent;border-radius:50%;cursor:pointer;padding:0;
  font-size:1.8rem;line-height:1;color:#5b655e;
  display:flex;align-items:center;justify-content:center}
.rw-schliessen:hover{background:#eef0ee;color:#10140e}
.rw-schliessen:focus-visible{outline:2px solid #1f3b2f;outline-offset:2px}
.rw-knoepfe{display:flex;flex-direction:column;gap:.8rem}
.rw-knoepfe .btn{width:100%;justify-content:center}
body.rw-offen{overflow:hidden}
@media (min-width:30rem){.rw-knoepfe{flex-direction:row}
  .rw-knoepfe .btn{flex:1}}
@media (prefers-reduced-motion:reduce){.rw-overlay{backdrop-filter:none}}


/* ---- Wohnungswunsch-Popup (vorgeschaltet, Markus 07.11.2026) ---- */
.mow-overlay { position: fixed; inset: 0; z-index: 2000; display: flex;
  align-items: flex-start; justify-content: center; padding: 1rem;
  background: rgba(16, 32, 24, .55); }
.mow-overlay[hidden] { display: none; }
.mow-dialog { position: relative; width: 100%; max-width: 26rem; max-height: 96vh;
  overflow-y: auto; padding: 1.5rem 1.45rem 1.45rem; border-radius: 16px;
  background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.mow-dialog h2 { margin: 0 0 .35rem; font-size: 1.35rem; line-height: 1.2; }
.mow-unter { margin: 0 0 1rem; color: #5b6b62; font-size: .98rem; }
.mow-schliessen { position: absolute; top: .55rem; right: .55rem; width: 3.4rem;
  height: 3.4rem; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: #eef2ef; color: #2b382f;
  font-size: 2.2rem; line-height: 1; cursor: pointer; }
.mow-schliessen:hover, .mow-schliessen:focus-visible { background: #e0e6e2; }
.mow-feld { border: 0; margin: 0 0 .8rem; padding: 0; }
.mow-feld legend { padding: 0; margin: 0 0 .45rem; font-weight: 600; font-size: .98rem; }
.mow-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.mow-chip { position: relative; display: inline-flex; }
.mow-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mow-chip span { display: inline-block; padding: .34rem .6rem; border: 1px solid #c9d4ce;
  border-radius: 999px; background: #fff; color: #2b382f; font-size: .82rem;
  line-height: 1.12; cursor: pointer; user-select: none; }
.mow-chip input:checked + span { background: #16271f; border-color: #16271f; color: #fff; }
.mow-chip input:focus-visible + span { outline: 2px solid #1d4b36; outline-offset: 1px; }
.mow-reihe { display: flex; gap: .7rem; margin-bottom: .9rem; }
.mow-label { flex: 1; display: block; font-weight: 600; font-size: .95rem; }
.mow-leise { font-weight: 400; color: #5b6b62; font-size: .82rem; }
.mow-reihe input, .mow-reihe select { display: block; width: 100%; margin-top: .3rem;
  padding: .6rem .8rem; border: 1px solid #c9d4ce; border-radius: 9px; font: inherit;
  font-weight: 400; background: #fff; }
.mow-reihe input:focus-visible, .mow-reihe select:focus-visible {
  outline: 2px solid #1d4b36; outline-offset: 1px; }
.mow-knopf { display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 2.6rem; padding: .65rem 1.1rem; border: 0; border-radius: 999px;
  background: #16271f; color: #fff; font: inherit; font-size: 1.02rem; font-weight: 700;
  cursor: pointer; }
.mow-knopf:hover { background: #22392e; }
.mow-wechsel { margin: .7rem 0 0; text-align: center; font-size: .82rem; color: #5b6b62; }
.mow-wechsel a { color: #16271f; font-weight: 700; }
@media (max-width: 30rem) {
  .mow-overlay { padding: .9rem; }
  .mow-dialog { max-width: none; overflow: hidden;
    max-height: calc(100vh - 1.8rem); max-height: calc(100dvh - 1.8rem);
    padding: 1.05rem 1.2rem; }
  .mow-unter { margin-bottom: .7rem; }
  .mow-chips { gap: .32rem; }
  .mow-chip span { padding: .3rem .5rem; font-size: .78rem; }
  .mow-feld { margin-bottom: .6rem; }
  .mow-reihe { gap: .5rem; margin-bottom: .7rem; }
}


/* ---- Live-Anzeige „zuletzt vermietet" (Markus 08.11.2026) ---- */
.mol-live { position: fixed; left: 1rem; bottom: 1rem; z-index: 900; display: flex;
  align-items: center; gap: .6rem; max-width: min(88vw, 22rem); padding: .7rem .9rem;
  border-radius: 12px; background: #fff; color: #16271f; border: 1px solid #e3e9e5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16); opacity: 0; transform: translateY(8px);
  pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.mol-live.mol-live-an { opacity: 1; transform: translateY(0); }
.mol-live-punkt { flex: 0 0 auto; width: .6rem; height: .6rem; border-radius: 50%;
  background: #2f8f4e; box-shadow: 0 0 0 .22rem rgba(47, 143, 78, .18); }
.mol-live-text { display: flex; flex-direction: column; line-height: 1.2; font-size: .86rem; }
.mol-live-text strong { font-weight: 700; }
.mol-live-detail { color: #5b6b62; font-size: .8rem; }
@media (max-width: 30rem) { .mol-live { left: .6rem; right: .6rem; bottom: .6rem; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .mol-live { transition: none; } }

/* ---- Schliesskreuz 50% kleiner und weiter in die obere rechte Ecke
   (Markus 08.11.2026). Spaetere Regel -> gewinnt gegen die urspruengliche. ---- */
.mo-schliessen, .mow-schliessen { top: .35rem; right: .35rem; width: 1.7rem;
  height: 1.7rem; font-size: 1.15rem; }
