/* ANOMIS® Immobilien · Entwurf A/B · gemeinsame Basis
   Quelle: Kunden/Anomis/DESIGN.md 1.0.1 (canonical, 05.10.2026), Tokens §2 bis §9b.
   Breakpoints wie im heutigen Code: mobil < 600, Tablet 600 bis 899, Desktop ab 900, Kopfleisten-Button ab 1200.
   Tablet nutzt Schriftgrade und Abstände der Mobilwerte, Kopfbildhöhen der Desktopwerte. */

/* ---------- Schriften ---------- */
/* Playfair 2.0 (OFL, Lizenz ../fonts/OFL-Playfair.txt), Gewicht 300 für das Display, selbst gehostet (DESIGN §3).
   Kein Laden von Google-Servern. Die Dateien behalten die Achse opsz (5 bis 1200), damit font-optical-sizing: auto
   die optische Größe zur Schriftgröße wählt wie bisher; die statische Google-Datei wäre fest auf opsz 5.
   Kage wird nicht verwendet. */
@font-face {
  font-family: "Playfair"; src: url("../fonts/Playfair-300-opsz-latin-ext.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair"; src: url("../fonts/Playfair-300-opsz-latin.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Sarabun"; src: url("../fonts/Sarabun-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sarabun"; src: url("../fonts/Sarabun-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Sarabun"; src: url("../fonts/Sarabun-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --c-white: #FFFFFF;
  --c-creme: #FCF6EC;
  --c-beige: #F8EDD9;
  --c-green: #1E5031;
  --c-green-light: #4B735A;
  --c-sage: #789683;
  --c-hair: #A5B9AC;
  --c-gold: #DEA33F;
  --c-gold-lightest: #F2DAB2;
  --c-text: #2E2E2D;
  --c-muted: #636362;
  --c-field: #636362;
  --c-error: #B3402E;
  --ov-photo: rgba(17, 32, 23, 0.50);
  --ov-text: rgba(17, 32, 23, 0.62);
  --ov-solid: #112017;

  --f-display: "Playfair", "Playfair Display", Georgia, serif;
  --f-head: "Playfair Display", Georgia, serif;
  --f-body: "Sarabun", -apple-system, "Segoe UI", sans-serif;

  --header-h: 64px;
  --gutter: 16px;
  --content: 1280px;

  /* Abstände Variante A (sectionY), mobil */
  --sy: 64px;
  --sy-c: 48px;
  --sy-g: 80px;

  --focus: var(--c-green);
  --h-color: var(--c-green);
  --link: var(--c-green);
}
@media (min-width: 600px) { :root { --gutter: 32px; } }
@media (min-width: 900px) { :root { --header-h: 80px; --sy: 96px; --sy-c: 64px; --sy-g: 128px; } }

/* Variante B und Luxury: sectionYVariantB / sectionYLuxury */
.v-b, .lux { --sy: 80px; --sy-c: 48px; --sy-g: 96px; }
@media (min-width: 900px) { .v-b, .lux { --sy: 128px; --sy-c: 64px; --sy-g: 160px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-hyphens: auto;
  hyphens: auto;
  /* Trennung erst ab 8 Zeichen, mindestens 4 vor und nach dem Trennstrich: „Toskana“ (7) wird nie getrennt */
  hyphenate-limit-chars: 8 4 4;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 18px; } }
html.menu-open, html.menu-open body { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--c-white); color: var(--c-green); padding: 8px 16px; border-radius: 5px;
  font-weight: 500; text-decoration: none;
}
.skip-link:focus-visible { top: 8px; }

.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.measure { max-width: 68ch; }

/* ---------- Flächen ---------- */
.bg-white { background: var(--c-white); }
.bg-creme { background: var(--c-creme); }
.bg-beige { background: var(--c-beige); }
.bg-green { background: var(--c-green); color: var(--c-white); --focus: var(--c-white); --h-color: var(--c-white); --link: var(--c-white); }
.on-photo { color: var(--c-white); --focus: var(--c-white); --h-color: var(--c-white); --link: var(--c-white); }

.section { padding-block: var(--sy); }
.section--compact { padding-block: var(--sy-c); }
.section--gen-top { padding-top: var(--sy-g); }
.section--gen-bottom { padding-bottom: var(--sy-g); }

/* ---------- Typografie ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(32px, 9vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
  font-optical-sizing: auto;
  color: inherit;
}
.display, .h2, .h3, .h4 { -webkit-hyphens: manual; hyphens: manual; }
.h1-object, .card__title { -webkit-hyphens: auto; hyphens: auto; }
.nowrap { white-space: nowrap; -webkit-hyphens: none; hyphens: none; }
.h1-object, .h2 {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  color: var(--h-color);
}
/* H1 der Objektseite: Token h1Object 48 / 28 px, mobil bis vier Zeilen (DESIGN 1.0.1 §3).
   Unter 900 px gelten die Mobilwerte, also auch auf dem Tablet 28 px. */
.h1-object { font-size: 28px; }
.h3 {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--h-color);
}
.h4 {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.3;
  color: var(--h-color);
}
@media (min-width: 900px) {
  .display { font-size: 72px; }
  .h1-object, .h2 { font-size: 48px; }
  .h3 { font-size: 32px; }
  .h4 { font-size: 21px; }
}
.lead { font-size: inherit; }
.meta { color: var(--c-muted); font-weight: 500; font-size: 15px; }
@media (min-width: 900px) { .meta { font-size: 16px; } }
.price { font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--c-text); }
@media (min-width: 900px) { .price { font-size: 21px; } }

.prose > * + * { margin-top: 1em; }
.prose a, a.text-link {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover, a.text-link:hover { text-decoration-thickness: 2px; }

.accent-line { display: block; width: 48px; height: 2px; background: var(--c-gold); border: 0; margin: 0 0 24px; }

/* ---------- Icons (eigene Outline-Familie, per Maske eingefärbt) ---------- */
.i {
  display: inline-block; flex: none;
  width: 24px; height: 24px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.i-phone { -webkit-mask-image: url("../icons/phone-call.svg"); mask-image: url("../icons/phone-call.svg"); -webkit-mask-size: 210%; mask-size: 210%; }
.i-arrow { -webkit-mask-image: url("../icons/arrow.svg"); mask-image: url("../icons/arrow.svg"); }
.i-arrow--right { transform: rotate(180deg); }
.i-arrow--down { transform: rotate(-90deg); }
.svg-icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px;
  font-family: var(--f-head); font-weight: 400; font-size: 16px; line-height: 1.2;
  text-decoration: none; text-align: center; text-transform: none;
  border: 2px solid transparent; border-radius: 5px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
@media (min-width: 900px) { .btn { font-size: 18px; } }
/* Primär auf Hell */
.btn--primary { background: var(--c-green); color: var(--c-white); border-color: var(--c-green); }
.btn--primary:hover { background: var(--c-white); color: var(--c-green); }
/* Primär auf Grün oder auf Fotos */
.btn--primary-inv { background: var(--c-white); color: var(--c-green); border-color: var(--c-white); }
.btn--primary-inv:hover { background: transparent; color: var(--c-white); }
/* Sekundär */
.btn--secondary { background: transparent; color: var(--c-green); border-color: var(--c-green); }
.btn--secondary:hover { background: var(--c-green); color: var(--c-white); }
.btn--secondary-inv { background: transparent; color: var(--c-white); border-color: var(--c-white); }
.btn--secondary-inv:hover { background: var(--c-white); color: var(--c-green); }
.btn--block { width: 100%; }

.only-lt1200 { }
@media (min-width: 1200px) { .only-lt1200 { display: none !important; } }

/* ---------- Kopfleiste ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: var(--header-h);
  background: var(--c-green);
  color: var(--c-white);
  --focus: var(--c-white);
}
.site-header--lux { border-bottom: 2px solid var(--c-gold); height: calc(var(--header-h) + 2px); }
.lux-page { padding-top: calc(var(--header-h) + 2px); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: block; flex: none; height: var(--header-h); }
/* Logo ungeschnitten: die SVG ist 2 : 1, also Breite = 2 × Höhe, nichts abgeschnitten (DESIGN §6) */
.brand img { height: 100%; width: calc(var(--header-h) * 2); object-fit: contain; object-position: center; }
.lux-name {
  font-family: var(--f-head); font-weight: 400; font-size: 15px; line-height: 1.2;
  color: var(--c-white); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
@media (min-width: 600px) { .lux-name { font-size: 17px; } }
@media (min-width: 900px) { .lux-name { font-size: 21px; } }
@media (max-width: 359px) { .lux-name { display: none; } }

/* Menü: klare Schrift wie Helvetica, etwas größer und weiter links (Simona, 03.11.2026) */
.nav { display: none; margin-left: auto; margin-right: auto; padding-left: 24px; align-items: center; gap: 26px; }
.nav a, .nav .lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  color: var(--c-white); text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; font-size: 17.5px; line-height: 1.2; letter-spacing: .01em;
  border: 0; border-bottom: 2px solid transparent; background: none; padding: 0; cursor: pointer;
  white-space: nowrap;
}
.nav a:hover, .nav .lang-btn:hover { border-bottom-color: var(--c-gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--c-gold); }
.nav .nav__quiet { font-weight: 400; color: rgba(255, 255, 255, 0.82); }
.header-cta { display: none; flex: none; }
.header-cta.is-hidden { visibility: hidden; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 5px;
  background: transparent; color: var(--c-white); cursor: pointer; text-decoration: none;
}
@media (min-width: 1200px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; margin-left: 0; }
  .header-tools { display: none; }
}

/* Sprachauswahl in der Kopfleiste */
.lang { position: relative; }
.lang-btn .svg-icon { width: 16px; height: 16px; transition: transform .2s ease; }
.lang-btn[aria-expanded="true"] .svg-icon { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 18px);
  min-width: 160px; padding: 8px 0;
  background: var(--c-green); border: 1px solid var(--c-hair); border-radius: 4px;
  list-style: none; margin: 0;
}
.lang-list[hidden] { display: none; }
.lang-list a { display: flex; min-height: 40px; padding: 0 16px; border: 0; }
.lang-list a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lang-list a[aria-current="true"] { font-weight: 600; }

/* Mobiles Menü: grüne Vollfläche */
.mobile-menu {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); z-index: 39;
  background: var(--c-green); color: var(--c-white); --focus: var(--c-white);
  overflow-y: auto;
  padding-block: 24px 48px;
}
.lux-page .mobile-menu { top: calc(var(--header-h) + 2px); }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu__list > li { border-bottom: 1px solid rgba(165, 185, 172, 0.45); }
/* Navigation ohne Unterstreichung, Schriftgrad wie das Nav-Token 15 / 16 px (DESIGN §2, §3) */
.mobile-menu__list a {
  display: flex; align-items: center; min-height: 56px;
  font-family: var(--f-body); font-weight: 500; font-size: 15px; color: var(--c-white); text-decoration: none;
}
@media (min-width: 900px) { .mobile-menu__list a { font-size: 16px; } }
.mobile-menu__lang { margin-top: 32px; }
.mobile-menu__lang p { font-weight: 500; font-size: 15px; color: rgba(255, 255, 255, 0.82); margin-bottom: 8px; }
.mobile-menu__lang ul { display: flex; gap: 24px; flex-wrap: wrap; }
.mobile-menu__lang a {
  color: var(--c-white); font-weight: 500; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center;
  text-decoration: none; border-bottom: 2px solid transparent;
}
/* Aktuelle Sprache: Gewicht und Goldlinie wie in der Kopfleiste */
.mobile-menu__lang a[aria-current="true"] { font-weight: 600; border-bottom-color: var(--c-gold); }
.mobile-menu .btn { margin-top: 32px; }
@media (min-width: 1200px) { .mobile-menu { display: none !important; } }

/* ---------- Kopfbild ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  display: flex; flex-direction: column;
  color: var(--c-white); --focus: var(--c-white); --h-color: var(--c-white);
  background: var(--ov-solid);
  overflow: hidden;
  isolation: isolate;
}
.hero--a { min-height: 100vh; min-height: 100svh; }
/* Variante B: 75 vh mobil, 85 vh ab 600 px, aber höchstens so hoch, dass die Suchzeile darunter
   vollständig im ersten Bildschirm bleibt (DESIGN §9b). --search-reserve = Abstand oben plus Suchbox. */
.hero--b { --search-reserve: 280px; min-height: 75vh; min-height: min(75svh, calc(100svh - var(--search-reserve))); }
.hero--lux { min-height: 70vh; min-height: 70svh; margin-top: calc(-1 * var(--header-h) - 2px); padding-top: calc(var(--header-h) + 2px); }
@media (min-width: 600px) { .hero--b { --search-reserve: 300px; min-height: 85vh; min-height: min(85svh, calc(100svh - var(--search-reserve))); } }
@media (min-width: 900px) { .hero--b { --search-reserve: 240px; } }
@media (min-width: 1200px) { .hero--b { --search-reserve: 160px; } }

.hero__slides, .hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: var(--ov-photo); }

.hero__body { position: relative; flex: 1; display: flex; flex-direction: column; width: 100%; }
.photo-panel { background: var(--ov-text); border-radius: 4px; padding: 20px; }
@media (min-width: 900px) { .photo-panel { padding: 32px 40px; } }
.photo-panel .display + p { margin-top: 16px; }
.hero__caption { margin-top: 16px; font-weight: 500; font-size: 15px; }
@media (min-width: 900px) { .hero__caption { font-size: 16px; } }

/* Fortschrittsstriche und Pause */
.hero-controls {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--ov-text); border-radius: 4px; padding: 4px 8px;
}
.hero__bars { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.hero__bar {
  position: relative; display: block; width: 36px; height: 32px; padding: 0;
  border: 0; background: transparent; cursor: pointer; border-radius: 2px;
}
.hero__bar::before, .hero__fill {
  content: ""; position: absolute; left: 4px; right: 4px; top: 15px; height: 2px;
}
.hero__bar::before { background: rgba(255, 255, 255, 0.5); }
.hero__fill { background: var(--c-white); transform-origin: left center; transform: scaleX(0); }
.hero__bar.is-active .hero__fill { animation: hero-fill 7s linear forwards; }
.hero.is-paused .hero__bar.is-active .hero__fill { animation-play-state: paused; }
@keyframes hero-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause { width: 32px; height: 32px; }
.hero__pause .svg-icon { width: 20px; height: 20px; }
.hero__pause .icon-play { display: none; }
.hero.is-paused .hero__pause .icon-play { display: block; }
.hero.is-paused .hero__pause .icon-pause { display: none; }
/* Entwurf: festes Kopfbild, die Striche zeigen nur, wo der spätere Wechsel gesteuert wird (DESIGN §4, §9) */
.hero-controls--static { padding: 4px 8px; }
.hero-controls--static .hero__bar { cursor: default; }
.hero-controls--static .hero__bar.is-active .hero__fill { animation: none; transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__bar.is-active .hero__fill { animation: none; transform: scaleX(1); }
  .hero__pause { display: none; }
}

/* Variante A: Aussage mittig, Suchzeile darunter auf dem Bild */
.hero--a .hero__body { align-items: center; justify-content: center; text-align: center; gap: 24px; padding-block: 24px; }
.hero--a .photo-panel { max-width: 960px; }
.hero--a .hero__foot { display: flex; justify-content: center; padding-bottom: 24px; }
@media (min-width: 900px) { .hero--a .hero__body { gap: 32px; padding-block: 48px; } .hero--a .hero__foot { padding-bottom: 32px; } }

/* Variante B: unten links Aussage, Satz, Objektart und Ort */
.hero--b .hero__body { justify-content: flex-end; padding-bottom: 24px; gap: 12px; }
.hero--b .hero__row { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero--b .photo-panel { max-width: 900px; }
@media (min-width: 900px) { .hero--b .hero__body { padding-bottom: 48px; } }
@media (min-width: 1200px) {
  .hero--b .hero__row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
}

/* Luxury: festes Kopfbild, Text unten links */
.hero--lux .hero__body { justify-content: flex-end; padding-bottom: 32px; }
.hero--lux .photo-panel { max-width: 760px; }
.hero--lux .photo-panel .btn { margin-top: 24px; }
@media (min-width: 900px) { .hero--lux .hero__body { padding-bottom: 64px; } }

/* ---------- Suche ---------- */
.search {
  background: var(--c-creme); color: var(--c-text); --focus: var(--c-green);
  border-radius: 4px; padding: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  text-align: left; width: 100%;
}
.search__price { grid-column: 1 / -1; }
@media (max-width: 599px) { .search { gap: 12px 16px; padding: 12px 16px; } }
/* Aktionen: Sortier-Umschalter (Preis absteigend als Standard, Umschalter für aufsteigend, DESIGN §7) und Suchbutton */
.search__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.search__actions .btn { flex: 1 1 auto; }
@media (max-width: 599px) { .search__actions .btn { padding-inline: 16px; } }
.sort-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px;
  border: 0; border-radius: 5px; background: transparent; color: var(--c-text);
  font: 500 15px/1.2 var(--f-body); white-space: nowrap; cursor: pointer;
}
.sort-toggle .svg-icon { width: 22px; height: 22px; color: var(--c-green); transition: transform .2s ease; }
.sort-toggle[data-sort="asc"] .svg-icon { transform: scaleY(-1); }
.sort-toggle:hover [data-sort-text], .sort-toggle:hover .sort-toggle__pre { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* Unter 390 px nur „absteigend“ sichtbar, damit Umschalter und Suchbutton in einer Zeile bleiben; „Preis“ bleibt für Screenreader */
@media (max-width: 389px) {
  .sort-toggle__pre { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) {
  .sort-toggle { font-size: 16px; }
  .search { grid-template-columns: 1fr 1fr 2fr; align-items: end; gap: 16px 24px; padding: 16px 24px; }
  .search__price { grid-column: auto; }
  .search__actions { justify-content: flex-end; gap: 8px 24px; }
  .search__actions .btn { flex: none; }
}
.hero--a .search { max-width: 1180px; }
.field-label { display: block; font-weight: 500; font-size: 15px; line-height: 1.6; color: var(--c-text); }
@media (min-width: 900px) { .field-label { font-size: 16px; } }
.select { position: relative; }
.select select {
  -webkit-appearance: none; appearance: none;
  width: 100%; min-height: 44px; padding: 8px 32px 8px 0;
  font: 500 16px/1.4 var(--f-body); color: var(--c-text);
  background: transparent; border: 0; border-bottom: 1px solid var(--c-field); border-radius: 0;
  cursor: pointer;
}
.select .svg-icon { position: absolute; right: 4px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--c-green); pointer-events: none; }

.range-field { display: flex; flex-direction: column; gap: 4px; }
.range-field__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; }
.range { position: relative; height: 28px; min-width: 160px; }
.range__track, .range__sel { position: absolute; top: 13px; height: 2px; background: var(--c-green); border-radius: 1px; }
/* Spur in vollem Grün 2 px, gewählte Spanne Grün 4 px (DESIGN §7, 8,69 : 1 auf Creme) */
.range__track { left: 12px; right: 12px; }
.range__sel { height: 4px; top: 12px; }
.range input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 28px; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range input[type="range"]::-webkit-slider-runnable-track { background: transparent; height: 28px; }
.range input[type="range"]::-moz-range-track { background: transparent; }
.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--c-green); border: 2px solid var(--c-creme); cursor: pointer;
}
.range input[type="range"]::-moz-range-thumb {
  pointer-events: auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-green); border: 2px solid var(--c-creme); cursor: pointer;
}
.range input[type="range"]:focus-visible { outline: none; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--c-green); outline-offset: 2px; }
.range input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--c-green); outline-offset: 2px; }
.range-out { font-weight: 500; font-size: 15px; white-space: nowrap; color: var(--c-text); }
@media (min-width: 900px) { .range-out { font-size: 16px; } }

.search-after { margin-top: 16px; }
.hero--a .search-after { margin-top: 0; }

/* ---------- Objektkarten ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 32px 24px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 600px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; } }
@media (min-width: 900px) { .cards--2 { grid-template-columns: repeat(2, 1fr); gap: 56px 40px; } }

.card { position: relative; display: flex; flex-direction: column; border-radius: 4px; overflow: hidden; color: var(--c-text); --h-color: var(--c-green); --focus: var(--c-green); }
.card--creme { background: var(--c-creme); }
.card--line { background: transparent; border: 1px solid var(--c-hair); }
.card--white { background: var(--c-white); border: 1px solid var(--c-hair); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-beige); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 24px; flex: 1; }
@media (min-width: 900px) { .card__body { padding: 20px 24px 28px; } .cards--2 .card__body { padding: 28px 32px 32px; gap: 8px; } }
.card__place { color: var(--c-muted); font-weight: 500; font-size: 15px; }
@media (min-width: 900px) { .card__place { font-size: 16px; } }
.card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { outline: none; }
/* Der Ring liegt 2 px außerhalb der Karte, also auf dem Sektionsgrund: auf Hell Grün, auf Grün Weiß (DESIGN §7) */
.card:focus-within { outline: 2px solid var(--c-green); outline-offset: 2px; }
.bg-green .card:focus-within { outline-color: var(--c-white); }
.card:hover .card__title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.card .price { margin-top: 6px; }
.facts-line { font-weight: 500; font-size: 15px; color: var(--c-muted); }
.facts-line .v { color: var(--c-text); }
@media (min-width: 900px) { .facts-line { font-size: 16px; } }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
@media (min-width: 900px) { .section-head { margin-bottom: 48px; } }
.after-cards { margin-top: 32px; }
@media (min-width: 900px) { .after-cards { margin-top: 48px; } }
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 500; color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.arrow-link .i { width: 14px; height: 18px; }
.arrow-link:hover { text-decoration-thickness: 2px; }

/* ---------- Foto mit Textfeld Creme (Variante A) ---------- */
.photo-feature { position: relative; }
.photo-feature__img { aspect-ratio: 4 / 3; overflow: hidden; }
.photo-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.text-box { background: var(--c-creme); color: var(--c-text); --h-color: var(--c-green); --focus: var(--c-green); --link: var(--c-green); padding: 32px var(--gutter); }
.text-box > * + * { margin-top: 16px; }
@media (min-width: 900px) {
  .photo-feature { padding-block: var(--sy-g) var(--sy); }
  .photo-feature--even { padding-block: var(--sy); }
  .photo-feature__img { position: absolute; inset: 0; aspect-ratio: auto; }
  .photo-feature .wrap { position: relative; display: flex; }
  .photo-feature--right .wrap { justify-content: flex-end; }
  .text-box { max-width: 560px; padding: 48px; border-radius: 4px; }
  .text-box--wide { max-width: 640px; }
}

/* ---------- Simona ---------- */
.about { display: grid; gap: 32px; align-items: center; }
.about__img { max-width: 420px; border: 1px solid var(--c-hair); border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text > * + * { margin-top: 20px; }
.phone-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-weight: 500; }
.phone-line .i { color: var(--c-green); width: 28px; height: 28px; }
.phone-line a { color: var(--c-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 900px) {
  .about { grid-template-columns: 5fr 7fr; gap: 64px; }
  .about__img { max-width: none; }
}

/* ---------- Ablauf ---------- */
.steps { position: relative; display: grid; gap: 32px; list-style: none; padding: 0; margin: 40px 0 0; }
.step { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; align-content: start; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 39px; top: 80px; bottom: -32px; width: 2px; background: var(--c-gold); }
.step p { font-size: 16px; }
.step__icon { width: 80px; height: 80px; padding: 4px; background: var(--c-green); display: flex; align-items: center; justify-content: center; }
.step__icon img { width: 72px; height: 72px; }
.step__text > * + * { margin-top: 8px; }
.step .h4 { padding-top: 8px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 32px; margin-top: 64px; }
  .steps::before { content: ""; position: absolute; left: calc((100% - 128px) / 10); right: calc((100% - 128px) / 10); top: 44px; height: 2px; background: var(--c-gold); }
  .step:not(:last-child)::after { display: none; }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; }
  .step__icon { width: 88px; height: 88px; padding: 6px 8px; }
  .step__icon img { width: 76px; height: 76px; }
  .step .h4 { padding-top: 0; }
}

/* ---------- Vorteile ---------- */
.benefits { list-style: none; padding: 0; margin: 0; }
.text-box .benefits { margin-top: 24px; }
.benefits li { padding-block: 20px; border-top: 1px solid var(--c-hair); }
.benefits li:last-child { border-bottom: 1px solid var(--c-hair); }
.benefits p { margin-top: 6px; }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 4fr 8fr; gap: 64px; } .split--even { grid-template-columns: 1fr 1fr; } }

/* ---------- Hinweis FAQ und Kontakt ---------- */
.note { max-width: 720px; }
.note > * + * { margin-top: 16px; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.separator { border: 0; border-top: 1px solid var(--c-hair); margin: 0; }

/* ---------- Luxury-Einstieg Variante B ---------- */
.lux-teaser__img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; }
.lux-teaser__img img { width: 100%; height: 100%; object-fit: cover; }
.lux-teaser__text { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 900px) { .lux-teaser__text { margin-top: 48px; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.lux-teaser__text > div > * + * { margin-top: 16px; }

/* ---------- Fuß ---------- */
.site-footer { padding-block: 64px 40px; font-size: 16px; }
@media (min-width: 900px) { .site-footer { padding-block: 80px 48px; } }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer--beige { background: var(--c-beige); color: var(--c-text); --link: var(--c-green); }
.footer--beige a { color: var(--c-green); }
.footer--green { background: var(--c-green); color: var(--c-white); --focus: var(--c-white); --link: var(--c-white); }
.footer--green a { color: var(--c-white); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 5fr 3fr 2fr 2fr; gap: 48px; } }
.footer-brand > * + * { margin-top: 16px; }
.footer-logo--claim { width: 200px; height: auto; }
/* Grünfläche der Datei verschmilzt mit dem grünen Fuß; das „A“ beginnt bei x 24,07 von 226,77, bei 200 px Breite also 21,2 px
   nach links ziehen, damit die Buchstaben mit dem Seitenrand (16 / 32 px) fluchten */
.footer-logo--mark { width: 200px; height: auto; margin-left: -21.2px; margin-top: -24px; margin-bottom: -16px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; align-content: start; }
.footer-list a { display: inline-flex; min-height: 32px; align-items: center; gap: 10px; }
.lang-list a { gap: 10px; align-items: center; }
.footer-label { font-weight: 500; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 15px; }
.inline-list { display: inline; list-style: none; padding: 0; margin: 0; }
.inline-list li { display: inline; }
.inline-list li + li::before { content: " · "; }

/* ---------- Objektseite ---------- */
.v-a.page-objekt { background: var(--c-creme); }
.gallery-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
@media (min-width: 900px) { .gallery-strip { grid-template-columns: repeat(4, 1fr); } }
.gallery-btn { display: block; padding: 0; border: 0; background: var(--c-beige); cursor: zoom-in; width: 100%; }
.gallery-btn img { width: 100%; height: 100%; object-fit: cover; }
.gallery-btn--43 { aspect-ratio: 4 / 3; }
.gallery-btn--32 { aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; }
.gallery-btn--43r { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.gallery-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
@media (min-width: 900px) { .gallery-row { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; } }
.gallery-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 16px; }

.obj-head > * + * { margin-top: 12px; }
.obj-head .h1-object { max-width: 34ch; }
.facts-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .facts-grid { grid-template-columns: 1fr 1fr; gap: 40px 64px; } }
.facts-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-weight: 500; font-size: 15px; }
@media (min-width: 900px) { .facts-table { font-size: 16px; } }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--c-hair); }
.facts-table tr:first-child th, .facts-table tr:first-child td { border-top: 1px solid var(--c-hair); }
.facts-table th { color: var(--c-muted); font-weight: 500; width: 45%; padding-right: 16px; }
.facts-table td { color: var(--c-text); }
.desc > * + * { margin-top: 1em; }
.desc .h3 { margin-top: 40px; }
.desc ul { padding-left: 1.2em; }
.desc li + li { margin-top: 4px; }

/* Anfrageformular */
.inquiry { display: grid; gap: 40px; }
@media (min-width: 900px) { .inquiry { grid-template-columns: 7fr 4fr; gap: 64px; align-items: start; } }
.inquiry__intro > * + * { margin-top: 12px; }
.form { margin-top: 32px; display: grid; gap: 20px; max-width: 640px; }
.form-ref { padding: 12px 16px; border-left: 2px solid var(--c-gold); background: var(--c-white); font-weight: 500; }
.v-b .form-ref { background: var(--c-creme); }
.form-field { display: grid; gap: 6px; }
.form-field input[type="text"], .form-field input[type="date"], .form-field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: 400 16px/1.5 var(--f-body); color: var(--c-text);
  background: var(--c-white); border: 1px solid var(--c-field); border-radius: 5px;
}
.form-field textarea { min-height: 128px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--c-muted); opacity: 1; font-style: normal; }
/* Spezifischer als .form-field input[type="text"], damit der Fehlerrahmen greift; Innenabstand gleicht den dickeren Rahmen aus */
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border: 2px solid var(--c-error); padding: 9px 11px; }
.help { color: var(--c-muted); font-size: 15px; }
.error { color: var(--c-error); font-weight: 500; font-size: 15px; }
.error[hidden] { display: none; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.fieldset legend { padding: 0; margin-bottom: 6px; }
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 500; font-size: 15px; cursor: pointer; }
@media (min-width: 900px) { .check { font-size: 16px; } }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--c-green); flex: none; }
.form-legal { color: var(--c-muted); font-size: 15px; }
.form-legal a { color: var(--c-green); }
.form-actions { display: grid; gap: 12px; justify-items: start; }
.form-status { font-weight: 500; color: var(--c-text); }
.form-status[hidden] { display: none; }
.confirm { padding: 24px; border: 1px solid var(--c-hair); border-left: 2px solid var(--c-gold); border-radius: 4px; background: var(--c-white); }
.confirm > * + * { margin-top: 8px; }
.confirm[hidden] { display: none; }
.direct { padding-top: 24px; border-top: 1px solid var(--c-hair); }
.direct > * + * { margin-top: 12px; }
.direct ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; }
.direct a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--c-green); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.direct .i { width: 24px; height: 24px; }
@media (min-width: 900px) { .direct { border-top: 0; border-left: 1px solid var(--c-hair); padding: 0 0 0 40px; margin-top: 8px; } }

/* Galerie im Vollbild */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--ov-solid); color: var(--c-white); --focus: var(--c-white);
}
.lightbox::backdrop { background: var(--ov-solid); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter) 24px; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 5px; background: var(--ov-text); color: var(--c-white); cursor: pointer; }
.lightbox__nav .i { width: 16px; height: 22px; }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
.lightbox__close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 2px solid var(--c-white); border-radius: 5px; background: transparent; color: var(--c-white); cursor: pointer; font-family: var(--f-head); font-size: 16px; }

/* ---------- Luxury ---------- */
.lux-visit { max-width: 720px; margin-inline: auto; text-align: center; }
.lux-visit .accent-line { margin-inline: auto; }
.lux-visit > p { margin-top: 16px; }
.lux-visit .btn { margin-top: 32px; }

/* ---------- Auswahlseite ---------- */
.chooser { padding-block: 64px 96px; }
.chooser__logo { width: 180px; height: auto; }
.chooser h1 { margin-top: 48px; }
.chooser__grid { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 900px) { .chooser__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.chooser__card { border: 1px solid var(--c-hair); border-radius: 4px; padding: 32px; display: grid; gap: 16px; align-content: start; }
.chooser__card .btn { justify-self: start; margin-top: 8px; }
.chooser__note { margin-top: 40px; color: var(--c-muted); font-weight: 500; }

/* ---------- Ergänzungen zum Seitenaufbau ---------- */
.section--after-white { padding-top: 0; }
.note-sep { margin-bottom: var(--sy); }
.search-section { padding-bottom: 0; }
.chooser-page { padding-top: 0; }
.form-fields { display: grid; gap: 20px; }
.hero .btn--primary-inv:hover { background: var(--ov-text); color: var(--c-white); }
.hero__caption { padding-top: 12px; border-top: 1px solid var(--c-hair); }
.obj-gallery--b { padding-top: 24px; }
@media (min-width: 900px) { .obj-gallery--b { padding-top: 40px; } }
.obj-block { margin-top: 56px; }
@media (min-width: 900px) { .obj-block { margin-top: 80px; } }
.obj-main { padding-top: 40px; }
@media (min-width: 900px) { .obj-main { padding-top: 56px; } }
.desc .h4 { margin-top: 32px; }
.photo-feature .wrap { padding-inline: 0; }
@media (min-width: 900px) {
  .photo-feature { display: flex; flex-direction: column; justify-content: center; min-height: 720px; }
  .photo-feature .wrap { padding-inline: var(--gutter); }
}

/* Suchzeile als eine schmale Zeile ab 1200 px: Beschriftung neben dem Feld */
@media (min-width: 1200px) {
  .search { grid-template-columns: 1fr 1fr 2fr auto; align-items: center; gap: 24px; padding: 10px 24px; }
  .search__field { display: flex; flex-direction: row; align-items: center; gap: 12px; }
  .search__field .field-label { flex: none; }
  .search__field .select { flex: 1; min-width: 0; }
  .search__price { gap: 0; }
  .search__actions { grid-column: auto; flex-wrap: nowrap; }
}
@media (max-width: 599px) {
  .lux-page .site-header__inner { gap: 10px; }
}
.inquiry > * { min-width: 0; }
.form-field input, .form-field textarea { min-width: 0; max-width: 100%; }
.date-row { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }

/* ---------- Prüfbefunde 05.10.2026 ---------- */
/* Fließtext höchstens 68 Zeichen breit (DESIGN §3) */
.benefits p, .note > p, .lux-visit > p { max-width: 68ch; }
.lux-visit > p { margin-inline: auto; }

/* Hauptaufruf auf dem Kopfbild A unter 1200 px: auf einer örtlichen Fläche overlay.photoText (DESIGN §7) */
.hero__cta { padding: 12px; }

/* Foto mit Textfeld Creme unter 900 px: Textfeld mit Seitenrand, leicht über dem Foto, kein Creme-Sektionsgrund (DESIGN §2) */
@media (max-width: 899px) {
  .photo-feature .wrap { padding-inline: var(--gutter); }
  .photo-feature .text-box { position: relative; margin-top: -48px; border-radius: 4px; padding: 28px 20px 32px; }
}

/* Auswahlseite: Hinweise zum Entwurf */
.chooser__hints { margin-top: 48px; max-width: 68ch; }
.chooser__hints ul { margin-top: 12px; padding-left: 1.2em; }
.chooser__hints li + li { margin-top: 8px; }

/* ---------- Restpunkte 05.10.2026 abends ---------- */
/* Kurze Absätze auf Fotoflächen nicht automatisch trennen (DESIGN §3, „Toskana“ nie getrennt) */
.photo-panel p, .text-box p { -webkit-hyphens: manual; hyphens: manual; }
