/* Genovapartments FAB · zweite Fassung der Website (Tilo 16.11.2026: „modernes Design, Parallax, Frosted-Elemente,
   State-of-the-Art-Animationen … überrasch mich“). Gestaltungsprofil in der LIESMICH.
   Idee „Vom Hafen in die Wohnung“: Das Hafenbild schließt sich beim Scrollen zu einem Torbogen (Portici di Sottoripa),
   im Bogen erscheint das Zimmer. Farben gemessen an den Wohnungen: Salbeigrün der Wände, Blau der Bettdecken, Eiche des Bodens,
   Rot des Flurs im Apartment Family (zugleich das Rot des Georgskreuzes), Kalkweiß. Immer hell (Tilo 14.11.2026).
   Formen: Torbogen und scharfe Kante, Haarlinien statt Schatten. Glas: backdrop-filter, mit Ersatz ohne Unschärfe. */

:root {
  color-scheme: only light;
  --calce: #F5F2EC;         /* Kalkweiß der Wände (gemessen #E4DFD7 im Schatten, aufgehellt) */
  --salvia: #5F6E68;        /* Wandfarbe der Apartments, gemessen #606E67 / #616C63 */
  --salvia-tief: #26322F;   /* dieselbe Farbe im Schatten, für den Fuß */
  --tinte: #1B2623;
  --leise: #53605B;
  --nebbia: #E7ECE8;        /* Salbei, stark aufgehellt */
  --blu: #4E6C96;           /* Bettdecke, gemessen #4D6F9C / #526A8C */
  --rovere: #A57C4E;        /* Eichenboden, gemessen #9E7343 / #AD8763 */
  --rosso: #A8343C;         /* Flur im Apartment Family, gemessen #8C2932 bis #B44146 */
  --linie: rgb(27 38 35 / .15);
  --glas: rgb(255 255 255 / .58);
  --glas-rand: rgb(255 255 255 / .8);
  --unscharf: blur(22px) saturate(1.6);
  --r: 3px;
  --schrift: "Bricolage Grotesque", "Bricolage Ersatz", system-ui, sans-serif;
  --kursiv: "Noto Serif Display", "Noto Ersatz", Georgia, serif;
  --weich: cubic-bezier(.2, .7, .2, 1);
  --breite: 1320px;
  --rand: clamp(18px, 4.5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--calce); color: var(--tinte); font: 400 17px/1.6 var(--schrift); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
h1, h2, h3 { margin: 0; font-weight: 640; line-height: 1.02; letter-spacing: -.035em; font-stretch: 84%; text-wrap: balance; }
h1 em, h2 em, blockquote em { font-family: var(--kursiv); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -.025em; font-size: 1.03em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--salvia); color: #fff; }
:focus-visible { outline: 2px solid var(--blu); outline-offset: 3px; }
[id] { scroll-margin-top: 96px; }

/* ---------------------------------------------------------------- Bausteine */
.breite { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.schmal { max-width: 820px; }
.abschnitt { position: relative; padding-block: clamp(72px, 10vw, 150px); }
.nebel { background: var(--nebbia); }
.zwei { display: grid; gap: clamp(30px, 5vw, 84px); }
.titelblock { max-width: 780px; margin-bottom: clamp(34px, 5vw, 68px); }
.titelblock .lead { margin: 20px 0 0; }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.5; color: #33413D; }
.sym { width: 20px; height: 20px; fill: currentColor; flex: none; }
.sym.wa { fill: #1E9E52; }
.sym.links { rotate: 180deg; }
.nr { font: italic 400 1.15rem/1.3 var(--kursiv); color: var(--rosso); }

/* Kennzeile mit dem Georgskreuz der Fahne als kleinem Zeichen */
.kennung, .brot { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--salvia); }
.kennung::before, .brot::before { content: ""; flex: none; width: 11px; height: 11px; background: linear-gradient(var(--rosso) 0 0) center / 100% 3px no-repeat, linear-gradient(var(--rosso) 0 0) center / 3px 100% no-repeat; }
.brot a { text-decoration: none; }
.brot a:hover { color: var(--tinte); }
.brot [aria-current] { color: var(--tinte); }

/* Glas */
.glas { background: var(--glas); -webkit-backdrop-filter: var(--unscharf); backdrop-filter: var(--unscharf); border: 1px solid var(--glas-rand); border-radius: var(--r); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glas, .kopf-leiste, .aktionsleiste, .sprungleiste a { background: rgb(255 255 255 / .93) !important; }
  .menue { background: var(--calce) !important; }
}

/* Torbogen */
.bogen { display: block; overflow: hidden; border-radius: 999px 999px var(--r) var(--r); }
.bogen img, .rahmen img { width: 100%; height: 100%; object-fit: cover; }
.rahmen { overflow: hidden; border-radius: var(--r); }
figure { margin: 0; }
figcaption { padding-top: 10px; font-size: .86rem; color: var(--leise); }

/* Knöpfe: scharfe Kante, die Füllung steigt von unten auf */
.knopf { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; color: #fff; background: var(--tinte); border: 1px solid var(--tinte); border-radius: var(--r); cursor: pointer; transition: color .35s, border-color .35s; }
.knopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--salvia); translate: 0 101%; transition: translate .5s var(--weich); }
.knopf:hover::before, .knopf:focus-visible::before { translate: 0 0; }
.knopf.hell { color: var(--tinte); background: rgb(255 255 255 / .6); border-color: rgb(255 255 255 / .9); -webkit-backdrop-filter: var(--unscharf); backdrop-filter: var(--unscharf); }
.knopf.hell::before { background: #fff; }
.knopf.klein { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.mehr { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.mehr .sym { width: 18px; height: 18px; transition: translate .4s var(--weich); }
a.mehr:hover .sym, .wohnung:hover .mehr .sym { translate: 6px 0; }
.rund { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid var(--tinte); border-radius: 50%; background: transparent; cursor: pointer; transition: background .3s, color .3s, opacity .3s; }
.rund:hover:not(:disabled) { background: var(--tinte); color: #fff; }
.rund:disabled { opacity: .28; cursor: default; }

/* Einblenden beim Scrollen (seite.js setzt .js.bewegt und je Element .da) */
.js.bewegt .zeig { opacity: 0; translate: 0 30px; transition: opacity .9s var(--weich), translate .9s var(--weich); transition-delay: calc(var(--i, 0) * 90ms); }
.js.bewegt .zeig.da { opacity: 1; translate: none; }

/* ---------------------------------------------------------------- Kopfleiste (Glas, schwebt) */
.sprung { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--tinte); color: #fff; border-radius: var(--r); }
.sprung:focus { left: 8px; }
.kopf { position: fixed; inset: 12px 0 auto; z-index: 60; padding-inline: var(--rand); pointer-events: none; }
.kopf-leiste { pointer-events: auto; view-transition-name: kopf; display: flex; align-items: center; gap: clamp(10px, 1.8vw, 26px); width: min(100%, var(--breite)); height: 60px; margin-inline: auto; padding: 0 8px 0 14px; background: rgb(255 255 255 / .56); -webkit-backdrop-filter: var(--unscharf); backdrop-filter: var(--unscharf); border: 1px solid var(--glas-rand); border-radius: var(--r); transition: height .4s var(--weich), background .4s; }
.kopf.gescrollt .kopf-leiste { height: 52px; background: rgb(255 255 255 / .8); }
/* Lesefortschritt: rote Linie an der Unterkante der Leiste, wächst mit dem Scrollen */
.kopf-leiste { position: relative; }
.kopf-leiste::after { content: ""; position: absolute; inset: auto -1px -1px; height: 2px; background: var(--rosso); transform-origin: left; scale: 0 1; }
.marke { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 1.14rem; font-weight: 680; letter-spacing: -.04em; font-stretch: 82%; text-decoration: none; }
.marke img { width: auto; height: 26px; }
.hauptnav { display: none; gap: 2px; margin-left: auto; }
.hauptnav a { position: relative; padding: 8px 12px; font-size: .95rem; font-weight: 500; text-decoration: none; }
.hauptnav a::after { content: ""; position: absolute; inset: auto 12px 3px; height: 1px; background: currentColor; scale: 0 1; transform-origin: right; transition: scale .45s var(--weich); }
.hauptnav a:hover::after { scale: 1 1; transform-origin: left; }
.hauptnav a[aria-current="page"]::after { scale: 1 1; height: 2px; background: var(--rosso); }
.sprachen { display: flex; margin-left: auto; border: 1px solid var(--linie); border-radius: var(--r); overflow: hidden; }
.sprache { padding: 6px 9px; font-size: .76rem; font-weight: 600; letter-spacing: .07em; line-height: 1.2; text-decoration: none; transition: background .25s; }
a.sprache:hover { background: rgb(255 255 255 / .8); }
.sprache.aktiv { background: var(--tinte); color: #fff; }
.kopf-cta { display: none; }
.menue-knopf { display: grid; align-content: center; gap: 7px; width: 44px; height: 44px; padding: 0 11px; border: 0; background: none; cursor: pointer; }
.menue-knopf span { height: 1.5px; background: var(--tinte); transition: translate .3s var(--weich); }
.menue-knopf:hover span:first-child { translate: 4px 0; }
.menue-knopf:hover span:last-child { translate: -4px 0; }
@media (min-width: 1000px) {
  .hauptnav { display: flex; }
  .sprachen { margin-left: 0; }
  .kopf-cta { display: inline-flex; }
  .menue-knopf { display: none; }
}
@media (max-width: 480px) { .kopf-leiste { gap: 8px; padding-left: 10px; } .marke { gap: 8px; font-size: 1.06rem; } .marke img { height: 21px; } .sprache { padding: 6px 7px; } }

/* Menü am Handy: Popover über die ganze Fläche, Glas, Einträge steigen nacheinander auf */
.menue { position: fixed; inset: 0; z-index: 80; display: none; flex-direction: column; justify-content: space-between; gap: 30px; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 92px var(--rand) 30px; border: 0; overflow-y: auto; color: var(--tinte); background: rgb(245 242 236 / .8); -webkit-backdrop-filter: blur(30px) saturate(1.5); backdrop-filter: blur(30px) saturate(1.5); opacity: 0; transition: opacity .45s var(--weich), display .45s allow-discrete, overlay .45s allow-discrete; }
.menue:popover-open, .menue.offen { display: flex; opacity: 1; }
@starting-style { .menue:popover-open { opacity: 0; } }
.menue-zu { position: absolute; top: 20px; right: var(--rand); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--tinte); border-radius: 50%; background: none; cursor: pointer; }
.menue-nav { display: grid; }
.menue-nav a { padding: 10px 0; font-size: clamp(1.9rem, 8.6vw, 3.2rem); font-weight: 640; line-height: 1.1; letter-spacing: -.04em; font-stretch: 82%; text-decoration: none; border-bottom: 1px solid var(--linie); opacity: 0; translate: 0 26px; transition: opacity .6s var(--weich), translate .6s var(--weich); transition-delay: calc(90ms + var(--i) * 55ms); }
.menue-nav a[aria-current="page"] { font-family: var(--kursiv); font-style: italic; font-weight: 400; font-stretch: 100%; }
.menue:popover-open .menue-nav a, .menue.offen .menue-nav a { opacity: 1; translate: none; }
@starting-style { .menue:popover-open .menue-nav a { opacity: 0; translate: 0 26px; } }
.menue-fuss { display: grid; gap: 8px; }

/* Leiste am Handy: WhatsApp, Anrufen, Anfragen */
.aktionsleiste { position: fixed; inset: auto 10px 10px; z-index: 55; view-transition-name: leiste; display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 5px; padding: 5px; background: rgb(255 255 255 / .62); -webkit-backdrop-filter: var(--unscharf); backdrop-filter: var(--unscharf); border: 1px solid var(--glas-rand); border-radius: var(--r); }
.aktionsleiste a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 6px; font-size: .84rem; font-weight: 600; line-height: 1.15; text-decoration: none; border-radius: 2px; }
.aktionsleiste a:first-child .sym { fill: #1E9E52; }
.aktionsleiste .haupt { background: var(--tinte); color: #fff; }
@media (min-width: 1000px) { .aktionsleiste { display: none; } }

/* ---------------------------------------------------------------- Auftakt: Hafenbild, Überschrift, Glasband */
.held { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 26px; min-height: 100svh; padding: 110px 0 clamp(12px, 2vw, 22px); overflow: clip; }
.fenster { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--nebbia); }
.fenster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fenster .f-hafen { object-position: 50% 14%; animation: ankommen 2.4s var(--weich) both; }
.fenster .f-zimmer { display: none; }
/* heller Schleier über dem Himmel, damit die dunkle Schrift auf den Wolken steht */
.fenster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(64% 58% at 0% 26%, rgb(245 242 236 / .78), rgb(245 242 236 / 0) 72%), linear-gradient(180deg, rgb(245 242 236 / .88) 0%, rgb(245 242 236 / .6) 30%, rgb(245 242 236 / 0) 56%); }
.held-inhalt { display: grid; gap: clamp(14px, 1.8vw, 24px); margin-bottom: auto; }
.held h1 { max-width: 13.5em; font-size: clamp(2.5rem, 5.6vw, 5.5rem); line-height: .96; letter-spacing: -.04em; word-spacing: .1em; font-stretch: 80%; }
.held-neben { display: grid; gap: 18px; max-width: 34rem; }
.held-neben .lead { margin: 0; color: var(--tinte); }
/* heller Hof um die Schrift: bleibt lesbar, wo sie bei niedrigen Fenstern über Hügel und Häuser läuft */
.held h1, .held-neben .lead { text-shadow: 0 0 20px rgb(245 242 236 / .9), 0 0 4px rgb(245 242 236 / .7); }
.wort { display: inline-block; animation: wort 1.1s var(--weich) both; animation-delay: calc(140ms + var(--i) * 75ms); }
.held .kennung { animation: auf 1s var(--weich) both; }
.held-neben { animation: auf 1.1s var(--weich) .75s both; }
.held-fuss { display: grid; }
.dock { display: grid; grid-template-columns: repeat(2, 1fr); animation: auf 1.1s var(--weich) .95s both; }
.dock li { display: grid; align-content: center; gap: 2px; min-height: 76px; padding: 12px 16px; border-top: 1px solid rgb(27 38 35 / .1); border-left: 1px solid rgb(27 38 35 / .1); }
.dock li:nth-child(odd) { border-left: 0; }
.dock li:nth-child(-n+2) { border-top: 0; }
.dock b { font: italic 400 clamp(1.7rem, 2.9vw, 2.5rem)/1 var(--kursiv); letter-spacing: -.02em; }
.dock span { font-size: .86rem; line-height: 1.3; color: #33413D; }
.dock .dock-text { grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.dock-text .sym { fill: var(--rosso); }
.dock-text span { font-size: .92rem; font-weight: 550; color: var(--tinte); }
/* am Handy bleibt unter dem Band Platz für die feste Leiste (WhatsApp, Anrufen, Anfragen) */
@media (max-width: 999px) { .held { padding-bottom: 80px; } }
@media (min-width: 800px) {
  .dock { grid-template-columns: repeat(4, 1fr); }
  .dock li, .dock li:nth-child(odd) { border-top: 0; border-left: 1px solid rgb(27 38 35 / .1); padding: 14px 22px; }
  .dock li:first-child { border-left: 0; }
}
@media (min-width: 1000px) {
  .held-inhalt { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); column-gap: clamp(30px, 4vw, 70px); align-items: end; }
  .held .kennung { grid-column: 1 / -1; }
  .held-neben { padding-bottom: .5em; }
}
@keyframes ankommen { from { scale: 1.12; } }
@keyframes wort { from { opacity: 0; translate: 0 .45em; filter: blur(12px); } }
@keyframes auf { from { opacity: 0; translate: 0 24px; } }

/* Direkt buchen: Text und Bogen mit dem Zimmer (am Rechner Teil der Scroll-Szene, siehe unten) */
.direkt { padding-block: clamp(64px, 9vw, 120px); }
.direkt-raster { display: grid; gap: clamp(30px, 5vw, 70px); }
.direkt-text .lead { max-width: 36rem; margin: 18px 0 0; }
.vorteile { margin: 26px 0 28px; border-top: 1px solid var(--linie); }
.vorteile li { display: grid; grid-template-columns: 42px 1fr; padding: 15px 0; border-bottom: 1px solid var(--linie); }
.vorteile b { display: block; font-weight: 640; letter-spacing: -.01em; }
.vorteile div span { font-size: .97rem; color: var(--leise); }
.direkt-bogen { justify-self: center; width: min(100%, 480px); aspect-ratio: 4 / 5; }
@media (min-width: 1000px) { .direkt-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; } }

/* Schreiben Sie uns gleich: Band mit drei Wegen und den Zeiten */
.sofort { padding-block: clamp(30px, 4vw, 46px); border-block: 1px solid var(--linie); }
.sofort-raster { display: grid; gap: 20px; align-items: center; }
.sofort h2 { font-size: clamp(1.5rem, 2.3vw, 2.05rem); }
.kontakt-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.sofort .knopf.hell { background: #fff; border-color: var(--linie); }
.sofort .knopf.hell::before { background: var(--nebbia); }
.sofort-zeiten h3 { margin-bottom: 4px; font-size: .78rem; font-weight: 600; letter-spacing: .15em; font-stretch: 100%; text-transform: uppercase; color: var(--salvia); }
.sofort-zeiten p { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--leise); }
@media (min-width: 1180px) { .sofort-raster { grid-template-columns: auto minmax(0, 1fr) minmax(240px, 330px); gap: 40px; } .kontakt-knoepfe { justify-content: center; } }

/* ---------------------------------------------------------------- Drei Apartments, drei Bögen */
.arkade { display: grid; gap: clamp(26px, 2.6vw, 38px); }
.wohnung { position: relative; }
.wohnung-bild { aspect-ratio: 3 / 3.9; }
.wohnung-bild img { transition: transform 1.4s var(--weich), scale 1.6s var(--weich); }
.wohnung:hover .wohnung-bild img { transform: scale(1.06); }
.wohnung-text { position: relative; margin: -92px 12px 0; padding: 20px 22px 20px; transition: translate .6s var(--weich), background .4s; }
.wohnung:hover .wohnung-text { translate: 0 -8px; background: rgb(255 255 255 / .78); }
.wohnung h3 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); }
.wohnung h3 a { text-decoration: none; }
.wohnung h3 a::after { content: ""; position: absolute; inset: 0; }
.wohnung p { margin: 0 0 14px; font-size: .97rem; color: #33413D; }
.fakten { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.fakten li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; font-size: .82rem; font-weight: 550; line-height: 1.3; border: 1px solid var(--linie); border-radius: var(--r); background: rgb(255 255 255 / .5); }
.fakten .sym { width: 14px; height: 14px; fill: var(--salvia); }
.js.bewegt .wohnung-bild { clip-path: inset(100% 0 0 0); transition: clip-path 1.25s var(--weich); transition-delay: calc(var(--i, 0) * 120ms); }
.js.bewegt .wohnung-bild img { scale: 1.25; }
.js.bewegt .wohnung.da .wohnung-bild { clip-path: inset(0 0 0 0); }
.js.bewegt .wohnung.da .wohnung-bild img { scale: 1; }
.wohnung[data-apt="a"] .wohnung-bild, #a .apt-titelbild { view-transition-name: apt-a; }
.wohnung[data-apt="b"] .wohnung-bild, #b .apt-titelbild { view-transition-name: apt-b; }
.wohnung[data-apt="family"] .wohnung-bild, #family .apt-titelbild { view-transition-name: apt-family; }
@media (min-width: 760px) { .arkade { grid-template-columns: repeat(3, 1fr); } .wohnung-text { margin-inline: 10px; padding: 18px 18px 18px; } }
@media (min-width: 1100px) { .wohnung-text { margin-inline: 16px; padding: 22px 24px; } }

/* Laufband: Orte in großer Schrift, laufen mit dem Scrollen gegeneinander */
.laufband { display: grid; gap: .08em; padding: clamp(20px, 4vw, 60px) 0 clamp(40px, 7vw, 110px); overflow: clip; font-size: clamp(2.8rem, 9.2vw, 8.6rem); line-height: 1.02; white-space: nowrap; }
.lauf { display: flex; gap: .42em; width: max-content; margin: 0; }
.lauf span { display: inline-flex; align-items: center; gap: .42em; }
.lauf span::after { content: ""; width: .2em; height: .2em; background: linear-gradient(var(--rosso) 0 0) center / 100% 26% no-repeat, linear-gradient(var(--rosso) 0 0) center / 26% 100% no-repeat; }
.lauf-a { font-weight: 700; letter-spacing: -.05em; font-stretch: 76%; }
.lauf-b { font-family: var(--kursiv); font-style: italic; font-weight: 300; letter-spacing: -.03em; color: var(--salvia); translate: -18% 0; }

/* ---------------------------------------------------------------- Lage: Windrose, Wege, Karte mit Glasschild */
.lage { overflow: clip; }
.rose { position: absolute; top: -9vw; right: -11vw; width: min(64vw, 800px); aspect-ratio: 1; color: var(--salvia); opacity: .2; pointer-events: none; }
.rose svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: .16; }
.lage-raster { position: relative; display: grid; gap: clamp(30px, 5vw, 84px); }
.lage-text h2 { margin-top: 18px; }
.lage-text .lead { margin: 20px 0 0; }
.wege { margin: 26px 0 28px; border-top: 1px solid var(--linie); }
.wege li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.wege .sym { width: 22px; height: 22px; margin-top: 3px; fill: var(--salvia); }
.wege b { display: block; font-weight: 640; letter-spacing: -.01em; }
.wege span { font-size: .96rem; color: var(--leise); }
.lage-karte { position: relative; }
.lage-karte img { width: 100%; border-radius: var(--r); }
/* Schild der Karte (Tilo 19.11.2026): am Handy unter dem Bild, ab 700 px rechts unten und höchstens 60 % breit.
   So bleiben beide roten Punkte, die Beschriftung des unteren Punkts und der Vermerk „Google Earth“ links unten frei. */
.lage-karte figcaption { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 12px; font-size: .86rem; font-weight: 550; line-height: 1.3; color: var(--tinte); }
@media (min-width: 700px) { .lage-karte figcaption { position: absolute; right: 12px; bottom: 12px; max-width: 60%; margin: 0; padding: 10px 14px; font-size: .9rem; } }
.lage-karte figcaption .sym { fill: var(--rosso); }
.lp-links { display: grid; justify-items: start; gap: 12px; margin-top: 22px; }
@media (min-width: 1000px) { .lage-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; } .zwei { grid-template-columns: 1fr 1fr; align-items: center; } .zwei.oben { align-items: start; } }

/* ---------------------------------------------------------------- Genua: Bilder zum Durchschieben */
.stadt { overflow: clip; }
.stadt-kopf { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.stadt-kopf .titelblock { margin-bottom: clamp(26px, 4vw, 50px); }
.rollen-knoepfe { display: none; gap: 8px; margin-bottom: clamp(26px, 4vw, 50px); }
@media (min-width: 700px) { .js .rollen-knoepfe { display: flex; } }
.rolle { --seite: max(var(--rand), calc((100% - var(--breite)) / 2)); padding-inline: var(--seite); scroll-padding-inline: var(--seite); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rolle::-webkit-scrollbar { display: none; }
.rolle ul { display: flex; gap: clamp(14px, 2vw, 26px); width: max-content; }
.rolle li { width: min(80vw, 560px); scroll-snap-align: start; }
.rolle-bild { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); }
.rolle li { align-self: end; }
.rolle li.hoch { width: min(62vw, 400px); }
.rolle li.hoch .rolle-bild { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r) var(--r); }
.rolle-bild img { width: 100%; height: 100%; object-fit: cover; }
.rolle figcaption { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 12px; padding-top: 12px; color: var(--tinte); }
.rolle figcaption b { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }

/* ---------------------------------------------------------------- Fragen und Antworten */
.fragen-raster { display: grid; gap: clamp(26px, 5vw, 84px); }
.fragen-kopf h2 + p { margin: 24px 0 0; }
.faq-gruppe { margin: 46px 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .15em; font-stretch: 100%; text-transform: uppercase; color: var(--salvia); }
.faq-gruppe:first-child { margin-top: 0; }
.faq details { border-top: 1px solid var(--linie); }
.faq details:last-child { border-bottom: 1px solid var(--linie); }
.faq summary { position: relative; padding: 20px 52px 20px 0; font-size: 1.1rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; list-style: none; cursor: pointer; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: currentColor; transition: rotate .45s var(--weich), background .3s; }
.faq summary::after { rotate: 90deg; }
.faq details[open] summary::after { rotate: 0deg; }
.faq details[open] summary::before, .faq details[open] summary::after { background: var(--rosso); }
.faq summary:hover { color: var(--salvia); }
.faq details p { margin: 0; padding: 0 52px 24px 0; color: #33413D; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--weich), content-visibility .5s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
@media (min-width: 1000px) { .fragen-raster { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } .fragen-kopf { position: sticky; top: 120px; } }

/* ---------------------------------------------------------------- Schluss: Lanterna, Glaskarte */
.schluss { position: relative; isolation: isolate; padding-block: clamp(90px, 13vw, 190px); overflow: clip; }
.schluss-bild { position: absolute; inset: 0; z-index: -1; background: var(--salvia); }
.schluss-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 14%; }
.schluss-innen { display: grid; gap: 12px; }
.schluss-karte { max-width: 660px; padding: clamp(26px, 4vw, 54px); background: rgb(255 255 255 / .64); }
.schluss-karte .lead { margin: 18px 0 26px; color: var(--tinte); }
.schluss-karte .knoepfe + p { margin: 22px 0 0; }
@media (min-width: 1000px) { .schluss-karte { justify-self: end; } }

/* ---------------------------------------------------------------- Fuß */
.fuss { position: relative; padding: clamp(40px, 6vw, 84px) 0 26px; overflow: clip; background: var(--salvia-tief); color: #DCE3DE; }
.fuss-wort { margin: 0 0 clamp(24px, 4vw, 60px); font: italic 300 clamp(2.9rem, 13.2vw, 15.5rem)/.9 var(--kursiv); letter-spacing: -.04em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .4); }
.fuss-raster { display: grid; gap: 34px; }
.fuss .marke { margin-bottom: 14px; color: #fff; }
.fuss-marke p:last-child { max-width: 30ch; margin: 0; color: #B9C4BE; }
.fuss h2 { margin-bottom: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .15em; font-stretch: 100%; text-transform: uppercase; color: #9FB0A8; }
.fuss address, .fuss-links { display: grid; gap: 6px; line-height: 1.5; }
.fuss a { text-decoration: none; background: linear-gradient(currentColor 0 0) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--weich); }
.fuss a:hover { background-size: 100% 1px; }
.fuss-unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .16); font-size: .82rem; color: #B9C4BE; }
.fuss-unten p { margin: 0; }
.weblion { display: inline-flex; align-items: center; gap: 8px; }
.weblion img { width: auto; height: 16px; }
@media (min-width: 900px) { .fuss-raster { grid-template-columns: 1.5fr 1.2fr 1fr .8fr; } }
@media (max-width: 999px) { .fuss { padding-bottom: 92px; } }

/* ---------------------------------------------------------------- Unterseiten: Kopf mit Farbflächen der Wohnung hinter dem Glas */
.seitenkopf { position: relative; isolation: isolate; padding: clamp(128px, 16vw, 200px) 0 clamp(40px, 6vw, 84px); overflow: clip; }
.seitenkopf::before { content: ""; position: absolute; inset: -30% -10% 0; z-index: -1; animation: schweben 16s ease-in-out infinite alternate;
  background: radial-gradient(36% 58% at 84% 22%, rgb(78 108 150 / .3), transparent 72%), radial-gradient(34% 56% at 10% 6%, rgb(95 110 104 / .34), transparent 72%), radial-gradient(30% 46% at 52% 96%, rgb(165 124 78 / .22), transparent 72%); }
.seitenkopf h1 { max-width: 17em; margin-top: 22px; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.045em; font-stretch: 80%; }
.seitenkopf .lead { max-width: 46rem; margin: 24px 0 0; }
.seitenkopf .lead + p, .seitenkopf .knoepfe { margin: 26px 0 0; }
.seitenkopf h1, .seitenkopf .lead, .seitenkopf .brot { animation: auf 1s var(--weich) both; }
.seitenkopf .lead { animation-delay: .15s; }
.stand { font-size: .88rem; color: var(--leise); }
@keyframes schweben { to { transform: translate3d(2.5%, 4%, 0) scale(1.08); } }

/* Apartments */
.sprungleiste { display: grid; gap: 8px; max-width: 900px; margin-top: 34px; animation: auf 1s var(--weich) .3s both; }
.sprungleiste a { display: grid; gap: 2px; padding: 14px 18px; text-decoration: none; background: rgb(255 255 255 / .5); -webkit-backdrop-filter: var(--unscharf); backdrop-filter: var(--unscharf); border: 1px solid var(--glas-rand); border-radius: var(--r); transition: background .3s, translate .45s var(--weich); }
.sprungleiste a:hover { background: #fff; translate: 0 -4px; }
.sprungleiste b { font-weight: 640; letter-spacing: -.01em; }
.sprungleiste span { font-size: .86rem; color: var(--leise); }
.apt-raster { display: grid; gap: clamp(30px, 5vw, 84px); }
.apt-info h2 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
.apt-info .lead { margin: 4px 0 22px; }
.apt-info h3, .apt-fotos h3 { margin: 34px 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .15em; font-stretch: 100%; text-transform: uppercase; color: var(--salvia); }
.apt-fotos h3 { margin-top: 26px; }
.ausstattung { display: grid; gap: 9px 24px; margin: 0; }
.ausstattung li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: .97rem; line-height: 1.45; }
.ausstattung .sym { width: 18px; height: 18px; margin-top: 3px; fill: var(--rovere); }
.grundriss { padding: 12px; background: #fff; border: 1px solid var(--linie); border-radius: var(--r); }
.grundriss a { display: block; }
.grundriss img { width: 100%; }
.apt-titelbild { aspect-ratio: 4 / 4.5; }
.apt-titelbild img, .fotos img, .karten-liste img { transition: scale 1.1s var(--weich); }
.apt-titelbild:hover img, .fotos a:hover img, .karten-liste a:hover img { scale: 1.05; }
.fotos { columns: 2; column-gap: 10px; }
.fotos li { margin-bottom: 10px; break-inside: avoid; }
.fotos a, .karten-liste a { display: block; overflow: hidden; border-radius: var(--r); cursor: zoom-in; }
.fotos img, .karten-liste img { width: 100%; }
@media (min-width: 560px) { .ausstattung { grid-template-columns: 1fr 1fr; } .sprungleiste { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
  .apt-raster { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; }
  .apt:nth-of-type(odd) .apt-info { order: 2; }
}
/* Text und Anfrage-Knopf bleiben stehen, während die Fotos vorbeiziehen (nur wenn die Spalte ins Fenster passt) */
@media (min-width: 1000px) and (min-height: 780px) { .apt-info { position: sticky; top: 104px; } }

/* Lage und Anreise */
.karten-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 26px); }
@media (min-width: 1000px) { .karten-liste { grid-template-columns: repeat(4, 1fr); } }
.portale { margin: 0 0 30px; border-top: 1px solid var(--linie); }
.portale li { border-bottom: 1px solid var(--linie); }
.portale a { display: block; padding: 13px 0; font-weight: 550; text-decoration: none; transition: padding .4s var(--weich), color .3s; }
.portale a:hover { padding-left: 12px; color: var(--salvia); }
.schmal h2 + .lead { margin: 20px 0 0; }
.schmal h3 { margin: 40px 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .15em; font-stretch: 100%; text-transform: uppercase; color: var(--salvia); }
.zwei h2 + ul, .zwei h2 + p { margin-top: 24px; }
.zwei .ausstattung + p { margin: 24px 0 0; }
.zwei .bogen { aspect-ratio: 4 / 4.4; }

/* Über uns */
.ueber-text p { font-size: 1.08rem; }
blockquote { position: relative; margin: 0; padding-top: 34px; font: italic 300 clamp(1.7rem, 3.1vw, 2.8rem)/1.2 var(--kursiv); letter-spacing: -.02em; text-wrap: balance; color: var(--salvia-tief); }
blockquote::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: linear-gradient(var(--rosso) 0 0) center / 100% 4px no-repeat, linear-gradient(var(--rosso) 0 0) center / 4px 100% no-repeat; }
.dienste { display: grid; }
.dienste li { padding: 22px 0 28px; border-top: 1px solid var(--tinte); }
.dienste h2 { margin: 10px 0 8px; font-size: 1.55rem; }
.dienste p { max-width: 34ch; margin: 0; color: var(--leise); }
.orte { display: grid; column-gap: 40px; }
.orte li { display: grid; align-content: start; gap: 4px; padding: 18px 0 20px; border-top: 1px solid var(--linie); }
.orte b { font-size: 1.14rem; font-weight: 640; letter-spacing: -.015em; }
.orte span { font-size: .95rem; color: var(--leise); }
@media (min-width: 700px) { .orte { grid-template-columns: repeat(2, 1fr); } .dienste { grid-template-columns: repeat(3, 1fr); column-gap: 40px; } }
@media (min-width: 1100px) { .orte { grid-template-columns: repeat(4, 1fr); } }

/* Kontakt und Anfrage (anfrage.css lädt vorher; hier die Farben und Kanten dieser Seite) */
.kontakt { overflow: clip; }
.kontakt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 86% 30%, rgb(78 108 150 / .22), transparent 72%), radial-gradient(36% 46% at 60% 90%, rgb(165 124 78 / .2), transparent 72%), radial-gradient(34% 50% at 40% 10%, rgb(95 110 104 / .2), transparent 72%); }
.kontakt { isolation: isolate; padding-top: clamp(20px, 3vw, 40px); }
.kontakt-raster { display: grid; gap: clamp(30px, 5vw, 70px); }
.kontakt-liste { border-top: 1px solid var(--linie); }
.kontakt-liste li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.kontakt-liste .sym { margin-top: 4px; fill: var(--salvia); }
.kontakt-liste span { display: block; margin-bottom: 2px; font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--salvia); }
.kontakt-liste a { text-decoration: none; }
.kontakt-liste a:hover { text-decoration: underline; }
.checkin { margin: 30px 0; }
.checkin h2 { margin-bottom: 12px; font-size: 1.5rem; }
.checkin p { margin: 0 0 .5em; color: var(--leise); }
.lieber { margin: 0 0 12px; font-weight: 640; }
.kontakt .knopf.hell { background: #fff; border-color: var(--linie); }
.anfrage-platz { padding: clamp(20px, 3.4vw, 46px); background: rgb(255 255 255 / .62); }
.anfrage-platz > h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.anfrage-platz > .lead { margin: 12px 0 26px; }
.anfrage { --af-akzent: #1B2623; --af-akzent-text: #fff; --af-tinte: #1B2623; --af-leise: #53605B; --af-flaeche: transparent; --af-linie: rgb(27 38 35 / .2); --af-wahl: rgb(255 255 255 / .74); --af-rund: 0px; padding: 0; background: transparent; border-radius: 0; box-shadow: none; }
.anfrage .af-wahl span, .anfrage .af-chips .af-wahl span, .anfrage .af-feld input, .anfrage .af-feld textarea, .anfrage .af-zahl, .anfrage .af-zahl input, .anfrage .af-ok, .anfrage .af-knopf, .anfrage .af-fehler, .anfrage .af-notfall, .anfrage .af-ergebnis pre { border-radius: var(--r); }
.anfrage .af-frage { font-weight: 640; letter-spacing: -.02em; }
.anfrage .af-wahl b, .anfrage .af-knopf { font-weight: 600; }
@media (min-width: 1000px) { .kontakt-raster { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: start; } }

/* Datenschutz und Landingpages */
.recht { padding-top: clamp(20px, 3vw, 40px); }
.recht h2 { margin: 2.2em 0 .6em; font-size: 1.6rem; }
.recht h3 { margin: 1.8em 0 .5em; font-size: 1.15rem; font-stretch: 100%; }
.recht p, .recht li { color: #33413D; }
.recht ul { margin: 0 0 1em; padding-left: 1.2em; list-style: square; }
.recht .nachweise { font-size: .92rem; }
.recht a { text-decoration-color: var(--rosso); }
.lp-text h2 { margin: 1.5em 0 .7em; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.lp-text h2:first-child { margin-top: 0; }
.lp-bilder { display: grid; gap: 26px; }
.lp-bilder .bogen { aspect-ratio: 4 / 4.2; }
@media (min-width: 1000px) and (min-height: 700px) { .lp-text { position: sticky; top: 112px; } }

/* ---------------------------------------------------------------- Bildbetrachter (seite.js baut ihn als <dialog>) */
.lichtkasten { position: fixed; inset: 0; display: none; place-items: center; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(14px, 4vw, 60px); border: 0; overflow: hidden; background: rgb(27 38 35 / .52); -webkit-backdrop-filter: blur(26px) saturate(1.3); backdrop-filter: blur(26px) saturate(1.3); }
.lichtkasten[open] { display: grid; }
.lichtkasten::backdrop { background: transparent; }
.lichtkasten figure { display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lichtkasten img { width: auto; max-width: min(100%, 1500px); max-height: calc(100svh - 150px); object-fit: contain; border-radius: var(--r); }
.lichtkasten figcaption { padding: 0; font-size: .95rem; text-align: center; color: #fff; }
.lichtkasten button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; color: #fff; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .5); border-radius: 50%; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; transition: background .3s; }
.lichtkasten button:hover { background: rgb(255 255 255 / .34); }
.lichtkasten svg { width: 22px; height: 22px; fill: currentColor; }
.lk-zu { top: 16px; right: 16px; }
.lk-vor { left: 16px; top: 50%; translate: 0 -50%; }
.lk-vor svg { rotate: 180deg; }
.lk-weiter { right: 16px; top: 50%; translate: 0 -50%; }
.lichtkasten.einzeln .lk-vor, .lichtkasten.einzeln .lk-weiter { display: none; }
.lk-zahl { position: absolute; left: 22px; top: 22px; margin: 0; font: italic 400 1.25rem/1 var(--kursiv); color: #fff; }

/* Hinweis „Entwurf“ der Vorschau */
.entwurf-band { position: fixed; left: 10px; bottom: 10px; z-index: 70; max-width: calc(100vw - 20px); margin: 0; padding: 6px 10px; font-size: .72rem; font-weight: 600; line-height: 1.3; color: #fff; background: rgb(27 38 35 / .84); border-radius: var(--r); }
@media (max-width: 999px) { .entwurf-band { bottom: 78px; } }
/* am Rechner als schmale Fahne am linken Rand, damit sie nichts verdeckt */
@media (min-width: 1000px) { .entwurf-band { left: 0; top: 50%; bottom: auto; max-width: none; padding: 12px 5px; writing-mode: vertical-rl; rotate: 180deg; translate: 0 -50%; border-radius: var(--r) 0 0 var(--r); } }

/* ---------------------------------------------------------------- Seitenwechsel: weicher Übergang zwischen den Seiten (View Transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-aus .28s ease both; }
::view-transition-new(root) { animation: vt-ein .55s cubic-bezier(.2, .7, .2, 1) both; }
::view-transition-group(apt-a), ::view-transition-group(apt-b), ::view-transition-group(apt-family), ::view-transition-group(lk) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
::view-transition-group(kopf), ::view-transition-group(leiste) { z-index: 10; }
@keyframes vt-aus { to { opacity: 0; translate: 0 -14px; } }
@keyframes vt-ein { from { opacity: 0; translate: 0 22px; } }

/* ---------------------------------------------------------------- Bewegung beim Scrollen (scroll-driven animations; ohne sie steht alles still) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Parallax: das Bild wandert langsamer als sein Rahmen */
    .par > img { scale: 1.16; animation: par linear both; animation-timeline: view(); animation-range: cover; }
    .kopf-leiste::after { animation: fortschritt linear both; animation-timeline: scroll(root block); }
    .laufband { view-timeline: --band block; }
    .lauf-a { animation: lauf-a linear both; animation-timeline: --band; animation-range: cover; }
    .lauf-b { animation: lauf-b linear both; animation-timeline: --band; animation-range: cover; }
    .rose { animation: drehen linear both; animation-timeline: view(); animation-range: cover; }
    .fuss-wort { animation: wortmarke linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
    .rolle-bild img { width: 116%; max-width: none; animation: quer linear both; animation-timeline: view(inline); animation-range: cover; }
    .lage-karte img { animation: karte linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    /* Auftakt ohne Szene (Handy, niedrige Fenster): das Hafenbild bleibt beim Scrollen zurück */
    .held { view-timeline: --held block; }
    .fenster .f-hafen { animation: ankommen 2.4s cubic-bezier(.2, .7, .2, 1) both, hafen-zurueck linear both; animation-timeline: auto, --held; animation-range: normal, exit; }
  }
}
@keyframes par { from { transform: translateY(-7%); } to { transform: translateY(7%); } }
@keyframes fortschritt { to { scale: 1 1; } }
@keyframes lauf-a { from { translate: 0 0; } to { translate: -22% 0; } }
@keyframes lauf-b { from { translate: -22% 0; } to { translate: 0 0; } }
@keyframes drehen { from { rotate: -35deg; } to { rotate: 45deg; } }
@keyframes wortmarke { from { translate: 0 45%; opacity: .15; } }
@keyframes quer { from { translate: -13.8% 0; } to { translate: 0 0; } }
@keyframes karte { from { clip-path: inset(9% 7% round 3px); } to { clip-path: inset(0 0 round 3px); } }
@keyframes hafen-zurueck { to { transform: translateY(16%); } }

/* Die Szene am Rechner: Der Auftakt bleibt stehen, das Hafenbild schließt sich zum Torbogen, links erscheint „Direkt buchen“,
   im Bogen fährt das Zimmer hoch. Maße des Bogens in Prozent der Bühne (--bo oben, --bu unten, --br rechts, --bw Breite).
   Ausgeblendetes ist nur durchsichtig und nicht klickbar, nie mit visibility versteckt: Überschrift und Text bleiben für
   Vorleseprogramme da; springt die Tastatur auf einen gerade unsichtbaren Knopf, rollt seite.js die Szene dorthin. */
@media (min-width: 1000px) and (min-height: 660px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .auftakt { height: 250svh; view-timeline: --auftakt block; }
    .buehne { --bo: 15%; --bu: 7%; --br: max(6%, calc(50% - var(--breite) / 2)); --bw: min(37%, 600px); position: sticky; top: 0; height: 100svh; overflow: clip; }
    .held { position: absolute; inset: 0; min-height: 0; view-timeline: none; }
    .fenster { background: none; animation: fenster-zu linear both; animation-timeline: --auftakt; animation-range: contain 4% contain 46%; }
    .fenster .f-hafen { transform-origin: 80% 70%; animation: ankommen 2.4s cubic-bezier(.2, .7, .2, 1) both, hafen-klein linear both; animation-timeline: auto, --auftakt; animation-range: normal, contain 4% contain 46%; }
    .fenster::after { animation: weg linear both; animation-timeline: --auftakt; animation-range: contain 0% contain 28%; }
    .fenster .f-zimmer { display: block; inset: var(--bo) var(--br) auto auto; width: var(--bw); height: calc(100% - var(--bo) - var(--bu)); animation: zimmer-ein linear both; animation-timeline: --auftakt; animation-range: contain 60% contain 88%; }
    .held-inhalt { animation: held-weg linear both; animation-timeline: --auftakt; animation-range: contain 0% contain 17%; }
    .held-fuss { animation: dock-weg linear both; animation-timeline: --auftakt; animation-range: contain 0% contain 15%; }
    .direkt { position: absolute; inset: 0; z-index: 2; display: grid; align-items: center; padding: 70px 0 0; pointer-events: none; }
    .direkt-raster { grid-template-columns: minmax(0, 1fr); }
    .direkt-text { max-width: min(46%, 600px); pointer-events: auto; animation: direkt-ein linear both; animation-timeline: --auftakt; animation-range: contain 36% contain 58%; }
    .direkt-text h2 { font-size: clamp(2rem, min(4.2vw, 7.4svh), 3.6rem); }
    .direkt-text .vorteile { margin: clamp(14px, 3svh, 26px) 0 clamp(16px, 3svh, 28px); }
    .direkt-text .vorteile li { padding: clamp(9px, 1.8svh, 15px) 0; }
    .direkt-bogen { display: none; }
  }
}
@keyframes fenster-zu { from { clip-path: inset(0 0 0 0 round 0 0 0 0); } to { clip-path: inset(var(--bo) var(--br) var(--bu) calc(100% - var(--br) - var(--bw)) round 999px 999px 3px 3px); } }
@keyframes hafen-klein { to { transform: scale(.82); } }
@keyframes zimmer-ein { from { clip-path: inset(100% 0 0 0); scale: 1.14; } to { clip-path: inset(0 0 0 0); scale: 1; } }
@keyframes weg { to { opacity: 0; } }
@keyframes held-weg { to { opacity: 0; translate: 0 -9vh; pointer-events: none; } }
@keyframes dock-weg { to { opacity: 0; translate: 0 70px; pointer-events: none; } }
@keyframes direkt-ein { from { opacity: 0; translate: 0 56px; pointer-events: none; } }

/* Weniger Bewegung: alles steht sofort an seinem Platz */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  @view-transition { navigation: none; }
}
@media print { .kopf, .menue, .aktionsleiste, .entwurf-band, .laufband, .rollen-knoepfe { display: none !important; } .held { min-height: 0; } }
