/* ==========================================================================
   LENZ Projektentwicklung — Design System (Apple-inspired premium minimalism)
   Eigene Marke. Keine Apple-Assets. Helle, ruhige, teure Optik.
   ========================================================================== */

:root {
  --color-bg: #f5f5f7;
  --color-surface: #ffffff;
  --color-text: #1d1d1f;
  --color-muted: #6e6e73;
  --color-dark: #3b414a;
  --color-card: #ffffff;
  --color-border: rgba(0, 0, 0, 0.08);
  /* eigene LENZ-Markenfarbe — kräftiges Kobaltblau, bewusst NICHT Apple-Azur */
  --color-accent: #1b46d8;
  --color-accent-hover: #1d4ed8;
  --color-accent-light: #6f9bff; /* für dunkle Hintergründe */

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --nav-h: 52px;

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;

  --section-y: clamp(72px, 11vw, 150px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 18px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 18px 50px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(0, 113, 227, 0.18); }

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 920px; }
.section { padding: var(--section-y) 0; }
.section--flush-top { padding-top: 0; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.eyebrow--muted { color: var(--color-muted); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.022em; line-height: 1.06; color: var(--color-text); }

.display {
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); font-weight: 600; letter-spacing: -0.028em; }
.h3 { font-size: clamp(1.3rem, 2.3vw, 1.8rem); font-weight: 600; }
.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  color: var(--color-muted);
  font-weight: 400;
}
.muted { color: var(--color-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 13px 26px;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-hover); }
.btn--ghost { background: transparent; color: var(--color-accent); }
.btn--ghost:hover { color: var(--color-accent-hover); }
.btn--ghost::after { content: "›"; font-weight: 400; transition: transform 0.25s var(--ease); }
.btn--ghost:hover::after { transform: translateX(3px); }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: #e8e8ed; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--dark { background: var(--color-graphite, #2b3037); color: #fff; }
.btn--dark:hover { background: #1d2127; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-accent-hover); }
.btn--lg { font-size: 1.06rem; padding: 16px 34px; }
.btn--block { display: inline-flex; }

.linkarrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-weight: 500;
  font-size: 1rem;
}
.linkarrow::after { content: "›"; transition: transform 0.25s var(--ease); }
.linkarrow:hover::after { transform: translateX(3px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--color-border); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 26px; width: auto; display: block; }
.header__nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.header__nav > a, .nav-item__top { font-size: 0.86rem; color: var(--color-text); opacity: 0.85; transition: opacity 0.2s; }
.header__nav > a:hover, .nav-item__top:hover { opacity: 1; }

/* Leistungen dropdown */
.nav-item { position: relative; }
.nav-item__top { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-item__top::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform 0.25s var(--ease); opacity: 0.7; }
.nav-item--menu:hover .nav-item__top::after, .nav-item--menu:focus-within .nav-item__top::after { transform: rotate(225deg); }
.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(620px, 80vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-item--menu:hover .nav-menu, .nav-item--menu:focus-within .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-menu a { display: block; padding: 12px 14px; border-radius: 12px; opacity: 1; transition: background 0.2s; }
.nav-menu a:hover { background: rgba(0, 0, 0, 0.04); }
.nav-menu__t { display: block; font-size: 0.92rem; font-weight: 600; color: var(--color-text); }
.nav-menu__d { display: block; margin-top: 3px; font-size: 0.78rem; color: var(--color-muted); line-height: 1.4; }
.nav-menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 16px; }
.header__cta {
  font-size: 0.84rem;
  font-weight: 500;
  background: var(--color-accent);
  color: #fff;
  padding: 7px 16px;
  border-radius: 980px;
  transition: background 0.2s;
}
.header__cta:hover { background: var(--color-accent-hover); }

.header__burger { display: none; background: none; border: 0; cursor: pointer; width: 28px; height: 28px; }
.header__burger span { display: block; height: 1.5px; background: var(--color-text); margin: 6px 0; transition: transform 0.3s var(--ease), opacity 0.3s; }
.mobile-nav { display: none; }

@media (max-width: 860px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__burger { display: block; }
  .mobile-nav {
    display: block;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    z-index: 99;
    background: rgba(245, 245, 247, 0.98);
    backdrop-filter: blur(20px);
    padding: 28px var(--gutter);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }
  body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  body.nav-open { overflow: hidden; }
  .mobile-nav > a { display: block; font-size: 1.5rem; font-weight: 500; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
  .mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }
  .mnav-group { border-bottom: 1px solid var(--color-border); }
  .mnav-group summary { list-style: none; font-size: 1.5rem; font-weight: 500; padding: 16px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .mnav-group summary::-webkit-details-marker { display: none; }
  .mnav-group summary::after { content: "+"; font-weight: 300; color: var(--color-accent); }
  .mnav-group[open] summary::after { content: "–"; }
  .mnav-sub { padding: 0 0 14px 14px; }
  .mnav-sub a { display: block; font-size: 1.05rem; font-weight: 500; color: var(--color-muted); padding: 9px 0; border: 0; }
  .mnav-sub a:hover { color: var(--color-accent); }
  body.nav-open .header__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .header__burger span:nth-child(2) { opacity: 0; }
  body.nav-open .header__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { text-align: center; padding: clamp(64px, 11vw, 130px) 0 0; overflow: hidden; }
.hero__title { margin: 0 auto; max-width: 17ch; }
.hero__sub { margin: 26px auto 0; max-width: 56ch; }
.hero__cta { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* full-bleed image hero (großes Bild hinter dem Text) */
.hero--image {
  position: relative;
  min-height: clamp(560px, 90vh, 880px);
  display: flex;
  align-items: center;
  padding: 0;
  color: #fff;
  isolation: isolate;
}
.hero--image .hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero--image .hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.05);
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero--image .hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,10,14,0.62) 0%, rgba(8,10,14,0.30) 38%, rgba(8,10,14,0.74) 100%),
    radial-gradient(120% 80% at 50% 30%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.35) 100%);
}
.hero--image .hero__content { position: relative; z-index: 1; width: 100%; text-align: center; padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(40px, 7vw, 80px); }
.hero--image .hero__title { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.hero--image .hero__sub { color: rgba(255,255,255,0.86); text-shadow: 0 1px 16px rgba(0,0,0,0.4); }
@media (prefers-reduced-motion: reduce) { .hero--image .hero__bg img { animation: none; transform: none; } }

/* ---------- PROMO BANNER (FOMO) ---------- */
.promo {
  background: var(--color-dark);
  color: #fff;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease);
}
.promo.is-open { max-height: 120px; opacity: 1; }
.promo__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 11px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.9rem;
  position: relative;
}
.promo__msg {
  margin: 0;
  transition: opacity 0.45s var(--ease);
  font-weight: 500;
}
.promo__msg.is-fading { opacity: 0; }
.promo__msg b { font-weight: 700; }
.promo__cta {
  flex: 0 0 auto;
  color: var(--color-accent-light);
  font-weight: 600;
  white-space: nowrap;
}
.promo__cta::after { content: " ›"; }
.promo__cta:hover { color: #fff; }
.promo__close {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  background: none; border: 0; color: rgba(255,255,255,0.6);
  font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 4px;
}
.promo__close:hover { color: #fff; }
@media (max-width: 560px) {
  .promo__inner { flex-direction: column; gap: 4px; padding-right: 40px; padding-left: 16px; text-align: center; }
  .promo.is-open { max-height: 160px; }
  .promo__msg { font-size: 0.82rem; }
}
.hero__visual {
  margin: clamp(48px, 7vw, 84px) auto 0;
  max-width: var(--maxw);
  width: 100%;
  padding: 0 var(--gutter);
}
.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #c2ccd6 0%, #8d99a6 55%, #5c6670 100%);
  box-shadow: var(--shadow);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.02); }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.18) 100%);
}

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement { text-align: center; }
.statement__title { max-width: 20ch; margin: 0 auto; }
.statement__text { margin: 28px auto 0; max-width: 60ch; }
/* Leitaussage als 3er-Triade nebeneinander (ersetzt die Headline) */
.statement__triad {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 820px;
  border-top: 1px solid var(--color-border);
}
.statement__triad li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(22px, 3vw, 32px) 16px;
  border-left: 1px solid var(--color-border);
}
.statement__triad li:first-child { border-left: 0; }
.statement__triad-k {
  font-size: clamp(1.7rem, 4.4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.statement__triad-v { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--color-muted); }
@media (max-width: 560px) {
  .statement__triad { grid-template-columns: 1fr; max-width: 320px; border-top: 0; }
  .statement__triad li { border-left: 0; border-top: 1px solid var(--color-border); flex-direction: row; gap: 10px; justify-content: center; align-items: baseline; padding: 16px; }
  .statement__triad li:first-child { border-top: 0; }
  .statement__triad-k { font-size: clamp(1.5rem, 7vw, 2rem); }
}
/* Leitaussage zeilenweise untereinander */
.statement__stack { display: flex; flex-direction: column; align-items: center; gap: 0; }
.statement__stack .statement__k,
.statement__stack .statement__v { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.statement__stack .statement__k { color: var(--color-text); }
.statement__stack .statement__v { color: var(--color-accent); margin-bottom: clamp(14px, 2.4vw, 26px); }
.statement__stack .statement__v:last-child { margin-bottom: 0; }

/* ==========================================================================
   CARD GRIDS
   ========================================================================== */
.grid { display: grid; gap: clamp(16px, 1.6vw, 22px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
/* Ausgangslage: zwei Sätze fließend hintereinander (nicht getrennt) */
.sec-head:has(.prob-head) { max-width: 940px; }
.prob-head { text-wrap: balance; }

.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__num { font-size: 0.8rem; font-weight: 600; color: var(--color-accent); letter-spacing: 0.04em; }
.card__title { margin-top: 14px; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }
.card__text { margin-top: 14px; color: var(--color-muted); font-size: 1rem; line-height: 1.6; }
.card .linkarrow { margin-top: auto; padding-top: 24px; }

/* feature card with visual top */
.fcard { overflow: hidden; padding: 0; }
.fcard__media { aspect-ratio: 16 / 10; position: relative; }
.fcard__body { padding: clamp(26px, 2.6vw, 38px); display: flex; flex-direction: column; flex: 1; }

/* ---------- VIZ: elegante neutrale Platzhalter-Visuals ----------
   Beton/Glas/Metall-Anmutung + dezentes Blueprint-Raster + Glas-Sheen.
   Keine Stockfotos, keine Bauarbeiter-Klischees. */
.viz {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #e4e9ef 0%, #aeb8c4 100%);
}
/* Blueprint-/Strukturraster, weich ausgeblendet */
.viz::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.10) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 152px);
  -webkit-mask-image: linear-gradient(155deg, #000 5%, transparent 78%);
  mask-image: linear-gradient(155deg, #000 5%, transparent 78%);
}
/* Glas-Sheen + Tiefenverlauf */
.viz::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 22% 12%, rgba(255,255,255,0.5) 0%, transparent 46%),
    linear-gradient(200deg, transparent 55%, rgba(0,0,0,0.16) 100%);
}
.viz--steel    { background: linear-gradient(140deg, #dfe6ee 0%, #9fb0c2 100%); }
.viz--concrete { background: linear-gradient(140deg, #e7e4de 0%, #b3ada3 100%); }
.viz--glass    { background: linear-gradient(140deg, #eef2f6 0%, #c2cdd8 100%); }
.viz--graphite { background: linear-gradient(140deg, #cfd6de 0%, #6b7682 100%); }
.viz--azure    { background: linear-gradient(140deg, #dde6f6 0%, #93a6cb 100%); }
.viz--dark     { background: linear-gradient(140deg, #6a7280 0%, #424852 100%); }
.viz--dark::before { background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 38px); }
.viz--dark::after { background:
    radial-gradient(120% 80% at 22% 12%, rgba(120,150,200,0.28) 0%, transparent 46%),
    linear-gradient(200deg, transparent 55%, rgba(0,0,0,0.4) 100%); }
/* themenpassende Liniengrafik */
.viz__art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; padding: 8%; }

/* ==========================================================================
   ROLES (GU / GÜ / GP)
   ========================================================================== */
.roles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.role { border-top: 2px solid var(--color-text); padding-top: 22px; }
.role__title { font-size: 1.3rem; font-weight: 600; }
.role__text { margin-top: 12px; color: var(--color-muted); line-height: 1.65; }

/* ==========================================================================
   OBJECT TYPES
   ========================================================================== */
.objects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 22px); }
.object {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(24px, 2.4vw, 34px);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.object:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.object__title { font-size: 1.25rem; font-weight: 600; }
.object__text { margin-top: 8px; color: var(--color-muted); font-size: 0.96rem; line-height: 1.55; }

/* ==========================================================================
   EMERGENCY (dark)
   ========================================================================== */
.dark { background: var(--color-dark); color: #f5f5f7; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .muted, .dark .lead { color: #a1a1a6; }
.dark .eyebrow { color: var(--color-accent-light); }
.dark .btn--ghost { color: var(--color-accent-light); }

.emergency__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.emergency__list { list-style: none; display: grid; gap: 14px; }
.emergency__list li { display: flex; gap: 12px; align-items: flex-start; color: #d2d2d7; font-size: 1.05rem; }
.emergency__list li::before { content: "—"; color: #2997ff; flex: 0 0 auto; }
.emergency__cta { margin-top: 36px; }

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.step::after {
  content: "";
  position: absolute;
  top: 6px; left: 0; right: -14px;
  height: 1px;
  background: var(--color-border);
}
.step:last-child::after { display: none; }
.step__title { font-size: 1.12rem; font-weight: 600; }
.step__text { margin-top: 10px; color: var(--color-muted); font-size: 0.95rem; line-height: 1.55; }

/* ==========================================================================
   REFERENCES
   ========================================================================== */
.ref-card { overflow: hidden; padding: 0; }
.ref-card__media { aspect-ratio: 4 / 3; position: relative; background: linear-gradient(140deg, #dfe4ea, #b9c2cc); }
.ref-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ref-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 0.8rem; letter-spacing: 0.04em; background: rgba(0,0,0,0.25); }
.ref-card__body { padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; flex: 1; }
.ref-card__type { font-size: 0.8rem; font-weight: 600; color: var(--color-accent); }
.ref-card__title { margin-top: 8px; font-size: 1.3rem; font-weight: 600; }
.ref-card dl { margin-top: 18px; display: grid; gap: 10px; }
.ref-card dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.ref-card dd { font-size: 0.96rem; line-height: 1.5; }

/* ==========================================================================
   BENTO (Why LENZ)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.4vw, 20px); grid-auto-rows: minmax(150px, auto); }
.bento__item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(22px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento__item--wide { grid-column: span 2; }
.bento__item--tall { grid-row: span 2; }
.bento__item--dark { background: var(--color-dark); color: #fff; }
.bento__big { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; }
.bento__k { font-size: 0.95rem; color: var(--color-muted); margin-top: 8px; }
.bento__item--dark .bento__k { color: #a1a1a6; }
.bento__label { font-size: 1.15rem; font-weight: 600; }
.bento__sub { margin-top: 8px; font-size: 0.95rem; color: var(--color-muted); line-height: 1.5; }

/* ==========================================================================
   TEAM (Über uns)
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.member { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.member__photo { aspect-ratio: 4 / 5; position: relative; background: linear-gradient(160deg, #e6ebf1 0%, #b9c2cc 100%); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.02); transition: filter 0.45s var(--ease), transform 0.45s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.03); }
.member__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--color-muted); opacity: 0.5; }
.member__body { padding: 22px 24px 26px; }
.member__name { font-size: 1.15rem; font-weight: 600; }
.member__role { margin-top: 5px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }
.member__quote { margin-top: 14px; font-style: italic; color: var(--color-muted); line-height: 1.55; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

/* ==========================================================================
   SEO TEXT
   ========================================================================== */
.seo-text { color: var(--color-muted); }
.seo-text p { font-size: 1.02rem; line-height: 1.8; max-width: 75ch; }
.seo-text p + p { margin-top: 1.1em; }
.seo-text strong { color: var(--color-text); font-weight: 600; }
.seo-links { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.seo-links a {
  font-size: 0.9rem;
  padding: 9px 16px;
  border: 1px solid var(--color-border);
  border-radius: 980px;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.2s, color 0.2s;
}
.seo-links a:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--color-border);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 40px 26px 0;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--color-accent); }
.faq__answer { padding: 0 40px 28px 0; color: var(--color-muted); line-height: 1.7; font-size: 1.02rem; }

/* ---------- Garantie-Label am CTA (Risiko-Umkehr) ---------- */
.guarantee {
  margin-top: 20px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--color-muted);
}
.guarantee--center { text-align: center; }
/* Schild-Icon fließt inline direkt vor "Wir" */
.guarantee__ico {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
  color: var(--color-accent);
}
.hero--image .guarantee { color: rgba(255, 255, 255, 0.82); }
.hero--image .guarantee__ico { color: #fff; }

/* ---------- Google-Trust-Badge (echtes Social Proof) ---------- */
.gbadge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px auto 0;
  padding: 10px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 980px;
  font-size: 0.92rem;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.gbadge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gbadge__g { flex: 0 0 auto; }
.gbadge__name { font-weight: 600; }
.gbadge__sep { width: 1px; height: 18px; background: var(--color-border); }
.gbadge__rate { font-weight: 700; }
.gbadge__stars { color: #fbbc05; letter-spacing: 1px; }
.gbadge__count { color: var(--color-muted); }
.gbadge__arrow { color: var(--color-muted); font-size: 0.85rem; }
@media (max-width: 480px) {
  .gbadge { flex-wrap: wrap; justify-content: center; max-width: 100%; gap: 6px 8px; padding: 9px 14px; font-size: 0.82rem; border-radius: 18px; }
  .gbadge__stars { letter-spacing: 0; }
}

.trustrow { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.trustseal {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 980px;
  box-shadow: var(--shadow-sm);
}

/* Label/Chip hinter "Ausgewählte Referenzen" */
.ref-pill {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(27, 70, 216, 0.08);
  border-radius: 980px;
  white-space: nowrap;
}

/* Detail-Referenzblöcke (Referenzen-Seite) */
.refprojs { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 96px); }
.refproj { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 36px); scroll-margin-top: 90px; }
.refproj__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.refproj:nth-child(even) .refproj__media { order: 2; }
.refgallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.refgallery__item { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease); }
.refgallery__item:hover { transform: translateY(-3px); }
.refgallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.refproj__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(140deg, #dfe6ee, #aab4c0); position: relative; box-shadow: var(--shadow-sm); }
.refproj__media img { width: 100%; height: 100%; object-fit: cover; }
.refproj__stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 22px 0; }
.refproj__stats > div { display: flex; flex-direction: column; }
.refproj__stats span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.refproj__stats strong { font-size: 1.15rem; font-weight: 600; }
.refproj__h { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); margin: 18px 0 10px; }
/* Wertsteigerungs-Box (Wert vorher / Projektkosten / Wert nachher / Wertsteigerung) */
.wertbox { max-width: 420px; margin: 6px 0 24px; background: #fff; border: 1px solid var(--color-border); border-radius: 18px; padding: 24px 26px; box-shadow: 0 10px 30px rgba(15, 18, 22, 0.06); }
.wertbox__title { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.wertbox__sub { color: var(--color-muted); margin-top: 4px; font-size: 0.92rem; }
.wertbox__rows { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.wertbox__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.wertbox__rows dt { color: var(--color-text); }
.wertbox__rows dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wertbox__gain { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--color-border); text-align: center; }
.wertbox__gain-l { display: block; color: var(--color-muted); font-size: 0.9rem; letter-spacing: 0.02em; }
.wertbox__gain-v { display: block; margin-top: 6px; font-size: 1.75rem; font-weight: 800; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.reflist { list-style: none; display: grid; gap: 8px; }
.reflist--cols { grid-template-columns: 1fr 1fr; }
.reflist li { font-size: 0.95rem; line-height: 1.45; color: var(--color-text); padding-left: 18px; position: relative; }
.reflist li::before { content: "–"; position: absolute; left: 0; color: var(--color-muted); }
.reflist--check li::before { content: "✓"; color: var(--color-accent); font-weight: 700; }
@media (max-width: 760px) {
  .refproj__top { grid-template-columns: 1fr; }
  .refproj:nth-child(even) .refproj__media { order: 0; }
  .reflist--cols { grid-template-columns: 1fr; }
  .refgallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Zukunft ausmalen ---------- */
.future { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.future p {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* ==========================================================================
   STORYTELLING (Scroll-Transformation, GSAP/ScrollTrigger)
   ========================================================================== */
.story { background: var(--color-surface); min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 72px); align-items: center; width: 100%; }
.story__copy { max-width: 30ch; }
.story__steps { display: flex; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.story__steps span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-muted); opacity: 0.4; transition: opacity 0.35s var(--ease), color 0.35s var(--ease); }
.story__steps span.is-active { opacity: 1; color: var(--color-accent); }
.story__stage { display: flex; justify-content: center; }
.story__svg { width: 100%; max-width: 620px; height: auto; max-height: 72vh; transform-origin: 50% 60%; will-change: transform; border-radius: var(--radius); }
.story #st-new, .story #st-blue { opacity: 0; }
.story .st-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
@media (max-width: 860px) {
  .story { min-height: auto; padding: var(--section-y) 0; }
  .story__inner { grid-template-columns: 1fr; }
  .story__svg { max-height: none; }

  /* Mobile-Transformation: reine CSS-Keyframes, GSAP-unabhängig.
     Startframe = Bestand (st-old/Gerüst sichtbar, via Defaults). Sobald die
     Section ins Bild kommt, fügt main.js .is-playing hinzu -> Ablauf läuft. */
  .story.is-playing #st-blue     { animation: stBlueCycle 2.9s ease 0.2s forwards; }
  .story.is-playing .st-draw     { animation: stDrawLine 1.3s ease 0.3s forwards; }
  .story.is-playing #st-scaffold { animation: stFadeOut 0.5s ease 1.6s forwards; }
  .story.is-playing #st-old      { animation: stFadeOut 0.6s ease 1.75s forwards; }
  .story.is-playing #st-new      { animation: stFadeIn 0.7s ease 1.9s forwards; }
}
@keyframes stDrawLine { to { stroke-dashoffset: 0; } }
@keyframes stFadeOut  { to { opacity: 0; } }
@keyframes stFadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes stBlueCycle { 0% { opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .story #st-new { opacity: 1; }
  .story #st-old, .story #st-blue, .story #st-scaffold { opacity: 0; }
  .story.is-playing #st-blue, .story.is-playing .st-draw, .story.is-playing #st-scaffold,
  .story.is-playing #st-old, .story.is-playing #st-new { animation: none; }
}

/* ---------- Vorleistung / pledge ---------- */
.pledge-line {
  margin: 30px auto 0;
  max-width: 32ch;
  padding: 22px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4;
}
.pledge-line strong { color: var(--color-accent); font-weight: 600; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.finalcta { text-align: center; }
.finalcta__title { max-width: 18ch; margin: 0 auto; }
.finalcta__sub { margin: 24px auto 0; max-width: 52ch; }
.finalcta__btns { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .field--full { grid-column: 1 / -1; }
.form label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--color-muted); margin-bottom: 7px; }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}
.form__consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--color-muted); }
.form__consent input { width: auto; margin-top: 3px; accent-color: var(--color-accent); }
.form__submit { grid-column: 1 / -1; }
.form__submit .btn { width: 100%; justify-content: center; }
/* Honeypot: visuell + für AT unsichtbar, bleibt aber im DOM */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Status-Meldung nach Versand (?sent=1/0) */
.form__status { grid-column: 1 / -1; margin: 0; padding: 13px 16px; border-radius: 12px; font-size: 0.92rem; line-height: 1.5; }
.form__status--ok { background: rgba(27, 70, 216, 0.08); border: 1px solid rgba(27, 70, 216, 0.25); color: var(--color-accent); }
.form__status--err { background: rgba(200, 30, 30, 0.07); border: 1px solid rgba(200, 30, 30, 0.25); color: #b3261e; }

/* ==========================================================================
   BREADCRUMBS + RELATED (landing pages)
   ========================================================================== */
.crumbs { font-size: 0.84rem; color: var(--color-muted); padding-top: 26px; }
.crumbs a:hover { color: var(--color-accent); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.related a {
  display: block;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.related a:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.related__t { font-size: 1.1rem; font-weight: 600; }
.related__d { margin-top: 8px; color: var(--color-muted); font-size: 0.92rem; line-height: 1.5; }

/* lp hero */
/* Minimalistischer, ruhiger Hero (Apple-Stil, viel Weißraum, kein Hintergrundbild) */
.lp-hero { padding: clamp(40px, 7vw, 100px) 0 clamp(28px, 4vw, 56px); color: var(--color-text); }
.lp-hero .container { text-align: left; }
.lp-hero .crumbs { padding-top: 0; margin-bottom: clamp(22px, 4vw, 40px); }
.lp-hero__inner { max-width: 880px; }
.lp-hero__title { max-width: 18ch; }
.lp-hero__sub { margin-top: 24px; max-width: 62ch; color: var(--color-muted); }
.lp-hero__cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* problem list */
.plist { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.plist li {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: var(--color-text);
  font-size: 1rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.plist li::before { content: "✕"; color: #d23f3f; font-weight: 600; flex: 0 0 auto; font-size: 0.9rem; margin-top: 2px; }
.dark .plist li { background: #111113; border-color: rgba(255,255,255,0.1); color: #f5f5f7; }

.slist { list-style: none; display: grid; gap: 14px; }
.slist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; line-height: 1.5; }
.slist li::before { content: "✓"; color: var(--color-accent); font-weight: 700; flex: 0 0 auto; margin-top: 2px; }

/* ==========================================================================
   PROSE (Impressum / Datenschutz)
   ========================================================================== */
.prose { color: var(--color-muted); font-size: 1rem; line-height: 1.75; }
.prose h2 { color: var(--color-text); font-size: clamp(1.15rem, 2vw, 1.45rem); margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--color-text); font-size: clamp(1.02rem, 1.5vw, 1.18rem); font-weight: 600; margin: 26px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose strong { color: var(--color-text); font-weight: 600; }
.prose a { color: var(--color-accent); }
.prose a:hover { color: var(--color-accent-hover); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--color-dark); color: #86868b; padding: clamp(48px, 6vw, 72px) 0; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__intro { max-width: 320px; }
.footer__logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.footer__tag { margin-top: 14px; font-size: 0.86rem; max-width: 34ch; }
.footer__badge { display: inline-block; margin-top: 20px; border-radius: 10px; overflow: hidden; transition: transform 0.25s var(--ease); }
.footer__badge:hover { transform: translateY(-2px); }
.footer__badge img { width: 180px; height: auto; display: block; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: #86868b; border: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.socials a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); transform: translateY(-2px); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 9, 11, 0.92);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0.25s;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 20px 70px rgba(0,0,0,0.5); }
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; border: 0; cursor: pointer;
  font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
  transition: background 0.2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,0.25); }
.lightbox__prev { left: clamp(12px, 4vw, 40px); }
.lightbox__next { right: clamp(12px, 4vw, 40px); }
.lightbox__close { position: absolute; top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); transform: none; width: 46px; height: 46px; }
.lightbox__count { position: absolute; bottom: clamp(16px, 4vw, 32px); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.75); font-size: 0.85rem; letter-spacing: 0.04em; }
@media (max-width: 560px) { .lightbox__btn { width: 44px; height: 44px; } }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 90px); flex-wrap: wrap; }
.footer__col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: #f5f5f7; margin-bottom: 14px; }
.footer__col a { display: block; font-size: 0.9rem; padding: 5px 0; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { padding-top: 26px; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  display: none;
}
.sticky-cta .btn { width: 100%; justify-content: center; box-shadow: var(--shadow); }
@media (max-width: 860px) { .sticky-cta { display: block; } }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .grid--3, .objects__grid, .roles__grid, .related__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .emergency__grid, .contact__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .grid--3, .grid--2, .objects__grid, .roles__grid, .related__grid,
  .process__grid, .plist, .form, .bento { grid-template-columns: 1fr; }
  .bento__item--wide { grid-column: span 1; }
  .footer__top { flex-direction: column; }
}

@media (max-width: 560px) {
  .display { font-size: clamp(1.7rem, 8.2vw, 2.4rem); letter-spacing: -0.02em; word-break: keep-all; hyphens: none; }
  .h2 { font-size: clamp(1.55rem, 6.6vw, 2.1rem); }
  .hero { padding-top: clamp(40px, 9vw, 70px); }
  .hero__cta .btn, .finalcta__btns .btn, .lp-hero__cta .btn { width: 100%; justify-content: center; }
  .section { padding: clamp(56px, 14vw, 80px) 0; }
}

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

/* ==========================================================================
   COOKIE-BANNER (Complianz) — ans LENZ-Design angepasst
   ========================================================================== */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  border-radius: 20px !important;
  border: 1px solid #e6e6ea !important;
  box-shadow: 0 24px 60px rgba(8, 10, 14, 0.20) !important;
  padding: 26px 26px 22px !important;
  /* mittig auf dem Bildschirm (statt unten rechts) */
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: min(440px, calc(100vw - 32px)) !important;
  max-width: min(440px, calc(100vw - 32px)) !important;
}
/* abgedunkelter Hintergrund hinter dem zentrierten Banner */
#cmplz-cookiebanner-container.cmplz-show::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(8, 10, 14, 0.45) !important;
  z-index: -1 !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title {
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: #0d1117 !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-text p {
  color: #5b606b !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { gap: 10px !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn {
  border-radius: 999px !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  font-size: 0.92rem !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
  text-transform: none !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept {
  background: #1b46d8 !important;
  color: #fff !important;
  border: 1px solid #1b46d8 !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences {
  background: #fff !important;
  color: #0d1117 !important;
  border: 1px solid #d2d4da !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover {
  border-color: #1b46d8 !important;
  color: #1b46d8 !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
#cmplz-cookiebanner-container .cmplz-cookiebanner a { color: #1b46d8 !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category { border-radius: 12px !important; }
.cmplz-manage-consent .cmplz-btn, #cmplz-manage-consent .cmplz-btn { border-radius: 999px !important; }

/* ==========================================================================
   REFERENZ-/PARTNER-LOGO-BANNER (Endlos-Marquee)
   ========================================================================== */
.logobar { padding: clamp(30px, 4vw, 50px) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-surface); overflow: hidden; }
.logobar__label { text-align: center; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 clamp(20px, 3vw, 32px); }
.logobar__viewport {
  position: relative; width: 100%; 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);
}
.logobar__track { display: flex; align-items: center; gap: clamp(44px, 7vw, 92px); width: max-content; animation: logoscroll 42s linear infinite; }
.logobar__track:hover { animation-play-state: paused; }
.logobar__track img { height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.logobar__track img:hover { filter: none; opacity: 1; }
/* Hervorgehobenes Logo (z. B. L-Invest = weiß auf transparent) auf dunklem Chip */
.logobar__track img.logobar__chip { height: 62px; filter: none; opacity: 1; background: var(--color-graphite, #2b3037); padding: 12px 20px; border-radius: 12px; box-shadow: 0 6px 20px rgba(15, 18, 22, 0.18); }
.logobar__track img.logobar__chip:hover { background: #1d2127; }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logobar__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .logobar__viewport { -webkit-mask-image: none; mask-image: none; }
}

/* Einheitliche CTA-Buttonreihe (Beratungsgespräch + E-Mail Kontakt) */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.cta-row--center { justify-content: center; }

/* ===== NEUES LEISTUNGS-KONZEPT ===== */
/* Hero: Rule-of-3 Needs */
.needs3 { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px auto 4px; padding: 0; }
.needs3 li { position: relative; padding-left: 16px; font-size: clamp(0.82rem, 1.05vw, 1.02rem); font-weight: 500; letter-spacing: -0.01em; color: var(--color-text); }
.needs3 li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; transform: translateY(-50%); background: var(--color-accent); border-radius: 50%; }
.hero--image .needs3 li { color: rgba(255, 255, 255, 0.92); }
.hero--image .needs3 li::before { background: var(--color-accent-light, #6f9bff); }
@media (max-width: 560px) {
  .needs3 { gap: 6px 14px; }
  .needs3 li { font-size: 0.78rem; padding-left: 13px; }
  .needs3 li::before { width: 6px; height: 6px; }
}

/* Konzept-Hero: zentriert */
.lp-hero__inner--center { text-align: center; margin-left: auto; margin-right: auto; }
.lp-hero__inner--center .cta-row { justify-content: center; }
.lp-hero__inner--center .guarantee { font-size: 1.16rem; font-weight: 500; color: var(--color-text); margin-top: 28px; }
.lp-hero__inner--center .guarantee__ico { width: 18px; height: 18px; vertical-align: -3px; }

/* Bauablauf */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; counter-reset: none; }
.flowstep { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--color-border); }
.flowstep__n { flex: 0 0 auto; font-size: 0.95rem; font-weight: 700; color: var(--color-accent); font-variant-numeric: tabular-nums; padding-top: 2px; letter-spacing: 0.02em; }
.flowstep__t { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
.flowstep__d { margin-top: 6px; color: var(--color-muted); font-size: 0.96rem; line-height: 1.5; }

/* Experten-Sektion (alle Leistungen) */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.exp-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--color-text); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.exp-card:hover { border-color: var(--color-accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.exp-card span { color: var(--color-accent); }
.exp-card--active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
/* /leistungen/ – reichere Karten mit Beschreibung */
.exp-grid--rich .exp-card { flex-direction: column; align-items: flex-start; gap: 8px; }
.exp-card__name { font-weight: 650; letter-spacing: -0.01em; }
.exp-card__desc { color: var(--color-muted); font-weight: 400; font-size: 0.92rem; line-height: 1.45; }
.exp-grid--rich .exp-card:hover .exp-card__name { color: var(--color-accent); }
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lcard { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px 24px 22px; display: flex; flex-direction: column; scroll-margin-top: 100px; }
.lcard__t { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
.lcard__d { color: var(--color-muted); font-size: 0.95rem; line-height: 1.5; margin: 10px 0 16px; flex: 1; }
@media (max-width: 860px) { .lgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lgrid { grid-template-columns: 1fr; } }
.exp-sub { text-align: center; margin: 34px 0 14px; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.exp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.exp-chip { padding: 9px 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 980px; font-size: 0.9rem; font-weight: 500; color: var(--color-text); transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.exp-chip:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Zahlen-Abschnitt */
.statband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.statcard { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: 22px; padding: 40px 28px 30px; text-align: center; }
.statcard__ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #12151a; color: #fff; margin-bottom: 20px; }
.statcard__num { font-size: clamp(2.1rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--color-accent); line-height: 1; }
.statcard__label { margin-top: 14px; font-size: 1rem; color: var(--color-text); line-height: 1.4; }
.statcard__src { margin-top: 14px; font-size: 0.72rem; color: var(--color-muted); }
.hl { color: var(--color-accent); }

/* Warum Kunden mit uns arbeiten (USP-Grid) */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { background: #fff; border: 1px solid var(--color-border); border-radius: 18px; padding: 26px 24px 24px; }
.why-card__ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-surface); color: var(--color-accent); margin-bottom: 16px; }
.why-card__t { font-size: 1.06rem; font-weight: 650; letter-spacing: -0.01em; }
.why-card__d { margin-top: 8px; color: var(--color-muted); font-size: 0.94rem; line-height: 1.5; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* Google-Maps-Einbettung (Kontaktseite) */
.mapwrap { margin-top: 28px; border-radius: 18px; overflow: hidden; border: 1px solid var(--color-border); aspect-ratio: 16 / 9; background: var(--color-surface); }
.mapwrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Großes Referenzprojekt */
.bigref__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.bigref__media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-surface); }
.bigref__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bigref__stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 24px; }
.bigref__stats > div { display: flex; flex-direction: column; }
.bigref__stats dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.bigref__stats dd { font-size: 1.15rem; font-weight: 600; }
.bigref__body .wertbox { max-width: none; }
/* Kombinierte Wert-Karte (Screenshot-Stil): Bilder oben + Werte unten, eine Karte */
.bigref__center { display: flex; justify-content: center; }
.wertcard { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--color-border); border-radius: 22px; overflow: hidden; box-shadow: 0 16px 44px rgba(15, 18, 22, 0.10); }
.wertcard__imgs { display: grid; grid-template-columns: 1fr 1fr; }
.wertcard__img { position: relative; aspect-ratio: 3 / 4; background: var(--color-surface); }
.wertcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wertcard__lbl { position: absolute; bottom: 10px; background: rgba(18, 21, 26, 0.82); color: #fff; font-size: 0.72rem; font-weight: 600; padding: 4px 11px; border-radius: 7px; }
.wertcard__lbl--l { left: 10px; }
.wertcard__lbl--r { right: 10px; }
.wertcard__body { padding: 24px 26px 28px; }
.wertcard__title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.wertcard__sub { color: var(--color-muted); margin-top: 4px; font-size: 0.92rem; }
.wertcard__rows { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.wertcard__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.wertcard__rows dt { color: var(--color-muted); }
.wertcard__rows dd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wertcard__gain { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--color-border); text-align: center; }
.wertcard__gain-l { display: block; color: var(--color-muted); font-size: 0.9rem; }
.wertcard__gain-v { display: block; margin-top: 8px; font-size: 1.85rem; font-weight: 800; color: var(--color-accent); font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .statband { grid-template-columns: 1fr; }
  .bigref__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .exp-grid { grid-template-columns: 1fr; }
}
