/* Leineblick Immobilien – Richtung A „Leinelauf“ (Navy und Messing, editorial-filmisch) */

/* ---------- Schriften ---------- */
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-wght.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-wght-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Ersatzschriften mit angepassten Maßen gegen Layoutsprünge beim Schriftwechsel */
@font-face { font-family: "Cormorant Ersatz"; src: local("Georgia"), local("Times New Roman"), local("DejaVu Serif"); size-adjust: 84%; ascent-override: 95%; descent-override: 29%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Ersatz"; src: local("Arial"), local("Helvetica"), local("DejaVu Sans"); size-adjust: 97%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }

/* ---------- Grundwerte ---------- */
:root {
  --papier: #F5F6F7;
  --weiss: #FFFFFF;
  --tinte: #13213A;
  --nacht: #0C1A2C;
  --messing: #A8834F;
  --messing-hell: #CBA86C;
  --schiefer: #4B5869;
  --linie: #D5DAE0;
  --uferlinie: #22344F;
  --nebel: #C9D1DC;        /* Text auf Nacht */
  --nebel-2: #9AA7B8;      /* Sekundärtext auf Nacht, 7:1 */
  --feldrahmen: #7A8696;   /* Feldrahmen auf Weiß, 3,7:1 */

  --display: "Cormorant", "Cormorant Ersatz", Georgia, serif;
  --text: "Hanken Grotesk", "Hanken Ersatz", Arial, sans-serif;

  --rand: clamp(20px, 5vw, 88px);
  --spalt: clamp(16px, 2.2vw, 32px);
  --max: 1440px;
  --kopf-h: 64px;
  --abschnitt: clamp(88px, 10vw, 184px);
  --passepartout: 8px;

  --fs-h1: clamp(46px, 25.5px + 6.29vw, 128px);
  --fs-h2: clamp(36px, 27.6px + 2.667vw, 72px);
  --fs-h3: clamp(28px, 24px + 0.8vw, 36px);
  --fs-lead: clamp(1.1875rem, 1.09375rem + 0.25vw, 1.3125rem);
  --fs-text: clamp(1.0625rem, 1.0375rem + 0.1vw, 1.125rem);
  --fs-klein: 0.875rem;

  --ease-blick: cubic-bezier(.76, 0, .24, 1);
  --ease-text: cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 768px) { :root { --passepartout: 14px; } }
@media (min-width: 1024px) { :root { --kopf-h: 76px; } }
@media (max-width: 359px) { :root { --fs-h1: 40px; --fs-h2: 31px; --fs-h3: 26px; } }
@media (max-height: 520px) and (orientation: landscape) {
  :root { --fs-h1: clamp(30px, 6vh + 14px, 48px); --fs-h2: clamp(30px, 7vh + 8px, 48px); }
  .objekt__bild, .galerie__buehne, .teilhero__bild .passepartout, .portraithero__bild .passepartout, .marcel__bild .passepartout, .schritt__bild .passepartout, .schluss__bild, .name__bild { max-height: 80svh; }
  .objekt__bild { height: 80svh; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 24px); }
body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font-family: var(--text); font-size: var(--fs-text); line-height: 1.6; font-weight: 400;
  font-kerning: normal; font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--messing-hell); color: var(--nacht); }
main:focus { outline: none; }
[hidden]:not([data-objekt]) { display: none !important; }
[data-objekt][hidden] { display: none; }
html.menue-offen { overflow: hidden; }

:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }
.dunkel :focus-visible, .fuss :focus-visible, .leinelauf :focus-visible { outline-color: var(--messing-hell); }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 200; padding: 12px 18px; background: var(--tinte); color: var(--weiss);
  font-weight: 500; text-decoration: none; transform: translateY(-160%);
}
.skip:focus { transform: none; }
.nur-vorlesen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Raster ---------- */
.raster {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalt);
  width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand);
}
.raster > * { grid-column: 1 / -1; min-width: 0; }
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--eng { padding-block: calc(var(--abschnitt) * .6); }
.dunkel { background: var(--nacht); color: var(--nebel); }

/* ---------- Typografie ---------- */
.h1, .h2, .h3, .display {
  font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.02; color: inherit;
  text-wrap: balance; overflow-wrap: break-word; hyphens: manual;
}
@media (max-width: 1279px) { .h2, .h3 { hyphens: auto; hyphenate-limit-chars: 10 5 5; } }
.h1 { font-size: var(--fs-h1); line-height: 1; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.1; }
.dunkel .h1, .dunkel .h2, .dunkel .h3 { color: var(--weiss); }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 34em; text-wrap: pretty; }
.text { max-width: 36em; text-wrap: pretty; }
.text p + p { margin-top: 1em; }
.klein { font-size: var(--fs-klein); line-height: 1.5; }
.sekundaer { color: var(--schiefer); }
.dunkel .sekundaer { color: var(--nebel-2); }
p { text-wrap: pretty; }

/* ---------- Bedienelemente ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px;
  background: var(--tinte); color: var(--weiss); border: 1px solid var(--tinte); border-radius: 0;
  font-family: var(--text); font-size: 16px; font-weight: 500; letter-spacing: .01em; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .3s var(--ease-text), color .3s var(--ease-text), border-color .3s var(--ease-text);
}
.knopf:hover { background: var(--uferlinie); border-color: var(--uferlinie); }
.knopf--hell { background: var(--weiss); color: var(--tinte); border-color: var(--weiss); }
.knopf--hell:hover { background: var(--papier); border-color: var(--papier); color: var(--tinte); }
.knopf--kontur { background: transparent; color: inherit; border-color: currentColor; min-height: 44px; padding: 0 18px; font-size: 15px; }
.knopf--kontur:hover { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
.knopf:disabled, .knopf:disabled:hover { background: var(--schiefer); border-color: var(--schiefer); color: var(--weiss); cursor: not-allowed; }
.knopf--leise { background: transparent; color: var(--tinte); border-color: var(--feldrahmen); }
.knopf--leise:hover { background: var(--weiss); border-color: var(--tinte); }

.textlink {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: inherit;
  font-weight: 500; text-decoration: none; background: none; border: 0;
}
.textlink::before, .textlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--messing);
}
.textlink::after { height: 2px; bottom: 7.5px; background: var(--tinte); transform: scaleX(0); transform-origin: left center; transition: transform .55s var(--ease-blick); }
.textlink:hover::after, .textlink:focus-visible::after { transform: scaleX(1); }
.dunkel .textlink::before, .textlink--hell::before { background: var(--messing-hell); }
.dunkel .textlink::after, .textlink--hell::after { background: var(--weiss); }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.raster > .textlink, .raster > .knopf { justify-self: start; }

/* ---------- Kopf ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--kopf-h); color: var(--tinte);
  view-transition-name: kopf; transition: transform .5s var(--ease-blick), color .35s var(--ease-text);
}
.kopf::before {
  content: ""; position: absolute; inset: 0; background: rgb(245 246 247 / .96); border-bottom: 1px solid var(--linie);
  opacity: 0; transition: opacity .35s var(--ease-text);
}
.kopf.ist-solide::before, .seite-unterseite .kopf::before { opacity: 1; }
.kopf.ist-weg { transform: translateY(-100%); }
.kopf__innen {
  position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand);
}
.kopf__logo { display: flex; align-items: center; min-height: 44px; position: relative; flex: none; width: clamp(156px, 13vw, 200px); }
.kopf__logo-bild { width: 100%; height: auto; transition: opacity .35s var(--ease-text); }
.kopf__logo-bild--hell { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.kopf--hell:not(.ist-solide) { color: var(--weiss); }
.kopf--hell:not(.ist-solide) .kopf__logo-bild--hell { opacity: 1; }
.kopf--hell:not(.ist-solide) .kopf__logo-bild--navy { opacity: 0; }

.kopf__nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.kopf__liste { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.kopf__liste a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; }
.kopf__liste a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--messing); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-blick); }
.kopf__liste a:hover::after, .kopf__liste a[aria-current="page"]::after { transform: scaleX(1); }
.kopf--hell:not(.ist-solide) .kopf__liste a::after { background: var(--messing-hell); }
.kopf__cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid currentColor;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s;
}
.kopf__cta:hover { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
.kopf--hell:not(.ist-solide) .kopf__cta:hover { background: var(--weiss); color: var(--tinte); border-color: var(--weiss); }
.kopf__menue-fuss { display: none; }
.kopf__knopf { display: none; }
.kopf--hell:not(.ist-solide) :focus-visible { outline-color: var(--weiss); box-shadow: 0 0 0 5px rgb(12 26 44 / .55); }
.kopf--hell:not(.ist-solide) .kopf__liste a, .kopf--hell:not(.ist-solide) .kopf__cta, .kopf--hell:not(.ist-solide) .kopf__knopf { text-shadow: 0 1px 10px rgb(12 26 44 / .5); }
.blick__inhalt :focus-visible { outline-color: var(--weiss); box-shadow: 0 0 0 5px rgb(12 26 44 / .55); }

/* Ohne JS: Navigation als Liste sichtbar, Kopf nicht fixiert */
html:not(.js) .kopf { position: absolute; }
@media (max-width: 1023px) {
  html:not(.js) .kopf { height: auto; position: relative; }
  html:not(.js) .kopf--hell { color: var(--tinte); }
  html:not(.js) .kopf--hell .kopf__logo-bild--hell { opacity: 0; }
  html:not(.js) .kopf--hell .kopf__logo-bild--navy { opacity: 1; }
  html:not(.js) .kopf__innen { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .kopf__nav { flex-wrap: wrap; gap: 8px 20px; }
  html:not(.js) .kopf__liste { flex-wrap: wrap; gap: 4px 20px; }
}

/* Mobil mit JS: Vollbild-Menü */
@media (max-width: 1023px) {
  .js .kopf__knopf {
    display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; padding: 0 0 0 8px; margin-right: -4px;
    background: none; border: 0; font-size: 15px; font-weight: 500; position: relative; z-index: 2;
  }
  .kopf__knopf-linien { position: relative; width: 26px; height: 12px; }
  .kopf__knopf-linien span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-blick); }
  .kopf__knopf-linien span:first-child { top: 0; }
  .kopf__knopf-linien span:last-child { bottom: 0; }
  .js .kopf__nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 32px;
    padding: calc(var(--kopf-h) + 32px) var(--rand) calc(40px + env(safe-area-inset-bottom)); background: var(--nacht); color: var(--weiss);
    visibility: hidden; opacity: 0; transition: opacity .45s var(--ease-text), visibility 0s linear .45s;
    overflow-y: auto;
  }
  .js .kopf.ist-offen .kopf__nav { visibility: visible; opacity: 1; transition: opacity .45s var(--ease-text), visibility 0s; }
  .js .kopf__liste { flex-direction: column; gap: 4px; }
  .js .kopf__liste a { font-family: var(--display); font-size: clamp(38px, 10vw, 56px); font-weight: 500; line-height: 1.1; min-height: 56px; letter-spacing: -0.01em; }
  .js .kopf__liste a::after { bottom: 6px; background: var(--messing-hell); }
  .js .kopf__cta { min-height: 52px; padding: 0 24px; font-size: 16px; background: var(--weiss); color: var(--tinte); border-color: var(--weiss); }
  .js .kopf__menue-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; color: var(--nebel-2); font-size: 15px; }
  .js .kopf__menue-fuss span { display: inline-flex; align-items: center; min-height: 44px; }
  .js .kopf__menue-fuss a { display: inline-flex; align-items: center; min-height: 44px; color: var(--nebel); }
  .js .kopf.ist-offen { color: var(--weiss); transform: none; }
  .js .kopf.ist-offen::before { opacity: 0; }
  .js .kopf.ist-offen .kopf__logo-bild--hell { opacity: 1; }
  .js .kopf.ist-offen .kopf__logo-bild--navy { opacity: 0; }
  .js .kopf.ist-offen .kopf__logo { z-index: 2; }
  .js .kopf.ist-offen .kopf__knopf-linien span:first-child { transform: translateY(5.25px) rotate(45deg); }
  .js .kopf.ist-offen .kopf__knopf-linien span:last-child { transform: translateY(-5.25px) rotate(-45deg); }
  .js .kopf.ist-offen :focus-visible { outline-color: var(--messing-hell); }
}
@media (min-width: 1024px) and (max-width: 1180px) { .kopf__liste { gap: 18px; } .kopf__cta { padding: 0 14px; } }

/* ---------- Entwurfskennzeichnung ---------- */
.entwurf-label {
  position: fixed; left: 0; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90; margin: 0; padding: 5px 3px;
  background: var(--nacht); color: var(--weiss); font-size: 10px; font-weight: 500; line-height: 1; letter-spacing: .03em;
  writing-mode: vertical-rl; transform: rotate(180deg); pointer-events: none; view-transition-name: entwurf;
  transition: bottom .45s var(--ease-blick);
}
html.schnell-an .entwurf-label { bottom: calc(66px + env(safe-area-inset-bottom)); }
/* Desktop: senkrecht im linken Seitenrand (außerhalb der Inhaltsspalte, verdeckt keinen Text) */
@media (min-width: 1024px) {
  .entwurf-label, html.schnell-an .entwurf-label { left: calc((var(--rand) - 22px) / 2); bottom: 16px; padding: 7px 5px; font-size: 11px; }
}

/* ---------- Schnellzugriff: dauerhafter Weg zur Wertermittlung ---------- */
.schnell { display: none; }
.js .schnell { display: block; position: fixed; z-index: 92; pointer-events: none; }
.schnell__link {
  display: flex; align-items: center; gap: 14px; pointer-events: auto; text-decoration: none; color: var(--weiss);
  background: var(--nacht); font-size: 15px; font-weight: 500; letter-spacing: .01em; line-height: 1.2;
}
.schnell__marke { width: 24px; height: auto; flex: none; }
.schnell__link span { position: relative; padding-bottom: 3px; }
.schnell__link span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--messing-hell); transform-origin: left; transform: scaleX(.28); transition: transform .6s var(--ease-blick); }
.schnell__link:hover span::after, .schnell__link:focus-visible span::after { transform: scaleX(1); }
.schnell__link:focus-visible { outline: 2px solid var(--messing-hell); outline-offset: -4px; }
.schnell__anruf { display: none; }
@media (max-width: 1023px) {
  .js .schnell { display: flex; left: 0; right: 0; bottom: 0; background: var(--nacht); border-top: 1px solid rgb(203 168 108 / .55); padding-bottom: env(safe-area-inset-bottom); transform: translateY(105%); visibility: hidden; transition: transform .5s var(--ease-blick), visibility 0s linear .5s; }
  .schnell__link { flex: 1 1 auto; justify-content: center; min-height: 56px; padding: 0 16px; }
  .schnell--mit-anruf .schnell__link { justify-content: flex-start; padding-left: var(--rand); }
  .schnell__anruf {
    display: flex; align-items: center; gap: 10px; flex: none; min-height: 56px; min-width: 56px; padding: 0 var(--rand) 0 20px; pointer-events: auto;
    color: var(--weiss); text-decoration: none; font-size: 15px; font-weight: 500; background: var(--nacht);
    border-left: 1px solid rgb(203 168 108 / .4);
  }
  .schnell__symbol { width: 18px; height: 18px; fill: none; stroke: var(--messing-hell); stroke-width: 1.5; stroke-linejoin: round; }
  .schnell__anruf:focus-visible { outline: 2px solid var(--messing-hell); outline-offset: -4px; }
  .schnell__anruf:active, .schnell__link:active { background: var(--uferlinie); }
  html.schnell-an .schnell { transform: none; visibility: visible; transition: transform .55s var(--ease-blick), visibility 0s; }
}
@media (max-width: 359px) { .schnell__anruf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .schnell__anruf { padding: 0 18px; } }
/* Desktop: schmaler senkrechter Reiter im rechten Seitenrand (außerhalb der Inhaltsspalte, verdeckt keinen Text) */
@media (min-width: 1024px) {
  .js .schnell { right: 0; bottom: 16px; width: min(46px, calc(var(--rand) - 6px)); opacity: 0; transform: translateX(100%); visibility: hidden; transition: opacity .35s var(--ease-text), transform .55s var(--ease-blick), visibility 0s linear .55s; }
  .schnell__link { writing-mode: vertical-rl; transform: rotate(180deg); gap: 12px; width: 100%; padding: 18px 0 16px; font-size: 14px; border-right: 1px solid rgb(203 168 108 / .7); }
  .schnell__marke { width: 20px; transform: rotate(180deg); }
  .schnell__link span { padding: 0 0 0 3px; }
  .schnell__link span::after { left: 0; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: bottom; transform: scaleY(.28); }
  .schnell__link:hover span::after, .schnell__link:focus-visible span::after { transform: scaleY(1); }
  html.schnell-an .schnell { opacity: 1; transform: none; visibility: visible; transition: opacity .45s var(--ease-text), transform .6s var(--ease-blick), visibility 0s; }
}
html.menue-offen .schnell { visibility: hidden !important; }

/* ---------- Passepartout ---------- */
.passepartout { position: relative; background: var(--weiss); padding: var(--passepartout); }
.passepartout--linie::after {
  content: ""; position: absolute; inset: -8px; border: 1px solid var(--messing); pointer-events: none;
}
.passepartout img, .passepartout video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Seitenübergang ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-raus .45s var(--ease-text) both; }
::view-transition-new(root) { animation: vt-rein .45s var(--ease-text) both; }
::view-transition-group(kopf), ::view-transition-group(entwurf) { animation-duration: .45s; }
@keyframes vt-raus { to { opacity: 0; transform: translateY(-16px); } }
@keyframes vt-rein { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* =========================================================
   STARTSEITE
   ========================================================= */

/* ---------- Hero: Blick-Öffnung ---------- */
.blick { position: relative; background: var(--papier); }
.blick__buehne { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.blick__fenster { position: absolute; inset: var(--passepartout); overflow: hidden; background: var(--nacht); }
.blick__medien { position: absolute; inset: 0; }
.blick__medien img, .blick__medien video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blick__verlauf {
  --verlauf-kopf: linear-gradient(180deg, rgb(12 26 44 / .74) 0%, rgb(12 26 44 / .62) 7%, rgb(12 26 44 / .3) 16%, rgb(12 26 44 / 0) 32%);
  position: absolute; inset: 0; pointer-events: none;
  background:
    var(--verlauf-kopf),
    linear-gradient(0deg, rgb(12 26 44 / .88) 0%, rgb(12 26 44 / .6) 32%, rgb(12 26 44 / 0) 64%);
}
.blick__inhalt {
  position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--kopf-h) + 48px); padding-bottom: clamp(44px, 8vh, 96px); color: var(--weiss);
}
.blick__inhalt .raster { row-gap: 28px; padding-inline: calc(var(--rand) + var(--passepartout)); }
.blick__titel { color: var(--weiss); max-width: 11.5em; }
.blick__titel .zeile { padding-bottom: .06em; }
.blick__unten { display: grid; gap: 24px; }
.blick__text { font-size: var(--fs-lead); line-height: 1.5; max-width: 30em; color: rgb(255 255 255 / .92); }
.blick__aktionen .knopf { min-height: 52px; }
.blick__hinweis { display: none; }
@media (min-width: 1024px) {
  .blick__titel { grid-column: 1 / span 11; }
  .blick__unten { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
  .blick__hinweis {
    display: block; position: absolute; z-index: 3; right: calc(var(--rand) + var(--passepartout)); bottom: 0; width: 1px; height: 40px;
    background: var(--messing); overflow: hidden;
  }
  .blick__hinweis::after {
    content: ""; position: absolute; left: -1px; top: -6px; width: 3px; height: 6px; background: var(--weiss); border-radius: 2px;
    animation: hinweis 2.8s var(--ease-blick) infinite; animation-play-state: paused;
  }
  .blick__hinweis.laeuft::after { animation-play-state: running; }
}
@keyframes hinweis { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }
/* Handy und Tablet: Der Text deckt fast die halbe Höhe. Die Abdunklung beginnt über dem Titel und wird unter dem
   Fließtext dicht; Himmel und Bäume darüber bleiben frei. --text-oben = Oberkante des Titels im Fenster (per JS gemessen);
   ohne JS gilt eine Schätzung (Abstand des Titels von der Fensterunterkante) */
@media (max-width: 1023px) {
  .blick__verlauf {
    --verlauf-start: var(--text-oben, calc(100% - 410px));
    background:
      var(--verlauf-kopf),
      linear-gradient(180deg, rgb(12 26 44 / 0) calc(var(--verlauf-start) - 210px), rgb(12 26 44 / .3) calc(var(--verlauf-start) - 110px), rgb(12 26 44 / .56) var(--verlauf-start), rgb(12 26 44 / .74) calc(var(--verlauf-start) + 130px), rgb(12 26 44 / .86) 100%);
  }
  .blick__text { color: var(--weiss); text-wrap: pretty; }
}
@media (max-width: 767px) and (min-height: 521px) {
  .blick__verlauf { --verlauf-start: var(--text-oben, calc(100% - 470px)); }
  .blick__inhalt .raster { row-gap: 20px; }
  .blick__unten { gap: 22px; }
  .blick__text { font-size: var(--fs-text); line-height: 1.5; }
}
/* Handy quer: Hero kompakt, damit Titel, Text und Knöpfe in die niedrige Höhe passen (steht nach den Grundregeln,
   sonst würden diese gewinnen; flache Desktop-Fenster behalten das normale Maß) */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 1023px) {
  .blick__verlauf { --verlauf-start: var(--text-oben, calc(100% - 205px)); }
  .blick__inhalt { padding-top: calc(var(--kopf-h) + 8px); padding-bottom: calc(var(--passepartout) + 16px); }
  .blick__inhalt .raster { row-gap: 14px; }
  .blick__unten { gap: 14px; }
  .blick__text { font-size: 15px; line-height: 1.45; max-width: 34em; }
  .blick__aktionen .knopf { min-height: 44px; }
  .blick__aktionen { gap: 12px 28px; }
}

/* Versprechen (im Fluss; am Desktop mit Bewegung in der gepinnten Bühne) */
.versprechen { padding-top: var(--abschnitt); }
.versprechen__titel { max-width: 13em; }
.versprechen__text { margin-top: 28px; }
.versprechen__bild { margin: 48px 0 0 8px; width: calc(100% - 16px); max-width: 420px; }
.versprechen__bild .passepartout { aspect-ratio: 4 / 5; }
@media (min-width: 1024px) {
  .versprechen .raster > .versprechen__titel { grid-column: 1 / span 7; }
  .versprechen .raster > .versprechen__text { grid-column: 8 / span 5; margin-top: 0; align-self: end; }
  .versprechen .raster > .versprechen__bild { grid-column: 8 / span 5; }
}
.blick__rahmenlinie { display: none; }
.blick__portrait { display: none; }

/* Gepinnte Variante (nur Desktop, Bewegung erlaubt, genug Höhe) */
@media (min-width: 1024px) and (min-height: 560px) {
  .js-motion .blick__buehne { height: 100vh; height: 100svh; min-height: 0; }
  .js-motion .blick { isolation: isolate; }
  .js-motion .blick .versprechen {
    position: absolute; z-index: -1; inset: 0; padding: 0; display: flex; align-items: center; pointer-events: none;
  }
  .js-motion .blick .versprechen .raster { padding-inline: calc(var(--rand) + var(--passepartout)); }
  .js-motion .blick .versprechen .raster > .versprechen__titel { grid-column: 1 / span 6; font-size: clamp(48px, 3.4vw + 12px, 80px); max-width: none; padding-top: 4vh; }
  .js-motion .blick .versprechen .raster > .versprechen__text { grid-column: 1 / span 5; margin-top: 32px; align-self: start; }
  .js-motion .blick .versprechen__titel { visibility: hidden; }
  .js-motion .blick .versprechen__text { opacity: 0; }
  .js-motion .werte { padding-top: 24px; }
  .js-motion .blick__rahmenlinie { display: block; position: absolute; z-index: 2; overflow: visible; pointer-events: none; max-width: none; }
  .blick__rahmenlinie rect { fill: none; stroke: var(--messing); stroke-width: 1; }
  .js-motion .blick__portrait { display: block; position: absolute; z-index: 1; overflow: hidden; opacity: 0; }
  .js-motion .blick .versprechen__bild { display: none; }
  .blick__portrait picture, .blick__portrait-img { display: block; width: 100%; height: 100%; object-fit: cover; }
}

/* Startzustände Ladefolge */
.js-motion .blick__fenster { clip-path: inset(50% 0 50% 0); }
.js-motion .blick__titel { visibility: hidden; }
.js-motion .blick__unten, .js-motion .seite-index .kopf, .js-motion .blick__hinweis { opacity: 0; }

/* Zeilen-Masken (SplitText) */
.zeile-mask { padding-bottom: .12em; margin-bottom: -.12em; }
.blick__medien video { opacity: 0; transition: opacity 1.2s var(--ease-text); }
.blick__medien video.laeuft { opacity: 1; }

/* ---------- Werte ---------- */
.werte { padding-block: clamp(72px, 8vw, 128px) var(--abschnitt); }
.werte__liste { display: grid; gap: 40px; }
.wert { border-top: 1px solid var(--linie); padding-top: 24px; }
.wert__titel { font-size: clamp(28px, 24px + .6vw, 32px); font-weight: 600; margin-bottom: 12px; }
.wert p { color: var(--schiefer); max-width: 28em; }
@media (min-width: 768px) { .werte__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--spalt); } }

/* ---------- Wobei ich Sie unterstütze ---------- */
.wege__kopf { margin-bottom: clamp(40px, 5vw, 80px); }

/* Aufklappende Bildkarten – Grundform (mobil gestapelt, ohne JS/Bewegung drei gleich breite Karten) */
.wege__liste { display: grid; gap: var(--spalt); margin: 0; padding: 0; list-style: none; }
.weg { position: relative; display: grid; isolation: isolate; overflow: hidden; background: var(--nacht); color: var(--weiss); }
.weg > * { grid-area: 1 / 1; min-width: 0; }
.weg__bild { position: relative; z-index: -2; aspect-ratio: 5 / 6; overflow: hidden; }
.weg__bild picture, .weg__img { display: block; width: 100%; height: 100%; }
.weg__img { object-fit: cover; }
.weg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgb(12 26 44 / .55) 0%, rgb(12 26 44 / 0) 50%);
}
.weg__inhalt {
  align-self: end; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 110px 24px 28px;
  background: linear-gradient(180deg, rgb(12 26 44 / 0) 0, rgb(12 26 44 / .62) 60px, rgb(12 26 44 / .86) 110px, rgb(12 26 44 / .9) 100%);
}
.weg__titel { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 26px + 1.2vw, 44px); line-height: 1.05; letter-spacing: -0.01em; color: var(--weiss); text-wrap: balance; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.weg__mehr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; }
.weg__mehr p { justify-self: stretch; color: rgb(255 255 255 / .92); max-width: 30em; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.weg__mehr .textlink { min-height: 44px; }
.weg__senkrecht, .weg__rahmen { display: none; }
.weg :focus-visible { outline-color: var(--messing-hell); }
@media (min-width: 640px) and (max-width: 1023px) { .weg__bild { aspect-ratio: 16 / 10; } .weg__inhalt { padding: 140px clamp(28px, 4vw, 40px) 32px; } }
@media (min-width: 1024px) {
  .wege__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: clamp(520px, 74vh, 760px); }
  .weg__bild { aspect-ratio: auto; }
  .weg__bild picture { position: absolute; inset: 0; }
  .weg::after { background: linear-gradient(0deg, rgb(12 26 44 / .95) 0%, rgb(12 26 44 / .86) 30%, rgb(12 26 44 / .5) 56%, rgb(12 26 44 / 0) 76%); }
  .weg__inhalt { padding: 32px clamp(24px, 2.4vw, 40px) clamp(28px, 2.6vw, 40px); background: none; }
}

/* Desktop mit Bewegung: Fenster öffnen sich (clip-path und transform, keine Layout-Animation) */
@media (min-width: 1024px) {
  .js-motion .wege__liste { display: block; position: relative; }
  .js-motion .weg { position: absolute; inset: 0; display: block; cursor: pointer; transition: clip-path .85s var(--ease-blick); will-change: clip-path; }
  .js-motion .weg.ist-offen { cursor: default; }
  .js-motion .weg__bild { position: absolute; top: 0; bottom: 0; left: 0; width: var(--offen-w, 60%); height: auto; transition: transform .85s var(--ease-blick); }
  .js-motion .weg__inhalt { position: absolute; left: 0; bottom: 0; width: var(--offen-w, 60%); padding: 0 clamp(32px, 3vw, 52px) clamp(32px, 3vw, 48px); transition: transform .85s var(--ease-blick); }
  .js-motion .weg__titel { font-size: clamp(36px, 22px + 1.6vw, 52px); transition: opacity .5s var(--ease-text) .5s; }
  .js-motion .weg__mehr { transition: opacity .55s var(--ease-text) .6s, transform .75s var(--ease-text) .55s; }
  .js-motion .weg:not(.ist-offen) .weg__titel { opacity: 0; transition-delay: 0s; transition-duration: .2s; }
  .js-motion .weg:not(.ist-offen) .weg__mehr { opacity: 0; transform: translateY(14px); pointer-events: none; transition-delay: 0s; transition-duration: .25s; }
  .js-motion .weg::after { transition: opacity .6s var(--ease-text); }
  .js-motion .weg::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgb(12 26 44 / .42);
    opacity: 0; transition: opacity .6s var(--ease-text);
  }
  .js-motion .weg:not(.ist-offen)::before { opacity: 1; }
  .js-motion .weg__senkrecht {
    display: block; position: absolute; left: 0; bottom: clamp(32px, 3vw, 48px); margin: 0; z-index: 1;
    writing-mode: vertical-rl; white-space: nowrap; font-family: var(--display); font-weight: 500;
    font-size: clamp(28px, 18px + 1vw, 36px); line-height: 1; letter-spacing: -0.005em; color: var(--weiss);
    opacity: 0; transition: opacity .25s var(--ease-text), transform .85s var(--ease-blick);
  }
  .js-motion .weg:not(.ist-offen) .weg__senkrecht { opacity: 1; transition: opacity .5s var(--ease-text) .3s, transform .85s var(--ease-blick); }
  .js-motion .weg__rahmen {
    display: block; position: absolute; top: 14px; bottom: 14px; left: 14px; width: calc(var(--offen-w, 60%) - 28px);
    border: 1px solid rgb(203 168 108 / .8); pointer-events: none; opacity: 0;
    transition: opacity .3s var(--ease-text), transform .85s var(--ease-blick);
  }
  .js-motion .weg.ist-offen .weg__rahmen { opacity: 1; transition: opacity .6s var(--ease-text) .55s, transform .85s var(--ease-blick); }
}

/* ---------- Wellen-Freilegung ---------- */
.welle { overflow: hidden; }
.welle img { transform-origin: 50% 50%; }
.js-motion .welle:not(.ist-frei) > picture img, .js-motion .welle:not(.ist-frei) > img { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }

/* ---------- Objekte ---------- */
.objekte-teaser__kopf { row-gap: 24px; margin-bottom: clamp(40px, 5vw, 80px); align-items: end; }
.objekte-teaser__hinweis { color: var(--schiefer); font-size: var(--fs-klein); }
@media (min-width: 1024px) {
  .objekte-teaser__kopf .h2 { grid-column: 1 / span 7; }
  .objekte-teaser__kopf .objekte-teaser__seite { grid-column: 9 / span 4; }
}
.objekte-teaser__raster { row-gap: 56px; }
@media (min-width: 768px) {
  .objekte-teaser__raster > .objekt--gross { grid-column: 1 / span 12; }
  .objekte-teaser__raster > .objekt--klein:nth-of-type(2) { grid-column: 1 / span 6; }
  .objekte-teaser__raster > .objekt--klein:nth-of-type(3) { grid-column: 7 / span 6; }
}
@media (min-width: 1024px) {
  .objekte-teaser__raster { row-gap: 64px; }
  .objekte-teaser__raster > .objekt--gross { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .objekte-teaser__raster > .objekt--klein:nth-of-type(2) { grid-column: 9 / span 4; grid-row: 1; }
  .objekte-teaser__raster > .objekt--klein:nth-of-type(3) { grid-column: 9 / span 4; grid-row: 2; align-self: end; }
}
/* Startseite ohne freie Angebote: neben dem (verkauften) Objekt Hinweis und Suchwunsch */
.objekte-teaser__leer { display: grid; gap: 24px; align-content: end; justify-items: start; }
.objekte-teaser__leer p { color: var(--schiefer); max-width: 30em; }
@media (min-width: 1024px) { .objekte-teaser__raster > .objekte-teaser__leer { grid-column: 9 / span 4; grid-row: 1 / span 2; } }
.objekte-teaser__alle { margin-top: clamp(56px, 6vw, 96px); row-gap: 20px; }
.suche { display: grid; gap: 16px; align-items: end; padding: clamp(20px, 3vw, 36px); background: var(--weiss); border-top: 2px solid var(--tinte); }
.suche__titel { font-family: var(--display); font-size: clamp(28px, 24px + .6vw, 34px); font-weight: 600; line-height: 1.1; align-self: center; }
@media (min-width: 768px) { .suche { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) auto; column-gap: 20px; } }
.objekte-teaser__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }

.objekt { position: relative; display: flex; flex-direction: column; }
.objekt__bild { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--linie); }
.objekt--klein .objekt__bild { aspect-ratio: 4 / 3; }
.objekt__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-text); }
.objekt:hover .objekt__img, .objekt:focus-within .objekt__img { transform: scale(1.04); }
.objekt__beispiel {
  position: absolute; left: 0; top: 0; padding: 7px 12px; background: var(--weiss); color: var(--tinte);
  font-size: 13px; font-weight: 500; line-height: 1.2;
}
.objekt__text { padding-top: 20px; }
.objekt__titel { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 22px + .7vw, 32px); line-height: 1.1; letter-spacing: -0.005em; text-wrap: balance; }
.objekt--gross .objekt__titel { font-size: clamp(30px, 24px + 1.2vw, 44px); font-weight: 500; }
.objekt__link { text-decoration: none; display: inline-block; padding-block: 8px; margin-block: -8px; }
.objekt__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.objekt__link:focus-visible { outline: none; }
.objekt:has(.objekt__link:focus-visible) { outline: 2px solid var(--tinte); outline-offset: 6px; }
.objekt__ort { margin-top: 8px; color: var(--schiefer); font-size: 15px; }
.objekt__eckdaten { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linie); font-size: 15px; }
.objekt__eckdaten li { padding-right: 16px; margin-right: 16px; border-right: 1px solid var(--linie); }
.objekt__eckdaten li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
/* Ein einzelnes Objekt: Bild und Angaben nebeneinander statt einer Karte in einem halbleeren Raster */
.objekt--quer .objekt__bild { aspect-ratio: 4 / 3; }
.objekt__kurz { margin-top: 18px; color: var(--schiefer); max-width: 34em; }
.objekt__mehr { display: inline-block; margin-top: 20px; }
@media (min-width: 768px) {
  .objekt--quer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 4vw, 72px); align-items: center; }
  .objekt--quer .objekt__text { padding-top: 0; }
}
.objekte-teaser__raster--einzeln > .objekt--quer { grid-column: 1 / -1; }
.objekte-teaser__raster--einzeln > .objekte-teaser__leer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 32px; border-top: 1px solid var(--linie); }
@media (min-width: 1024px) {
  .objekte-teaser__raster--einzeln > .objekte-teaser__leer { grid-column: 1 / -1; grid-row: auto; }
}
.angebote__liste.angebote__liste--einzeln { grid-template-columns: minmax(0, 1fr); }

/* Cursor-Begleiter */
.zeiger {
  position: fixed; left: 0; top: 0; z-index: 95; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  border: 1px solid var(--messing); background: rgb(245 246 247 / .9); color: var(--tinte);
  display: none; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; pointer-events: none;
  opacity: 0; visibility: hidden; transform: scale(.4);
}
@media (hover: hover) and (pointer: fine) { .js-motion .zeiger { display: flex; } }

/* ---------- Bildband (Hannover) ---------- */
.bildband { margin: 0; background: var(--nacht); }
.bildband__bild { position: relative; height: 70vh; height: 70svh; min-height: 360px; max-height: 820px; overflow: hidden; }
.bildband__bild img { width: 100%; height: 100%; object-fit: cover; }
.bildband__text { padding-top: 14px; padding-bottom: 0; font-size: 13px; line-height: 1.45; color: var(--nebel-2); }
.bildband__text span { grid-column: 1 / -1; }
@media (min-width: 1024px) { .bildband__text span { grid-column: 8 / span 5; text-align: right; } }
@media (max-width: 767px) { .bildband__bild { height: 56svh; min-height: 300px; } }
.bildband + .leinelauf { padding-top: clamp(64px, 8vw, 128px); }

/* ---------- Leinelauf ---------- */
.leinelauf { background: var(--nacht); color: var(--nebel); padding-top: var(--abschnitt); padding-bottom: clamp(64px, 8vw, 128px); position: relative; }
.leinelauf__intro { row-gap: 24px; margin-bottom: clamp(40px, 6vw, 96px); }
.leinelauf__titel { color: var(--weiss); }
.leinelauf__text { max-width: 34em; color: var(--nebel); font-size: var(--fs-lead); line-height: 1.55; }
@media (min-width: 1024px) {
  .leinelauf__intro .leinelauf__titel { grid-column: 1 / span 7; }
  .leinelauf__intro .leinelauf__text { grid-column: 8 / span 5; align-self: end; font-size: var(--fs-text); line-height: 1.6; }
}
.leinelauf__raster { row-gap: 48px; }
.leinelauf__karte { margin-inline: calc(var(--rand) * -1 + 4px); }
@media (min-width: 768px) { .leinelauf__karte { margin-inline: 0; } }

.karte { position: relative; aspect-ratio: 810 / 840; width: 100%; }
.karte__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.karte__grenze { fill: none; stroke: var(--uferlinie); stroke-width: 1.2; }
.karte__grenze--laatzen { fill: #132640; stroke: #2B4366; }
.karte__see { fill: #1C3352; }
.karte__geist { fill: none; stroke: #33507A; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.karte__leine { fill: none; stroke: var(--messing-hell); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.leinelauf .karte__leine { stroke-width: 4.2; }
@media (min-width: 768px) { .leinelauf .karte__leine { stroke-width: 2.8; } }
@media (min-width: 1024px) { .leinelauf .karte__leine { stroke-width: 2.3; } }
.karte__orte { position: absolute; inset: 0; }
.karte__kopf { display: none; }
.js-motion .karte__kopf { display: inline; opacity: 0; transition: opacity .4s; }
.js-motion .karte__kopf.ist-an { opacity: 1; }
.karte__kopf-schein { fill: var(--messing-hell); opacity: .3; }
.karte__kopf-punkt { fill: #F3E4C4; }
.ort { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.ort__punkt {
  position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--messing-hell);
  transition: transform .6s var(--ease-text), opacity .6s var(--ease-text), background-color .6s;
}
.ort--klein .ort__punkt { left: -2px; top: -2px; width: 4px; height: 4px; background: var(--nebel-2); }
.ort__name {
  position: absolute; top: 0; transform: translateY(-50%); white-space: nowrap; font-size: 13px; line-height: 1; color: var(--nebel);
  transition: opacity .6s var(--ease-text), transform .6s var(--ease-text); padding: 2px 0;
}
.ort--r .ort__name { left: 10px; }
.ort--l .ort__name { right: 10px; }
.ort--o .ort__name { left: 50%; top: -12px; transform: translate(calc(-50% + var(--dx, 0px)), -100%); }
.ort--u .ort__name { left: 50%; top: 12px; transform: translate(calc(-50% + var(--dx, 0px)), 0); }
.ort--eng .ort__name { font-size: 15px !important; }
.ort--ohne-name .ort__name, .ort--weg { visibility: hidden; }
.ort--klein .ort__name { font-size: 12px; color: var(--nebel-2); }
.ort--stadt .ort__name, .ort--heimat .ort__name { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--weiss); letter-spacing: 0; }
.ort--stadt .ort__punkt { background: var(--weiss); }
.ort--heimat .ort__name { left: 18px; }
.ort__ring, .ort__puls { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 1px solid var(--messing-hell); border-radius: 50%; }
.ort__puls { opacity: 0; }
.ort--heimat .ort__punkt { background: var(--messing-hell); }
@media (max-width: 767px) {
  .leinelauf .ort:not(.ort--mobil) .ort__name { display: none; }
  .ort--stadt .ort__name, .ort--heimat .ort__name { font-size: 20px; }
}
.karte__nachweis { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; font-size: 13px; line-height: 1.4; color: var(--nebel-2); padding-inline: var(--rand); }
@media (min-width: 768px) { .karte__nachweis { padding-inline: 0; } }

/* Etappen */
.leinelauf__etappen { position: relative; }
.etappen-zeiger { display: none; }
.etappe__bild { margin: 0 0 28px; }
.etappe__bild-rahmen { background: var(--weiss); padding: 6px; aspect-ratio: 3 / 2; }
.etappe__bild-rahmen img { width: 100%; height: 100%; object-fit: cover; }
.etappe__bild figcaption { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--nebel-2); max-width: 34em; }
.karte__einsaetze { display: none; }
.etappen { display: grid; gap: 56px; }
.etappe__titel { font-family: var(--display); font-size: clamp(36px, 28px + 1.6vw, 56px); font-weight: 500; line-height: 1; color: var(--weiss); padding-bottom: 20px; border-bottom: 1px solid var(--uferlinie); margin-bottom: 8px; }
.etappe__ort { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--uferlinie); }
.etappe__name { font-family: var(--display); font-size: clamp(26px, 24px + .4vw, 28px); font-weight: 600; line-height: 1.1; color: var(--weiss); }
.etappe__ort-text { font-size: 16px; line-height: 1.5; color: var(--nebel); max-width: 34em; }
.etappe__lead { font-family: var(--display); font-size: clamp(26px, 22px + .8vw, 32px); font-weight: 500; line-height: 1.25; color: var(--weiss); padding-top: 16px; max-width: 18em; text-wrap: pretty; }
.etappe__stadtteile { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 24px; font-size: 15px; color: var(--nebel); }
.etappe__stadtteile li { padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--uferlinie); line-height: 1.2; }
.etappe__stadtteile li:last-child { border-right: 0; }

@media (min-width: 1024px) {
  .leinelauf__raster > .leinelauf__karte { grid-column: 1 / span 7; }
  .leinelauf__raster > .leinelauf__etappen { grid-column: 9 / span 4; }
  .etappe__ort { grid-template-columns: minmax(0, 1fr); }
}
/* ohne Pin (keine Bewegung / ohne JS / wenig Höhe): Karte bleibt beim Lesen stehen */
@media (min-width: 1024px) {
  .leinelauf__karte { position: sticky; top: calc(var(--kopf-h) + 24px); align-self: start; }
}
/* Gepinnte Variante */
@media (min-width: 1024px) and (min-height: 680px) {
  .js-motion .leinelauf__buehne { height: 100vh; height: 100svh; display: flex; align-items: center; }
  .js-motion .leinelauf__raster { align-items: center; }
  .js-motion .leinelauf__karte { position: relative; top: auto; height: calc(100svh - 112px); display: flex; flex-direction: column; justify-content: center; }
  .js-motion .leinelauf__karte .karte { height: calc(100% - 40px); width: auto; max-width: 100%; aspect-ratio: 810 / 840; }
  .js-motion .etappen-zeiger { display: flex; gap: 24px; margin-bottom: 32px; }
  .etappen-zeiger__knopf { position: relative; min-height: 44px; padding: 0 0 2px; border: 0; background: none; color: var(--nebel-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: color .5s; }
  .etappen-zeiger__knopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--messing-hell); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-blick); }
  .etappen-zeiger__knopf:hover { color: var(--weiss); }
  .etappen-zeiger__knopf[aria-current="true"] { color: var(--weiss); }
  .etappen-zeiger__knopf[aria-current="true"]::after { transform: scaleX(1); }
  .js-motion .etappe__bild { display: none; }
  .js-motion .karte__einsaetze { display: block; position: absolute; right: calc(-1 * var(--ueberhang, 0px)); bottom: 0; width: var(--einsatz-breite, 29%); height: 0; z-index: 2; }
  .karte__einsatz { position: absolute; right: 0; bottom: 0; width: 100%; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .6s var(--ease-text), transform .8s var(--ease-text), visibility 0s linear .6s; }
  .karte__einsatz.ist-aktiv { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease-text) .15s, transform .9s var(--ease-text) .15s, visibility 0s; }
  .karte__einsatz-bild { background: var(--weiss); padding: 7px; aspect-ratio: 16 / 10; }
  .karte__einsatz-bild img { width: 100%; height: 100%; object-fit: cover; }
  .karte__einsatz-text { margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--nebel-2); }
  .js-motion .etappen { display: grid; gap: 0; }
  .js-motion .etappe { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .6s var(--ease-text), transform .8s var(--ease-text), visibility 0s linear .6s; }
  .js-motion .etappe.ist-aktiv { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease-text) .1s, transform .9s var(--ease-text) .1s, visibility 0s; }
  .js-motion .leinelauf { padding-bottom: 0; }
}
@media (min-width: 1024px) and (min-height: 680px) and (max-height: 860px) {
  .js-motion .etappe__ort { padding: 11px 0; }
  .js-motion .etappe__ort-text { font-size: 15px; }
  .js-motion .etappe__titel { padding-bottom: 14px; }
}
/* Startzustände Karte (nur mit Bewegung) */
.js-motion .ort[data-ort-y] .ort__punkt { opacity: .4; transform: scale(.6); }
.js-motion .ort[data-ort-y] .ort__name { opacity: 0; }
.js-motion .ort[data-ort-y].ist-an .ort__punkt { opacity: 1; transform: scale(1); }
.js-motion .ort[data-ort-y].ist-an .ort__name { opacity: 1; }
.js-motion .ort--o[data-ort-y] .ort__name { transform: translate(calc(-50% + var(--dx, 0px)), -80%); }
.js-motion .ort--o[data-ort-y].ist-an .ort__name { transform: translate(calc(-50% + var(--dx, 0px)), -100%); }

/* ---------- Marcel ---------- */
.marcel { row-gap: 48px; align-items: start; }
.marcel__bild { max-width: 520px; width: calc(100% - 16px); margin-left: 8px; }
.marcel__bild .passepartout { aspect-ratio: 0.7071; }
.marcel__titel { margin-bottom: clamp(28px, 3vw, 44px); }
.zitat { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(28px, 22px + 1.5vw, 44px); line-height: 1.22; letter-spacing: -0.005em; color: var(--tinte); text-wrap: pretty; max-width: 22em; }
.zitat p { margin: 0; }
.marcel__text { margin-top: 32px; color: var(--schiefer); max-width: 32em; }
.marcel__unterschrift { margin-top: 20px; font-size: 15px; color: var(--schiefer); }
.marcel .textlink { margin-top: 16px; }
@media (min-width: 1024px) {
  .marcel > .marcel__bild { grid-column: 1 / span 5; position: sticky; top: calc(var(--kopf-h) + 40px); }
  .marcel > .marcel__inhalt { grid-column: 7 / span 6; padding-top: 24px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .marcel > .marcel__bild { grid-column: 1 / span 6; }
}

/* ---------- Wertermittlungs-Band ---------- */
.band { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: center; color: var(--weiss); overflow: hidden; background: var(--nacht); }
.band__bild { position: absolute; inset: 0; }
.band__bild img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(12 26 44 / .9) 0%, rgb(12 26 44 / .72) 38%, rgb(12 26 44 / .15) 75%), linear-gradient(0deg, rgb(12 26 44 / .5), rgb(12 26 44 / 0) 40%); }
.band .raster { position: relative; z-index: 2; padding-block: var(--abschnitt); row-gap: 24px; }
.band .h2 { color: var(--weiss); max-width: 10em; }
.band p { max-width: 28em; color: rgb(255 255 255 / .9); font-size: var(--fs-lead); }
.band .knopf { margin-top: 12px; justify-self: start; }
@media (max-width: 767px) { .band::before { background: linear-gradient(0deg, rgb(12 26 44 / .92) 0%, rgb(12 26 44 / .78) 55%, rgb(12 26 44 / .35) 100%); } .band { align-items: flex-end; } }

/* ---------- Abschluss / Kontakt-Teaser ---------- */
.abschluss { row-gap: 40px; }
.abschluss__kopf p { margin-top: 24px; color: var(--schiefer); max-width: 30em; }
.optionen { border-top: 1px solid var(--linie); }
.option { position: relative; display: grid; gap: 6px; padding: 26px 56px 26px 0; border-bottom: 1px solid var(--linie); text-decoration: none; }
.option__titel { font-family: var(--display); font-size: clamp(30px, 24px + 1.2vw, 44px); font-weight: 500; line-height: 1.05; }
.option__text { color: var(--schiefer); font-size: 16px; }
.option::after { content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 1px; background: var(--messing); transform-origin: right; transition: transform .55s var(--ease-blick); }
.option:hover::after, .option:focus-visible::after { transform: scaleX(1.8); }
.option__titel { background: linear-gradient(var(--messing), var(--messing)) left 100% / 0 1px no-repeat; transition: background-size .55s var(--ease-blick); width: fit-content; }
.option:hover .option__titel { background-size: 100% 1px; }
@media (min-width: 1024px) {
  .abschluss > .abschluss__kopf { grid-column: 1 / span 5; }
  .abschluss > .optionen { grid-column: 7 / span 6; }
}
.schreiben { margin-top: clamp(72px, 8vw, 128px); padding-top: 40px; border-top: 1px solid var(--linie); row-gap: 20px; align-items: center; }
.schreiben__titel { font-family: var(--display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.1; }
.schreiben p { color: var(--schiefer); }
@media (min-width: 1024px) {
  .schreiben > .schreiben__titel { grid-column: 1 / span 4; }
  .schreiben > p { grid-column: 5 / span 4; }
  .raster.schreiben > .knopf { grid-column: 10 / span 3; justify-self: end; }
}
.schreiben > .knopf { justify-self: start; }

/* ---------- Fuß ---------- */
.fuss { background: var(--nacht); color: var(--nebel); padding-top: clamp(72px, 8vw, 128px); padding-bottom: 32px; }
.fuss__oben { row-gap: 48px; padding-bottom: clamp(56px, 6vw, 96px); }
.fuss__logo { display: inline-block; width: 220px; }
.fuss__logo img { display: block; width: 100%; height: auto; }
.fuss__claim { margin-top: 28px; font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(26px, 22px + 1vw, 36px); line-height: 1.2; color: var(--weiss); max-width: 14em; }
.fuss__claim span { display: block; }
.fuss__titel { font-size: 14px; font-weight: 500; color: var(--nebel-2); margin-bottom: 12px; font-family: var(--text); }
.fuss__spalte a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--weiss); font-size: 16px; }
.fuss__spalte a:hover { text-decoration: underline; text-decoration-color: var(--messing-hell); }
.fuss__spalte li { font-size: 16px; }
.fuss__kontakt li:not(:has(a)) { padding-block: 8px; }
.fuss__platzhalter { color: var(--nebel-2); font-size: 14px !important; }
.fuss__anschrift { line-height: 1.5; }
.ohne-umbruch { white-space: nowrap; }
.fuss__unten { border-top: 1px solid var(--uferlinie); padding-top: 24px; row-gap: 12px; font-size: 14px; color: var(--nebel-2); align-items: start; }
.fuss__hinweise { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.fuss__hoch { color: var(--weiss); display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 768px) {
  .fuss__oben > .fuss__marke { grid-column: 1 / -1; }
  .fuss__oben > .fuss__spalte { grid-column: span 3; }
}
@media (min-width: 1280px) {
  .fuss__oben > .fuss__marke { grid-column: 1 / span 4; }
  .fuss__oben > .fuss__spalte { grid-column: span 2; }
  .fuss__oben > nav.fuss__spalte:first-of-type { grid-column: 5 / span 2; }
}
@media (min-width: 1024px) {
  .fuss__unten > .fuss__entwurf { grid-column: 1 / span 5; }
  .fuss__unten > .fuss__hinweise { grid-column: 7 / span 5; }
  .fuss__unten > .fuss__hinweise:first-child { grid-column: 1 / span 11; }
  .fuss__unten > .fuss__hoch { grid-column: 12 / span 1; justify-self: end; margin-top: -12px; }
}
@media (max-width: 767px) { .fuss__oben > .fuss__spalte { grid-column: span 6; } .fuss__oben > .fuss__kontakt { grid-column: 1 / -1; } }
@media (min-width: 768px) and (max-width: 1023px) {
  .fuss__oben > .fuss__spalte { grid-column: span 4; }
  .fuss__oben > .fuss__kontakt { grid-column: 1 / -1; }
  .fuss__kontakt ul { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 64px; }
}

/* =========================================================
   UNTERSEITEN
   ========================================================= */
.seitenkopf { padding-top: calc(var(--kopf-h) + clamp(48px, 7vw, 120px)); }
.seitenkopf .h1 { max-width: 12em; }
.seitenkopf__text { margin-top: clamp(24px, 3vw, 40px); }

/* Geteilter Hero */
.teilhero { padding-top: calc(var(--kopf-h) + clamp(32px, 5vw, 72px)); padding-bottom: clamp(56px, 7vw, 120px); row-gap: 40px; align-items: end; }
.teilhero__text .h1 { max-width: 9em; }
.teilhero__text .lead { margin-top: clamp(24px, 3vw, 40px); }
.teilhero__bild { margin: 8px; }
.teilhero__bild .passepartout { aspect-ratio: 4 / 5; }
.teilhero__bildtext { margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--schiefer); }
@media (min-width: 1024px) {
  .teilhero > .teilhero__text { grid-column: 1 / span 7; padding-bottom: 8px; }
  .teilhero > .teilhero__bild { grid-column: 8 / span 5; }
  .teilhero--niedrig .teilhero__bild .passepartout { aspect-ratio: 5 / 6; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .teilhero > .teilhero__bild { grid-column: 4 / span 9; }
}
.js-motion .teilhero__bild--oeffnen .passepartout > picture img, .js-motion .teilhero__bild--oeffnen .passepartout > img { clip-path: inset(50% 0 50% 0); }
.js-motion .teilhero__text--zeilen .h1 { visibility: hidden; }
.js-motion .teilhero__text--zeilen .teilhero__nach { opacity: 0; }
.teilhero__nach .aktionen { margin-top: 32px; }

/* Abschnittsköpfe links, Inhalt rechts */
.zweiteilig { row-gap: 40px; }
@media (min-width: 1024px) {
  .zweiteilig > .zweiteilig__kopf { grid-column: 1 / span 5; position: sticky; top: calc(var(--kopf-h) + 32px); align-self: start; }
  .zweiteilig > .zweiteilig__inhalt { grid-column: 6 / span 7; }
}
@media (min-width: 1280px) {
  .zweiteilig > .zweiteilig__kopf { grid-column: 1 / span 4; }
}
.zweiteilig__kopf p { margin-top: 20px; color: var(--schiefer); max-width: 30em; }
.dunkel .zweiteilig__kopf p { color: var(--nebel); }

/* Leistungen */
.leistungen { display: grid; border-top: 1px solid var(--linie); }
.leistung { padding: 24px 0 26px; border-bottom: 1px solid var(--linie); }
.leistung__titel { font-family: var(--display); font-size: clamp(26px, 22px + .6vw, 30px); font-weight: 600; line-height: 1.1; margin-bottom: 8px; }
.leistung p { color: var(--schiefer); font-size: 16px; max-width: 30em; }
@media (min-width: 768px) {
  .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--spalt); border-top: 0; }
  .leistung:nth-child(-n+2) { border-top: 1px solid var(--linie); }
}

/* Ablauf */
.ablauf__kopf { margin-bottom: clamp(48px, 6vw, 96px); }
.ablauf__kopf .h2 { max-width: 12em; }
.ablauf__liste { position: relative; padding-left: 40px; }
.ablauf__ol { display: grid; gap: clamp(56px, 7vw, 96px); }
.ablauf__linie { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--linie); }
.ablauf__linie span { position: absolute; inset: 0; background: var(--messing); transform-origin: top; }
.js-motion .ablauf__linie span { transform: scaleY(0); }
.schritt { position: relative; display: grid; gap: 20px; }
.schritt__knoten { position: absolute; left: -38px; top: 22px; width: 11px; height: 11px; border: 1px solid var(--messing); background: var(--papier); border-radius: 50%; }
.schritt__ziffer { display: block; font-family: var(--display); font-weight: 500; font-variant-numeric: oldstyle-nums; font-size: 72px; line-height: 1; color: var(--messing); margin-bottom: 14px; }
.schritt__titel { font-family: var(--display); font-size: clamp(30px, 24px + 1.2vw, 48px); font-weight: 500; line-height: 1.05; margin-bottom: 12px; }
.schritt p { color: var(--schiefer); max-width: 26em; }
.schritt .ablauf__detail { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linie); font-size: 15px; line-height: 1.55; max-width: 30em; }
.schritt__bild .passepartout { aspect-ratio: 4 / 5; }
.schritt__bild { max-width: 520px; }
@media (min-width: 768px) {
  .schritt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--spalt); align-items: center; }
  .schritt__knoten { top: 50%; }
}
/* Gepinnt (Desktop) */
.ablauf__buehne { display: none; }
@media (min-width: 1024px) and (min-height: 640px) {
  .js-motion .ablauf__liste { display: none; }
  .js-motion .ablauf__buehne { display: block; height: 100vh; height: 100svh; }
  .ablauf__buehne .raster { height: 100%; align-items: center; }
  .ablauf__erzaehlung { grid-column: 1 / span 7; position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: clamp(32px, 4vw, 72px); height: min(76svh, 720px); }
  .ablauf__fortschritt { position: relative; height: 100%; }
  .ablauf__fortschritt .ablauf__linie { left: 19px; top: 0; bottom: 0; }
  .ablauf__knoten { position: absolute; left: 14px; width: 11px; height: 11px; margin-top: -5.5px; border: 1px solid var(--messing); background: var(--papier); border-radius: 50%; transition: background-color .4s; }
  .ablauf__knoten.ist-erreicht { background: var(--messing); }
  .ablauf__texte { position: relative; display: grid; align-content: center; }
  .ablauf__ziffern { height: 1.6em; overflow: hidden; font-family: var(--display); font-weight: 500; font-variant-numeric: oldstyle-nums; font-size: clamp(140px, 13vw, 240px); line-height: 1.6; color: var(--messing); margin-bottom: -.1em; margin-top: -.45em; }
  .ablauf__ziffern-band { display: grid; transition: transform .4s var(--ease-text); }
  .ablauf__ziffern-band span { height: 1.6em; display: block; }
  .ablauf__schritte { display: grid; }
  .ablauf__schritt { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .22s var(--ease-text), transform .4s var(--ease-text), visibility 0s linear .22s; }
  .ablauf__schritt.ist-aktiv { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease-text) .2s, transform .7s var(--ease-text) .2s, visibility 0s; }
  .ablauf__schritt h3 { font-family: var(--display); font-size: clamp(44px, 28px + 2.4vw, 76px); font-weight: 500; line-height: 1.02; margin-bottom: 18px; max-width: 11em; text-wrap: balance; }
  .ablauf__schritt p { color: var(--schiefer); font-size: var(--fs-lead); max-width: 24em; }
  .ablauf__schritt .ablauf__detail { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--linie); font-size: 16px; line-height: 1.6; max-width: 31em; }
  .ablauf__bilder { grid-column: 8 / span 5; justify-self: end; width: min(100% - 8px, calc(76svh * .8)); margin-right: 8px; }
  .ablauf__bilder .passepartout { aspect-ratio: 4 / 5; }
  .ablauf__stapel { position: relative; width: 100%; height: 100%; overflow: hidden; }
  .ablauf__stapel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}

/* Unterlagen als Dokument */
.dokument { background: var(--weiss); border: 1px solid var(--linie); padding: clamp(28px, 5vw, 72px); position: relative; }
.dokument::before { content: ""; position: absolute; top: 0; left: clamp(28px, 5vw, 72px); right: clamp(28px, 5vw, 72px); height: 3px; background: var(--messing); }
.dokument__gruppe + .dokument__gruppe { margin-top: 44px; }
.dokument__gruppe h3 { font-family: var(--display); font-size: clamp(26px, 22px + .6vw, 30px); font-weight: 600; line-height: 1.1; padding-bottom: 12px; border-bottom: 1px solid var(--tinte); }
.haken { display: flex; align-items: flex-start; gap: 16px; min-height: 52px; padding: 13px 0; border-bottom: 1px solid var(--linie); cursor: pointer; }
.haken input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1.5px solid var(--tinte); background: var(--weiss); display: grid; place-content: center; cursor: pointer; }
.haken input::before { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--weiss); border-bottom: 2px solid var(--weiss); transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .3s var(--ease-text); }
.haken input:checked { background: var(--tinte); }
.haken input:checked::before { transform: translateY(-2px) rotate(-45deg) scale(1); }
.haken span { transition: color .3s; }
.haken input:checked + span { color: var(--schiefer); text-decoration: line-through; text-decoration-color: var(--messing); text-decoration-thickness: 1px; }
.dokument__fuss { margin-top: 32px; font-size: var(--fs-klein); color: var(--schiefer); }

/* Formulare */
.formflaeche { background: var(--weiss); color: var(--tinte); padding: clamp(24px, 4vw, 56px); position: relative; }
.formular { display: grid; gap: 24px; }
.formular__felder { display: grid; gap: 20px; }
@media (min-width: 768px) { .formular__felder { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } .formular__felder .feld--textarea { grid-column: 1 / -1; } }
.feld { display: grid; gap: 8px; align-content: start; }
.feld__label { font-size: 15px; font-weight: 500; }
.feld__pflicht { color: var(--schiefer); }
.feld__eingabe {
  width: 100%; min-height: 52px; padding: 12px 14px; background: var(--weiss); border: 1px solid var(--feldrahmen); border-radius: 0;
  font-size: 17px; line-height: 1.4; color: var(--tinte); transition: border-color .2s, box-shadow .2s;
}
textarea.feld__eingabe { min-height: 140px; resize: vertical; }
select.feld__eingabe { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--tinte) 50%), linear-gradient(135deg, var(--tinte) 50%, transparent 50%); background-position: right 22px top 50%, right 16px top 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.feld__eingabe:hover { border-color: var(--tinte); }
.feld__eingabe:focus-visible { outline: 2px solid var(--tinte); outline-offset: 0; border-color: var(--tinte); }
.feld__eingabe::placeholder { color: #6B7789; }
.feld__eingabe[aria-invalid="true"] { border-color: #A3312A; box-shadow: inset 3px 0 0 #A3312A; }
.feld-fehler { color: #A3312A; font-size: 14px; font-weight: 500; line-height: 1.4; }
.feld--check { grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; align-items: start; font-size: 15px; line-height: 1.5; }
.feld--check .feld-fehler { grid-column: 2; }
.feld__check { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--tinte); background: var(--weiss); display: grid; place-content: center; cursor: pointer; }
.feld__check::before { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--weiss); border-bottom: 2px solid var(--weiss); transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .25s var(--ease-text); }
.feld__check:checked { background: var(--tinte); }
.feld__check:checked::before { transform: translateY(-2px) rotate(-45deg) scale(1); }
.feld__check[aria-invalid="true"] { border-color: #A3312A; }
.feld--check label { cursor: pointer; padding-top: 0; min-height: 44px; padding-bottom: 10px; }
.feld--check a { text-decoration-color: var(--messing); }
.formular__absenden { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 8px; }
.formular__vorhinweis, .formular__noscript { font-size: var(--fs-klein); color: var(--schiefer); flex: 1 1 260px; max-width: 34em; }
.formular__absenden .knopf { order: 2; }
.formular__status:empty { display: none; }
.formular__status { padding: 16px 18px; border-left: 3px solid var(--messing); background: var(--papier); font-size: 16px; }
.formular__status.ist-fehler { border-left-color: #A3312A; }
.formular[aria-busy="true"] [data-senden] { cursor: progress; }
.formular__falle { display: none !important; }
.formular__gesendet { display: none; }
.formular__gesendet:target:not([hidden]) { display: block; margin-bottom: 24px; padding: 16px 18px; border-left: 3px solid var(--messing); background: var(--papier); font-size: 16px; outline: none; }

/* Radio-Kacheln (Objektart) */
.wahl { border: 0; margin: 0; padding: 0; min-width: 0; }
.wahl__optionen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wahl__option { position: relative; }
@media (max-width: 479px) { .wahl__optionen { grid-template-columns: minmax(0, 1fr); } .wahl__option span { min-height: 56px; } }
.wahl__option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wahl__option span { display: flex; align-items: center; min-height: 64px; padding: 14px 16px; border: 1px solid var(--feldrahmen); font-family: var(--display); font-size: 24px; font-weight: 600; line-height: 1.1; transition: border-color .2s, background-color .2s, color .2s; }
.wahl__option input:hover + span { border-color: var(--tinte); }
.wahl__option input:checked + span { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
.wahl__option input:focus-visible + span { outline: 2px solid var(--tinte); outline-offset: 2px; }
.wahl__option input[aria-invalid="true"] + span { border-color: #A3312A; }

/* Mehrstufiges Formular */
.stufen__kopf { display: grid; gap: 12px; margin-bottom: 8px; }
.stufen__stand { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--schiefer); }
.stufen__stand [data-schritt-name] { color: var(--tinte); font-weight: 500; }
.stufen__linie { position: relative; height: 2px; background: var(--linie); }
.stufen__linie span { position: absolute; inset: 0; background: var(--messing); transform-origin: left; transform: scaleX(var(--fortschritt, 1)); transition: transform .7s var(--ease-blick); }
.stufe { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 20px; }
.stufe legend { padding: 0; margin-bottom: 20px; font-family: var(--display); font-size: clamp(28px, 22px + 1vw, 36px); font-weight: 600; line-height: 1.1; outline: none; text-wrap: balance; }
html:not(.js) .stufe + .stufe { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--linie); }
.stufen__aktionen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
html:not(.js) [data-weiter], html:not(.js) [data-zurueck], html:not(.js) .stufen__linie, html:not(.js) .stufen__stand { display: none; }
.js-motion .stufe.stufe--rein { animation: stufe-rein .6s var(--ease-text) both; }
@keyframes stufe-rein { from { opacity: 0; transform: translateX(18px); } }

/* Wertermittlung (Nacht-Band) */
.wertermittlung { row-gap: 40px; }
.wertermittlung__kopf .h2 { max-width: 9em; }
.wertermittlung__kopf p { margin-top: 24px; color: var(--nebel); font-size: var(--fs-lead); max-width: 22em; }
@media (min-width: 1024px) {
  .wertermittlung > .wertermittlung__kopf { grid-column: 1 / span 5; }
  .wertermittlung > .formflaeche { grid-column: 6 / span 7; }
}

/* FAQ */
.faq { border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); interpolate-size: allow-keywords; }
.faq summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 24px; align-items: center; min-height: 64px; padding: 20px 0; cursor: pointer; font-family: var(--display); font-size: clamp(24px, 20px + .8vw, 30px); font-weight: 600; line-height: 1.15; text-wrap: pretty; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 18px; height: 18px; justify-self: end; background: linear-gradient(var(--tinte), var(--tinte)) center / 18px 1.5px no-repeat, linear-gradient(var(--tinte), var(--tinte)) center / 1.5px 18px no-repeat; transition: transform .45s var(--ease-blick); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease-blick), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq__antwort { padding: 0 48px 28px 0; color: var(--schiefer); max-width: 40em; }
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }

/* Abschluss-CTA (Unterseiten) */
.schluss { row-gap: 32px; align-items: center; }
.schluss__bild { aspect-ratio: 4 / 5; overflow: hidden; }
.schluss__bild img { width: 100%; height: 100%; object-fit: cover; }
.schluss__text p { margin-top: 24px; color: var(--schiefer); max-width: 28em; font-size: var(--fs-lead); }
.schluss__text .knopf { margin-top: 32px; }
@media (min-width: 1024px) {
  .schluss > .schluss__text { grid-column: 1 / span 6; }
  .schluss > .schluss__bild { grid-column: 8 / span 5; margin-right: calc(var(--rand) * -1); }
}

/* Immobilien */
.filterleiste { display: grid; gap: 16px; padding: 24px 0; border-top: 1px solid var(--tinte); border-bottom: 1px solid var(--linie); align-items: end; }
@media (min-width: 768px) { .filterleiste { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; } }
@media (min-width: 1024px) { .filterleiste { grid-template-columns: repeat(3, minmax(0, 220px)) minmax(0, 1fr); } }
.filterleiste__stand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; justify-content: flex-start; }
@media (min-width: 1024px) { .filterleiste__stand { justify-content: flex-end; } }
.filterleiste__anzahl { font-size: 15px; color: var(--schiefer); }
.angebote__hinweis { margin-top: 16px; font-size: var(--fs-klein); color: var(--schiefer); }
.angebote__liste { display: grid; gap: 56px var(--spalt); margin-top: 48px; }
@media (min-width: 640px) { .angebote__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .angebote__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 72px; } }
.leer { margin-top: 48px; padding: 32px; border: 1px solid var(--linie); background: var(--weiss); display: grid; gap: 20px; justify-items: start; max-width: 720px; }
.leer p { font-family: var(--display); font-size: clamp(24px, 20px + .8vw, 30px); font-weight: 500; line-height: 1.2; }
.hero-streifen { margin-top: clamp(40px, 5vw, 72px); aspect-ratio: 21 / 8; overflow: hidden; }
.hero-streifen img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .hero-streifen { aspect-ratio: 4 / 3; margin-inline: calc(var(--rand) * -1); } }
.hinweiszeile { display: flex; gap: 14px; align-items: baseline; margin-top: 28px; padding-left: 16px; border-left: 2px solid var(--messing); color: var(--schiefer); font-size: 15px; max-width: 40em; }

.tipps { display: grid; gap: 40px; }
@media (min-width: 768px) { .tipps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--spalt); } }
.tipp { border-top: 1px solid var(--linie); padding-top: 24px; }
.tipp h3 { font-family: var(--display); font-size: clamp(26px, 22px + .6vw, 32px); font-weight: 600; line-height: 1.1; margin-bottom: 12px; }
.tipp p { color: var(--schiefer); }

/* Exposé */
.expose-hinweis { margin-top: var(--kopf-h); background: #E8EBEF; border-bottom: 1px solid var(--linie); }
.expose-hinweis .raster { padding-block: 14px; }
.expose-hinweis p { font-size: 15px; line-height: 1.5; max-width: 60em; }
.expose-hinweis strong { font-weight: 600; margin-right: 8px; }
.expose-kopf { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(28px, 3vw, 48px); row-gap: 12px; }
.expose-kopf .h1 { font-size: clamp(40px, 26px + 3.6vw, 96px); max-width: 14em; }
.expose-kopf__ort { font-size: var(--fs-lead); color: var(--schiefer); }
.expose-kopf__zurueck { font-size: 15px; }
.expose-oben { row-gap: 40px; align-items: start; }
@media (min-width: 1024px) {
  .expose-oben > .galerie { grid-column: 1 / span 7; }
  .expose-oben > .eckdaten { grid-column: 9 / span 4; position: sticky; top: calc(var(--kopf-h) + 32px); }
}
.galerie { position: relative; }
.galerie__buehne { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--linie); touch-action: pan-y; }
.galerie__bild { position: absolute; inset: 0; }
.galerie__bild img { width: 100%; height: 100%; object-fit: cover; }
html:not(.js) .galerie__buehne { aspect-ratio: auto; overflow: visible; background: none; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
html:not(.js) .galerie__bild { position: relative; aspect-ratio: 4 / 5; }
html:not(.js) .galerie__bild:first-child { grid-column: 1 / -1; }
html:not(.js) .galerie__steuerung, html:not(.js) .galerie__daumen, html:not(.js) .galerie__vollbild { display: none; }
.galerie__beispiel { position: absolute; left: 0; top: 0; z-index: 3; padding: 7px 12px; background: var(--weiss); font-size: 13px; font-weight: 500; }
.galerie__steuerung { position: absolute; right: 0; bottom: 0; z-index: 3; display: flex; background: var(--weiss); }
.galerie__steuerung button, .galerie__vollbild { display: grid; place-items: center; width: 52px; height: 52px; border: 0; background: var(--weiss); color: var(--tinte); }
.galerie__steuerung button:hover, .galerie__vollbild:hover { background: var(--papier); }
.galerie__zaehler { display: grid; place-items: center; min-width: 64px; padding: 0 8px; font-size: 14px; font-variant-numeric: tabular-nums; border-inline: 1px solid var(--linie); }
.galerie__vollbild { position: absolute; right: 0; top: 0; z-index: 3; }
.pfeil { width: 18px; height: 12px; position: relative; }
.pfeil::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; }
.pfeil::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.pfeil--zurueck { transform: scaleX(-1); }
.vollbild-symbol { width: 16px; height: 16px; border: 1.5px solid currentColor; box-shadow: inset 0 0 0 3px var(--weiss), inset 0 0 0 4.5px currentColor; }
.galerie__daumen { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; margin-top: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--feldrahmen) transparent; padding-bottom: 2px; }
.galerie__daumen button { scroll-snap-align: start; }
@media (min-width: 1024px) { .galerie__daumen { grid-auto-columns: calc((100% - 40px) / 5); } }
.galerie__daumen button { position: relative; padding: 0; border: 0; background: var(--linie); aspect-ratio: 1; overflow: hidden; min-height: 44px; }
.galerie__daumen button img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.35) brightness(1.08); transition: filter .4s; }
.galerie__daumen button[aria-current="true"] img, .galerie__daumen button:hover img { filter: none; }
.galerie__daumen button[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--messing); }

.eckdaten__titel { font-family: var(--display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.1; margin-bottom: 16px; }
.tabelle { font-size: 16px; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--linie); font-weight: 400; }
.tabelle th { color: var(--schiefer); padding-right: 20px; width: 48%; }
.tabelle tr:first-child th, .tabelle tr:first-child td { border-top: 1px solid var(--tinte); }
.eckdaten .knopf { margin-top: 28px; width: 100%; }
.eckdaten__merkmale { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.eckdaten__merkmale li { padding: 6px 12px; border: 1px solid var(--linie); font-size: 14px; background: var(--weiss); }

.beschreibung { row-gap: 40px; }
.beschreibung__text p { max-width: 36em; }
.beschreibung__text p + p { margin-top: 1em; }
.beschreibung__text p:first-child { font-family: var(--display); font-size: clamp(24px, 20px + 1vw, 32px); font-weight: 500; line-height: 1.3; color: var(--tinte); }
.ausstattung h2, .lage h2, .energie h2 { margin-bottom: 20px; }
.ausstattung ul { border-top: 1px solid var(--linie); }
.ausstattung li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--linie); position: relative; }
.ausstattung li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 1px; background: var(--messing); }
@media (min-width: 1024px) {
  .beschreibung > .beschreibung__text { grid-column: 1 / span 6; }
  .beschreibung > .ausstattung { grid-column: 8 / span 5; }
}
.lage-energie { row-gap: 56px; }
@media (min-width: 1024px) {
  .lage-energie > .lage { grid-column: 1 / span 6; }
  .lage-energie > .energie { grid-column: 8 / span 5; }
  .lage-energie > .lage:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--spalt); align-items: center; }
  .lage-energie > .lage:only-child > h2 { grid-column: 1 / -1; }
  .lage-energie > .lage:only-child > p { margin-top: 0; }
}
.lage p { margin-top: 20px; color: var(--schiefer); max-width: 32em; }
.minikarte { background: var(--nacht); padding: 12px 12px 14px; }
.karte--mini { aspect-ratio: auto; }
.karte--mini .ort__name { font-size: 13px; }
@media (max-width: 639px) { .ort--marker .ort__name { font-size: 19px; } .karte--mini .ort--nachbar .ort__name { font-size: 12px; } }
.ort--marker .ort__name { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--weiss); left: 18px; text-shadow: 0 0 2px var(--nacht), 0 0 6px var(--nacht), 0 0 12px var(--nacht); }
.ort--marker.ort--l .ort__name, .ort--heimat.ort--l .ort__name { left: auto; right: 18px; }
.ort--marker.ort--o .ort__name, .ort--heimat.ort--o .ort__name { left: 50%; top: -14px; }
.ort--marker.ort--u .ort__name, .ort--heimat.ort--u .ort__name { left: 50%; top: 14px; }
.karte.ist-messen .ort__name { transition: none !important; }
.ort--marker .ort__punkt { background: var(--messing-hell); }
.ort--nachbar .ort__punkt { background: var(--nebel-2); }
.minikarte .karte__nachweis { margin-top: 10px; }
.energie__hinweis { margin-top: 16px; font-size: var(--fs-klein); color: var(--schiefer); }
.h2--klein { font-size: clamp(32px, 26px + 1.4vw, 48px); }

.anfrage { row-gap: 40px; }
@media (min-width: 1024px) {
  .anfrage > .anfrage__kopf { grid-column: 1 / span 5; }
  .anfrage > .formflaeche { grid-column: 7 / span 6; }
}
.anfrage__kopf p { margin-top: 20px; color: var(--schiefer); max-width: 30em; }
@media (min-width: 1024px) { .anfrage > .anfrage__aktionen { grid-column: 7 / span 6; align-self: end; } }

/* Verkaufte Objekte: dunkle Marke statt der weißen Beispiel-Marke */
.objekt__beispiel--verkauft, .galerie__beispiel--verkauft { background: var(--tinte); color: var(--weiss); }
/* Exposé ohne Hinweisleiste: Abstand zum festen Kopf selbst halten */
.expose-kopf--oben { margin-top: var(--kopf-h); }
.dunkel .anfrage__kopf p { color: var(--nebel); }
.wahl__optionen--klein .wahl__option span { min-height: 52px; font-family: var(--text); font-size: 16px; font-weight: 500; }
.weitere__liste { display: grid; gap: 48px var(--spalt); margin-top: 40px; }
@media (min-width: 768px) { .weitere__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Lightbox */
.leuchtkasten { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--nacht); color: var(--weiss); }
.leuchtkasten[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.leuchtkasten::backdrop { background: var(--nacht); }
.leuchtkasten__kopf { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--rand); gap: 16px; font-size: 14px; color: var(--nebel); }
.leuchtkasten__bild { position: relative; min-height: 0; }
.leuchtkasten__bild img { position: absolute; top: 0; bottom: 0; left: var(--rand); width: calc(100% - 2 * var(--rand)); height: 100%; object-fit: contain; background: none !important; }
.leuchtkasten__fuss { display: flex; justify-content: center; gap: 8px; padding: 16px; }
.leuchtkasten button { display: inline-grid; place-items: center; min-width: 52px; min-height: 52px; padding: 0 16px; border: 1px solid var(--uferlinie); background: transparent; color: var(--weiss); font-size: 15px; }
.leuchtkasten button:hover { border-color: var(--messing-hell); }
.leuchtkasten :focus-visible { outline-color: var(--messing-hell); }

/* Über mich */
.portraithero { padding-top: calc(var(--kopf-h) + clamp(32px, 5vw, 80px)); padding-bottom: clamp(56px, 7vw, 120px); row-gap: 48px; align-items: end; }
.portraithero__bild { max-width: 520px; margin: 8px; }
.portraithero__bild .passepartout { aspect-ratio: .7071; }
.portraithero__text .lead { margin-top: 28px; }
@media (min-width: 1024px) {
  .portraithero > .portraithero__text { grid-column: 1 / span 7; padding-bottom: 24px; }
  .portraithero > .portraithero__bild { grid-column: 8 / span 5; justify-self: end; width: calc(100% - 16px); }
}
@media (min-width: 768px) and (max-width: 1023px) { .portraithero > .portraithero__bild { grid-column: 3 / span 8; } }
.geschichte { row-gap: 40px; }
.geschichte__lead { font-family: var(--display); font-size: clamp(28px, 22px + 1.8vw, 52px); font-weight: 500; line-height: 1.18; letter-spacing: -0.005em; max-width: 22em; text-wrap: pretty; }
.geschichte__text p { color: var(--schiefer); max-width: 34em; }
.geschichte__text p + p { margin-top: 1em; }
@media (min-width: 1024px) {
  .geschichte > .geschichte__lead { grid-column: 1 / span 10; }
  .geschichte > .geschichte__text { grid-column: 5 / span 6; column-count: 1; }
}
.arbeitsweise { display: grid; gap: 0; border-top: 1px solid var(--linie); }
.arbeitsweise li { padding: 28px 0; border-bottom: 1px solid var(--linie); }
.arbeitsweise h3 { font-family: var(--display); font-size: clamp(26px, 22px + .8vw, 34px); font-weight: 600; line-height: 1.1; margin-bottom: 10px; }
.arbeitsweise p { color: var(--schiefer); max-width: 30em; }
@media (min-width: 768px) { .arbeitsweise { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--spalt); border-top: 0; } .arbeitsweise li:nth-child(-n+2) { border-top: 1px solid var(--linie); } }
.name { row-gap: 40px; align-items: center; }
.name__bild { aspect-ratio: .709; overflow: hidden; margin-inline: calc(var(--rand) * -1); }
.name__bild img { width: 100%; height: 100%; object-fit: cover; }
.name__text p { margin-top: 24px; font-size: var(--fs-lead); color: var(--schiefer); max-width: 26em; }
.name__bildtext { margin-top: 12px; font-size: 13px; color: var(--schiefer); }
@media (min-width: 768px) { .name__bild { margin-inline: 0; } .name > .name__bild-wrap { grid-column: 1 / span 6; } .name > .name__text { grid-column: 8 / span 5; } }
@media (min-width: 1024px) { .name > .name__bild-wrap { grid-column: 1 / span 5; } .name__bild { margin-left: calc(var(--rand) * -1); } }
.quali { padding-block: 28px; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); row-gap: 12px; }
.quali h2 { font-family: var(--display); font-size: var(--fs-h3); font-weight: 600; }
.quali p { color: var(--schiefer); }
.quali__platzhalter { display: inline-block; padding: 2px 10px; border: 1px dashed var(--feldrahmen); font-size: 14px; color: var(--schiefer); margin-left: 8px; }
@media (min-width: 1024px) { .quali > h2 { grid-column: 1 / span 4; } .quali > p { grid-column: 5 / span 8; align-self: center; } }
.insta { row-gap: 24px; align-items: end; }
.insta__link { container-type: inline-size; }
.insta__handle { font-family: var(--display); font-size: clamp(22px, 8.2cqi, 72px); font-weight: 500; line-height: 1; text-decoration: underline; text-decoration-color: var(--messing); text-decoration-thickness: 1px; text-underline-offset: .14em; overflow-wrap: anywhere; display: inline-block; padding-block: 10px; }
.insta__handle:hover { text-decoration-thickness: 2px; }
@media (min-width: 1024px) { .insta > .insta__kopf { grid-column: 1 / span 5; } .insta > .insta__link { grid-column: 7 / span 6; text-align: right; } }
.insta__kopf p { margin-top: 16px; color: var(--schiefer); max-width: 30em; }

/* Kontakt */
.wege-liste { border-top: 1px solid var(--linie); }
.wege-liste li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--linie); }
.wege-liste__titel { font-size: 14px; color: var(--schiefer); }
.wege-liste__wert { font-family: var(--display); font-size: clamp(26px, 22px + .8vw, 34px); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.wege-liste__wert--offen { color: var(--schiefer); font-weight: 500; font-style: normal; }
.wege-liste__wert--mail { font-size: clamp(23px, 19px + .7vw, 31px); }
a.wege-liste__wert.wege-liste__wert--mail { display: inline-block; padding-block: 8px; }
a.wege-liste__wert { display: inline-flex; align-items: center; min-height: 48px; justify-self: start; text-decoration-color: var(--messing); text-decoration-thickness: 1px; }
.kontakt-haupt { row-gap: 56px; }
@media (min-width: 1024px) {
  .kontakt-haupt > .kontakt-wege { grid-column: 1 / span 4; }
  .kontakt-haupt > .formflaeche { grid-column: 6 / span 7; }
}
.danach { display: grid; gap: 40px; counter-reset: danach; }
@media (min-width: 768px) { .danach { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--spalt); } }
.danach li { border-top: 1px solid var(--linie); padding-top: 20px; }
.danach__ziffer { display: block; font-family: var(--display); font-variant-numeric: lining-nums; font-size: 64px; line-height: 1; color: var(--messing); margin-bottom: 12px; }
.danach h3 { font-family: var(--display); font-size: clamp(26px, 22px + .6vw, 30px); font-weight: 600; line-height: 1.1; margin-bottom: 8px; }
.danach p { color: var(--schiefer); }
.kontakt-karte { row-gap: 32px; align-items: center; }
@media (min-width: 1024px) { .kontakt-karte > .kontakt-karte__text { grid-column: 1 / span 4; } .kontakt-karte > .minikarte { grid-column: 6 / span 7; } }
.kontakt-karte__text p { margin-top: 16px; color: var(--schiefer); }

/* Rechtliches */
.rechtstext { padding-bottom: var(--abschnitt); }
.rechtstext__inhalt { max-width: 46em; }
.rechtstext .h1 { font-size: clamp(40px, 26px + 3.9vw, 96px); }
.rechtstext h2 { overflow-wrap: break-word; hyphens: manual; font-family: var(--display); font-size: clamp(30px, 24px + 1.2vw, 44px); font-weight: 500; line-height: 1.1; margin: 64px 0 20px; }
.recht-block { padding-top: 8px; }
.recht-block p { max-width: 40em; color: var(--schiefer); }
.recht-block p + p { margin-top: .9em; }
.recht-block .recht-zeilen { color: var(--tinte); line-height: 1.65; }
.recht-block--erst h2 { margin-top: 48px; }
.recht-liste { margin: 0; display: grid; gap: 6px; }
.recht-liste div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; align-items: baseline; }
.recht-liste dt { color: var(--schiefer); font-size: 15px; }
.recht-liste dd { margin: 0; overflow-wrap: anywhere; }
.recht-liste a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--messing); }
.recht-block a.textlink { margin-top: 4px; }
.recht-stand { margin-top: 16px; font-size: var(--fs-klein); color: var(--schiefer); }
.hinweiszeile--entwurf { border-left-color: var(--tinte); color: var(--tinte); font-weight: 500; }
.rechtstext .hinweiszeile { margin-top: 32px; }
.pflicht { border-top: 1px solid var(--linie); margin-top: 32px; }
.pflicht li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.pflicht__folgt { color: var(--schiefer); font-size: 14px; flex: none; }
.nachweis-tabelle { font-size: 15px; margin-top: 24px; }
.nachweis-tabelle th, .nachweis-tabelle td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--linie); }
.nachweis-tabelle thead th { font-weight: 500; color: var(--schiefer); border-bottom-color: var(--tinte); font-size: 14px; }
.nachweis-tabelle td:first-child { color: var(--schiefer); }
.nachweis-tabelle td { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .nachweis-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nachweis-tabelle tr { display: grid; grid-template-columns: minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--linie); }
  .nachweis-tabelle td { border: 0; padding: 2px 0; }
}

/* ---------- Handy quer: Bilder und Karten passen in die Bildschirmhöhe ----------
   Steht am Ende, damit die Grundregeln gleicher Spezifität nicht gewinnen. --quer-max = Höhe abzüglich Kopf (beim
   Hochscrollen sichtbar) und Leiste unten. Höhe fest, Breite aus dem Seitenverhältnis (width: auto + aspect-ratio) */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 1023px) {
  :root { --quer-max: calc(100svh - var(--kopf-h) - 60px - env(safe-area-inset-bottom, 0px)); }
  .versprechen__bild { width: auto; max-width: none; }
  .versprechen__bild .passepartout, .leinelauf__karte .karte, .etappe__bild-rahmen {
    height: var(--quer-max); width: auto; max-width: 100%;
  }
  .leinelauf__karte .karte { margin-inline: auto; }
  /* Spalte nicht vom Etappenrahmen aufweiten lassen (sonst waagerechter Überlauf in schmalen Fenstern) */
  .etappen { grid-template-columns: minmax(0, 1fr); }
  /* Minikarte: Seitenverhältnis fest 1 : 0,72 (partials/karte.njk) – Breite begrenzen, Höhe folgt, Beschriftung bleibt passend */
  .karte--mini { width: min(100%, calc(var(--quer-max) / .72)); margin-inline: auto; }
  /* Leine-Karte ist hier klein: nur die Namen wie am Handy, Städte etwas kleiner (keine Überlappungen) */
  .leinelauf .ort:not(.ort--mobil) .ort__name { display: none; }
  .leinelauf .ort--stadt .ort__name, .leinelauf .ort--heimat .ort__name { font-size: 17px; }
  .weg__bild { aspect-ratio: auto; min-height: var(--quer-max); }
  .weg__bild picture { position: absolute; inset: 0; }
  .weg__inhalt { padding-top: 64px; }
  .band .raster { padding-block: 48px; }
  .hero-streifen { aspect-ratio: auto; height: var(--quer-max); }
}
/* sehr flach: Karte so klein, dass nur noch Laatzen und Hannover beschriftet bleiben (Punkte bleiben sichtbar) */
@media (max-height: 380px) and (orientation: landscape) and (max-width: 1023px) {
  .leinelauf .ort:not(.ort--heimat):not(.ort--stadt) .ort__name { display: none; }
}
@media (max-height: 340px) and (orientation: landscape) and (max-width: 1023px) {
  .weg__inhalt { padding: 48px 24px 20px; gap: 10px; }
  .weg__titel { font-size: 28px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
