/* ==========================================================================
   HOLTMANN & SEVERIN Immobilien – Demo-Webseite
   Design-System & Stylesheet
   Autor: Demo für "Webdesign für Immobilienmakler"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Farben */
  --ivory: #faf7f2;
  --paper: #ffffff;
  --sand: #ece2d5;
  --sand-soft: #f4efe7;
  --ink: #16211f;
  --ink-soft: #4d5a56;
  --ink-mute: #7c8783;
  --petrol: #0e4f47;
  --petrol-dark: #0a3730;
  --petrol-light: #16786b;
  --petrol-glow: rgba(14, 79, 71, 0.14);
  --brass: #b98a45;
  --brass-light: #d9b478;
  --line: rgba(22, 33, 31, 0.12);
  --line-soft: rgba(22, 33, 31, 0.07);
  --success: #2f7d5f;
  --danger: #b4453a;

  /* Typografie */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.05rem, 0.3vw + 1rem, 1.18rem);
  --fs-lg: clamp(1.25rem, 0.6vw + 1.1rem, 1.6rem);
  --fs-xl: clamp(1.6rem, 1.2vw + 1.2rem, 2.3rem);
  --fs-2xl: clamp(2rem, 2.2vw + 1.3rem, 3.2rem);
  --fs-3xl: clamp(2.4rem, 4vw + 1rem, 4.6rem);
  --fs-hero: clamp(2.8rem, 6.2vw, 6.6rem);

  /* Abstände */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;
  --section-y: clamp(4.5rem, 8vw, 9rem);

  /* Radien & Schatten */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(22, 33, 31, 0.05);
  --shadow-sm: 0 2px 8px rgba(22, 33, 31, 0.06), 0 1px 2px rgba(22, 33, 31, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(22, 33, 31, 0.18), 0 2px 8px rgba(22, 33, 31, 0.05);
  --shadow-lg: 0 30px 60px -24px rgba(22, 33, 31, 0.26), 0 8px 20px -12px rgba(22, 33, 31, 0.12);
  --shadow-glow: 0 20px 50px -20px var(--petrol-glow);

  /* Layout */
  --wrap: 1240px;
  --wrap-wide: 1480px;
  --wrap-narrow: 760px;
  --gutter: clamp(2rem, 5vw, 5rem);
  --header-h: 84px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.18s;
  --t-base: 0.36s;
  --t-slow: 0.7s;
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

body.no-scroll { overflow: hidden; }

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.022em;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
  text-wrap: balance;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { text-wrap: pretty; }

a {
  color: var(--petrol);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}

a:hover { color: var(--petrol-light); }

ul, ol { padding-left: 1.15rem; }

::selection { background: var(--petrol); color: var(--sand-soft); }

:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   3. Layout-Helfer
   -------------------------------------------------------------------------- */
/* --gutter wächst mit der Fensterbreite mit, damit Inhalte auf Laptops
   nicht am Bildschirmrand kleben. */
.wrap {
  width: min(100% - var(--gutter), var(--wrap));
  margin-inline: auto;
}
.wrap-wide { width: min(100% - var(--gutter), var(--wrap-wide)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gutter), var(--wrap-narrow)); margin-inline: auto; }

section { position: relative; }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(3rem, 5vw, 5rem); }
.section-tight { padding-block: clamp(2rem, 3vw, 3.5rem); }

.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand-soft); }
.bg-ink { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.bg-petrol { background: var(--petrol); color: rgba(255, 255, 255, 0.78); }
.bg-petrol h1, .bg-petrol h2, .bg-petrol h3, .bg-petrol h4 { color: #fff; }

.grid { display: grid; gap: var(--sp-6); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }
.wrapf { flex-wrap: wrap; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }

/* --------------------------------------------------------------------------
   4. Typografie-Komponenten
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.bg-ink .eyebrow, .bg-petrol .eyebrow { color: var(--brass-light); }

.lead {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  line-height: 1.75;
}
.bg-ink .lead, .bg-petrol .lead { color: rgba(255, 255, 255, 0.75); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.serif-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  color: var(--petrol);
}

.text-brass { color: var(--brass); }
.text-mute { color: var(--ink-mute); }
.small { font-size: var(--fs-sm); }
.tiny { font-size: var(--fs-xs); }

.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.4em; margin-bottom: 0.1em; }
.prose h3 { margin-top: 1.8em; margin-bottom: 0.1em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--petrol); }
.prose blockquote {
  border-left: 3px solid var(--brass);
  padding: 0.4rem 0 0.4rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
}
.prose img { border-radius: var(--r-lg); margin-block: 2rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--petrol);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--petrol-light);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-brass { --btn-bg: var(--brass); }
.btn-brass::before { background: #a2762f; }

.btn-light {
  --btn-bg: #fff;
  --btn-fg: var(--petrol);
}
.btn-light::before { background: var(--sand); }
.btn-light:hover { color: var(--petrol-dark); }

.btn-lg { padding: 1.15rem 2.2rem; font-size: var(--fs-base); }
.btn-sm { padding: 0.65rem 1.2rem; font-size: var(--fs-xs); }
.btn-block { width: 100%; }

.btn .ico { transition: transform var(--t-base) var(--ease-out); }
.btn:hover .ico { transform: translateX(4px); }

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--petrol);
  position: relative;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { transition: transform var(--t-base) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Badges, Chips, Pills
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--sand-soft);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--line-soft);
}
.badge-petrol { background: var(--petrol); color: #fff; border-color: transparent; }
.badge-brass { background: var(--brass); color: #fff; border-color: transparent; }
.badge-live { background: #fff; color: var(--danger); }
.badge-live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}
.chip:hover { border-color: var(--petrol); color: var(--petrol); }
.chip.is-active {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #fff;
}

/* --------------------------------------------------------------------------
   7. Header & Navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
}
.topbar .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 40px;
}
.topbar a { color: rgba(255, 255, 255, 0.85); }
.topbar a:hover { color: var(--brass-light); }
.topbar-links { display: flex; gap: 1.5rem; align-items: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.site-header.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 30px -20px rgba(22, 33, 31, 0.35);
}
.site-header .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
  transition: height var(--t-base) var(--ease-out);
}
.site-header.is-stuck .wrap-wide { height: 68px; }

.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 10px;
  background: var(--petrol);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.03em;
  transition: transform var(--t-base) var(--ease-spring);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--petrol); background: rgba(14, 79, 71, 0.06); }
.nav-link.is-current { color: var(--petrol); font-weight: 600; }
.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
  transform: translateX(-50%);
}
.nav-caret { transition: transform var(--t-base) var(--ease-out); }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 620px;
  max-width: 90vw;
  padding: 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility var(--t-base);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-link {
  display: flex;
  gap: 0.8rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease-out);
}
.dropdown-link:hover { background: var(--sand-soft); }
.dropdown-ico {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--sand-soft);
  color: var(--petrol);
  display: grid;
  place-items: center;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.dropdown-link:hover .dropdown-ico { background: var(--petrol); color: #fff; }
.dropdown-title { font-weight: 600; color: var(--ink); font-size: 0.92rem; line-height: 1.3; }
.dropdown-desc { font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.45; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.fav-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}
.fav-btn:hover { border-color: var(--petrol); color: var(--petrol); }
.fav-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 19px; height: 19px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--brass);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform var(--t-base) var(--ease-spring);
}
.fav-count.is-visible { transform: scale(1); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile Menü */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: var(--ivory);
  padding: calc(var(--header-h) + 24px) 1.5rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .sub a {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.55rem 0 0.55rem 1rem;
  color: var(--ink-soft);
  border: 0;
}
.mobile-nav .sub { padding-bottom: 0.75rem; border-bottom: 1px solid var(--line-soft); }

/* Fortschrittsbalken */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--petrol), var(--brass));
  z-index: 999;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ivory) 0%, var(--sand-soft) 55%, #e9ddcc 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-blob-1 {
  width: 480px; height: 480px;
  top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(22, 120, 107, 0.35), transparent 65%);
  animation: float-a 16s ease-in-out infinite;
}
.hero-blob-2 {
  width: 420px; height: 420px;
  bottom: -160px; left: -100px;
  background: radial-gradient(circle, rgba(185, 138, 69, 0.32), transparent 65%);
  animation: float-b 20s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 50px) scale(1.12); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.08); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(22, 33, 31, 0.045) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

/* Achtung: hier KEIN width:100% setzen – das würde die Breite von
   .wrap-wide überschreiben und den Inhalt an den Bildschirmrand schieben. */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-title {
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: block;
  transform: translateY(110%);
  animation: line-up 1.1s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.28s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.41s; }
@keyframes line-up { to { transform: translateY(0); } }

.hero-underline {
  position: relative;
  display: inline-block;
}
.hero-underline svg {
  position: absolute;
  left: 0; bottom: -0.15em;
  width: 100%;
  height: 0.32em;
  overflow: visible;
}
.hero-underline path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw-line 1.4s var(--ease-out) 0.9s forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

.hero-lead {
  max-width: 50ch;
  font-size: var(--fs-md);
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.7s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.85s forwards;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-soft);
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 1s forwards;
}
.hero-trust-item { display: flex; align-items: center; gap: 0.6rem; }
.hero-trust-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1;
}
.hero-trust-lbl { font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.3; max-width: 13ch; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero-Bildkomposition */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 4.4;
}
.hero-img {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sand);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-main {
  inset: 0 12% 14% 0;
  clip-path: inset(0 0 100% 0);
  animation: reveal-down 1.3s var(--ease-out) 0.35s forwards;
}
.hero-img-sub {
  width: 46%;
  aspect-ratio: 1/1.15;
  right: 0; bottom: 0;
  clip-path: inset(0 0 100% 0);
  animation: reveal-down 1.3s var(--ease-out) 0.65s forwards;
  border: 8px solid var(--ivory);
  border-radius: var(--r-lg);
}
@keyframes reveal-down { to { clip-path: inset(0 0 0 0); } }

.hero-img-main img { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.14) translate(-2%, -2%); }
}

.hero-float-card {
  position: absolute;
  left: -6%;
  bottom: 24%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 1.25s forwards, bob 5s ease-in-out 2s infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.hero-float-card .ring {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--petrol) 0% 78%, var(--sand) 78% 100%);
  position: relative;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--petrol);
}
.hero-float-card .ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
.hero-float-card .ring span { position: relative; z-index: 1; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 1.6s forwards;
}
.scroll-hint .bar {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--ink-mute), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint .bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--petrol);
  animation: scroll-down 2s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* Schnellsuche-Leiste unter Hero */
.quicksearch {
  position: relative;
  z-index: 10;
  margin-top: -46px;
}
.quicksearch-inner {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 0.6rem;
  align-items: end;
}
.qs-field { display: flex; flex-direction: column; gap: 0.3rem; padding: 0 0.6rem; }
.qs-field + .qs-field { border-left: 1px solid var(--line-soft); }
.qs-field label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.qs-field select, .qs-field input {
  border: 0;
  background: transparent;
  padding: 0.25rem 0;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  outline: none;
  width: 100%;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   9. Page Hero (Unterseiten)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  background: linear-gradient(150deg, var(--sand-soft), var(--ivory) 70%);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -160px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 79, 71, 0.12), transparent 68%);
  filter: blur(50px);
  animation: float-a 18s ease-in-out infinite;
}
/* Der Wrapper behält die normale Seitenbreite (gleiche Außenabstände wie
   alle anderen Sektionen); begrenzt wird nur der Inhalt darin. */
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-inner > * { max-width: 780px; }
.page-hero.has-img .page-hero-inner > * { max-width: min(620px, 52%); }
.page-hero-img {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 44%;
  /* Weicher Übergang statt harter diagonaler Kante */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
  mask-image: linear-gradient(to right, transparent 0%, #000 30%);
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-img .stats { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  margin-bottom: 1.4rem;
  list-style: none;
  padding: 0;
}
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--petrol); }
.breadcrumb li { display: flex; align-items: center; gap: 0.45rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; opacity: 0.45; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base);
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sand-soft);
  color: var(--petrol);
  margin-bottom: 1.4rem;
  transition: background var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-spring);
}
.card:hover .card-ico { background: var(--petrol); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card h3 { margin-bottom: 0.6rem; font-size: var(--fs-lg); }
.card p { font-size: 0.95rem; }
.card-num {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--ink);
  opacity: 0.06;
  transition: opacity var(--t-base), transform var(--t-base) var(--ease-out);
}
.card:hover .card-num { opacity: 0.12; transform: translateY(-4px); }

.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

/* Leistungs-Karte mit Bild */
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  color: inherit;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.svc-card-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.svc-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.svc-card:hover .svc-card-img img { transform: scale(1.07); }
.svc-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 55, 48, 0.5), transparent 55%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.svc-card:hover .svc-card-img::after { opacity: 1; }
.svc-card-body { padding: 1.6rem 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.svc-card-body h3 { font-size: 1.32rem; margin-bottom: 0.5rem; }
.svc-card-body p { font-size: 0.93rem; flex: 1; }
.svc-card-body .link-arrow { margin-top: 1.2rem; }

/* --------------------------------------------------------------------------
   11. Immobilien-Karten
   -------------------------------------------------------------------------- */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.prop-grid.is-list { grid-template-columns: 1fr; }

.prop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.prop-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.prop-card.is-hidden { display: none; }

.prop-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.prop-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), opacity var(--t-base);
}
.prop-card:hover .prop-media img { transform: scale(1.08); }
.prop-tags {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  z-index: 2;
}
.prop-tags .badge { backdrop-filter: blur(8px); background: rgba(255, 255, 255, 0.9); }
.prop-tags .badge-petrol { background: var(--petrol); }
.prop-tags .badge-brass { background: var(--brass); }

.prop-fav {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}
.prop-fav:hover { transform: scale(1.1); color: var(--danger); }
.prop-fav.is-active { color: var(--danger); }
.prop-fav.is-active svg { fill: currentColor; animation: pop 0.4s var(--ease-spring); }
@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.prop-price-tag {
  position: absolute;
  bottom: 0.9rem; left: 0.9rem;
  z-index: 2;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(22, 33, 31, 0.82);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(6px);
  opacity: 0;
  transition: all var(--t-base) var(--ease-out);
}
.prop-card:hover .prop-price-tag { transform: translateY(0); opacity: 1; }

.prop-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prop-loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.prop-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.prop-card:hover .prop-title { color: var(--petrol); }
.prop-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  padding-top: 0.9rem;
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.prop-fact { display: flex; align-items: center; gap: 0.4rem; }
.prop-fact svg { color: var(--petrol); opacity: 0.75; }
.prop-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.prop-price { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); line-height: 1; }
.prop-price small { font-family: var(--font-body); font-size: 0.68rem; color: var(--ink-mute); display: block; margin-top: 4px; letter-spacing: 0.04em; }

/* Listenansicht */
.prop-grid.is-list .prop-card { flex-direction: row; }
.prop-grid.is-list .prop-media { width: 340px; flex: none; aspect-ratio: auto; }
.prop-grid.is-list .prop-body { padding: 1.8rem 2rem; }

/* Filterleiste */
.filter-bar {
  position: sticky;
  top: calc(var(--header-h) - 16px);
  z-index: 500;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: flex-end; }
.filter-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 150px; flex: 1; }
.filter-field label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.filter-field select, .filter-field input[type="text"] {
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.filter-field select:focus, .filter-field input:focus {
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(14, 79, 71, 0.1);
}
.range-out { font-size: 0.85rem; color: var(--ink); font-weight: 600; }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--sand);
  border-radius: var(--r-pill);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--petrol);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  cursor: grab;
  transition: transform var(--t-fast);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--petrol);
  border: 3px solid #fff;
  cursor: grab;
}

.filter-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
}
.view-toggle { display: flex; gap: 0.25rem; background: var(--sand-soft); padding: 3px; border-radius: var(--r-sm); }
.view-toggle button {
  width: 34px; height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-mute);
  cursor: pointer;
  transition: all var(--t-fast);
}
.view-toggle button.is-active { background: #fff; color: var(--petrol); box-shadow: var(--shadow-xs); }

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   12. Objekt-Detailseite
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 0.6rem;
  aspect-ratio: 16/8;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.gallery a { position: relative; overflow: hidden; display: block; }

/* Dezenter Platzhalter, solange ein Bild lädt – oder falls es ausfällt */
.gallery a, .prop-media, .media-frame, .hero-img, .team-photo,
.svc-card-img, .page-hero-img, .img-hover {
  background-color: var(--sand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 24 24' fill='none' stroke='%2316211f' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M10 21v-6h4v6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 64px;
}
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 55, 48, 0.25);
  opacity: 0;
  transition: opacity var(--t-base);
}
.gallery a:hover::after { opacity: 1; }
.gallery-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(22, 33, 31, 0.55);
  color: #fff;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(2px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 20, 18, 0.94);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
  padding: 4rem 1rem;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--r-md);
  transform: scale(0.94);
  transition: transform 0.45s var(--ease-out);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-close, .lightbox-nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.06); }
.lightbox-close { top: 1.6rem; right: 1.6rem; }
.lightbox-nav.prev { left: 1.6rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1.6rem; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
}

.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }

.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.fact-cell { background: var(--paper); padding: 1.1rem 1.2rem; }
.fact-cell dt { font-size: var(--fs-xs); color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.25rem; }
.fact-cell dd { margin: 0; font-weight: 600; color: var(--ink); font-size: 1.02rem; }

.energy-scale { display: flex; gap: 3px; margin-top: 0.8rem; }
.energy-step {
  flex: 1;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  border-radius: 3px;
  opacity: 0.35;
  transition: opacity var(--t-base), transform var(--t-base);
}
.energy-step.is-active { opacity: 1; transform: scaleY(1.35); box-shadow: var(--shadow-sm); }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-card-top { padding: 1.6rem; display: flex; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line-soft); }
.contact-card-top img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex: none; }
.contact-card-body { padding: 1.5rem 1.6rem 1.8rem; }

/* --------------------------------------------------------------------------
   13. Reveal-Animationen
   -------------------------------------------------------------------------- */
/* Der Startzustand greift nur, wenn JavaScript aktiv ist (<html class="js">).
   Ohne JS – oder falls das Skript blockiert wird – bleibt alles sichtbar. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.js .stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.14s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.23s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.32s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.41s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.59s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.68s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .stagger > *, .js [data-reveal], .js .stagger > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* --------------------------------------------------------------------------
   14. Zahlen / Counter
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); }
.stat { background: var(--ivory); padding: clamp(1.8rem, 3vw, 2.8rem) 1.5rem; text-align: center; }
.bg-ink .stats, .bg-petrol .stats { background: rgba(255, 255, 255, 0.14); }
.bg-ink .stat { background: var(--ink); }
.bg-petrol .stat { background: var(--petrol); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: block;
}
.bg-ink .stat-num, .bg-petrol .stat-num { color: #fff; }
.stat-num .suffix { color: var(--brass); }
.stat-lbl { font-size: var(--fs-sm); color: var(--ink-mute); margin-top: 0.6rem; }
.bg-ink .stat-lbl, .bg-petrol .stat-lbl { color: rgba(255, 255, 255, 0.65); }

/* --------------------------------------------------------------------------
   15. Prozess / Timeline
   -------------------------------------------------------------------------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process::before {
  content: "";
  position: absolute;
  top: 30px; left: 6%; right: 6%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-dot {
  width: 60px; height: 60px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--petrol);
  transition: all var(--t-base) var(--ease-spring);
}
.process-step:hover .process-dot { background: var(--petrol); color: #fff; border-color: var(--petrol); transform: scale(1.08); }
.process-step h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.92rem; }

.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 6px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--petrol);
  transition: background var(--t-base);
}
.timeline-item:hover::before { background: var(--petrol); }
.timeline-year { font-family: var(--font-display); font-size: 1.4rem; color: var(--brass); line-height: 1; margin-bottom: 0.4rem; }

/* --------------------------------------------------------------------------
   16. Testimonials / Slider
   -------------------------------------------------------------------------- */
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.7s var(--ease-out); }
.slide { flex: 0 0 100%; padding: 0 0.5rem; }
.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.2rem; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
  padding: 0;
}
.slider-dot.is-active { background: var(--petrol); width: 26px; border-radius: var(--r-pill); }
.slider-arrows { display: flex; gap: 0.6rem; }
.slider-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}
.slider-arrow:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.slider-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

.quote-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  position: relative;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem; left: 1.8rem;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--petrol);
  opacity: 0.1;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.quote-author { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.quote-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.stars { display: flex; gap: 2px; color: var(--brass); margin-bottom: 1.2rem; }

/* Marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 4rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-mute);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity var(--t-base), color var(--t-base);
}
.marquee-item:hover { opacity: 1; color: var(--petrol); }

/* --------------------------------------------------------------------------
   17. Team
   -------------------------------------------------------------------------- */
.team-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sand-soft); }
.team-photo { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.02);
  transition: transform 0.9s var(--ease-out), filter var(--t-slow);
}
.team-card:hover .team-photo img { transform: scale(1.06); filter: grayscale(0); }
.team-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3.5rem 1.4rem 1.4rem;
  background: linear-gradient(to top, rgba(10, 30, 27, 0.9), transparent);
  color: #fff;
}
.team-overlay strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; display: block; }
.team-overlay span { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.75); letter-spacing: 0.06em; }
.team-hover {
  position: absolute;
  inset: 0;
  background: rgba(14, 79, 71, 0.94);
  color: #fff;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.team-card:hover .team-hover { opacity: 1; transform: none; }
.team-hover p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.team-hover a { color: #fff; font-size: 0.88rem; }

/* --------------------------------------------------------------------------
   18. Accordion / FAQ
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line-soft); }
.acc-item { border-bottom: 1px solid var(--line-soft); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.2vw, 1.22rem);
  color: var(--ink);
  transition: color var(--t-fast);
}
.acc-head:hover { color: var(--petrol); }
.acc-icon {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  transition: all var(--t-base) var(--ease-out);
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-base);
}
.acc-icon::before { width: 12px; height: 1.5px; }
.acc-icon::after { width: 1.5px; height: 12px; }
.acc-item.is-open .acc-icon { background: var(--petrol); border-color: var(--petrol); color: #fff; transform: rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: scaleY(0); opacity: 0; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding-bottom: 1.5rem; max-width: 72ch; font-size: 0.98rem; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 2.5rem; }
.tab {
  padding: 0.85rem 1.3rem;
  border: 0;
  background: transparent;
  color: var(--ink-mute);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  transition: color var(--t-fast);
}
.tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--petrol);
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease-out);
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--petrol); font-weight: 600; }
.tab.is-active::after { transform: scaleX(1); }
.tab-panel { display: none; animation: fade-up 0.5s var(--ease-out); }
.tab-panel.is-active { display: block; }

/* --------------------------------------------------------------------------
   19. Formulare
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(14, 79, 71, 0.1);
}
.field input.is-error, .field textarea.is-error, .field select.is-error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 69, 58, 0.1); }
.field-error { font-size: var(--fs-xs); color: var(--danger); display: none; }
.field.has-error .field-error { display: block; }

.checkbox { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--petrol); cursor: pointer; }

.form-note {
  padding: 1rem 1.2rem;
  border-radius: var(--r-sm);
  background: var(--sand-soft);
  border-left: 3px solid var(--brass);
  font-size: var(--fs-sm);
}
.form-success {
  display: none;
  padding: 2.5rem;
  text-align: center;
  border-radius: var(--r-lg);
  background: rgba(47, 125, 95, 0.08);
  border: 1px solid rgba(47, 125, 95, 0.25);
}
.form-success.is-visible { display: block; animation: fade-up 0.6s var(--ease-out); }
.form-success .check {
  width: 62px; height: 62px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: grid;
  place-items: center;
}

/* Wizard */
.wizard { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.wizard-progress { height: 4px; background: var(--sand-soft); }
.wizard-progress span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--petrol), var(--petrol-light)); transition: width 0.5s var(--ease-out); }
.wizard-body { padding: clamp(1.8rem, 4vw, 3rem); }
.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: fade-up 0.45s var(--ease-out); }
.wizard-steplbl { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 0.8rem; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; margin-top: 1.8rem; }
.opt {
  padding: 1.3rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
}
.opt:hover { border-color: var(--petrol); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.opt.is-selected { border-color: var(--petrol); background: rgba(14, 79, 71, 0.06); box-shadow: 0 0 0 1px var(--petrol) inset; }
.opt svg { margin: 0 auto 0.7rem; color: var(--petrol); }
.opt strong { display: block; font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.opt span { font-size: var(--fs-xs); color: var(--ink-mute); }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; }

/* Rechner */
.calc-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.calc-result {
  background: var(--petrol);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  position: sticky;
  top: calc(var(--header-h) + 20px);
  overflow: hidden;
}
.calc-result::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  right: -120px; top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}
.calc-big { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: #fff; margin: 0.5rem 0 0.3rem; }
.calc-rows { margin-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.calc-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.92rem; }
.calc-row span:last-child { font-weight: 600; color: #fff; white-space: nowrap; }
.calc-row.total { border-bottom: 0; padding-top: 1rem; font-size: 1.05rem; }
.calc-bar { height: 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.15); overflow: hidden; display: flex; margin-top: 1.4rem; }
.calc-bar i { display: block; height: 100%; transition: width 0.5s var(--ease-out); }

/* --------------------------------------------------------------------------
   20. Karte / Stadtteile
   -------------------------------------------------------------------------- */
.map-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; }
.map-stage {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #eef3f0, #e2ece7);
  border: 1px solid var(--line-soft);
  aspect-ratio: 4/3;
}
.map-stage svg { width: 100%; height: 100%; }
.map-district {
  fill: rgba(14, 79, 71, 0.1);
  stroke: rgba(14, 79, 71, 0.4);
  stroke-width: 1.5;
  cursor: pointer;
  transition: fill var(--t-base), transform var(--t-base) var(--ease-out);
  transform-origin: center;
}
.map-district:hover, .map-district.is-active { fill: rgba(14, 79, 71, 0.42); }
.map-label { font-size: 11px; font-family: var(--font-body); fill: var(--ink); pointer-events: none; font-weight: 600; }
.map-pin { fill: var(--brass); transition: transform var(--t-base) var(--ease-spring); transform-origin: center; cursor: pointer; }
.map-pin:hover { transform: scale(1.4); }
.district-info { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 1.8rem; }
.district-list { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1.2rem; }
.district-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--sand-soft);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink);
  text-align: left;
  transition: all var(--t-fast);
}
.district-btn:hover { background: var(--sand); }
.district-btn.is-active { background: var(--petrol); color: #fff; }
.district-btn small { font-weight: 600; opacity: 0.8; }

/* --------------------------------------------------------------------------
   21. Vorher/Nachher-Slider
   -------------------------------------------------------------------------- */
.ba-slider {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: ew-resize;
  user-select: none;
  box-shadow: var(--shadow-md);
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  z-index: 3;
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230e4f47' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.ba-label {
  position: absolute;
  bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(22, 33, 31, 0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  z-index: 4;
}
.ba-label.left { left: 1rem; }
.ba-label.right { right: 1rem; }

/* --------------------------------------------------------------------------
   22. CTA-Bereiche
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -180px; bottom: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 120, 107, 0.5), transparent 65%);
  filter: blur(50px);
  animation: float-a 20s ease-in-out infinite;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 440px; height: 440px;
  left: -140px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 138, 69, 0.35), transparent 65%);
  filter: blur(50px);
  animation: float-b 24s ease-in-out infinite;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.reverse > *:first-child { order: 2; }
.media-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; }
.media-frame.tall img { aspect-ratio: 3/4; }
.media-badge {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.media-badge strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); display: block; line-height: 1; }
.media-badge span { font-size: var(--fs-xs); color: var(--ink-mute); }

.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.97rem; }
.checklist li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--petrol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.bg-ink .checklist li::before, .bg-petrol .checklist li::before { background-color: var(--brass); }

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.6); padding-top: clamp(3.5rem, 6vw, 5.5rem); font-size: 0.93rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.3rem; }
.site-footer a { color: rgba(255, 255, 255, 0.6); }
.site-footer a:hover { color: var(--brass-light); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-brand .brand-mark { background: var(--brass); }
.footer-brand .brand-name { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-xs);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--t-fast) var(--ease-out);
}
.social a:hover { background: var(--brass); border-color: var(--brass); color: #fff; transform: translateY(-3px); }

.newsletter-form { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
  font-size: 0.9rem;
  transition: border-color var(--t-fast);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-form input:focus { border-color: var(--brass); }
.newsletter-form button {
  padding: 0 1.1rem;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--brass);
  color: #fff;
  cursor: pointer;
  transition: background var(--t-fast);
}
.newsletter-form button:hover { background: var(--brass-light); }

/* --------------------------------------------------------------------------
   24. Floating Widgets
   -------------------------------------------------------------------------- */
.chat-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 800;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--petrol);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base);
}
.chat-fab:hover { transform: scale(1.08) rotate(-6deg); }
.chat-fab::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--petrol);
  opacity: 0;
  animation: ripple 2.6s ease-out infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.chat-panel {
  position: fixed;
  right: 22px; bottom: 94px;
  z-index: 800;
  width: min(340px, calc(100vw - 44px));
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.97);
  transform-origin: bottom right;
  transition: all var(--t-base) var(--ease-out);
}
.chat-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.chat-head { background: var(--petrol); color: #fff; padding: 1.1rem 1.3rem; }
.chat-head strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.chat-body { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; max-height: 300px; overflow-y: auto; }
.chat-msg { padding: 0.75rem 1rem; border-radius: 14px 14px 14px 4px; background: var(--sand-soft); font-size: 0.88rem; max-width: 88%; }
.chat-msg.me { align-self: flex-end; background: var(--petrol); color: #fff; border-radius: 14px 14px 4px 14px; }
.chat-quick { padding: 0 1.3rem 1.3rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chat-quick button {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--t-fast);
}
.chat-quick button:hover { border-color: var(--petrol); color: var(--petrol); }

.to-top {
  position: fixed;
  right: 22px; bottom: 92px;
  z-index: 790;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-base) var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--petrol); color: #fff; border-color: var(--petrol); }

/* Demo-Hinweis */
.demo-ribbon {
  background: linear-gradient(90deg, var(--petrol), var(--petrol-light));
  color: #fff;
  text-align: center;
  font-size: var(--fs-xs);
  padding: 0.55rem 1rem;
  letter-spacing: 0.02em;
}
.demo-ribbon a { color: #fff; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.demo-ribbon a:hover { color: var(--brass-light); }

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 1100;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base) var(--ease-out);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   25. Sonstiges
   -------------------------------------------------------------------------- */
.divider { height: 1px; background: var(--line-soft); border: 0; }

.tilt { transition: transform var(--t-base) var(--ease-out); transform-style: preserve-3d; }

.noise::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1200;
  padding: 0.8rem 1.4rem;
  background: var(--petrol);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.bento > * { border-radius: var(--r-lg); overflow: hidden; }
.bento .b-2 { grid-column: span 2; }
.bento .b-3 { grid-column: span 3; }
.bento .b-r2 { grid-row: span 2; }

.img-hover {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  display: block;
}
.img-hover img { transition: transform 1s var(--ease-out); width: 100%; height: 100%; object-fit: cover; }
.img-hover:hover img { transform: scale(1.06); }
.img-hover-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(10, 30, 27, 0.88), transparent);
  color: #fff;
}
.img-hover-cap strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; display: block; }
.img-hover-cap span { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.75); }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.compare-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 130%);
  z-index: 850;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0.8rem 0.8rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-base) var(--ease-out);
  max-width: calc(100vw - 32px);
}
.compare-bar.is-visible { transform: translate(-50%, 0); }
.compare-bar .thumbs { display: flex; }
.compare-bar .thumbs img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-left: -10px; }

table.data { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
table.data th, table.data td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.data th { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute); font-weight: 600; }
table.data tbody tr { transition: background var(--t-fast); }
table.data tbody tr:hover { background: var(--sand-soft); }
table.data td strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   26. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-float-card { left: 0; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .prop-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .b-3 { grid-column: span 2; }
}

@media (max-width: 980px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: block; }
  .quicksearch-inner { grid-template-columns: repeat(2, 1fr); }
  .qs-field + .qs-field { border-left: 0; }
  .quicksearch-inner .btn { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .process::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse > *:first-child { order: 0; }
  .page-hero.has-img .page-hero-inner > * { max-width: 100%; }
  .page-hero-img { display: none; }
  .dropdown { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .topbar .topbar-links { display: none; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .prop-grid { grid-template-columns: 1fr; }
  .prop-grid.is-list .prop-card { flex-direction: column; }
  .prop-grid.is-list .prop-media { width: 100%; aspect-ratio: 4/3; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; aspect-ratio: 4/3.4; }
  .gallery a:first-child { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-2, .bento .b-3 { grid-column: span 1; }
  .hero-trust { gap: 1.1rem; }
  .quicksearch-inner { grid-template-columns: 1fr; }
  .to-top { display: none; }
  .filter-bar { position: static; }
  .cta-band { border-radius: var(--r-lg); }
}
