/* ==========================================================================
   BSH-Hausrenovierungen — Designsystem
   engineered-industrial-warm: weiß · Orange #ff6a2f · Slate-Grau
   ========================================================================== */

:root {
  /* Farben (OKLCH) --------------------------------------------------------- */
  --bg:            #ffffff;
  --bg-wash:       oklch(0.975 0.012 55);      /* helles Orange-Wash */
  --bg-sand:       oklch(0.965 0.008 70);      /* ruhiger warmer Ton */
  --ink:           oklch(0.24 0.012 60);       /* fast-schwarz, warm */
  --ink-soft:      oklch(0.34 0.010 55);       /* Fließtext */
  --muted:         oklch(0.52 0.012 260);      /* Slate-Grau #6f7175-Familie */
  --line:          oklch(0.91 0.006 60);       /* Rahmen */
  --line-strong:   oklch(0.85 0.008 55);

  --brand:         oklch(0.685 0.191 44);      /* #ff6a2f */
  --brand-press:   oklch(0.60 0.185 42);       /* dunkler für hover/press */
  --brand-tint:    oklch(0.955 0.028 55);      /* sehr helle Fläche */
  --brand-ink:     oklch(0.44 0.150 45);       /* Orange-Text auf hell */

  --dark:          oklch(0.24 0.012 60);       /* dunkle Bänder / Footer */
  --dark-2:        oklch(0.20 0.012 60);
  --on-dark:       oklch(0.97 0.004 60);
  --on-dark-soft:  oklch(0.80 0.006 60);

  /* Typo ------------------------------------------------------------------- */
  --font-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.20vw, 1.125rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.45rem);
  --step-2:  clamp(1.50rem, 1.34rem + 0.80vw, 2.05rem);
  --step-3:  clamp(1.95rem, 1.65rem + 1.50vw, 3.05rem);
  --step-4:  clamp(2.45rem, 1.95rem + 2.50vw, 4.25rem);
  --step-5:  clamp(2.90rem, 2.10rem + 3.90vw, 5.40rem);

  /* Raum & Form ------------------------------------------------------------ */
  --container: 1200px;
  --gutter: clamp(1.15rem, 0.7rem + 2vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(28,26,23,0.06), 0 2px 8px rgba(28,26,23,0.04);
  --shadow-md: 0 8px 24px rgba(28,26,23,0.10), 0 2px 6px rgba(28,26,23,0.06);
  --shadow-lg: 0 24px 60px rgba(28,26,23,0.16), 0 6px 16px rgba(28,26,23,0.08);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-index-Skala */
  --z-header: 100;
  --z-menu: 200;
}

/* Reset -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* Alle Inline-SVGs sind Lucide-Line-Icons (stroke-basiert). */
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--brand); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
p { text-wrap: pretty; }

/* Layout-Primitiven -------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.measure { max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: var(--step--1);
  letter-spacing: 0.02em; color: var(--brand-ink);
  text-transform: none;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 2px; background: var(--brand); border-radius: 2px;
}
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.25rem); }
.section-head h2 { font-size: var(--step-3); margin-top: 0.75rem; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-0);
  padding: 0.85em 1.5em; border-radius: var(--radius); border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px oklch(0.685 0.191 44 / 0.32); }
.btn-primary:hover { background: var(--brand-press); transform: translateY(-2px); box-shadow: 0 12px 26px oklch(0.685 0.191 44 / 0.38); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1em 1.8em; font-size: var(--step-1); }
.btn-sm { padding: 0.6em 1.15em; font-size: 0.92rem; border-width: 1.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 700; color: var(--brand-ink);
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Icons -------------------------------------------------------------------- */
.icon { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: oklch(1 0 0 / 0.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 82px; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
/* größer + nach unten versetzt: ragt unten über die Leiste, oben nicht abgeschnitten */
.brand img { height: 92px; width: auto; transform: translateY(7px); }
@media (max-width: 520px) { .brand img { height: 62px; transform: translateY(4px); } }

.nav { display: flex; align-items: center; gap: clamp(1rem, 0.4rem + 1.4vw, 2rem); }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--ink); position: relative; padding-block: 0.4rem; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--brand); transition: width 0.3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--brand-ink); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 1.1rem; height: 1.1rem; color: var(--brand); }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 940px) {
  .nav, .header-cta .btn, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile-Menü */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg); padding: 2rem var(--gutter);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-menu nav a { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--ink); padding-block: 0.5rem; border-bottom: 1px solid var(--line); }
.mobile-menu nav a:hover { color: var(--brand); }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1rem; }
.mobile-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--ink); }
.mobile-close svg { width: 28px; height: 28px; }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--dark); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, oklch(0.24 0.012 60 / 0.35) 0%, oklch(0.22 0.012 60 / 0.10) 40%, oklch(0.20 0.012 60 / 0.72) 100%),
    linear-gradient(90deg, oklch(0.20 0.012 60 / 0.78) 0%, oklch(0.20 0.012 60 / 0.15) 62%, transparent 100%);
}
.hero__inner { position: relative; display: flex; align-items: flex-end; min-height: clamp(560px, 82vh, 820px); padding-block: clamp(3rem, 2rem + 6vw, 6rem); }
.hero__content { max-width: 46rem; color: var(--on-dark); }
.hero h1 { color: #fff; font-size: var(--step-5); letter-spacing: -0.035em; margin-block: 1rem 1.2rem; }
@media (max-width: 520px) { .hero h1 { font-size: clamp(2.1rem, 8.5vw, 3rem); letter-spacing: -0.02em; } }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: var(--step-1); line-height: 1.5; color: var(--on-dark-soft); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__eyebrow { color: #fff; }
.hero__eyebrow::before { background: var(--brand); }
.hero__strip {
  position: relative; z-index: 1; border-top: 1px solid oklch(1 0 0 / 0.14);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__strip div { padding: 1.1rem clamp(0.6rem, 2vw, 1.5rem); display: flex; align-items: center; gap: 0.7rem; color: var(--on-dark); border-left: 1px solid oklch(1 0 0 / 0.10); }
.hero__strip div:first-child { border-left: 0; }
.hero__strip svg { width: 1.4rem; height: 1.4rem; color: var(--brand); flex: none; }
.hero__strip b { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: #fff; line-height: 1.15; }
@media (max-width: 760px) {
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero__strip div:nth-child(odd) { border-left: 0; }
  .hero__strip div:nth-child(n+3) { border-top: 1px solid oklch(1 0 0 / 0.10); }
}

/* Intro / Storytelling ----------------------------------------------------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.intro__text h2 { font-size: var(--step-3); margin-top: 0.75rem; }
.intro__text p { margin-top: 1.15rem; color: var(--ink-soft); }
.intro__text .btn { margin-top: 1.8rem; }
.intro__media { position: relative; }
.intro__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.intro__badge {
  position: absolute; left: -1.2rem; bottom: -1.2rem; background: var(--brand); color: #fff;
  padding: 1.1rem 1.35rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); max-width: 15rem;
}
.intro__badge b { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.intro__badge span { font-size: 0.85rem; color: oklch(1 0 0 / 0.85); }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } .intro__media { order: -1; } .intro__badge { left: 1rem; } }

/* Leistungen-Grid ---------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.25rem; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service__media { aspect-ratio: 16/10; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service:hover .service__media img { transform: scale(1.05); }
.service__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service__icon {
  position: absolute; top: 1rem; right: 1rem; width: 2.9rem; height: 2.9rem;
  display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.service__icon svg { width: 1.5rem; height: 1.5rem; }
.service h3 { font-size: var(--step-1); }
.service p { margin-top: 0.5rem; color: var(--muted); font-size: var(--step--1); line-height: 1.55; flex: 1; }
.service .link-arrow { margin-top: 1.1rem; font-size: var(--step--1); }

/* Storytelling-Kapitel (Startseite) --------------------------------------- */
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter:nth-child(even) .chapter__media { order: 2; }
.chapter__media { position: relative; }
.chapter__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 5/4; object-fit: cover; }
.chapter__media figcaption { position: absolute; left: 1rem; bottom: 1rem; background: oklch(0.24 0.012 60 / 0.82); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: var(--step--1); padding: 0.5rem 0.9rem; border-radius: var(--radius); backdrop-filter: blur(4px); }
.chapter__step { font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand-ink); display: inline-flex; align-items: baseline; gap: 0.6rem; }
.chapter__step b { color: var(--brand); font-size: 1.05rem; letter-spacing: 0; }
.chapter h2 { font-size: var(--step-3); margin-top: 0.8rem; }
.chapter p { margin-top: 1.1rem; color: var(--ink-soft); max-width: 48ch; }
.chapter p + p { margin-top: 0.9rem; }
.chapter__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.chapter__tags a { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-weight: 600; font-size: var(--step--1); color: var(--ink); background: var(--bg-wash); border: 1px solid var(--line); padding: 0.5rem 0.9rem; border-radius: 999px; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.chapter__tags a:hover { border-color: var(--brand); color: var(--brand-ink); }
.chapter__tags svg { width: 1rem; height: 1rem; color: var(--brand); }
@media (max-width: 780px) {
  .chapter { grid-template-columns: 1fr; gap: 1.5rem; }
  .chapter:nth-child(even) .chapter__media, .chapter__media { order: -1; }
}
.story-more { margin-top: 0; padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.story-more p { color: var(--muted); max-width: 52ch; }
.story-more strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; }

/* Prozess-Schritte ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-display); font-weight: 800;
  font-size: 1.6rem; color: var(--brand);
}
.step::after { content: ""; position: absolute; top: 0.7rem; left: 3rem; right: -0.75rem; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: var(--step-1); }
.step p { margin-top: 0.5rem; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 720px) { .step::after { display: none; } }

/* Dunkles CTA-Band --------------------------------------------------------- */
.band-dark { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.band-dark h2 { color: #fff; }
.cta-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
.cta-band h2 { font-size: var(--step-3); }
.cta-band p { margin-top: 1rem; color: var(--on-dark-soft); font-size: var(--step-1); }
.cta-band__actions { display: flex; flex-direction: column; gap: 1rem; }
.cta-band__actions .btn { justify-content: center; }
.cta-phone { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: #fff; }
.cta-phone svg { width: 1.4rem; height: 1.4rem; color: var(--brand); }
@media (max-width: 780px) { .cta-band { grid-template-columns: 1fr; } }

/* Trust / Zertifikate-Streifen --------------------------------------------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.trust-pill { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: var(--step--1); color: var(--ink); background: var(--bg-wash); border: 1px solid var(--line); padding: 0.55rem 1rem; border-radius: 999px; }
.trust-pill svg { width: 1.1rem; height: 1.1rem; color: var(--brand); }

/* Seiten-Hero (Unterseiten) ------------------------------------------------ */
.page-hero { background: var(--bg-sand); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-block: clamp(2.5rem, 1.8rem + 4vw, 5rem); }
.page-hero h1 { font-size: var(--step-4); }
.page-hero p { margin-top: 1rem; color: var(--muted); font-size: var(--step-1); max-width: 55ch; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; color: var(--muted); font-size: var(--step--1); margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: var(--brand-ink); }
.breadcrumb svg { width: 0.9rem; height: 0.9rem; }

/* Leistung-Detailzeilen (auf /leistungen) ---------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; padding-block: clamp(2rem, 1.2rem + 3vw, 3.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.feature:nth-child(even) .feature__media { order: 2; }
.feature__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 16/11; object-fit: cover; }
.feature__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.feature__head .badge { width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: var(--radius); flex: none; }
.feature__head .badge svg { width: 1.6rem; height: 1.6rem; }
.feature h2 { font-size: var(--step-2); }
.feature p { margin-top: 0.5rem; color: var(--ink-soft); }
.feature .btn { margin-top: 1.5rem; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .feature__media { order: -1; } .feature__media { order: -1; } }

/* Leistungen als gestapelte Magazin-Blöcke (Banner + Text darunter) -------- */
.leistung { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.leistung__banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.leistung__banner img { width: 100%; aspect-ratio: 21/8; object-fit: cover; transition: transform 0.7s var(--ease); }
.leistung:hover .leistung__banner img { transform: scale(1.03); }
.leistung__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(0.22 0.012 60 / 0.85) 0%, oklch(0.22 0.012 60 / 0.35) 45%, oklch(0.22 0.012 60 / 0.05) 75%); }
.leistung__cap { position: absolute; z-index: 1; left: clamp(1.2rem, 3vw, 2.5rem); bottom: clamp(1.2rem, 3vw, 2rem); right: 1.2rem; display: flex; align-items: center; gap: 1rem; }
.leistung__cap .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); color: oklch(1 0 0 / 0.55); line-height: 1; }
.leistung__cap .badge { width: clamp(2.6rem, 2rem + 1.5vw, 3.4rem); height: clamp(2.6rem, 2rem + 1.5vw, 3.4rem); display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: var(--radius); flex: none; box-shadow: var(--shadow-sm); }
.leistung__cap .badge svg { width: 55%; height: 55%; }
.leistung__cap h2 { color: #fff; font-size: var(--step-2); }
.leistung__body { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2.5rem; margin-top: 1.5rem; }
.leistung__body p { color: var(--ink-soft); max-width: 62ch; margin: 0; }
.leistung__body .btn { flex: none; }
@media (max-width: 560px) { .leistung__cap .num { display: none; } .leistung__banner img { aspect-ratio: 16/10; } }

/* Kontakt / Formular ------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.5rem; }
.form fieldset { border: 0; padding: 0; }
.form legend { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--ink); margin-bottom: 0.4rem; }
.form legend span { color: var(--brand); }
.form .hint { color: var(--muted); font-size: var(--step--1); margin-bottom: 1rem; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label {
  display: flex; align-items: center; gap: 0.6rem; height: 100%;
  padding: 0.85rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink);
  transition: all 0.2s var(--ease); cursor: pointer; background: var(--bg);
}
.choice svg { width: 1.25rem; height: 1.25rem; color: var(--muted); flex: none; transition: color 0.2s var(--ease); }
.choice input:hover + label { border-color: var(--ink); }
.choice input:checked + label { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:checked + label svg { color: var(--brand); }
.choice input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }

.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 0.75rem 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: oklch(0.62 0.01 260); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.errorlist { list-style: none; padding: 0; color: var(--brand-press); font-size: var(--step--1); font-weight: 600; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--step--1); color: var(--muted); }
.consent input { margin-top: 0.25rem; width: 1.15rem; height: 1.15rem; accent-color: var(--brand); flex: none; }
.consent a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Mehrstufiger Wizard ------------------------------------------------------ */
.wizard__progress { list-style: none; padding: 0; display: flex; gap: 0.6rem; margin-bottom: 2rem; }
.wizard__progress li { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.wizard__progress .bar { height: 4px; border-radius: 2px; background: var(--line); transition: background 0.3s var(--ease); }
.wizard__progress .lbl { font-family: var(--font-display); font-weight: 600; font-size: var(--step--1); color: var(--muted); transition: color 0.3s var(--ease); }
.wizard__progress li.done .bar, .wizard__progress li.active .bar { background: var(--brand); }
.wizard__progress li.active .lbl { color: var(--brand-ink); }
.wizard__progress .num { color: var(--brand); font-weight: 800; }

.wizard__step { display: none; }
.wizard__step.active { display: block; animation: fadeStep 0.35s var(--ease); }
@keyframes fadeStep { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wizard__step > legend, .wizard__step > .steptitle { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--ink); }
.wizard__step .hint { color: var(--muted); font-size: var(--step--1); margin: 0.3rem 0 1.2rem; }

.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.9rem; }
.wizard__nav .spacer { flex: 1; }

/* gleich große, mehrfach wählbare Vorhaben-Kacheln */
.choice-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.choice label { min-height: 3.7rem; padding-right: 2.4rem; }
.choice input:checked + label::after {
  content: ""; position: absolute; top: 50%; right: 1.1rem;
  width: 0.42rem; height: 0.78rem; transform: translateY(-62%) rotate(45deg);
  border: solid var(--brand); border-width: 0 2.5px 2.5px 0;
}

/* Kontakt-Aside */
.contact-card { background: var(--dark); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); }
.contact-card h2 { color: #fff; font-size: var(--step-2); }
.contact-card > p { color: var(--on-dark-soft); margin-top: 0.6rem; }
.contact-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.contact-list a, .contact-list div { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--on-dark); }
.contact-list svg { width: 1.3rem; height: 1.3rem; color: var(--brand); flex: none; margin-top: 2px; }
.contact-list b { font-family: var(--font-display); display: block; color: #fff; }
.contact-list span { color: var(--on-dark-soft); font-size: var(--step--1); }

/* Flash-Meldung ------------------------------------------------------------ */
.flash { display: flex; gap: 0.8rem; align-items: flex-start; background: var(--brand-tint); border: 1px solid var(--brand); border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--brand-ink); font-weight: 600; }
.flash svg { width: 1.4rem; height: 1.4rem; color: var(--brand); flex: none; }

/* Prosa (Recht) ------------------------------------------------------------ */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8rem; }
.prose p, .prose ul { margin-top: 1rem; color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-top: 0.4rem; }
.prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }

/* Jobs --------------------------------------------------------------------- */
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.25rem; }
.job { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.job:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.job__tag { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand-tint); padding: 0.3rem 0.7rem; border-radius: 999px; }
.job h3 { font-size: var(--step-1); margin-top: 0.9rem; }
.job p { margin-top: 0.5rem; color: var(--muted); font-size: var(--step--1); }
.job ul { margin-top: 0.9rem; padding-left: 0; list-style: none; display: grid; gap: 0.45rem; }
.job li { display: flex; gap: 0.5rem; font-size: var(--step--1); color: var(--ink-soft); }
.job li svg { width: 1.05rem; height: 1.05rem; color: var(--brand); flex: none; margin-top: 3px; }

/* Werte-Liste (über uns) --------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.5rem; }
.value { }
.value__icon { width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-ink); border-radius: var(--radius); margin-bottom: 1rem; }
.value__icon svg { width: 1.6rem; height: 1.6rem; }
.value h3 { font-size: var(--step-1); }
.value p { margin-top: 0.5rem; color: var(--muted); font-size: var(--step--1); }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--dark-2); color: var(--on-dark-soft); padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand img { height: 66px; width: auto; border-radius: 8px; }
.footer-brand p { margin-top: 1.1rem; max-width: 34ch; font-size: var(--step--1); }
.site-footer h4 { font-family: var(--font-display); color: #fff; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--step--1); }
.footer-contact svg { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; margin-top: 3px; }
.footer-bottom { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid oklch(1 0 0 / 0.10); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--step--1); }
.footer-bottom a:hover { color: var(--brand); }

/* Ambient / permanente Motion ---------------------------------------------- */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero__media img { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 62% 38%; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.intro__badge { animation: floaty 5.5s ease-in-out infinite; }

@keyframes softpulse { 0%, 100% { box-shadow: 0 6px 18px oklch(0.685 0.191 44 / 0.30); } 50% { box-shadow: 0 10px 30px oklch(0.685 0.191 44 / 0.52); } }
.hero__actions .btn-primary { animation: softpulse 3s ease-in-out infinite; }

@keyframes bob { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(6px); opacity: 1; } }
.hero__scroll { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.9rem; color: var(--on-dark-soft); font-family: var(--font-display); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.02em; }
.hero__scroll:hover { color: #fff; }
.hero__scroll svg { width: 1.15rem; height: 1.15rem; color: var(--brand); animation: bob 1.8s ease-in-out infinite; }

/* Reveal-Animation --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Floating Anruf-Button (mobil) -------------------------------------------- */
.fab-call { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: none; align-items: center; gap: 0.55rem; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; padding: 0.9rem 1.25rem; border-radius: 999px; box-shadow: var(--shadow-lg); }
.fab-call svg { width: 1.3rem; height: 1.3rem; }
@media (max-width: 940px) { .fab-call { display: inline-flex; } }
