/* Chalet Bartholomäberg: ferienimmobilie-vorarlberg.at
   Stil wie breusspartner.at und technik/bewertungsseite-neu (Brandkit der Hauptseite, Stand 16.09.2026):
   Hauptfarbe #0b3047, Hover #04121b, Topleiste Navy mit Champagner #EBE2B7,
   Überschriften Raleway 600 in Versalien (Hero 800), Text Verdana 15 px, Rahmen #ddd, Radius 2 px, Fuß schwarz. */

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/schrift/raleway-latin-500-800.woff2') format('woff2');
}

:root {
  --navy: #0b3047;
  --navy-dark: #04121b;
  --champagner: #EBE2B7;
  --flaeche-hell: #F8F9FA;
  --flaeche: #E7EAED;
  --text: #555555;
  --text-dunkel: #333333;
  --rahmen: #dddddd;
  --stern: #F5B400;
  --radius: 2px;
  --wrap: 1100px;
  --schatten: 1px 1px 8px -1px rgba(160, 160, 160, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* Andere Sprache als Deutsch: kurz ausblenden, bis die Texte getauscht sind (spätestens nach 1,2 s sichtbar) */
html.sprache-wartet body { opacity: 0; animation: notfall-sichtbar 0s linear 1.2s forwards; }
@keyframes notfall-sichtbar { to { opacity: 1; } }

h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; font-weight: 600; line-height: 1.15; color: var(--text-dunkel); margin: 0; }
p { margin: 0 0 14px; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--text); }

/* ---------- Knöpfe ---------- */
.btn-primary, .btn-outline-dunkel, .btn-light, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius); padding: 15px 26px;
  font-family: Verdana, Geneva, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn-primary:disabled { opacity: .7; cursor: wait; }
.btn-outline-dunkel { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline-dunkel:hover, .btn-outline-dunkel:focus-visible { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border: 1px solid #fff; }
.btn-light:hover, .btn-light:focus-visible { background: var(--champagner); border-color: var(--champagner); color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-outline:hover, .btn-outline:focus-visible { background: #fff; color: var(--navy); }
.btn-primary svg, .btn-outline-dunkel svg, .btn-light svg, .btn-outline svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

/* ---------- Topleiste und Kopf ---------- */
.topleiste { background: var(--navy); color: var(--champagner); font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.topleiste .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topleiste a { color: var(--champagner); text-decoration: none; font-weight: 700; }
.topleiste a:hover { color: #fff; }

.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid #e5e5e5; transition: box-shadow .2s; }
.kopf.klein { box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.kopf .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 52px; width: auto; }
.kopf-rechts { display: flex; align-items: center; gap: 22px; }
.kopf-link { font-weight: 700; font-size: 14px; text-decoration: none; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.kopf-link:hover { text-decoration: underline; }
.kopf-telefon {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--navy); border-radius: var(--radius); padding: 9px 16px;
  font-weight: 700; font-size: 14px; text-decoration: none; color: var(--navy); transition: background .2s, color .2s;
}
.kopf-telefon:hover, .kopf-telefon:focus-visible { background: var(--navy); color: #fff; }
.kopf-telefon svg { width: 16px; height: 16px; fill: currentColor; }

/* Sprachwahl: schlicht wie die Umschalter im Suchformular von breusspartner.at, pulsiert beim Laden 2,5 s */
.sprachwahl { display: inline-flex; align-items: center; gap: 8px; }
.sprachwahl .globus { width: 18px; height: 18px; color: var(--navy); flex: none; }
.sprachwahl .knoepfe { display: inline-flex; border: 1px solid var(--navy); border-radius: var(--radius); overflow: hidden; }
.sprachwahl button {
  font-family: Verdana, Geneva, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .5px;
  border: 0; border-left: 1px solid var(--navy); background: #fff; color: var(--navy); padding: 8px 11px; cursor: pointer; transition: background .2s, color .2s;
}
.sprachwahl button:first-child { border-left: 0; }
.sprachwahl button:hover { background: var(--flaeche); }
.sprachwahl button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.sprachwahl button:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.sprachwahl.pulsiert .knoepfe { animation: sprachpuls 1.25s ease-out 2; }
@keyframes sprachpuls {
  0%   { box-shadow: 0 0 0 0 rgba(11, 48, 71, .5); transform: scale(1); }
  30%  { transform: scale(1.05); }
  70%  { box-shadow: 0 0 0 10px rgba(11, 48, 71, 0); transform: scale(1); }
  100% { box-shadow: 0 0 0 0 rgba(11, 48, 71, 0); transform: scale(1); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 200px; text-align: center; background: #6f7a80; overflow: hidden; }
.hero-bild { position: absolute; inset: 0; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { color: #fff; font-size: 14px; letter-spacing: 1.5px; }
.hero h1 {
  font-weight: 800; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; color: #fff; text-transform: uppercase;
  margin: 14px auto 0; max-width: 28ch; text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.hero h1 .akzent { color: inherit; }
.hero-ort { color: #fff; font-size: 15px; letter-spacing: 1px; margin: 16px 0 0; }

/* ---------- Objekt-Box über dem Hero ---------- */
.objekt-bereich { position: relative; margin-top: -140px; }
.objekt-karte { background: #fff; border: 1px solid var(--rahmen); border-radius: var(--radius); box-shadow: var(--schatten); padding: 32px 38px 28px; }
.objekt-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.objekt-kopf h2 { font-size: 23px; color: var(--navy); text-transform: uppercase; }
.objekt-kopf .lead { margin: 8px 0 0; font-size: 14px; max-width: 62ch; }
.preis-box { text-align: right; flex: none; }
.preis-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.preis { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 32px; color: var(--navy); line-height: 1.1; white-space: nowrap; }
.eckdaten-leiste { display: grid; grid-template-columns: repeat(6, 1fr); margin: 24px 0 0; border-top: 1px solid var(--rahmen); border-bottom: 1px solid var(--rahmen); }
.eckdaten-leiste div { text-align: center; padding: 16px 8px; }
.eckdaten-leiste div + div { border-left: 1px solid var(--rahmen); }
.eckdaten-leiste b { display: block; font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 22px; color: var(--navy); white-space: nowrap; }
.eckdaten-leiste > div > span { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.objekt-fuss { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 22px; }
.objekt-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; }
.bewertung-zeile { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); text-decoration: none; }
.bewertung-zeile:hover { text-decoration: underline; color: var(--text-dunkel); }
.sterne { color: var(--stern); letter-spacing: 2px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 80px 0; }
.abschnitt.grau { background: var(--flaeche); }
.abschnitt.hell { background: var(--flaeche-hell); border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.abschnitt-kopf { text-align: center; margin: 0 auto 40px; max-width: 760px; }
.abschnitt-kopf h2 { font-size: clamp(24px, 2.8vw, 34px); text-transform: uppercase; margin-top: 8px; }
.abschnitt-kopf .lead { margin: 14px auto 0; font-size: 15px; }
.mitte-knopf { text-align: center; margin-top: 34px; }

.zwei-spalten { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; align-items: start; }
.zwei-spalten.gleich { grid-template-columns: 1fr 1fr; }
.block-titel { font-size: 21px; color: var(--navy); padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--rahmen); }
.block-titel.abstand { margin-top: 34px; }

/* Ausstattung als schlichte Liste */
.ausstattung { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.ausstattung li { position: relative; padding-left: 16px; }
.ausstattung li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--navy); }

/* Tabellen wie „Eckdaten“ und „Preisinformation“ auf breusspartner.at */
.daten-tabelle { width: 100%; border-collapse: collapse; }
.daten-tabelle th, .daten-tabelle td { text-align: left; vertical-align: top; padding: 9px 0; border-bottom: 1px solid #eeeeee; font-size: 14px; }
.daten-tabelle th { font-weight: 700; color: var(--text-dunkel); padding-right: 16px; width: 48%; }
.daten-tabelle td.zahl { text-align: right; white-space: nowrap; color: var(--text-dunkel); }
.daten-tabelle tr.summe th, .daten-tabelle tr.summe td { border-top: 2px solid var(--navy); border-bottom: 0; padding-top: 12px; color: var(--navy); font-weight: 700; }
.fussnote { font-size: 12px; margin: 10px 0 0; }

/* ---------- Fotos ---------- */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 10px; }
.galerie button { position: relative; padding: 0; border: 0; background: var(--flaeche); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.galerie button:first-child { grid-column: span 2; grid-row: span 2; }
.galerie button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.galerie button:hover img { transform: scale(1.04); filter: brightness(.92); }
.galerie .mehr-fotos { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11, 48, 71, .72); color: #fff; font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 24px; transition: background .2s; }
.galerie button:hover .mehr-fotos { background: rgba(4, 18, 27, .8); }
.galerie .versteckt { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .94); display: none; align-items: center; justify-content: center; touch-action: pan-y; }
.lightbox.offen { display: flex; }
.lightbox figure { margin: 0; max-width: min(92vw, 1500px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox figcaption { color: #ccc; font-size: 13px; margin-top: 12px; text-align: center; }
.lb-knopf { position: absolute; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .3); color: #fff; width: 48px; height: 48px; border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-knopf:hover { background: var(--navy); border-color: var(--navy); }
.lb-knopf svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.lb-zu { top: 16px; right: 16px; }
.lb-zurueck { left: 16px; top: 50%; margin-top: -24px; }
.lb-weiter { right: 16px; top: 50%; margin-top: -24px; }
.lb-zaehler { position: absolute; top: 28px; left: 20px; color: #ccc; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Freizeitwohnsitz: Karten wie „Warum Breuss & Partner“ ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item { background: #fff; border-left: 4px solid var(--navy); padding: 24px 28px; }
.why-item h3 { font-size: 19px; color: var(--navy); margin: 0 0 8px; }
.why-item p { margin: 0; font-size: 14px; line-height: 1.65; }

/* ---------- Lage: Skigebiete als Kennzahlen ---------- */
.kennzahlen { display: flex; justify-content: space-around; gap: 20px; text-align: center; padding: 6px 0 34px; }
.stat b { display: block; font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 26px; color: var(--navy); }
.stat span { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Ertrag: Vermietungsrechner (nur Einnahmen) ---------- */
/* Desktop: Regler links über beide Zeilen, rechts Betrag und Aufteilung als ein Kasten */
.rechner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: auto 1fr; grid-template-areas: "regler kopf" "regler details"; column-gap: 28px; row-gap: 0; align-items: start; max-width: 1100px; margin: 0 auto; }
.rechner-oben { display: contents; }
.rechner-regler { grid-area: regler; background: #fff; border: 1px solid var(--rahmen); box-shadow: var(--schatten); padding: 26px 28px 4px; }
.rechner fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.rechner legend { width: 100%; padding: 0 0 8px; margin-bottom: 16px; border-bottom: 1px solid #eee; font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); }
.rechner-feld { margin-bottom: 20px; }
.rechner-feld-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.rechner-feld-kopf label { font-size: 14px; font-weight: 700; color: var(--text-dunkel); line-height: 1.35; }
.rechner .hilfe { font-size: 12px; color: #777; margin: 6px 0 0; line-height: 1.45; }
.zahl-eingabe { display: inline-flex; align-items: center; flex: none; border: 1px solid var(--rahmen); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.zahl-eingabe:hover { border-color: #b9c2ca; }
.zahl-eingabe:focus-within { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(11, 48, 71, .15); }
.zahl-eingabe input { width: 76px; border: 0; background: transparent; font: 700 16px Verdana, Geneva, sans-serif; color: var(--navy); text-align: right; padding: 6px 4px 6px 8px; -moz-appearance: textfield; }
.zahl-eingabe input:focus { outline: none; }
.zahl-eingabe input::-webkit-outer-spin-button, .zahl-eingabe input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zahl-eingabe span { font-size: 13px; color: #777; padding-right: 10px; white-space: nowrap; }
/* Regler: Navy-Spur bis zum Wert (--pct setzt app.js) */
.rechner input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; --pct: 50%; }
.rechner input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--navy) 0 var(--pct), #d5dbe1 var(--pct) 100%); }
.rechner input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #d5dbe1; }
.rechner input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--navy); }
.rechner input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .15s; }
.rechner input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .15s; }
.rechner input[type="range"]:hover::-webkit-slider-thumb, .rechner input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.rechner input[type="range"]:hover::-moz-range-thumb, .rechner input[type="range"]:active::-moz-range-thumb { transform: scale(1.15); }
.rechner input[type="range"]:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.rechner-kopf { grid-area: kopf; position: relative; z-index: 1; background: var(--navy); color: #fff; padding: 24px 28px 22px; box-shadow: var(--schatten); }
.rechner-label { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #c9d3db; }
.rechner-zahl { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: clamp(34px, 4vw, 44px); line-height: 1.1; margin: 6px 0 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rechner-sub { font-size: 13px; color: #c9d3db; }
.rechner-sub strong { color: #fff; }
.rechner-details { grid-area: details; align-self: stretch; background: #fff; border: 1px solid var(--rahmen); border-top: 0; box-shadow: var(--schatten); padding: 18px 28px 26px; }
.rechner-tabelle th { font-weight: 400; width: auto; font-size: 13px; color: var(--text); }
.rechner-tabelle th small { display: block; font-size: 11px; color: #888; }
.rechner-tabelle td.zahl { font-size: 13px; font-variant-numeric: tabular-nums; }
.rechner-tabelle tr.summe th, .rechner-tabelle tr.summe td { font-size: 14px; }
.rechner-mini { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dunkel); margin: 22px 0 8px; }
.rechner-balken { display: flex; height: 16px; border-radius: var(--radius); overflow: hidden; background: #dfe4e8; }
.rechner-balken span { display: block; height: 100%; transition: width .35s ease; }
.rechner-balken span:first-child { background: var(--navy); }
.rechner-balken span + span { background: #dfe4e8; }
.rechner-legende { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: #666; }
.rechner-legende i { display: inline-block; width: 10px; height: 10px; border-radius: 1px; margin-right: 5px; vertical-align: -1px; background: #dfe4e8; }
.rechner-legende i.vermietet { background: var(--navy); }
.rechner-kennzahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.rechner-kennzahl { border: 1px solid #e3e7eb; border-left: 4px solid var(--navy); padding: 9px 12px; transition: box-shadow .2s, transform .2s; }
.rechner-kennzahl:hover { box-shadow: var(--schatten); transform: translateY(-1px); }
.rechner-kennzahl b { display: block; font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 20px; color: var(--navy); line-height: 1.2; font-variant-numeric: tabular-nums; }
.rechner-kennzahl span { display: block; font-size: 11.5px; line-height: 1.35; color: #666; }
.rechner-knopf { width: 100%; margin-top: 22px; padding-left: 10px; padding-right: 10px; letter-spacing: 0; }
.rechner-fussnoten { max-width: 860px; margin: 28px auto 0; text-align: center; }
.rechner-fussnoten .fussnote { margin: 8px 0 0; }

/* ---------- Kaufablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { background: var(--flaeche-hell); box-shadow: 1px 1px 8px -1px rgba(219, 219, 219, .9); padding: 24px 20px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--navy); color: #fff; font-family: 'Raleway', sans-serif; font-weight: 600; }
.step h3 { font-size: 17px; color: var(--navy); margin: 16px 0 8px; }
.step p { margin: 0; font-size: 13px; line-height: 1.6; }

/* ---------- Ansprechpartner und Bewertung ---------- */
.berater { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; }
.berater img { width: 260px; height: 260px; object-fit: cover; }
.berater h2 { font-size: clamp(24px, 2.6vw, 30px); text-transform: uppercase; margin: 8px 0 4px; }
.berater-rolle { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.berater-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.testi { background: var(--flaeche-hell); border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; padding: 44px 0; }
.testi-inner { display: flex; align-items: center; justify-content: center; gap: 24px 56px; flex-wrap: wrap; }
.score { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.score:hover .anzahl { text-decoration: underline; }
.score .zahl { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 46px; line-height: 1; color: var(--navy); }
.score .sterne { display: block; font-size: 22px; line-height: 1.2; }
.score .anzahl { display: block; font-size: 14px; color: var(--text); }
.trenner { width: 1px; height: 64px; background: #D5D8DE; }
.zitat { margin: 0; max-width: 560px; text-align: left; }
.zitat p { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.45; color: var(--navy); margin: 0; }
.zitat .quelle { display: block; font-size: 13px; color: #777; margin-top: 8px; }

/* ---------- Häufige Fragen ---------- */
.fragen { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--rahmen); }
.fragen details { border-bottom: 1px solid var(--rahmen); }
.fragen summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 17px; color: var(--navy); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: Verdana, sans-serif; font-size: 22px; font-weight: 400; color: var(--navy); }
.fragen summary::after { transition: transform .2s; }
.fragen details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fragen summary:hover { text-decoration: underline; }
.fragen .antwort { padding: 0 44px 18px 0; font-size: 14px; }
.fragen .antwort p:last-child { margin-bottom: 0; }

/* ---------- Anfrageformular wie auf der Bewertungsseite ---------- */
.form-card { background: #fff; border: 1px solid var(--rahmen); border-radius: var(--radius); box-shadow: var(--schatten); padding: 32px 38px 30px; }
.form-card h3 { font-size: 21px; color: var(--navy); text-transform: uppercase; margin-bottom: 18px; }
.anliegen { border: 0; padding: 0; margin: 0 0 22px; }
.anliegen legend { display: block; font-size: 12px; color: var(--text-dunkel); margin-bottom: 6px; padding: 0; }
.umschalter { display: inline-flex; flex-wrap: wrap; border: 1px solid #cccccc; border-radius: var(--radius); overflow: hidden; }
.umschalter label { position: relative; cursor: pointer; }
.umschalter label + label { border-left: 1px solid #cccccc; }
.umschalter input { position: absolute; opacity: 0; pointer-events: none; }
.umschalter span { display: block; padding: 10px 18px; font-size: 14px; color: var(--text-dunkel); background: #fff; transition: background .2s, color .2s; }
.umschalter label:hover span { background: var(--flaeche-hell); }
.umschalter input:checked + span { background: var(--navy); color: #fff; }
.umschalter input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: -4px; }

.felder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 22px; }
.feld.breit { grid-column: span 2; }
.feld label { display: block; font-size: 12px; color: var(--text-dunkel); margin-bottom: 6px; }
.feld label .pflicht { color: #b3261e; }
.feld input, .feld textarea {
  width: 100%; border: 1px solid #cccccc; border-radius: var(--radius); padding: 0 12px; height: 40px;
  font: inherit; font-size: 16px; color: var(--text-dunkel); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.feld textarea { height: 96px; padding: 9px 12px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 48, 71, .15); }
.form-fuss { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 20px; }
.einwilligung { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; max-width: 60ch; cursor: pointer; }
.einwilligung input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--navy); flex: none; }
.formular-hinweis { font-size: 12px; margin: 12px 0 0; text-align: right; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Abschluss und Fuß ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); text-transform: uppercase; }
.cta-band p { color: var(--champagner); font-size: 16px; margin: 12px 0 26px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.fuss { background: #000; color: #BFC2C8; font-size: 13px; padding: 52px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.logo-chip { display: inline-block; background: #fff; padding: 10px 14px; border-radius: var(--radius); }
.logo-chip img { height: 40px; width: auto; }
.fuss p { margin: 14px 0 0; max-width: 34ch; line-height: 1.7; }
.fuss-titel { color: #fff; font-family: 'Raleway', sans-serif; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.fuss a { color: #BFC2C8; }
.fuss a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid #262626; color: #8D919A; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #fff; font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 12px; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- Feste Leiste am Handy ---------- */
.handyleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--rahmen);
  transform: translateY(110%); transition: transform .3s ease;
}
.handyleiste.sichtbar { transform: none; }
.handyleiste .btn-primary { flex: 1; padding: 13px 10px; }
.handyleiste .btn-outline-dunkel { flex: none; width: 50px; padding: 0; }
.handyleiste .btn-outline-dunkel svg { width: 20px; height: 20px; }

/* ---------- Rechtliches und Danke ---------- */
.rechtliches { padding: 60px 0 80px; }
.rechtliches .wrap { max-width: 860px; }
.rechtliches h1 { font-size: clamp(22px, 3.4vw, 40px); color: var(--navy); text-transform: uppercase; margin: 8px 0 12px; overflow-wrap: anywhere; hyphens: auto; }
.rechtliches h2 { font-size: 21px; color: var(--navy); margin: 36px 0 12px; }
.rechtliches h3 { font-size: 16px; color: var(--text-dunkel); margin: 22px 0 8px; }
.rechtliches p { margin: 0 0 10px; }
.rechtliches ul { padding-left: 20px; margin: 0 0 12px; }
.rechtliches .stand { font-size: 13px; margin-bottom: 20px; }
.rechtliches .kasten { background: var(--flaeche-hell); border: 1px solid var(--rahmen); border-radius: var(--radius); padding: 18px 22px; margin: 10px 0 14px; }
.rechtliches .kasten p { margin: 0 0 4px; }
.rechtliches p, .rechtliches li { overflow-wrap: anywhere; }

.danke-seite { padding: 70px 0 90px; text-align: center; }
.danke-seite .wrap { max-width: 760px; }
.danke-seite h1 { font-size: clamp(24px, 3.4vw, 38px); color: var(--navy); text-transform: uppercase; margin: 8px 0 16px; }
.danke-seite .lead { font-size: 16px; }
.danke-haken { width: 64px; height: 64px; margin: 0 auto 18px; background: var(--navy); display: grid; place-items: center; }
.danke-haken svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 3; }
.naechste { text-align: left; background: var(--flaeche-hell); border-left: 4px solid var(--navy); padding: 22px 28px; margin: 30px 0; }
.naechste h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.naechste ol { margin: 0; padding-left: 20px; }
.naechste li { margin-bottom: 6px; }
.danke-knoepfe { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
[data-anliegen-block] { display: none; }
[data-anliegen-block].aktiv { display: block; }

/* ---------- Prüfmodus (?pruefen=1): markiert noch nicht bestätigte Angaben ---------- */
html.pruefmodus [data-pruefen] { outline: 2px dashed #e0a800; outline-offset: 3px; background-color: rgba(255, 214, 0, .12); }
.pruefleiste { position: fixed; left: 12px; bottom: 12px; z-index: 300; background: #fff3c4; color: #5c4700; border: 1px solid #e0a800; padding: 10px 14px; font-size: 13px; max-width: 360px; }

/* ---------- Umbrüche ---------- */
@media (max-width: 1000px) {
  .eckdaten-leiste { grid-template-columns: repeat(3, 1fr); }
  .eckdaten-leiste div:nth-child(4) { border-left: 0; }
  .eckdaten-leiste div:nth-child(n+4) { border-top: 1px solid var(--rahmen); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .zwei-spalten, .zwei-spalten.gleich { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .topleiste .mitte { display: none; }
}

@media (max-width: 900px) {
  .objekt-kopf { flex-direction: column; gap: 14px; }
  .preis-box { text-align: left; }
  .why-grid { grid-template-columns: 1fr; }
  .trenner { display: none; }
  .zitat { text-align: center; }
  .berater { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .berater img { margin: 0 auto; }
  .berater-knoepfe { justify-content: center; }
  .felder { grid-template-columns: repeat(2, 1fr); }
  .feld.breit { grid-column: 1 / -1; }
  .form-fuss { flex-direction: column; align-items: stretch; }
  .form-fuss .btn-primary { width: 100%; }
  .formular-hinweis { text-align: center; }
  .kopf-link { display: none; }
  /* Handy und Tablet: ein Kasten; der Betrag bleibt nur über den Reglern stehen (sticky innerhalb von .rechner-oben) */
  .rechner { display: flex; flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; background: #fff; border: 1px solid var(--rahmen); box-shadow: var(--schatten); }
  .rechner-oben { display: flex; flex-direction: column; }
  .rechner-kopf { position: sticky; top: var(--kopf-hoehe, 58px); z-index: 5; box-shadow: none; }
  .rechner-regler { border: 0; box-shadow: none; }
  .rechner-details { border: 0; border-top: 1px solid #eee; box-shadow: none; }
}

@media (max-width: 700px) {
  .logo img { height: 38px; }
  .kopf .wrap { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .kopf-rechts { gap: 8px; }
  .sprachwahl .globus { display: none; }
  .sprachwahl button { padding: 7px 8px; font-size: 12px; }
  .kopf-telefon { font-size: 0; gap: 0; padding: 9px; }
  .kopf-telefon svg { width: 18px; height: 18px; }
  .hero { padding: 50px 0 150px; }
  .objekt-bereich { margin-top: -110px; }
  .objekt-karte, .form-card { padding: 24px 18px; }
  .eckdaten-leiste { grid-template-columns: repeat(2, 1fr); }
  .eckdaten-leiste div:nth-child(n) { border-left: 0; border-top: 1px solid var(--rahmen); }
  .eckdaten-leiste div:nth-child(-n+2) { border-top: 0; }
  .eckdaten-leiste div:nth-child(2n) { border-left: 1px solid var(--rahmen); }
  .objekt-knoepfe, .objekt-knoepfe a { width: 100%; }
  .abschnitt { padding: 56px 0; }
  .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 6px; }
  .ausstattung { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .kennzahlen { flex-direction: column; gap: 16px; padding-bottom: 24px; }
  .felder { grid-template-columns: 1fr; }
  .umschalter { display: grid; grid-template-columns: 1fr; width: 100%; }
  .umschalter label + label { border-left: 0; border-top: 1px solid #cccccc; }
  .zitat p { font-size: 17px; }
  .lb-zurueck, .lb-weiter { top: auto; bottom: 20px; margin: 0; }
  .lb-zurueck { left: calc(50% - 58px); }
  .lb-weiter { right: calc(50% - 58px); }
  .footer-bottom { flex-direction: column; }
  .handyleiste { display: flex; }
  body { padding-bottom: 66px; }
  .rechner-kopf { padding: 18px 16px; }
  .rechner-regler { padding: 20px 16px 2px; }
  .rechner-details { padding: 16px 16px 22px; }
  .zahl-eingabe input { width: 74px; padding-left: 4px; }
}

@media (max-width: 640px) {
  .topleiste { font-size: 11px; letter-spacing: 0; }
  .topleiste .wrap { justify-content: center; }
  .topleiste .label, .topleiste .rechts { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .sprachwahl.pulsiert .knoepfe { animation: none; box-shadow: 0 0 0 3px var(--champagner); }
}

/* ---------- Cookie-Hinweis (einwilligung.js) ---------- */
.einwilligung-hinweis { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: #fff; border-top: 3px solid var(--navy); box-shadow: 0 -4px 18px rgba(0,0,0,.12); padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--text-dunkel); }
.einwilligung-hinweis .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.einwilligung-hinweis p { margin: 0; max-width: 760px; line-height: 1.5; }
.einwilligung-hinweis a { color: var(--navy); text-decoration: underline; }
.einwilligung-knoepfe { display: flex; gap: 12px; flex-shrink: 0; }
.einwilligung-knoepfe button { min-width: 130px; }
@media (max-width: 760px) {
  .einwilligung-hinweis .wrap { flex-direction: column; align-items: stretch; gap: 14px; }
  .einwilligung-knoepfe button { flex: 1; min-width: 0; }
}
