/* ============================================================
   Hess Immobilien – Stylesheet
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --green:      #2D5A1B;
  --green-dark: #1C3A10;
  --green-deep: #0f2208;
  --sand:       #C4956A;
  --sand-light: #EDD9C0;
  --cream:      #FAF7F2;
  --dark:       #151510;
  --text:       #1A1A18;
  --muted:      #6B6860;
  --border:     #E2D8CE;
  --nav-h:      68px;
  --r:          6px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }

/* ---------- Utilities ---------- */
.wrap {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav--solid {
  background: #fff;
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__mark {
  width: 32px;
  height: 29px;
  color: #fff;
  transition: color 0.3s;
}
.nav--solid .nav__mark { color: var(--green); }
.nav__wordmark {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s;
  line-height: 1.1;
}
.nav__wordmark span {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  opacity: 0.8;
}
.nav--solid .nav__wordmark { color: var(--text); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  padding: 6px 14px;
  font-size: 0.9rem;
  border-radius: var(--r);
  color: rgba(255,255,255,0.85);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav--solid .nav__link { color: var(--muted); }
.nav--solid .nav__link:hover { color: var(--text); background: var(--cream); }

.nav__cta {
  background: var(--sand);
  color: #fff !important;
  font-weight: 600;
  padding: 7px 18px;
}
.nav__cta:hover { background: #b3845a !important; }
.nav--solid .nav__cta { background: var(--green); }
.nav--solid .nav__cta:hover { background: var(--green-dark) !important; }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--r);
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
.nav--solid .nav__burger span { background: var(--text); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0 24px;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav__drawer.is-open { display: block; }
.nav__drawer a {
  display: block;
  padding: 12px 24px;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nav__drawer a:last-child { border-bottom: none; }
.nav__drawer .drawer-cta {
  margin: 16px 24px 0;
  display: block;
  text-align: center;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  padding: 12px;
  border-radius: var(--r);
}

/* ============================================================
   HERO — split layout
   ============================================================ */
.hero {
  min-height: 100svh;
  background: var(--green-deep);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
  overflow: hidden;
  position: relative;
}
.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 80px 0;
  padding-left: max(24px, calc((100vw - 1160px) / 2));
}
.hero__overline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero__title em {
  font-style: normal;
  color: var(--sand);
}
.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 400px;
  margin-bottom: 40px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
  flex-shrink: 0;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn--sand { background: var(--sand); color: #fff; }
.btn--sand:hover { background: #b3845a; }
.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }

/* Hero illustration */
.hero__right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
}
.hero__illustration {
  width: 100%;
  max-width: 560px;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.hero__illustration svg {
  width: 100%;
  height: auto;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: max(24px, calc((100vw - 1160px) / 2));
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.25);
}

/* ============================================================
   PILLARS STRIP
   ============================================================ */
.pillars {
  background: var(--sand);
  padding: 0;
}
.pillars__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.pillar:last-child { border-right: none; }
.pillar__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.pillar__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================================================
   PROJEKT SECTION
   ============================================================ */
.projekt {
  padding: 96px 0;
  background: #fff;
}
.projekt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.projekt__intro {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}
.projekt__heading {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--green-deep);
  margin-bottom: 20px;
}
.projekt__text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.projekt__link {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.projekt__link:hover { color: var(--sand); }
.projekt__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 8px;
}
.fact {
  padding: 24px 20px;
  background: var(--cream);
  border-radius: var(--r);
  border-left: 3px solid var(--sand);
}
.fact__num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}
.fact__label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   QNG BAND
   ============================================================ */
.qng {
  background: var(--green);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.qng__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  overflow: hidden;
}
.qng__watermark {
  font-size: clamp(120px, 18vw, 200px);
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  letter-spacing: -0.04em;
  user-select: none;
  line-height: 1;
  padding-right: 40px;
}
.qng__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.qng__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}
.qng__heading {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: #fff;
  margin-bottom: 20px;
}
.qng__text {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.75;
}
.qng__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qng__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.1);
}
.qng__item-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--sand);
  width: 28px;
  height: 28px;
}
.qng__item-icon svg { width: 28px; height: 28px; }
.qng__item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.qng__item-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ============================================================
   BAUHISTORIE PREVIEW
   ============================================================ */
.bh-preview {
  padding: 96px 0;
  background: var(--cream);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-overline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--green-deep);
}
.bh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.bh-card {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(15, 34, 8, 0.10);
  display: block;
  text-decoration: none;
  color: inherit;
}
.bh-card__badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 11px;
  border-radius: 100px;
  z-index: 2;
  pointer-events: none;
}
.bh-card__media {
  aspect-ratio: 4/3;
  background: var(--green-deep);
  overflow: hidden;
  position: relative;
}
.bh-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(45, 90, 27, 0.30) 0%,
    rgba(196, 149, 106, 0.12) 55%,
    rgba(15, 34, 8, 0.65) 100%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
.bh-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.bh-card:hover .bh-card__media img {
  transform: scale(1.06);
  filter: brightness(1.08);
}
.bh-card__media.is-slider img {
  position: absolute;
  top: 0; left: 0;
  display: none;
}
.bh-card__media.is-slider img.is-active {
  display: block;
}
.bh-card__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 36px;
  height: 52px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
  padding: 0;
}
.bh-card__nav:hover { background: rgba(0,0,0,0.7); }
.bh-card__nav--prev { left: 0; border-radius: 0 4px 4px 0; }
.bh-card__nav--next { right: 0; border-radius: 4px 0 0 4px; }
.bh-card__counter {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 10px;
  z-index: 2;
  pointer-events: none;
}
.bh-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-direction: column;
  gap: 8px;
}
.bh-card__placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.3;
}
.bh-card__body {
  padding: 20px;
}
.bh-card__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.bh-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.bh-card__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.bh-preview__more {
  text-align: center;
}

/* ============================================================
   BAUHISTORIE PAGE
   ============================================================ */
.bh-page {
  padding: 80px 0 96px;
}
.bh-months {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.bh-month__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.bh-month__title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--green-deep);
  flex: 1;
}
.bh-month__count {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--cream);
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.bh-month__photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 6px;
}
.bh-month__photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--green-deep);
  border-radius: 4px;
}
.bh-month__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.bh-month__photo {
  cursor: pointer;
}
.bh-month__photo:hover img {
  transform: scale(1.07);
  filter: brightness(1.1);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 900;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open {
  display: flex;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  user-select: none;
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 16px 18px;
  border-radius: 6px;
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
}
.lightbox__nav:hover { opacity: 1; background: rgba(255, 255, 255, 0.22); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* ============================================================
   WOHNEINHEITEN
   ============================================================ */
.wohnungen {
  background: var(--cream);
  padding: 64px 0 96px;
}
.whg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.whg-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.whg-card:hover {
  box-shadow: 0 6px 24px rgba(45,90,27,0.10);
  transform: translateY(-3px);
}
.whg-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  aspect-ratio: 16 / 9;
  background: #eee8df;
  border-bottom: 1px solid var(--border);
}
.whg-gallery::-webkit-scrollbar { display: none; }
.whg-gallery img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.whg-gallery__placeholder {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}
.whg-gallery__placeholder svg { opacity: 0.35; }
.whg-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.whg-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.whg-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}
.whg-status {
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #e8f4e1;
  color: var(--green);
}
.whg-status--rented {
  background: #f4e1e1;
  color: #a03030;
}
.whg-size {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 12px;
}
.whg-facts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.whg-fact {
  padding: 3px 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.whg-fact--highlight {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.whg-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.whg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.whg-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.45;
}
.whg-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpolyline points='2,6 5,9 10,3' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.whg-price {
  display: flex;
  gap: 0;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 16px;
}
.whg-price__item {
  flex: 1;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.whg-price__item + .whg-price__item {
  border-left: 1px solid var(--border);
}
.whg-price__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.whg-price__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-deep);
}
.whg-available {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.whg-available strong { color: var(--green-deep); }

/* ============================================================
   PARTNER
   ============================================================ */
.partner {
  padding: 96px 0;
  background: #fff;
}
.partner__slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.partner__slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px;
}
.partner__slider::-webkit-scrollbar { display: none; }
.partner__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.partner__arrow:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(45,90,27,0.18);
}
.partner__arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.partner__card {
  flex: 0 0 230px;
  scroll-snap-align: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.partner__card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(45,90,27,0.08);
  transform: translateY(-3px);
}
.partner__logo {
  height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}
.partner__logo img {
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
}
.partner__logo--initials {
  min-width: 52px;
  padding: 0 12px;
  background: var(--cream);
  border-radius: var(--r);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.08em;
  justify-content: center;
  border: 1px solid var(--border);
}
.partner__role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}
.partner__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}
.partner__location {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.partner__url {
  padding-top: 10px;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.partner__card:hover .partner__url { text-decoration: underline; }

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt {
  background: var(--cream);
  padding: 96px 0;
}
.kontakt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.kontakt__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}
.kontakt__heading {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--green-deep);
  margin-bottom: 16px;
}
.kontakt__text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.kontakt__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kontakt__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}
.kontakt__link:hover { color: var(--green); }
.kontakt__link-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.kontakt__link-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}
.map-wrap {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: #e8e0d5;
  position: relative;
}
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}
.map-placeholder p { font-size: 0.85rem; line-height: 1.5; }
.map-placeholder button {
  background: var(--green);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--r);
  font-size: 0.85rem;
  font-weight: 600;
}
.map-placeholder button:hover { background: var(--green-dark); }
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   SUBPAGE HERO
   ============================================================ */
.subhero {
  background: var(--green-deep);
  padding: calc(var(--nav-h) + 56px) 0 56px;
  color: #fff;
}
.subhero__overline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 12px;
}
.subhero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #fff;
}

/* ============================================================
   LEGAL / SUBPAGE CONTENT
   ============================================================ */
.legal {
  padding: 64px 0 96px;
}
.legal__wrap {
  max-width: 760px;
}
.legal h2 {
  font-size: 1.25rem;
  color: var(--green-deep);
  margin: 40px 0 12px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.legal h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal p { color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.legal ul { margin: 12px 0 16px 20px; list-style: disc; }
.legal ul li { color: var(--muted); margin-bottom: 6px; line-height: 1.65; }
.legal a { color: var(--green); text-decoration: underline; }
.legal a:hover { color: var(--green-dark); }
.legal code {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
  color: var(--text);
}
.legal-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sand);
  border-radius: var(--r);
  padding: 20px 24px;
  margin: 16px 0;
}
.legal-box p { margin-bottom: 4px; }
.legal-box p:last-child { margin-bottom: 0; }
.legal__date {
  margin-top: 48px;
  font-size: 0.82rem;
  color: var(--border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-deep);
  padding: 40px 0;
  color: rgba(255,255,255,0.5);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.footer__brand svg {
  width: 24px;
  height: 22px;
  color: rgba(255,255,255,0.5);
}
.footer__copy { font-size: 0.82rem; }
.footer__links {
  display: flex;
  gap: 20px;
}
.footer__links a,
.footer__links button {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer__links a:hover,
.footer__links button:hover { color: rgba(255,255,255,0.8); }
.footer__links button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 20px 0;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cookie.is-visible { transform: translateY(0); }
.cookie__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie__text {
  flex: 1 1 320px;
  font-size: 0.85rem;
  line-height: 1.6;
}
.cookie__text a { color: var(--sand); text-decoration: underline; }
.cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie__btn {
  padding: 9px 18px;
  border-radius: var(--r);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.cookie__btn--all { background: var(--green); color: #fff; }
.cookie__btn--all:hover { background: var(--green-dark); }
.cookie__btn--necessary {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie__btn--necessary:hover { background: rgba(255,255,255,0.08); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
  }
  .hero__left {
    padding: 60px 24px 40px;
    padding-top: calc(var(--nav-h) + 40px);
  }
  .hero__right { display: none; }
  .hero__scroll { display: none; }

  .pillars__inner { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .pillar:last-child { border-bottom: none; }

  .projekt__grid { grid-template-columns: 1fr; gap: 40px; }
  .projekt__facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }

  .qng__inner { grid-template-columns: 1fr; gap: 40px; }
  .qng__watermark { display: none; }

  .bh-month__photos { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .whg-grid { grid-template-columns: 1fr; }

  .kontakt__grid { grid-template-columns: 1fr; gap: 40px; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  .section-header { flex-direction: column; align-items: flex-start; }
}

/* Tablet (768–1200px): Text zentriert, Illustration am unteren Rand — überschreibt mobile display:none */
@media (min-width: 768px) and (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;
  }
  .hero__left {
    text-align: center;
    align-items: center;
    justify-self: center;
    width: 100%;
    max-width: 720px;
    padding: calc(var(--nav-h) + 60px) 60px 40px;
  }
  .hero__sub { max-width: 520px; }
  .hero__badges { justify-content: center; }
  .hero__ctas { justify-content: center; }
  .hero__right {
    position: static;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    justify-self: center;
    width: 72%;
    max-width: 560px;
    height: auto;
  }
  .hero__illustration {
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .hero__scroll { display: none; }
}

@media (max-width: 600px) {
  .bh-month__photos { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 4px; }
  .bh-months { gap: 48px; }
  .partner__arrow { display: none; }
  .partner__card { flex: 0 0 80vw; }
  .projekt__facts { grid-template-columns: 1fr 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}
