/* ==========================================================================
   Topka GmbH – Stylesheet
   Ein File für die ganze Website. Zwei Farben: Weiss und das Topka-Orange,
   dazu ein heller Orangeton für Flächen. Kein Schwarz als Fläche.
   ========================================================================== */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/onest-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/onest-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/onest-latin-600-normal.woff2") format("woff2"); }

:root {
  --text: #141414;
  --text-2: #5f6061;
  --linie: #e4e4e1;
  --linie-stark: #141414;
  --flaeche: #fff4e8;         /* heller Orangeton für Flächen (gelblicher, nicht rosa) */
  --flaeche-linie: #f6dcc2;
  --orange: #cc4218;          /* Knöpfe, Akzente und Farbflächen, weisse Schrift darauf (Kontrast 4.7:1) */
  --orange-hover: #b23810;
  --logo-orange: #f8633f;
  --breite: 1280px;
  --rand: 32px;
  --kopf: 88px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 16px); }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Onest", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text-2); }

h1, h2, h3, h4 { margin: 0 0 .55em; font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.nur-vorleser {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.sprung { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; }
.sprung:focus { top: 12px; color: #fff; }

.behaelter { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }

.abschnitt { padding: 128px 0; }
.abschnitt--flaeche { background: var(--flaeche); }
/* Die Farbfläche: Topka-Orange mit weisser Schrift, höchstens einmal pro Seite */
.abschnitt--dunkel { background: var(--orange); color: #fff; }
.abschnitt--dunkel a:hover { color: #fff; }
.abschnitt--dunkel .grau, .abschnitt--dunkel p { color: rgba(255,255,255,.9); }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #fff; }
.abschnitt--dunkel .knopf--primaer { background: #fff; border-color: #fff; color: var(--orange); }
.abschnitt--dunkel .knopf--primaer:hover { background: transparent; color: #fff; }
.abschnitt--dunkel .textlink .pfeil, .abschnitt--dunkel li::marker { color: #fff; }
.abschnitt--dunkel :focus-visible { outline-color: #fff; }
.abschnitt--eng { padding: 72px 0; }
.abschnitt--anschluss { padding-top: 0; }

.einleitung { font-size: 1.22rem; line-height: 1.55; color: var(--text); }
.grau { color: var(--text-2); }
.klein { font-size: .9rem; }

/* Zweispaltig: Überschrift links, Inhalt rechts. Das Grundraster der Seite. */
.raster {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 32px 80px;
  align-items: start;
}
.raster--mitte { align-items: end; }
.raster > h2 { margin: 0; }

.fliesstext { max-width: 680px; }
.fliesstext ul, .liste { margin: 0 0 1em; padding-left: 1.1em; }
.fliesstext li, .liste li { margin-bottom: .4em; }
.fliesstext li::marker, .liste li::marker { color: var(--orange); }

/* ------------------------------------------------------------- Knöpfe ---- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px;
  border: 1px solid var(--text); background: transparent; color: var(--text);
  font: inherit; font-size: 1rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background-color .2s, color .2s, border-color .2s;
}
.knopf:hover { background: var(--text); color: #fff; }
.knopf--primaer { background: var(--orange); border-color: var(--orange); color: #fff; }
.knopf--primaer:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; }
.knopf--hell { border-color: rgba(255,255,255,.7); color: #fff; }
.knopf--hell:hover { background: #fff; border-color: #fff; color: var(--text); }
.knopf[disabled] { opacity: .6; cursor: wait; }

.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.knoepfe--oben { margin-top: 0; }

.pfeil { width: 18px; height: 18px; flex: none; transition: transform .2s; }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; text-decoration: none;
}
.textlink .pfeil { width: 16px; height: 16px; color: var(--orange); }
.textlink:hover { color: var(--text); }
.textlink:hover .pfeil, a:hover > .textlink .pfeil { transform: translateX(4px); }

/* --------------------------------------------------------------- Kopf ---- */

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--linie);
  transition: background-color .25s, border-color .25s, color .25s;
}
.kopf__innen { display: flex; align-items: center; gap: 32px; height: var(--kopf); }

.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); flex: none; }
.logo img { width: auto; height: 38px; }
.logo__hell { display: none; }
.kopf--ueber-bild:not(.ist-gescrollt):not(.ist-offen) .logo__dunkel { display: none; }
.kopf--ueber-bild:not(.ist-gescrollt):not(.ist-offen) .logo__hell { display: block; }
.logo:hover { color: inherit; }

.nav { margin-left: auto; }
.nav__liste { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__liste > li { position: relative; }
.nav__link, .nav__knopf {
  display: inline-flex; align-items: center; gap: 6px;
  height: var(--kopf); padding: 0 13px;
  font: inherit; font-size: .97rem; font-weight: 500; color: inherit;
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__knopf svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__link:hover, .nav__knopf:hover { color: inherit; opacity: .65; }
.nav__link[aria-current="page"], .nav__gruppe.ist-aktiv > .nav__knopf { box-shadow: inset 0 -2px 0 var(--orange); }

/* Ausklappmenü: Tafel mit Links und Beschreibung, rechts ein Hinweis auf der Orangefläche */
.nav__tafel {
  position: absolute; left: -8px; top: 100%; z-index: 60;
  display: none; grid-template-columns: 300px 260px; gap: 8px; padding: 8px;
  background: #fff; color: var(--text); border: 1px solid var(--linie);
  box-shadow: 0 18px 40px -16px rgba(60, 20, 0, .18);
}
.nav__unter { margin: 0; padding: 0; list-style: none; }
.nav__unter a { display: block; padding: 12px 16px; text-decoration: none; transition: background-color .15s; }
.nav__unter strong { display: block; font-size: .97rem; font-weight: 500; }
.nav__unter span { display: block; margin-top: 1px; font-size: .84rem; color: var(--text-2); line-height: 1.4; }
.nav__unter a:hover { background: var(--flaeche); color: var(--text); }
.nav__unter a:hover strong, .nav__unter a[aria-current="page"] strong { color: var(--orange); }
.nav__hinweis {
  display: flex; flex-direction: column; padding: 22px 22px 20px;
  background: var(--flaeche); color: var(--text); text-decoration: none;
}
.nav__hinweis strong { font-size: 1.15rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.nav__hinweis span { margin-top: 8px; font-size: .9rem; color: var(--text-2); line-height: 1.5; }
.nav__hinweis em { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-weight: 500; font-size: .93rem; color: var(--orange); }
.nav__hinweis em .pfeil { width: 16px; height: 16px; }
.nav__hinweis:hover { color: var(--text); }
.nav__hinweis:hover em .pfeil { transform: translateX(4px); }
.nav__gruppe.ist-offen .nav__tafel { display: grid; }
.nav__gruppe.ist-offen .nav__knopf svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1101px) {
  .nav__gruppe:hover .nav__tafel { display: grid; }
  .nav__gruppe:hover .nav__knopf svg { transform: rotate(180deg); }
}

.kopf__aktion { display: flex; align-items: center; gap: 22px; flex: none; }
.kopf__suchprofil { font-weight: 500; text-decoration: none; white-space: nowrap; font-size: .95rem; padding-left: 24px; border-left: 1px solid var(--linie); }
.kopf--ueber-bild:not(.ist-gescrollt):not(.ist-offen) .kopf__suchprofil { border-color: rgba(255,255,255,.35); }
.kopf__suchprofil:hover { color: inherit; opacity: .65; }
.kopf__aktion .knopf { min-height: 46px; padding: 11px 20px; font-size: .95rem; }

.menue-knopf {
  display: none; margin-left: auto; align-items: center; gap: 10px;
  height: 46px; padding: 0 16px; border: 1px solid currentColor; background: transparent;
  font: inherit; font-weight: 500; cursor: pointer; color: inherit;
}
.menue-knopf svg { width: 18px; height: 18px; }

/* Startseite: Kopf liegt durchsichtig über dem Bild, bis gescrollt wird. */
.kopf--ueber-bild { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.kopf--ueber-bild.ist-gescrollt, .kopf--ueber-bild.ist-offen { background: #fff; border-color: var(--linie); color: var(--text); }

@media (max-width: 1100px) {
  .menue-knopf { display: inline-flex; }
  .kopf__suchprofil { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--kopf); bottom: 0;
    background: #fff; color: var(--text); overflow-y: auto; display: none; margin: 0;
    padding: 8px var(--rand) 40px; border-top: 1px solid var(--linie);
  }
  .kopf.ist-offen .nav { display: block; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__liste > li { border-bottom: 1px solid var(--linie); }
  .nav__link, .nav__knopf { height: auto; width: 100%; padding: 18px 0; font-size: 1.25rem; justify-content: space-between; }
  .nav__link[aria-current="page"], .nav__gruppe.ist-aktiv > .nav__knopf { box-shadow: none; color: var(--text); }
  .nav__tafel { position: static; box-shadow: none; border: 0; padding: 0 0 12px; grid-template-columns: 1fr; }
  .nav__hinweis { display: none; }
  .nav__unter a { padding: 9px 0 9px 16px; }
  .nav__unter span { display: none; }
  .nav__unter a:hover { background: none; }
  .nav__mobil-kontakt .knopf { width: 100%; margin-top: 10px; }
  .nav__mobil-kontakt { display: block; padding-top: 24px; }
}
@media (min-width: 1101px) { .nav__mobil-kontakt { display: none; } }
@media (max-width: 560px) { .kopf__aktion { display: none; } }

/* ---------------------------------------------------------- Einstieg ---- */

.held { position: relative; min-height: 640px; height: 94vh; max-height: 980px; color: #fff; display: flex; align-items: flex-end; }
.held__bild { position: absolute; inset: 0; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.held::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(90deg, rgba(10,12,14,.5) 0%, rgba(10,12,14,0) 60%),
    linear-gradient(0deg, rgba(10,12,14,.78) 0%, rgba(10,12,14,.25) 45%, rgba(10,12,14,0) 70%);
}
.held__inhalt { position: relative; z-index: 1; padding-bottom: 72px; }
.held h1 { max-width: 12ch; margin-bottom: 24px; }
.held__unten { display: block; }
.held__text { max-width: 540px; }
.held__text p { font-size: 1.2rem; line-height: 1.5; color: rgba(255,255,255,.9); }
.held .knoepfe { margin-top: 28px; }
.vorteile { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .95rem; color: rgba(255,255,255,.85); }
.vorteile li { padding: 0; }

/* Grosser Satz am Anfang einer Seite */
.aussage { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.25; letter-spacing: -0.025em; font-weight: 400; max-width: 26ch; margin: 0; }

/* Bildkarten (Lebenslagen, Ratgeber) */
.karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 20px; margin-top: 64px; }
.karten--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.karte { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.karte__bild { position: relative; overflow: hidden; background: var(--flaeche); margin-bottom: 20px; }
.karte__bild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.karte__bild--quadrat img { aspect-ratio: 1 / 1; }
.karte__bild h3 {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 64px 22px 20px;
  color: #fff; font-size: 1.4rem;
  background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 100%);
}
a.karte:hover .karte__bild img { transform: scale(1.04); }
a.karte:hover { color: var(--text); }
.karte > h3 { margin-bottom: 10px; }
.karte p { color: var(--text-2); font-size: .97rem; margin-bottom: 16px; }
.karte .textlink { margin-top: auto; align-self: flex-start; }

/* Typenwahl der Bewertung */
.typen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
/* Objektarten mit den Zeichnungen aus der avendo-Schnellbewertung */
.typ {
  display: flex; flex-direction: column; padding: 28px 28px 26px;
  background: #fff; border: 1px solid var(--linie); color: var(--text); text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.typ__bild { position: relative; display: grid; place-items: center; height: 150px; margin: -28px -28px 24px; background: var(--flaeche); }
.typ__bild img { grid-area: 1 / 1; width: 140px; height: auto; transition: opacity .2s; }
.typ__aktiv { opacity: 0; }
.typ__name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.3rem; font-weight: 500; letter-spacing: -0.015em; }
.typ__name .pfeil { color: var(--orange); }
.typ__text { margin-top: 6px; font-size: .93rem; color: var(--text-2); }
.typ:hover { color: var(--text); border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.typ:hover .typ__aktiv { opacity: 1; }
.typ:hover .pfeil { transform: translateX(4px); }
.abschnitt--flaeche .typ, .seitenkopf--flaeche .typ { border-color: var(--flaeche-linie); }
.abschnitt--flaeche .typ__bild, .seitenkopf--flaeche .typ__bild { background: #fff; border-bottom: 1px solid var(--flaeche-linie); }
.typen__titel { margin: 80px 0 0; font-size: 1.4rem; letter-spacing: -0.015em; }
.typen__titel + .typen { margin-top: 28px; }

/* Bewertung: Zusagen unter der Einleitung, Schritte, Vergleich */
.versprechen { margin: 24px 0 0; padding: 0; list-style: none; color: var(--text-2); }
.versprechen li { position: relative; padding: 6px 0 6px 30px; }
.versprechen li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg);
}

.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 64px 0 0; padding: 0; list-style: none; counter-reset: schritt; }
.schritte li { counter-increment: schritt; padding-top: 24px; border-top: 1px solid var(--linie-stark); }
.schritte li::before { content: counter(schritt, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--orange); font-variant-numeric: tabular-nums; }
.schritte p { color: var(--text-2); }

h2.schmal { max-width: 18ch; }
.vergleich { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.vergleich__spalte { display: flex; flex-direction: column; align-items: flex-start; padding: 48px; border: 1px solid var(--linie); }
.vergleich__spalte--betont { background: var(--flaeche); border-color: var(--flaeche); }
.vergleich__spalte h3 { font-size: 1.6rem; margin-bottom: 8px; }
.vergleich__spalte .liste { margin: 16px 0 32px; }
.vergleich__spalte > :last-child { margin-top: auto; }

.faktoren.faktoren--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faktoren__mehr { margin-top: 48px; }

/* Person */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: center; }
.person__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.zitat { margin: 0 0 32px; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.2; font-weight: 400; letter-spacing: -0.03em; }
.abschnitt--dunkel .zitat { color: #fff; }
.abschnitt--dunkel:has(> .person) { padding: 0; background: linear-gradient(90deg, #fff 50%, var(--orange) 50%); }
.abschnitt--dunkel > .person { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
.abschnitt--dunkel > .person .person__bild { margin-left: calc(-1 * (max(0px, (100vw - var(--breite) - 2 * var(--rand)) / 2) + var(--rand))); }
.abschnitt--dunkel > .person .person__bild img { height: 100%; min-height: 680px; max-height: 900px; aspect-ratio: auto; }
.abschnitt--dunkel > .person > :last-child { align-self: center; padding: 112px 0 112px 88px; }
.person__name { margin-top: 32px; font-weight: 500; }
.person__name span { display: block; font-weight: 400; color: var(--text-2); }
.abschnitt--dunkel .person__name { color: #fff; }
.abschnitt--dunkel .person__name span { color: rgba(255,255,255,.8); }

/* Stimmen */
.stimmen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; margin-top: 64px; }
.stimmen--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stimme { margin: 0; padding-top: 28px; border-top: 1px solid var(--linie); }
.stimme blockquote { margin: 0 0 20px; font-size: 1.12rem; line-height: 1.55; }
.stimme figcaption { color: var(--text-2); font-size: .93rem; }
.stimme figcaption strong { color: var(--text); font-weight: 500; }

/* Kundenstimme als Karte */
.stimme-karte { display: flex; flex-direction: column; margin: 0; padding: 36px; background: var(--flaeche); break-inside: avoid; }
.stimme-karte__zeichen { width: 22px; height: 16px; color: var(--orange); opacity: .5; margin-bottom: 20px; }
.stimme-karte blockquote { margin: 0 0 24px; font-size: 1.05rem; line-height: 1.55; }
/* Gleich hohe Karten: lange Stimmen werden gekürzt und lassen sich aufklappen */
.stimme-karte blockquote p { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.stimme-karte.ist-offen blockquote p { -webkit-line-clamp: unset; }
.stimme-karte--gross blockquote p { -webkit-line-clamp: unset; }
.stimme-karte__mehr { align-self: flex-start; margin: -12px 0 24px; padding: 0; border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 500; color: var(--orange); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.stimmen-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Google-Note (fester Stand) über den Kundenstimmen */
.google-note { display: flex; align-items: center; gap: 18px; margin: 28px 0 40px; }
.google-note__zahl { font-size: 3rem; font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.google-note p { margin: 4px 0 0; font-size: .93rem; color: var(--text-2); }
.google-note a { color: var(--text); }
.seitenkopf .google-note { margin: 28px 0 0; }
.sterne { color: var(--orange); font-size: 1.2rem; letter-spacing: 2px; line-height: 1; }
.sterne--gross { font-size: 1.6rem; letter-spacing: 3px; }
#realadvisor .stimmen-raster { margin-top: 8px; }
#realadvisor .stimme-karte { background: #fff; }
.sterne--klein { display: block; margin: 6px 0 2px; font-size: .9rem; letter-spacing: 1px; }

/* Slider (Vorbild abtdomb.ch): alle Stimmen, gleich breit und hoch */
.slider__spur {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 84vw); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px;
  scrollbar-width: thin; scrollbar-color: var(--flaeche-linie) transparent;
}
.slider__spur > * { scroll-snap-align: start; }
.slider__spur .stimme-karte { height: 100%; }
.abschnitt:not(.abschnitt--flaeche) .slider__spur .stimme-karte { background: var(--flaeche); }
.slider__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
/* Kompakt unter den Kundenfilmen der Startseite: schmalere Karten, kleinere Schrift */
.start-stimmen__texte { margin-top: 64px; }
.start-stimmen__texte .google-note { margin: 0 0 24px; }
.start-stimmen__texte .google-note__zahl { font-size: 2.2rem; }
.slider--kompakt .slider__spur { grid-auto-columns: min(300px, 78vw); gap: 16px; }
.slider--kompakt .stimme-karte { padding: 24px; }
.slider--kompakt .stimme-karte__zeichen { margin-bottom: 12px; }
.slider--kompakt .stimme-karte blockquote { margin-bottom: 16px; font-size: .95rem; }
.slider--kompakt .stimme-karte blockquote p { -webkit-line-clamp: 5; }
.slider__nav button {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--flaeche-linie); background: #fff; color: var(--orange); cursor: pointer; transition: background-color .2s, color .2s;
}
.slider__nav button:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.slider__nav svg { width: 18px; height: 18px; }
.stimme-karte blockquote p { margin: 0; }
.stimme-karte figcaption { margin-top: auto; font-size: .9rem; color: var(--text-2); }
.stimme-karte figcaption strong { display: block; font-size: 1rem; font-weight: 500; color: var(--text); }
.abschnitt--flaeche .stimme-karte { background: #fff; }
.stimme-karte--gross { padding: 0 0 72px; margin-bottom: 72px; background: none; border-bottom: 1px solid var(--linie); }
.stimme-karte--gross .stimme-karte__zeichen { width: 32px; height: 24px; margin-bottom: 28px; }
.stimme-karte--gross blockquote { max-width: 30ch; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.28; letter-spacing: -0.025em; }
.stimme-karte--gross figcaption { font-size: .95rem; }
.stimmen-wand { columns: 3; column-gap: 24px; }
.stimmen-wand .stimme-karte { margin-bottom: 24px; }
.stimmen .stimme-karte { height: 100%; }

/* ------------------------------------------------- Projekte, Jägerruh -- */

.projekt-held { position: relative; display: flex; align-items: flex-end; min-height: 560px; height: 72vh; max-height: 760px; color: #fff; }
.projekt-held__bild { position: absolute; inset: 0; }
.projekt-held__bild img { width: 100%; height: 100%; object-fit: cover; }
.projekt-held::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,14,.72) 0%, rgba(10,12,14,.2) 55%, rgba(10,12,14,.15) 100%); }
.projekt-held__inhalt { position: relative; z-index: 1; padding-bottom: 64px; }
.projekt-held .brotkrumen, .projekt-held .brotkrumen a { color: rgba(255,255,255,.85); }
.projekt-held h1 { margin-bottom: 14px; }
.projekt-held__text { font-size: 1.2rem; max-width: 40ch; color: rgba(255,255,255,.92); margin: 0; }
.projekt-held .knoepfe { margin-top: 28px; }

/* Wohnungsfinder: anklickbare Felder auf der Fassade */
.fassade { position: relative; max-width: 1080px; margin: 48px auto 0; }
.fassade img { width: 100%; height: auto; }
.fassade__wohnung {
  position: absolute; display: grid; place-items: center; text-decoration: none;
  border: 2px solid var(--orange); background: rgba(248, 99, 63, .14); transition: background-color .2s, transform .2s;
}
.fassade__wohnung span {
  padding: 3px 8px; background: #fff; color: var(--text); font-size: .8rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.fassade__wohnung:hover, .fassade__wohnung:focus-visible { background: rgba(248, 99, 63, .45); }
.fassade__wohnung[data-zustand="verkauft"] { border-color: #fff; background: rgba(20, 20, 20, .35); }
.fassade__wohnung[data-zustand="verkauft"] span { color: var(--text-2); text-decoration: line-through; }
.fassade__wohnung[data-zustand="reserviert"] { border-style: dashed; }
.fassade__wohnung[data-zustand="anfrage"] { border-color: rgba(255,255,255,.85); background: rgba(255,255,255,.12); }
.fassade__legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 20px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--text-2); }
.fassade__legende li { display: flex; align-items: center; gap: 8px; }
.punkt { width: 14px; height: 14px; border: 2px solid var(--orange); background: rgba(248, 99, 63, .14); }
.punkt--reserviert { border-style: dashed; }
.punkt--verkauft { border-color: #9a9a9a; background: rgba(20,20,20,.35); }

/* Wohnungskarten */
.wohnungen { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 48px; }
.wohnung { display: flex; flex-direction: column; padding: 28px; background: #fff; border-top: 3px solid var(--orange); scroll-margin-top: calc(var(--kopf) + 24px); }
.wohnung[data-zustand="verkauft"] { border-top-color: #c9c9c4; }
.wohnung[data-zustand="verkauft"] h3 { color: var(--text-2); }
.wohnung__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--linie); }
.wohnung__kopf h3 { margin: 0; font-size: 1.3rem; }
.wohnung__status { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.wohnung[data-zustand="verfuegbar"] .wohnung__status { color: var(--orange); }
.wohnung dl { margin: 0 0 24px; }
.wohnung dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--linie); font-size: .95rem; }
.wohnung dl div[hidden] { display: none; }
.wohnung dt { color: var(--text-2); }
.wohnung dd { margin: 0; font-weight: 500; text-align: right; }
.wohnung .knopf { margin-top: auto; align-self: stretch; }

/* Projekte-Übersicht */
.projektkarte { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; color: var(--text); text-decoration: none; }
.projektkarte__bild { overflow: hidden; }
.projektkarte__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.projektkarte:hover { color: var(--text); }
.projektkarte:hover img { transform: scale(1.03); }
.projektkarte:hover .pfeil { transform: translateX(4px); }
.projektkarte__ort { margin: 0 0 8px; color: var(--text-2); font-size: .95rem; }
.projektkarte__text p:not(.projektkarte__ort) { color: var(--text-2); }

/* Abschnitte, die nur Entwurf C zeigt */
.bewertungskarte__hinweis { margin: 22px 0 0; font-size: .95rem; color: var(--text-2); }
.bewertungskarte__hinweis a { color: var(--text); font-weight: 500; white-space: nowrap; }

/* Filmabschnitt der Startseite (Entwurf C): zentriert, mittelgross, Start auf Klick */
.start-film__inhalt { display: flex; flex-direction: column; align-items: center; text-align: center; }
.start-film .zitat { max-width: 24ch; margin: 0 0 14px; }
.start-film__name { margin: 0; color: var(--text-2); }
.start-film__video { position: relative; width: 100%; max-width: 1080px; margin-top: 48px; background: #111; }
.start-film__video video { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 670; }
.start-film__start {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 14px; padding: 24px;
  border: 0; background: linear-gradient(0deg, rgba(10,12,14,.55) 0%, rgba(10,12,14,0) 45%); color: #fff; font: inherit; font-weight: 600; font-size: 1.05rem; cursor: pointer;
  transition: background-color .2s;
}
.start-film__start svg { width: 56px; height: 56px; padding: 16px; box-sizing: border-box; background: var(--orange); color: #fff; border-radius: 50%; transition: transform .2s; }
.start-film__start:hover svg { background: var(--orange-hover); }
.start-film__start:hover svg { transform: scale(1.06); }
.start-film__video.spielt .start-film__start { display: none; }
.start-film__knoepfe { justify-content: center; }

/* Filme auf Klick (Videos von Adrian, Kundenstimmen); Hochformat schmal wie ein Handyvideo */
.film { position: relative; background: #111; }
.film video { display: block; width: 100%; height: auto; }
.film--hoch { max-width: 360px; }
.film__start {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 12px; padding: 20px;
  border: 0; background: linear-gradient(0deg, rgba(10,12,14,.6) 0%, rgba(10,12,14,0) 45%); color: #fff; font: inherit; font-weight: 600; font-size: 1rem; text-align: left; cursor: pointer;
}
.film__start svg { flex: none; width: 52px; height: 52px; padding: 15px; box-sizing: border-box; background: var(--orange); color: #fff; border-radius: 50%; transition: transform .2s; }
.film__start:hover svg { background: var(--orange-hover); transform: scale(1.06); }
.film.spielt .film__start { display: none; }
.filme { display: flex; flex-wrap: wrap; gap: 32px; }
.filme .film--hoch { flex: 1 1 260px; }
.raster--film { align-items: center; }
.raster--film .film--hoch { justify-self: center; width: 100%; }
/* «So arbeite ich» auf /verkaufen: zwei Videos als Kapitel mit Titel */
.kapitel { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 56px; }
.kapitel-abschnitt .kopf-mitte { margin-bottom: 56px; }
.kapitel__eintrag { margin: 0; }
.kapitel__eintrag .film--hoch { max-width: none; }
.kapitel__eintrag figcaption { margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--orange); }
.kapitel__eintrag h3 { margin: 0 0 8px; font-size: 1.25rem; }
.kapitel__eintrag p { margin: 0; color: var(--text-2); }
.kapitel__eintrag p span { margin-right: 6px; color: var(--orange); font-weight: 600; font-variant-numeric: tabular-nums; }
.kapitel__knopf { justify-content: center; margin-top: 56px; }
.filme--breit { margin-top: 48px; }
.filme--breit figure { flex: 1 1 420px; margin: 0; }
.filme--breit figcaption { margin-top: 12px; color: var(--text-2); font-size: .95rem; }
.raster__bild { margin-top: 40px; max-width: 420px; }
.raster__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.kontaktseite__bild { margin-top: 40px; }
.kontaktseite__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Fremdinhalt, der erst auf Klick lädt (RealAdvisor) */
.fremdinhalt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 48px; padding: 32px 36px; background: #fff; border: 1px solid var(--flaeche-linie); }
.fremdinhalt p { max-width: 62ch; margin: 0; color: var(--text-2); font-size: .95rem; }
.fremdinhalt.ist-geladen { display: block; padding: 0; background: none; border: 0; }

/* Video: startet stumm, sobald es zur Hälfte sichtbar ist */
.video { margin: 64px 0 0; background: var(--flaeche); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 670; }

/* ---------------------------------------------------------- Unterseiten ---- */

.seitenkopf { padding: 88px 0 120px; }
.seitenkopf__raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 80px; align-items: center; }
.seitenkopf h1 { margin-bottom: .45em; }
/* Das Bild läuft rechts bis an den Fensterrand. */
.seitenkopf__bild { margin-right: calc(-1 * (max(0px, (100vw - var(--breite) - 2 * var(--rand)) / 2) + var(--rand))); }
.seitenkopf__bild img { width: 100%; aspect-ratio: 5 / 6; max-height: 760px; object-fit: cover; }
.seitenkopf--schmal { padding-bottom: 64px; }
.seitenkopf__bild--person img { object-position: 50% 6%; }
.seitenkopf--flaeche { background: var(--flaeche); padding-bottom: 112px; }

/* Bewertungskarte nach der Vorlage von abtdomb.ch */
.bewertungskarte {
  position: relative; max-width: 660px; margin: 0 auto; padding: 40px;
  background: #fff; border-top: 6px solid var(--orange); box-shadow: 0 24px 48px -24px rgba(90, 40, 0, .18);
}
.bewertungskarte__marke {
  position: absolute; top: -15px; right: 28px; padding: 7px 16px; border-radius: 100px;
  background: var(--text); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.bewertungskarte h3 { margin: 0 0 6px; font-size: 1.6rem; letter-spacing: -0.02em; }
.bewertungskarte__unter { margin: 0 0 28px; color: var(--text-2); }
.bewertungskarte__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.objektart {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 12px 22px;
  border: 1px solid var(--linie); color: var(--text); text-decoration: none; font-weight: 600;
  transition: border-color .2s, box-shadow .2s, color .2s;
}
.objektart__bild { position: relative; display: block; width: 110px; height: 88px; }
.objektart__bild img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .2s; }
.objektart__aktiv { opacity: 0; }
.objektart:hover { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); color: var(--orange); }
.objektart:hover .objektart__aktiv { opacity: 1; }
.kopf-mitte { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.kopf-mitte h2 { margin-bottom: 18px; }
.bewertung-kopf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; }
.bewertung-kopf .bewertungskarte { margin: 0; max-width: none; }
.seitenkopf--schmal h1 { max-width: 16ch; }
.brotkrumen { margin: 0 0 32px; font-size: .92rem; color: var(--text-2); }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; }

/* Drei Gründe nebeneinander */
.gruende { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 64px; }
.grund { padding-top: 24px; border-top: 1px solid var(--linie-stark); }
.grund p { color: var(--text-2); }
.merksatz { margin-top: 72px; max-width: 28ch; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.25; letter-spacing: -0.025em; }
.merksatz::before { content: ""; display: block; width: 40px; height: 3px; background: var(--orange); margin-bottom: 24px; }

/* Ablauf als Liste, keine Karten */
.ablauf { margin: 0; padding: 0; list-style: none; counter-reset: ablauf; border-top: 1px solid var(--linie-stark); }
.ablauf li {
  counter-increment: ablauf;
  display: grid; grid-template-columns: 52px minmax(0, 170px) minmax(0, 1fr); gap: 8px 24px;
  padding: 26px 0; border-bottom: 1px solid var(--linie);
}
.ablauf li::before { content: counter(ablauf, decimal-leading-zero); color: var(--orange); font-variant-numeric: tabular-nums; padding-top: 2px; }
.ablauf h3 { margin: 0; }
.ablauf p { margin: 0; color: var(--text-2); }
.abschnitt--dunkel .ablauf { border-color: rgba(255,255,255,.6); }
.abschnitt--dunkel .ablauf li { border-color: rgba(255,255,255,.25); }
.abschnitt--dunkel .ablauf li::before { color: #fff; }

/* Häufige Fragen */
.fragen { border-top: 1px solid var(--linie-stark); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.12rem; letter-spacing: -0.01em;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "+"; flex: none; width: 24px; text-align: center;
  font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--orange); transition: transform .2s;
}
.frage[open] summary::after { transform: rotate(45deg); }
.frage__antwort { padding: 0 0 28px; max-width: 760px; color: var(--text-2); }
.frage__antwort ul, .frage__antwort ol { padding-left: 1.2em; }

/* Faktenliste (Jägerruh) */
.fakten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.fakten h3 { padding-top: 22px; border-top: 1px solid var(--linie-stark); }
.fakten p { color: var(--text-2); }

.breitbild img { width: 100%; height: min(78vh, 760px); object-fit: cover; }

/* Tabelle (Fahrzeiten, Wohnungen) */
.tabelle-huelle { overflow-x: auto; margin-top: 40px; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tabelle th, .tabelle td { padding: 16px 16px 16px 0; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle thead th { font-weight: 500; color: var(--text-2); border-bottom: 1px solid var(--linie-stark); white-space: nowrap; }
.tabelle td.zahl, .tabelle th.zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabelle a { font-weight: 500; }
.abschnitt--flaeche .tabelle th, .abschnitt--flaeche .tabelle td { border-color: var(--flaeche-linie); }

/* Wertfaktoren (Lachen) */
.faktoren { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; margin-top: 56px; }
.faktoren > div { padding-top: 22px; border-top: 1px solid var(--linie-stark); }
.faktoren p { color: var(--text-2); }

/* Rechtstexte */
.rechtstext { max-width: 760px; }
.rechtstext h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2em; }
.rechtstext h3 { margin-top: 1.6em; }
.rechtstext dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 24px; margin: 0 0 1em; }
.rechtstext dt { font-weight: 500; }
.rechtstext dd { margin: 0; }

/* ------------------------------------------------------------- Objekte ---- */

.objekte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; margin-top: 48px; }
.objekt { display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
a.objekt:hover { color: var(--text); }
.objekt__bild { position: relative; overflow: hidden; background: var(--flaeche); margin-bottom: 18px; }
.objekt__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.objekt:hover .objekt__bild img { transform: scale(1.04); }
.objekt__marke { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--text); padding: 6px 12px; font-size: .85rem; font-weight: 500; }
.objekt__ort { color: var(--text-2); font-size: .93rem; margin-bottom: 6px; }
/* Inserat ohne Bild: Topka-Zeichen auf der Fläche statt einer leeren Box */
.objekt__bild img.objekt__ohne-bild { width: 56px; aspect-ratio: auto; margin: 0 auto; padding: calc(37.5% - 28px) 0; box-sizing: content-box; opacity: .35; }
a.objekt:hover .objekt__bild img.objekt__ohne-bild { transform: none; }
.objekt__titel { font-size: 1.15rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 14px; }
.objekt__daten { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--linie); list-style: none; font-size: .95rem; color: var(--text-2); }
.objekt__daten li:last-child { margin-left: auto; font-weight: 500; color: var(--text); }
.objekt--verkauft .objekt__bild img { filter: grayscale(.4); }

.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 48px; padding-bottom: 18px; border-bottom: 1px solid var(--linie); }
.filter__knoepfe { display: flex; gap: 8px; }
.filter__knoepfe button {
  font: inherit; font-weight: 500; font-size: .95rem; padding: 10px 20px; cursor: pointer;
  background: #fff; color: var(--text); border: 1px solid var(--linie);
}
.filter__knoepfe button:hover { border-color: var(--text); }
.filter__knoepfe button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.filter__anzahl { margin: 0 0 0 auto; color: var(--text-2); font-size: .95rem; }

.hinweis { padding: 48px; background: var(--flaeche); margin-top: 48px; }
.abschnitt--flaeche .hinweis { background: #fff; }
.hinweis h3 { margin-bottom: 10px; font-size: 1.4rem; }
.hinweis p { color: var(--text-2); max-width: 640px; }
.hinweis .knoepfe { margin-top: 24px; }
.laden { margin-top: 48px; color: var(--text-2); }

/* ---------------------------------------------------------- Formulare ---- */

.kontakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.kontaktdaten { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.kontaktdaten li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--linie); }
.kontaktdaten span { color: var(--text-2); }
.abschnitt--flaeche .kontaktdaten, .abschnitt--flaeche .kontaktdaten li { border-color: var(--flaeche-linie); }

.form { background: #fff; padding: 48px; }
.seitenkopf .form, .abschnitt:not(.abschnitt--flaeche) .form { border: 1px solid var(--linie); }
.form__felder { display: grid; gap: 22px; }
.form__zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: grid; gap: 8px; font-size: .92rem; font-weight: 500; }
.form input:not([type=checkbox]), .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--text);
  background: #fff; border: 1px solid #c9c9c4; border-radius: 0; appearance: none;
  transition: border-color .2s;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: #8f8f8a; }
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--text); outline-offset: -1px; border-color: var(--text); }
.form .is-error { border-color: #b3261e !important; }
.form .checkline { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--text-2); }
.form .checkline input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--text); flex: none; }
.form .checkline.is-error { color: #b3261e; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .knopf { justify-self: start; }
.form__error { display: none; margin: 0; padding: 12px 14px; font-size: .95rem; background: #fbeceb; color: #8c1d18; }
.form__error.is-visible { display: block; }
.form__success { display: none; }
.form.is-gesendet .form__felder { display: none; }
.form.is-gesendet .form__success { display: block; }
.form__success h3 { font-size: 1.6rem; }
.form__pflicht { font-size: .85rem; color: var(--text-2); margin: 0; }

/* Kontaktseite: Fläche im Orangeton, Formular als Karte mit orangem Rand oben */
.kontaktseite .form { border: 0; border-top: 6px solid var(--orange); box-shadow: 0 24px 48px -24px rgba(90, 40, 0, .18); }
.kontaktseite .kontaktdaten, .kontaktseite .kontaktdaten li { border-color: var(--flaeche-linie); }
.kontaktseite .kontaktdaten a { color: var(--orange); font-weight: 500; }

/* Regionen: Karte des Kantons Schwyz, Gemeinden klickbar */
.regionen-kopf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.regionen-kopf__titel { margin-top: 56px; font-size: 1.5rem; }
.karte { position: relative; margin: 0; }
.karte svg { display: block; width: 100%; height: auto; }
.karte path { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.karte__kanton path, path.karte__kanton { fill: #ecebe8; stroke: #fff; stroke-width: 1.2; }
.karte__kanton.ist-aktiv path { fill: #fbd2c3; transition: fill .15s; }
.karte__kanton.ist-aktiv:hover path, .karte__kanton.ist-aktiv:focus-visible path { fill: var(--orange); }
.karte__kanton--sz path { fill: #f9b29c; transition: fill .15s; }
.ist-gesamt .karte__kanton--sz:hover path, .ist-gesamt .karte__kanton--sz:focus-visible path { fill: var(--orange); }
.karte__kanton:focus, .karte__ort:focus { outline: none; }
.karte__ort path { stroke: #fff; stroke-width: .6; transition: fill .15s, stroke-width .3s; }
.ist-gesamt .karte__ort { pointer-events: none; }
.ist-nah .karte__ort path { stroke-width: 1.2; }
.karte__ort[data-bezirk="0"] path { fill: #fbd9cd; }
.karte__ort[data-bezirk="1"] path { fill: #f9cbbb; }
.karte__ort[data-bezirk="2"] path { fill: #fde8e0; }
.karte__ort[data-bezirk="3"] path { fill: #fce0d5; }
.karte__ort[data-bezirk="4"] path { fill: #f7bfac; }
.karte__ort[data-bezirk="5"] path { fill: #fbd2c3; }
.ist-gesamt .karte__ort path { fill: transparent; }
.karte__ort:hover path, .karte__ort:focus-visible path { fill: var(--orange); }
.karte__seen path { fill: #dfe8ec; pointer-events: none; }
.karte text { fill: var(--text); font-weight: 500; pointer-events: none; }
.karte__gesamt, .karte__nah { pointer-events: none; transition: opacity .3s; }
.karte__kantonnamen text, .karte__sz-name { font-size: 13px; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: rgba(255,255,255,.8); stroke-width: 3px; }
.karte__sz-name { font-weight: 600; }
.karte__punkte circle { fill: var(--text); stroke: #fff; stroke-width: 1.5px; }
.karte__punkte text { font-size: 11px; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.karte__namen text { text-anchor: middle; dominant-baseline: middle; }
.karte__buero circle { fill: var(--text); stroke: #fff; }
.karte__buero text { font-weight: 600; paint-order: stroke; stroke: #fff; stroke-linejoin: round; }
.ist-gesamt .karte__nah, .ist-nah .karte__gesamt { opacity: 0; }
.karte__zurueck { position: absolute; top: 12px; left: 12px; }
.karte__zurueck[hidden] { display: none; }
.karte__legende { margin-top: 14px; color: var(--text-2); font-size: .95rem; }
.karte__name { position: absolute; z-index: 2; display: none; padding: 7px 12px; background: var(--text); color: #fff; font-size: .9rem; font-weight: 500; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); }
.karte__name.ist-sichtbar { display: block; }
.bezirke { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 48px; margin-top: 48px; }
.bezirk { padding-top: 22px; border-top: 1px solid var(--linie-stark); }
.bezirk h3 { margin-bottom: 10px; }
.bezirk p { color: var(--text-2); font-size: 1rem; }
.bezirk ul { columns: 2; column-gap: 24px; margin: 18px 0 20px; padding: 0; list-style: none; }
.bezirk li { break-inside: avoid; }
.bezirk li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--flaeche-linie); color: var(--text); text-decoration: none; font-weight: 500; }
.bezirk li a:hover { color: var(--orange); }

/* -------------------------------------------------------------- Fuss ---- */

/* Fusszeile nach dem Vorbild abtdomb.ch, in Topka-Orange */
.fuss { background: var(--orange); color: #fff; font-size: .97rem; }
.fuss a { text-decoration: none; color: #fff; }
.fuss a:hover { color: #fff; opacity: .75; }
.fuss__raster { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding: 56px 0 36px; }
.fuss__logo { display: inline-block; margin-bottom: 18px; }
.fuss__logo img { width: auto; height: 32px; }
.fuss__logo:hover { opacity: 1 !important; }
.fuss__adresse { font-style: normal; line-height: 1.7; color: #fff; }
.fuss__adresse strong { font-weight: 600; }
.fuss__titel { margin: 0 0 14px; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.fuss ul { margin: 0; padding: 0; list-style: none; }
.fuss li { margin-bottom: 7px; }
.fuss__kontakt a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.fuss__kontakt svg { width: 16px; height: 16px; flex: none; }
.fuss__unten {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.85); font-size: .85rem;
}
.fuss__unten p { margin: 0; }
.fuss__unten ul { display: flex; gap: 24px; }
.fuss__unten li { margin: 0; }

/* ------------------------------------------------------------ Mobil ---- */

@media (max-width: 1100px) {
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .typen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fakten, .faktoren.faktoren--drei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .person { gap: 56px; }
}

@media (max-width: 900px) {
  :root { --kopf: 68px; --rand: 24px; }
  .abschnitt { padding: 80px 0; }
  .raster, .person, .kontakt, .seitenkopf__raster { grid-template-columns: 1fr; gap: 32px; }
  .seitenkopf { padding: 48px 0 72px; }
  .seitenkopf__bild { margin-right: calc(-1 * var(--rand)); margin-left: calc(-1 * var(--rand)); order: -1; }
  .seitenkopf__bild img { aspect-ratio: 4 / 3; }
  .held { height: 88vh; min-height: 560px; }
  .held__inhalt { padding-bottom: 48px; }
  .vorteile { text-align: left; }
  .person__bild img { aspect-ratio: 4 / 3; object-position: center 12%; }
  .abschnitt--dunkel:has(> .person) { background: var(--orange); }
  .abschnitt--dunkel > .person { grid-template-columns: 1fr; }
  .abschnitt--dunkel > .person .person__bild { margin: 0 calc(-1 * var(--rand)); }
  .abschnitt--dunkel > .person .person__bild img { min-height: 0; aspect-ratio: 4 / 3; }
  .abschnitt--dunkel > .person > :last-child { padding: 48px 0 72px; }
  .stimmen-wand { columns: 2; }
  .projektkarte { grid-template-columns: 1fr; gap: 28px; }
  .stimmen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kapitel { gap: 24px; margin-top: 40px; }
  .regionen-kopf { grid-template-columns: 1fr; gap: 40px; }
  .bezirke { grid-template-columns: 1fr; }
  .bewertung-kopf { grid-template-columns: 1fr; gap: 56px; }
  .gruende, .stimmen, .stimmen--zwei, .karten--drei, .faktoren, .faktoren.faktoren--drei, .schritte, .vergleich { grid-template-columns: 1fr; }
  .vergleich__spalte { padding: 32px 28px; }
  .typen__titel { margin-top: 56px; }
  .objekte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ablauf li { grid-template-columns: 44px 1fr; }
  .ablauf li p { grid-column: 2; }
  .form { padding: 28px; }
  .breitbild img { height: 56vh; }
}

@media (max-width: 600px) {
  :root { --rand: 16px; }
  body { font-size: 16px; }
  .karten, .typen, .fakten, .objekte { grid-template-columns: 1fr; }
  .stimmen-wand { columns: 1; }
  .start-film__video { margin-top: 32px; margin-left: calc(-1 * var(--rand)); margin-right: calc(-1 * var(--rand)); width: auto; align-self: stretch; }
  .start-film__start span { display: none; }
  .kapitel .film__start span { display: none; }
  .kapitel .film__start { padding: 12px; }
  .fassade__wohnung span { font-size: .62rem; padding: 2px 4px; }
  .projekt-held { min-height: 480px; height: auto; }
  .stimmen-raster { grid-template-columns: 1fr; }
  .bewertungskarte { padding: 32px 18px 18px; }
  .bewertungskarte__marke { right: 16px; }
  .bewertungskarte__raster { gap: 10px; }
  .objektart { padding: 18px 8px 16px; font-size: .9rem; }
  .objektart__bild { width: 88px; height: 70px; }
  .kopf-mitte { margin-bottom: 44px; }
  .stimme-karte { padding: 26px 22px 22px; }
  .stimme-karte--gross { padding: 0 0 48px; margin-bottom: 48px; }
  .video { margin-top: 40px; margin-left: calc(-1 * var(--rand)); margin-right: calc(-1 * var(--rand)); }
  .typ { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 20px; padding: 18px 20px; }
  .typ__bild { width: 88px; height: 70px; margin: 0; background: none !important; border: 0 !important; }
  .typ__bild img { width: 88px; }
  .typ__name { flex: 1; font-size: 1.2rem; }
  .typ__text { display: none; }
  .form__zeile { grid-template-columns: 1fr; }
  .fuss__raster { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .hinweis { padding: 28px; }
  .rechtstext dl { grid-template-columns: 1fr; gap: 2px; }
  .rechtstext dd { margin-bottom: 10px; }
  .knoepfe .knopf { width: 100%; }
  .kontaktdaten li { grid-template-columns: 80px 1fr; }
  .held .vorteile { flex-direction: column; }
}

/* ==========================================================================
   Gewähltes Design (Entwurf C, Entscheid Adrian, 16.11.2026): Menü in der Mitte
   mit Ausklappmenü über die ganze Breite, Orange aus dem Logo, keine orangen
   Flächen. Früher eine eigene Datei mit Umschalter A/B/C.
   ========================================================================== */

:root {
  /* Das Orange aus dem Logo statt des dunkleren Ziegeltons */
  --orange: #f8633f;
  --orange-hover: #e2512c;

  /* -------------------------------------------- Menü wie Entwurf B -- */
  & .kopf__innen { justify-content: space-between; }
  & .nav { margin: 0 auto; }
  & .nav__liste { gap: 4px; }
  & .nav__link, & .nav__knopf {
    height: auto; padding: 10px 13px; font-size: .95rem; font-weight: 600; white-space: nowrap;
    transition: background-color .15s, color .15s;
  }
  & .nav__link:hover, & .nav__knopf:hover, & .nav__gruppe.ist-offen > .nav__knopf { opacity: 1; background: var(--flaeche); color: var(--orange); }
  & .nav__link[aria-current="page"], & .nav__gruppe.ist-aktiv > .nav__knopf { box-shadow: none; color: var(--orange); }
  & .kopf__aktion { gap: 20px; }

  /* Ausklappmenü über die ganze Breite */
  & .nav__gruppe { position: static; }
  & .nav__tafel {
    left: 0; right: 0; top: 100%;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px;
    padding: 24px max(var(--rand), calc((100vw - var(--breite)) / 2)) 28px;
    border: 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); box-shadow: 0 24px 40px -28px rgba(90, 40, 0, .25);
  }
  & .nav__unter { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; align-content: start; }
  & .nav__unter a { padding: 12px 16px; border: 2px solid transparent; }
  & .nav__unter a:hover { background: var(--flaeche); border-color: var(--orange); }
  & .nav__unter a:hover strong { color: var(--text); }
  & .nav__hinweis { justify-content: center; padding: 28px; }
  & .nav__hinweis strong { font-size: 1.2rem; font-weight: 600; }
  & .nav__hinweis em { align-self: flex-start; margin-top: 18px; padding: 11px 22px; background: var(--orange); color: #fff; }
  & .nav__hinweis:hover em { background: var(--orange-hover); }

  /* Weisse Schrift auf dem hellen Logo-Orange etwas kräftiger */
  & .knopf--primaer { font-weight: 600; }
}

/* Startseite: nach dem Film die Lebenslagen im Orangeton */
main.startseite > .abschnitt--anschluss { padding-top: 128px; background: var(--flaeche); }

/* Damit die Tafel beim Hinüberfahren offen bleibt: Menüpunkte füllen die Kopfhöhe */
@media (min-width: 1101px) {
  :root .nav__liste > li { display: flex; align-items: center; height: var(--kopf); }
}

@media (max-width: 1100px) {
  :root {
    & .nav { margin: 0; }
    & .nav__link, & .nav__knopf { padding: 18px 0; font-size: 1.25rem; font-weight: 500; }
    & .nav__link:hover, & .nav__knopf:hover, & .nav__gruppe.ist-offen > .nav__knopf { background: none; }
    & .nav__tafel { padding: 0 0 12px; border: 0; box-shadow: none; grid-template-columns: 1fr; }
    & .nav__unter { grid-template-columns: 1fr; }
    & .nav__unter a { padding: 9px 0 9px 16px; border: 0; }
    & .nav__unter a:hover { background: none; }
  }
}

/* ---------------------------------------------- Feinschliff 02.11.2026 --
   Aus der Design- und der Zielgruppen-Prüfung: Lesbarkeit, Flächen, Handy. */
:root {
  --text-2: #4b4c4e;

  /* Flächen auf der Startseite abwechseln: Weiss, Orangeton, Weiss … */
  & .start-bewertung { background: #fff; }
  & main.startseite [data-teaser] { background: var(--flaeche); }
  & .start-stimmen { background: #fff; }
  & .start-stimmen .stimme-karte { background: var(--flaeche); }
  & main.startseite #kontakt { background: var(--flaeche); }
  & main.startseite #kontakt .form { border: 0; }

  /* Weisse Schrift auf dem hellen Logo-Orange: grösser und kräftiger */
  & .fuss { font-size: 1.02rem; }
  & .fuss a, & .fuss__adresse { font-weight: 500; }
  & .fuss__unten { color: #fff; font-size: .95rem; }

  /* Kleintext mindestens gut lesbar */
  & .karte p, & .objekt__ort, & .stimme-karte figcaption, & .google-note p,
  & .versprechen, & .fassade__legende, & .typ__text, & .nav__unter span { font-size: 1rem; }
  & .held__text p { font-size: 1.25rem; }
  & .held::after {
    background:
      linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 22%),
      linear-gradient(90deg, rgba(10,12,14,.62) 0%, rgba(10,12,14,0) 62%),
      linear-gradient(0deg, rgba(10,12,14,.82) 0%, rgba(10,12,14,.3) 48%, rgba(10,12,14,0) 72%);
  }

  /* Keine gesperrten Grossbuchstaben */
  & .fuss__titel { text-transform: none; letter-spacing: 0; font-size: 1rem; color: #fff; }
  & .wohnung__status { text-transform: none; letter-spacing: 0; font-size: .95rem; }
}

@media (max-width: 900px) {
  :root .abschnitt--dunkel > .person .person__bild img { height: auto; aspect-ratio: 1; object-position: 50% 8%; }
}
@media (max-width: 600px) {
  :root .held .vorteile { display: none; }
}
@media (max-width: 900px) {
  :root main.startseite > .abschnitt--anschluss { padding-top: 80px; }
}

/* ------------------------------------------- Keine orangen Flächen (04.11.2026) --
   Wunsch Adrian: ganze Abschnitte nur weiss oder im hellen Orangeton, das kräftige
   Orange nur für Akzente, Knöpfe und die Fusszeile. Betrifft die Ablauf-Abschnitte
   der Lebenslagen, Adrians Zitat auf /bewertung und den Google-Aufruf auf /kundenstimmen. */
:root {
  & .abschnitt--dunkel { background: var(--flaeche); color: var(--text); }
  & .abschnitt--dunkel.abschnitt--eng { background: #fff; }
  & .abschnitt--dunkel h2, & .abschnitt--dunkel h3, & .abschnitt--dunkel .zitat, & .abschnitt--dunkel .person__name { color: var(--text); }
  & .abschnitt--dunkel p, & .abschnitt--dunkel .grau, & .abschnitt--dunkel .person__name span { color: var(--text-2); }
  & .abschnitt--dunkel a:hover { color: var(--orange); }
  & .abschnitt--dunkel .knopf--primaer { background: var(--orange); border-color: var(--orange); color: #fff; }
  & .abschnitt--dunkel .knopf--primaer:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; }
  & .abschnitt--dunkel .knopf--hell { background: transparent; border-color: var(--text); color: var(--text); }
  & .abschnitt--dunkel .textlink .pfeil, & .abschnitt--dunkel li::marker { color: var(--orange); }
  & .abschnitt--dunkel :focus-visible { outline-color: var(--text); }
  & .abschnitt--dunkel .ablauf { border-color: var(--orange); }
  & .abschnitt--dunkel .ablauf li { border-color: var(--flaeche-linie); }
  & .abschnitt--dunkel .ablauf li::before { color: var(--orange); font-weight: 600; }
  & .abschnitt--dunkel:has(> .person) { background: linear-gradient(90deg, #fff 50%, var(--flaeche) 50%); }
  & .abschnitt--dunkel .zitat::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 24px; background: var(--orange); }
}
@media (max-width: 900px) {
  :root .abschnitt--dunkel:has(> .person) { background: var(--flaeche); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
