/* =========================================================
   Sommer Pyrotechnik — Design System
   ========================================================= */

/* ---------------------------------------------------------
   Vier Hauptfarben:
   1) Schwarz    — Hintergrund
   2) Gold       — Navigation, Akzente, Logo
   3) Warmweiß   — Überschriften
   4) Warmgrau   — Fließtext
   --------------------------------------------------------- */
:root {
  /* 1 — Schwarz */
  --bg:            #000000;
  --bg-elev:       #0a0908;
  --bg-card:       #121110;
  --bg-card-hover: #1a1816;
  --line:          rgba(216, 169, 75, 0.20);
  --line-soft:     rgba(216, 169, 75, 0.10);

  /* 3 — Warmweiß  /  4 — Warmgrau */
  --text:          #f7f4ee;
  --text-2:        #b3aa9c;
  --text-3:        #857e73;

  /* 2 — Gold */
  --accent:        #d8a94b;
  --accent-hi:     #f2cd7d;
  --accent-deep:   #a97c2c;
  --accent-dim:    rgba(216, 169, 75, 0.13);

  /* Typografie */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap:      1160px;
  --wrap-slim: 780px;
  --nav-h:     68px;
  --radius:    22px;
  --radius-lg: 30px;

  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.028em; line-height: 1.08; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #000; }

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

/* ---------- Typo-Skala ---------- */
.t-hero    { font-size: clamp(2.6rem, 7.6vw, 5.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.t-display { font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 650; letter-spacing: -0.032em; line-height: 1.06; }
.t-title   { font-size: clamp(1.5rem, 3vw, 2.2rem);   font-weight: 600; letter-spacing: -0.025em; }
.t-lead    { font-size: clamp(1.06rem, 1.7vw, 1.35rem); color: var(--text-2); line-height: 1.5; font-weight: 400; letter-spacing: -0.014em; }
.t-body    { color: var(--text-2); line-height: 1.65; }
.t-small   { font-size: 0.875rem; color: var(--text-3); line-height: 1.5; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.gold {
  background: linear-gradient(100deg, #fbe7bb, var(--accent-hi) 34%, var(--accent) 78%, #c9973f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-slim { width: 100%; max-width: var(--wrap-slim); margin-inline: auto; padding-inline: 24px; }

.section { padding-block: clamp(80px, 11vw, 150px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }

.head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.head.center { margin-inline: auto; text-align: center; }
.head .t-lead { margin-top: 18px; }
.head .eyebrow { margin-bottom: 16px; }

.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }

.btn-primary { background: var(--accent); color: #14100a; font-weight: 600; }
.btn-primary:hover { background: var(--accent-hi); }

.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: var(--accent-dim); border-color: var(--accent); }

.btn-light { background: var(--text); color: #14100a; font-weight: 600; }
.btn-light:hover { background: #fffdf8; }

.btn-sm { padding: 9px 18px; font-size: .92rem; }

/* Textlink mit Pfeil */
.link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-weight: 500;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); }
.link:hover { gap: 9px; color: var(--accent-hi); }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-scrolled { background: rgba(0,0,0,.86); border-bottom-color: var(--line-soft); }

.nav-inner {
  height: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(216, 169, 75, .45));
  transition: filter .35s var(--ease), transform .35s var(--ease);
}
.nav-logo:hover img {
  filter: drop-shadow(0 0 28px rgba(242, 205, 125, .7));
  transform: scale(1.035);
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--accent);
  border-radius: 9px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover { color: var(--accent-hi); background: var(--accent-dim); }
.nav-links a[aria-current="page"] { color: var(--accent-hi); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-hi), transparent);
}

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 9px;
}
.nav-toggle span {
  display: block; position: relative;
  width: 18px; height: 1.5px; background: var(--accent); border-radius: 2px;
  transition: transform .35s var(--ease), background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1.5px; background: var(--accent); border-radius: 2px;
  transition: transform .35s var(--ease), top .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: rgba(0,0,0,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 28px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-mobile.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-mobile a {
  padding: 15px 4px;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
  border-bottom: 1px solid var(--line-soft);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--accent-hi); }
.nav-mobile .btn { margin-top: 28px; justify-content: center; }
/* Der Anfragen-Knopf erbt sonst die goldene Linkfarbe des Menüs und die
   Trennlinie darunter — goldene Schrift auf goldenem Grund ist unsichtbar. */
.nav-mobile a.btn-primary,
.nav-mobile a.btn-primary:hover {
  color: #14100a;
  border-bottom: 0;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: clamp(56px, 9vh, 110px);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
}
/* Zwei Motive nebeneinander: links die Rauchwand, rechts das Feuerwerk —
   damit auf den ersten Blick beide Angebote sichtbar sind. */
.hero-media.split { display: grid; grid-template-columns: 1fr 1fr; }
.hero-media.split img { min-width: 0; }
/* Weiche Naht zwischen den beiden Bildern */
.hero-media.split::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: clamp(60px, 9vw, 150px);
  transform: translateX(-50%);
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.72) 50%, transparent);
}
@media (max-width: 700px) {
  .hero-media.split { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .hero-media.split::before {
    top: 50%; bottom: auto; left: 0; right: 0;
    width: auto; height: clamp(50px, 14vw, 120px);
    transform: translateY(-50%);
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.72) 50%, transparent);
  }
}
/* Doppelter Scrim: vertikal für den Textblock, horizontal für helle Tagesfotos */
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,
      rgba(0,0,0,.97) 0%,
      rgba(0,0,0,.88) 14%,
      rgba(0,0,0,.62) 30%,
      rgba(0,0,0,.24) 52%,
      rgba(0,0,0,.10) 70%,
      rgba(0,0,0,.55) 100%),
    linear-gradient(to right,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.40) 34%,
      rgba(0,0,0,0) 62%);
}
.hero-content {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
  text-shadow: 0 2px 30px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.45);
}
.hero .t-lead { margin-top: 22px; max-width: 560px; color: #ddd6ca; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Split-Hero — für Hochformat-Fotos, die nicht beschnitten werden sollen */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 24px clamp(64px, 8vw, 110px);
}
.hero-split .t-lead { margin-top: 22px; }
.hero-split .hero-actions { margin-top: 36px; }
.hero-split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9),
              0 0 0 1px var(--line-soft);
}
/* Kein festes Seitenverhältnis: das Foto bestimmt die Höhe, damit
   nichts vom Motiv abgeschnitten wird. */
.hero-split-media img { width: 100%; height: auto; display: block; }
/* Warmer Lichtschein hinter dem Bild */
.hero-split-media::before {
  content: "";
  position: absolute; inset: -30%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(216,169,75,.22), transparent 70%);
}

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 48px); }
}

/* Kompakter Seiten-Header (Unterseiten) */
.page-head {
  padding-top: calc(var(--nav-h) + clamp(64px, 11vw, 130px));
  padding-bottom: clamp(48px, 7vw, 88px);
  text-align: center;
}
.page-head .t-lead { margin-top: 20px; margin-inline: auto; max-width: 640px; }
.page-head .eyebrow { margin-bottom: 18px; }

/* =========================================================
   Karten & Raster
   ========================================================= */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.card:hover { background: var(--bg-card-hover); border-color: var(--line); transform: translateY(-3px); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card .t-body { font-size: .96rem; }

.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 18px;
  font-size: 1.25rem;
}

/* Bildkarte (Leistungen) */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
  padding: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-soft);
}
.tile img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.93) 8%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.08) 100%);
}
.tile:hover img { transform: scale(1.045); }
.tile h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.tile p { margin-top: 9px; color: rgba(255,255,255,.76); font-size: .96rem; max-width: 44ch; }
.tile .price {
  margin-top: 16px;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.tile-lg { min-height: 520px; }

/* Feature-Zeile (Bild + Text im Wechsel) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(72px, 9vw, 130px); }
.feature.reverse .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}
.feature-media img { width: 100%; height: auto; display: block; }
/* Zwei Bilder untereinander, wenn eine Variante zwei Beispiele braucht */
.feature-media.duo {
  background: none;
  overflow: visible;
  display: grid;
  gap: 12px;
}
.feature-media.duo img { border-radius: var(--radius-lg); }
.feature-body .eyebrow { margin-bottom: 14px; }
.feature-body .t-body { margin-top: 18px; }
.feature-body .link { margin-top: 24px; }

/* Merkmal-Liste mit Haken */
.checks { display: grid; gap: 13px; margin-top: 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: .98rem; }
.checks li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-dim);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8ae4c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; text-align: center; }
.stats .num {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 660;
  letter-spacing: -0.035em;
  line-height: 1;
  background: linear-gradient(160deg, #fffaf0, var(--accent) 118%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats .lbl { margin-top: 12px; font-size: .88rem; color: var(--text-3); letter-spacing: -0.005em; }

/* =========================================================
   Color Smoke Wall — Konfigurator
   ========================================================= */
.cfg {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

/* ---------- Bühne ---------- */
.cfg-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: 0 44px 100px -50px rgba(0,0,0,.95);
  aspect-ratio: 1200 / 860;   /* exakt das SVG-Sichtfeld — kein Beschnitt */
  background: #b9d2e3;
}
.cfg-sky { display: block; width: 100%; height: 100%; }

/* Neu gewählte Farbe blendet sich ein.  Bewusst nur über die Deckkraft:
   Transform-Animationen auf SVG-Gruppen lassen den Compositor aussteigen,
   die Seite bleibt dann komplett schwarz. */

.cfg-badge {
  position: absolute;
  left: 18px; bottom: 16px;
  padding: 9px 17px;
  border-radius: 980px;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .87rem;
  font-weight: 500;
  color: #fff;
  max-width: calc(100% - 150px);
}
.cfg-clear {
  position: absolute;
  right: 16px; top: 16px;
  padding: 8px 15px;
  border-radius: 980px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  transition: background .3s var(--ease);
}
.cfg-clear:hover { background: rgba(0,0,0,.66); }

/* ---------- Panel: zwei Schritte ---------- */
.cfg-panel {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 30px);
  display: grid;
  gap: 30px;
  align-content: start;
}
.cfg-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cfg-step-num {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #14100a;
  font-size: .95rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.cfg-step-head h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cfg-help {
  margin: 0 0 16px;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text-2);
}

/* Form der Wand */
.cfg-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cfg-form {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 12px;
  border-radius: 18px;
  border: 1.5px solid var(--line-soft);
  background: rgba(255,255,255,.02);
  color: var(--text-2);
  font-size: .95rem;
  font-weight: 500;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease);
}
.cfg-form svg { width: 46px; height: 38px; }
.cfg-form:hover { background: var(--accent-dim); color: var(--text); transform: translateY(-2px); }
.cfg-form[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text);
  font-weight: 600;
}

/* Farbtasten */
.cfg-colors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 10px;
}
.cfg-color {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 4px;
  background: none;
  border: 0;
  color: var(--text-3);
  font-size: .84rem;
  font-weight: 500;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.cfg-color:hover:not(:disabled) { color: var(--text); transform: translateY(-3px); }
.cfg-color:active:not(:disabled) { transform: scale(.94); }
.cfg-color:disabled { opacity: .5; cursor: default; }
.cfg-color-dot {
  position: relative;
  width: 100%;
  max-width: 62px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cfg-color[aria-pressed="true"] { color: var(--text); font-weight: 600; }
.cfg-color[aria-pressed="true"] .cfg-color-dot {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim), 0 10px 26px -10px rgba(0,0,0,.9);
}
/* Ziffer zeigt die Position in der Wand */
.cfg-color-num {
  font-size: 1.05rem;
  font-weight: 700;
  color: #14100a;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s var(--ease), transform .35s var(--ease);
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
}
.cfg-color[aria-pressed="true"] .cfg-color-num { opacity: 1; transform: none; }
.cfg-color[data-dark] .cfg-color-num {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
}

.cfg-full {
  margin: 12px 0 0;
  text-align: center;
  font-size: .85rem;
  color: var(--accent);
}

.cfg-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}
.cfg-action {
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.02);
  color: var(--text-2);
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.3;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease);
}
.cfg-action:hover:not(:disabled) {
  background: var(--accent-dim);
  border-color: var(--line);
  color: var(--text);
}
.cfg-action:disabled { opacity: .32; cursor: default; }

.cfg-foot {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.cfg-foot .btn { width: 100%; justify-content: center; }
.cfg-reset {
  background: none;
  border: 0;
  color: var(--text-3);
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .25s var(--ease);
}
.cfg-reset:hover { color: var(--accent); }
.cfg-disclaimer {
  max-width: 640px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--text-3);
}

@media (max-width: 900px) {
  .cfg { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  /* Unten würde die Bildunterschrift das Brautpaar verdecken */
  .cfg-badge {
    left: 12px; right: 12px; top: 12px; bottom: auto;
    font-size: .8rem;
    max-width: none;
    text-align: center;
  }
  .cfg-color-dot { max-width: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .cfg-color, .cfg-form { transition: none; }
}

/* Farbpalette */
.palette {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.palette li { text-align: center; }
.palette .dot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 8px 28px -10px currentColor;
}
.palette .name { margin-top: 12px; font-size: .82rem; color: var(--text-3); }

/* =========================================================
   Unsere Kunden — Logo-Band
   ========================================================= */
/* Flex statt Grid, damit eine unvollständige letzte Reihe mittig steht
   statt links zu kleben. */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.logo-tile {
  flex: 0 1 calc((100% - 42px) / 4);
  /* Reinweiß wie der freigestellte Logo-Hintergrund — so ist zwischen
     Logo und Kachel keine Kante zu sehen. */
  background: #ffffff;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 20px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.logo-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.9);
}
.logo-tile img {
  /* Feste Maximalhöhe statt 100 %: eine SVG-Datei bringt ihre eigene
     Größe mit und würde die Kachel sonst auseinanderziehen. */
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Optischer Ausgleich: quadratische Zeichen dürfen höher stehen als
   breite Schriftzüge, sonst wirken sie daneben verloren. */
.logo-tile.hoch img  { max-height: 78px; }
.logo-tile.breit img { max-height: 44px; }
/* Weiße Logos brauchen einen dunklen Grund */
.logo-tile.dunkel { background: #1a1a1e; }

@media (max-width: 900px) {
  .logos { gap: 12px; }
  .logo-tile { flex-basis: calc((100% - 24px) / 3); }
}
@media (max-width: 560px) {
  .logos { gap: 10px; }
  .logo-tile { flex-basis: calc((100% - 10px) / 2); }
  .logo-tile { padding: 16px 18px; border-radius: 14px; }
  .logo-tile img { max-height: 44px; }
  .logo-tile.hoch img { max-height: 60px; }
  .logo-tile.breit img { max-height: 34px; }
}

/* Fünf Werte-Karten: drei oben, zwei mittig darunter */
.values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.values .card { flex: 1 1 calc((100% - 36px) / 3); min-width: 240px; }

/* =========================================================
   Vermietung — Bestandslisten
   ========================================================= */
.rent-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: 0 40px 90px -45px rgba(0,0,0,.9);
}
.rent-media img { width: 100%; height: auto; display: block; }

.rent-block + .rent-block { margin-top: clamp(44px, 6vw, 76px); }
.rent-block h2 { margin-bottom: 20px; }

/* Auf schmalen Bildschirmen darf die Tabelle seitlich scrollen,
   die Seite selbst nicht. */
.rent-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.rent-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .96rem;
}
.rent-table th {
  text-align: left;
  padding: 0 16px 12px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.rent-table th.num, .rent-table td.num { text-align: right; }
.rent-table th.mid, .rent-table td.mid { text-align: center; }
.rent-table .th-sub { display: block; font-weight: 400; letter-spacing: .04em;
                      text-transform: none; opacity: .7; margin-top: 3px; }
.rent-table th:first-child, .rent-table td:first-child { padding-left: 0; }
.rent-table th:last-child,  .rent-table td:last-child  { padding-right: 0; }
.rent-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-2);
  vertical-align: middle;
}
.rent-table td b { color: var(--text); font-weight: 600; }
.rent-table tbody tr { transition: background .2s var(--ease); }
.rent-table tbody tr:hover { background: rgba(255,255,255,.025); }
.rent-table td.num, .rent-table td.mid { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rent-table td.preis { color: var(--accent); font-weight: 600; }

.rent-table.schmal { min-width: 420px; }

.rent-note { max-width: 640px; margin-top: 34px; }

@media (max-width: 620px) {
  .rent-table { font-size: .9rem; }
  .rent-table td { padding: 13px 12px; }
}

/* =========================================================
   Ablauf / Schritte
   ========================================================= */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding-block: clamp(32px, 4.4vw, 52px);
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-soft); }
.step-num {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  opacity: .22;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 12px; }
.step .t-body { max-width: 62ch; }

/* =========================================================
   Referenzen
   ========================================================= */
.ref {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.4vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 5.5vw, 76px);
  border-top: 1px solid var(--line-soft);
}
.ref:first-of-type { border-top: 0; }
.ref.reverse .ref-media { order: 2; }
.ref-media { border-radius: var(--radius); overflow: hidden; }
/* Kein fester Bildausschnitt — das Foto bestimmt die Höhe */
.ref-media img { width: 100%; height: auto; display: block; }
.ref-year {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.ref h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  padding: 5px 13px;
  border-radius: 980px;
  border: 1px solid var(--line);
  font-size: .78rem;
  color: var(--text-3);
}

/* =========================================================
   Galerie
   ========================================================= */
.gal-filter {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 40px;
}
.gal-filter button {
  padding: 8px 18px;
  border-radius: 980px;
  border: 1px solid var(--line);
  font-size: .9rem;
  color: var(--text-2);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.gal-filter button:hover { background: var(--accent-dim); color: var(--text); }
.gal-filter button[aria-pressed="true"] { background: var(--accent); color: #14100a; border-color: var(--accent); font-weight: 600; }

.masonry { columns: 3; column-gap: 14px; }
.masonry figure {
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  cursor: zoom-in;
  position: relative;
}
.masonry img {
  width: 100%; height: auto;
  transition: transform .8s var(--ease), opacity .4s;
}
.masonry figure:hover img { transform: scale(1.035); }
.masonry figure.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid; place-items: center;
  padding: 4vmin;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 92svh; border-radius: 10px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 18px; right: 20px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: 1.4rem; line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: 1.5rem; line-height: 1;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-nav.prev { left: 18px; }
.lightbox-nav.next { right: 18px; }

/* =========================================================
   Preise
   ========================================================= */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.price-card:hover { border-color: var(--line); background: var(--bg-card-hover); transform: translateY(-3px); }
.price-card.featured { border-color: rgba(232,174,76,.42); background: linear-gradient(175deg, rgba(232,174,76,.09), var(--bg-card) 58%); }
.price-card .badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 980px;
  background: var(--accent);
  color: #14100a;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
}
.price-card h3 { font-size: 1.16rem; }
.price-card .amount {
  margin-top: 16px;
  font-size: 1.95rem; font-weight: 650;
  letter-spacing: -0.035em;
}
.price-card .amount small { font-size: .82rem; font-weight: 400; color: var(--text-3); letter-spacing: 0; }
.price-card .t-body { margin-top: 12px; font-size: .94rem; flex: 1; }
.price-card .link { margin-top: 22px; }

/* =========================================================
   Kontakt
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

.contact-list { display: grid; margin-top: 36px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .25s var(--ease);
}
.contact-list a:first-child, .contact-list div:first-child { padding-top: 0; }
.contact-list a:hover { color: var(--accent); }
.contact-list .ci {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.05rem;
}
/* Schlagwort über den Wert stellen — als reine inline-Elemente würden
   beide auf einer Zeile aneinanderkleben. */
.contact-list .ct { display: grid; gap: 5px; }
.contact-list .cl {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
}
.contact-list .cv { font-size: 1.05rem; font-weight: 500; line-height: 1.4; }

/* Honigtopf gegen Bots — für Menschen und Vorleseprogramme unsichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Rückmeldung des Kontaktformulars */
.form-note { margin-top: 14px; font-size: .92rem; color: var(--accent); }
.form-note.is-error { color: #ff8f7a; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .85rem; font-weight: 500; color: var(--text-2); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  font-size: .98rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2.2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 17px;
  padding-right: 42px;
}
.field textarea { min-height: 145px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5b5b60; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: #0e0e10;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.consent label { font-size: .85rem; color: var(--text-3); line-height: 1.5; }
.consent a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   CTA-Band
   ========================================================= */
.cta-band {
  position: relative;
  text-align: center;
  padding-block: clamp(80px, 11vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.cta-band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.88));
}
.cta-band .t-lead { margin: 20px auto 0; max-width: 540px; }
.cta-band .hero-actions { justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--line-soft); padding-block: 64px 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px;
  filter: drop-shadow(0 0 18px rgba(216, 169, 75, .3)); }
.footer-brand .t-small { max-width: 32ch; }
.footer h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col li {
  display: block;
  font-size: .92rem;
  color: var(--text-2);
  padding-block: 6px;
  transition: color .25s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.footer-bottom .t-small { color: #6a6a70; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: .82rem; color: #6a6a70; transition: color .25s; }
.footer-legal a:hover { color: var(--text-2); }

/* =========================================================
   Rechtstexte
   ========================================================= */
.legal { max-width: 720px; }
.legal h2 { font-size: 1.4rem; margin: 48px 0 16px; }
.legal h3 { font-size: 1.08rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--text-2); line-height: 1.7; font-size: .97rem; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 12px; display: grid; gap: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal .meta { display: grid; gap: 4px; margin-top: 10px; }

/* =========================================================
   Scroll-Animationen
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .palette { grid-template-columns: repeat(4, 1fr); }
  .feature, .ref, .contact-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-media, .ref.reverse .ref-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .wrap-slim, .nav-inner, .hero-content { padding-inline: 20px; }
  .grid-2, .grid-3, .grid-4, .price-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .card, .price-card { padding: 26px; }
  .tile { min-height: 340px; padding: 26px; }
  .tile-lg { min-height: 400px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step-num { font-size: 1.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}
