/* =========================================================
   SIM Bridge – Elementor V4 (Atomic) → Original-Design
   Die Original-Stile sind mit :root:root präfixiert (Spezifität 0,3,x)
   und folgen weiter unten. Diese Regeln neutralisieren nur Elementors
   Atomic-Grundstile (Spezifität 0,2,0).
   ========================================================= */
:root:root .e-div-block-base { padding: 0; min-width: 0; width: auto; flex: 0 1 auto; }
:root:root .e-button-base { padding: 0; background: none; border: 0; border-radius: 0; text-align: inherit; display: inline; color: inherit; font: inherit; }
:root:root .e-image-base { max-width: 100%; }
:root:root .sim-list > ul, :root:root .sim-list > ol { display: contents; }
:root:root .sim-list { display: block; }
:root:root :where(p.e-paragraph-base, .e-heading-base) a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:root:root :where(p.e-paragraph-base) a:hover { color: var(--white); }

/* Pfeil-Icon für Buttons und Links (ersetzt das Inline-SVG der Vorlage) */
:root:root .e-button-base.btn--gold:not(.btn--sm)::after,
:root:root .e-button-base.btn--black::after,
:root:root .e-button-base.link::after {
  content: ""; width: 1em; height: 1em; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M8 7h9v9' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M8 7h9v9' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .4s var(--ease);
}
:root:root .e-button-base.btn--gold:hover::after, :root:root .e-button-base.link:hover::after { transform: translate(2px, -2px); }

/* Elementor-Seiten ohne Theme-Abstände */
:root:root .elementor-location-header, :root:root .elementor-location-footer { display: contents; }
:root:root .page-content, :root:root .site-main { padding: 0; margin: 0; max-width: none; }

/* Exposé-Galerie (Plugin) */
:root:root .pd-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-block: clamp(3rem, 5vw, 4.5rem); }
:root:root .pd-shots__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
:root:root .pd-shots__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
:root:root .pd-shots__item:hover img { transform: scale(1.04); }
:root:root .pd-shots__item--hidden { display: none; }
:root:root .pd-shots__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .58); color: #fff; font-weight: 700; letter-spacing: .02em; }
:root:root .pd-block > .pd-shots { margin-block: 0; }
@media (max-width: 640px) { :root:root .pd-shots { gap: .375rem; } :root:root .pd-shots__more { font-size: .875rem; } }
/* Exposé: Merkmale, Hinweis, Grundrisse (Plugin) */
:root:root .pd-features { list-style: none; margin: 1.75rem 0 0; padding: 0; }
:root:root .pd-features li { margin: 0; }
:root:root .pd-note { margin-top: 1.5rem; font-size: .8125rem; line-height: 1.55; color: var(--muted); }
:root:root .pd-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .75rem; }
:root:root .pd-plans__item { margin: 0; }
:root:root .pd-plans__link { display: block; aspect-ratio: 4 / 3; padding: .75rem; background: #fff; border: 1px solid var(--line); }
:root:root .pd-plans__link img { display: block; width: 100%; height: 100%; object-fit: contain; }
:root:root .pd-plans figcaption { margin-top: .5rem; font-size: .8125rem; color: var(--muted); }
/* Exposé: Energieausweis (Plugin) */
:root:root .pd-energy { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 3px; margin-bottom: 1.75rem; align-items: end; }
:root:root .pd-energy__step { display: grid; place-items: center; height: 2rem; font-size: .8125rem; font-weight: 700; color: #111; opacity: .5; }
:root:root .pd-energy__step.is-active { opacity: 1; height: 2.9rem; font-size: 1.0625rem; box-shadow: 0 0 0 2px var(--black, #000), 0 0 0 4px var(--gold, #edbf7c); }
:root:root .pd-energy__step--0 { background: #2f9e44; } :root:root .pd-energy__step--1 { background: #5cb53c; } :root:root .pd-energy__step--2 { background: #94c93d; }
:root:root .pd-energy__step--3 { background: #cfdc3a; } :root:root .pd-energy__step--4 { background: #f7e23b; } :root:root .pd-energy__step--5 { background: #f9bf2c; }
:root:root .pd-energy__step--6 { background: #f3922b; } :root:root .pd-energy__step--7 { background: #e9602a; } :root:root .pd-energy__step--8 { background: #d9372c; }
/* Exposé: Anfrage-Dialog (Plugin) */
:root:root .objdlg { width: min(100% - 2rem, 40rem); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--text); overflow: auto; overscroll-behavior: contain; }
:root:root .objdlg::backdrop { background: rgba(0, 0, 0, .74); backdrop-filter: blur(4px); }
:root:root .objdlg__form, :root:root .objdlg__done { position: relative; display: grid; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.75rem); }
:root:root .objdlg__form[hidden], :root:root .objdlg__done[hidden], :root:root .objdlg [data-termin][hidden] { display: none; }
:root:root .objdlg__close { position: absolute; top: .6rem; right: .6rem; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; color: var(--muted); font-size: 1.75rem; line-height: 1; cursor: pointer; }
:root:root .objdlg__close:hover, :root:root .objdlg__close:focus-visible { color: var(--gold); background: none; }
:root:root .objdlg__title { margin: 0; padding-right: 2rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.3rem); line-height: 1.12; color: #fff; }
:root:root .objdlg__lead { margin: -.5rem 0 0; color: var(--muted); }
:root:root .objdlg__obj { display: grid; gap: .2rem; margin: 0; padding: .9rem 1rem; border-left: 2px solid var(--gold); background: rgba(255, 255, 255, .04); font-size: .9375rem; line-height: 1.4; }
:root:root .objdlg__obj strong { color: #fff; font-weight: 700; }
:root:root .objdlg__obj span { color: var(--muted); }
:root:root .objdlg__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:root:root .objdlg .form__grid { gap: 1.9rem 1.5rem; margin-top: .9rem; }
:root:root .objdlg__wide { grid-column: 1 / -1; }
:root:root .objdlg .field textarea { min-height: 4.5rem; }
:root:root .objdlg input[type="date"] { color-scheme: dark; min-height: 2.6rem; }
:root:root .objdlg__check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .875rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
:root:root .objdlg__check input { width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; accent-color: var(--gold); }
:root:root .objdlg__check a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
:root:root .objdlg__check.is-invalid { color: #e2725b; }
:root:root .objdlg__hint { min-height: 1.3em; margin: 0; font-size: .875rem; color: #e2725b; }
:root:root .objdlg__hint a { color: inherit; text-decoration: underline; }
:root:root .objdlg .btn { width: 100%; justify-content: center; }
:root:root .objdlg.is-sending [type="submit"] { opacity: .6; pointer-events: none; }
:root:root .objdlg__private { margin: 0; font-size: .8125rem; color: var(--muted); text-align: center; }
:root:root .objdlg__done { justify-items: center; text-align: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
:root:root .objdlg__done .objdlg__title { padding-right: 0; }
:root:root .objdlg__ok { width: 4rem; height: 4rem; fill: none; stroke: var(--gold); stroke-width: 2; }
@media (max-width: 640px) { :root:root .objdlg .form__grid { grid-template-columns: minmax(0, 1fr); } }
:root:root .objdlg input:focus-visible, :root:root .objdlg select:focus-visible, :root:root .objdlg textarea:focus-visible { outline: none; box-shadow: none; }
:root:root .objdlg button:focus-visible, :root:root .objdlg a:focus-visible { box-shadow: none; outline: 2px solid var(--gold); outline-offset: 3px; }
/* Elementor-Widgets „SIM Immobilien“: auf der Website ohne eigenen Rahmen, damit das Seitenlayout greift */
body:not(.elementor-editor-active) [class*="elementor-widget-sim-"], body:not(.elementor-editor-active) [class*="elementor-widget-sim-"] > .elementor-widget-container { display: contents; }
:root:root .pd-main > [class*="elementor-widget-sim-"]:not(:first-child) > .pd-block, :root:root .pd-main > [class*="elementor-widget-sim-"]:not(:first-child) > .elementor-widget-container > .pd-block { margin-top: clamp(3rem, 5vw, 4.5rem); }
:root:root .pd-main > .pd-block + [class*="elementor-widget-sim-"] .pd-block, :root:root .pd-main > [class*="elementor-widget-sim-"] + .pd-block { margin-top: clamp(3rem, 5vw, 4.5rem); }
:root:root .prop__badge--status { left: auto; right: 1rem; background: var(--gold); color: var(--black); }
:root:root .pd-aside__docs { display: grid; gap: .5rem; margin-top: 1.5rem; }

/* Hello-Theme-Grundstile neutralisieren */
:root:root table, :root:root th, :root:root td { border: 0; background: none; }
:root:root table { margin: 0; font-size: inherit; }
:root:root button, :root:root [type="button"], :root:root [type="submit"] { border-radius: 0; }
:root:root button:hover, :root:root button:focus, :root:root [type="button"]:hover, :root:root [type="button"]:focus { background-color: transparent; color: inherit; }
:root:root input, :root:root select, :root:root textarea { border-radius: 0; }
:root:root .admin-bar .header { top: 32px; }
@media (max-width: 782px) { :root:root .admin-bar .header { top: 46px; } }

/* ===== Native V4-Elemente statt Shortcodes (18.11.2026) =====
   Elementors Basisstile (.elementor .e-…-base, Spezifität 0,2,0) zurücksetzen; die Original-CSS
   (:root:root …) greift danach wie auf der Vorlage. */
:root .sim-hide { display: none !important; }
:root .e-form-base { padding: 0; display: block; gap: normal; flex-wrap: nowrap; flex-direction: initial; align-items: normal; align-content: normal; }
:root .e-form-input-base, :root .e-form-textarea-base, :root .e-form-select-base { height: auto; font: inherit; color: inherit; border-radius: revert; border-color: revert; border-width: revert; border-style: revert; background-color: revert; }
:root .e-form-input-base::placeholder, :root .e-form-textarea-base::placeholder { color: revert; }
:root .e-form-input-base:focus, :root .e-form-textarea-base:focus, :root .e-form-select-base:focus { border-color: revert; outline-style: revert; }
:root .e-form-label-base { font-size: inherit; color: inherit; }
:root .e-form-checkbox-base, :root .e-form-radio-button-base { appearance: auto; width: auto; height: auto; color: inherit; border: revert; border-radius: revert; background-color: revert; transition: none; display: inline-block; }
:root .e-form-checkbox-base::before, :root .e-form-radio-button-base::before { content: none; }
:root .e-form-checkbox-base:checked, :root .e-form-radio-button-base:checked { background-color: revert; }
:root .e-form-submit-button-base { padding: 0; background: none; border: 0; border-radius: 0; color: inherit; font: inherit; display: inline; }
:root .e-form-success-message-base, :root .e-form-error-message-base { display: none; }
:root .sim-acc { display: contents; }
:root .e-accordion-item-header-base { padding: 0; gap: normal; display: revert; justify-content: normal; align-items: normal; cursor: pointer; }
:root .e-accordion-item-title-base { display: contents; }
:root .e-accordion-item-content-base { padding: 0; min-width: 0; }
:root .sim-loop { display: contents; }
:root .e-collection-loop-layout-base { gap: normal; grid-template-columns: none; grid-auto-rows: auto; display: block; }
:root .e-collection-loop-item-base { width: auto; min-width: 0; }
/* Zurückgesetzte Tags tragen noch die div-Basisklasse (display:block) */
:root .tg--table { display: table; } :root .tg--thead { display: table-header-group; } :root .tg--tbody { display: table-row-group; } :root .tg--tfoot { display: table-footer-group; }
:root .tg--tr { display: table-row; } :root .tg--td, :root .tg--th { display: table-cell; } :root .tg--caption { display: table-caption; }
:root .tg--li { display: list-item; }
:root :is(.tg--label, .tg--span, .tg--small, .tg--strong, .tg--em, .tg--output, .tg--time, .tg--b, .tg--i) { display: inline; }
:root .tg--th { font-weight: bold; }

/* Exposé-Vorlage (native Elemente + Dynamic Tags) */
:root:root .sim-loop-item { display: contents; }
:root:root .sim-text { display: block; }
:root:root .sim-text > :first-child { margin-top: 0; }
:root:root .pd-features li::before {
  content: ""; flex: none; width: 1.1em; height: 1.1em; background: var(--gold); transform: translateY(.15em);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
:root:root .e-button-base[data-sim-download]::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v11m0 0-4.5-4.5M12 15l4.5-4.5M5 19.5h14' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v11m0 0-4.5-4.5M12 15l4.5-4.5M5 19.5h14' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E");
}
:root:root .pd-shots__item { position: relative; display: block; }
:root:root .phero__facts .sim-empty-hide:empty { display: none; }
:root:root .pd-shots__item.pd-shots__item--hidden { display: none; }
/* Loop-Karten ohne Elementor-Innenabstand; Währungs-Schalter wie native Buttons */
:root:root .e-con.prop { padding: 0; }
:root:root .currency .e-button-base { display: inline-grid; place-items: center; }
/* Original: .steps[style*="--cols"] – Inline-Stile sind in Elementor Klassen, daher ohne Attribut-Selektor */
@media (max-width: 1200px) { :root:root .steps { --cols: 2 !important; } }
@media (max-width: 760px) { :root:root .steps { --cols: 1 !important; } }

/* Wunschtermin im Anfrage-Dialog: eigener Kalender (objekt.js) */
:root:root .field--date { position: relative; }
:root:root .field--date input[data-datepicker] { cursor: pointer; padding-right: 2.25rem; caret-color: transparent; }
:root:root .field--date__icon { position: absolute; right: .1rem; bottom: .95rem; width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; pointer-events: none; transition: transform .3s var(--ease, ease); }
:root:root .field--date.is-open .field--date__icon { transform: translateY(-1px) scale(1.08); }
:root:root .dp { position: fixed; z-index: 500; padding: 1rem 1rem .75rem; background: #141414; border: 1px solid rgba(237, 191, 124, .35); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .4); color: var(--text, #e6e6e6); font-family: inherit; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left; transition: opacity .2s ease, transform .25s var(--ease, ease); }
:root:root .dp.is-open { opacity: 1; transform: none; }
:root:root .dp__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
:root:root .dp__month { margin: 0; font-family: var(--serif, Marcellus, Georgia, serif); font-size: 1.25rem; line-height: 1.2; color: #fff; letter-spacing: .01em; }
:root:root .dp__month span { color: var(--gold, #edbf7c); }
:root:root .dp__nav { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; background: transparent; color: var(--gold, #edbf7c); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
:root:root .dp__nav svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:root:root .dp__nav:hover:not(:disabled) { background: var(--gold, #edbf7c); border-color: var(--gold, #edbf7c); color: #000; }
:root:root .dp__nav:disabled { opacity: .25; cursor: default; }
:root:root .dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .2rem; }
:root:root .dp__wd { padding: .25rem 0 .45rem; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--muted, #a6a6a6); }
:root:root .dp__wd:nth-child(7) { opacity: .5; }
:root:root .dp__day { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 50%; background: none; color: #fff; font: inherit; font-size: .9375rem; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
:root:root .dp__day:hover:not(:disabled):not(.is-sel) { border-color: rgba(237, 191, 124, .55); color: var(--gold, #edbf7c); }
:root:root .dp__day:focus-visible { outline: none; box-shadow: 0 0 0 2px #141414, 0 0 0 3px var(--gold, #edbf7c); }
:root:root .dp__day.is-out { color: rgba(255, 255, 255, .35); }
:root:root .dp__day:disabled { color: rgba(255, 255, 255, .18); cursor: default; }
:root:root .dp__day.is-today::after { content: ""; position: absolute; bottom: 18%; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold, #edbf7c); }
:root:root .dp__day.is-sel { background: var(--gold, #edbf7c); border-color: var(--gold, #edbf7c); color: #000; font-weight: 600; }
:root:root .dp__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; padding-top: .65rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .75rem; color: var(--muted, #a6a6a6); }
:root:root .dp__clear { padding: 0; border: 0; background: none; color: var(--gold, #edbf7c); font: inherit; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
:root:root .dp__clear:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { :root:root .dp { transition: none; } }


/* ===== style.css ===== */
/* =========================================================
   Schweizer Immobilienmanufaktur – Startseite V5
   Markensprache aus dem Exposé: schwarzer Grund, goldene Labels,
   elegante Headlines, klare Datentabellen, Foto-Collagen.
   Schriften (Google Fonts): Marcellus ≈ Quiche Sans · Archivo Expanded ≈ Termina · Rubik (Text, wie Briefpapier)
   ========================================================= */

:root {
  /* Farbe – wie im Exposé */
  --black: #000;
  --surface: #0f0f0f;
  --surface-2: #171717;
  --white: #fff;
  --text: rgba(255, 255, 255, 0.86);
  --muted: #a6a6a6;
  --line: rgba(255, 255, 255, 0.2);
  --gold: #edbf7c;
  --gold-strong: #f4d3a3;

  /* Schrift */
  --font-display: "Marcellus", "Optima", Georgia, serif;
  --font-label: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Rubik", "Helvetica Neue", Arial, sans-serif;

  /* Raster */
  --gutter: clamp(1.25rem, 3.3vw, 3rem);
  --maxw: 1600px;
  --header-h: 96px;
  --section: clamp(5rem, 10vw, 9rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Grundlagen ---------- */
:root:root *, :root:root *::before, :root:root *::after { box-sizing: border-box; }
html:root:root { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: dark; }
:root:root body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
:root:root img { display: block; max-width: 100%; height: auto; }
:root:root a { color: inherit; text-decoration: none; }
:root:root button, :root:root input, :root:root select, :root:root textarea { font: inherit; color: inherit; }
:root:root button { cursor: pointer; background: none; border: 0; padding: 0; }
:root:root h1, :root:root h2, :root:root h3, :root:root p, :root:root figure, :root:root ul, :root:root ol, :root:root dl, :root:root dd { margin: 0; }
:root:root ul, :root:root ol { list-style: none; padding: 0; }
:root:root address { font-style: normal; }
:root:root fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:root:root legend { padding: 0; }
:root:root ::selection { background: var(--gold); color: var(--black); }
:root:root :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

:root:root .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:root:root .skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold); color: var(--black); padding: .75rem 1rem; transition: top .2s;
}
:root:root .skip:focus { top: 1rem; }

:root:root .container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
:root:root .section { padding-block: var(--section); }
:root:root .section--tight-top { padding-top: clamp(2.5rem, 5vw, 4.5rem); }

:root:root .i { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.12em; }

/* ---------- Typografie (Exposé) ---------- */
/* Goldene Labels in breiter Grotesk – im Exposé „Termina“ */
:root:root .label {
  font-family: var(--font-label);
  font-stretch: 125%;
  font-weight: 600;
  font-size: clamp(.8125rem, .74rem + .25vw, .9375rem);
  line-height: 1.35;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .85rem;
}
/* Headlines in eleganter Antiqua-Grotesk – im Exposé „Quiche Sans“ */
:root:root .h2, :root:root .h3, :root:root .hero__title, :root:root .statement, :root:root .fact__value, :root:root .prop__title, :root:root .footer__mail, :root:root .menu__list a {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .005em;
}
:root:root .h2 { font-size: clamp(2.1rem, 1.35rem + 2.5vw, 3.6rem); line-height: 1.16; max-width: 22ch; text-wrap: balance; }
:root:root .h3 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem); line-height: 1.2; text-wrap: balance; }

/* Links mit Pfeil */
:root:root .link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-label); font-stretch: 125%; font-weight: 600;
  font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold);
  padding-bottom: .35rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
:root:root .link .i { transition: transform .4s var(--ease); }
:root:root .link:hover { background-size: 30% 1px; }
:root:root .link:hover .i { transform: translate(2px, -2px); }

/* Knöpfe */
:root:root .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.25rem; padding: .9rem 1.5rem;
  font-family: var(--font-label); font-stretch: 125%; font-weight: 600;
  font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .14s var(--ease);
}
:root:root .btn:active { transform: scale(.97); }
:root:root .btn .i { transition: transform .4s var(--ease); }
:root:root .btn:hover .i { transform: translate(2px, -2px); }
:root:root .btn--sm { min-height: 2.75rem; padding: .6rem 1.1rem; }
:root:root .btn--gold { background: var(--gold); color: var(--black); }
:root:root .btn--gold:hover { background: var(--white); }
:root:root .btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
:root:root .btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
:root:root .btn--black { background: var(--black); color: var(--white); }
:root:root .btn--black:hover { background: var(--white); color: var(--black); }

/* Flaggen */
:root:root .flag { width: 1.35rem; height: .95rem; flex: none; position: relative; display: inline-block; }
:root:root .flag--ch { background: #d52b1e; width: 1rem; height: 1rem; }
:root:root .flag--ch::before, :root:root .flag--ch::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
:root:root .flag--ch::before { width: 62%; height: 19%; }
:root:root .flag--ch::after { width: 19%; height: 62%; }
:root:root .flag--de { background: linear-gradient(#000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }

/* =========================================================
   HEADER – Logo oben links wie im Exposé
   ========================================================= */
:root:root .header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform .5s var(--ease), background-color .4s;
}
:root:root .header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .4s; }
:root:root .header.is-scrolled { background: rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
:root:root .header.is-scrolled::after { opacity: 1; }
:root:root .header.is-hidden { transform: translateY(-100%); }
:root:root .header__inner { height: var(--header-h); display: flex; align-items: center; gap: 2rem; transition: height .4s var(--ease); }
:root:root .header.is-scrolled .header__inner { height: 76px; }
:root:root .header__logo img { width: 184px; transition: width .4s var(--ease); }
:root:root .header.is-scrolled .header__logo img { width: 150px; }

:root:root .nav { margin-left: auto; }
:root:root .nav__list { display: flex; gap: clamp(1.1rem, 2vw, 2rem); }
:root:root .nav__list a {
  position: relative; padding-block: .5rem; white-space: nowrap;
  font-family: var(--font-label); font-stretch: 125%; font-weight: 600;
  font-size: .8125rem; letter-spacing: .05em; text-transform: uppercase;
}
:root:root .nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
:root:root .nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

:root:root .header__actions { display: flex; align-items: center; gap: 1.25rem; }
:root:root .header__phones { display: flex; gap: 1.25rem; }
:root:root .header__phone { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; font-size: .875rem; color: var(--text); transition: color .3s; }
:root:root .header__phone:hover { color: var(--gold); }

:root:root .header__actions { margin-left: auto; }
:root:root .burger {
  display: inline-flex; align-items: center; gap: .75rem; height: 2.75rem; padding: 0 .9rem;
  border: 1px solid rgba(255,255,255,.35); transition: border-color .3s, color .3s;
}
:root:root .burger:hover { border-color: var(--gold); color: var(--gold); }
:root:root .burger__word { font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .8125rem; letter-spacing: .05em; text-transform: uppercase; }
:root:root .burger__lines { position: relative; width: 18px; height: 8px; }
:root:root .burger__lines span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
:root:root .burger__lines span:first-child { top: 0; }
:root:root .burger__lines span:last-child { top: 6.5px; }
:root:root .burger[aria-expanded="true"] .burger__lines span:first-child { top: 3.25px; transform: rotate(45deg); }
:root:root .burger[aria-expanded="true"] .burger__lines span:last-child { top: 3.25px; transform: rotate(-45deg); }

:root:root .menu {
  position: fixed; inset: 0; z-index: 90; background: var(--black);
  padding-top: calc(var(--header-h) + 2rem);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
:root:root .menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
:root:root .menu[hidden] { display: none; }
:root:root .menu__inner {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem);
  align-content: center; min-height: calc(100% - 2rem); padding-bottom: 2rem;
}
:root:root .menu__list li { border-bottom: 1px solid var(--line); }
:root:root .menu__list li:first-child { border-top: 1px solid var(--line); }
:root:root .menu__list a {
  display: block; padding-block: clamp(.75rem, 1.4vw, 1.1rem);
  font-size: clamp(1.75rem, 1rem + 2.6vw, 3.4rem); line-height: 1.1;
  transform: translateY(14px); opacity: 0;
  transition: color .3s, transform .6s var(--ease), opacity .6s var(--ease);
}
:root:root .menu.is-open .menu__list a { transform: none; opacity: 1; }
:root:root .menu.is-open .menu__list li:nth-child(2) a { transition-delay: .05s; }
:root:root .menu.is-open .menu__list li:nth-child(3) a { transition-delay: .1s; }
:root:root .menu.is-open .menu__list li:nth-child(4) a { transition-delay: .15s; }
:root:root .menu.is-open .menu__list li:nth-child(5) a { transition-delay: .2s; }
:root:root .menu__list a:hover { color: var(--gold); }
:root:root .menu__side { align-self: end; display: grid; gap: 1.75rem; justify-items: start; }
:root:root .menu__side .label { margin-bottom: -1rem; }
:root:root .menu__side address { color: var(--text); }
:root:root .menu__foot { display: grid; gap: .6rem; color: var(--text); font-size: 1.125rem; }
:root:root .menu__foot a { display: inline-flex; align-items: center; gap: .6rem; }

/* =========================================================
   HERO – Titelblatt des Exposés: schwarze Fläche links, Foto rechts,
   Label und Headline unten links, die Headline läuft ins Foto
   ========================================================= */
:root:root .hero { position: relative; min-height: 100svh; min-height: max(100svh, 640px); background: var(--black); overflow: hidden; }
:root:root .hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; overflow: hidden; background: #22262b; }
:root:root .hero__photo::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .14); }
:root:root .hero__media { position: absolute; inset: 0; will-change: transform; }
:root:root .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
:root:root .hero__content {
  position: relative; z-index: 2;
  min-height: inherit;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
}
:root:root .hero__title {
  font-size: clamp(3rem, 1.2rem + 6.6vw, 8.6rem);
  line-height: 1.04;
  margin-left: -0.03em;
}
:root:root .hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
:root:root .hero__word { display: inline-block; }
:root:root.js .hero__word { opacity: 0; }
:root:root.fonts-ready .hero__word { opacity: 1; animation: heroIn 1.2s var(--ease) both; }
:root:root.fonts-ready .hero__line + .hero__line .hero__word { animation-delay: .1s; }
@keyframes heroIn { from { transform: translateY(100%); } to { transform: none; } }
:root:root .hero__bar { display: grid; gap: 1.5rem; max-width: min(34rem, calc(40vw - var(--gutter))); margin-top: clamp(1.5rem, 3vh, 2.25rem); }
:root:root .hero__bar p { color: var(--text); }
:root:root .hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* =========================================================
   INTRO
   ========================================================= */
:root:root .intro__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; }
:root:root .statement { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1.3; }
:root:root .intro__aside p { color: var(--text); margin-bottom: 1.5rem; }
:root:root .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(3.5rem, 7vw, 6rem); }
:root:root .fact { border-top: 1px solid var(--line); padding-top: 1.5rem; }
:root:root .fact__value { font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.4rem); line-height: 1.05; }
:root:root .fact__label { margin-top: .75rem; color: var(--muted); font-size: .95rem; max-width: 24ch; }

/* =========================================================
   SECTION HEAD
   ========================================================= */
:root:root .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
:root:root .section-head > div { flex: 1 1 auto; }
:root:root .section-head__text { flex: 0 1 auto; max-width: 38ch; color: var(--text); }

/* =========================================================
   AKTUELLE IMMOBILIEN – grosse Namen, feste Vorschau
   (taste-skill: „Big names, fixed preview“)
   ========================================================= */
:root:root .listings__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
:root:root .listings__heading { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.4rem); line-height: 1.2; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
:root:root .listings__names { margin-bottom: 2.5rem; }
:root:root .listing__link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 1.5rem;
  padding-block: .35rem;
}
:root:root .listing__thumb { display: none; }
:root:root .listing__name {
  font-family: var(--font-display); font-size: clamp(2.5rem, 1.2rem + 3.3vw, 4.5rem); line-height: 1.1; min-width: 0;
  color: rgba(255, 255, 255, .42); transition: color .3s var(--ease);
}
:root:root .listing__meta { display: grid; justify-items: end; text-align: right; white-space: nowrap; font-size: .9375rem; line-height: 1.4; color: var(--muted); transition: color .3s var(--ease); }
:root:root .listing__meta span:last-child { color: rgba(255, 255, 255, .55); font-weight: 700; font-variant-numeric: tabular-nums; transition: color .3s var(--ease); }
:root:root .listing.is-active .listing__name { color: var(--white); }
:root:root .listing.is-active .listing__meta span:last-child { color: var(--gold); }
:root:root .listing__link:focus-visible { outline-offset: 4px; }

:root:root .listings__preview { position: sticky; top: 110px; }
:root:root .listings__frame { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--surface-2); }
:root:root .listings__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
:root:root .listings__frame img.is-active { opacity: 1; transform: none; }
:root:root .listings__details { display: grid; margin-top: 1.5rem; }
:root:root .listing-detail { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s; }
:root:root .listing-detail.is-active { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
:root:root .listing-detail .label { margin-bottom: .5rem; }
:root:root .listing-detail__title { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); line-height: 1.25; margin-bottom: 1rem; }
/* Datentabelle wie im Exposé „Daten und Fakten“ (echte Tabelle) */
:root:root .datatable { width: 100%; border-collapse: collapse; }
:root:root .datatable th, :root:root .datatable td { padding: .6rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: baseline; }
:root:root .datatable th { color: var(--muted); padding-right: 1rem; }
:root:root .datatable td { font-weight: 700; font-variant-numeric: tabular-nums; padding-right: 2rem; }
:root:root .datatable td:last-child { padding-right: 0; }

/* =========================================================
   LEISTUNGEN – drei Märkte
   Grundform (Telefon, Tablet, ohne JS, reduzierte Bewegung):
   drei Länder nebeneinander bzw. untereinander.
   Desktop mit JS: Scroll-Bühne, die Section bleibt stehen,
   Foto, Karte und Ländername wechseln mit dem Scrollen.
   ========================================================= */
:root:root .markets { padding-block: var(--section); }
:root:root .markets__visual, :root:root .markets__roll, :root:root .markets__steps { display: none; }
:root:root .markets__copies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
:root:root .mcopy__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.5rem; }
:root:root .mcopy__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.1; margin-bottom: 1rem; }
:root:root .mcopy p:not(.label) { color: var(--text); max-width: 54ch; margin-bottom: 1.4rem; }

:root:root .markets.is-scrolly { padding-bottom: 0; }
:root:root .markets.is-scrolly .markets__head { margin-bottom: 0; }
:root:root .markets.is-scrolly .markets__track { position: relative; height: 330vh; height: 330svh; }
:root:root .markets.is-scrolly .markets__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
:root:root .markets.is-scrolly .markets__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: center; }

/* Foto: das nächste Land schiebt sich von unten über das vorige */
:root:root .markets.is-scrolly .markets__visual { display: block; position: relative; }
:root:root .markets__frame { position: relative; height: min(70svh, 42vw); overflow: hidden; background: var(--surface-2); }
:root:root .markets__photo { position: absolute; inset: 0; overflow: hidden; clip-path: inset(var(--clip, 0%) 0 0 0); }
:root:root .markets__photo + .markets__photo { --clip: 100%; }
:root:root .markets__map:first-child { --o: 1; }
:root:root .markets__photo img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--shift, 0%), 0) scale(var(--zoom, 1)); transform-origin: 50% 100%; will-change: transform; }

/* Goldene Landkarte überlappt die Fotokante wie im Exposé */
:root:root .markets__maps { position: absolute; right: clamp(-4.5rem, -4vw, -2rem); bottom: clamp(-3rem, -3vw, -1.5rem); width: 42%; aspect-ratio: 5 / 4; pointer-events: none; }
:root:root .markets__map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 100% 100%; opacity: var(--o, 0); transform: translate3d(0, calc((1 - var(--o, 0)) * 1.5rem), 0); filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .55)); will-change: opacity, transform; }

/* Ländername rollt wie eine Anzeigetafel */
:root:root .markets.is-scrolly .markets__roll { display: block; position: relative; height: 1.12em; overflow: hidden; font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, .5rem + 4.6vw, 6.75rem); line-height: 1.12; margin-bottom: clamp(1.25rem, 3vh, 2.25rem); }
:root:root .markets__roll span + span { visibility: hidden; }
:root:root .markets__roll span { position: absolute; left: 0; top: 0; height: 1.12em; white-space: nowrap; transform: translate3d(0, calc((var(--i) - var(--pos, 0)) * 100%), 0); will-change: transform; }

:root:root .markets.is-scrolly .markets__copies { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 15.5rem; }
:root:root .markets.is-scrolly .mcopy { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translate3d(0, 18px, 0); transition: opacity .45s var(--ease), transform .7s var(--ease), visibility 0s linear .45s; }
:root:root .markets.is-scrolly .mcopy.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .06s, .06s, 0s; }
:root:root .markets.is-scrolly .mcopy__img { display: none; }
:root:root .markets.is-scrolly .mcopy__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Fortschritt: drei Länder, goldene Linie füllt sich beim Scrollen */
:root:root .markets.is-scrolly .markets__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: clamp(1.75rem, 4vh, 3rem); }
:root:root .markets__step {
  position: relative; text-align: left; padding-bottom: .8rem;
  font-family: var(--font-label); font-stretch: 125%; font-weight: 600;
  font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); transition: color .3s var(--ease);
}
:root:root .markets__step:hover, :root:root .markets__step.is-active { color: var(--white); }
:root:root .markets__step i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .18); }
:root:root .markets__step i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }

/* =========================================================
   WERTERMITTLUNG + GESUCH – zwei Sätze zum Ausfüllen
   auf einer goldenen Fläche (Gold mit Schwarz wie im Exposé)
   ========================================================= */
:root:root .wishes { background: var(--gold); color: var(--black); }
:root:root .wish { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; padding-block: clamp(4rem, 8vw, 7.5rem); }
:root:root .wish + .wish { border-top: 1px solid rgba(0, 0, 0, .22); }
:root:root .wish .label { color: var(--black); }
:root:root .wish__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.15; margin-bottom: 1rem; text-wrap: balance; }
:root:root .wish__intro p:not(.label) { max-width: 44ch; color: rgba(0, 0, 0, .8); }
:root:root .wish__sentence { font-family: var(--font-display); font-size: clamp(1.9rem, 1rem + 2.1vw, 3rem); line-height: 1.36; letter-spacing: .005em; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); text-wrap: balance; }

/* Auswahl im Satz: sieht aus wie ein unterstrichenes Wort, öffnet die native Liste */
:root:root .pick { position: relative; display: inline-flex; align-items: baseline; gap: .22em; white-space: nowrap; border-bottom: 2px solid currentColor; line-height: 1.12; transition: background-color .25s var(--ease); }
:root:root .pick__text { display: none; }
:root:root .pick select { font: inherit; color: inherit; background: transparent; border: 0; padding: 0; }
:root:root.js .pick__text { display: inline; }
:root:root.js .pick::after { content: ""; flex: none; width: .3em; height: .3em; margin-left: .06em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.14em) rotate(45deg); }
:root:root.js .pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; -webkit-appearance: none; appearance: none; }
:root:root .pick:hover { background: rgba(0, 0, 0, .07); }
:root:root .pick:focus-within { outline: 2px solid var(--black); outline-offset: 4px; }
:root:root .fill { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; padding: 0; line-height: 1.12; width: 6.4em; min-width: 3em; field-sizing: content; }
:root:root .fill::placeholder { color: rgba(0, 0, 0, .45); opacity: 1; }
:root:root .fill:hover { background: rgba(0, 0, 0, .07); }
:root:root .fill:focus { outline: none; }
:root:root .fill:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }

/* =========================================================
   SO ARBEITEN WIR
   ========================================================= */
:root:root .principles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
:root:root .principle { padding-block: clamp(1.5rem, 2.6vw, 2.25rem); border-top: 1px solid var(--line); }
:root:root .principle h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.35; margin-bottom: .5rem; }
:root:root .principle p { color: var(--text); }

/* =========================================================
   ÜBER UNS – Collage: grosses Foto am rechten Rand,
   Hochformat überlappt seine linke Kante (wie im Exposé)
   ========================================================= */
:root:root .about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: max(90svh, 640px); }
:root:root .about__text { max-width: none; margin: 0; padding-block: var(--section); align-self: center; padding-right: clamp(1rem, 3vw, 3rem); }
:root:root .about__text .h2 { margin-bottom: 1.75rem; }
:root:root .about__copy p { color: var(--text); max-width: 58ch; }
:root:root .about__copy p + p { margin-top: 1rem; }
:root:root .about__copy p:first-child { color: var(--white); }
:root:root .about .link { margin-top: 1.75rem; }
:root:root .about__collage { position: relative; min-height: 34rem; }
:root:root .about__big { position: absolute; top: 0; bottom: 0; right: 0; width: 72%; overflow: hidden; background: var(--surface-2); }
:root:root .about__big img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 18% 50%; will-change: transform; }
:root:root .about__inset { position: absolute; left: 0; top: 18%; width: 48%; aspect-ratio: 494 / 742; overflow: hidden; z-index: 1; }
:root:root .about__inset img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   KONTAKT
   ========================================================= */
:root:root .contact__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 7rem); background: var(--surface); padding: clamp(2rem, 6vw, 5.5rem); }
:root:root .contact__intro .h2 { margin-bottom: 1.5rem; }
:root:root .contact__intro > p:not(.label) { color: var(--text); max-width: 40ch; }
:root:root .contact__phones { margin-top: 2.25rem; display: grid; gap: .25rem; }
:root:root .contact__phones a { display: inline-flex; align-items: center; gap: .9rem; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); padding-block: .35rem; transition: color .3s; }
:root:root .contact__phones a:hover { color: var(--gold); }

:root:root .form { display: grid; gap: 1.75rem; align-content: start; }
:root:root .form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
:root:root .field { position: relative; }
:root:root .field input, :root:root .field select, :root:root .field textarea {
  width: 100%; display: block; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3);
  padding: 1.5rem 0 .6rem; border-radius: 0; font-size: 1rem; color: var(--white);
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
:root:root .field textarea { resize: vertical; min-height: 6.5rem; }
:root:root .field select { cursor: pointer; padding-right: 2rem; }
:root:root .field select option { color: #000; }
:root:root .field--select::after { content: ""; position: absolute; right: .25rem; bottom: 1.15rem; width: .5rem; height: .5rem; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); pointer-events: none; }
:root:root .field label {
  position: absolute; left: 0; top: 1.5rem; pointer-events: none; transform-origin: left top;
  font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  transition: transform .35s var(--ease), color .3s;
}
:root:root .field input:focus, :root:root .field select:focus, :root:root .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
:root:root .field input:focus + label, :root:root .field input:not(:placeholder-shown) + label, :root:root .field textarea:focus + label, :root:root .field textarea:not(:placeholder-shown) + label, :root:root .field select:focus + label, :root:root .field select:valid + label { transform: translateY(-1.35rem) scale(.9); color: var(--gold); }
:root:root .field.is-invalid input, :root:root .field.is-invalid select { border-bottom-color: #e2725b; }
:root:root .form__regions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
:root:root .form__regions legend { width: 100%; margin-bottom: .9rem; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
:root:root .check { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
:root:root .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
:root:root .check span::before { content: ""; display: inline-block; width: .95rem; height: .95rem; margin-right: .65rem; vertical-align: -.12em; border: 1.5px solid var(--gold); transition: background-color .25s, box-shadow .25s; }
:root:root .check input:checked + span::before { background: var(--gold); box-shadow: inset 0 0 0 2.5px var(--surface); }
:root:root .check input:focus-visible + span::before { outline: 2px solid var(--gold); outline-offset: 2px; }
:root:root .check--small { font-size: .9rem; color: var(--text); }
:root:root .check--small a { text-decoration: underline; text-underline-offset: 3px; }
:root:root .form__foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: .5rem; }
:root:root .form__status { min-height: 1.5em; color: var(--gold); }

/* =========================================================
   FOOTER
   ========================================================= */
:root:root .contact { padding-bottom: clamp(3rem, 6vw, 5rem); }
:root:root .footer { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); }
:root:root .footer__mail { display: inline-flex; align-items: center; gap: .3em; font-size: clamp(1.6rem, 1rem + 3.4vw, 4.2rem); line-height: 1.1; overflow-wrap: anywhere; transition: color .3s; }
:root:root .footer__mail .i { width: .6em; height: .6em; color: var(--gold); transition: transform .45s var(--ease); }
:root:root .footer__mail:hover { color: var(--gold); }
:root:root .footer__mail:hover .i { transform: translate(4px, -4px); }
:root:root .footer__grid { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr .8fr; gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.5rem; border-top: 1px solid var(--line); color: var(--text); }
:root:root .footer__grid li { margin-bottom: .35rem; }
:root:root .footer__grid a:hover { color: var(--gold); }
:root:root .footer__bottom { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: clamp(3rem, 6vw, 5rem); padding-block: 2rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
:root:root .footer__bottom img { width: 160px; }
:root:root .footer__bottom p { margin-right: auto; }
:root:root .footer__top { font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .8125rem; letter-spacing: .05em; text-transform: uppercase; }
:root:root .footer__top:hover { color: var(--gold); }

/* =========================================================
   EINBLENDEN
   ========================================================= */
:root:root.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
:root:root.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1640px) {
  :root:root .header__phones { display: none; }
}
@media (max-width: 1200px) {
  :root:root .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  :root:root .listings__grid { grid-template-columns: 1fr; }
  :root:root .listings__preview { display: none; }
  :root:root .listing { margin-bottom: 2.5rem; }
  :root:root .listing__link { grid-template-columns: 1fr; row-gap: .5rem; }
  :root:root .listing__thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: .75rem; }
  :root:root .listing__name, :root:root .listing.is-active .listing__name { color: var(--white); }
  :root:root .listing__meta { justify-items: start; text-align: left; }
  :root:root .listing__meta span:last-child { color: var(--gold); }
  :root:root .menu__inner { grid-template-columns: 1fr; align-content: space-between; }
  :root:root .menu__side { align-self: start; }
  :root:root .header__actions { margin-left: auto; }
  :root:root .hero__photo { width: 58%; }
  :root:root .hero__bar { max-width: min(30rem, calc(46vw - var(--gutter))); }
  :root:root .intro__grid { grid-template-columns: 1fr; align-items: start; }
  :root:root .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  :root:root .markets__copies { grid-template-columns: 1fr; row-gap: 3.5rem; }
  :root:root .mcopy__img { aspect-ratio: 16 / 10; }
  :root:root .wish { grid-template-columns: 1fr; gap: 2rem; }
  :root:root .principles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root:root .contact__box { grid-template-columns: 1fr; }
  :root:root .about { grid-template-columns: 1fr; }
  :root:root .about__text { padding-bottom: 3rem; }
  :root:root .about__collage { min-height: 0; height: 72vw; margin-bottom: var(--section); }
}
@media (min-width: 761px) and (max-width: 1024px) {
  /* Tablet: Foto und Text je Land nebeneinander statt drei riesiger Bilder */
  :root:root .mcopy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); align-content: start; }
  :root:root .mcopy__img { grid-column: 1; grid-row: 1 / span 4; aspect-ratio: 4 / 3; margin-bottom: 0; }
  :root:root .mcopy { grid-template-rows: auto auto auto 1fr; }
  :root:root .mcopy > :not(.mcopy__img) { grid-column: 2; }
  :root:root .mcopy .link { justify-self: start; align-self: start; }
}
@media (max-width: 760px) {
  :root { --header-h: 76px; }
  :root:root .header__logo img, :root:root .header.is-scrolled .header__logo img { width: 140px; }
  :root:root .header__actions .btn { display: none; }
  :root:root .burger__word { display: none; }
  :root:root .burger { padding: 0; width: 2.75rem; justify-content: center; }
  :root:root .wish__sentence { font-size: clamp(1.75rem, 7.4vw, 2.3rem); line-height: 1.42; }
  :root:root .wish .btn { width: 100%; white-space: normal; text-align: center; }
  :root:root .listing__name { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  :root:root .header.is-scrolled .header__inner { height: 68px; }

  /* Titelblatt auf dem Telefon: Foto oben, Text darunter auf Schwarz */
  :root:root .hero { min-height: 0; display: flex; flex-direction: column; padding-top: var(--header-h); }
  :root:root .hero__photo { position: relative; width: 100%; height: 46svh; }
  :root:root .hero__content { min-height: 0; padding-top: 2rem; padding-bottom: 3rem; }
  :root:root .hero__title { font-size: clamp(2.6rem, 12vw, 4rem); }
  :root:root .hero__bar { max-width: none; }
  :root:root .hero__ctas .btn { flex: 1 1 auto; }

  :root:root .section-head { flex-direction: column; align-items: flex-start; }
  :root:root .principles__grid { grid-template-columns: 1fr; }
  :root:root .contact .container { padding-inline: 0; }
  :root:root .contact__box { padding: 3rem var(--gutter); }
  :root:root .form__grid { grid-template-columns: 1fr; }
  :root:root .form__foot .btn { width: 100%; }
  :root:root .about__collage { height: 96vw; }
  :root:root .about__big { width: 78%; }
  :root:root .about__inset { width: 46%; top: 14%; left: var(--gutter); }
  :root:root .footer__grid { grid-template-columns: 1fr; }
  :root:root .footer__bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:root:root { scroll-behavior: auto; }
  :root:root *, :root:root *::before, :root:root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  :root:root.js [data-reveal] { opacity: 1; transform: none; }
  :root:root.js .hero__word { opacity: 1; }
}

/* ===== components.css ===== */
/* =========================================================
   Schweizer Immobilienmanufaktur – Komponenten für Unterseiten,
   Immobilienrechner, Anfrage in 3 Schritten und Effekte.
   Baut auf style.css auf (Farben, Schriften, Raster).
   ========================================================= */

:root {
  --red: #e2725b;
  --green: #8fcf9a;
  --radius: 0px;
}

/* ---------- Seitenwechsel: goldener Vorhang (View Transitions, nur wo unterstützt) ---------- */
@view-transition { navigation: auto; }
:root:root ::view-transition-old(root) { animation: vtOut .45s var(--ease) both; }
:root:root ::view-transition-new(root) { animation: vtIn .7s var(--ease) both; }
@keyframes vtOut { to { opacity: .2; transform: translateY(-2vh); } }
@keyframes vtIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Header-Ergänzung: Rechner-Link ---------- */
:root:root .header__calc {
  display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .8125rem; letter-spacing: .05em; text-transform: uppercase;
  transition: color .3s;
}
:root:root .header__calc:hover { color: var(--gold); }
:root:root .header__calc-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(237, 191, 124, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(237, 191, 124, .55); } 70% { box-shadow: 0 0 0 .55rem rgba(237, 191, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 191, 124, 0); } }

/* Menü mit Nummern */
:root:root .menu__no { display: inline-block; width: 2.6em; font-family: var(--font-label); font-stretch: 125%; font-size: .78rem; letter-spacing: .04em; color: var(--gold); vertical-align: .55em; }
:root:root .menu__list a { font-size: clamp(1.7rem, .9rem + 2.3vw, 3.1rem); }
:root:root .menu { overflow-y: auto; }

/* Menü: vier Hauptziele gross, der Rest in ruhigen Gruppen */
:root:root .menu__groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 4vh, 3rem); }
:root:root .menu__groups .label { margin-bottom: .9rem; font-size: .72rem; color: var(--muted); }
:root:root .menu__groups li + li { margin-top: .35rem; }
:root:root .menu__groups a { display: inline-block; color: var(--text); font-size: 1.05rem; padding-block: .15rem; opacity: 0; transform: translateY(10px); transition: color .3s, opacity .6s var(--ease) .25s, transform .6s var(--ease) .25s; }
:root:root .menu.is-open .menu__groups a { opacity: 1; transform: none; }
:root:root .menu__groups a:hover { color: var(--gold); }
:root:root .menu a[aria-current="page"] { color: var(--gold); }
:root:root .footer a[aria-current="page"] { color: var(--gold); }
:root:root .footer__grid { grid-template-columns: 1.2fr 1fr 1.1fr 1fr .9fr; }

/* Live-Uhr Zürich */
:root:root .clock { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; padding: .9rem 1.1rem; border: 1px solid var(--line); color: var(--text); font-size: .95rem; }
:root:root .clock time { font-variant-numeric: tabular-nums; color: var(--white); }
:root:root .clock__state { flex-basis: 100%; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
:root:root .clock__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); animation: pulseGreen 2.4s infinite; }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(143, 207, 154, .6); } 70% { box-shadow: 0 0 0 .5rem rgba(143, 207, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 207, 154, 0); } }
:root:root .footer__clock { display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem; font-size: .9rem; color: var(--muted); }
:root:root .footer__clock time { color: var(--white); font-variant-numeric: tabular-nums; }

/* ---------- Brotkrumen ---------- */
:root:root .crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .6rem; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
:root:root .crumbs li { display: inline-flex; align-items: center; gap: .6rem; }
:root:root .crumbs li + li::before { content: ""; width: .9rem; height: 1px; background: var(--line); }
:root:root .crumbs a { transition: color .3s; }
:root:root .crumbs a:hover { color: var(--gold); }
:root:root .crumbs [aria-current] { color: var(--gold); }

/* =========================================================
   UNTERSEITEN-HERO – wie das Titelblatt, etwas kompakter
   ========================================================= */
:root:root .phero { position: relative; min-height: max(86svh, 600px); background: var(--black); overflow: hidden; display: flex; }
:root:root .phero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; overflow: hidden; background: var(--surface-2); }
:root:root .phero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,0) 40%), rgba(0,0,0,.12); }
:root:root .phero__photo img { width: 100%; height: 100%; object-fit: cover; animation: pheroZoom 2.2s var(--ease) both; }
@keyframes pheroZoom { from { transform: scale(1.12); } to { transform: none; } }
:root:root .phero__map { position: absolute; right: clamp(1rem, 4vw, 4rem); bottom: clamp(1rem, 5vh, 3rem); width: min(24vw, 320px); z-index: 1; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .55)); animation: fadeUp 1.4s .4s var(--ease) both; }
:root:root .phero__content { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: clamp(2.5rem, 7vh, 4.5rem); }
:root:root .phero .crumbs { margin-bottom: auto; padding-bottom: 2.5rem; }
:root:root .phero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 1rem + 5.2vw, 6.6rem); line-height: 1.04; max-width: 13ch; margin: 0 0 0 -.03em; text-wrap: balance; }
:root:root .phero__title em { font-style: normal; color: var(--gold); }
:root:root .phero__lead { max-width: min(36rem, calc(46vw - var(--gutter))); margin-top: clamp(1.25rem, 3vh, 2rem); color: var(--text); font-size: 1.125rem; }
:root:root .phero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
:root:root .phero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 5vh, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: min(40rem, calc(48vw - var(--gutter))); }
:root:root .phero__facts div { display: grid; gap: .2rem; }
:root:root .phero__facts dt { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem); line-height: 1.1; }
:root:root .phero__facts dd { color: var(--muted); font-size: .875rem; }
:root:root.js .phero [data-anim] { animation: fadeUp 1.1s var(--ease) both; animation-delay: calc(var(--n, 0) * .08s + .15s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
:root:root .phero--text { min-height: 0; }
:root:root .phero--text .phero__content { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
:root:root .phero--text .phero__title { max-width: 18ch; }
:root:root .phero--text .phero__lead { max-width: 46rem; }

/* =========================================================
   ALLGEMEINE INHALTSBLÖCKE
   ========================================================= */
:root:root .lead { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.32; max-width: 34ch; text-wrap: pretty; }
:root:root .muted { color: var(--muted); }
:root:root .gold { color: var(--gold); }

/* Zweispaltig: Text + Bild */
:root:root .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
:root:root .split--top { align-items: start; }
:root:root .split__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
:root:root .split__media--wide { aspect-ratio: 4 / 3; }
:root:root .split__media img { width: 100%; height: 100%; object-fit: cover; }
:root:root .split__text .h2 { margin-bottom: 1.5rem; }
:root:root .split__text > p:not(.label) { color: var(--text); max-width: 56ch; }
:root:root .split__text > p + p { margin-top: 1rem; }
:root:root .split__text .link, :root:root .split__text .btn { margin-top: 2rem; }

/* Bild deckt sich beim Einblenden von unten auf */
:root:root.js [data-unveil] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
:root:root.js [data-unveil] img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
:root:root.js [data-unveil].is-in { clip-path: inset(0 0 0 0); }
:root:root.js [data-unveil].is-in img { transform: none; }

/* Fliesstext (Ratgeber, Erklärseiten) */
:root:root .prose { max-width: 68ch; color: var(--text); font-size: 1.0625rem; }
:root:root .prose > * + * { margin-top: 1.1rem; }
:root:root .prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.2; color: var(--white); margin-top: 3.25rem; scroll-margin-top: 110px; }
:root:root .prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-top: 2.25rem; }
:root:root .prose strong { color: var(--white); }
:root:root .prose a:not(.btn):not(.link) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:root:root .prose ul { display: grid; gap: .55rem; }
:root:root .prose ul li { position: relative; padding-left: 1.6rem; }
:root:root .prose ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: .9rem; height: 1px; background: var(--gold); }
:root:root .prose ol { counter-reset: n; display: grid; gap: .7rem; padding: 0; list-style: none; }
:root:root .prose ol li { counter-increment: n; position: relative; padding-left: 2.6rem; }
:root:root .prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .8rem; color: var(--gold); }
:root:root .prose .table-wrap { margin-top: 1.75rem; }
:root:root .note { border-left: 2px solid var(--gold); padding: 1rem 1.25rem; background: var(--surface); color: var(--text); font-size: .95rem; }
:root:root .note strong { color: var(--white); }

/* Artikel-Layout mit Inhaltsverzeichnis */
:root:root .article { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
:root:root .toc { position: sticky; top: 110px; }
:root:root .toc ol { display: grid; gap: .1rem; border-left: 1px solid var(--line); }
:root:root .toc a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); font-size: .9rem; line-height: 1.4; transition: color .3s, border-color .3s; }
:root:root .toc a:hover, :root:root .toc a.is-active { color: var(--white); border-left-color: var(--gold); }

/* Lesefortschritt */
:root:root .progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 120; pointer-events: none; }
:root:root .progress span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Tabellen */
:root:root .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
:root:root .table { width: 100%; border-collapse: collapse; font-size: .975rem; }
:root:root .table caption { text-align: left; caption-side: bottom; padding-top: .9rem; color: var(--muted); font-size: .85rem; }
:root:root .table th, :root:root .table td { text-align: left; padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
:root:root .table thead th { font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
:root:root .table td.num, :root:root .table th.num { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; }
:root:root .table tbody tr { transition: background-color .25s; }
:root:root .table tbody tr:hover { background: rgba(255, 255, 255, .04); }

/* Kacheln mit Leistungen (Nummer, Titel, Text) */
:root:root .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
/* Spaltenzahl nach Kartenanzahl, damit keine leeren Zellen bleiben */
@media (min-width: 761px) {
  :root:root .cards:has(> :nth-child(3):last-child), :root:root .cards:has(> :nth-child(6):last-child), :root:root .cards:has(> :nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :root:root .cards:has(> :nth-child(4):last-child), :root:root .cards:has(> :nth-child(8):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1201px) {
  :root:root .cards:has(> :nth-child(4):last-child), :root:root .cards:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :root:root .cards:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
:root:root .card { position: relative; background: var(--black); padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2vw, 2rem) clamp(2rem, 3vw, 3rem); overflow: hidden; isolation: isolate; }
:root:root .card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(237, 191, 124, .14), transparent 60%); opacity: 0; transition: opacity .4s; }
:root:root .card:hover::before { opacity: 1; }
:root:root .card__no { display: block; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .78rem; letter-spacing: .04em; color: var(--gold); margin-bottom: 2.5rem; }
:root:root .card h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); line-height: 1.2; margin-bottom: .8rem; }
:root:root .card p { color: var(--text); }
:root:root .card .link { margin-top: 1.5rem; }

/* Prozess: nummerierte Schritte mit goldener Linie */
:root:root .steps { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); padding-top: 3.25rem; }
:root:root .steps::before, :root:root .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 1rem; height: 1px; background: var(--line); }
:root:root .steps::after { background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); transition: transform .2s linear; }
:root:root .step { position: relative; }
:root:root .step::before { content: ""; position: absolute; left: 0; top: calc(-2.25rem - 5px); width: 11px; height: 11px; border-radius: 50%; background: var(--black); border: 1px solid var(--gold); transition: background-color .4s; }
:root:root .step.is-done::before { background: var(--gold); }
:root:root .step__no { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 1.6vw, 3.6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 1.25rem; transition: color .5s; }
:root:root .step.is-done .step__no { color: var(--gold); }
:root:root .step h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: .5rem; }
:root:root .step p { color: var(--text); font-size: 1rem; }

/* Zahlenband */
:root:root .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: clamp(1rem, 2vw, 2rem); }
:root:root .stat { border-top: 1px solid var(--line); padding-top: 1.5rem; }
:root:root .stat__value { font-family: var(--font-display); font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.4rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
:root:root .stat__label { margin-top: .75rem; color: var(--muted); font-size: .95rem; max-width: 26ch; }

/* Laufband „Schweiz · Deutschland · Türkei“ */
:root:root .marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(1.1rem, 2.4vw, 2rem); user-select: none; }
:root:root .marquee__track { display: flex; width: max-content; will-change: transform; }
:root:root .marquee__group { display: flex; align-items: center; flex: none; }
:root:root .marquee__item { display: inline-flex; align-items: center; gap: clamp(1.25rem, 3vw, 3rem); padding-right: clamp(1.25rem, 3vw, 3rem); font-family: var(--font-display); font-size: clamp(2.4rem, 1.2rem + 4.5vw, 6rem); line-height: 1; white-space: nowrap; }
:root:root .marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
:root:root .marquee__item::after { content: ""; width: .32em; height: .32em; flex: none; background: var(--gold); transform: rotate(45deg); }

/* Grosses CTA-Band in Gold */
:root:root .cta-band { background: var(--gold); color: var(--black); padding-block: clamp(4rem, 9vw, 8rem); position: relative; overflow: hidden; }
:root:root .cta-band .label { color: var(--black); }
:root:root .cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: end; }
:root:root .cta-band__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.8rem); line-height: 1.08; text-wrap: balance; }
:root:root .cta-band__side p { color: rgba(0, 0, 0, .78); margin-bottom: 1.75rem; max-width: 40ch; }
:root:root .cta-band__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
:root:root .btn--outline-dark { border-color: rgba(0, 0, 0, .55); color: var(--black); }
:root:root .btn--outline-dark:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* =========================================================
   FAQ – Akkordeon
   ========================================================= */
:root:root .faq { border-top: 1px solid var(--line); }
:root:root .faq__item { border-bottom: 1px solid var(--line); }
:root:root .faq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding-block: clamp(1.15rem, 2vw, 1.6rem); font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); line-height: 1.3; transition: color .3s; }
:root:root .faq__item summary::-webkit-details-marker { display: none; }
:root:root .faq__item summary:hover { color: var(--gold); }
:root:root .faq__icon { position: relative; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; transition: transform .5s var(--ease), border-color .3s, background-color .3s; }
:root:root .faq__icon::before, :root:root .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 1.5px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
:root:root .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
:root:root .faq__item[open] .faq__icon { border-color: var(--gold); background: var(--gold); }
:root:root .faq__item[open] .faq__icon::before, :root:root .faq__item[open] .faq__icon::after { background: var(--black); }
:root:root .faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
:root:root .faq__answer { color: var(--text); max-width: 72ch; padding-bottom: 1.6rem; }
:root:root .faq__answer p + p { margin-top: .8rem; }
:root:root .faq__answer a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
:root:root .faq__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
:root:root .faq__layout .section-head { display: block; position: sticky; top: 110px; }
:root:root .faq__layout .h2 { margin-bottom: 1.25rem; }
:root:root .faq__layout .section-head p:not(.label) { color: var(--text); max-width: 34ch; margin-bottom: 1.75rem; }

/* Filter-Chips (Ratgeber, Immobilien) */
:root:root .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
:root:root .chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; padding: .45rem 1rem; border: 1px solid var(--line); font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text); transition: border-color .3s, color .3s, background-color .3s; cursor: pointer; }
:root:root .chip:hover { border-color: var(--gold); color: var(--white); }
:root:root .chip.is-active, :root:root .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--black); }
:root:root .chip sup { font-size: .7em; opacity: .7; }

/* =========================================================
   IMMOBILIEN – Übersicht und Detail
   ========================================================= */
:root:root .props__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
:root:root .currency { display: inline-flex; border: 1px solid var(--line); }
:root:root .currency button { min-width: 3.6rem; min-height: 2.5rem; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .75rem; letter-spacing: .04em; color: var(--muted); transition: background-color .3s, color .3s; }
:root:root .currency button[aria-pressed="true"] { background: var(--white); color: var(--black); }
:root:root .currency__note { font-size: .8rem; color: var(--muted); margin-left: .75rem; align-self: center; }
:root:root .props { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem); }
:root:root .prop { display: grid; align-content: start; transition: opacity .4s var(--ease), transform .5s var(--ease); }
:root:root .prop[hidden] { display: none; }
:root:root .prop__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); margin-bottom: 1.4rem; }
:root:root .prop__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
:root:root .prop:hover .prop__media img { transform: scale(1.05); }
:root:root .prop__badge { position: absolute; left: 1rem; top: 1rem; z-index: 1; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .7rem; background: var(--black); font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
:root:root .prop__badge--gold { background: var(--gold); color: var(--black); left: auto; right: 1rem; }
:root:root .prop__place { margin-bottom: .4rem; }
:root:root .prop__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); line-height: 1.2; margin-bottom: 1rem; }
:root:root .prop__title a::after { content: ""; position: absolute; inset: 0; }
:root:root .prop { position: relative; }
:root:root .prop__data { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; color: var(--muted); font-size: .95rem; padding-top: 1rem; border-top: 1px solid var(--line); }
:root:root .prop__price { margin-left: auto; color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
:root:root .props__empty { padding: 3rem 0; color: var(--muted); }

/* Detailseite */
:root:root .pd-gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .75rem; height: min(78svh, 46vw); min-height: 420px; padding-top: calc(var(--header-h) + 1rem); }
:root:root .pd-gallery figure { position: relative; overflow: hidden; background: var(--surface-2); }
:root:root .pd-gallery figure:first-child { grid-row: span 2; }
:root:root .pd-gallery--single { grid-template-columns: 1fr; }
:root:root .pd-gallery--single figure:first-child { grid-row: auto; }
:root:root .pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
:root:root .pd-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; padding-top: clamp(2rem, 4vw, 3.5rem); }
:root:root .pd-head .crumbs { margin-bottom: 1.75rem; }
:root:root .pd-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 1.3rem + 3vw, 4.4rem); line-height: 1.08; text-wrap: balance; margin-bottom: 1.25rem; }
:root:root .pd-sub { color: var(--text); font-size: 1.125rem; max-width: 52ch; }
:root:root .pd-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
:root:root .pd-aside { position: sticky; top: 100px; display: grid; gap: 1.25rem; padding: clamp(1.5rem, 2.5vw, 2.25rem); background: var(--surface); }
:root:root .pd-aside__price { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
:root:root .pd-aside__price small { display: block; margin-top: .5rem; font-family: var(--font-text); font-size: .875rem; color: var(--muted); }
:root:root .pd-aside .btn { width: 100%; }
:root:root .pd-aside__person { display: flex; gap: 1rem; align-items: center; padding-top: 1.25rem; border-top: 1px solid var(--line); }
:root:root .pd-aside__person img { width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: 50%; }
:root:root .pd-aside__person p { font-size: .9rem; color: var(--muted); line-height: 1.4; }
:root:root .pd-aside__person strong { display: block; color: var(--white); font-size: 1rem; }
:root:root .pd-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 2rem; }
:root:root .pd-features li { display: flex; gap: .75rem; align-items: baseline; padding-block: .7rem; border-bottom: 1px solid var(--line); color: var(--text); }
:root:root .pd-features .i { color: var(--gold); transform: translateY(.15em); }
:root:root .pd-block + .pd-block { margin-top: clamp(3rem, 5vw, 4.5rem); }
:root:root .pd-block > .label { margin-bottom: 1.25rem; }
:root:root .pd-block .datatable td { padding-right: 1.5rem; }

/* =========================================================
   IMMOBILIENRECHNER
   ========================================================= */
:root:root .calc { background: var(--surface); }
:root:root .calc__tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
:root:root .calc__tab { position: relative; padding: 1.25rem clamp(1rem, 2.4vw, 2rem); font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
:root:root .calc__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
:root:root .calc__tab:hover { color: var(--white); }
:root:root .calc__tab[aria-selected="true"] { color: var(--white); }
:root:root .calc__tab[aria-selected="true"]::after { transform: scaleX(1); }
:root:root .calc__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
:root:root .calc__panel[hidden] { display: none; }
:root:root .calc__inputs { padding: clamp(1.5rem, 3.5vw, 3.25rem); border-right: 1px solid var(--line); display: grid; gap: 1.6rem; align-content: start; }
:root:root .calc__results { padding: clamp(1.5rem, 3.5vw, 3.25rem); display: grid; gap: 2rem; align-content: start; }
:root:root .calc__group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
:root:root .calc__group + .calc__group { padding-top: 1.6rem; border-top: 1px solid var(--line); }
:root:root .calc__group-title { margin-bottom: -.4rem; }
:root:root .calc__more { border-top: 1px solid var(--line); padding-top: 1.25rem; }
:root:root .calc__more summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
:root:root .calc__more summary::-webkit-details-marker { display: none; }
:root:root .calc__more summary .i { transition: transform .4s var(--ease); }
:root:root .calc__more[open] summary .i { transform: rotate(45deg); }
:root:root .calc__more .calc__group { margin-top: 1.6rem; }

/* Schieberegler mit Zahlenfeld */
:root:root .range { display: grid; gap: .6rem; }
:root:root .range__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; }
:root:root .range__head label, :root:root .range__label { font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
:root:root .range__value { display: inline-flex; align-items: baseline; gap: .35rem; border-bottom: 1px solid transparent; transition: border-color .3s; }
:root:root .range__value:focus-within { border-bottom-color: var(--gold); }
:root:root .range__value input { width: 9ch; field-sizing: content; min-width: 3ch; background: transparent; border: 0; padding: 0; text-align: right; font-family: var(--font-display); font-size: 1.35rem; color: var(--white); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
:root:root .range__value input::-webkit-outer-spin-button, :root:root .range__value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
:root:root .range__value input:focus { outline: none; }
:root:root .range__value span { color: var(--muted); font-size: .9rem; }
:root:root .range input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; margin: 0; }
:root:root .range input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(var(--gold), var(--gold)) 0 0 / var(--p) 100% no-repeat, rgba(255, 255, 255, .18); }
:root:root .range input[type="range"]::-moz-range-track { height: 2px; background: rgba(255, 255, 255, .18); }
:root:root .range input[type="range"]::-moz-range-progress { height: 2px; background: var(--gold); }
:root:root .range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--gold); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--gold); transition: transform .2s var(--ease); }
:root:root .range input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--gold); }
:root:root .range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.25); }
:root:root .range input[type="range"]:focus-visible { outline: none; }
:root:root .range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px rgba(237, 191, 124, .3); }

:root:root .select { position: relative; display: grid; gap: .6rem; }
:root:root .select select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); border-radius: 0; padding: .4rem 2rem .6rem 0; font-size: 1.05rem; -webkit-appearance: none; appearance: none; cursor: pointer; }
:root:root .select select:focus { outline: none; border-bottom-color: var(--gold); }
:root:root .select select option { color: #000; }
:root:root .select::after { content: ""; position: absolute; right: .25rem; bottom: 1.05rem; width: .5rem; height: .5rem; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); pointer-events: none; }

:root:root .seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); }
:root:root .seg button { min-height: 2.5rem; padding: .4rem .9rem; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); transition: background-color .3s, color .3s; }
:root:root .seg button[aria-pressed="true"] { background: var(--white); color: var(--black); }

/* Ergebnis */
:root:root .calc__hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: end; }
:root:root .calc__big { font-family: var(--font-display); font-size: clamp(3.4rem, 2rem + 5vw, 6.5rem); line-height: .95; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
:root:root .calc__big small { font-size: .45em; color: var(--gold); margin-left: .08em; }
:root:root .calc__verdict { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .8rem; border: 1px solid currentColor; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); white-space: nowrap; transition: color .4s; }
:root:root .calc__verdict::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
:root:root .calc__verdict[data-tone="good"] { color: var(--green); }
:root:root .calc__verdict[data-tone="bad"] { color: var(--red); }
:root:root .kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
:root:root .kpi { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--line); }
:root:root .kpi dt { color: var(--muted); font-size: .92rem; }
:root:root .kpi dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
:root:root .kpi dd.is-neg { color: var(--red); }
:root:root .kpi dd.is-pos { color: var(--green); }

/* Skala: wo liegt die Rendite im Vergleich */
:root:root .scale { position: relative; padding-top: 2.4rem; }
:root:root .scale__bar { height: 6px; background: linear-gradient(90deg, #5a3b33, #8a6a3f 35%, var(--gold) 65%, #c9e3b0); }
:root:root .scale__marker { position: absolute; top: 0; left: var(--x, 50%); transform: translateX(-50%); display: grid; justify-items: center; gap: .25rem; transition: left .6s var(--ease); }
:root:root .scale__marker span { font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .7rem; letter-spacing: .04em; white-space: nowrap; background: var(--white); color: var(--black); padding: .2rem .45rem; }
:root:root .scale__marker::after { content: ""; width: 1px; height: 1.1rem; background: var(--white); }
:root:root .scale__ticks { display: flex; justify-content: space-between; margin-top: .6rem; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Kostenaufteilung als Balken */
:root:root .split-bar { display: flex; height: 10px; overflow: hidden; background: rgba(255, 255, 255, .08); }
:root:root .split-bar span { height: 100%; flex: 0 0 var(--w, 0%); transition: flex-basis .6s var(--ease); }
:root:root .legend { display: grid; gap: .1rem; margin-top: 1rem; }
:root:root .legend li { display: grid; grid-template-columns: .75rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding-block: .55rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
:root:root .legend li i { width: .75rem; height: .75rem; }
:root:root .legend li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
:root:root .legend li.legend__total { border-bottom: 0; padding-top: .9rem; }
:root:root .legend li.legend__total span { font-weight: 700; color: var(--white); }
:root:root .c1 { background: var(--gold); } :root:root .c2 { background: #b98c4f; } :root:root .c3 { background: #7d6040; } :root:root .c4 { background: #f4e2c6; } :root:root .c5 { background: #4b3a28; }

/* Chart: Vermögensaufbau */
:root:root .chart { position: relative; }
:root:root .chart svg { display: block; width: 100%; height: auto; overflow: visible; }
:root:root .chart__grid line { stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
:root:root .chart__axis text { fill: var(--muted); font-family: var(--font-text); font-size: 11px; }
:root:root .chart__area { fill: url(#chartGold); }
:root:root .chart__line { fill: none; stroke: var(--gold); stroke-width: 2; }
:root:root .chart__debt { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; stroke-dasharray: 4 4; }
:root:root .chart__value { fill: none; stroke: var(--white); stroke-width: 1.5; }
:root:root .chart__hover line { stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
:root:root .chart__hover circle { fill: var(--gold); stroke: var(--black); stroke-width: 2; }
:root:root .chart__tip { position: absolute; top: 0; left: 0; pointer-events: none; background: var(--white); color: var(--black); padding: .6rem .8rem; font-size: .82rem; line-height: 1.4; white-space: nowrap; opacity: 0; transform: translate(-50%, -110%); transition: opacity .2s; font-variant-numeric: tabular-nums; }
:root:root .chart__tip.is-on { opacity: 1; }
:root:root .chart__tip strong { display: block; font-family: var(--font-label); font-stretch: 125%; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
:root:root .chart__legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; font-size: .85rem; color: var(--muted); }
:root:root .chart__legend span { display: inline-flex; align-items: center; gap: .5rem; }
:root:root .chart__legend i { width: 1.25rem; height: 2px; background: var(--gold); }
:root:root .chart__legend i.is-white { background: var(--white); }
:root:root .chart__legend i.is-dash { background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 4px, transparent 4px 8px); }

/* Tragbarkeit: Halbkreis-Anzeige */
:root:root .gauge { position: relative; width: min(100%, 320px); margin-inline: auto; }
:root:root .gauge svg { display: block; width: 100%; height: auto; }
:root:root .gauge__track { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 14; }
:root:root .gauge__fill { fill: none; stroke: var(--gold); stroke-width: 14; transition: stroke-dashoffset .8s var(--ease), stroke .4s; }
:root:root .gauge__limit { stroke: var(--white); stroke-width: 2; }
:root:root .gauge__value { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; }
:root:root .gauge__value strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
:root:root .gauge__value > span { color: var(--muted); font-size: .85rem; }

:root:root .calc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding: 1.5rem clamp(1.5rem, 3.5vw, 3.25rem); border-top: 1px solid var(--line); }
:root:root .calc__foot p { font-size: .82rem; color: var(--muted); max-width: 70ch; }
:root:root .calc__foot-btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Rechner-Teaser auf der Startseite */
:root:root .teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
:root:root .teaser__text .h2 { margin-bottom: 1.5rem; }
:root:root .teaser__text > p:not(.label) { color: var(--text); max-width: 44ch; }
:root:root .teaser__text .btn { margin-top: 2rem; }
:root:root .teaser__box { background: var(--surface); padding: clamp(1.5rem, 3.5vw, 3rem); display: grid; gap: 1.75rem; position: relative; }
:root:root .teaser__box::before { content: ""; position: absolute; inset: -1px; border: 1px solid transparent; background: linear-gradient(135deg, rgba(237, 191, 124, .7), transparent 35%, transparent 65%, rgba(237, 191, 124, .45)) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
:root:root .teaser__out { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: end; padding-top: 1.5rem; border-top: 1px solid var(--line); }
:root:root .teaser__out .label { margin-bottom: .4rem; }

/* =========================================================
   ANFRAGE IN 3 SCHRITTEN
   ========================================================= */
:root:root .wizard { position: relative; display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
:root:root .wizard__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: end; }
:root:root .wizard__count { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); line-height: .9; font-variant-numeric: tabular-nums; }
:root:root .wizard__count small { font-size: .4em; color: var(--muted); }
:root:root .wizard__bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
:root:root .wizard__bar li { display: grid; gap: .6rem; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
:root:root .wizard__bar li::after { content: ""; height: 2px; background: linear-gradient(var(--gold), var(--gold)) 0 0 / var(--f, 0%) 100% no-repeat, rgba(255, 255, 255, .15); transition: background-size .6s var(--ease); }
:root:root .wizard__bar li.is-current, :root:root .wizard__bar li.is-done { color: var(--white); }
:root:root .wizard__bar li.is-current { --f: 50%; }
:root:root .wizard__bar li.is-done { --f: 100%; }
:root:root .wizard__viewport { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); overflow: clip; overflow-clip-margin: 8px; }
:root:root .wizard__step { grid-area: 1 / 1; display: grid; gap: 1.75rem; align-content: start; }
:root:root.js .wizard__step { opacity: 0; visibility: hidden; transform: translate3d(40px, 0, 0); transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s linear .45s; }
:root:root.js .wizard__step.is-back { transform: translate3d(-40px, 0, 0); }
:root:root.js .wizard__step.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
:root:root legend.wizard__q { margin-bottom: 1.5rem; padding: 0; }
:root:root .wizard__q { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem); line-height: 1.2; }
:root:root .wizard__sub { margin-top: -1rem; color: var(--text); }
:root:root .wizard__legend { margin-bottom: .9rem; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* Grosse Auswahlkarten */
:root:root .choices { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: .75rem; }
:root:root .choice { position: relative; display: block; cursor: pointer; }
:root:root .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
:root:root .choice__box { position: relative; display: grid; gap: .35rem; height: 100%; padding: 1.15rem 1.25rem 1.25rem; border: 1px solid var(--line); transition: border-color .3s, background-color .3s, transform .2s var(--ease); }
:root:root .choice__box strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; padding-right: 1.75rem; }
:root:root .choice__box span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
:root:root .choice__box::after { content: ""; position: absolute; right: 1.1rem; top: 1.25rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s, border-color .3s, box-shadow .3s; }
:root:root .choice:hover .choice__box { border-color: rgba(237, 191, 124, .6); }
:root:root .choice input:checked + .choice__box { border-color: var(--gold); background: rgba(237, 191, 124, .08); }
:root:root .choice input:checked + .choice__box::after { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--surface); }
:root:root .choice input:focus-visible + .choice__box { outline: 2px solid var(--gold); outline-offset: 2px; }
:root:root .choice:active .choice__box { transform: scale(.985); }
:root:root .choices--sm { --cols: 3; }
:root:root .choices--sm .choice__box { padding: .8rem 1rem; }
:root:root .choices--sm .choice__box strong { font-family: var(--font-text); font-weight: 700; font-size: .98rem; padding-right: 1.5rem; }
:root:root .choices--sm .choice__box::after { top: .95rem; right: .85rem; width: .9rem; height: .9rem; }
:root:root .choice input[type="checkbox"] + .choice__box::after { border-radius: 0; }

:root:root .wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
:root:root .wizard__back { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
:root:root .wizard__back:hover { color: var(--white); }
:root:root .wizard__back[hidden] { display: inline-flex; visibility: hidden; }
:root:root .wizard__hint { color: var(--red); font-size: .9rem; min-height: 1.4em; }
:root:root .wizard .form__grid { gap: 1.5rem 2rem; }
:root:root .wizard .range__value input { font-size: 1.6rem; }

/* Abschluss */
:root:root .wizard__done { display: grid; gap: 1.5rem; justify-items: start; }
:root:root .wizard__done[hidden] { display: none; }
:root:root .wizard.is-done .wizard__top, :root:root .wizard.is-done .wizard__viewport, :root:root .wizard.is-done .wizard__nav { display: none; }
:root:root .done__check { width: 4.5rem; height: 4.5rem; }
:root:root .done__check circle { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1s var(--ease) forwards; }
:root:root .done__check path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
:root:root .done__summary { width: 100%; }
:root:root .done__summary dl { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0 1.5rem; }
:root:root .done__summary dt, :root:root .done__summary dd { padding-block: .6rem; border-bottom: 1px solid var(--line); }
:root:root .done__summary dt { color: var(--muted); font-size: .92rem; }
:root:root .done__btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Anfrage-Seite: Wizard + Seitenleiste */
:root:root .inquiry { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
:root:root .inquiry__box { background: var(--surface); padding: clamp(1.5rem, 4vw, 3.5rem); }
:root:root .inquiry__side { position: sticky; top: 110px; display: grid; gap: 2rem; }
:root:root .inquiry__side .contact__phones { margin-top: 0; }
:root:root .person { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.25rem; align-items: center; }
:root:root .person img { width: 5.5rem; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 50%; }
:root:root .person__mono { display: grid; place-items: center; width: 5.5rem; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold); font-family: var(--font-display); font-size: 1.9rem; color: var(--gold); letter-spacing: .04em; }
:root:root .person p { color: var(--muted); font-size: .95rem; line-height: 1.45; }
:root:root .person strong { display: block; color: var(--white); font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
:root:root .promise { display: grid; gap: .1rem; }
:root:root .promise li { display: flex; gap: .75rem; padding-block: .65rem; border-bottom: 1px solid var(--line); color: var(--text); }
:root:root .promise .i { color: var(--gold); flex: none; transform: translateY(.3em); }

/* Kontakt-Bereich der Startseite mit Wizard */
:root:root .contact__box--wizard { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); }

/* =========================================================
   SCHNELLKONTAKT unten rechts
   ========================================================= */
:root:root .quick { position: fixed; right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 80; display: flex; gap: .5rem; transform: translateY(140%); transition: transform .6s var(--ease); }
:root:root .quick.is-on { transform: none; }
:root:root .menu-open .quick { transform: translateY(140%); }
:root:root .quick__btn { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); color: var(--white); font-size: 1.2rem; transition: border-color .3s, color .3s; }
:root:root .quick__btn:hover { border-color: var(--gold); color: var(--gold); }
:root:root .quick__cta { display: inline-flex; align-items: center; gap: .6rem; height: 3.25rem; padding: 0 1.25rem; background: var(--gold); color: var(--black); font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; transition: background-color .3s; }
:root:root .quick__cta:hover { background: var(--white); }
:root:root .page--inquiry .quick__cta { display: none; }

/* =========================================================
   CURSOR (nur Maus, nur Desktop)
   ========================================================= */
:root:root .cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  :root:root.has-cursor .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
    width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold);
    mix-blend-mode: difference; opacity: 0;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background-color .3s;
    will-change: transform;
  }
  :root:root.has-cursor .cursor.is-visible { opacity: 1; }
  :root:root.has-cursor .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: var(--white); }
  :root:root.has-cursor .cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); mix-blend-mode: normal; }
  :root:root .cursor span { font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity .2s; }
  :root:root .cursor.is-label span { opacity: 1; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1640px) {
  :root:root .header__calc { display: none; }
}
@media (min-width: 1025px) and (max-width: 1640px) {
  :root:root .header__calc { display: inline-flex; }
}
@media (max-width: 1200px) {
  :root:root .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  :root:root .steps { --cols: 2; row-gap: 3rem; }
  :root:root .steps::before, :root:root .steps::after { display: none; }
  :root:root .step::before { display: none; }
  :root:root .calc__panel { grid-template-columns: minmax(0, 1fr); }
  :root:root .calc__inputs { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 1024px) {
  :root:root .phero { min-height: 0; flex-direction: column; }
  :root:root .phero__photo { position: relative; width: 100%; height: 50svh; min-height: 300px; }
  :root:root .phero__map { width: 34vw; }
  :root:root .phero__content { padding-top: 2rem; }
  :root:root .phero .crumbs { order: -1; margin-bottom: 0; padding-bottom: 1.5rem; }
  :root:root .phero__lead, :root:root .phero__facts { max-width: none; }
  :root:root .phero--text .phero__content { padding-top: calc(var(--header-h) + 2rem); }
  :root:root .phero:not(.phero--text) { padding-top: var(--header-h); }
  :root:root .split, :root:root .teaser, :root:root .faq__layout, :root:root .inquiry, :root:root .cta-band__inner, :root:root .pd-head, :root:root .pd-body, :root:root .article { grid-template-columns: minmax(0, 1fr); }
  :root:root .split__media { aspect-ratio: 4 / 3; }
  :root:root .faq__layout .section-head, :root:root .inquiry__side, :root:root .pd-aside, :root:root .toc { position: static; }
  :root:root .toc { display: none; }
  :root:root .contact__box--wizard { grid-template-columns: minmax(0, 1fr); }
  :root:root .pd-gallery { grid-template-columns: 1fr 1fr; height: auto; min-height: 0; }
  :root:root .pd-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  :root:root .pd-gallery figure { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  :root:root .menu__groups { grid-template-columns: 1fr 1fr; }
  :root:root .footer__grid { grid-template-columns: 1fr 1fr; }
  :root:root .footer__grid > div:first-child { grid-column: 1 / -1; }
  :root:root .btn { white-space: normal; text-align: center; }
  :root:root .steps { --cols: 1; }
  :root:root .kpis { grid-template-columns: 1fr; }
  :root:root .choices, :root:root .choices--sm { --cols: 1; }
  :root:root .choices--sm { --cols: 2; }
  :root:root .wizard__top { grid-template-columns: 1fr; gap: 1rem; }
  :root:root .wizard__nav .btn { flex: 1 1 auto; }
  :root:root .done__summary dl { grid-template-columns: 1fr; }
  :root:root .done__summary dt { border-bottom: 0; padding-bottom: 0; }
  :root:root .calc__tab { flex: 1 1 auto; padding-inline: .75rem; font-size: .7rem; }
  :root:root .calc__hero { grid-template-columns: 1fr; }
  :root:root .pd-features { grid-template-columns: 1fr; }
  :root:root .quick { left: .75rem; right: .75rem; }
  :root:root .quick__cta { flex: 1 1 auto; justify-content: center; }
  :root:root .phero__map { display: none; }
  :root:root .inquiry .container, :root:root .inquiry__box { margin-inline: calc(var(--gutter) * -1); }
  :root:root .props__bar { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  :root:root.js [data-unveil] { clip-path: none; }
  :root:root.js [data-unveil] img { transform: none; }
  :root:root.js .wizard__step { transform: none; }
  :root:root .marquee__track { transform: none !important; }
}

/* === Leistungsseiten: Schritte mit inline --cols responsiv === */
@media (max-width: 1200px) { :root:root .steps[style*="--cols"] { --cols: 2 !important; } }
@media (max-width: 760px) { :root:root .steps[style*="--cols"] { --cols: 1 !important; } }
:root:root .wizard__done:focus { outline: none; }

/* === Immobilien-Detailseiten (Agent B) === */
:root:root .pd-block p + p { margin-top: 1rem; }
:root:root .pd-block p + .link, :root:root .pd-block .datatable + p { margin-top: 1.25rem; }
:root:root .pd-block a:not(.link):not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
:root:root .pd-aside .currency { justify-self: start; }
@media (max-width: 900px) {
  :root:root .pd-head, :root:root .pd-body { grid-template-columns: minmax(0, 1fr); }
  :root:root .pd-aside { position: static; }
}
@media (max-width: 640px) {
  :root:root .pd-block .datatable, :root:root .pd-block .datatable tbody { display: block; }
  :root:root .pd-block .datatable tr { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); column-gap: 1rem; border-bottom: 1px solid var(--line); padding-block: .45rem; }
  :root:root .pd-block .datatable th, :root:root .pd-block .datatable td { display: block; border: 0; padding: .15rem 0; }
  :root:root .pd-block .datatable td { padding-right: 0; }
  :root:root .pd-features { grid-template-columns: minmax(0, 1fr); }
}
:root:root .pd-block > .h3 { margin-bottom: 1rem; }
/* === Leistungsseiten: Textlinks im Fliesstext === */
:root:root .split__text p a:not(.btn):not(.link) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* === Immobilien-Glossar (Agent E) === */
:root:root .glossary-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--black); border-block: 1px solid var(--line); padding-block: .75rem; }
:root:root .glossary-nav .chips { gap: .4rem; }
:root:root .glossary-nav .chip { min-width: 2.5rem; justify-content: center; padding-inline: .7rem; }
:root:root .glossary__group { display: grid; grid-template-columns: minmax(0, 6rem) minmax(0, 1fr); gap: clamp(1rem, 4vw, 4rem); padding-block: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 4rem); }
:root:root .glossary__letter { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 2rem + 2vw, 4rem); line-height: 1; color: var(--gold); scroll-margin-top: calc(var(--header-h) + 5rem); }
:root:root .glossary__terms { display: grid; gap: 2rem; max-width: 46rem; }
:root:root .glossary dt { font-size: 1.2rem; font-weight: 700; color: var(--white); scroll-margin-top: calc(var(--header-h) + 5rem); }
:root:root .glossary dd { margin: .5rem 0 0; color: var(--text); }
:root:root .glossary dd a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:root:root .glossary .note { margin-top: 2.5rem; }
@media (max-width: 640px) {
  :root:root .glossary__group { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  :root:root .glossary-nav { padding-block: .5rem; }
  :root:root .glossary-nav .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  :root:root .glossary-nav .chip { flex: 0 0 auto; }
}

/* === Immobilienmakler Zürich (Agent E) === */
:root:root .datatable--fit { width: 100%; table-layout: fixed; }
:root:root .datatable--fit th { width: 8.5rem; }
:root:root .datatable--fit td { overflow-wrap: anywhere; }
/* === Ratgeber-Hub und Artikel === */
:root:root .card--link { display: flex; flex-direction: column; align-items: flex-start; }
:root:root .card--link .link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
:root:root .card--link .link { margin-top: 1rem; }
:root:root .card--link p:not(.card__meta) { margin-bottom: 1rem; }
:root:root .card__meta { margin-top: auto; padding-top: 1rem; color: var(--muted); font-size: .85rem; letter-spacing: .02em; }
:root:root .card--link:hover h3 { color: var(--gold); }
:root:root .card--link h3 { transition: color .3s; }
:root:root .prose h2, :root:root .prose h3 { overflow-wrap: break-word; hyphens: auto; }

/* Startseite: Links auf der goldenen Fläche */
:root:root .wish .link { color: var(--black); margin-top: 1.25rem; }

/* Foto-Hero der Unterseiten: Headline bleibt auf der schwarzen Fläche */
@media (min-width: 1025px) {
  :root:root .phero:not(.phero--text) .crumbs { max-width: calc(48vw - var(--gutter) - 1.5rem); }
  :root:root .phero:not(.phero--text) .phero__title { max-width: calc(48vw - var(--gutter) - 1.5rem); font-size: clamp(2.6rem, 1rem + 4.3vw, 5.8rem); }
}

/* =========================================================
   DEUTSCHLANDKARTE – Städte für Kapitalanlagen
   ========================================================= */
:root:root .demap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
:root:root .demap__stage { position: relative; width: min(100%, 470px); justify-self: center; aspect-ratio: 489 / 663; }
:root:root .demap__img { width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
:root:root .demap__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
:root:root .demap__lines path { fill: none; stroke: var(--black); stroke-width: .4; stroke-linecap: round; }
:root:root .demap__pin, :root:root .demap__home { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: .4rem; transform: translate(-.5rem, -50%); padding: .25rem; }
:root:root .demap__pin { cursor: pointer; z-index: 1; }
:root:root .demap__dot { position: relative; width: .75rem; height: .75rem; flex: none; border-radius: 50%; background: var(--black); box-shadow: 0 0 0 2px var(--gold); transition: background-color .3s, transform .3s var(--ease); }
:root:root .demap__pin.is-active .demap__dot { background: var(--white); transform: scale(1.35); box-shadow: 0 0 0 2px var(--black); }
:root:root .demap__pin.is-active .demap__dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--black); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
:root:root .demap__name { padding: .12rem .3rem; background: var(--gold); font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: var(--black); white-space: nowrap; opacity: .75; transition: opacity .3s, background-color .3s, color .3s; }
:root:root .demap__pin.is-active .demap__name { background: var(--black); color: var(--gold); }
:root:root .demap__pin:hover .demap__name, :root:root .demap__pin.is-active .demap__name { opacity: 1; }
:root:root .demap__pin:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
:root:root .demap__home .demap__dot { background: var(--white); box-shadow: 0 0 0 2px var(--white); }
:root:root .demap__home .demap__dot::before { content: ""; position: absolute; inset: 25%; background: #d52b1e; border-radius: 50%; }
:root:root .demap__home .demap__name { background: none; color: var(--white); opacity: 1; }
/* Am Ostrand: Namen links vom Punkt, damit sie auf der Karte bleiben */
:root:root .demap__pin[data-city="berlin"], :root:root .demap__pin[data-city="muenchen"] { flex-direction: row-reverse; transform: translate(calc(-100% + .5rem), -50%); }
:root:root .demap__pin[data-city="koeln"] { margin-top: .3rem; }
:root:root .demap__panel { display: grid; gap: 2rem; }
:root:root .demap__cards { display: grid; }
:root:root .demap__card { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s var(--ease), transform .6s var(--ease), visibility 0s linear .4s; }
:root:root .demap__card.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .05s, .05s, 0s; }
:root:root .demap__city { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem); line-height: 1.05; margin-bottom: 1rem; }
:root:root .demap__card > p:not(.label) { color: var(--text); max-width: 46ch; }
:root:root .demap__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
:root:root .demap__facts dt { color: var(--muted); font-size: .8rem; margin-bottom: .25rem; }
:root:root .demap__facts dd { font-weight: 700; line-height: 1.35; }
:root:root .demap__links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.75rem; }
:root:root .link--muted { color: var(--text); }
:root:root .demap.is-fixed .demap__chips, :root:root .demap.is-fixed .demap__links .link--muted { display: none; }
:root:root .demap.is-fixed .demap__pin:not(.is-active) { opacity: .45; pointer-events: none; }
:root:root .demap.is-fixed .demap__pin:not(.is-active) .demap__name { display: none; }
@media (max-width: 1024px) {
  :root:root .demap { grid-template-columns: minmax(0, 1fr); }
  :root:root .demap__stage { width: min(100%, 380px); }
}
@media (max-width: 760px) {
  :root:root .demap__name { display: none; }
  :root:root .demap__pin.is-active .demap__name, :root:root .demap__home .demap__name { display: inline; }
  :root:root .demap__facts { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   VERTRAULICHKEIT – Diskretion, Anonymität, Datenschutz
   ========================================================= */
:root:root .trust__box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 6rem); padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid rgba(237, 191, 124, .35); background: linear-gradient(135deg, rgba(237, 191, 124, .07), transparent 55%); }
:root:root .trust__head .h2 { margin-bottom: 1.25rem; }
:root:root .trust__head p:not(.label) { color: var(--text); max-width: 40ch; }
:root:root .trust__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
:root:root .trust__icon { width: 2.4rem; height: 2.4rem; color: var(--gold); margin-bottom: 1rem; }
:root:root .trust__list h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .45rem; }
:root:root .trust__list p { color: var(--text); font-size: .98rem; }
:root:root .wizard__private { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); color: var(--text); font-size: .92rem; }
:root:root .wizard__private .i { color: var(--gold); flex: none; margin-top: .2em; }
@media (max-width: 1024px) { :root:root .trust__box { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { :root:root .trust__list { grid-template-columns: minmax(0, 1fr); } :root:root .trust .container { padding-inline: 0; } :root:root .trust__box { border-inline: 0; } }

/* Stadtseiten: Hero mit Karte und Linie ab Zürich */
:root:root .cityhero { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
:root:root .cityhero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
:root:root .cityhero .crumbs { margin-bottom: 2.5rem; }
:root:root .cityhero .phero__title { max-width: 14ch; }
:root:root .cityhero .phero__lead, :root:root .cityhero .phero__facts { max-width: 40rem; }
:root:root .cityhero .demap { grid-template-columns: minmax(0, 1fr); }
:root:root .cityhero .demap__panel { display: none; }
:root:root .cityhero .demap__stage { width: min(100%, 420px); }
@media (max-width: 1024px) {
  :root:root .cityhero__grid { grid-template-columns: minmax(0, 1fr); }
  :root:root .cityhero .demap__stage { width: min(70%, 300px); }
  :root:root .cityhero__map { order: -1; }
}
:root:root .card--link h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
:root:root .footer__contact { margin-top: 1.25rem; }
/* Auswahlfeld ohne Pflicht: Label erst hochschieben, wenn etwas gewählt ist */
:root:root .field select:has(option[value=""]:checked):not(:focus) + label { transform: none; color: var(--muted); }

/* =========================================================
   NEUAUSRICHTUNG V1 (11/2026): Verkäufer-Akquise Deutschland
   ========================================================= */
:root:root .gold { color: var(--gold); }

/* Hero: Satz zum Ausfüllen direkt auf dem Titelblatt */
:root:root .hero--seller .hero__title { font-size: clamp(2.8rem, 1rem + 5.6vw, 7.4rem); }
:root:root .hero__caption { position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 2; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
:root:root .hero__wish { max-width: min(40rem, calc(40vw - var(--gutter))); margin-top: clamp(1.25rem, 2.6vh, 2rem); padding-top: clamp(1.1rem, 2vh, 1.5rem); border-top: 1px solid var(--line); display: grid; gap: 1.25rem; }
:root:root .hero__wish-sentence { font-family: var(--font-display); font-size: clamp(1.35rem, .9rem + 1vw, 1.9rem); line-height: 1.5; color: var(--white); text-wrap: balance; }
:root:root .hero__wish .pick, :root:root .investors .pick { color: var(--gold); border-bottom-color: rgba(237, 191, 124, .7); }
:root:root .hero__wish .pick:hover, :root:root .investors .pick:hover { background: rgba(255, 255, 255, .07); }
:root:root .hero__wish .pick:focus-within, :root:root .investors .pick:focus-within { outline-color: var(--gold); }
:root:root .hero__wish .fill { color: var(--gold); border-bottom-color: rgba(237, 191, 124, .7); width: 5.5em; }
:root:root .hero__wish .fill::placeholder { color: rgba(237, 191, 124, .55); }
:root:root .hero__wish .fill:hover { background: rgba(255, 255, 255, .07); }
:root:root .hero__wish .fill:focus-visible { outline-color: var(--gold); }
:root:root.js .hero__wish .pick select option, :root:root .investors .pick select option { color: #000; }

:root:root .statement--xl { font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4.6rem); line-height: 1.12; text-wrap: balance; }

/* Objektarten in der Liste: lange Namen etwas kleiner */
:root:root .listings__names--types .listing__name { font-size: clamp(2rem, .9rem + 2.3vw, 3.4rem); }
:root:root .listings__names--types .listing__meta span:last-child { font-weight: 600; }

/* Wert-Schnellcheck */
:root:root .teaser__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
:root:root .teaser__btns .btn { margin-top: 0; }
:root:root [data-wert] .calc__big, :root:root [data-ertragswert] .calc__big { font-size: clamp(2.6rem, 1.4rem + 3.4vw, 4.8rem); }

/* Gesuche */
:root:root .gesuche__table td:first-child { color: var(--white); font-weight: 700; white-space: nowrap; }
:root:root .gesuche__table td.num { color: var(--gold); font-weight: 700; white-space: nowrap; }
:root:root .gesuche__table tbody td { padding-block: 1.1rem; }
:root:root .gesuche__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 2rem; }

/* Für Investoren – bewusst kleiner, eigener Grund */
:root:root .investors { background: var(--surface); }
:root:root .investors__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; }
:root:root .investors .h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); margin-bottom: 1.25rem; }
:root:root .investors__text { color: var(--text); max-width: 42ch; }
:root:root .investors__sentence { font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 1.4vw, 2.3rem); line-height: 1.45; text-wrap: balance; margin-bottom: 1.75rem; }
:root:root .investors__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

/* Ratgeber in zwei Spuren */
:root:root .tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
:root:root .track__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1rem; border-bottom: 1px solid var(--gold); font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); }
:root:root .track__count { font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
:root:root .track__list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: var(--text); transition: color .3s var(--ease), padding .4s var(--ease); }
:root:root .track__list a:hover { color: var(--white); padding-left: .5rem; }
:root:root .track__list .i { flex: none; color: var(--gold); }

/* Karte: Nebenstädte zurückhaltender */
:root:root .demap__pin--minor .demap__dot { transform: scale(.7); opacity: .75; }
:root:root .demap__pin--minor .demap__name { opacity: .7; }
:root:root .chip--minor { border-style: dashed; }

/* Ertragswertrechner */
:root:root .ew { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
:root:root .ew__inputs { display: grid; gap: 1.75rem; }
:root:root .ew__result { position: sticky; top: 110px; background: var(--surface); padding: clamp(1.5rem, 3.5vw, 3rem); display: grid; gap: 1.5rem; }
:root:root .ew__bar { --boden: 20%; height: 10px; background: linear-gradient(90deg, var(--gold-strong) 0 var(--boden), var(--gold) var(--boden) 100%); }
:root:root .ew__legend { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); }
:root:root .ew__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
:root:root .ew__table th, :root:root .ew__table td { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
:root:root .ew__table th { color: var(--muted); }
:root:root .ew__table td { text-align: right; font-weight: 700; }
:root:root .ew__table tr.is-sum th, :root:root .ew__table tr.is-sum td { color: var(--gold); border-bottom-color: var(--gold); }

@media (max-width: 1024px) {
  :root:root .hero__wish { max-width: min(30rem, calc(46vw - var(--gutter))); }
  :root:root .investors__grid, :root:root .tracks, :root:root .ew { grid-template-columns: 1fr; }
  :root:root .ew__result { position: static; }
}
@media (max-width: 760px) {
  :root:root .hero__wish { max-width: none; }
  :root:root .hero__caption { bottom: .75rem; }
  :root:root .gesuche__table td:first-child { white-space: normal; }
  :root:root .gesuche__foot .btn { width: 100%; white-space: normal; text-align: center; }
}

:root:root [data-wert] .teaser__out, :root:root [data-ertragswert] .teaser__out { grid-template-columns: minmax(0, 1fr); }
:root:root .teaser__stats { display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-size: .9rem; color: var(--muted); }
:root:root .teaser__stats strong { color: var(--white); }

/* Stadtseiten: breites Fotoband */
:root:root .cityband { position: relative; margin: 0; height: clamp(18rem, 48vw, 40rem); overflow: hidden; background: var(--surface-2); }
:root:root .cityband img { width: 100%; height: 100%; object-fit: cover; }
:root:root .cityband figcaption { position: absolute; left: var(--gutter); bottom: 1.25rem; max-width: 46ch; padding: .9rem 1.1rem; background: rgba(0, 0, 0, .72); font-size: .9rem; color: var(--text); border-left: 2px solid var(--gold); }
@media (max-width: 760px) { :root:root .cityband figcaption { position: static; max-width: none; } :root:root .cityband { height: auto; } :root:root .cityband img { height: 62vw; } }

/* Kacheln innerhalb einer Zweispalter-Zeile: höchstens zwei nebeneinander */
@media (min-width: 761px) { :root:root .split .cards, :root:root .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
:root:root .phero__facts dt { overflow-wrap: normal; hyphens: manual; }

:root:root .phero__facts dt { white-space: nowrap; }
@media (min-width: 1025px) { :root:root .cityhero .phero__facts { max-width: none; } }

/* Porträt Geschäftsführer */
:root:root .about__inset--portrait { aspect-ratio: 645 / 1066; background: #e9e9ea; }
:root:root .about__inset--portrait img { object-position: 50% 15%; }
:root:root .about__inset figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem; background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent); font-family: var(--font-display); font-size: 1.15rem; color: var(--white); }
:root:root .about__inset figcaption span { display: block; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }
:root:root .portrait { max-width: 24rem; }
:root:root .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; background: #e9e9ea; }
:root:root .portrait figcaption { margin-top: 1.1rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
:root:root .portrait strong { display: block; color: var(--white); font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: .2rem; }
:root:root .person--contact { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); grid-template-columns: 4.5rem minmax(0, 1fr); }
:root:root .person--contact img { width: 4.5rem; border: 1px solid var(--gold); }
:root:root .person--contact strong { font-size: 1.25rem; }
:root:root .contact__box--wizard .person--contact + .contact__phones { margin-top: 1.25rem; }

/* =========================================================
   FEINSCHLIFF V1 (04.11.2026)
   ========================================================= */
:root { --bg-alt: #111111; }

/* Sections abwechselnd auf leicht hellerem Grund */
:root:root main > section.section:nth-of-type(even):not(.cta-band):not(.wishes):not(.investors), :root:root main > section.trust:nth-of-type(even) { background: var(--bg-alt); }
:root:root .section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
:root:root .section--tight-top { padding-top: clamp(4.5rem, 8vw, 7.5rem); }
:root:root .investors { background: #171717; }
:root:root main > section:nth-of-type(even) .teaser__box, :root:root main > section:nth-of-type(even) .contact__box { background: #0a0a0a; }
:root:root main > section:nth-of-type(even) .card { background: var(--bg-alt); }

/* Hero: Verlauf über dem Foto, damit die Schrift lesbar bleibt */
:root:root .hero__photo { width: 56%; }
:root:root .hero__photo::after { background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .5) 28%, rgba(0, 0, 0, .12) 58%, rgba(0, 0, 0, .05) 100%), linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 30%); }
:root:root .hero__ctas--main { margin-top: clamp(1.5rem, 3vh, 2.25rem); }
@media (max-width: 760px) { :root:root .hero__photo { width: 100%; } :root:root .hero__photo::after { background: linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 40%); } }

/* Über uns: Text an der Inhaltsbreite ausrichten, Porträt kleiner */
:root:root .about__text { padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
:root:root .about__collage { min-height: 36rem; }
:root:root .about__inset--portrait { width: min(32%, 15rem); top: 14%; }
@media (max-width: 1024px) { :root:root .about__text { padding-left: var(--gutter); } }
@media (max-width: 760px) { :root:root .about__inset--portrait { width: 38%; top: 10%; } }

/* Verkäufer-Formular: freundlicher, klarer */
:root:root .wizard[data-wizard] .wizard__top { grid-template-columns: auto minmax(0, 1fr); row-gap: .25rem; }
:root:root .wizard__meta { grid-column: 1; grid-row: 2; font-size: .8rem; color: var(--muted); white-space: nowrap; }
:root:root .wizard[data-wizard] .wizard__bar { grid-row: 1 / span 2; align-self: center; }
:root:root .wizard[data-wizard] .wizard__bar li { counter-increment: wz; grid-template-columns: auto 1fr; align-items: center; column-gap: .6rem; }
:root:root .wizard[data-wizard] .wizard__bar { counter-reset: wz; }
:root:root .wizard[data-wizard] .wizard__bar li::before { content: counter(wz); display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid var(--line); font-size: .72rem; color: var(--muted); transition: all .4s var(--ease); }
:root:root .wizard[data-wizard] .wizard__bar li::after { grid-column: 1 / -1; }
:root:root .wizard[data-wizard] .wizard__bar li.is-current::before { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 4px rgba(237, 191, 124, .15); }
:root:root .wizard[data-wizard] .wizard__bar li.is-done::before { content: "✓"; background: var(--gold); border-color: var(--gold); color: var(--black); }

:root:root .choice__box { border-radius: 10px; }
:root:root .choice__icon { width: 2.1rem; height: 2.1rem; margin-bottom: .35rem; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
:root:root .choice:hover .choice__icon { transform: translateY(-2px); }
:root:root .wizard[data-wizard] .choice__box::after { content: "✓"; display: grid; place-items: center; font-size: .7rem; color: transparent; }
:root:root .wizard[data-wizard] .choice input:checked + .choice__box::after { color: var(--black); box-shadow: none; }
:root:root .wizard[data-wizard] .choice input:checked + .choice__box { box-shadow: 0 0 0 1px var(--gold), 0 18px 40px -28px rgba(237, 191, 124, .7); }
:root:root .wizard[data-wizard] .choices--sm { display: flex; flex-wrap: wrap; gap: .5rem; }
:root:root .wizard[data-wizard] .choices--sm .choice__box { border-radius: 999px; padding: .6rem 1.1rem; }
:root:root .wizard[data-wizard] .choices--sm .choice__box strong { padding-right: 0; font-weight: 600; font-size: .92rem; }
:root:root .wizard[data-wizard] .choices--sm .choice__box::after { display: none; }
:root:root .wizard[data-wizard] .choices--sm .choice input:checked + .choice__box { background: var(--gold); color: var(--black); }
:root:root .wizard[data-wizard] .choices--sm .choice input:checked + .choice__box strong { color: var(--black); }

/* Eingabefelder mit Rahmen statt nur Linie */
:root:root .wizard[data-wizard] .field input, :root:root .wizard[data-wizard] .field select, :root:root .wizard[data-wizard] .field textarea { border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem 1rem .6rem; background: rgba(255, 255, 255, .03); transition: border-color .25s, background-color .25s; }
:root:root .wizard[data-wizard] .field input:focus, :root:root .wizard[data-wizard] .field select:focus, :root:root .wizard[data-wizard] .field textarea:focus { border-color: var(--gold); background: rgba(237, 191, 124, .05); }
:root:root .wizard[data-wizard] .field label { left: 1rem; top: 1.05rem; }
:root:root .wizard[data-wizard] .field input:focus + label, :root:root .wizard[data-wizard] .field input:not(:placeholder-shown) + label, :root:root .wizard[data-wizard] .field textarea:focus + label, :root:root .wizard[data-wizard] .field textarea:not(:placeholder-shown) + label, :root:root .wizard[data-wizard] .field select:focus + label, :root:root .wizard[data-wizard] .field select:valid + label { transform: translateY(-.65rem) scale(.82); }
:root:root .wizard[data-wizard] .field--select::after { right: 1.1rem; bottom: 1.3rem; }
:root:root .wizard[data-wizard] .field.is-invalid input { border-color: #e2725b; }
:root:root .field--icon input { padding-left: 2.8rem !important; }
:root:root .field--icon label { left: 2.8rem !important; }
:root:root .field__icon { position: absolute; left: 1rem; top: 1.15rem; width: 1.2rem; height: 1.2rem; fill: none; stroke: var(--gold); stroke-width: 1.5; pointer-events: none; z-index: 1; }

:root:root .wizard__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .85rem; color: var(--text); }
:root:root .wizard__trust li { display: inline-flex; align-items: center; gap: .45rem; }
:root:root .wizard__trust .i { color: var(--gold); }
:root:root .wizard.is-done .wizard__trust { display: none; }
:root:root .wizard[data-wizard] .wizard__nav { border-top: 0; padding-top: 0; }
:root:root .wizard[data-wizard] [data-next] { min-width: 12rem; justify-content: center; }
@media (max-width: 760px) {
  :root:root .wizard[data-wizard] .wizard__top { grid-template-columns: 1fr; }
  :root:root .wizard[data-wizard] .wizard__bar { grid-row: auto; }
  :root:root .wizard__meta { grid-row: auto; }
  :root:root .wizard[data-wizard] .wizard__count { display: none; }
  :root:root .wizard[data-wizard] [data-next] { flex: 1; }
}
:root:root .wizard [data-sum="Lage"] { grid-template-columns: minmax(0, 1fr); }

/* Feinschliff 2: Porträt an der Bildkante, Formular eckig, Symbole als SVG */
:root:root .about__inset--portrait { width: min(15rem, 38%); left: calc(28% - 7.5rem); top: auto; bottom: 10%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
@media (max-width: 760px) { :root:root .about__inset--portrait { left: var(--gutter); width: 40%; bottom: 8%; } }

:root:root .wizard[data-wizard] .choice__box, :root:root .wizard[data-wizard] .choices--sm .choice__box, :root:root .wizard[data-wizard] .field input, :root:root .wizard[data-wizard] .field select, :root:root .wizard[data-wizard] .field textarea { border-radius: 0; }

:root {
  --svg-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='square'/%3E%3C/svg%3E");
  --svg-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6 8 10.5 12.5 6' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E");
}
/* Haken in den Schritten, Marker eckig */
:root:root .wizard[data-wizard] .wizard__bar li::before { border-radius: 0; }
:root:root .wizard[data-wizard] .wizard__bar li.is-done::before { content: ""; background: var(--gold) var(--svg-check) center / 62% no-repeat; }
/* Haken in der Auswahl */
:root:root .wizard[data-wizard] .choice__box::after { content: ""; border-radius: 0; }
:root:root .wizard[data-wizard] .choice input:checked + .choice__box::after { background: var(--gold); }
:root:root .wizard[data-wizard] .choice input:checked + .choice__box::before { content: ""; position: absolute; right: 1.1rem; top: 1.25rem; width: 1.1rem; height: 1.1rem; background: var(--black); -webkit-mask: var(--svg-check) center / 70% no-repeat; mask: var(--svg-check) center / 70% no-repeat; z-index: 1; }
/* Pfeil im Auswahlfeld */
:root:root .wizard[data-wizard] .field--select::after { border: 0; transform: none; width: 1rem; height: 1rem; bottom: 1.1rem; background: var(--gold); -webkit-mask: var(--svg-chevron) center / contain no-repeat; mask: var(--svg-chevron) center / contain no-repeat; }

/* Schnellkontakt: Telefon-Icon, Auswahl Deutschland / Schweiz beim Hover */
:root:root .quick__phone { position: relative; }
:root:root .quick__phone > .quick__btn { cursor: pointer; color: var(--white); }
:root:root .quick__menu { position: absolute; right: 0; bottom: calc(100% + .6rem); min-width: 15.5rem; display: grid; padding: .5rem; background: rgba(0, 0, 0, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .25s; }
:root:root .quick__menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .6rem; }
:root:root .quick__phone:hover .quick__menu, :root:root .quick__phone:focus-within .quick__menu, :root:root .quick__phone.is-open .quick__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
:root:root .quick__phone:hover > .quick__btn, :root:root .quick__phone.is-open > .quick__btn { border-color: var(--gold); color: var(--gold); }
:root:root .quick__head { padding: .35rem .65rem .5rem; font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
:root:root .quick__menu a { display: flex; align-items: center; gap: .75rem; padding: .6rem .65rem; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color .2s; }
:root:root .quick__menu a:hover, :root:root .quick__menu a:focus-visible { background: rgba(237, 191, 124, .12); }
:root:root .quick__menu small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }

:root:root .about { overflow: clip; }
:root:root .about__inset--portrait { will-change: translate; }


/* =========================================================
   FEEDBACK KUNDE 13.11.2026
   ========================================================= */

/* Eigene Scrollbar im CI. Der Platz dafür bleibt reserviert, damit Seite und Menü beim Öffnen nicht springen. */
html:root:root { scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgba(237, 191, 124, .55) var(--black); }
html:root:root::-webkit-scrollbar { width: 10px; }
html:root:root::-webkit-scrollbar-track { background: var(--black); }
html:root:root::-webkit-scrollbar-thumb { background: rgba(237, 191, 124, .45); border: 3px solid var(--black); border-radius: 10px; }
html:root:root::-webkit-scrollbar-thumb:hover { background: var(--gold); }
:root:root .menu { scrollbar-width: thin; scrollbar-color: rgba(237, 191, 124, .45) transparent; }

/* Uhr: grün nur zu den Öffnungszeiten */
:root:root [data-clock].is-closed .clock__dot { background: var(--muted); animation: none; }

/* Glossar: Buchstabenleiste klebt oben – ohne Lücke, wenn der Header beim Runterscrollen verschwindet */
:root:root .glossary-nav { top: 76px; transition: top .5s var(--ease); }
:root:root body:has(.header.is-hidden) .glossary-nav { top: 0; }
@media (max-width: 760px) { :root:root .glossary-nav { top: 68px; } }
:root:root .page [id^="buchstabe-"] { scroll-margin-top: calc(76px + 5rem); }

/* Anfrage: Höhe richtet sich nach dem aktiven Schritt, Weiter-Knopf sitzt direkt unter den Feldern */
:root:root.js .wizard__step:not(.is-active) { position: absolute; inset: 0 0 auto 0; pointer-events: none; }
:root:root .wizard[data-wizard] { gap: clamp(1.25rem, 2.2vw, 1.75rem); }
:root:root .wizard[data-wizard] .wizard__step { gap: 1.4rem; }
:root:root .wizard[data-wizard] legend.wizard__q { margin-bottom: 1rem; }
:root:root .wizard[data-wizard] .wizard__nav { padding-top: 1.1rem; }

/* Kleine Auswahl-Pillen: Haken sitzt in der Zeile statt darüber */
:root:root .wizard[data-wizard] .choices--sm .choice__box { display: inline-flex; align-items: center; gap: .55rem; height: auto; }
:root:root .wizard[data-wizard] .choices--sm .choice__box::before { display: none !important; }
:root:root .wizard[data-wizard] .choices--sm .choice__box::after { display: block; position: static; flex: none; order: 2; width: 0; height: .85rem; border: 0; background: var(--black); -webkit-mask: var(--svg-check) center / contain no-repeat; mask: var(--svg-check) center / contain no-repeat; transition: width .3s var(--ease); }
:root:root .wizard[data-wizard] .choices--sm .choice input:checked + .choice__box::after { width: .85rem; background: var(--black); }
:root:root .wizard[data-wizard] .choices--sm .choice__box { gap: 0; }
:root:root .wizard[data-wizard] .choices--sm .choice input:checked + .choice__box { gap: .5rem; }
:root:root .wizard[data-wizard] .field--select.is-open::after { transform: rotate(180deg); transition: transform .3s var(--ease); }

/* Wohn- und Gewerbeeinheiten nebeneinander */
:root:root .wizard__pair { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.4rem 2rem; }
:root:root .wizard__pair > [hidden] { display: none; }
@media (max-width: 760px) { :root:root .wizard__pair { grid-template-columns: minmax(0, 1fr); } }
:root:root .wizard .field[hidden] { display: none; }

/* Preis-Regler: zurück auf „offen“ */
:root:root .range__end { display: inline-flex; align-items: baseline; gap: 1rem; }
:root:root .range__reset { font-family: var(--font-label); font-stretch: 125%; font-weight: 600; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(237, 191, 124, .5); padding-bottom: .1rem; transition: color .25s, border-color .25s; }
:root:root .range__reset:hover { color: var(--white); border-bottom-color: var(--white); }
:root:root .range__reset[hidden] { display: none; }

/* Auswahlfelder: eigene Liste im CI */
:root:root select.is-enhanced { pointer-events: none; }
:root:root .field--select, :root:root .select, :root:root .pick { cursor: pointer; }
:root:root .field--select::after, :root:root .select::after { transition: transform .3s var(--ease); }
:root:root .field--select.is-open::after, :root:root .select.is-open::after { transform: translateY(.2rem) rotate(225deg); }
:root:root .cselect { position: fixed; z-index: 400; display: grid; padding: .35rem; overflow-y: auto; overscroll-behavior: contain; background: var(--surface-2); border: 1px solid rgba(237, 191, 124, .45); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .25s var(--ease); scrollbar-width: thin; scrollbar-color: rgba(237, 191, 124, .45) transparent; }
:root:root .cselect.is-open { opacity: 1; transform: none; }
:root:root .cselect__opt { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: .75rem .9rem; text-align: left; font-family: var(--font-text); font-size: .98rem; color: var(--text); transition: background-color .2s, color .2s; }
:root:root .cselect__opt:hover, :root:root .cselect__opt:focus-visible { background: rgba(237, 191, 124, .1); color: var(--white); outline: none; }
:root:root .cselect__opt[aria-selected="true"] { color: var(--gold); }
:root:root .cselect__opt[aria-selected="true"]::after { content: ""; width: .7rem; height: .4rem; flex: none; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.15rem) rotate(-45deg); }


/* Kleine Übergänge für neue Felder */
@keyframes fieldIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
:root:root .wizard [data-gewerbe-only]:not([hidden]), :root:root .wizard [data-gewerbe-group]:not([hidden]), :root:root .range__reset:not([hidden]) { animation: fieldIn .45s var(--ease) both; }
:root:root .cselect__opt { opacity: 0; transform: translateY(4px); transition: background-color .2s, color .2s, opacity .3s var(--ease), transform .3s var(--ease); }
:root:root .cselect.is-open .cselect__opt { opacity: 1; transform: none; }
:root:root .cselect.is-open .cselect__opt:nth-child(2) { transition-delay: 0s, 0s, .03s, .03s; }
:root:root .cselect.is-open .cselect__opt:nth-child(3) { transition-delay: 0s, 0s, .06s, .06s; }
:root:root .cselect.is-open .cselect__opt:nth-child(4) { transition-delay: 0s, 0s, .09s, .09s; }
:root:root .cselect.is-open .cselect__opt:nth-child(n+5) { transition-delay: 0s, 0s, .12s, .12s; }
@media (prefers-reduced-motion: reduce) { :root:root .wizard [data-gewerbe-only], :root:root .wizard [data-gewerbe-group], :root:root .range__reset, :root:root .cselect__opt { animation: none !important; transition: none !important; opacity: 1; transform: none; } }

/* Fangfeld gegen Bots */
:root:root .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Senden: Knopf pulsiert, solange die Anfrage unterwegs ist */
:root:root .wizard [data-next].is-sending { opacity: .75; cursor: progress; animation: sendPulse 1.2s var(--ease) infinite; }
@keyframes sendPulse { 50% { box-shadow: 0 0 0 8px rgba(237, 191, 124, .18); } }
:root:root .wizard__done.is-sent .done__check circle { stroke: var(--gold); }
@media (prefers-reduced-motion: reduce) { :root:root .wizard [data-next].is-sending { animation: none; } }

/* Stadtseiten: Bild unter dem Hero startet klein und wächst beim Scrollen auf volle Breite (--grow 0 → 1 aus main.js) */
:root:root .cityband[data-grow] { height: clamp(20rem, 52vw, 44rem); background: transparent; clip-path: inset(calc((1 - var(--grow, 0)) * 14%) calc((1 - var(--grow, 0)) * 26%) calc((1 - var(--grow, 0)) * 14%)); }
:root:root .cityband[data-grow] img { transform: scale(calc(1.2 - var(--grow, 0) * .2)); }
:root:root .cityband[data-grow] figcaption { opacity: calc((var(--grow, 0) - .7) * 3.3); transform: translateY(calc((1 - var(--grow, 0)) * 30px)); }
@media (max-width: 760px) { :root:root .cityband[data-grow] { clip-path: inset(0 calc((1 - var(--grow, 0)) * 12%)); } :root:root .cityband[data-grow] figcaption { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { :root:root .cityband[data-grow] { clip-path: none; } :root:root .cityband[data-grow] img { transform: none; } :root:root .cityband[data-grow] figcaption { opacity: 1; transform: none; } }

/* =========================================================
   RESPONSIVE-FEEDBACK 13.11.2026
   ========================================================= */

/* iPhone: Kerbe und Home-Leiste freihalten */
:root:root .header__inner { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
:root:root .quick { right: max(clamp(.75rem, 2vw, 1.5rem), env(safe-area-inset-right)); bottom: calc(clamp(.75rem, 2vw, 1.5rem) + env(safe-area-inset-bottom)); }
@media (max-width: 760px) {
  :root:root .quick { left: auto; right: calc(1rem + env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); }
  :root:root .quick__btn { width: 3rem; height: 3rem; }
  :root:root .quick__menu { right: 0; max-width: calc(100vw - 2rem); }
}

/* Footer: die längeren Listen stehen links, Spalten links etwas breiter */
:root:root .footer__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 1024px) { :root:root .footer__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 760px) { :root:root .footer__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } :root:root .footer__grid a { overflow-wrap: break-word; hyphens: auto; } }
@media (max-width: 760px) { :root:root .footer__grid { column-gap: 1.5rem; } }

@media (max-width: 760px) {
  /* Mehrere Buttons nebeneinander: auf dem Handy alle gleich breit untereinander */
  :root:root .phero__ctas, :root:root .hero__ctas, :root:root .cta-band__btns, :root:root .done__btns, :root:root .teaser__btns { display: flex; flex-direction: column; align-items: stretch; }
  :root:root .phero__ctas .btn, :root:root .hero__ctas .btn, :root:root .cta-band__btns .btn, :root:root .done__btns .btn, :root:root .teaser__btns .btn, :root:root .pd-aside > .btn { width: 100%; justify-content: center; text-align: center; white-space: normal; }

  /* Schnellcheck und Rechner: Wert links unter dem Label statt mittig */
  :root:root .range__head { flex-direction: column; align-items: flex-start; }
  :root:root .range__value input { text-align: left; }
  :root:root .range__end { flex-direction: row-reverse; justify-content: flex-end; }

  /* Tabellen mit 3+ Spalten als Karten, ohne seitliches Scrollen (Klasse setzt main.js) */
  :root:root .table-wrap:has(.table--stack) { overflow: visible; }
  :root:root .table--stack, :root:root .table--stack tbody, :root:root .table--stack tr { display: block; width: 100%; }
  :root:root .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  :root:root .table--stack caption { display: block; }
  :root:root .table--stack tr { padding: 1rem 0 .85rem; border-bottom: 1px solid var(--line); }
  :root:root .table--stack tbody tr:hover { background: none; }
  :root:root .table--stack td, :root:root .table--stack th { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1rem; padding: .3rem 0; border: 0; text-align: left !important; white-space: normal !important; }
  :root:root .table--stack td::before, :root:root .table--stack th::before { content: attr(data-label); color: var(--muted); font-size: .8rem; font-weight: 400; font-family: var(--font-text); letter-spacing: 0; text-transform: none; }
  :root:root .table--stack tr > :first-child { display: block; padding-bottom: .55rem; font-weight: 700; font-size: 1.02rem; color: var(--white); }
  :root:root .table--stack tr > :first-child::before { content: none; }
  :root:root .gesuche__table.table--stack td.num { font-size: 1rem; }
  :root:root .table--stack tbody td, :root:root .table--stack tbody th { padding-block: .3rem; }
  :root:root .table--stack tbody tr > :first-child { padding-bottom: .55rem; }

  /* Über uns (Startseite): nur das Porträt, ruhig, Bildunterschrift vollständig */
  :root:root .about__collage { height: auto; min-height: 0; margin-bottom: var(--section); padding-inline: var(--gutter); }
  :root:root .about__big { display: none; }
  :root:root .about__inset--portrait { position: relative; left: auto !important; top: auto !important; bottom: auto !important; width: min(100%, 22rem) !important; translate: none !important; transform: none !important; box-shadow: none; }
  :root:root .about__inset--portrait img { height: auto; aspect-ratio: 645 / 1066; }
  :root:root .about__inset figcaption { padding: 3rem 1.1rem 1.1rem; font-size: 1.25rem; }
}

@media (max-width: 760px) {
  /* Kennzahlen im Hero: drei gleich breite Spalten, nichts ragt über den Rand */
  :root:root .phero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem .9rem; }
  :root:root .phero__facts dt { font-size: clamp(1.15rem, 5vw, 1.45rem); white-space: normal; }
  :root:root .phero__facts dd { font-size: .78rem; hyphens: auto; overflow-wrap: break-word; }
  /* Zweispaltige Tabellen: feste Spalten, lange Wörter trennen */
  :root:root .table:not(.table--stack) { table-layout: fixed; }
  :root:root .table:not(.table--stack) th, :root:root .table:not(.table--stack) td { hyphens: auto; overflow-wrap: break-word; padding-right: .75rem; }
  :root:root .table:not(.table--stack) td:last-child, :root:root .table:not(.table--stack) th:last-child { padding-right: 0; }
}

/* Objekt anbieten: Schrittleiste kompakter, die Linien der Schritte bleiben getrennt */
:root:root .wizard[data-wizard] .wizard__bar { column-gap: clamp(.6rem, 1.5vw, 1rem); }
:root:root .wizard[data-wizard] .wizard__bar li { column-gap: .45rem; row-gap: .5rem; font-size: .64rem; letter-spacing: .03em; min-width: 0; }
:root:root .wizard[data-wizard] .wizard__bar li::before { width: 1.4rem; height: 1.4rem; font-size: .64rem; }
:root:root .wizard[data-wizard] .wizard__bar li.is-current::before { box-shadow: 0 0 0 3px rgba(237, 191, 124, .15); }
:root:root .wizard[data-wizard] .wizard__top { column-gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 760px) {
  :root:root .wizard[data-wizard] .wizard__bar li { font-size: .58rem; letter-spacing: .02em; }
}

/* Handy: schmalerer Seitenrand (16 px) für mehr Platz, H1 der Startseite bleibt zweizeilig */
@media (max-width: 760px) {
  :root { --gutter: 1rem; }
  :root:root .hero--seller .hero__title { font-size: min(2.8rem, 10.6vw); }
}
@media (max-width: 760px) {
  :root:root .datatable th, :root:root .datatable td { hyphens: auto; overflow-wrap: break-word; }
  :root:root .datatable td { padding-right: .75rem; }
  :root:root .datatable th { padding-right: .75rem; }
}
@media (max-width: 760px) {
  :root:root .table--stack td, :root:root .table--stack th { hyphens: auto; overflow-wrap: break-word; }
}

/* Formulare in Schritten, Handy: Weiter volle Breite, Zurück zentriert darunter, Hinweis darüber */
@media (max-width: 760px) {
  :root:root .wizard__nav { flex-direction: column; align-items: stretch; gap: .85rem; }
  :root:root .wizard__nav .wizard__hint { order: 0; min-height: 0; text-align: center; }
  :root:root .wizard__nav .wizard__hint:empty { display: none; }
  :root:root .wizard__nav [data-next] { order: 1; width: 100%; justify-content: center; }
  :root:root .wizard__nav .wizard__back { order: 2; align-self: center; padding: .4rem 1rem; }
  :root:root .wizard__nav .wizard__back[hidden] { display: none; }
  :root:root .wizard__done [data-restart] { align-self: center; }
}

/* Ansprechpartner: Porträt statt Initialen */
:root:root .person__photo { width: 5.5rem; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 1px solid var(--gold); background: var(--surface-2); }
:root:root .pd-aside__person .person__photo { flex: none; }

/* =========================================================
   AKTUELLE IMMOBILIEN (tools/objekte.py)
   ========================================================= */
/* Hero wie Stadtseiten: Karte mit Standort, Linie ab Zürich zeichnet sich ein */
:root:root .objmap .demap__pin { cursor: default; }
:root:root .objmap .demap__pin .demap__name { opacity: 1; }
:root:root .objmap .demap__pin--rev { flex-direction: row-reverse; transform: translate(calc(-100% + .5rem), -50%); }
:root:root .objmap .demap__lines path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: objLine 1.6s .6s var(--ease) forwards; }
:root:root .objmap .demap__pin { animation: objPin .8s 1.6s var(--ease) both; }
@keyframes objLine { to { stroke-dashoffset: 0; } }
@keyframes objPin { from { opacity: 0; transform: translate(-.5rem, -50%) scale(.6); } }
:root:root .objmap .demap__pin--rev { animation-name: objPinRev; }
@keyframes objPinRev { from { opacity: 0; transform: translate(calc(-100% + .5rem), -50%) scale(.6); } }
:root:root .objmap--schweiz .demap__stage, :root:root .objmap--tuerkei .demap__stage { width: 100%; }
:root:root .objhero .phero__lead { max-width: 40rem; }
:root:root .objhero .phero__facts dt { white-space: normal; font-size: clamp(1.3rem, 1rem + .9vw, 1.9rem); }
@media (prefers-reduced-motion: reduce) { :root:root .objmap .demap__lines path { animation: none; stroke-dashoffset: 0; } :root:root .objmap .demap__pin { animation: none; } }

/* Karten der Angebote */
:root:root a.prop__media { display: block; }
:root:root .props__count { margin: -1rem 0 2rem; color: var(--muted); font-size: .9rem; }
:root:root .props--start { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { :root:root .props--start { grid-template-columns: repeat(2, minmax(0, 1fr)); } :root:root .props--start .prop:nth-child(3) { display: none; } }
@media (max-width: 760px) { :root:root .props--start { grid-template-columns: minmax(0, 1fr); } :root:root .props--start .prop:nth-child(3) { display: grid; } }

/* Handy: Brotkrumen nur als Zurück-Link zur übergeordneten Seite */
@media (max-width: 760px) {
  :root:root .crumbs li { display: none; }
  :root:root .crumbs li:nth-last-child(2) { display: inline-flex; }
  :root:root .crumbs li:nth-last-child(2)::before { content: "←"; width: auto; height: auto; background: none; color: var(--gold); font-size: .9rem; }
}
:root:root .objhero .phero__title { max-width: 20ch; font-size: clamp(2.1rem, 1.2rem + 2.6vw, 4rem); line-height: 1.08; }
@media (max-width: 760px) { :root:root .objhero .phero__title { font-size: clamp(1.9rem, 8.4vw, 2.4rem); } }
:root:root .objhero .phero__title, :root:root .objhero .label, :root:root .prop__place { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 760px) { :root:root .objhero .label, :root:root .prop__place { hyphens: auto; } }
/* Porträts ohne goldenen Rand */
:root:root .person__photo, :root:root .person--contact img, :root:root .pd-aside__person img { border: 0; }

/* Formular: beim Ansprung unter dem Header ausrichten, kurz golden hervorheben */
:root:root .wizard { scroll-margin-top: calc(var(--header-h) + 1.25rem); }
:root:root .wizard.is-prefilled { animation: wizardHello 2.4s .6s var(--ease) both; }
@keyframes wizardHello { 0% { box-shadow: 0 0 0 0 rgba(237, 191, 124, 0); } 25% { box-shadow: 0 0 0 1px rgba(237, 191, 124, .55), 0 0 40px -10px rgba(237, 191, 124, .45); } 100% { box-shadow: 0 0 0 0 rgba(237, 191, 124, 0); } }
@media (prefers-reduced-motion: reduce) { :root:root .wizard.is-prefilled { animation: none; } }

/* Footer: Agentur-Hinweis */
:root:root .footer__made a { color: inherit; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
:root:root .footer__made a:hover { color: var(--gold); border-bottom-color: currentColor; }
@media (max-width: 760px) { :root:root .footer__sep { display: none; } :root:root .footer__made { display: block; margin-top: .35rem; } }

/* Menü-Button: beide Striche auf derselben Pixelphase (ganzzahliger Abstand), sonst wirkt je nach Scrollposition einer dicker */
:root:root .burger__lines { height: 8px; }
:root:root .burger__lines span { height: 1.5px; }
:root:root .burger__lines span:first-child { top: .25px; }
:root:root .burger__lines span:last-child { top: 6.25px; }
:root:root .burger[aria-expanded="true"] .burger__lines span:first-child, :root:root .burger[aria-expanded="true"] .burger__lines span:last-child { top: 3.25px; }
