﻿/* Allengerechtes Wohnen — Website */
:root {
  --bg: #f7f4ef;
  --bg-card: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #4a453e;
  --green: #2f5d3a;
  --green-dark: #23462c;
  --green-soft: #e8f0ea;
  --accent: #c4a35a;
  --border: #e2dcd2;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(28, 26, 23, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], .card[id] { scroll-margin-top: 5.5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}
.brand small {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.25;
  max-width: 16rem;
}
.brand-mark {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.7rem; letter-spacing: 0.02em;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
/* Volles Markenzeichen (Logo 08) — Footer / große Flächen, nicht im 44px-Header */
.brand-logo-full {
  display: block;
  width: min(420px, 100%);
  height: auto;
  border-radius: 12px;
  background: #0d4f3c;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  cursor: pointer;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav-more { position: relative; }
.nav-more-btn {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}
.nav-more-btn:hover,
.nav-more-btn[aria-expanded="true"] { color: var(--green); }
.nav-more-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 13.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(20, 30, 15, 0.12);
  padding: 0.45rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.nav-more-panel[hidden] { display: none !important; }
.nav-more-panel a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-more-panel a:hover { background: var(--green-soft); color: var(--green-dark); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.15s ease;
}
button.btn { appearance: none; -webkit-appearance: none; }
.btn-primary { background: var(--green); color: #fff !important; }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: transparent; border-color: var(--green); color: var(--green) !important; }
.btn-secondary:hover { background: var(--green-soft); }
.btn-light { background: #fff; color: var(--green) !important; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* Hero — ruhiger Verlauf, nur ein Hausbild im Visual (kein zweites Foto im Hintergrund) */
.hero {
  padding: 3.25rem 0 2.75rem;
  position: relative;
  color: var(--ink);
  background: linear-gradient(125deg, #f7f4ef 0%, #eef5f0 48%, #e8f0ea 100%);
}
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem 2.5rem;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin: 0 0 0.85rem;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.12;
  margin: 0 0 0.75rem;
  color: var(--green-dark);
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.hero .lead { font-size: 1.28rem; color: var(--ink-soft); margin: 0 0 1rem; max-width: 36em; }
.hero .lead-em {
  font-size: 1.08rem;
  font-weight: 600;
  font-style: italic;
  color: var(--green);
  max-width: 34em;
  margin: 0 0 1rem;
  padding: 0.65rem 0.9rem;
  border-left: 3px solid var(--accent);
  background: rgba(255,255,255,0.55);
  border-radius: 0 10px 10px 0;
}
.hero p { max-width: 40em; margin: 0 0 0.75rem; }
.hero-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(28, 26, 23, 0.14);
  border: 1px solid rgba(255,255,255,0.65);
  background: #fff;
  aspect-ratio: 4 / 3;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-visual-badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: rgba(35, 70, 44, 0.9);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero .btn-row { margin-top: 1.1rem; }
.hero .trust { margin-top: 0.35rem; }

/* Explore-Hub — wachsende Inhalte scannbar */
.explore-strip {
  padding: 1.35rem 0 1.6rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.explore-strip .sec-label,
.sec-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin: 0 0 0.9rem;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}
.explore-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  min-height: 5.2rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.explore-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #c9dccf;
  color: var(--green-dark);
}
.explore-card strong {
  font-size: 0.98rem;
  color: var(--green-dark);
}
.explore-card span {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.explore-card .explore-ico {
  font-size: 1.15rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}

/* Stats-Band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.stat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(28,26,23,0.04);
}
.stat-pill strong {
  display: block;
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 0.15rem;
}
.stat-pill span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* Vollflächen-Hintergründe (IONOS) */
.bg-siedlung {
  position: relative;
  color: #f8f8f8;
  background:
    linear-gradient(rgba(21, 21, 21, 0.62), rgba(21, 21, 21, 0.58)),
    url("../img/bg-siedlung.jpg") center / cover no-repeat;
  background-attachment: scroll;
}
.bg-siedlung h2,
.bg-siedlung h3 { color: #e8f0c0; }
.bg-siedlung p,
.bg-siedlung .muted,
.bg-siedlung li { color: rgba(248, 248, 248, 0.92); }
.bg-siedlung .list-check li { border-bottom-color: rgba(255,255,255,0.15); }
.bg-siedlung .list-check li::before { color: #cddc39; }
.bg-siedlung a:not(.btn) { color: #e8f5a0; }
.bg-siedlung .btn-secondary {
  border-color: #f8f8f8;
  color: #f8f8f8 !important;
}
.bg-siedlung .btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
}
.bg-siedlung .btn-primary {
  background: #cddc39;
  color: #151515 !important;
}
.bg-siedlung .btn-primary:hover { background: #b8c72f; }

.bg-gemeinschaft {
  position: relative;
  color: var(--ink);
  background:
    linear-gradient(rgba(247, 244, 239, 0.88), rgba(247, 244, 239, 0.82)),
    url("../img/bg-gemeinschaft.jpg") 53% 25% / cover no-repeat;
}
.bg-gemeinschaft .panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.bg-gemeinschaft .panel h2 { margin-top: 0; }

/* Event cards */
.event-list { display: grid; gap: 1rem; }
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}
.event-card h3 { margin: 0 0 0.4rem; color: var(--green-dark); font-size: 1.1rem; }
.event-card p { margin: 0 0 0.5rem; color: var(--ink-soft); font-size: 1.02rem; }
.event-card .event-meta {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.65rem;
}
.event-card .event-meta strong { color: var(--ink); }
.event-card .event-banner {
  width: 100%;
  max-height: none;
  height: auto;
  border-radius: 10px;
  margin: 0 0 0.85rem;
  box-shadow: none;
  object-fit: contain;
  background: #6b1f2a;
}
.event-date {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.bg-siedlung .event-card {
  background: rgba(255,255,255,0.96);
  color: var(--ink);
}
.bg-siedlung .event-card p,
.bg-siedlung .event-card .event-meta { color: var(--ink-soft); }
.bg-siedlung .event-card h3 { color: var(--green-dark); }
.bg-siedlung .event-card a:not(.btn) { color: var(--green); }

/* Trust */
.trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 1rem 0 0;
}
.trust span {
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Sections */
section { padding: 2.75rem 0; }
section.alt { background: #fff; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--green-dark); margin: 0 0 1rem; line-height: 1.25; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; color: var(--ink); }
.muted { color: var(--ink-soft); }
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* Kundensicht 4 Takte (Dieter Uhlig) */
.kunden-takt {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0.5rem 0 0.25rem;
}
.kunden-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: var(--shadow);
  position: relative;
}
.kunden-nr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.kunden-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--green-dark);
}
.kunden-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Baukasten USP */
.baukasten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}
.baukasten-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.baukasten-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--green-dark);
}
.baukasten-card p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.baukasten-card a {
  font-weight: 700;
  font-size: 0.9rem;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2-simple { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card p { flex: 1; margin: 0 0 1rem; color: var(--ink-soft); font-size: 1.05rem; }
.card .btn { align-self: flex-start; }
.card img {
  border-radius: 10px;
  margin: -1.25rem -1.25rem 1rem;
  width: calc(100% + 2.5rem);
  max-width: none;
  height: 160px;
  object-fit: cover;
}
.card.no-img img { display: none; }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.list-check li::before {
  content: "✓";
  position: absolute; left: 0; color: var(--green); font-weight: 700;
}

.media-round { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; max-height: 360px; }

/* Page hero small */
.page-hero {
  padding: 2.25rem 0 1.5rem;
  background: linear-gradient(180deg, var(--green-soft), var(--bg));
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 0 0 0.5rem; color: var(--green-dark); font-size: clamp(1.75rem, 3vw, 2.25rem); }
.page-hero p { margin: 0; max-width: 40em; color: var(--ink-soft); }

/* Service blocks */
.service {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
}
.service h3 { color: var(--green-dark); }
.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

/* Contact */
.contact-box {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.contact-box dl { margin: 0; }
.contact-box dt { font-weight: 700; margin-top: 0.85rem; color: var(--green-dark); }
.contact-box dd { margin: 0.15rem 0 0; }
.contact-box a { font-weight: 600; text-decoration: none; }
.form label { display: block; font-weight: 600; margin: 0.85rem 0 0.3rem; font-size: 0.95rem; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.35rem; }
.form-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.75rem;
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}
.form .check { display: flex; gap: 0.5rem; align-items: flex-start; margin-top: 1rem; font-size: 0.95rem; }
.form .check input { width: auto; margin-top: 0.3rem; }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #e8f0ea;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 0.6rem; }
.site-footer p, .site-footer li { font-size: 0.95rem; color: #c9d9ce; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.3rem 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #a8c0b0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}
.partner-logo { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }

.note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--accent);
  padding-left: 0.85rem;
  margin-top: 1.25rem;
}

/* ========== Entschlackte Startseite (Demo → Live) ========== */
.page-home-clean .hero-clean .lead { max-width: 36em; }
.page-home-clean .hero-clean .lead-em { max-width: 36em; margin-bottom: 0; }
.page-home-clean .hero-clean p:not(.lead):not(.lead-em) { display: none; }

/* Musterhaus Highlight Startseite */
.home-musterhaus {
  padding: 1.5rem 0 0.25rem;
}
.home-musterhaus-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.2fr;
  gap: 1.5rem 2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}
.home-musterhaus-visual img {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1;
  background: var(--green-soft);
}
.home-musterhaus-copy h2 { margin: 0.25rem 0 0.75rem; color: var(--green-dark); }
.home-musterhaus-copy p { margin: 0 0 0.85rem; max-width: 38em; }
@media (max-width: 900px) {
  .home-musterhaus-inner { grid-template-columns: 1fr; }
  .home-musterhaus-visual img { max-width: 320px; }
}

/* USP Gesamtkonzept / Erleben */
.home-usp { padding: 1.75rem 0 0.5rem; }
.home-usp-lead { max-width: 48em; margin: 0 0 1.25rem; font-size: 1.08rem; }
.home-usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.home-usp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}
.home-usp-card h3 {
  margin: 0 0 0.5rem;
  color: var(--green-dark);
  font-size: 1.15rem;
}
.home-usp-card p { margin: 0 0 0.75rem; color: var(--ink-soft); }
.home-usp-card .btn { margin-top: 0.25rem; }
@media (max-width: 900px) {
  .home-usp-grid { grid-template-columns: 1fr; }
}

.home-hint { padding: 0 0 0.5rem; }
.home-hint-box {
  background: var(--green-soft);
  border: 1px solid #c5d9cb;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  max-width: 48em;
}
.home-hint-box strong { display: block; color: var(--green-dark); margin-bottom: 0.35rem; }
.home-hint-box p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
button.linkish {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
button.linkish:hover { color: var(--green-dark); }

.home-wege { padding: 1.5rem 0 0.5rem; }
.home-lede { max-width: 42em; margin: 0 0 1.25rem; }
.wege-card { display: flex; flex-direction: column; }
.wege-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.wege-actions .btn { font-size: 0.9rem; padding: 0.5rem 0.85rem; }
.home-more-links {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}
.home-more-links a { margin-inline: 0.1rem; }

.home-ki {
  padding: 2rem 0;
  background: linear-gradient(180deg, #eef5f0 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.home-ki-inner {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px);
  gap: 1.5rem 2rem;
  align-items: start;
}
.home-ki-list { margin: 1rem 0; }
.home-ki .small-note { font-size: 0.92rem; max-width: 40em; }
.home-ki-panel-placeholder {
  background: var(--bg-card);
  border: 1px dashed #b7c9bb;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.home-ki-panel-placeholder img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border: 3px solid var(--green);
}
.ki-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.ki-chip {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.ki-chip:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.trust-strip {
  padding: 1.5rem 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-item {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.trust-item strong {
  display: block;
  color: var(--green-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.trust-item span {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.home-cta { padding: 2rem 0 2.5rem; }

/* Desktop: Platz für sticky KI-Panel rechts */
@media (min-width: 1100px) {
  body.page-home-clean {
    padding-right: min(400px, 32vw);
  }
  body.page-home-clean .site-header .wrap,
  body.page-home-clean .site-notice .wrap,
  body.page-home-clean .home-main .wrap,
  body.page-home-clean .site-footer .wrap {
    width: min(var(--max), calc(100% - 2rem));
  }
  .home-ki-panel-slot { display: none; }
}
@media (max-width: 1099px) {
  .home-ki-inner { grid-template-columns: 1fr; }
  .home-ki-panel-slot { display: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .grid-4, .grid-3, .grid-2, .grid-2-simple, .footer-grid, .hero-split, .stats-band, .baukasten-grid, .kunden-takt, .trust-strip-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 28rem; margin-inline: auto; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.75rem;
  }
  .nav.open { display: flex; }
  .header-inner { align-items: flex-start; }
  .btn-cta-header { margin-left: auto; }
  .nav-more { width: 100%; }
  .nav-more-btn { padding: 0.25rem 0; }
  .nav-more-panel {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.25rem 0.75rem;
    min-width: 0;
  }
  .wege-actions .btn { width: 100%; text-align: center; }
}
@media (max-width: 600px) {
  body { font-size: 1.05rem; }
  .hero { padding: 2rem 0; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .bg-siedlung, .bg-gemeinschaft { background-attachment: scroll; }
  .bg-gemeinschaft .grid-2 { grid-template-columns: 1fr; }
}

/* A11y + legal + footer polish */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.legal { max-width: 720px; }
.legal h2 { font-size: 1.2rem; margin-top: 1.75rem; }
.footer-partner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.partner-logo-sq { width: 36px; height: 36px; border-radius: 8px; }
.footer-note { font-size: 0.85rem; color: #a8c0b0; margin-top: 0.75rem; }
.badge-soft {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

/* Startseite: Siedlungsbild + Workshopgruppe */
.photo-strip { background: #fff; }
.photo-pair { align-items: stretch; }
.photo-card {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.photo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
/* Lageplan / Geländeübersicht: ganzes Bild zeigen */
#uebersicht .photo-card img,
.img-plan {
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #e8f2fa;
}
.photo-card figcaption {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.95rem;
}
.photo-card figcaption strong {
  color: var(--green-dark);
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .photo-card img { height: 220px; }
}

/* Hinweis Website im Aufbau / Feedback */
.site-notice {
  background: var(--green-soft);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.site-notice p { margin: 0; max-width: 52em; }
.site-notice strong { color: var(--green-dark); }
.site-notice-event {
  background: #fff6e5;
  border-bottom: 2px solid #f57f17;
}
.site-notice-event p { max-width: 58em; }
.site-notice-event strong { color: #9a4a00; }
.site-notice-event a { color: #7a3a00; font-weight: 600; }

/* YouTube / Video-Karten */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.video-card .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.video-card .video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.video-card .video-frame:hover img {
  transform: scale(1.03);
}
.video-card .video-frame .play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  border-radius: 14px;
  background: rgba(200, 0, 0, 0.92);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}
.video-card .video-frame:hover .play-btn {
  background: #e00;
  transform: translate(-50%, -50%) scale(1.06);
}
.video-card .video-frame .play-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.video-card .video-frame .yt-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.65rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}
.video-card .video-body {
  padding: 1rem 1.15rem 1.2rem;
}
.video-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--green-dark);
}
.video-card p {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.presse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.presse-grid .photo-card img {
  height: 220px;
  object-fit: cover;
}

/* Standort-Karten: klickbar (Lightbox) */
#projekte .card > a.js-lightbox {
  display: block;
  position: relative;
  text-decoration: none;
  cursor: zoom-in;
}
#projekte .card > a.js-lightbox img {
  width: 100%;
  display: block;
}
#projekte .card .press-clip-hint {
  background: rgba(255, 255, 255, 0.92);
  margin: 0;
  border-top: 1px solid var(--border);
}

/* Pressebilder: klickbar vergrößern */
.press-clip a.js-lightbox {
  display: block;
  position: relative;
  text-decoration: none;
  background: #f3efe8;
  cursor: zoom-in;
}
.press-clip a.js-lightbox img {
  width: 100%;
  max-width: 280px;
  height: auto !important;
  max-height: 360px !important;
  object-fit: contain !important;
  margin: 0 auto;
  display: block;
}
.presse-grid .press-clip a.js-lightbox img {
  max-width: 100%;
  max-height: 220px !important;
  height: 220px !important;
  object-fit: cover !important;
}
.press-clip-hint {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  padding: 0.4rem 0.5rem 0.65rem;
}
.press-clip a.js-lightbox:hover .press-clip-hint {
  color: var(--green-dark);
}

/* Lightbox */
.aw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(20, 18, 14, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.aw-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.aw-lightbox img {
  max-width: min(960px, 100%);
  max-height: min(90vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  background: #fff;
}
.aw-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  border: 0;
  background: #fff;
  color: var(--ink);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.aw-lightbox-cap {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  max-width: min(40rem, 92vw);
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.aw-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.aw-lightbox-prev { left: 0.75rem; }
.aw-lightbox-next { right: 0.75rem; }
.aw-lightbox-nav:hover { background: #fff; }
.aw-lightbox-nav[hidden] { display: none; }

/* Campus-Galerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}
.gallery-grid a.js-lightbox {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.gallery-grid a.js-lightbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.gallery-grid a.js-lightbox:hover img {
  transform: scale(1.04);
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .aw-lightbox-nav { width: 2.25rem; height: 2.25rem; font-size: 1.4rem; }
}
@media (max-width: 900px) {
  .video-grid, .presse-grid { grid-template-columns: 1fr; }
}

.gallery-3d img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.lang-switch a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  border: 1px solid transparent;
}
.lang-switch a:hover { color: var(--green); background: var(--green-soft); }
.lang-switch a[aria-current="true"] {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: #c9dccf;
}
.lang-switch .sep { color: var(--border); user-select: none; }
