/* Winterhuder Hof: Blick von oben */

@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/spectral-300-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/spectral-300-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/spectral-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/spectral-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/schibsted-400-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/schibsted-400-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Höhe der Kopfzeile auf dem Panorama als echte Länge, main.js liest sie für die Umschaltgrenze */
@property --kopf-hero { syntax: "<length>"; inherits: true; initial-value: 0px; }

:root {
  /* Farben */
  --ground: #ffffff;
  --sky: #eef1f3;
  --sky-deep: #dfe5e9;
  --ink: #14171a;
  --ink-soft: #4a5259;
  --line: #14171a;
  --line-soft: #c9d1d7;
  --slate: #14171a;
  --slate-ink: #f1f3f4;
  --slate-ink-soft: #b9c1c7;
  --slate-line: #3a4046;
  --bordeaux: #641818;
  --bordeaux-hover: #7e2121;
  --water: #c9d8e0;

  /* Schrift */
  --f-display: "Spectral", Georgia, "Times New Roman", serif;
  --f-text: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.4rem, 1.3rem + 3vw, 4.1rem);
  --fs-h2: clamp(2.1rem, 1.4rem + 2.5vw, 3.75rem);
  --fs-h3: clamp(1.45rem, 1.2rem + 0.8vw, 1.9rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Maße, für das Regler-Panel freigegeben */
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: calc(1440px - 2 * var(--gutter));  /* Inhalt, Kopfzeile und Panorama enden an derselben Kante, höchstens 1440 px */
  --hero-h: min(60svh, calc(min(100vw, 1440px) / 2.9));  /* Panorama 2,9 : 1, oben etwas mehr beschnitten als unten (object-position) */
  --hero-gap: clamp(28px, 3.4vw, 52px);
  --hero-pad-top: clamp(18px, 2vw, 32px);
  --hero-pad-bottom: clamp(14px, 1.6vw, 26px);
  --h1-measure: none;
  --lead-size: var(--fs-lead);
  --section-y: clamp(80px, 9vw, 148px);
  --header-h: 76px;
  --header-h-hero: clamp(92px, 7.8vw, 120px);
  --hero-top: 0px;  /* Weißraum über dem Panorama, ab Tablet-Breite gesetzt */
  --kopf-hero: calc(var(--header-h-hero) + var(--hero-top));
  --logo-w: clamp(255px, 22vw, 364px);
  --logo-w-solid: clamp(168px, 15vw, 214px);
  --radius: 2px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--bordeaux);
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul[role="list"], .plain { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--bordeaux); color: #fff; }
:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; border-radius: 1px; }
.on-dark :focus-visible, .on-photo :focus-visible { outline-color: #fff; }
html { scrollbar-color: #9aa5ad var(--sky); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

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

h1, h2, h3 { font-family: var(--f-display); font-weight: 300; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.06; }
h3 { font-size: var(--fs-h3); line-height: 1.18; font-weight: 400; }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.muted { color: var(--ink-soft); }

/* Buttons und Links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 1.4em;
  font: 600 1rem/1 var(--f-text); letter-spacing: 0.01em;
  color: #fff; background: var(--bordeaux);
  border: 1px solid var(--bordeaux); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn:hover { background: var(--bordeaux-hover); border-color: var(--bordeaux-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn svg { width: 18px; height: 18px; }
.btn-line {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.btn-line:hover { border-bottom-width: 2px; padding-bottom: 1px; }
.btn-line svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.btn-line:hover svg { transform: translateY(2px); }

/* Horizontkante: Haarlinie mit Bordeaux-Marke, Anfang jedes Abschnitts */
.edge { position: relative; border-top: 1px solid var(--line); padding-top: clamp(22px, 2.4vw, 34px); }
.edge::before { content: ""; position: absolute; left: 0; top: -6px; width: 2px; height: 11px; background: var(--bordeaux); }
.on-dark .edge { border-top-color: var(--slate-ink-soft); }

/* Fotos: festes Format, kleines Adress-Etikett */
.photo { position: relative; overflow: hidden; background: var(--sky-deep); }
.photo picture { position: absolute; inset: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-4-3 { aspect-ratio: 4 / 3; }
.r-2-1 { aspect-ratio: 2 / 1; }

/* Kopfzeile */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: height 0.3s var(--ease-out), padding-top 0.3s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: var(--logo-w); flex: none; transition: width 0.3s var(--ease-out); }
/* Auf dem Panorama rückt die Kopfzeile um den Weißraum nach unten, damit Logo und Menü auf dem Bild stehen */
.site-header:not(.is-solid) { height: var(--kopf-hero); padding-top: var(--hero-top); }
.site-header.is-solid .brand, .legal-page .brand { width: var(--logo-w-solid); }
.brand img { width: 100%; height: auto; }
.brand .logo-dark { display: none; }
/* Logo in der Mitte, je drei Menüpunkte links und rechts an den Außenkanten */
.site-nav { flex: 1; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.site-nav .brand { grid-column: 2; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); list-style: none; padding: 0; margin: 0; }
.nav-left { grid-column: 1; justify-self: start; }
.nav-right { grid-column: 3; justify-self: end; }
.site-nav li a { display: inline-block; font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav li a:hover, .site-nav li a[aria-current="true"] { border-bottom-color: currentColor; }
.site-header.is-solid { background: rgba(255, 255, 255, 0.97); color: var(--ink); box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px -18px rgba(20, 23, 26, 0.25); }
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }
/* In der festen Kopfzeile wird „Kontakt“ zum Button, die Menüs bleiben gleich lang */
.site-header.is-solid .nav-cta { padding: 11px 16px; color: #fff; background: var(--bordeaux); border: 0; border-radius: var(--radius); transition: background-color 0.2s var(--ease-out); }
.site-header.is-solid .nav-cta:hover { background: var(--bordeaux-hover); }
.menu-toggle { display: none; }

@media (min-width: 721px) {
  :root { --hero-top: clamp(16px, 2.2vw, 36px); }
}
@media (max-width: 1040px) {
  .site-nav ul { display: none; }
  .menu-toggle {
    grid-column: 3; justify-self: end;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 4px;
    font: 600 0.95rem/1 var(--f-text); color: inherit;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle svg { width: 24px; height: 24px; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; --header-h-hero: 84px; --logo-w: min(212px, calc(100vw - 150px)); --logo-w-solid: 160px; }
  .site-nav { gap: 12px; }
}
@media (max-width: 460px) {
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.menu-panel {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  background: var(--ground); color: var(--ink);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 24px 40px -24px rgba(20, 23, 26, 0.35);
  padding: 8px var(--gutter) 24px;
}
.menu-panel[hidden] { display: none; }
.menu-panel ul { list-style: none; padding: 0; margin: 0 0 18px; }
.menu-panel li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font: 300 1.6rem/1.2 var(--f-display); text-decoration: none; }
.menu-panel .btn { width: 100%; }

/* Einstieg */
.hero { position: relative; }
.hero-media { position: relative; height: var(--hero-h); min-height: 340px; max-width: 1440px; margin: var(--hero-top) auto 0; overflow: hidden; background: #8e9aa3; }
.hero-media picture { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; transform: translate3d(0, var(--pan, 0px), 0); will-change: transform; }
.hero-media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 240px; z-index: 1; background: linear-gradient(180deg, rgba(14, 18, 22, 0.5), rgba(14, 18, 22, 0)); pointer-events: none; }
.hero-body {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--hero-gap); align-items: end;
  padding-top: var(--hero-pad-top); padding-bottom: var(--hero-pad-bottom);
}
.hero-main h1 { max-width: var(--h1-measure); }
.hero-main { display: grid; gap: 20px; justify-items: start; }
.hero-side { display: grid; gap: 20px; padding-bottom: 4px; }
.hero-side .lead { color: var(--ink-soft); max-width: 52ch; font-size: var(--lead-size); }
.quick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.quick label { display: grid; gap: 4px; font-size: var(--fs-small); font-weight: 600; color: var(--ink-soft); }
.quick input {
  width: 100%; min-height: 48px; padding: 0 12px;
  font: 400 1rem/1 var(--f-text); color: var(--ink);
  background: var(--ground); border: 1px solid #8f99a1; border-radius: var(--radius);
}
.quick input:hover { border-color: var(--ink); }
.quick input:focus-visible { border-color: var(--bordeaux); outline-offset: 1px; }
.hero-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 15px 18px 15px 0; font-weight: 600; font-size: 0.98rem; line-height: 1.3; display: flex; align-items: center; gap: 10px; }
.facts li + li { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.facts svg { width: 20px; height: 20px; flex: none; color: var(--bordeaux); }

@media (max-width: 1240px) {
  .quick { grid-template-columns: 1fr 1fr; }
  .quick .btn { grid-column: 1 / -1; }
}
@media (max-width: 1040px) {
  .hero-body { grid-template-columns: 1fr; align-items: start; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts li:nth-child(4) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 720px) {
  :root { --hero-h: 58svh; }
  .hero-media { min-height: 300px; }
      .quick { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li, .facts li + li { padding: 13px 10px 13px 0; border-left: 0; }
  .facts li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line-soft); }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .facts li:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

/* Abschnitte */
.section { padding-block: var(--section-y); }
.section.sky { background: var(--sky); }
.section.dark, .on-dark { background: var(--slate); color: var(--slate-ink); }
.dark .muted, .on-dark .muted { color: var(--slate-ink-soft); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hero-gap); align-items: end; margin-bottom: clamp(36px, 4.4vw, 64px); }
.section-head p { color: var(--ink-soft); }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* Büros: oben Überschrift und Foto, darunter der Text der alten Seite in zwei Spalten */
.offices {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "head figure" "more cta";
  column-gap: clamp(32px, 5vw, 80px); row-gap: clamp(36px, 4vw, 60px); align-items: start;
}
.offices-head { grid-area: head; display: grid; gap: 22px; }
.offices-head .lead { max-width: 40ch; }
.offices-more { grid-area: more; }
.offices-cta { grid-area: cta; display: grid; gap: 14px; justify-items: start; }
.offices-more p, .offices-cta p { max-width: 58ch; }
.offices-cta .offices-question { font-weight: 600; }
.offices-cta .btn { margin-top: 10px; }
.offices-figure { grid-area: figure; }
/* Ganz oben liegt ein heller Schleier über dem Anfang des Abschnitts (Linie, Überschrift, Foto), damit unter dem
   Panorama noch nichts voll wirkt. Er blendet beim Scrollen stufenlos aus (main.js setzt --veil-fade von 1 auf 0) */
.js #bueros { position: relative; }
.js #bueros::after { content: ""; position: absolute; inset: 0; z-index: 3; background: rgba(255, 255, 255, var(--veil, 0.8)); pointer-events: none; opacity: var(--veil-fade, 1); transition: opacity 0.12s linear; }
.r-16-9 { aspect-ratio: 16 / 9; }
@media (max-width: 900px) {
  .offices { grid-template-columns: 1fr; grid-template-areas: "head" "figure" "more" "cta"; }
}

/* Häuser */
.houses { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.plan-wrap { position: sticky; top: calc(var(--header-h) + 24px); }
.plan { width: 100%; height: auto; }
.plan .street { fill: var(--sky-deep); }
.plan .street-label { font: 400 25px var(--f-display); fill: var(--ink-soft); letter-spacing: 0.02em; }
.plan .yard { fill: #ffffff; }
.plan .road { fill: #c3ccd2; }
.plan .house rect { fill: var(--ground); stroke: var(--ink); stroke-width: 1.5; transition: fill 0.25s var(--ease-out); }
.plan .house text { font: 600 22px var(--f-text); fill: var(--ink); pointer-events: none; transition: fill 0.25s var(--ease-out); }
.plan .house .note { font: 500 21px var(--f-text); fill: var(--ink-soft); }
.plan .house { cursor: pointer; outline: none; }
.plan .house:hover rect, .plan .house:focus-visible rect { fill: var(--sky-deep); }
.plan .house.is-active rect { fill: var(--bordeaux); stroke: var(--bordeaux); }
.plan .house.is-active text, .plan .house.is-active .note { fill: #fff; }
.plan .house:focus-visible rect { stroke-width: 3; }
.plan .deck rect { fill: url(#schraffur); stroke: var(--ink-soft); stroke-width: 1; }
.plan .deck text { font: 500 16px var(--f-text); fill: var(--ink-soft); }
.plan .north path { fill: var(--bordeaux); }
.plan .north text { font: 600 13px var(--f-text); fill: var(--ink); letter-spacing: 0.12em; }
.plan-caption { margin-top: 14px; font-size: var(--fs-small); color: var(--ink-soft); max-width: 48ch; }

.house-list { display: grid; }
.house-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 28px; padding: 30px 0 34px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.house-item:last-child { border-bottom: 1px solid var(--line); }
.house-num { font: 300 clamp(3rem, 2.2rem + 2.4vw, 4.6rem)/0.9 var(--f-display); letter-spacing: -0.03em; color: var(--ink); transition: color 0.25s var(--ease-out); }
.house-item.is-active .house-num { color: var(--bordeaux); }
.house-body { display: grid; gap: 14px; min-width: 0; }
.house-body h3 { font-size: var(--fs-h3); }
/* Ein Bildrahmen je Haus, immer gleich groß. Mehrere Fotos zum Blättern (main.js) oder Wischen */
.gallery { position: relative; margin-top: 6px; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--sky-deep); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track > .photo { scroll-snap-align: start; }
.gallery-track:focus-visible { outline-offset: 4px; }
.gallery-nav { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: none; align-items: center; background: rgba(255, 255, 255, 0.94); border-radius: 1px; }
.js .gallery-nav { display: flex; }
.js .gallery-track { cursor: pointer; }
.gallery-btn { display: grid; place-items: center; width: 44px; height: 40px; padding: 0; color: var(--ink); background: none; border: 0; cursor: pointer; }
.gallery-btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.gallery-btn[data-dir="-1"] svg { transform: rotate(90deg); }
.gallery-btn[data-dir="1"] svg { transform: rotate(-90deg); }
.gallery-btn:hover { color: var(--bordeaux); }
.gallery-btn:focus-visible { outline-offset: -2px; }
.gallery-count { min-width: 3.4em; font: 600 0.78rem/1 var(--f-text); font-variant-numeric: tabular-nums; text-align: center; letter-spacing: 0.02em; }
@media (max-width: 900px) {
  .houses { grid-template-columns: 1fr; }
  .plan-wrap { position: static; max-width: 520px; }
}
@media (max-width: 560px) {
  .house-item { grid-template-columns: 1fr; }
  .house-num { font-size: 3.2rem; }
}

/* Ausstattung */
.features { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.feature-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.08rem; line-height: 1.45; }
.feature-list svg { width: 26px; height: 26px; color: var(--bordeaux); margin-top: 1px; }
.feature-photos { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; align-items: stretch; }
.feature-photos .photo:first-child { grid-row: span 2; }
.feature-photos .photo:first-child { aspect-ratio: 4 / 5; align-self: start; }

.yard { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(64px, 8vw, 128px); }
.yard-text { display: grid; gap: 18px; }
.yard-text p { max-width: 52ch; }
@media (max-width: 900px) {
  .features, .yard { grid-template-columns: 1fr; }
  .yard .photo { order: -1; }
}

.caretaker { padding-block: clamp(72px, 8vw, 120px); }
.caretaker .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hero-gap); align-items: end; }
.caretaker h3 { font-family: var(--f-display); font-weight: 300; font-size: var(--fs-h2); line-height: 1.06; color: #fff; }
.caretaker p { font-size: var(--fs-lead); line-height: 1.55; color: var(--slate-ink-soft); max-width: 40ch; }
@media (max-width: 900px) { .caretaker .wrap { grid-template-columns: 1fr; } }

/* Lage */
.location { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.map-figure { position: relative; border: 1px solid var(--line); background: #f7f8f9; }
.map { width: 100%; height: auto; }
.map .land { fill: #f7f8f9; }
.map .water { fill: var(--water); }
.map .waterway { fill: none; stroke: var(--water); stroke-linecap: round; stroke-linejoin: round; }
.map .park { fill: #e3ebe3; }
.map .road { fill: none; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; }
.map .road-case { fill: none; stroke: #c9d1d7; stroke-linecap: round; stroke-linejoin: round; }
.map .label { font: 600 21px var(--f-text); fill: var(--ink-soft); paint-order: stroke; stroke: #f7f8f9; stroke-width: 5px; }
.map .label-water { font: 400 30px var(--f-display); fill: #3f5f6e; letter-spacing: 0.02em; }
.map .stop circle { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.map .stop text { font: 700 22px var(--f-text); fill: var(--ink); paint-order: stroke; stroke: #f7f8f9; stroke-width: 6px; }
.map .hof circle.ring { fill: rgba(100, 24, 24, 0.08); stroke: var(--bordeaux); stroke-width: 2.5; }
.map .hof circle.core { fill: var(--bordeaux); stroke: #fff; stroke-width: 3; }
.map .hof text { font: 400 34px var(--f-display); fill: var(--ink); paint-order: stroke; stroke: #f7f8f9; stroke-width: 8px; }
.map-credit { position: absolute; right: 8px; bottom: 6px; font-size: 0.72rem; color: var(--ink-soft); background: rgba(247, 248, 249, 0.9); padding: 1px 5px; }
.map-credit a { color: inherit; }
.ways { display: grid; gap: 26px; }
.ways h3 { margin-bottom: 8px; }
.address { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.5; }
.address span { display: block; font-weight: 400; color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: 4px; }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } }
.map-mobil { display: none; }
.map .edge-note path, .map .edge-note line { fill: none; stroke: #3f5f6e; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.map .edge-note text { font: 400 30px var(--f-display); fill: #3f5f6e; }
@media (max-width: 720px) {
  .map-desktop { display: none; }
  .map-mobil { display: block; }
  .map-mobil .label { font-size: 28px; }
  .map-mobil .stop text { font-size: 26px; }
  .map-mobil .hof text { font-size: 44px; }
  .map-mobil .label-water { font-size: 30px; }
}


/* Fragen */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line-soft); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 400 clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem)/1.3 var(--f-display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 22px; height: 22px; flex: none; transition: transform 0.3s var(--ease-out); color: var(--ink-soft); }
.faq-list details[open] summary svg { transform: rotate(45deg); color: var(--bordeaux); }
.faq-list summary:hover { color: var(--bordeaux); }
.faq-list details p { padding: 0 48px 22px 0; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* Kontakt */
/* Die Spalten richten sich nach dem Inhaltsbereich, nicht nach der Fensterbreite: links Rand plus 5/12 des Inhalts */
.contact { display: grid; grid-template-columns: minmax(0, calc(max(var(--gutter), (100vw - var(--maxw)) / 2) + var(--maxw) * 5 / 12)) minmax(0, 1fr); }
.contact-info h2 { overflow-wrap: break-word; hyphens: auto; }
.contact-info { background: var(--sky-deep); color: var(--ink); padding: var(--section-y) clamp(24px, 5vw, 72px) var(--section-y) max(var(--gutter), calc((100vw - var(--maxw)) / 2)); display: grid; align-content: start; gap: 22px; }
.contact-info h2 { color: var(--ink); }
.contact-info .lead { color: var(--ink-soft); }
.person { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.person strong { font: 400 1.5rem/1.2 var(--f-display); color: var(--ink); }
.person span { color: var(--ink-soft); }
.person a { color: var(--ink); font-weight: 600; }
.person dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 14px; }
.person dt { color: var(--ink-soft); }
.contact-form { padding: var(--section-y) max(var(--gutter), calc((100vw - var(--maxw)) / 2)) var(--section-y) clamp(24px, 5vw, 72px); }
.contact-form h3 { margin-bottom: 26px; }
#inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--f-text); color: var(--ink);
  background: var(--ground); border: 1px solid #8f99a1; border-radius: var(--radius);
  transition: border-color 0.2s var(--ease-out);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314171a' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 42px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { border-color: var(--bordeaux); outline-offset: 1px; }
.field ::placeholder { color: #6b747b; }
.hint { font-size: var(--fs-small); color: var(--ink-soft); }
.field-error { display: none; font-size: var(--fs-small); font-weight: 600; color: #8b1c1c; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error textarea { border-color: #8b1c1c; border-width: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .hint { max-width: 46ch; }
/* Häkchen zur Datenschutzerklärung: eckiges Kästchen, angehakt in Bordeaux */
.consent-field { margin-top: 4px; }
.field .consent-label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 400; font-size: 0.95rem; line-height: 1.5; cursor: pointer; }
.consent-label a { font-weight: 600; }
.field .consent-label input[type="checkbox"] {
  appearance: none; width: 22px; height: 22px; min-height: 0; padding: 0; margin: 1px 0 0;
  border: 1px solid #8f99a1; border-radius: var(--radius); background: var(--ground) center / 14px 14px no-repeat;
  cursor: pointer; transition: background-color 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}
.field .consent-label input[type="checkbox"]:hover { border-color: var(--ink); }
.field .consent-label input[type="checkbox"]:checked {
  background-color: var(--bordeaux); border-color: var(--bordeaux);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.field .consent-label input[type="checkbox"]:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
.field.has-error .consent-label input[type="checkbox"] { border: 2px solid #8b1c1c; }
.consent-field .field-error { margin-left: 34px; }
.form-status { grid-column: 1 / -1; font-size: 0.95rem; }
.form-status.is-error { color: #8b1c1c; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
#form-wrap.is-sent form { display: none; }
#form-success { padding: 28px 0; border-top: 1px solid var(--line); outline: none; }
#form-success h3 { margin-bottom: 10px; }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding-inline: var(--gutter); }
  .contact-info { padding-block: 72px 56px; }
  .contact-form { padding-block: 56px 80px; }
}
@media (max-width: 560px) { #inquiry-form { grid-template-columns: 1fr; } }

/* Fußzeile */
.site-footer { background: var(--ink); color: #c7ced3; padding-block: 44px 52px; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: end; }
.site-footer img { width: 190px; margin-bottom: 16px; }
.site-footer p { line-height: 1.6; }
.site-footer nav ul { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #fff; }

/* Rechtsseiten */
.legal-page .site-header { height: var(--header-h); padding-top: 0; position: sticky; background: rgba(255, 255, 255, 0.97); color: var(--ink); box-shadow: 0 1px 0 var(--line-soft); }
.legal-page .logo-light { display: none; }
.legal-page .logo-dark { display: block; }
.legal { padding-block: clamp(56px, 7vw, 110px); }
.legal .wrap { max-width: calc(820px + 2 * var(--gutter)); }
.legal h1 { font-size: var(--fs-h2); margin-bottom: 36px; }
.legal h2 { font-size: var(--fs-h3); font-weight: 400; margin: 40px 0 12px; }
.legal p, .legal li { max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.not-found-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }
.legal .note { margin-top: 28px; padding: 16px 18px; background: var(--sky); border-top: 1px solid var(--line); }

/* Bewegung: das Panorama sinkt beim Scrollen langsamer als die Seite (main.js), Abschnitte erscheinen ruhig */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
