/* Ersatzschrift mit den Massen von Schibsted Grotesk: bis die echte Schrift da ist, bricht der Text gleich um (kein Springen der Seite) */
@font-face { font-family: 'Schibsted Fallback'; src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'), local('Helvetica'); size-adjust: 102.5%; ascent-override: 95.6%; descent-override: 25.4%; line-gap-override: 0%; }
/* Schrift Schibsted Grotesk, selbst ausgeliefert (kein Google-Server, wird vorab geladen). Eine Datei deckt alle Stärken 400 bis 800 ab. */
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 800; font-display: optional; src: url(/fonts/schibsted-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 800; font-display: optional; src: url(/fonts/schibsted-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  color-scheme: light;
  /* Berner Sandstein, Bernrot, Gold */
  --bg: #F7F8F4;
  --surface: #FFFFFF;
  --paper: #EEF0E9;
  --stone: #E4E7DD;
  --stone-deep: #CBD0C1;
  --ink: #1D2622;
  --muted: #5B665F;
  --line: #DCE0D5;
  --red: #C4122F;
  --red-deep: #990D24;
  --red-soft: #FBE6E9;
  --gold: #F2C230;
  --font: 'Schibsted Grotesk', 'Schibsted Fallback', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --r-photo: 14px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(var(--hdr, 58px) + env(safe-area-inset-top, 0px)); scroll-behavior: smooth; }   /* Kopfleiste bleibt oben stehen: Sprungziele rutschen darunter nicht weg */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
[hidden] { display: none !important; }
.est, .count, .kpis dd, .calc td:last-child, .bar .num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sandstein-Quader als ruhige Fläche (Berner Altstadt) */
.ashlar {
  background-color: var(--stone);
  background-image:
    linear-gradient(rgba(29, 38, 34, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 38, 34, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 38, 34, .055) 1px, transparent 1px);
  background-size: 100% 56px, 168px 112px, 168px 112px;
  background-position: 0 0, 0 0, 84px 56px;
}

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--ink); background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-big { padding: 13px 24px; font-size: 17px; }

/* Kopfzeile */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; }
.brand svg { flex: none; }
.brand .mark { color: var(--ink); margin-top: -4px; }
.brand .word { font-size: 23px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.brand .word span { font-weight: 500; }
.account { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.demo-switch { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.demo-switch input { accent-color: var(--red); width: 18px; height: 18px; }
.badge { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); }

/* Einstieg */
.hero { padding-bottom: 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 40px; }
.hero h1 { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 24px; max-width: 16ch; hyphens: manual; text-wrap: balance; }
/* Das lange Wort «Zwangsversteigerungen» darf nie unter die Karte rechts laufen: die Spalte misst sich selbst (Container), die Schrift passt sich ihrer Breite an */
.hero-grid > div:first-child { container-type: inline-size; }
#hero-title { font-size: clamp(26px, 3.3vw, 50px); max-width: none; }
@supports (font-size: 1cqw) { #hero-title { font-size: min(58px, 8.3cqw); } }

.hero-sub { margin: -10px 0 14px; font-size: 18px; font-weight: 600; color: var(--muted, #4b564f); }
@media (max-width: 640px) { #hero-title { font-size: clamp(26px, 7.6vw, 36px); } .hero-sub { font-size: 16px; margin-top: -12px; } }
@media (max-width: 640px) { @supports (font-size: 1cqw) { #hero-title { font-size: min(36px, 8.2cqw); } } }
.hero .lede { font-size: 20px; line-height: 1.5; margin: 0 0 28px; max-width: 34ch; color: var(--ink); }
.hero .lede strong { font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin: 20px 0 0; font-size: 14px; color: var(--muted); max-width: 42ch; }
.spot { position: relative; }
.spot .lot-body { background: var(--surface); border-radius: 0 0 var(--r-photo) var(--r-photo); padding: 18px 22px 20px; box-shadow: 0 1px 0 var(--stone-deep); }
.spot .media { border-radius: var(--r-photo) var(--r-photo) 0 0; }
.spot h2 { font-size: 23px; line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 4px; }
.spot-caption { font-size: 14px; font-weight: 600; color: var(--red); margin: 0 0 6px; }

/* Bilder mit Etikett */
.media { position: relative; border-radius: var(--r-photo); overflow: hidden; background: var(--paper); aspect-ratio: 4 / 3; isolation: isolate; }
.media.big { aspect-ratio: 16 / 10; }
.track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; position: relative; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide.empty { display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 24px; color: var(--muted); }
.slide.empty figcaption { font-size: 14px; max-width: 26ch; }
.slide.empty .parcel path { fill: rgba(196, 18, 47, .08); }
.slide.locked img { filter: blur(14px) saturate(.8); transform: scale(1.15); }
.slide.locked figcaption { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; padding: 20px; text-align: center; color: #fff; background: rgba(29, 38, 34, .55); }
.slide.locked b { font-size: 20px; letter-spacing: -0.01em; }
.slide.locked span { font-size: 15px; opacity: .9; }
.slide.locked .btn { margin-top: 12px; }
.slide.locked svg { margin-bottom: 4px; }
.is-off .slide img { filter: grayscale(1) contrast(.9); }

.tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--gold); color: var(--ink);
  padding: 8px 14px 9px 24px; line-height: 1.05;
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 50%);
  border-radius: 0 5px 5px 0;
  transform: rotate(-3deg); transform-origin: 0 50%;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}
.tag::before { content: ''; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .35); }
.tag b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.tag small { display: block; font-size: 12px; font-weight: 600; margin-top: 2px; }
.tag.off { background: #D7DAD2; }
.tag.off b { text-decoration: line-through; text-decoration-thickness: 2px; }
.tag.open b { text-decoration: none; font-size: 16px; letter-spacing: 0; }
.tag.open small { color: var(--muted); }
.tag.off small { color: var(--red-deep); }
.tag.ended b { text-decoration: none; font-size: 16px; letter-spacing: 0; }
.tag.ended small { color: var(--muted); }
.big .tag { top: 18px; left: 18px; padding: 11px 18px 12px 28px; }
.big .tag b { font-size: 26px; }
.big .tag small { font-size: 14px; }

.count { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(29, 38, 34, .72); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.dot { width: 18px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .55); }
.dot.on { background: #fff; }
.nav { position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); opacity: 0; transition: opacity .15s; }
.nav.prev { left: 10px; } .nav.next { right: 10px; }
.nav:disabled { visibility: hidden; }
.media:hover .nav, .nav:focus-visible { opacity: 1; }
@media (hover: none) { .nav { display: none; } }

/* Zeitstrahl */
.radar { margin: -36px 0 0; background: var(--surface); border-radius: 18px; padding: 20px 24px 12px; position: relative; box-shadow: 0 1px 0 var(--stone-deep); }
.radar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 4px; }
.radar-head h2 { font-size: 18px; font-weight: 700; margin: 0; }
.radar-head span { color: var(--muted); font-size: 14px; }
.radar-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.radar svg { display: block; max-width: 100%; height: auto; }
.radar-head span a { color: var(--ink); font-weight: 600; }
.radar { overflow: visible; }
.radar .band { fill: var(--stone, #efece4); opacity: .55; }
.radar .mon { fill: var(--muted); font: 600 12px var(--font); letter-spacing: .02em; text-transform: none; }
.radar .wk { stroke: var(--line); stroke-width: 1.5; stroke-linecap: round; }
.radar .axis { stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.radar .now { fill: var(--ink); }
.radar .now-ring { fill: none; stroke: var(--ink); stroke-opacity: .25; stroke-width: 2; }
.radar .today { fill: var(--ink); font: 700 12px var(--font); }
.radar .dl { fill: var(--muted); font: 500 11.5px var(--font); }
.radar .cnt circle { fill: var(--ink); }
.radar .cnt text { fill: #fff; font: 700 11px var(--font); }
.radar-tip { position: absolute; z-index: 5; min-width: 180px; max-width: 280px; background: var(--ink); color: #fff; border-radius: 10px; padding: 9px 12px 10px; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.25); pointer-events: none; }
.radar-tip[hidden] { display: none; }
.radar-tip strong { display: block; margin-bottom: 4px; font-size: 13px; }
.radar-tip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.radar-tip li { display: flex; justify-content: space-between; gap: 12px; }
.radar-tip li span, .radar-tip em { color: rgba(255,255,255,.7); font-style: normal; }
.radar .pin { cursor: pointer; }
.radar .pin rect:not(.hit) { fill: var(--red); transition: fill .15s; }
.radar .pin .hit { fill: transparent; }
.radar .pin:hover rect:not(.hit), .radar .pin:focus rect:not(.hit) { fill: var(--gold); }
.radar .pin:focus { outline: none; }
.radar .pin:focus-visible .hit { stroke: var(--ink); stroke-width: 1.5; rx: 6; }

/* Hammer (Zwangsversteigerung heute): in der Farbe des Stapels, hebt sich um das Stielende und schlägt mit dem Kopf auf die Mitte des Stapels, sobald der Streifen ins Bild scrollt */
.radar .pin .hammer path, .radar .pin:hover .hammer path, .radar .pin:focus .hammer path { fill: var(--ink); }
.radar .pin .kt { fill: #fff; font: 700 11px var(--font); letter-spacing: .03em; pointer-events: none; }
.radar .hammer .swing { transform-box: fill-box; transform-origin: 0% 50%; }
.radar .hammer-ring { fill: none; stroke: var(--red); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.radar.in .hammer .swing { animation: gavel 1.7s cubic-bezier(.45, 0, .2, 1) .4s 2 both; }
.radar.in .hammer-ring { animation: impact 1.7s ease-out .4s 2 both; }
@keyframes gavel { 0%, 100% { transform: rotate(0); } 24%, 36% { transform: rotate(-30deg); } 45% { transform: rotate(0); } }
@keyframes impact { 0%, 43% { opacity: 0; transform: scale(.6); } 46% { opacity: .65; transform: scale(.85); } 78%, 100% { opacity: 0; transform: scale(1.5); } }
.radar .pin { transition: transform .2s ease; }
.radar .pin:hover, .radar .pin:focus-visible { transform: translateY(-3px); }
.radar .sep { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .radar.in .hammer .swing, .radar.in .hammer-ring { animation: none; } }

/* Filter */
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; padding: 64px 0 8px; }
.list-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 18px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters select { font: inherit; font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.filters label.check { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); }
.filters label.check input { accent-color: var(--red); }

/* Objekte */
.month { display: flex; align-items: baseline; gap: 12px; font-size: 20px; font-weight: 800; letter-spacing: -0.015em; margin: 40px 0 18px; }
.month span { font-size: 14px; font-weight: 500; color: var(--muted); }
.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 40px 28px; }
.lot { position: relative; cursor: pointer; min-width: 0; } .lot .media { min-width: 0; max-width: 100%; }
.lot-body { padding: 14px 2px 0; }
.lot h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 4px; text-wrap: pretty; }
.lot-link { text-decoration: none; }
.lot:hover .lot-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--red); }
.lot-meta { margin: 0; font-size: 15px; color: var(--muted); }
.lot-facts { margin: 4px 0 0; font-size: 14px; font-weight: 500; }
.count.sv { font-weight: 500; }
.filters #f-canton { font-weight: 600; }
.lot-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.est b { font-size: 20px; font-weight: 800; letter-spacing: -0.015em; }
.est small { font-size: 13px; color: var(--muted); margin-left: 6px; }
.est small.est-sub { display: block; margin: 2px 0 0; line-height: 1.35; font-variant-numeric: normal; }
.place { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500; }
.place.locked { color: var(--muted); border: 1.5px dashed var(--stone-deep); border-radius: 999px; padding: 2px 10px 2px 8px; }
.lot.cancelled h3, .lot.cancelled .est { color: var(--muted); }
.empty-list { padding: 48px 0; color: var(--muted); }

/* Abo */
.pitch { margin-top: 72px; }
.pitch-card { background: var(--ink); color: #fff; border-radius: 28px; padding: 0 56px; }
.pitch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px 64px; padding: 64px 0; align-items: start; }
.pitch h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 20px; max-width: 16ch; }
.pitch p { margin: 0 0 28px; color: #C9D1CB; max-width: 38ch; }
.perks { list-style: none; margin: 0; padding: 0; }
.perks li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.perks li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.perks svg { color: var(--gold); margin-top: 2px; }
.perks b { display: block; font-size: 18px; }
.perks span { color: #C9D1CB; font-size: 15px; }

footer { padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer p { margin: 0; max-width: 70ch; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 16px; }
  .hero .lede { max-width: 44ch; }
  .pitch-grid { grid-template-columns: minmax(0, 1fr); padding: 48px 0; }
  .pitch-card { padding: 0 32px; }
}
@media (max-width: 640px) {
  .pitch { margin-top: 48px; }
  .pitch-card { border-radius: 22px; padding: 0 22px; }
  .pitch-grid { padding: 40px 0 36px; gap: 32px; }
  .wrap { padding: 0 16px; }
  .hero { padding-bottom: 60px; }
  .hero .lede { font-size: 18px; }
  .lots { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .radar { padding: 16px 16px 8px; border-radius: 14px; }
  .list-head { padding-top: 48px; }
  .btn-sub-top { display: none; }
}

/* Detail */
dialog { border: 0; padding: 0; background: var(--surface); color: var(--ink); width: min(880px, 100vw - 24px); max-height: calc(100% - 48px); border-radius: 18px; box-shadow: 0 24px 64px rgba(29, 38, 34, .22); }
dialog::backdrop { background: rgba(29, 38, 34, .45); }
.d-media .media { border-radius: 0; }
.d-inner { padding: 28px 32px 32px; }
.d-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); font-size: 26px; line-height: 1; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.login .d-close { box-shadow: none; background: var(--paper); }
.d-when { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.d-when strong { color: var(--ink); }
.status { color: var(--red); font-weight: 700; }
dialog h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; padding-right: 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; padding: 16px 18px; background: var(--paper); border-radius: 12px; margin: 16px 0 24px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
dialog h4 { font-size: 15px; margin: 24px 0 8px; }
.parcels { border: 1px solid var(--line); border-radius: 10px; }
.parcels > div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.parcels > div:last-child { border-bottom: 0; }
.parcels p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.parcels .pn { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.docs a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; border-bottom: 1px solid var(--line); padding: 4px 0; }
.docs a:hover { color: var(--red); border-color: var(--red); }
.desc { margin: 0; white-space: pre-line; color: var(--ink); font-size: 16px; max-width: 64ch; }
.desc-lock { position: relative; max-width: 64ch; }
.desc-lock .lk-pill { top: 86%; }
.desc-fade { position: relative; max-height: 185px; overflow: hidden; }
.desc-fade .desc + .desc { margin-top: 12px; }
.desc-fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(to bottom, rgba(247,248,244,0), rgba(247,248,244,.85) 55%, #f7f8f4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%); mask-image: linear-gradient(to bottom, transparent, #000 60%); pointer-events: none; }
.paywall { position: relative; margin-top: 8px; overflow: hidden; border-radius: 12px; }
.paywall .ghost { filter: blur(5px); user-select: none; pointer-events: none; padding: 8px 0; }
.paywall .ghost span { display: block; height: 14px; background: var(--line); border-radius: 3px; margin: 10px 0; }
.paywall .offer { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 20px 0; background: linear-gradient(to right, var(--surface) 62%, transparent); }
.paywall .offer p { margin: 0; max-width: 42ch; }
.src { margin-top: 24px; font-size: 14px; color: var(--muted); }
.login p { color: var(--muted); margin: 0 0 16px; }
.login label { font-weight: 600; font-size: 15px; }
.login input { width: 100%; font: inherit; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); margin: 6px 0 14px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 10; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; max-width: calc(100% - 32px); }
@media (max-width: 640px) { .d-inner { padding: 22px 18px 26px; } dialog h2 { font-size: 23px; } }

/* Auswertung der Unterlagen */
.ev { margin-top: 8px; }
.ev h3 { font-size: 19px; letter-spacing: -0.01em; margin: 32px 0 10px; }
.ev .lead { font-size: 17px; max-width: 64ch; margin: 0; }
.gal-h { margin: 12px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.gallery { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shot { flex: none; width: 190px; scroll-snap-align: start; border: 0; padding: 0; background: none; text-align: left; }
.shot .frame { height: 128px; border-radius: 6px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot.plan .frame { background: var(--surface); }
.shot.plan img { object-fit: contain; }
.shot .ph { color: var(--muted); display: grid; place-items: center; gap: 4px; font-size: 12px; text-align: center; padding: 8px; }
.shot .ph svg { opacity: .55; }
.shot .frame.missing { border-style: dashed; }
.shot b { display: block; font-size: 14px; margin-top: 6px; }
.shot small { display: block; font-size: 12px; color: var(--muted); }
.gallery-note { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
/* Kennzahlen (kennzahlen.js): 6 oder 4 gleich grosse Kacheln mit Symbol, nie leere Felder */
.kz { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 6px 0 24px; }
.kz-hero { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1px; background: var(--line); }
.kz-n1 .kz-hero { --cols: 1; } .kz-n2 .kz-hero { --cols: 2; } .kz-n3 .kz-hero, .kz-n6 .kz-hero { --cols: 3; } .kz-n4 .kz-hero { --cols: 4; } .kz-n5 .kz-hero { --cols: 3; }
.kz-tile { display: flex; flex-direction: column; gap: 1px; padding: 14px 16px 13px; min-width: 0; background: var(--surface); }
.kz-i { color: var(--red); margin-bottom: 7px; }
.kz-v { font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kz-l { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.kz-h { font-size: 12px; color: var(--muted); opacity: .85; margin-top: 3px; line-height: 1.3; }
@media (prefers-reduced-motion: no-preference) {
  .kz[data-wired]:not(.is-in) .kz-tile { opacity: 0; transform: translateY(8px); }
  .kz[data-wired] .kz-tile { transition: opacity .5s ease, transform .5s ease; }
  .kz.is-in .kz-tile:nth-child(2) { transition-delay: .06s; } .kz.is-in .kz-tile:nth-child(3) { transition-delay: .12s; }
  .kz.is-in .kz-tile:nth-child(4) { transition-delay: .18s; } .kz.is-in .kz-tile:nth-child(5) { transition-delay: .24s; } .kz.is-in .kz-tile:nth-child(6) { transition-delay: .3s; }
}
@media (max-width: 640px) {
  .kz-n4 .kz-hero, .kz-n5 .kz-hero { --cols: 2; }
  .kz-tile { padding: 12px 12px 11px; }
  .kz-i { width: 18px; height: 18px; margin-bottom: 6px; }
  .kz-v { font-size: clamp(18px, 5.4vw, 24px); }
  .kz-l { font-size: 12.5px; } .kz-h { font-size: 11.5px; }
}
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: minmax(120px, 210px) 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.bar .track { height: 14px; background: var(--paper); border-radius: 3px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--muted); border-radius: 3px; }
.bar.main .fill { background: var(--red); }
.bar .num { font-weight: 700; white-space: nowrap; }
.bar small { display: block; color: var(--muted); font-size: 12px; }
.calc { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 18px; display: grid; gap: 14px; }
.calc label.bid { display: grid; gap: 4px; font-weight: 700; font-size: 15px; }
.calc input[type=number] { font: inherit; font-size: 22px; font-weight: 700; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; max-width: 280px; }
.calc .opts { display: grid; gap: 6px; font-size: 14px; }
.calc .opts label { display: flex; gap: 8px; align-items: flex-start; }
.calc .opts input { accent-color: var(--red); margin-top: 3px; }
.calc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.calc td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.calc td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.calc tr.total td { border-bottom: 0; border-top: 1.5px solid var(--ink); font-size: 18px; padding-top: 10px; }
.calc .when { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.calc .when div { background: #fff; border-radius: 6px; padding: 10px 12px; font-size: 14px; }
.calc .when b { display: block; font-size: 19px; }
.calc .warn { color: var(--red); font-size: 14px; margin: 0; }
.calc .muted { color: var(--muted); font-size: 13px; margin: 0; }
.risks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.risks li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; }
.risks .dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; border: 2px solid var(--red); }
.risks .hoch .dot { background: var(--red); }
.risks .tief .dot { border-color: var(--muted); }
.risks b { display: block; }
.risks p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.kv { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.plain { margin: 0; padding-left: 18px; font-size: 15px; }
.plain li { margin: 3px 0; }
.todo-box { background: var(--red-soft); border-radius: 10px; padding: 14px 16px; }
.todo-box h3 { margin-top: 0 !important; }
.lightbox { position: fixed; inset: 0; background: rgba(21, 26, 28, .92); display: grid; place-items: center; padding: 24px; z-index: 70; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 4px; background: #fff; }
.lightbox p { color: #fff; margin: 10px 0 0; text-align: center; }
.lightbox button { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 16px; background: none; border: 0; color: #fff; font-size: 34px; }
@media (max-width: 640px) {
  .bar { grid-template-columns: minmax(0, 1fr) auto; }
  .bar .track { grid-column: 1 / -1; order: 3; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 0 0; }
  .kv dd { margin-bottom: 8px; }
  .calc .when { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { transform: translateY(8px) scaleY(.4); opacity: 0; } }
  .radar .pin { animation: rise .6s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 22ms); transform-box: fill-box; transform-origin: bottom; }
  .spot .tag { animation: swing 1.1s cubic-bezier(.3, 1.6, .5, 1) .25s backwards; }
  @keyframes swing { from { transform: rotate(-16deg); } }
}

/* Objektseite (/objekt/...) */
:root { --hdr: 58px; }
@media (max-width: 640px) { :root { --hdr: 69px; } }
.top-slim { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: var(--bg); }   /* Logo und Profil bleiben beim Scrollen sichtbar */
.top-slim .top { padding: 12px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); margin: 22px 0 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.obj { padding-bottom: 72px; }
.obj-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
.obj-main { min-width: 0; }
.obj-main .media { border-radius: var(--r-photo); }
.obj h1 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -0.025em; margin: 22px 0 12px; text-wrap: balance; }
.obj .d-when { font-size: 16px; }
.obj h4 { font-size: 16px; margin: 28px 0 8px; scroll-margin-top: 16px; }
.obj-side { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 16px; }
.card { background: var(--surface); border-radius: 14px; padding: 20px 22px; box-shadow: 0 1px 0 var(--stone-deep); }
.card .est b { font-size: 28px; }
.card .count-down { margin: 0 0 4px; font-weight: 700; color: var(--red); font-size: 15px; }
.card dl { margin: 14px 0 0; display: grid; gap: 10px; font-size: 15px; }
.card dt { color: var(--muted); font-size: 13px; }
.card dd { margin: 0; font-weight: 600; }
.card .btn { width: 100%; margin-top: 16px; }
.card .fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.obj-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.obj-nav a { text-decoration: none; max-width: 46%; }
.obj-nav a:hover { color: var(--red); }
.obj-nav small { display: block; color: var(--muted); }
.obj-nav .next { text-align: right; margin-left: auto; }
.facts { margin-top: 20px; }
.docs .doc { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.docs .doc svg { grid-row: 1 / span 2; align-self: start; margin-top: 3px; color: var(--red); }
.docs .doc-main { border: 0; padding: 0; font-weight: 600; }
.docs .doc small { color: var(--muted); font-size: 13px; grid-column: 2; }
.docs .doc-act { grid-column: 3; grid-row: 1 / span 2; display: flex; gap: 14px; font-size: 14px; align-items: center; }
.docs .doc-act a { border: 0; padding: 0; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.linkbtn:hover { color: var(--red); }
.teaser-note { background: var(--paper); border-radius: 12px; padding: 16px 18px; margin: 24px 0 0; font-size: 15px; }
.foot-links { margin-top: 10px !important; }
.legal { max-width: 70ch; padding: 24px 28px 72px; }
.legal h1 { font-size: 32px; letter-spacing: -0.02em; }
.legal h2 { font-size: 20px; margin: 32px 0 6px; }
.legal p, .legal li { font-size: 16px; }
@media (max-width: 900px) {
  .obj-grid { grid-template-columns: minmax(0, 1fr); }
  .obj-side { display: none; } /* Handy: Datum steht unter dem Titel, alles andere in den Angaben darunter */
  .docs .doc { grid-template-columns: 22px minmax(0, 1fr); }
  .docs .doc-act { grid-column: 2; grid-row: auto; margin-top: 2px; }
}

.pitch-fine { margin: 14px 0 0 !important; font-size: 14px; color: #C9D1CB; }
.pitch-fine a { color: #fff; }
.legal .muted { color: var(--muted); font-size: 14px; margin-top: -8px; }

/* Lange Wörter und breite Inhalte dürfen die Seite nie breiter als den Bildschirm machen */
.obj { overflow-wrap: anywhere; }
.obj .gallery, .obj .parcels { max-width: 100%; }

/* Reihen pro Region (Startseite) */
#rails { padding-bottom: 8px; }
.rail-sec { margin-top: 56px; }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
.rail-head h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
.rail-head h2 a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.rail-head .arrow { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); transition: background .15s; }
.rail-head h2 a:hover .arrow { background: var(--gold); }
.rail-head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.rail-nav { display: flex; gap: 8px; flex: none; }
.rail-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); display: grid; place-items: center; }
.rail-btn:hover:not(:disabled) { background: var(--stone-deep); }
.rail-btn:disabled { opacity: .35; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 2px 10px; margin: 0 -2px; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > .lot { flex: 0 0 clamp(250px, 23vw, 292px); scroll-snap-align: start; min-width: 0; }
.rail .lot h3 { font-size: 17px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rail .lot-foot { flex-direction: column; align-items: flex-start; }
/* Abschlusskarte «Neueste Inserate»: Titelbilder der nächsten Inserate und die Zahl der übrigen */
.rail-more { flex: 0 0 clamp(250px, 23vw, 292px); scroll-snap-align: start; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; min-width: 0; }
.rail-more .mos { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 4 / 3; background: var(--surface); border-radius: var(--r-photo); overflow: hidden; transition: box-shadow .15s; }
.rail-more:hover .mos, .rail-more:focus-visible .mos { box-shadow: 0 10px 28px rgba(21,28,25,.28); }
.rail-more .mos span { background-size: cover; background-position: center; background-color: var(--stone-deep); }
.rail-more .mos .empty { background: #33403A; }
.rail-more .plus { position: absolute; right: 0; bottom: 0; width: 50%; height: 50%; display: grid; place-items: center; background: rgba(21,26,28,.62); color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; }
.rail-more .mt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 2px 0; }
.rail-more .mt b { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; }
.rail-more .mt small { font-size: 14px; color: var(--muted); }
.rail-more .go { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; }
.rail-more:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

@media (max-width: 640px) {
  .rail-sec { margin-top: 44px; }
  .rail > .lot { flex-basis: 78vw; }
  .rail-more { flex-basis: 78vw; }
  .rail-nav { display: none; }
}

/* Liste (/versteigerungen) */
.list-head h1 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.list-sum { margin: 0; color: var(--muted); }
.region-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 4px; }
.region-tabs .chip { text-decoration: none; display: inline-flex; gap: 6px; align-items: baseline; }
.region-tabs .chip span { opacity: .6; font-size: 13px; }
.ssr-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.ssr-list span { color: var(--muted); font-size: 15px; }
.crumbs + .list-head { padding-top: 6px; }

/* Luftbild statt Foto */
.slide.aerial { background: var(--paper); }
.pin-dot { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(29, 38, 34, .35), 0 2px 8px rgba(0, 0, 0, .4); }
.slide.aerial { position: relative; }
.slide .outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.slide .outline polygon { fill: rgba(196, 18, 47, .22); stroke: #fff; stroke-width: 5; paint-order: stroke; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.slide .outline polygon { stroke: var(--red); stroke-width: 3; }
.map-cap { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(29, 38, 34, .72); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.media .count + .map-cap, .media:has(.count) .map-cap { bottom: 12px; }
.planfig { margin: 0 0 14px; }
.planbox { position: relative; border-radius: 12px; overflow: hidden; background: var(--paper); aspect-ratio: 16 / 10; }
.planbox img { width: 100%; height: 100%; object-fit: cover; display: block; }
.planbox .outline { position: absolute; inset: 0; width: 100%; height: 100%; }
.planbox .outline polygon { fill: rgba(196, 18, 47, .18); stroke: var(--red); stroke-width: 3; vector-effect: non-scaling-stroke; }
.planfig figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.admin-link { margin: 0 0 12px; }


@media (max-width: 560px) { .radar-head { flex-direction: column; gap: 2px; } }

.admin-link { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.feat.on { background: #2E7D4F; border-color: #2E7D4F; color: #fff; }

/* Abgelaufene Inserate: ganz unten, zurückhaltend */
.expired-h { margin-top: 48px; color: var(--muted); }
.lots.expired { opacity: .72; filter: grayscale(.55); }
.lots.expired:hover { opacity: .9; }

/* Footer: dunkel, ruhig */
.site-footer { background: #151C19; color: #AEB8B1; padding: 64px 0 0; margin-top: 72px; font-size: 14.5px; }
.site-footer a { color: #D8DFD9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sf-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 56px; padding-bottom: 48px; }
.site-footer h3 { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #7F8B84; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .brand { color: #fff; width: fit-content; }
.site-footer .brand .mark { color: #fff; }
.site-footer .brand:hover { text-decoration: none; }
.sf-brand p { margin: 14px 0 0; max-width: 34ch; line-height: 1.55; }
.sf-langs { display: flex; gap: 6px; flex-wrap: wrap; }
.sf-lang { font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; border: 1px solid #36423C; background: transparent; color: #C5CEC8; cursor: pointer; }
.sf-cookie { font: inherit; padding: 0; border: 0; background: none; color: #D8DFD9; cursor: pointer; text-align: left; }
.sf-cookie:hover { color: #fff; text-decoration: underline; }
.cookie-banner { position: fixed; z-index: 90; left: 16px; bottom: 16px; max-width: 380px; padding: 16px 18px; background: #1D2622; color: #F1F3EE; border: 1px solid #33403A; border-radius: 14px; box-shadow: 0 10px 36px rgba(21,28,25,.38); font-size: 14px; line-height: 1.45; }
.cookie-banner p { margin: 0 0 12px; }
.cookie-banner a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cb-btns { display: flex; gap: 8px; }
.cb-btns button { flex: 1; font: inherit; font-weight: 600; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.cb-btns button[data-v="denied"] { background: transparent; color: #E6EAE3; border: 1px solid #5B6A62; }
.cb-btns button[data-v="denied"]:hover { background: #2A352F; }
.cb-btns button[data-v="granted"] { background: var(--red); color: #fff; border: 1px solid var(--red); }
.cb-btns button[data-v="granted"]:hover { background: var(--red-deep); border-color: var(--red-deep); }
.cookie-banner button:focus-visible, .cookie-banner a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 480px) { .cookie-banner { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
.sf-lang:hover { border-color: #5B6A62; color: #fff; }
.sf-lang[aria-pressed=true] { background: #fff; border-color: #fff; color: #151C19; }
.sf-note { margin: 10px 0 0; font-size: 12.5px; color: #7F8B84; max-width: 24ch; }
.sf-sources { margin: 24px 0 0; max-width: 90ch; font-size: 12.5px; line-height: 1.6; color: #7F8B84; }
.sf-copy { margin: 12px 0 0; font-size: 12.5px; color: #4F5B54; }
@media (max-width: 960px) { .sf-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer { padding-top: 48px; } .sf-grid { gap: 32px 24px; padding-bottom: 36px; } .sf-grid > nav:last-child { grid-column: 1 / -1; } }
/* Nützliche Links: Logos direkt auf dem Footer, einfarbig hell und gedämpft (BWO-Wappen in Rot) */
.sf-ext { gap: 6px; }
.sf-link { display: flex; gap: 14px; align-items: center; padding: 6px 0; }
.sf-link:hover { text-decoration: none; }
.sf-logo { flex: none; width: 56px; height: 40px; display: flex; align-items: center; }
.sf-logo img { width: auto; height: auto; max-width: 56px; max-height: 34px; opacity: .62; transition: opacity .15s; }
.sf-logo.mono img { filter: brightness(0) invert(1); }
.sf-logo.bwo img { max-width: 30px; opacity: .9; }
.sf-link:hover .sf-logo img { opacity: 1; }
.sf-tx { display: grid; gap: 2px; min-width: 0; }
.sf-nm { color: #D8DFD9; line-height: 1.35; }
.sf-link:hover .sf-nm { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sf-x { margin-left: 6px; color: #6A766F; vertical-align: -1px; }
.sf-ds { font-size: 12.5px; line-height: 1.5; color: #7F8B84; }
/* Fusszeile: Rolle der Plattform, Rechtliches, Sprache */
.sf-bar { border-top: 1px solid #2A3430; padding: 22px 0 28px; display: grid; gap: 14px; }
.sf-role { margin: 0; max-width: 100ch; font-size: 12.5px; line-height: 1.6; color: #7F8B84; }
.sf-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.sf-legal { display: flex !important; flex-wrap: wrap; gap: 6px 22px !important; font-size: 13px; }
.sf-bar .sf-copy { margin: 0; }
/* Zahlungslogos (Footer und Preise) */
.pay-logos, .site-footer .pay-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.pay-logos li { margin: 0; line-height: 0; }
.pay-logos img { height: 28px; width: auto; display: block; border-radius: 5px; border: 1px solid #E1E5DF; background: #fff; }
.sf-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; font-size: 12.5px; color: #7F8B84; }
.sf-pay .pay-logos img { height: 24px; border-color: #3A4540; }
@media (max-width: 520px) { .sf-pay { flex-direction: column; align-items: flex-start; gap: 8px; } }
.pr-pay { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin: 22px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 520px) { .sf-row { flex-direction: column; align-items: flex-start; } }

/* Preise */
.pricing { margin-top: 72px; }
.pr-head { max-width: 62ch; margin: 0 auto 36px; text-align: center; }
.pr-head h1, .pr-head h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.035em; line-height: 1.1; margin: 0 0 12px; }
.pr-head p { margin: 0; color: var(--muted); }
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 30px 30px; display: flex; flex-direction: column; gap: 6px; }
.plan.best { border: 2px solid var(--ink); box-shadow: 0 14px 40px rgba(29, 38, 34, .12); }
.plan h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan .price { margin: 8px 0 0; display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-size: clamp(40px, 5vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan .price span { color: var(--muted); font-size: 17px; }
.plan-note { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.plan .btn { align-self: stretch; text-align: center; justify-content: center; }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
@media (max-width: 760px) {
  .pricing { margin-top: 48px; }
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 28px 22px 24px; } .plan-badge { left: 22px; }
}
.slide.plan img { object-fit: contain; background: #fff; }

.pricing-page { margin: 48px auto 24px; }
.pricing-page .pr-grid { margin-bottom: 8px; }
.pr-sub { max-width: 880px; margin: 24px auto 0; text-align: center; color: var(--muted); font-size: 15px; }

/* Gesperrte Vorschau ohne Abo */
.locked h4 { margin: 28px 0 10px; }
.lockbox { position: relative; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.lk-blur { filter: blur(6px); padding: 16px 18px; user-select: none; pointer-events: none; }
.lockbox.nopad .lk-blur { padding: 0; filter: blur(5px); transform: scale(1.04); }
.lk-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 1px; padding: 9px 20px 8px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 24px rgba(29, 38, 34, .14); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.lk-pill svg { grid-row: 1; justify-self: start; position: absolute; left: 14px; top: 11px; color: var(--muted); }
.lk-pill span { padding-left: 22px; }
.lk-pill small { color: var(--red); font-weight: 700; font-size: 13px; }
.lk-pill:hover small { text-decoration: underline; }
.lk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lk-tiles span { aspect-ratio: 4 / 3; border-radius: 8px; }
.lk-input { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; background: #fff; }
.side-lock { margin-top: 16px; }
.side-lock .lk-blur { padding: 20px; }
.lk-cta { margin-top: 28px; background: var(--ink); color: #fff; border-radius: 18px; padding: 24px; display: grid; gap: 14px; justify-items: start; }
.lk-cta b { display: block; font-size: 20px; letter-spacing: -.02em; margin-bottom: 4px; }
.lk-cta span { color: #C9D1CB; font-size: 15px; }
.lk-cta small { color: #AEB8B1; font-size: 13px; }
.lk-cta small a { color: #fff; }
@media (max-width: 760px) { .lk-cta .btn { width: 100%; } .lk-pill { font-size: 14px; padding: 8px 16px 7px; } }

.obj .d-date { display: none; margin: 0 0 6px; font-weight: 700; font-size: 16px; }
@media (max-width: 900px) { .obj .d-date { display: block; } }

/* Kontaktseite */
.kontakt { margin-top: 48px; margin-bottom: 24px; }
.k-head { max-width: 62ch; margin: 0 0 28px; }
.k-head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; line-height: 1.1; margin: 0 0 10px; }
.k-head p { margin: 0; color: var(--muted); }
.k-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.k-form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 16px; }
.k-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.k-form input, .k-form select, .k-form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.k-form textarea { resize: vertical; min-height: 140px; }
.k-form input:focus, .k-form select:focus, .k-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.k-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.k-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.k-err { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FBE9EC; color: #8E0D22; font-size: 15px; }
.k-fine { margin: 0; font-size: 13px; color: var(--muted); }
.k-form .btn { justify-self: start; }
.k-side h2 { font-size: 18px; margin: 0 0 12px; letter-spacing: -.02em; }
.k-side p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.k-side b { color: var(--ink); }
.k-done { max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.k-done h2 { margin: 0 0 8px; }
@media (max-width: 760px) { .k-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .k-two { grid-template-columns: minmax(0, 1fr); } .k-form { padding: 22px 18px; border-radius: 18px; } .k-form .btn { justify-self: stretch; } }

.obj-ask { margin: 28px 0 0; font-size: 15px; color: var(--muted); }
.obj-ask a { color: var(--ink); }

/* Art-Filter (Haus, Wohnung, Gewerbe, Grundstück) und Lagedaten */
.kchip { border: 1.5px solid var(--line); background: var(--surface); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; }
.kchip:hover { border-color: var(--ink); }
.kchip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.kchip span { opacity: .6; font-size: 13px; margin-left: 4px; }
.view3d { margin: 12px 0 0; }
.v3dframe { width: 100%; height: 420px; border: 0; border-radius: 12px; background: #dfe6ea; }
/* Luftbilder: Zeitreise von alt nach neu, Jahr oben, Zeitleiste unter dem Bild */
.lb { margin: 18px 0 0; }
.lb h4 { margin-bottom: 2px; }
.lb-yr { margin: 0 0 10px; display: flex; align-items: baseline; gap: 10px; color: var(--muted); }
.lb-yr b { font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 4ch; }
.lb-box { background: var(--stone); }
.lb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .12s linear; }
.lb-img.on { opacity: 1; }
.lb-box .outline { z-index: 2; }
.lb-ctl { margin: 4px 0 0; --thumb: 28px; }
.lb-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 38px; margin: 0; background: transparent; cursor: grab; touch-action: pan-y; --f: 100%; }
.lb-range:active { cursor: grabbing; }
.lb-range:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.lb-range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--ink) var(--f), var(--stone-deep) var(--f)); }
.lb-range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--stone-deep); }
.lb-range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
.lb-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: var(--thumb); height: var(--thumb); margin-top: calc((4px - var(--thumb)) / 2); border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); transition: transform .15s; }
.lb-range::-moz-range-thumb { width: calc(var(--thumb) - 4px); height: calc(var(--thumb) - 4px); border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.lb-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.lb-ticks { display: flex; justify-content: space-between; margin: -3px calc(var(--thumb) / 2) 0; height: 10px; }
.lb-ticks i { width: 1px; height: 5px; background: var(--stone-deep); }
.lb-ticks i.d { height: 9px; background: var(--muted); }
.lb-ends { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .lb-img { transition: none; } }
@media (max-width: 640px) { .v3dframe { height: 320px; } }
.v3dhead { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 14px; font-size: 14px; }
.v3dhead button { border: 0; background: transparent; font-size: 18px; line-height: 1; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: inherit; }
.v3dhead button:hover { background: rgba(0,0,0,.08); }
.v3dhint { margin: 0; padding: 8px 14px 10px; font-size: 12.5px; color: var(--muted, #667); }
.lk-info { border: 1px dashed rgba(0,0,0,.18); border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; }
.lk-info .desc { margin: 0; }
.lk-years { display: flex; gap: 6px; flex-wrap: wrap; }
.lk-years span { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.06); }
.lk-pill.static { position: relative; transform: none; left: auto; top: auto; justify-self: start; padding: 8px 18px 8px 14px; }
.lk-pill.static svg { top: 10px; }

/* Objektseite: feste Abschnitte und Sprungleiste */
.obj .sec { margin-top: 44px; scroll-margin-top: 64px; }
.obj .sec[hidden] { display: none; }
.obj .sec-h { font-size: 22px; letter-spacing: -0.015em; margin: 0 0 4px; }
.obj .sec h4:first-of-type { margin-top: 16px; }
.sec-nav { position: sticky; top: calc(var(--hdr) - 1px); z-index: 5; display: flex; gap: 6px; overflow-x: auto; margin: 18px -4px 0; padding: 8px 4px; background: var(--bg, #fff); border-bottom: 1px solid var(--line); scrollbar-width: none; }   /* deckend und bündig unter der Kopfleiste: keine Lücke, durch die man den Seiteninhalt sieht */
.sec-nav::-webkit-scrollbar { display: none; }
.sec-nav[hidden] { display: none; }
.sec-nav a { flex: none; padding: 6px 10px; border-radius: 0; font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.sec-nav a:hover, .sec-nav a:focus-visible { color: var(--ink); }
.teaser-klaeren { margin: 14px 0 0; }
.teaser-klaeren a { display: inline-block; padding: 8px 14px; border-radius: 10px; background: var(--red-soft); color: var(--ink); font-size: 15px; text-decoration: none; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sec-nav a.on { color: var(--ink); background: none; box-shadow: inset 0 -1.5px 0 var(--red, #C4122F); border-radius: 0; }
.sec-nav { cursor: grab; }
.sec-nav.drag { cursor: grabbing; user-select: none; }
.sec-nav.drag a { pointer-events: none; }
/* 3D-Ansicht: auffällige Karte statt kleinem Knopf (dunkel, roter Würfel, ganze Breite) */
.btn3d { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 520px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--ink); color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 8px 22px rgba(21,28,25,.22); transition: box-shadow .15s, transform .15s ease-out; will-change: transform; }
.btn3d .b3-ic { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red, #C4122F); color: #fff; perspective: 140px; }
.btn3d .b3-ic::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red, #C4122F); animation: b3-pulse 2.6s ease-out infinite; pointer-events: none; }
.cube3 { position: relative; width: 20px; height: 20px; transform-style: preserve-3d; animation: cube3-spin 9s linear infinite; }
.cube3 i { position: absolute; inset: 0; border: 1.6px solid #fff; border-radius: 2px; background: rgba(255,255,255,.14); }
.cube3 i:nth-child(1) { transform: translateZ(10px); }
.cube3 i:nth-child(2) { transform: rotateY(180deg) translateZ(10px); }
.cube3 i:nth-child(3) { transform: rotateY(90deg) translateZ(10px); }
.cube3 i:nth-child(4) { transform: rotateY(-90deg) translateZ(10px); }
.cube3 i:nth-child(5) { transform: rotateX(90deg) translateZ(10px); }
.cube3 i:nth-child(6) { transform: rotateX(-90deg) translateZ(10px); }
.btn3d:hover .cube3, .btn3d:focus-visible .cube3 { animation-duration: 3s; }
@keyframes cube3-spin { from { transform: rotateX(-26deg) rotateY(0deg); } to { transform: rotateX(-26deg) rotateY(360deg); } }
@keyframes b3-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cube3 { animation: none; transform: rotateX(-26deg) rotateY(35deg); } .btn3d .b3-ic::after { animation: none; display: none; } }
.btn3d .b3-tx { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.btn3d .b3-tx b { font-size: 17px; font-weight: 700; }
.btn3d .b3-tx small { font-size: 13.5px; line-height: 1.35; color: #D8DFD9; }
.btn3d .b3-go { flex: none; font-size: 30px; line-height: 1; color: #fff; opacity: .8; transition: transform .15s; }
.btn3d:hover, .btn3d:focus-visible { box-shadow: 0 12px 30px rgba(21,28,25,.3); transform: translateY(-2px); }
.btn3d:hover .b3-go, .btn3d:focus-visible .b3-go { transform: translateX(3px); opacity: 1; }
.btn3d:focus-visible { outline: 3px solid var(--red, #C4122F); outline-offset: 3px; }
.v3dwin { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(20,24,22,.5); z-index: 80; padding: 16px; width: auto; right: auto; bottom: auto; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.v3dbox { width: min(1040px, 100%); background: var(--surface, #fff); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.v3dwin .v3dframe { height: min(72vh, 680px); }
@media (max-width: 640px) { .v3dwin { padding: 8px; } .v3dwin .v3dframe { height: 66vh; } }
.v3dwin .v3dframe { display: block; border-radius: 0; }
/* Ohne Abo: was man mit dem Abo sieht */
.lk-feat { margin: 22px 0 6px; padding: 22px 22px 18px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 16px; }
.lk-kick { margin: 0 0 14px; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.lk-feat ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.lk-feat li { display: flex; gap: 12px; align-items: flex-start; }
.lk-feat li svg { flex: none; color: var(--red, #C4122F); margin-top: 2px; }
.lk-feat li b { display: block; font-size: 15px; }
.lk-feat li span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.lk-feat small { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 640px) { .lk-feat ul { grid-template-columns: minmax(0, 1fr); } }

/* Wasserzeichen auf Luftbild, Katasterplan und Street View (wie in gespeicherten Fotos: oben rechts) */
.wmhost, .slide.aerial, .planbox { container-type: inline-size; }
.wm { position: absolute; top: 14%; right: 9%; z-index: 2; display: inline-flex; align-items: center; gap: .6em; padding: .28em .8em .28em .5em; border-radius: 999px; background: rgba(20, 28, 24, .5); color: #fff; font-weight: 700; font-size: max(9px, 2.2cqw); line-height: 1.2; letter-spacing: 0; opacity: .62; pointer-events: none; user-select: none; white-space: nowrap; }
.wm img { width: 1.5em; height: 1.5em; display: block; object-fit: contain; }

/* Gesperrte Vorschau ohne Abo, Variante «crisp»: Titel bleiben scharf, die Werte sind milchglasartig verdeckt */
.lockbox.crisp .lk-blur { filter: none; }
.lockbox.crisp dd, .lockbox.crisp .desc, .lockbox.crisp .docs, .lockbox.crisp .lk-ph { filter: blur(6px); opacity: .8; }
.lockbox.crisp .kv { margin: 0; }
.lockbox.facts-lock { border: 0; background: var(--paper); margin: -8px 0 24px; }
.lockbox.facts-lock .lk-blur { padding: 0; }
.lockbox.facts-lock .facts { margin: 0; }
.lockbox.facts-lock .lk-blur { padding-bottom: 0; }
.lockbox.facts-lock .lk-pill { position: relative; left: auto; top: auto; transform: none; width: max-content; margin: 0 18px 16px; }
.lk-why { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.locked .sec { margin-top: 32px; }
.lockbox.photo { aspect-ratio: 16 / 9; }
.lockbox.photo .lk-blur { height: 100%; padding: 0; filter: blur(10px) saturate(.85); transform: scale(1.06); }
.lockbox.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-ph { height: 100%; min-height: 200px; background: linear-gradient(135deg, #D9DDD2, #E8EBE2 60%, #CBD2C6); }
.lk-cards { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lk-cards li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--paper); border-radius: 12px; }
.lk-cards li svg { flex: none; color: var(--red, #C4122F); margin-top: 2px; }
.lk-cards b { display: block; font-size: 15px; }
.lk-cards span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.locked .lk-years { margin: 0 0 8px; }
@media (max-width: 760px) { .lk-cards { grid-template-columns: minmax(0, 1fr); } }
.card .est { margin: 10px 0 0; }

/* Was es zu einem Inserat gibt (ohne Abo): ehrliche Liste mit vorhanden / nicht vorhanden */
.lk-avail { margin: 16px 0 6px; padding: 22px 22px 14px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 16px; }
.lk-avail ul, .lk-docs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.lk-avail li { display: flex; gap: 10px; align-items: flex-start; }
.lk-avail b, .lk-docs b { display: block; font-size: 15px; }
.lk-avail span:not(.av-mark), .lk-docs span:not(.doc-ic) { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.av-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.is-ok .av-mark { background: #E3F0E6; color: #25613A; }
.is-no .av-mark { background: var(--stone, #E4E6DE); color: var(--muted); }
.lk-docs { grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 12px; }
.lk-docs li { display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; padding: 12px 14px; background: var(--paper); border-radius: 12px; }
.lk-docs li.is-no b { color: var(--muted); }
.lk-docs b, .lk-docs span:not(.doc-ic) { grid-column: 2; }
.doc-ic { grid-row: 1 / span 2; font-size: 17px; line-height: 1.2; color: var(--muted); }
@media (max-width: 760px) { .lk-avail ul { grid-template-columns: minmax(0, 1fr); } }

.lk-avail .lk-act { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.lk-avail .lk-act small { color: var(--muted); font-size: 12.5px; }
.lk-avail .lk-kick { margin: 0 0 8px; }
@media (max-width: 760px) { .lk-avail .lk-act .btn { width: 100%; } }

#radar-range a { text-decoration: none; font-weight: 700; } #radar-range a:hover { text-decoration: underline; }
.more-wrap { max-width: 520px; margin: 40px auto 8px; text-align: center; }
.more-count { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.more-bar { width: 200px; max-width: 60%; height: 3px; margin: 0 auto 18px; border-radius: 2px; background: var(--line); overflow: hidden; } .more-bar i { display: block; height: 100%; background: var(--ink); border-radius: 2px; }
.more-btn { width: 100%; padding: 15px 20px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; } .more-btn:hover { background: #2b3732; } .more-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
body { overflow-x: clip; }
.slide.empty .kicon { color: var(--stone-deep, #a8a294); opacity: .8; width: min(46%, 240px); height: auto; aspect-ratio: 1; }
.media:not(.big) .slide.empty .kicon { width: min(40%, 150px); }
.k-intro { max-width: 70ch; font-size: 17px; color: var(--ink); margin: 0 0 8px; }
.k-faq { max-width: 70ch; margin: 56px 0 0; } .k-faq h2 { font-size: 22px; margin: 0 0 8px; } .k-faq h3 { font-size: 17px; margin: 22px 0 4px; } .k-faq p { margin: 0; color: var(--muted); }
.k-more { margin: 48px 0 8px; } .k-more h2 { font-size: 18px; margin: 0 0 10px; } .k-more p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.k-links { margin: 8px 0 0; padding-left: 20px; } .k-links li { margin: 4px 0; }

/* Preisseite: Hero, Schritte, Vergleich, Fragen (gleiche Karten, Farben und Schrift wie der Rest) */
.pr-hero { max-width: 70ch; }
.pr-hero h1 { font-size: clamp(25px, 4.4vw, 50px); overflow-wrap: anywhere; hyphens: auto; }
.pr-cta { margin: 22px 0 0 !important; }
.pr-ticks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.pr-ticks li::before { content: "✓"; color: #2E7D4F; margin-right: 6px; }
.pr-ticks-col { flex-direction: column; justify-content: flex-start; align-items: flex-start; margin: 0 0 18px; gap: 6px; }
.pf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 56px auto; }
.pf-card h2 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.02em; }
.pf-card p { margin: 0; color: var(--muted); }
.pf-steps { list-style: none; margin: 0 auto 56px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 980px; }
.pf-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; }
.pf-steps b { color: var(--red); font-size: 14px; letter-spacing: .08em; }
.pf-steps h3 { margin: 6px 0 6px; font-size: 17px; letter-spacing: -.015em; }
.pf-steps p { margin: 0; color: var(--muted); font-size: 14.5px; }
.pf-table { max-width: 760px; margin: 0 auto 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pf-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px 84px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.pf-row:first-child { border-top: 0; }
.pf-head { font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pf-row .y, .pf-row .n, .pf-head span:not(:first-child) { text-align: center; }
.pf-row .y { color: #2E7D4F; font-weight: 800; }
.pf-row .n { color: var(--muted); }
.pf-feat { list-style: none; margin: 0 auto 56px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; }
.pf-feat li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; color: var(--muted); font-size: 14.5px; }
.pf-feat b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.pf-miss { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.pf-miss h2 { font-size: 24px; margin: 0 0 10px; letter-spacing: -.02em; }
.pf-miss p { color: var(--muted); margin: 0 0 14px; }
.pf-faq { max-width: 760px; margin: 0 auto 56px; display: grid; gap: 10px; }
.pf-q { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.pf-q summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; }
.pf-q summary::-webkit-details-marker { display: none; }
.pf-q summary::after { content: "+"; float: right; color: var(--muted); }
.pf-q[open] summary::after { content: "–"; }
.pf-q p { margin: 0 0 14px; color: var(--muted); }
.pf-final { max-width: 760px; margin: 0 auto 24px; text-align: center; background: var(--ink); color: #fff; border-radius: 28px; padding: 44px 28px; }   /* dunkel wie der Abo-Kasten auf der Startseite */
.pf-final h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.03em; margin: 0 0 10px; color: #fff; }
.pf-final p { color: #C9D1CB; }
.pf-fprice { font-size: 18px; color: #fff !important; }
.pf-fprice b { font-size: 30px; letter-spacing: -.03em; }
.pf-alt { font-size: 14.5px; margin-bottom: 0; }
@media (max-width: 760px) {
  .pf-two, .pf-feat { grid-template-columns: minmax(0, 1fr); }
  .pf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-row { grid-template-columns: minmax(0, 1fr) 76px 48px; padding: 11px 10px; font-size: 14px; }
  .pf-head { font-size: 10.5px; letter-spacing: 0; }
}

.pr-cta .btn + .btn { margin-left: 8px; }
.pr-sub-tight { margin-top: 6px; }
.pf-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto 56px; }
.pf-vs h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.015em; }
.pf-vs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.pf-vs li::before { margin-right: 8px; font-weight: 800; }
.pf-vs-no li { color: var(--muted); } .pf-vs-no li::before { content: "✗"; color: var(--red); }
.pf-vs-yes { border: 2px solid var(--ink); } .pf-vs-yes li::before { content: "✓"; color: #2E7D4F; }
.pf-stack { text-align: center; margin: -32px auto 56px; } .pf-stack p { margin: 0 0 12px; font-size: 20px; }
@media (max-width: 760px) { .pf-vs { grid-template-columns: minmax(0, 1fr); } .pr-cta .btn { display: flex; justify-content: center; margin: 0 0 10px !important; } }

/* Preisseite kompakt: Preis im ersten Bildschirm */
.pf-compact { margin-top: 28px; }
.pf-compact .pr-hero { margin-bottom: 24px; }
.pf-compact .pr-hero h1 { font-size: clamp(26px, 3.6vw, 40px); }
.pf-compact .plan { padding: 24px 24px 22px; }
.plan-save { margin: -10px 0 14px; color: #2E7D4F; font-weight: 700; font-size: 15px; }
.pf-incl { margin: 22px auto 0; max-width: 760px; }
.pf-h { margin: 48px auto 18px; }
.pf-h h2, .pf-why h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.03em; margin: 0 0 8px; }
.pf-compact .pf-table { margin-bottom: 0; }
.pf-why { max-width: 640px; margin: 48px auto 0; text-align: center; }
.pf-why p { color: var(--muted); margin: 0; }
.pf-trust { max-width: 640px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }
.pf-trust p { margin: 0 0 6px; } .pf-trust b { color: var(--ink); }
.pf-compact .pf-faq { margin-bottom: 48px; }
.pf-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 760px) { .pf-btns .btn { flex: 1 1 100%; justify-content: center; } .pf-compact { margin-top: 16px; } }
.pf-final h2 { overflow-wrap: anywhere; } @media (max-width: 760px) { .pf-final h2 { font-size: 23px; } }

/* Preisseite v3: Angebote nach Nutzungssituation, drei Vorteile, Vorschau */
.plan-desc { margin: 4px 0 6px; color: var(--ink); font-size: 15px; line-height: 1.45; min-height: 3em; }
.plan h3 { text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--ink); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.pf-compact .plan { border-color: var(--stone-deep); }
.pf-compact .plan.best { border-color: var(--ink); }
.pf-three { list-style: none; margin: 40px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 880px; text-align: center; }
.pf-three b { display: block; font-size: 17px; letter-spacing: -.015em; margin-bottom: 4px; }
.pf-three span { color: var(--muted); font-size: 15px; }
.pf-preview-wrap { max-width: 950px; margin: 64px auto 0; }   /* gleiche Breite wie die Tabelle darunter */
.pf-preview-wrap .wn-strip-h { text-align: left; }
.pf-preview { margin: 0; }
@media (min-width: 900px) { .pf-preview .wn-lot { flex: 1 1 0; max-width: none; } }   /* vier Karten füllen die ganze Breite */
.pf-preview:empty { display: none; }
.pf-more { text-align: center; margin: 22px 0 0; font-size: 15px; }
.pf-qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
.pf-qgrid blockquote { margin: 0 0 10px; } .pf-qgrid figcaption { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .pf-three, .pf-qgrid { grid-template-columns: minmax(0, 1fr); } .plan-desc { min-height: 0; } }

/* Preisseite: Symbole ohne Rahmen, Abo-Karten reagieren auf Hover */
.pf-ic { display: block; margin: 0 auto 10px; color: var(--ink); }
.pf-compact .plan { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.pf-compact .plan:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(29, 38, 34, .14); }
.pf-compact .plan.best:hover { transform: translateY(-5px) scale(1.012); }
.pf-compact .plan .btn { transition: transform .15s ease; }
.pf-compact .plan .btn:hover { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .pf-compact .plan, .pf-compact .plan .btn { transition: none; } .pf-compact .plan:hover, .pf-compact .plan.best:hover, .pf-compact .plan .btn:hover { transform: none; } }
.pf-compact .plan .btn { margin-top: auto; } .pf-compact .plan-note { margin-bottom: 14px; }

/* Kostenrechner (/kostenrechner) */
.kr { margin-top: 28px; padding-bottom: 40px; }
.kr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.kr-form h2 { font-size: 17px; letter-spacing: -.015em; margin: 6px 0 -4px; }
.kr-form h2 small, .kr-form label small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.kr-chk { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; }
.kr-chk input { width: auto !important; margin-top: 3px; }
.kr-opts { display: grid; gap: 10px; }
.kr-hint { font-size: 13px; line-height: 1.5; margin: 0; }
.kr-more { border-top: 1px solid var(--line); padding-top: 12px; }
.kr-more summary { cursor: pointer; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.kr-more .k-two { margin-bottom: 14px; }
.kr-out { position: sticky; top: calc(var(--hdr) + 16px); }
.kr-card h2 { font-size: 17px; letter-spacing: -.015em; margin: 22px 0 8px; }
.kr-card h2:first-child { margin-top: 0; }
.kr-card table { width: 100%; border-collapse: collapse; }
.kr-card td { padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.kr-card tr:first-child td { border-top: 0; }
.kr-card td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 14px; }
.kr-card small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.4; }
.kr-card .kr-src a { color: var(--muted); text-decoration: underline; }
.kr-sum td { font-weight: 700; background: rgba(29, 38, 34, .04); }
.kr-total td { font-size: 18px; font-weight: 800; border-top: 2px solid var(--ink) !important; }
.kr-na { color: var(--red); font-weight: 600; font-size: 13px; white-space: normal; }
.kr-miss { color: var(--red) !important; }
.kr-warn { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #FBF1DC; color: #6A4A06; font-size: 14px; }
.kr-ref { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; }
.kr-stand { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); text-align: right; }
.kr-empty { color: var(--muted); }
.kr-cmp { margin-top: 28px; }
.kr-cmp h2 { font-size: 19px; margin: 0 0 6px; }
.kr-cmp-in { display: grid; gap: 6px; font-weight: 600; font-size: 14px; margin: 12px 0; }
.kr-cmp-in input { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; width: 100%; box-sizing: border-box; background: #fff; }
.kr-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kr-cmpt { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
.kr-cmpt th, .kr-cmpt td { padding: 9px 10px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; }
.kr-cmpt th:first-child, .kr-cmpt td:first-child { text-align: left; }
.kr-cmpt th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-top: 0; }
.kr-fine { margin: 16px 4px 0; font-size: 13px; color: var(--muted); max-width: 90ch; }
@media (max-width: 860px) { .kr-grid { grid-template-columns: minmax(0, 1fr); } .kr-out { position: static; } }

.kr-gray { color: var(--muted); font-weight: 500; font-size: 13px; }

/* Budget im Inserat: drei Regler und zwei Balken */
.fin { container-type: inline-size; }
.fin .fin-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: #fff; border-radius: 14px; overflow: hidden; margin: 14px 0 6px; border: 1px solid var(--line); }
.fin .fin-col { background: var(--stone); padding: 14px 16px 16px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.fin .fin-col label { font-weight: 700; font-size: 15px; }
.fin .fin-col small { color: var(--muted); font-size: 12px; margin: 0; }
.fin .fin-nb { display: flex; gap: 6px; }
.fin .fin-nb input { flex: 1 1 0; width: 0 !important; min-width: 0; font: inherit; font-size: 17px; font-weight: 600; padding: 9px 11px; border: 0; border-bottom: 2px solid var(--stone-deep); border-radius: 0; background: #fff; box-sizing: border-box; }
.fin .fin-nb input:focus { outline: none; border-bottom-color: var(--red); }
.fin .fin-step { width: 38px; border: 0; border-radius: 8px; background: #fff; color: var(--ink); font-size: 20px; font-weight: 700; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.fin .fin-step:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.fin input[type=range].fin-range { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 10px 0 0; background: transparent; cursor: pointer; }
.fin .fin-range::-webkit-slider-runnable-track { height: 18px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(29,38,34,.28) 0 2px, transparent 2px 6px); }
.fin .fin-range::-moz-range-track { height: 18px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(29,38,34,.28) 0 2px, transparent 2px 6px); }
.fin .fin-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -8px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 18px no-repeat; border: 0; box-shadow: 0 3px 10px rgba(196,18,47,.35); transition: transform .15s ease; }
.fin .fin-range::-moz-range-thumb { width: 34px; height: 34px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 18px no-repeat; border: 0; }
.fin .fin-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.fin .fin-range:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.fin .fin-pk { margin: 8px 0; font-size: 13px; color: var(--muted); }
.fin .fin-pk summary { cursor: pointer; font-weight: 600; }
.fin .fin-pk label { display: grid; gap: 4px; margin-top: 8px; max-width: 320px; font-weight: 600; font-size: 13px; color: var(--ink); }
.fin .fin-pk input { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.fin .fin-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 20px 0 8px; }
.fin .fin-chart { margin: 0; }
.fin .fin-chart figcaption { text-align: center; font-weight: 700; font-size: 13.5px; margin-top: 8px; }
.fin .fin-plot { position: relative; height: 230px; border-bottom: 2px solid var(--ink); padding: 22px 0 0; }
.fin .fin-bar { position: relative; height: 100%; width: 46%; margin: 0 auto; display: flex; flex-direction: column-reverse; }
.fin .fin-seg { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: height .45s cubic-bezier(.2,.8,.2,1), background .3s ease; font-size: 12.5px; font-weight: 700; color: var(--ink); min-height: 0; }
.fin .fin-seg span { padding: 0 4px; text-align: center; line-height: 1.2; }
.fin .fin-seg.hyp { background: var(--stone-deep); }
.fin .fin-seg.ek.idle { background: rgba(29,38,34,.18); }
.fin .fin-seg.ek.ok, .fin .fin-seg.cost.ok { background: #7FC596; }
.fin .fin-seg.ek.bad, .fin .fin-seg.cost.bad { background: #E58A98; }
.fin .fin-mark { position: absolute; left: -26%; right: -26%; border-top: 2px dashed var(--ink); transition: bottom .45s cubic-bezier(.2,.8,.2,1); }
.fin .fin-mark span { position: absolute; right: 0; bottom: 3px; font-size: 11.5px; font-weight: 600; background: #fff; padding: 0 5px; border-radius: 4px; white-space: nowrap; }
.fin .fin-mark.top { border-top: 1px dotted var(--stone-deep); }
.fin .fin-mark.top span { left: 0; right: auto; font-weight: 500; color: var(--muted); background: transparent; }
.fin .fin-empty { position: absolute; inset: 22px 0 0; display: grid; place-content: center; text-align: center; color: var(--muted); font-size: 13.5px; }
.fin .fin-verdict { margin: 14px 0 8px; padding: 12px 16px; border-radius: 12px; background: rgba(29,38,34,.06); font-weight: 600; font-size: 14.5px; transition: background .3s ease; }
.fin .fin-verdict.ok { background: #E3F1E7; color: #1E5B34; }
.fin .fin-verdict.bad { background: #FBE9EC; color: #8E0D22; }
.fin .fin-max { margin: 12px 0 0; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fin .fin-take { padding: 6px 14px; font-size: 13px; width: auto; margin-top: 0; }
.fin .fin-ann { margin-top: 12px; font-size: 13px; color: var(--muted); }
.fin .fin-ann summary { cursor: pointer; font-weight: 600; }
.fin table { width: 100%; border-collapse: collapse; }
.fin td { padding: 7px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 14.5px; }
.fin td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.fin small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
@container (min-width: 700px) { .fin .fin-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .fin .fin-charts { grid-template-columns: minmax(0, 1fr); } .fin .fin-plot { height: 200px; } }
@media (prefers-reduced-motion: reduce) { .fin .fin-seg, .fin .fin-mark, .fin .fin-step { transition: none; } }

/* Kopfzeile: Platz für die Konto-Knöpfe schon vor dem Laden freihalten (sonst springt die Seite auf dem Handy um 11 px nach unten) */
@media (max-width: 640px) { .account { min-height: 43px; } }

/* Platz für Inhalte freihalten, die erst nach dem Laden der Daten erscheinen (Hauptobjekt und Terminstrahl der Startseite): verhindert das Springen der Seite */
#spotlight { min-height: 517px; }
#radar { min-height: 215px; }
@media (min-width: 641px) { #spotlight { min-height: 600px; } #radar { min-height: 241px; } }
@media (min-width: 641px) and (max-width: 1000px) { #spotlight { min-height: 640px; } }

/* Filterleiste der Listenseiten: Höhe vorab freihalten, die Chips kommen erst mit den Daten */
#filters { min-height: 112px; align-content: flex-start; }
@media (min-width: 721px) { #filters { min-height: 62px; } }

/* Überschrift und Anzahl auf dem Handy immer untereinander (nebeneinander hing von der Schriftbreite ab und liess die Seite springen) */
@media (max-width: 640px) { .list-head { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* Vorbeigegangene Versteigerungen: nur Hinweiszeile, nicht klickbar */
.lot.ended { cursor: default; opacity: .72; box-shadow: none; }
.lot.ended:hover { transform: none; box-shadow: none; }
.lot.ended .lot-body { padding: 14px 16px; }
.lot.ended h3 { font-size: 1rem; margin: 4px 0; }
.lot.ended .ended-tag { display: flex; gap: 8px; align-items: baseline; margin: 0; font-size: .85rem; color: var(--muted, #5b6b64); }
.lot.ended .ended-tag b { color: var(--ink, #1d2622); }

/* Anmeldefenster: Hinweis unter dem Passwortfeld und Umschalter zwischen Anmelden, Konto erstellen und Passwort vergessen */
.login .l-hint { font-size: 13px; margin: -8px 0 14px; }
.login .l-nav { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 0; }
.login .l-switch { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-align: left; cursor: pointer; }
.login .l-switch:hover { color: var(--red, #b3261e); }

/* Anmeldefenster: Wahl zwischen Passwort und Code per E-Mail */
.login .l-tabs { display: flex; gap: 6px; margin: 0 0 16px; padding: 4px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; }
.login .l-tabs .l-switch { flex: 1; text-align: center; text-decoration: none; padding: 9px 10px; border-radius: 9px; font-weight: 600; color: var(--muted); }
.login .l-tabs .l-switch.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.login .l-show { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; margin: -6px 0 12px; color: var(--muted); cursor: pointer; }
.login .l-show input { width: auto; margin: 0; }
.login h2 { padding-right: 52px; }

/* Anmeldung in zwei Schritten */
.login .pw { position: relative; }
.login .pw input { padding-right: 46px; }
.login .pw-eye { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 8px; cursor: pointer; }
.login .pw-eye:hover, .login .pw-eye.on { color: var(--ink); background: var(--paper); }
.login .l-who { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; margin: 0 0 16px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); }
.login .l-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.login .l-who .l-switch { flex: none; }
.login .l-str { display: flex; align-items: center; gap: 5px; margin: -6px 0 12px; min-height: 18px; }
.login .l-str i { flex: 1; max-width: 56px; height: 5px; border-radius: 3px; background: var(--line); transition: background .2s; }
.login .l-str span { margin-left: 6px; font-size: 13px; color: var(--muted); }
.login .l-str[data-s="0"] i:nth-child(1) { background: #c0392b; }
.login .l-str[data-s="1"] i:nth-child(-n+1) { background: #d9822b; }
.login .l-str[data-s="2"] i:nth-child(-n+2) { background: #3c9d5a; }
.login .l-str[data-s="3"] i { background: #1f8a4c; }
.login .l-match { font-size: 13px; min-height: 18px; margin: -6px 0 12px; }
.login .l-match.ok { color: #1f8a4c; } .login .l-match.bad { color: #c0392b; }
.login button[type=submit].btn { width: 100%; justify-content: center; }
.login button[type=submit]:disabled { opacity: .5; cursor: not-allowed; }
.login input:disabled { opacity: .7; }

/* Konto-Menü */
.acct { position: relative; }
.acct-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.acct-btn:hover, .acct-btn[aria-expanded="true"] { border-color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
/* Angemeldet: roter Ring; mit Abo zusätzlich das Häkchen unten rechts */
.acct-btn { position: relative; }
.acct-btn.on { border: 2.5px solid var(--red); }
.acct-btn.on:hover, .acct-btn.on[aria-expanded="true"] { border-color: var(--red-deep); box-shadow: 0 2px 10px rgba(196,18,47,.25); }
.acct-btn.sub::after { content: ''; position: absolute; right: -5px; bottom: -5px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-sizing: border-box; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
/* Nicht angemeldet: Pille mit Symbol und «Anmelden» */
.btn-pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; }
.btn-pill svg { flex: none; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 270px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.16); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.acct-menu.open { opacity: 1; visibility: visible; transform: none; }
.acct-head { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; min-width: 0; }
.acct-head strong { font-size: 15px; } .acct-head span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-state { display: flex; align-items: center; gap: 8px; margin: 0 4px 6px; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; background: var(--paper); color: var(--muted); }
.acct-state.on { background: #e8f5ec; color: #1f6b3d; }
.acct-state .dot { width: 8px; height: 8px; border-radius: 50%; background: #1f8a4c; box-shadow: 0 0 0 3px rgba(31,138,76,.2); }
.acct-menu button[role=menuitem] { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.acct-menu button[role=menuitem]:hover, .acct-menu button[role=menuitem]:focus-visible { background: var(--paper); outline: none; }
.acct-menu button.out { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 14px; color: #b3261e; }
@media (max-width: 640px) {
  .acct-menu { z-index: 100; position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: 20px 20px 0 0; padding: 12px 12px calc(16px + env(safe-area-inset-bottom)); transform: translateY(24px); transform-origin: bottom; box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
  .acct-menu::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 8px; }
}
@media (prefers-reduced-motion: reduce) { .acct-menu { transition: none; } }
@media (max-width: 640px) { body:has(.acct-menu.open) .cookie-banner { display: none; } }

/* Newsletter-Anmeldung im Seitenfuss */
.sf-news { margin-top: 20px; max-width: 360px; display: grid; gap: 6px; }
.sf-news strong { color: #fff; font-size: 15px; }
.sf-news-sub { font-size: 13px; color: #7F8B84; }
.sf-news-row { display: flex; gap: 8px; margin-top: 4px; }
.sf-news-row input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 8px; border: 1px solid #3a4540; background: #1d2622; color: #fff; }
.sf-news-row input::placeholder { color: #7F8B84; }
.sf-news-row button { font: inherit; font-size: 14px; font-weight: 700; padding: 10px 16px; border: 0; border-radius: 8px; background: #C4122F; color: #fff; cursor: pointer; }
.sf-news-row button:disabled { opacity: .6; }
.sf-news-msg { margin: 0; font-size: 13px; min-height: 18px; color: #F2C230; }
.sf-news-msg[data-ok="1"] { color: #8fd6a8; }
.login select { width: 100%; font: inherit; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); margin: 6px 0 14px; }
.login label.l-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; margin: 0 0 14px; cursor: pointer; }
.login label.l-check input { width: auto; margin: 3px 0 0; }

/* Frische: «Neu»-Abzeichen, nahe Termine, «Zuletzt geprüft» */
.new-badge { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; box-shadow: 0 2px 8px rgba(196,18,47,.35); }
.tag.soon small { color: var(--red-deep, #A00F27); font-weight: 800; }
.hero-check { margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.hero-check::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #1f8a4c; box-shadow: 0 0 0 3px rgba(31,138,76,.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(31,138,76,0); } }
@media (prefers-reduced-motion: reduce) { .hero-check::before { animation: none; } }

/* Abgesagt und abgelaufen: schlanke Zeilen statt Karten */
.ended-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.erow { position: relative; display: block; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.erow-a { display: grid; grid-template-columns: 64px 96px 128px minmax(0, 1fr) minmax(0, 240px); gap: 4px 14px; align-items: center; padding: 8px 6px; color: inherit; text-decoration: none; }
.erow-a:hover { background: var(--paper); }
.erow .e-img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; display: block; background: var(--paper); }
.erow-a.no-img { grid-template-columns: 96px 128px minmax(0, 1fr) minmax(0, 240px); }
.erow .e-st { font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.erow.off .e-st { color: var(--red-deep, #A00F27); }
.erow .e-date { font-family: inherit; white-space: nowrap; font-variant-numeric: tabular-nums; }
.erow .e-title { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erow:hover .e-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--red); }
.erow .e-place { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.erow .fav-btn.in-row { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); z-index: 2; }
@media (max-width: 720px) { .erow-a { grid-template-columns: 64px auto 1fr; } .erow-a.no-img { grid-template-columns: auto 1fr; } .erow-a.no-img .e-st { grid-column: 1; } .erow-a.no-img .e-date { grid-column: 2; } .erow-a.no-img .e-title, .erow-a.no-img .e-place { grid-column: 1 / -1; } .erow .e-img { grid-row: 1 / span 3; } .erow .e-st { grid-column: 2; } .erow .e-date { grid-column: 3; text-align: right; } .erow .e-title { grid-column: 2 / -1; white-space: normal; } .erow .e-place { grid-column: 2 / -1; text-align: left; } }
.ended-all { margin: 14px 0 0; font-weight: 700; }
.ended-all a { text-decoration: none; }
.ended-all a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ended-note { color: var(--muted); margin: -4px 0 16px; }

/* Favoriten: Stern auf Karten, Objektseite und im Konto-Menü */
.fav-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 1px 6px rgba(0,0,0,.22); cursor: pointer; transition: transform .12s ease, background .12s; }
.fav-btn svg { fill: none; transition: fill .12s, color .12s; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.fav-btn[aria-pressed=true] { color: #d99a00; } .fav-btn[aria-pressed=true] svg { fill: currentColor; }
.media > .fav-btn { position: absolute; right: 10px; bottom: 10px; z-index: 5; }
.media:has(> .fav-btn) .count { right: 60px; bottom: 16px; }
.h1-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .h1-row h1 { flex: 1; min-width: 0; }
.fav-btn.big { flex: none; width: 46px; height: 46px; margin-top: 4px; background: #fff; border: 1px solid var(--line); box-shadow: none; }
.erow .fav-btn.in-row { width: 32px; height: 32px; box-shadow: none; border: 1px solid var(--line); }
.acct-menu a.acct-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--ink); text-decoration: none; box-sizing: border-box; }
.acct-menu a.acct-link:hover, .acct-menu a.acct-link:focus-visible { background: var(--paper); outline: none; }
.acct-n { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 11px; background: var(--paper); font-size: 13px; font-weight: 600; text-align: center; }
.fav-empty { max-width: 520px; margin: 32px auto; padding: 28px 24px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; color: var(--muted); }
.fav-empty strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 18px; }

/* Mehrere Objekte in einem Inserat */
.objn { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; vertical-align: 1px; white-space: nowrap; }
.ocount { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; text-align: center; vertical-align: 2px; }
.ocards { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.ocard { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ocard.main { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.ocard .on { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); font-size: 14px; font-weight: 700; }
.ocard.main .on { background: var(--ink); color: #fff; }
.ocard .ot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ocard .obody p { margin: 4px 0 0; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.ocard .oest { font-weight: 700; white-space: nowrap; text-align: right; }
.ochip { padding: 1px 8px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.omore { margin-top: 10px; } .omore summary { cursor: pointer; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 12px; font-weight: 600; list-style: none; }
.omore summary::-webkit-details-marker { display: none; } .omore[open] summary { margin-bottom: 10px; }
@media (max-width: 520px) { .ocard { grid-template-columns: 30px minmax(0, 1fr); } .ocard .oest { grid-column: 2; text-align: left; } }

/* Suche: Startseite, Liste, Kopfleiste */
.sb-in, .hs-field { position: relative; display: flex; align-items: center; }
.searchbar { margin: 0 0 16px; } .sb { max-width: 680px; }
.sb-in input[type=search], .hs-field input[type=search] { width: 100%; box-sizing: border-box; height: 54px; padding: 0 20px 0 50px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; font: inherit; font-size: 17px; color: var(--ink); -webkit-appearance: none; appearance: none; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: border-color .15s, box-shadow .15s; }
.sb-in input[type=search] { padding-right: 52px; }
.hs-field input[type=search] { height: 60px; padding-right: 150px; border-radius: 18px; box-shadow: 0 6px 22px rgba(29,38,34,.10); }
.sb-in input::-webkit-search-cancel-button, .hs-field input::-webkit-search-cancel-button { display: none; }
.sb-in input:focus, .hs-field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent); }
.sb-ic { position: absolute; left: 17px; color: var(--muted); pointer-events: none; }
.sb-clear { position: absolute; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.sb-clear:hover { background: var(--line); }
.sb-note { margin: 8px 4px 0; font-size: 14px; color: var(--muted); } .sb-note a { color: var(--red); font-weight: 600; }
.hero-search { margin: 0 0 22px; max-width: 520px; }
.hs-field .btn { position: absolute; right: 7px; height: 46px; padding: 0 22px; border-radius: 13px; font-size: 16px; }
.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.hs-chips .chip { text-decoration: none; color: var(--ink); font-size: 14px; transition: border-color .15s, background .15s; }
.hs-chips .chip:hover { border-color: var(--ink); background: #fff; }
.sg { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.16); max-height: 340px; overflow-y: auto; }
.sg li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 9px; cursor: pointer; font-size: 16px; }
.sg li small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.sg li.on, .sg li:hover { background: var(--paper); }
.top-r { display: flex; align-items: center; gap: 10px; }
.top-search { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.top-search:hover { border-color: var(--ink); } .top-search:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (max-width: 560px) {
  .hs-field input[type=search] { height: 56px; font-size: 16px; padding-right: 128px; }
  .hs-field .btn { height: 42px; padding: 0 16px; }
  .sg li { padding: 13px 12px; }
}

/* Newsletter im Profil und Zeichen im Konto-Menü */
.nl-box { margin: 18px 0 6px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.nl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.nl-head h3 { margin: 0; font-size: 17px; }
.nl-state { padding: 2px 10px; border-radius: 999px; background: #e7e8e2; color: var(--muted); font-size: 12px; font-weight: 700; }
.nl-state.on { background: #dff3e4; color: #1d6b34; }
.nl-prefs { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.nl-q { margin: 14px 0 6px; font-weight: 600; font-size: 15px; } .nl-q small { font-weight: 400; color: var(--muted); }
.nl-radios { display: grid; gap: 6px; } .nl-radios label { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.nl-radios input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.nl-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 4px; }
.nl-chip { position: relative; cursor: pointer; } .nl-chip input { position: absolute; opacity: 0; pointer-events: none; }
.nl-chip span { display: inline-block; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; user-select: none; transition: background .12s, border-color .12s; }
.nl-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.nl-chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.nl-sum { margin: 14px 0 10px; font-size: 14px; color: var(--muted); }

/* Kein Foto: Kennzahlen-Karte statt leerem Symbol. Oben links steht das Datumsschild, unten rechts der Stern: der Inhalt sitzt dazwischen. */
.slide.empty.kc { --kc-bg: #ece9df; --kc-bg2: #dedacb; --kc-ink: #3d3a30; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; container-type: inline-size;
  padding: clamp(60px, 22cqw, 110px) 16px clamp(50px, 16cqw, 80px); color: var(--kc-ink); background: radial-gradient(120% 90% at 85% 10%, var(--kc-bg) 0%, var(--kc-bg2) 100%); }
.kc-haus { --kc-bg: #f3ecdc; --kc-bg2: #e3d6b8; --kc-ink: #4a3f2a; } .kc-wohnung { --kc-bg: #e9f0f5; --kc-bg2: #c9d8e4; --kc-ink: #2b4357; } .kc-gewerbe { --kc-bg: #f1e9f0; --kc-bg2: #dcc9d9; --kc-ink: #51374d; }
.kc-grundstueck { --kc-bg: #eaf2e3; --kc-bg2: #cfdfc1; --kc-ink: #35502b; } .kc-parkplatz { --kc-bg: #eceeef; --kc-bg2: #d2d6d9; --kc-ink: #38404a; }
.kc-mark { position: absolute; right: -8%; bottom: -14%; width: 74%; height: auto; color: var(--kc-ink); opacity: .09; pointer-events: none; }
.kc-panel { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; max-width: 100%; padding: clamp(10px, 3.6cqw, 18px) clamp(16px, 6cqw, 30px); text-align: center;
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 6px 24px rgba(40,40,30,.10); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kc-est { font-size: clamp(26px, 10.5cqw, 50px); line-height: 1.05; letter-spacing: -.02em; font-weight: 800; white-space: nowrap; }
.kc-est.none { font-size: clamp(19px, 6.5cqw, 28px); font-weight: 600; letter-spacing: 0; opacity: .8; }
.kc-sub { font-size: clamp(12px, 3.8cqw, 16px); font-weight: 600; opacity: .72; }
.kc-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.kc-facts i { font-style: normal; padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid color-mix(in srgb, var(--kc-ink) 22%, transparent); font-size: clamp(11px, 3.5cqw, 15px); }
.slide.empty.kc figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; max-width: 55%; text-align: left; font-size: 12px; color: var(--kc-ink); opacity: .75; }
.nl-pill { margin-left: auto; padding: 2px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.nl-pill.on { background: #dff3e4; color: #1d6b34; } .nl-pill.off { background: #e9eae4; color: #777; } .nl-pill.wait { background: #fbefd0; color: #7a5a00; }
.login .nl-head { padding-right: 46px; } .login .nl-head h2 { margin: 0; }
.nl-prefs .nl-q { margin: 22px 0 8px; } .nl-prefs .nl-chips { margin-bottom: 2px; }
.nl-radios label.locked { opacity: .6; cursor: not-allowed; } .nl-lock { font-style: normal; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #e9eae4; font-size: 11px; font-weight: 700; }
.nl-note { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #fbefd0; color: #5c4500; font-size: 13px; } .nl-note a { color: inherit; font-weight: 700; }
#nl-test { margin-bottom: 20px; }
.nl-lockbox { margin-top: 14px; background: #fff; min-height: 300px; }
.nl-lockbox .lk-blur { padding: 4px 16px 16px; filter: blur(3.5px); opacity: .9; }
.nl-lockbox::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.55)); pointer-events: none; }
.nl-lockcta { position: absolute; z-index: 2; left: 50%; top: 150px; transform: translate(-50%, -50%); width: min(86%, 340px); display: grid; justify-items: center; gap: 6px; padding: 18px 18px 16px; text-align: center;
  background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.95); border-radius: 18px; box-shadow: 0 10px 34px rgba(29,38,34,.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nl-lockcta svg { color: var(--ink); } .nl-lockcta b { font-size: 17px; } .nl-lockcta small { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.nl-lockcta .btn { text-decoration: none; }
.legal-note { display: none; margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; background: #fbefd0; color: #5c4500; font-size: 14px; }
html:not([lang^="de"]) .legal-note { display: block; }

/* Hochformat-Fotos: ganz sichtbar, Rand mit verschwommener Kopie des Fotos gefüllt (statt beschnitten) */
.is-port { position: relative; isolation: isolate; }
.is-port::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(22px) saturate(1.1); transform: scale(1.1); opacity: .9; }
.is-port > img { object-fit: contain; position: relative; }
/* Bildergalerie im Vollbild: Pfeile am Desktop, Wischen am Handy, Vorschaubilder unten */
.glb { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: rgba(21, 26, 28, .98); color: #fff; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.glb-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px 0 18px; min-height: 52px; }
.glb-count { font-size: 14px; color: #C5CEC8; font-variant-numeric: tabular-nums; }
.glb-x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.glb-x:hover { background: rgba(255, 255, 255, .1); }
.glb-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; padding: 0 8px; }
.glb-fig { margin: 0; height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.glb-fig img { max-width: 100%; max-height: calc(100% - 64px); min-height: 0; object-fit: contain; border-radius: 4px; transition: opacity .12s; }
.glb-fig img.is-loading { opacity: .35; }
.glb-fig figcaption { font-size: 14px; text-align: center; color: #E6EBE7; max-width: 70ch; padding: 0 8px; }
.glb-fig figcaption small { display: block; margin-top: 2px; color: #9AA6A0; font-size: 12.5px; }
.glb-nav { justify-self: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #3A4540; background: rgba(255, 255, 255, .06); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.glb-nav:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.glb-nav:disabled { opacity: .25; cursor: default; }
.glb-strip { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 14px; scrollbar-width: thin; }
.glb-th { flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #26302C; opacity: .6; cursor: pointer; }
.glb-th:first-child { margin-left: auto; } .glb-th:last-child { margin-right: auto; }
.glb-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.glb-th:hover { opacity: .9; }
.glb-th.on { border-color: var(--gold); opacity: 1; }
.glb button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 640px) { .glb-main { grid-template-columns: minmax(0, 1fr); padding: 0; } .glb-nav { display: none; } .glb-th { width: 52px; height: 40px; } }


/* ---- Liste: Suche, Region und Art als Wisch-Reihen, Filter und Sortieren als Auswahlblatt ---- */
.searchbar { margin: 4px 0 4px; }
.region-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 12px 0 8px; }
.region-tabs::-webkit-scrollbar, .filters .kinds::-webkit-scrollbar { display: none; }
.region-tabs .chip { flex: none; white-space: nowrap; }
.filters { gap: 12px 12px; padding: 4px 0 8px; }
.filters .kinds { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.filters .kchip { flex: none; white-space: nowrap; padding: 8px 15px; font-size: 15px; font-weight: 600; }
.ftools { display: flex; gap: 8px; margin-left: auto; }
.fbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.fbtn:hover, .fbtn[aria-expanded="true"] { background: var(--paper); }
.fbtn .bdg { background: var(--red); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 1px 7px; }
.aflt { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.achip { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--red-soft); color: var(--red-deep); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.achip:hover { background: #f6d3d9; }
.achip i { font-style: normal; font-size: 12px; }
.aflt .clr { border: 0; background: none; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 4px 6px; }
.empty-act { margin: 0 0 24px; }
@media (max-width: 720px) {
  .region-tabs, .filters .kinds { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .filters .kinds { flex: 1 1 100%; }
  .ftools { width: 100%; }
  .ftools .fbtn { flex: 1; }
}
/* Auswahlblatt */
.fover { position: fixed; inset: 0; z-index: 120; }
.fover .fdim { position: absolute; inset: 0; background: rgba(21, 26, 28, .45); }
.fover .fpanel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; display: flex; flex-direction: column; background: var(--surface); border-radius: 22px 22px 0 0; padding: 8px 18px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); outline: none; }
.fover .grab { position: relative; width: 100%; height: 28px; margin: 0 0 2px; flex: none; cursor: grab; touch-action: none; }
.fover .grab::before { content: ''; position: absolute; left: 50%; top: 11px; width: 42px; height: 4px; margin-left: -21px; border-radius: 2px; background: var(--stone-deep); }
@media (max-width: 720px) { .fover .fhead { touch-action: none; } }
.fhead { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex: none; }
.fhead b { font-size: 20px; flex: 1; }
.flink { border: 0; background: none; font: inherit; font-size: 15px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.fclose { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); font-size: 15px; cursor: pointer; }
.fbody { scrollbar-width: none; overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; }
.fh { margin: 18px 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fbody > .fh:first-child { margin-top: 4px; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { border: 1.5px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.pchip span { opacity: .6; font-weight: 500; margin-left: 4px; }
.pchip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.hist { display: flex; align-items: flex-end; gap: 3px; height: 48px; margin: 4px 0 10px; }
.hist i { flex: 1; background: var(--stone); border-radius: 2px 2px 0 0; }
.hist i.on { background: var(--red); }
.rng { display: flex; gap: 10px; margin-bottom: 10px; }
.rng label { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 12px; display: block; }
.rng small { display: block; color: var(--muted); font-size: 12px; }
.rng input { width: 100%; border: 0; outline: none; font: inherit; font-size: 17px; font-weight: 600; padding: 2px 0; background: none; }
.rng label:focus-within { border-color: var(--ink); }
.fnote { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.tog { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 16px; cursor: pointer; position: relative; }
.tog input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tog .sw { flex: none; width: 46px; height: 28px; border-radius: 14px; background: var(--stone-deep); position: relative; transition: background .15s; }
.tog .sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s; }
.tog input:checked + .sw { background: var(--red); }
.tog input:checked + .sw::after { left: 21px; }
.tog input:focus-visible + .sw { outline: 3px solid var(--ink); outline-offset: 2px; }
.fcta { padding-top: 14px; }
.fcta .btn { width: 100%; padding: 15px; font-size: 17px; font-weight: 800; border-radius: 14px; }
.fcta .btn:disabled { opacity: .5; }
.sopt { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; border-bottom: 1px solid var(--paper); background: none; padding: 14px 4px; font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.sopt i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--stone-deep); flex: none; box-sizing: border-box; }
.sopt[aria-checked="true"] { font-weight: 700; }
.sopt[aria-checked="true"] i { border: 7px solid var(--red); }
html.fover-open { overflow: hidden; }
@media (min-width: 721px) {
  /* Sortieren: Menü unter dem Knopf; Filter: Seitenleiste rechts */
  .fover.sort .fdim { background: transparent; }
  .fover.sort .fpanel { left: auto; bottom: auto; width: 340px; border-radius: 16px; padding: 10px; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0, 0, 0, .18); }
  .fover.sort .grab, .fover.sort .fhead { display: none; }
  .fover.filter .fpanel { left: auto; top: 0; width: 430px; max-height: none; border-radius: 0; padding: 18px 24px 22px; }
  .fover.filter .grab { display: none; }
}
@media (prefers-reduced-motion: no-preference) { .fover .fpanel { animation: fslide .2s ease-out; } @keyframes fslide { from { transform: translateY(24px); opacity: .6; } } }

/* Filter und Sortieren ohne Abo: Milchglas mit Hinweis, sobald jemand etwas ändern will */
.fover .fpanel { overflow: hidden; }
.flock-catch { position: absolute; left: 0; right: 0; bottom: 0; touch-action: pan-y; display: grid; place-items: center; pointer-events: auto; background: transparent; }
.flock-cta { display: none; justify-items: center; gap: 4px; text-align: center; padding: 22px 24px; max-width: 320px; background: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .95); border-radius: 18px; box-shadow: 0 6px 24px rgba(40, 40, 30, .14); color: var(--ink); }
.flock-cta small { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.fpanel.glass .flock-catch { background: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); animation: flockin .18s ease-out; }
.fpanel.glass .flock-cta { display: grid; }
@keyframes flockin { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fpanel.glass .flock-catch { animation: none; } }

/* Handy: das Blatt wird nach unten gezogen, darum kein ✕ (Desktop behält es, dort gibt es keine Wischgeste) */
@media (max-width: 720px) { .fover .fclose { display: none; } .fhead b { flex: 1; } }
/* Kontomenü als Blatt: Griff oben, nach unten ziehbar */
.acct-menu .agrab { display: none; }
@media (max-width: 640px) {
  .acct-menu::before { display: none; }
  .acct-menu .agrab { display: block; position: relative; height: 24px; margin: -4px 0 0; touch-action: none; }
  .acct-menu .agrab::before { content: ''; position: absolute; left: 50%; top: 8px; width: 42px; height: 4px; margin-left: -21px; border-radius: 2px; background: var(--stone-deep, var(--line)); }
}

.fbody::-webkit-scrollbar { display: none; }

/* Anmelde- und Konto-Fenster am Handy: oben verankert und kompakt, damit die Tastatur den «Weiter»-Knopf nicht verdeckt; die Höhe folgt dem sichtbaren Bereich (--vvh) */
@media (max-width: 640px) {
  #login { margin: max(10px, env(safe-area-inset-top)) auto auto; max-height: calc(var(--vvh, 100dvh) - 20px); overflow-y: auto; overscroll-behavior: contain; }
  #login .d-inner { padding: 18px 16px 18px; }
  #login h2 { font-size: 21px; margin-bottom: 8px; padding-right: 48px; }
  #login .d-close { top: 10px; right: 10px; }
  .login p { margin-bottom: 12px; }
  .login input { font-size: 16px; margin-bottom: 10px; }   /* 16 px: iOS zoomt sonst beim Antippen */
}


/* Teilen-Knopf neben dem Stern und Inserat-Nummer */
.h1-act { display: flex; gap: 8px; align-items: flex-start; flex: none; }
.share-btn { flex: none; width: 46px; height: 46px; margin-top: 4px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.share-btn:hover { border-color: var(--ink); } .share-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.obj-nr { margin: 18px 0 0; color: var(--muted); font-size: 14px; } .obj-nr span { font-variant-numeric: tabular-nums; }

/* Inserat unter der Maus: das aktuelle Foto zoomt leicht, der Rahmen der Karte bleibt gleich (das Bild ist im Rahmen abgeschnitten); nur mit Maus und ohne «Bewegung reduzieren» */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lot .slide:not(.locked):not(.empty) img { transition: transform .5s cubic-bezier(.2, .6, .2, 1); will-change: transform; }
  .lot:not(.is-off):hover .slide:not(.locked):not(.empty) img { transform: scale(1.07); }
}

/* Gruppen: Inserate derselben Liegenschaft (Anteile, Einheiten im selben Haus) */
.grp { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 14px 0; }
.grp-t { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.grp-t span { font-weight: 600; text-transform: none; letter-spacing: 0; margin-left: 6px; color: var(--ink); }
.grp-bar { display: flex; gap: 4px; min-height: 46px; margin: 0 0 8px; }
.grp-bar.many { overflow-x: auto; padding-bottom: 4px; }
.grp-bar.many .grp-seg { flex: 0 0 auto !important; min-width: 120px; }
.grp-seg { box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 6px 12px; border-radius: 10px; border: 2px solid var(--stone-deep); background: var(--paper); color: var(--ink); font-size: 13px; line-height: 1.25; text-decoration: none; }
.grp-seg b { font-size: 15px; }
.grp-seg small { color: var(--muted); }
a.grp-seg { background: var(--surface); border-color: var(--ink); }
a.grp-seg:hover, a.grp-seg:focus-visible { background: var(--paper); }
.grp-seg.me { background: var(--ink); border-color: var(--ink); color: #fff; }
.grp-seg.me small { color: #cdd6cf; }
.grp-x { margin: 0; font-size: 13.5px; color: var(--ink); }
.grp-tag { display: inline-block; margin: 2px 0 0; font-size: 11.5px; font-weight: 700; border: 1px solid var(--ink); border-radius: 999px; padding: 1px 9px; background: var(--surface); }

/* Abgelaufen (Termin vorbei, bis 4 Stunden danach) und Archiv */
.lot.expired .media, .lot.expired .frame { filter: grayscale(1) brightness(.85); }
.exp-note { display: flex; gap: 8px; align-items: baseline; margin: 0 0 4px; font-size: .85rem; color: var(--muted); }
.exp-note b { background: var(--ink); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: .75rem; }
.exp-banner { background: var(--stone); border: 1px solid var(--stone-deep); border-radius: 14px; padding: 12px 14px; margin: 12px 0; color: var(--ink); }
.exp-banner b { display: block; font-size: 1rem; }
.exp-banner p { margin: 3px 0 0; font-size: .9rem; }
.lot.ended .ended-more { margin: 4px 0 0; font-size: .85rem; }
.lot.ended .ended-more a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.lot.ended { cursor: pointer; }
.lot.ended .lot-link { color: inherit; text-decoration: none; }
.lot.ended .lot-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.lot.ended .fav-btn, .lot.ended .ended-more a { position: relative; z-index: 2; }
.lot.ended .lot-link:hover { text-decoration: underline; }
.archiv .archiv-img { position: relative; margin-bottom: 14px; }
.archiv .archiv-img img { filter: grayscale(1) brightness(.85); }
.archiv-band { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(29, 38, 34, .85); color: #fff; font-weight: 700; padding: 9px 14px; font-size: .9rem; }
.archiv .archiv-more .btn { margin: 4px 6px 4px 0; display: inline-block; }

/* Newsletter ohne Abo: Einstellungen sichtbar, beim ersten Antippen Milchglas mit Hinweis (wie bei den Filtern) */
.nl-ctl { position: relative; margin-top: 14px; border-radius: 14px; overflow: hidden; }
.nl-glass { position: absolute; inset: 0; z-index: 2; display: grid; align-items: start; justify-items: center; background: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); animation: flockin .18s ease-out; }
.nl-glass .nl-lockcta { position: sticky; top: 28vh; left: auto; transform: none; margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { .nl-glass { animation: none; } }

/* Admin: Ansicht umschalten (Admin / Abo / Free) und Anzeige der aktuellen Ansicht */
.vsw { display: flex; align-items: center; gap: 4px; margin: 0 4px 8px; padding: 4px; border-radius: 12px; background: var(--paper); }
.vsw-l { font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 6px 0 8px; }
.vsw-b { flex: 1; border: 0; border-radius: 9px; padding: 8px 6px; font: inherit; font-size: 13px; font-weight: 600; background: transparent; color: var(--muted); cursor: pointer; }
.vsw-b.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(29, 38, 34, .18); }
.vbadge { position: fixed; left: 10px; bottom: 10px; z-index: 40; border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12px; font-weight: 700; color: #fff; background: #5b6660; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); cursor: pointer; opacity: .92; }
.vbadge.abo { background: #1f6b3d; } .vbadge.free { background: #C4122F; }

/* Ähnliche Inserate unter der Objektseite */
.sim { margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line); container-type: inline-size; }
.sim-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sim-h h2 { margin: 0; font-size: 24px; letter-spacing: -.01em; }
.sim-more { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
/* Eine einzige Reihe. Schmal (Handy, Tablet): Karten etwas kleiner, Reihe seitlich verschiebbar, alle 8 erreichbar.
   Breit: erst werden die Karten bis zur Mindestbreite (190 px) verkleinert, erst dann wird ihre Zahl verringert. Platz für 8 Karten ab 1646 px, 7 ab 1438, 6 ab 1230, 5 ab 1022, 4 ab 814 px. */
.sim-grid { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.sim-lot { flex: 0 0 clamp(150px, 42vw, 200px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px; color: var(--ink); text-decoration: none; min-width: 0; }
.sim-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-photo); overflow: hidden; background: var(--paper); }
.sim-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sim-img em { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-style: normal; font-size: 12px; font-weight: 700; }
.sim-t { margin-top: 10px; font-weight: 700; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.sim-lot:hover .sim-t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--red); }
.sim-m { color: var(--muted); font-size: 14px; }
.sim-p { font-size: 14px; font-weight: 600; }
@container (min-width: 814px) {
  .sim-grid { overflow: visible; }
  .sim-lot { flex: 1 1 0; max-width: 260px; }
  .sim-lot:nth-child(n+5) { display: none; }
}
@container (min-width: 1022px) { .sim-lot:nth-child(5) { display: flex; } }
@container (min-width: 1230px) { .sim-lot:nth-child(6) { display: flex; } }
@container (min-width: 1438px) { .sim-lot:nth-child(7) { display: flex; } }
@container (min-width: 1646px) { .sim-lot:nth-child(8) { display: flex; } }
@media (max-width: 814px) { .sim-t { font-size: 15px; } .sim-m, .sim-p { font-size: 13px; } .sim-img em { font-size: 11px; padding: 2px 8px; left: 8px; top: 8px; } }
@media (max-width: 520px) { .sim-h { flex-direction: column; gap: 4px; } }

/* Termin noch offen */
.open-note { margin: -6px 0 14px; color: var(--muted); font-size: 14px; max-width: 62ch; }

/* Gesperrtes Inserat (Termin noch offen): Aufbau der echten Seite, Bild frei, der Rest unter Milchglas */
.gesperrt-img { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r-photo); overflow: hidden; background: var(--paper); display: grid; place-items: center; color: var(--muted); }
.gesperrt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gesperrt-tag { position: absolute; left: 14px; top: 14px; background: #D7DAD2; border-radius: 6px; padding: 6px 12px; text-align: left; }
.gesperrt-tag b { display: block; font-size: 16px; font-weight: 800; }
.gesperrt-tag small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.gesperrt-stage { display: grid; margin-top: 18px; }
.gesperrt-stage > * { grid-area: 1 / 1; }
.gesperrt-bg, .gesperrt-side { filter: blur(7px); pointer-events: none; user-select: none; -webkit-user-select: none; }
.gesperrt-bg .gs-h { font-size: 34px; letter-spacing: -.02em; margin: 6px 0 10px; }
.gesperrt-bg .gs-p { margin: 0 0 14px; color: var(--muted); font-size: 17px; }
.gesperrt-glass { margin: -8px; display: grid; align-items: start; justify-items: center; padding: 30px 12px; background: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 14px; }
.gesperrt-card { width: 100%; max-width: 520px; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 26px 26px 22px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 36px rgba(29, 38, 34, .16); }
.gesperrt-card h1 { margin: 2px 0 0; font-size: 25px; letter-spacing: -.01em; }
.gesperrt-card p { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.5; }
.gesperrt-act { margin-top: 4px !important; }
.gesperrt-wiss { width: 100%; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.gesperrt-wiss small { color: var(--muted); font-size: 12px; letter-spacing: .5px; text-transform: uppercase; font-weight: 700; text-align: left; }
.gesperrt-lnk { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; }
.gesperrt-lnk i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #F3E3E6; display: grid; place-items: center; color: var(--red); }
.gesperrt-lnk span { flex: 1; }
.gesperrt-lnk em { font-style: normal; color: var(--muted); font-weight: 400; display: block; font-size: 13px; }
.gesperrt-lnk b { color: var(--muted); }
.gesperrt-lnk:hover { border-color: var(--red); }
/* gesperrte Karte in der Liste */
.lot.locked .lot-lockmedia { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-photo); overflow: hidden; background: var(--paper); display: grid; place-items: center; color: var(--muted); }
.lot.locked .lot-lockmedia img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lot.locked .tag.open { position: absolute; left: 12px; top: 12px; }
.lot.locked { cursor: pointer; }
.lot-lock { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-top: 4px; }
.lot-lock svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 640px) { .gs-facts { grid-template-columns: repeat(2, 1fr); } }

/* Newsletter-Fenster: Hinweis bei nicht gespeicherten Änderungen */
.nl-ask-b { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
#l-form > .nl-glass { border-radius: 14px; }   /* Milchglas über dem ganzen Fenster, Karte bleibt beim Scrollen im Bild */

/* Newsletter-Fenster: Speichern bleibt immer sichtbar, man muss nicht scrollen; Hinweis fest im Bild */
.nl-foot { position: sticky; bottom: 0; z-index: 3; margin: 14px -2px 0; padding: 12px 2px 2px; background: linear-gradient(to bottom, transparent, var(--surface) 28%); }
.nl-foot .btn { width: 100%; justify-content: center; }
.nl-glass.nl-askfix { position: fixed; inset: 0; z-index: 50; align-items: center; border-radius: 0; background: rgba(255, 255, 255, .5); }
.nl-askfix .nl-lockcta { position: static; top: auto; margin: 0; transform: none; width: min(88%, 340px); }
@media (max-height: 700px) { .login .nl-q { margin: 10px 0 6px; } .login .nl-chips { gap: 6px; } .login .nl-sum { margin: 8px 0 0; } }

.admin-link .admin-stat { margin-left: 10px; font-size: 14px; color: var(--muted); white-space: nowrap; } .admin-link .admin-stat b { color: var(--ink); } .admin-link .admin-stat small { font-size: 12px; }

/* Einzelkauf Unterlagen (Seitenleiste Inserat) */
.buy-box { border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #fff, #F7F8F4); padding: 16px; margin: 0 0 6px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.buy-top { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; }
.buy-ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #FBE9EC; color: var(--red, #C4122F); }
.buy-h { margin: 0; font-size: 16px; line-height: 1.25; }
.buy-sub { margin: 3px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.buy-list { list-style: none; margin: 0 0 14px; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.buy-list li { display: flex; gap: 9px; align-items: center; }
.buy-list svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #E6F3EA; color: #1F7A3F; box-sizing: border-box; }
.buy-box .btn { width: 100%; }
.buy-box .fine { margin: 10px 0 0; line-height: 1.4; }
.buy-or { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0; }
.buy-mobile { display: none; }
@media (max-width: 900px) { .buy-mobile { display: block; margin: 0 0 18px; } }
.buy-mobile .buy-or { display: none; }
.buy-side { margin-top: 14px; }
.buy-deal { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 16px 0 0; padding: 16px; border-radius: 16px; border: 2px dashed var(--red, #C4122F); background: #FFF6F7; }
.buy-deal-t { flex: 1 1 260px; min-width: 0; }
.buy-deal-t b { font-size: 17px; }
.buy-deal-t p { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.4; }
.buy-deal .btn { flex: none; }
@media (max-width: 560px) { .buy-deal .btn { width: 100%; } }
.abo-all { margin: 0 0 10px; display: grid; gap: 3px; }
.abo-all b { font-size: 16px; }
.abo-all span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.buy-box .fine { font-size: 13px; color: var(--muted); }
/* Kaufknöpfe Einzelkauf: gelb mit dunkler Schrift (wie in der Newsletter-Mail), damit sie sich vom roten Abo-Knopf abheben */
.buy-box .btn, .buy-deal .btn { background: #F2C230; border-color: #F2C230; color: #1D2622; font-weight: 800; }
.buy-box .btn:hover, .buy-deal .btn:hover { background: #E5B31A; border-color: #E5B31A; color: #1D2622; }
.buy-ic { background: #FFF3CC; color: #1D2622; }
.buy-deal { border-color: #E3B820; background: #FFF8E1; }
/* Kaufboxen im Stil der Newsletter-Mail: dunkler Kasten, weisse Schrift, gelber Knopf */
.buy-box { background: #1D2622; border-color: #1D2622; box-shadow: none; color: #fff; }
.buy-box .buy-h, .buy-box .buy-h b { color: #fff; }
.buy-box .buy-sub { color: #C9D1CB; }
.buy-ic { background: rgba(242, 194, 48, .16); color: #F2C230; }
.buy-box .buy-list { border-top-color: rgba(255, 255, 255, .16); color: #E3E7E4; }
.buy-box .buy-list svg { background: rgba(242, 194, 48, .18); color: #F2C230; }
.buy-box .fine { color: #AEB8B1; }
.buy-deal { background: #1D2622; border: 0; color: #fff; }
.buy-deal-t b { color: #fff; }
.buy-deal-t p { color: #C9D1CB; }

/* Newsletter-Fenster: Status-Pille mit eingebautem Schalter (wie bei iOS) */
.nl-sw { display: inline-flex; align-items: center; gap: 10px; padding: 4px 4px 4px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; background: #E6F3EA; color: #1d6b34; white-space: nowrap; transition: background .2s, color .2s; }
.nl-sw.off { background: #ECEEE8; color: var(--muted); }
.nl-sw.wait { background: #FFF3CC; color: #8a6d00; }
.login .ios { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; margin: 0; }
.login .ios input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.login .ios i { position: absolute; inset: 0; border-radius: 13px; background: #D5D8D0; transition: background .2s; }
.login .ios i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: left .2s; }
.login .ios input:checked + i { background: #34C759; }
.login .ios input:checked + i::after { left: 20px; }
.login .ios input:disabled { cursor: default; }
.login .ios input:focus-visible + i { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .nl-sw, .login .ios i, .login .ios i::after { transition: none; } }

/* Konto-Menü: kleiner Schalter als Statusanzeige (nur Anzeige) */
.nl-mini { margin-left: auto; position: relative; flex: none; width: 36px; height: 22px; border-radius: 11px; background: #D5D8D0; transition: background .2s; }
.nl-mini::after { content: ''; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .2s; }
.nl-mini.on { background: #34C759; } .nl-mini.on::after { left: 16px; }
.nl-mini.wait { background: #F2C230; } .nl-mini.wait::after { left: 9px; }
/* Ohne Abo frei sichtbare Fotos im Abschnitt «Fotos» */
.pub-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 12px; }
.pub-fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: #E8EAE3; display: block; }
