@font-face {
  font-family: "Coconat-Regular";
  src: url("./fonts/Coconat-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ApfelGrotezk";
  src: url("./fonts/Junction-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ApfelGrotezk";
  src: url("./fonts/ApfelGrotezk-Satt.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================
   VARIABLES
   ========================= */

:root {
  --bg:             #ffffff;
  --paper:          rgb(249, 245, 227);
  --paper-2:        rgb(249, 245, 227);
  --text:           #2d3f18;
  --muted:          #547038;
  --line:           rgba(45, 63, 24, 0.10);
  --white:          #ffffff;
  --dark:           #1c3010;
  --shadow:         0 22px 70px rgba(28, 48, 16, 0.09);
  --shadow-soft:    0 14px 34px rgba(28, 48, 16, 0.06);
  --radius-xl:      34px;
  --radius-lg:      24px;
  --radius-md:      18px;
  --max:            1540px;
}

/* =========================
   RESET
   ========================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 0; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.52;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open,
body.nav-open { overflow: hidden; }

img, video { display: block; width: 100%; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid rgba(45, 63, 24, 0.35); outline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button { border: 0; }

/* =========================
   LAYOUT
   ========================= */

.container {
  width: min(100% - 56px, var(--max));
  max-width: var(--max);
  padding: 0;
  margin: 0 auto;
}

.section {
  padding: clamp(92px, 11vw, 174px) 0;
  scroll-margin-top: 0;
}

/* =========================
   TYPOGRAPHY
   ========================= */

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "ApfelGrotezk", sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  color: var(--text);
}

h1 {
  font-size: clamp(3.25rem, 7.6vw, 8rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.25rem, 5.2vw, 5.8rem);
  line-height: 0.98;
  margin-bottom: 26px;
  text-align: left;
}

h3 {
  font-size: clamp(1.35rem, 1.65vw, 2.1rem);
  line-height: 1.08;
  margin-bottom: 10px;
}

p {
  font-size: clamp(1.02rem, 1.12vw, 1.22rem);
  line-height: 1.5;
  color: var(--muted);
}

.lead {
  font-size: clamp(1.05rem, 1.25vw, 1.28rem);
  line-height: 1.5;
  text-align: center;
}

.small { font-size: 0.92rem; }

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 25px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease, opacity 200ms ease;
}

.btn:hover { opacity: 0.72; }

.btn-dark {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.btn-light {
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--dark);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn-with-number {
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}

.btn-with-number .btn-label-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.btn-with-number .btn-phone-number {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.text-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity 180ms ease;
}
.text-link:hover { opacity: 0.7; }

/* =========================
   HEADER
   ========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}

.steuermann-header .nav {
  width: min(100% - 56px, var(--max));
  min-height: 86px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.brand-logo-box {
  width: 200px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo-box { position: relative; }

.brand-logo-box img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 280ms ease;
}

.brand-logo-box .logo-dark { opacity: 0; }

.header-dark .brand-logo-box .logo-light { opacity: 0; }
.header-dark .brand-logo-box .logo-dark  { opacity: 1; }

.brand-text {
  font-family: "ApfelGrotezk", sans-serif;
  font-size: 1.18rem;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--white);
  max-width: 15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--white);
  font-family: "ApfelGrotezk", sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: border-color 180ms ease;
  cursor: pointer;
}

.nav-pill:hover,
.nav-pill.active { border-bottom-color: currentColor; }

.nav-pill-dark { color: var(--white); }

/* Header dark state (after hero scroll) */
.header-dark .brand { color: var(--text); }
.header-dark .brand-logo-box {
  border-color: rgba(45, 63, 24, 0.28);
  background: rgba(255, 255, 255, 0);
}
.header-dark .brand-text { color: var(--text); }
.header-dark .nav-pill { color: var(--text); }
.header-dark .menu-toggle { color: var(--text); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  cursor: pointer;
  color: var(--white);
  pointer-events: auto;
  position: relative;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  transition: transform 260ms ease, opacity 200ms ease, top 260ms ease;
}

.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(20, 19, 16, 0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.nav-backdrop[hidden] { display: none; }

/* =========================
   HERO
   ========================= */

.editorial-hero.steuermann-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--dark);
  overflow: hidden;
  isolation: isolate;
}

.steuermann-hero .editorial-hero-media,
.steuermann-hero .editorial-hero-fallback,
.steuermann-hero .editorial-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.steuermann-hero .editorial-hero-video,
.steuermann-hero .editorial-hero-fallback {
  object-fit: cover;
  transform: scale(1.02);
}

.editorial-hero-video { z-index: 1; }
.editorial-hero-fallback { z-index: 0; }
.editorial-hero-video.is-unavailable { display: none; }

.steuermann-hero .editorial-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(18, 42, 8, 0.34) 0%, rgba(18, 42, 8, 0.05) 42%, rgba(18, 42, 8, 0.62) 100%),
    radial-gradient(circle at 50% 42%, rgba(200, 230, 160, 0.06), transparent 32%);
}

.steuermann-hero .editorial-hero-content {
  position: absolute;
  z-index: 3;
  left: max(28px, calc((100vw - var(--max)) / 2));
  right: max(28px, calc((100vw - var(--max)) / 2));
  bottom: clamp(40px, 8vw, 118px);
  color: var(--white);
}

.hero-kicker {
  display: block;
  margin-bottom: 22px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.steuermann-hero h1 {
  font-size: clamp(3.4rem, 7.8vw, 8.4rem);
  line-height: 0.96;
  color: var(--white);
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.steuermann-hero p {
  max-width: 42rem;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.15rem, 1.4vw, 1.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* =========================
   MAIN WRAPPER
   ========================= */

.editorial-main.steuermann-main {
  position: relative;
  z-index: 2;
  background: var(--bg);
}

/* =========================
   REVEAL ANIMATION
   ========================= */

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 560ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* =========================
   OVERVIEW — ALLES WICHTIGE
   ========================= */

.overview-editorial {
  background: var(--dark);
  color: var(--white);
}

.section-title-row {
  text-align: center;
  margin-bottom: clamp(42px, 7vw, 92px);
}

.overview-editorial .eyebrow { color: rgba(255, 255, 255, 0.65); }
.overview-editorial h2,
.overview-editorial h3 { color: var(--white); }
.overview-editorial p { color: rgba(255, 255, 255, 0.72); }
.section-title-row h2 { text-align: center; margin-bottom: 0; }

/* =========================
   SLIDER CONTROLS (mobile nav arrows)
   ========================= */

.slider-controls {
  display: none;
}

.slider-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
  flex-shrink: 0;
}

.slider-ctrl:hover { background: var(--paper); }

.slider-ctrl.swiper-button-disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
}

.slider-ctrl svg { width: 16px; height: 16px; }

/* =========================
   SWIPER PAGINATION DOTS
   ========================= */

.swiper-pagination-bullet {
  background: var(--text);
  opacity: 0.18;
  width: 7px;
  height: 7px;
}

.swiper-pagination-bullet-active {
  background: var(--text);
  opacity: 1;
}

/* =========================
   FULLWIDTH IMAGE
   ========================= */

.location-fullwidth-image {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.location-fullwidth-image img {
  display: block;
  width: 100%;
  height: clamp(340px, 50vw, 780px);
  object-fit: cover;
}

.fact-swiper { overflow: visible; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.fact-card {
  min-height: 330px;
  padding: clamp(26px, 3vw, 54px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.fact-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 35px;
  filter: invert(1) brightness(1.8) grayscale(1);
  opacity: 0.72;
}

/* =========================
   INTRO — DAS PROJEKT
   ========================= */

.intro-statement {
  padding: clamp(92px, 11vw, 174px) 0;
  background: var(--bg);
}

.intro-statement-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.intro-statement-centered h2 {
  margin-top: 14px;
  margin-bottom: 28px;
  text-align: center;
}

.intro-statement-centered p + p { margin-top: 16px; }

/* =========================
   DIE IDEE
   ========================= */

.editorial-story { background: var(--paper); }

.story-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 0.92fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.story-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: clamp(520px, 52vw, 840px);
}

.story-media img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.story-copy { max-width: 690px; text-align: center; }
.story-copy .eyebrow { display: block; text-align: center; }
.story-copy h2 { text-align: center; margin-bottom: 36px; }
.story-copy p + p { margin-top: 22px; }

/* =========================
   LAGE
   ========================= */

.location-editorial { background: var(--bg); }

.location-title-centered {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.location-title-centered h2 {
  text-align: center;
  margin-top: 12px;
}

.location-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: white;
}

.location-panel {
  background: var(--paper);
  overflow: hidden;
border-radius: 25px;
}

.location-image { background: var(--paper); }
.location-image img { width: 100%; height: auto; display: block; object-fit: contain; }

.location-text {
  padding: clamp(30px, 4vw, 62px);
  text-align: center;
}

.location-text h3 { margin-bottom: 18px; }
.location-text p + p { margin-top: 14px; }

/* =========================
   LAGEPLAN
   ========================= */

.plot-plan-section {
  background: var(--paper-2);
  padding-bottom: 0;
}

.plot-plan-section .container.plot-plan-grid {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(42px, 6vw, 76px);
}

.plot-plan-copy {
  width: min(100% - 56px, 820px);
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
}

.plot-plan-copy h2 { text-align: center; }
.plot-plan-copy .eyebrow { display: block; text-align: center; }

.plot-map-instruction {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 14px;
}

.plot-map-wrap { position: relative; width: 100%; }

.plot-map-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 23, 16, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 220ms ease;
}

.plot-map-backdrop[hidden] { display: none; }

.plot-map-canvas {
  position: relative;
  width: 100%;
  background: var(--paper);
}

.plot-map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.plot-shape {
  cursor: pointer;
  vector-effect: non-scaling-stroke;
  fill: rgba(255, 255, 255, 0);
  stroke: rgba(255, 255, 255, 0);
  stroke-width: 0;
  outline: none;
  transition: fill 0.18s ease;
}

.plot-shape:hover,
.plot-shape:focus,
.plot-shape.is-active {
  fill: rgba(255, 255, 255, 0.10);
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 0.5;
}

.plot-status-available { fill: rgba(255, 255, 255, 0); }
.plot-status-reserved  { fill: rgba(255, 255, 255, 0); }
.plot-status-sold      { fill: rgba(255, 255, 255, 0); cursor: not-allowed; }

/* Map pins */
.plot-pin {
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: transform 0.15s ease;
}

.plot-pin.is-hover  { transform: scale(1.18); }
.plot-pin.is-active { transform: scale(1.25); }

.plot-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 20px;
  align-items: center;
  width: min(100% - 56px, var(--max));
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 13px;
}

.plot-map-legend span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(55, 55, 65, 0.32);
  flex-shrink: 0;
}

.legend-available { background: rgba(40, 140, 30, 0.55); }
.legend-reserved  { background: rgba(200, 168, 0, 0.70); }
.legend-sold      { background: rgba(200, 34, 34, 0.55); }

/* Tooltip */
.plot-tooltip {
  position: fixed;
  z-index: 1101;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, calc(100vw - 48px));
  padding: 24px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.plot-tooltip[hidden] { display: none; }

.plot-tooltip-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: transparent;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border: 0;
}

.plot-tooltip h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.plot-tooltip-status {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.plot-tooltip dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 16px;
}

.plot-tooltip dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.plot-tooltip dd {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
  vertical-align: middle;
}

.plot-tooltip p[data-plot-description] {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

.plot-reserve-link.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

/* =========================
   PARTNER / HÄUSER
   ========================= */

.project-partners-section { background: var(--bg); }

.houses-intro-block {
  max-width: 820px;
  margin: 0 auto clamp(52px, 7vw, 96px);
  text-align: center;
}

.houses-intro-block h2 {
  text-align: center;
  margin-top: 14px;
  margin-bottom: 20px;
}

.houses-subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--muted);
  margin-bottom: 20px;
}

.houses-intro-text {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
}

.hero-house-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(64px, 8vw, 118px);
  background: var(--line);
}

.hero-house-card { background: var(--paper); }

.hero-house-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-2);
}

.hero-house-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-house-copy { padding: clamp(26px, 3vw, 48px); }

.hero-house-kicker {
  display: block;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-house-copy h3 { margin-bottom: 18px; }
.hero-house-copy p:last-child { margin-bottom: 0; }

.partner-feature-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) 1fr auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px);
  background: #ffffff;
  border: 1px solid var(--dark);
  border-radius: 25px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.partner-feature-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-feature-logo img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

.partner-feature-name-fallback {
  font-family: "ApfelGrotezk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text);
}

.partner-feature-body h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 16px;
}

.partner-feature-desc { color: var(--muted); line-height: 1.65; }
.partner-feature-desc p { margin-bottom: 10px; }
.partner-feature-desc p:last-child { margin-bottom: 0; }

.partner-feature-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
  min-width: 180px;
}

.project-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.project-partner-card {
  min-height: 360px;
  padding: clamp(30px, 3.5vw, 58px);
  background: var(--paper);
}

.muted-card { background: var(--paper-2); }

.project-partner-card .partner-logo {
  display: flex;
  align-items: center;
  height: 82px;
  margin-bottom: 40px;
}

.project-partner-card .partner-logo img {
  width: auto;
  max-width: 220px;
  max-height: 64px;
  object-fit: contain;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 24px;
}

/* Partner Banner Image — full-width below card content */
.partner-feature-card {
  overflow: hidden; /* clip banner to card corners */
}

.partner-feature-card .partner-banner-image {
  grid-column: 1 / -1;
  margin: 0 calc(-1 * clamp(40px, 5vw, 72px)) calc(-1 * clamp(40px, 5vw, 72px));
}

.project-partner-card .partner-banner-image {
  margin: clamp(30px, 3.5vw, 58px) calc(-1 * clamp(30px, 3.5vw, 58px)) calc(-1 * clamp(30px, 3.5vw, 58px));
}

.partner-banner-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   CONTACT
   ========================= */

.contact-editorial {
  background: var(--dark);
  color: var(--white);
}

.contact-editorial-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 116px);
  align-items: start;
}

.contact-copy h2,
.contact-copy .eyebrow,
.contact-copy p { color: var(--white); }
.contact-copy h2 { text-align: center; }
.contact-copy .eyebrow { display: block; text-align: center; }

.contact-phone-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  padding-bottom: 2px;
  transition: border-color 0.18s;
}

.contact-phone-link:hover { border-bottom-color: rgba(255, 255, 255, 0.70); }

.contact-faq-hint {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.contact-faq-hint h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 18px;
  line-height: 1.4;
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: clamp(0px, 2vw, 32px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255, 255, 255, 0.42); }

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: rgba(255, 255, 255, 0.50);
  background: rgba(255, 255, 255, 0.12);
}

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-row select option { background: var(--dark); color: var(--white); }

.form-row textarea { resize: vertical; min-height: 130px; }

.contact-form .btn { align-self: flex-start; margin-top: 8px; }

.form-feedback {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.form-success {
  background: rgba(120, 200, 80, 0.16);
  border: 1px solid rgba(120, 200, 80, 0.35);
  color: var(--white);
}

.form-error {
  background: rgba(220, 80, 60, 0.16);
  border: 1px solid rgba(220, 80, 60, 0.35);
  color: var(--white);
}

/* =========================
   FOOTER
   ========================= */

footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 34px 0 60px;
}

footer p, footer a { color: rgba(255, 255, 255, 0.7); }

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-legal {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =========================
   FLOATING CONTACT
   ========================= */

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 3000;
}

.floating-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  background: var(--dark);
  border: 0.5px solid white;
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--shadow-soft);
  transition: opacity 180ms ease;
  cursor: pointer;
	Border-radius:25px
}

.floating-contact-btn:hover { opacity: 0.8; }

.floating-icon {
  display: flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.floating-icon svg { width: 100%; height: 100%; }

/* =========================
   COOKIE BANNER
   ========================= */

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 5000;
  display: flex;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-inner {
  width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner-copy strong { display: block; margin-bottom: 6px; color: var(--text); }
.cookie-banner-copy p { margin: 0; font-size: 0.95rem; line-height: 1.5; }

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: all 180ms ease;
}

.cookie-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.cookie-btn-ghost:hover { background: rgba(45, 63, 24, 0.06); }

.cookie-btn-primary {
  background: var(--dark);
  color: var(--white);
  border: 1px solid var(--dark);
}

.cookie-btn-primary:hover { opacity: 0.8; }

/* =========================
   LEGAL MODAL
   ========================= */

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
}

.legal-modal.open { display: block; }

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 16, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.legal-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 32px));
  height: min(85vh, 900px);
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.18);
}

.legal-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  flex-shrink: 0;
}

.legal-modal-title-spacer { display: block; flex: 1; }

.legal-modal-close {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease;
}

.legal-modal-close:hover { background: var(--line); }

.legal-modal-close span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 260ms ease, opacity 200ms ease, top 260ms ease;
}

.legal-modal-close span:nth-child(1) { top: 15px; }
.legal-modal-close span:nth-child(2) { top: 20px; }
.legal-modal-close span:nth-child(3) { top: 25px; }

.legal-modal-close.is-active span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.legal-modal-close.is-active span:nth-child(2) { opacity: 0; }
.legal-modal-close.is-active span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.legal-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px;
  background: var(--white);
}

.legal-modal-body h1,
.legal-modal-body h2,
.legal-modal-body h3 { text-align: left; }

.legal-modal-body h3 { margin-top: 32px; }

.legal-modal-body p,
.legal-modal-body li { color: var(--text); line-height: 1.7; }

.legal-loading { color: var(--muted); }

/* =========================
   PROZESS / ABLAUF
   ========================= */

.process-swiper { overflow: visible; }

/* =========================
   FAQ SECTION
   ========================= */

.faq-section {
  background: var(--dark);
  color: #ffffff;
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-eyebrow { display: block; text-align: center; color: rgba(255, 255, 255, 0.55); }
.faq-title   { display: block; text-align: center; color: #ffffff; }

/* ── FAQ Tab Layout ───────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 48px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

/* Left nav */
.faq-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 96px;
}

.faq-nav-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}

.faq-nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
}

.faq-nav-item.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
}

/* Right panels */
.faq-panels { min-width: 0; }

.faq-panel[hidden] { display: none; }

.faq-items { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.10); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}

.faq-question:hover { opacity: 0.8; }

.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: #ffffff;
  border-radius: 2px;
}

.faq-icon::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 40px 20px 0;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer p { color: #ffffff; }

.faq-answer[hidden] { display: none; }

/* ── FAQ nav arrow buttons (hidden on desktop) ─────────── */
.faq-nav-outer {
  display: contents; /* desktop: nav sits directly in grid column */
}

.faq-nav-arrow {
  display: none; /* hidden on desktop */
}

/* FAQ mobile: horizontal scroll strip with arrows + fade */
@media (max-width: 767px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px 0;
  }

  .faq-nav-outer {
    display: flex;
    align-items: center;
    gap: 8px;
    position: static;
    min-width: 0;
  }

  /* Fade mask: shows content continues past the right edge */
  .faq-nav-outer::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 56px;
    height: 100%;
    background: linear-gradient(to right, transparent, #2a4d18 88%);
    pointer-events: none;
    border-radius: 0 999px 999px 0;
  }

  /* The nav strip needs relative+overflow so the fade works */
  .faq-nav-outer {
    position: relative;
    overflow: hidden;
  }

  .faq-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    position: static;
    padding: 4px 4px 4px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Extra right padding so last pill isn't swallowed by the fade */
    padding-right: 48px;
  }

  .faq-nav::-webkit-scrollbar { display: none; }

  .faq-nav-item {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
  }

  .faq-nav-item.is-active {
    background: rgba(255, 255, 255, 0.18);
    border-color: transparent;
  }

  /* Arrow buttons */
  .faq-nav-arrow {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.15s ease;
    z-index: 2;
  }

  .faq-nav-arrow:hover { background: rgba(255, 255, 255, 0.18); }

  .faq-nav-arrow[disabled] {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
  }

  .faq-nav-arrow svg { width: 15px; height: 15px; }

  /* Prev arrow sits outside overflow, so pull it out of the clip */
  .faq-nav-arrow--prev { order: -1; flex-shrink: 0; }
  .faq-nav-arrow--next { flex-shrink: 0; }
}

/* Sold plots: hide detail rows in tooltip */
.plot-tooltip--sold [data-detail-row] { display: none; }

.process-section { background: var(--paper); }

.process-header {
  text-align: center;
  margin-bottom: clamp(52px, 7vw, 96px);
}

.process-header h2 {
  text-align: center;
  margin-top: 14px;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(30px, 3.5vw, 52px);
  background: white;
  border-radius: 25px;
border: 1px solid var(--text)
}

.process-step-number {
  display: block;
  font-family: "ApfelGrotezk", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--muted);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: clamp(28px, 3vw, 48px);
}

.process-step-body h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text);
}

.process-step-body p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.97rem;
}

/* =========================
   RESERVATION MODAL
   ========================= */

.reservation-modal,
.contact-success-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.reservation-modal[hidden],
.contact-success-modal[hidden] { display: none; }

.reservation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 48, 16, 0.55);
  backdrop-filter: blur(4px);
}

.reservation-modal-box {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90vh, 780px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(28, 48, 16, 0.22);
  padding: clamp(32px, 5vw, 52px);
}

.reservation-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text);
  transition: background 160ms;
}

.reservation-modal-close:hover { background: var(--paper-2); }

.reservation-modal-plot-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.reservation-modal-box h3 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.reservation-modal-intro {
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reservation-form .form-row input,
.reservation-form .form-row textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
}

.reservation-form .form-row input:focus,
.reservation-form .form-row textarea:focus {
  border-color: var(--muted);
  background: var(--white);
}

.reservation-form .form-row input::placeholder,
.reservation-form .form-row textarea::placeholder { color: var(--muted); opacity: 0.7; }

.reservation-form .btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.reservation-modal-success {
  text-align: center;
  padding: 16px 0;
}

.reservation-modal-success h3 {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.reservation-modal-success p {
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.reservation-modal-error {
  padding: 12px 16px;
  background: rgba(160, 50, 50, 0.08);
  border: 1px solid rgba(160, 50, 50, 0.22);
  border-radius: var(--radius-md);
  color: #8b2e2e;
  font-size: 0.92rem;
  display: none;
}

.reservation-modal-error.is-visible { display: block; }

/* =========================
   REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {
  html, html:focus-within { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    will-change: auto;
  }
}

/* =========================
   RESPONSIVE — 1120px
   ========================= */

@media (max-width: 1120px) {
  .steuermann-header .nav-links { gap: 14px; }
  .nav-pill { font-size: 0.82rem; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-partner-grid { grid-template-columns: 1fr; }
}

/* =========================
   RESPONSIVE — 980px
   ========================= */

@media (max-width: 980px) {
  .container,
  .steuermann-header .nav { width: min(100% - 36px, var(--max)); }

  .section-title-row,
  .story-grid,
  .contact-editorial-grid,
  .location-editorial-grid {
    grid-template-columns: 1fr;
  }

  .hero-house-grid { grid-template-columns: 1fr; }

  .story-copy  { order: 1; }
  .story-media { order: 2; }

  .menu-toggle { display: flex; }

  .steuermann-header .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 104px 28px 36px;
    background: var(--dark);
    border-radius: 0 0 28px 28px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1),
                opacity 260ms ease;
  }

  .steuermann-header .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .steuermann-header .nav-pill {
    padding: 15px 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    justify-content: flex-start;
    font-family: "ApfelGrotezk", sans-serif;
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.1;
  }

  .steuermann-header .nav-pill:last-child { border-bottom: 0; }
  .steuermann-header .nav-pill:hover,
  .steuermann-header .nav-pill.active { border-bottom-color: rgba(255, 255, 255, 0.12); opacity: 0.7; }

  .story-media { min-height: 320px; }
  .story-media img { border-radius: 20px; }
}

/* =========================
   RESPONSIVE — 640px
   ========================= */

@media (max-width: 640px) {
  .container,
  .steuermann-header .nav { width: min(100% - 28px, var(--max)); }

  .section,
  .intro-statement { padding: 78px 0; }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.85rem);
    line-height: 1;
  }

  h1,
  .steuermann-hero h1 {
    font-size: clamp(2.95rem, 14vw, 4.85rem);
    line-height: 1;
  }

  .steuermann-hero .editorial-hero-content {
    left: 20px;
    right: 20px;
    bottom: 42px;
  }

  .hero-actions { align-items: stretch; flex-direction: column; }

  /* Slider controls */
  .slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 14px;
  }

  /* Fact slider */
  .fact-swiper {
    overflow: hidden;
    margin: 0 -14px;
    padding: 0 14px 40px;
  }

  .fact-grid {
    display: flex !important;
    align-items: stretch;
    border: none;
    gap: 0;
  }

  .fact-card {
    flex-shrink: 0;
    width: calc(100vw - 56px) !important;
    height: auto;
    align-self: stretch;
    border: 1px solid rgba(255, 255, 255, 0.2);
Border-radius:25px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
	text-align:center
  }

  .fact-pagination {
    bottom: 10px;
  }

  /* Process slider */
  .process-swiper {
    overflow: hidden;
    margin: 0 -14px;
    padding: 0 14px 40px;
  }

  .process-list {
    display: flex !important;
    align-items: stretch;
    gap: 0;
  }

  .process-step {
    flex-shrink: 0;
    width: calc(100vw - 56px) !important;
    height: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .process-pagination {
    bottom: 10px;
  }

  .fact-card,
  .project-partner-card,
  .location-text { padding: 28px; min-height: auto; }

  .partner-feature-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .partner-feature-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-width: auto;
  }

  .fact-icon { margin:0 auto 34px }

  .story-media,
  .location-image { min-height: auto; }
  .story-media img { min-height: 220px; }

.location-image img { object-fit: contain; }

  .plot-plan-copy,
  .plot-map-legend { width: min(100% - 28px, var(--max)); }

  .floating-contact { display: none; }

  .cookie-banner {
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 16px;
  }

  .cookie-banner-inner { width: 100%; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-btn { width: 100%; }

  .legal-modal-dialog {
    width: calc(100% - 16px);
    height: calc(100vh - 24px);
    margin: 12px auto;
    border-radius: 18px;
  }

  .legal-modal-head { padding: 14px 16px; }
  .legal-modal-body { padding: 20px 16px; }

  .plot-tooltip {
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    overflow: auto;
  }
}

/* =========================
   SWIPER — DESKTOP RESET
   When Swiper is destroyed on resize to desktop, remove
   any lingering inline transforms / flex applied by Swiper.
   ========================= */

@media (min-width: 641px) {
  .fact-grid {
    display: grid !important;
    flex-wrap: unset;
    transform: none !important;
  }

  .fact-card {
    width: auto !important;
    margin-right: 0 !important;
  }

  .fact-pagination { display: none; }

  .process-list {
    display: grid !important;
    flex-wrap: unset;
    transform: none !important;
  }

  .process-step {
    width: auto !important;
    margin-right: 0 !important;
  }

  .process-pagination { display: none; }
}

/* ==========================================================================
   PARTNER SLIDER
   ========================================================================== */

.partner-slider-wrap {
  margin-top: 56px;
  margin-bottom: 8px;
  overflow: hidden;
}

/* Target all dynamically-named partner swipers via the wrapper class */
.partner-slider-wrap .swiper {
  overflow: visible;
  padding-bottom: 44px !important;
}

.partner-slider-wrap .swiper-slide {
  border-radius: 16px;
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
  transform: scale(.94);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.partner-slider-wrap .swiper-slide-active {
  transform: scale(1);
  box-shadow: 0 8px 40px rgba(0,0,0,.14);
}

.partner-slide-inner {
  position: relative;
  aspect-ratio: 16/9;
  background: transparent;
}

.partner-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%);
  color: #fff;
}

.partner-slide-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}

.partner-slide-caption p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 8px;
  opacity: .88;
}

.partner-slide-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: .9;
  transition: opacity .2s;
}
.partner-slide-link:hover { opacity: 1; }

/* Pagination — match site-wide bullet style */
.partner-slider-wrap .swiper-pagination { bottom: 0; }
.partner-slider-wrap .swiper-pagination-bullet {
  background: var(--text, #1c3010);
  opacity: .18;
  width: 7px;
  height: 7px;
}
.partner-slider-wrap .swiper-pagination-bullet-active {
  background: var(--text, #1c3010);
  opacity: 1;
}

/* Arrows — match .slider-ctrl design: white circle, border, dark icon */
.partner-slider-wrap .swiper-button-prev,
.partner-slider-wrap .swiper-button-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--line, #d8ddd9);
  color: var(--text, #1c2b1c);
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease;
  top: calc(50% - 22px); /* offset above the pagination dots */
}
.partner-slider-wrap .swiper-button-prev:hover,
.partner-slider-wrap .swiper-button-next:hover {
  background: var(--paper, #f6f8f6);
}
.partner-slider-wrap .swiper-button-prev::after,
.partner-slider-wrap .swiper-button-next::after {
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .partner-slide-inner { aspect-ratio: 4/3; }
  .partner-slider-wrap .swiper-button-prev,
  .partner-slider-wrap .swiper-button-next { display: none; }
}

/* ==========================================================================
   LAGEPLAN — Hinweis-Bubble
   ========================================================================== */

/* Desktop: absolute auf dem Bild, rechts unten */
.plot-map-bubble {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 280px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line, #e2e8e4);
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text, #1c3010);
  z-index: 10;
}

/* Mobil: static unterhalb des Bildes */
@media (max-width: 767px) {
  .plot-map-bubble {
    position: static;
    display: inline-block;
    max-width: 100%;
    margin-top: 8px;
    right: auto;
    bottom: auto;
  }
}
