/* ============================================================
   Spezi Fachmarkt — Design System
   Marke: Weiß · Rot #e11919 · Blau #145480
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Marke */
  --red:        #e11919;
  --red-700:    #b81111;
  --red-800:    #971010;
  --red-050:    #fdecec;
  --blue:       #145480;
  --blue-700:   #0f4066;
  --blue-900:   #0b2f4c;
  --blue-050:   #eaf1f6;

  /* Neutrale */
  --bg:         #ffffff;
  --surface:    #f5f7f8;
  --surface-2:  #eef1f3;
  --ink:        #14181c;
  --ink-soft:   #39424a;
  --muted:      #5a6670;
  --line:       #e4e8eb;
  --line-strong:#d3d9dd;
  --white:      #ffffff;

  /* Typo */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3:  clamp(1.8rem, 1.55rem + 1.2vw, 2.6rem);
  --step-4:  clamp(2.2rem, 1.8rem + 2vw, 3.6rem);
  --step-5:  clamp(2.7rem, 2rem + 3.4vw, 4.8rem);

  /* Raum */
  --gutter: clamp(1.4rem, 0.9rem + 2.2vw, 3rem);
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(20,24,28,.06), 0 2px 8px rgba(20,24,28,.05);
  --shadow-md: 0 8px 24px rgba(20,24,28,.09), 0 2px 6px rgba(20,24,28,.05);
  --shadow-lg: 0 24px 60px rgba(11,47,76,.18);

  --ease: cubic-bezier(.22,.61,.36,1);        /* ease-out-quart-ish */
  --ease-expo: cubic-bezier(.16,1,.3,1);

  /* z-scale */
  --z-header: 205;
  --z-backdrop: 200;
  --z-drawer: 210;
  --z-top: 300;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
@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);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

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

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
  font-weight: 800;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); letter-spacing: -0.015em; }
h4 { font-size: var(--step-1); letter-spacing: -0.01em; font-weight: 700; }
p { text-wrap: pretty; }
strong { font-weight: 700; color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: .01em;
  color: var(--red);
  text-transform: none;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 3px; border-radius: 2px;
  background: var(--red); flex: none;
}

.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; max-width: 62ch; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2*var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2*var(--gutter), var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: clamp(3.2rem, 2rem + 5vw, 6rem); }
.section--tight { padding-block: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.section--surface { background: var(--surface); }
.section-head { max-width: 60ch; margin-bottom: clamp(1.8rem, 1rem + 2.5vw, 3rem); }
.section-head .eyebrow { margin-bottom: .9rem; }
.section-head p { margin-top: .9rem; color: var(--muted); }

.stack > * + * { margin-top: 1rem; }

/* Überlauf-Schutz: Flex/Grid-Kinder mit Text dürfen schrumpfen */
.hero__grid > *, .feature > *, .split > *, .cta-band__grid > *, .svc, .info-card > div, .checklist span, .feature__body, .hero__copy { min-width: 0; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--red); --_fg: #fff; --_bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-0);
  line-height: 1; letter-spacing: -0.01em;
  padding: .95em 1.5em; border-radius: 999px;
  background: var(--_bg); color: var(--_fg); border: 2px solid var(--_bd);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  box-shadow: 0 6px 18px rgba(225,25,25,.22);
  white-space: nowrap;
}
.btn:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(225,25,25,.28); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.15em; height: 1.15em; }

.btn--blue { --_bg: var(--blue); --_bd: var(--blue); box-shadow: 0 6px 18px rgba(20,84,128,.22); }
.btn--blue:hover { background: var(--blue-700); border-color: var(--blue-700); box-shadow: 0 10px 26px rgba(20,84,128,.3); }

.btn--ghost {
  --_bg: transparent; --_fg: var(--ink); --_bd: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { --_fg: var(--ink); background: var(--surface); border-color: var(--ink); transform: translateY(-2px); }

.btn--white { --_bg: #fff; --_fg: var(--ink); --_bd: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn--white:hover { background: #fff; color: var(--red); border-color: #fff; }

.btn--sm { padding: .7em 1.15em; font-size: var(--step--1); }

.linkarrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700; color: var(--blue);
}
.linkarrow .ico { transition: transform .2s var(--ease); }
.linkarrow:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; gap: 1.5rem;
  width: min(95%, 1880px);   /* breite Navbar — Platz fürs lange Logo */
  min-height: 104px; padding-block: .6rem;
}
/* 3 Zonen: Logo links | Nav mittig zentriert | CTA + Maskottchen rechts */
.brand { display: inline-flex; align-items: center; flex: 1 1 0; min-width: 0; }
/* width:auto = Logo behält sein Seitenverhältnis, wird NIE gestreckt */
.brand img { height: 64px; width: auto; max-width: 100%; transition: transform .25s var(--ease); }
.brand:hover img { transform: scale(1.03); }
@media (max-width: 940px){ .brand img { height: 52px; } }
@media (max-width: 560px){ .brand img { height: 42px; max-width: 62vw; } }
@media (max-width: 380px){ .brand img { height: 34px; } }

.nav { display: flex; align-items: center; justify-content: center; gap: .3rem; flex: 0 0 auto; }
.nav a {
  position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--ink); padding: .5rem .25rem; margin-inline: .6rem;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2.5px;
  background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease-expo);
}
.nav a:hover { color: var(--red); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
/* Beratung-Button in der Nav: keine Nav-Unterstreichung, Button-Look behalten */
.nav .nav__cta { color: #fff; margin-left: 1rem; padding: .7em 1.3em; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { color: #fff; }
.header__cta { display: inline-flex; align-items: center; justify-content: flex-end; gap: .9rem; flex: 1 1 0; min-width: 0; }
.header__spezi { height: 92px; width: auto; margin: -.6rem 0; flex: 0 0 auto; }
.header__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1rem;
}
.header__phone .ico { color: var(--red); width: 1.15rem; height: 1.15rem; }
.header__phone:hover { color: var(--red); }

.nav-toggle { display: none; }

/* Mobile nav */
@media (max-width: 940px) {
  .nav, .header__phone, .header__cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-strong);
    background: #fff; color: var(--ink);
  }
  .nav-toggle .ico { width: 24px; height: 24px; }
  .drawer-backdrop {
    position: fixed; inset: 0; background: rgba(11,47,76,.4);
    opacity: 0; visibility: hidden; transition: opacity .25s var(--ease); z-index: var(--z-backdrop);
  }
  .drawer-backdrop.open { opacity: 1; visibility: visible; touch-action: none; }
  .drawer {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(84vw, 340px);
    background: #fff; z-index: var(--z-drawer);
    transform: translateX(100%); transition: transform .32s var(--ease-expo);
    padding: 1.4rem; display: flex; flex-direction: column; gap: .3rem;
    box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain;
  }
  .drawer.open { transform: translateX(0); }
  .drawer__head { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 1rem; }
  .drawer__close { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
  .drawer a.nav-link {
    font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink);
    padding: .85rem .6rem; border-radius: 10px; border-bottom: 1px solid var(--line);
  }
  .drawer a.nav-link:hover, .drawer a.nav-link[aria-current="page"] { color: var(--red); }
  .drawer .btn { margin-top: 1.1rem; }
  .drawer__phone { margin-top: 1rem; margin-inline: auto; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--red); display:inline-flex; gap:.5rem; align-items:center; justify-content:center; }
}
@media (min-width: 941px){ .drawer, .drawer-backdrop { display:none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5rem); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
@media (max-width: 900px){ .hero__grid { grid-template-columns: 1fr; } }
.hero__title { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.035em; }
.hero__title .accent { color: var(--red); }
.hero__lead { margin-top: 1.3rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2rem; }
.hero__trust div { display: flex; align-items: baseline; gap: .5rem; }
.hero__trust b { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--blue); letter-spacing: -.02em; }
.hero__trust span { color: var(--muted); font-size: var(--step--1); max-width: 14ch; line-height: 1.25; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: .95rem 1.15rem; display: flex; align-items: center; gap: .85rem;
  border: 1px solid var(--line);
}
@media (min-width: 560px){ .hero__badge { right: auto; } }
.hero__badge .dot { width: 42px; height: 42px; border-radius: 12px; background: var(--red-050); color: var(--red); display: grid; place-items: center; flex: none; }
.hero__badge .dot .ico { width: 24px; height: 24px; }
.hero__badge b { font-family: var(--font-display); font-size: .98rem; display: block; }
.hero__badge span { font-size: .8rem; color: var(--muted); }

/* ---------- Marquee / Partner ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--surface); }
.trustbar__inner { display: flex; align-items: center; gap: clamp(1.5rem,4vw,3.5rem); padding-block: 1.1rem; flex-wrap: wrap; justify-content: center; }
.trustbar span { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: .95rem; letter-spacing: .02em; }
.trustbar b { color: var(--blue); }

/* ---------- Service feature rows ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 1rem + 3vw, 3.4rem);
  align-items: center;
}
.feature { gap: clamp(1.8rem, 1.2rem + 4vw, 4.5rem); }
.feature + .feature { margin-top: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
/* dezenter roter Akzentrahmen hinter dem Bild */
.feature__media::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 62%; height: 62%;
  border-radius: var(--radius-lg); background: var(--red-050);
  z-index: -1;
}
.feature--flip .feature__media::before { inset: auto auto -14px -14px; }
.feature__body { max-width: 52ch; }
.feature__body h3 { margin-bottom: .8rem; }
.feature__body .num { font-family: var(--font-display); font-weight: 800; color: var(--surface-2); font-size: 3rem; line-height: 1; }
.feature ul.ticks { margin-top: 1.1rem; display: grid; gap: .5rem; }
.feature ul.ticks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); }
.feature ul.ticks .ico { color: var(--red); width: 1.25rem; height: 1.25rem; flex: none; margin-top: .18rem; }
@media (max-width: 820px){
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: -1; }
}
@media (min-width: 821px){ .feature--flip .feature__media { order: 2; } }

.badge-new {
  display: inline-flex; align-items: center; gap: .4rem; vertical-align: middle;
  font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .03em;
  color: #fff; background: var(--red); padding: .28rem .6rem; border-radius: 999px; margin-left: .6rem;
}

/* ---------- Service quick grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.svc {
  position: relative; padding: 1.9rem 1.7rem; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  display: flex; flex-direction: column; gap: .65rem; min-height: 100%;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.svc__ico { width: 50px; height: 50px; border-radius: 13px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; margin-bottom: .3rem; }
.svc__ico .ico { width: 27px; height: 27px; }
.svc.is-accent .svc__ico { background: var(--red-050); color: var(--red); }
.svc h4 { font-size: 1.18rem; }
.svc p { color: var(--muted); font-size: var(--step--1); line-height: 1.5; }
.svc .linkarrow { margin-top: auto; padding-top: .4rem; font-size: .9rem; }

/* ---------- Split / info ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.2rem, 1.4rem + 5vw, 5.5rem); align-items: center; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); object-fit: cover; }
/* Namensschild auf dem Personenfoto (unten rechts) */
.split__media--person { position: relative; margin: 0; }
.split__media--person img { display: block; }
.person-tag {
  position: absolute; right: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 16px 11px; border-radius: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md); border-left: 3px solid var(--red);
  line-height: 1.2; text-align: left;
}
.person-tag b { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); }
.person-tag span { font-size: .8rem; color: #5a636c; letter-spacing: .02em; }
@media (max-width: 600px) { .person-tag { right: 10px; bottom: 10px; padding: 8px 12px 9px; } }

.checklist { display: grid; gap: .8rem; margin-top: 1.4rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .ico { color: var(--red); width: 1.4rem; height: 1.4rem; flex: none; margin-top: .12rem; }
.checklist b { display: block; font-family: var(--font-display); }
.checklist span { color: var(--muted); font-size: var(--step--1); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: .9rem; grid-auto-rows: 1fr; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery .g-lg { grid-column: span 6; aspect-ratio: 3/2; }
.gallery .g-sm { grid-column: span 3; aspect-ratio: 3/2; }
@media (max-width: 720px){
  .gallery .g-lg { grid-column: span 12; }
  .gallery .g-sm { grid-column: span 6; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue-900); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.4rem, 1.6rem + 4vw, 4.2rem) clamp(1.8rem, 1.2rem + 4vw, 4rem); position: relative; overflow: hidden; }
.cta-band::after {
  content:""; position:absolute; right:-70px; top:-70px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(225,25,25,.55), transparent 62%); pointer-events:none;
}
.cta-band::before {
  content:""; position:absolute; left:-40px; bottom:-80px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(20,84,128,.6), transparent 65%); pointer-events:none;
}
.cta-band__grid { display: grid; grid-template-columns: 1.4fr auto; gap: 1.6rem 2.5rem; align-items: center; position: relative; z-index: 1; }
@media (max-width: 760px){ .cta-band__grid { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: .7rem; max-width: 48ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Contact strip ---------- */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1rem; }
.info-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; gap: 1rem; align-items: flex-start; }
.info-card .ico { color: var(--red); width: 1.6rem; height: 1.6rem; flex: none; }
.info-card h4 { font-size: 1.02rem; margin-bottom: .2rem; }
.info-card p, .info-card a { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.5; }
.info-card a { font-weight: 600; color: var(--blue); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px){ .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--line-strong); border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-050); }
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- Map / anfahrt ---------- */
.map-embed { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Page hero (subpages) ---------- */
.pagehero { background: var(--surface); border-bottom: 1px solid var(--line); }
.pagehero__inner { padding-block: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.pagehero h1 { font-size: var(--step-4); }
.pagehero p { margin-top: .9rem; color: var(--muted); max-width: 58ch; }
.crumbs { display: flex; gap: .5rem; align-items: center; color: var(--muted); font-size: var(--step--1); margin-bottom: 1rem; font-family: var(--font-display); font-weight: 600; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.4rem; margin-bottom: .8rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8rem; margin-bottom: .5rem; }
.prose p { margin-top: .9rem; color: var(--ink-soft); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin-top: .8rem; display: grid; gap: .4rem; }
.prose ul li { padding-left: 1.3rem; position: relative; color: var(--ink-soft); }
.prose ul li::before { content:""; position:absolute; left:.1rem; top:.62rem; width:.5rem; height:.5rem; border-radius:2px; background: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(3.6rem, 2.6rem + 4vw, 5.5rem) 2.2rem; margin-top: clamp(3.5rem, 2rem + 4vw, 6rem); }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px){ .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 54px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1.1rem; }
.footer__brand p { font-size: var(--step--1); line-height: 1.6; max-width: 34ch; }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; opacity: .6; }
.footer ul { display: grid; gap: .55rem; }
.footer ul a { font-size: .95rem; }
.footer__contact div { display: flex; gap: .55rem; margin-bottom: .7rem; align-items: flex-start; font-size: .95rem; }
.footer__contact .ico { color: var(--red); width: 1.2rem; height: 1.2rem; flex: none; margin-top: .15rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer__bottom a { text-decoration: none; }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"]{ transition-delay: .08s; }
  .reveal[data-d="2"]{ transition-delay: .16s; }
  .reveal[data-d="3"]{ transition-delay: .24s; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; margin-inline: auto; }
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}
.text-muted{color:var(--muted)}
.hide-sm{ }
@media (max-width:560px){ .hide-sm{ display:none } }
.skip { position:absolute; left:-9999px; top:auto; }
.skip:focus { left:1rem; top:1rem; z-index:var(--z-top); background:#fff; padding:.7rem 1rem; border-radius:8px; box-shadow:var(--shadow-md); }

/* ============================================================
   Erweiterungen: Vollbild-Hero, Bento, Deko/Parallax
   ============================================================ */

/* ---------- Vollbild-Hero ---------- */
.hero-full {
  position: relative; isolation: isolate; overflow: clip;
  min-height: min(96vh, 920px); display: flex; align-items: center;
}
.hero-full__bg { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.hero-full__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-full::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(96deg, rgba(13,22,31,.9) 0%, rgba(13,22,31,.76) 34%, rgba(13,22,31,.34) 66%, rgba(13,22,31,.1) 100%);
}
.hero-full__inner { color: #fff; max-width: 680px; padding-block: clamp(3rem, 2rem + 6vw, 6.5rem); }
.hero-full .eyebrow { color: #fff; }
.hero-full__title {
  font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: clamp(2.8rem, 2rem + 5.4vw, 5.4rem); letter-spacing: -0.038em; line-height: 1.02;
  text-wrap: balance; margin-top: .7rem;
}
.hero-full__title .accent { color: var(--red); }
.hero-full .lead { color: rgba(255,255,255,.92); margin-top: 1.3rem; }
.hero-full__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero-full__trust { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; margin-top: 2.3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18); }
.hero-full__trust div { display: flex; align-items: baseline; gap: .55rem; }
.hero-full__trust b { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: #fff; letter-spacing: -.02em; }
.hero-full__trust span { color: rgba(255,255,255,.72); font-size: var(--step--1); line-height: 1.22; white-space: nowrap; }
@media (max-width: 420px){ .hero-full__trust span { white-space: normal; } }
.hero-full__chip {
  position: absolute; right: clamp(1rem, 3vw, 3rem); bottom: clamp(1rem, 3vw, 2.5rem); z-index: 2;
  display: flex; align-items: center; gap: .8rem; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); padding: .9rem 1.15rem; border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.hero-full__chip .dot { width: 42px; height: 42px; border-radius: 12px; background: var(--red-050); color: var(--red); display: grid; place-items: center; flex: none; }
.hero-full__chip b { font-family: var(--font-display); font-size: .98rem; display: block; color: var(--ink); }
.hero-full__chip span { font-size: .8rem; color: var(--muted); }
@media (max-width: 700px){
  .hero-full::after { background: linear-gradient(180deg, rgba(13,22,31,.5) 0%, rgba(13,22,31,.85) 100%); }
  .hero-full__chip { display: none; }
  .hero-full__inner { text-align: center; margin-inline: auto; }
  .hero-full .eyebrow { justify-content: center; }
  .hero-full .lead { margin-inline: auto; }
  .hero-full__actions { justify-content: center; }
  .hero-full__trust { justify-content: center; }
}

/* ---------- Bento-Galerie ---------- */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, clamp(150px, 15vw, 215px));
  grid-template-areas: "a a b c" "a a b d" "e e f g";
  gap: 1rem;
}
.bento a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bento a::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(13,22,31,.28)); opacity:0; transition: opacity .3s var(--ease); }
.bento a:hover img { transform: scale(1.07); }
.bento a:hover::after { opacity: 1; }
/* gestaffeltes Aufpoppen der Kacheln */
@media (prefers-reduced-motion: no-preference) {
  .bento.reveal { opacity: 1; transform: none; }
  .bento.reveal a { opacity: 0; transform: scale(.92) translateY(20px); transition: opacity .65s var(--ease-expo), transform .65s var(--ease-expo); }
  .bento.reveal.in a { opacity: 1; transform: none; }
  .bento.reveal.in .b1 { transition-delay: .00s; }
  .bento.reveal.in .b2 { transition-delay: .07s; }
  .bento.reveal.in .b3 { transition-delay: .13s; }
  .bento.reveal.in .b4 { transition-delay: .19s; }
  .bento.reveal.in .b5 { transition-delay: .25s; }
  .bento.reveal.in .b6 { transition-delay: .31s; }
  .bento.reveal.in .b7 { transition-delay: .37s; }
}
.bento .b1 { grid-area: a; } .bento .b2 { grid-area: b; } .bento .b3 { grid-area: c; }
.bento .b4 { grid-area: d; } .bento .b5 { grid-area: e; } .bento .b6 { grid-area: f; } .bento .b7 { grid-area: g; }
@media (max-width: 780px){
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: clamp(140px, 40vw, 190px); grid-template-areas: none; }
  .bento .b1, .bento .b2, .bento .b3, .bento .b4, .bento .b5, .bento .b6, .bento .b7 { grid-area: auto; }
  .bento .b1 { grid-column: 1 / -1; }
}

/* ---------- Deko / Parallax ---------- */
.section, .hero-full { position: relative; }
.section--deco { overflow: clip; }
.deco { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; filter: blur(42px); will-change: transform; }
.deco--red  { background: radial-gradient(circle, rgba(225,25,25,.42), transparent 68%); }
.deco--blue { background: radial-gradient(circle, rgba(20,84,128,.4), transparent 70%); }
.deco--ring { border: 2px solid rgba(225,25,25,.16); background: none; filter: none; }
.section > .wrap { position: relative; z-index: 1; }

/* großer, gedrehter „Spezi"-Wasserzeichen-Akzent möglich – dezent */
.brandmark {
  position: absolute; z-index: 0; pointer-events: none; font-family: var(--font-display);
  font-weight: 900; color: var(--surface-2); opacity: .5; letter-spacing: -.04em;
  font-size: clamp(6rem, 18vw, 16rem); line-height: 1; user-select: none;
}

/* ============================================================
   Feedback-Runde 2: Hero-Leuchten, Partner-Logos, Gewerke-Bento,
   Farbroller, Prozess, Modal, Cookie-Consent, Map-Consent
   ============================================================ */

/* ---------- Hero-Leuchten & Partikel ---------- */
.hero-full > .wrap { position: relative; z-index: 2; }
.hero-full__glow { position: absolute; z-index: 1; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .85; }
.hero-full__glow--tl { top: -140px; left: -110px; width: 440px; height: 440px; background: radial-gradient(circle, rgba(225,25,25,.5), transparent 66%); }
.hero-full__glow--br { right: -140px; bottom: -160px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(20,84,128,.62), transparent 68%); }
.hero-full__spark { position: absolute; z-index: 1; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 2px rgba(255,255,255,.7); opacity: 0; pointer-events: none; --dx: 14px; --dy: -22px; }
.hero-full__spark.s1 { top: 24%; left: 16%; width: 5px; height: 5px; --dx: 18px; --dy: -26px; }
.hero-full__spark.s2 { top: 60%; left: 26%; background: var(--red); box-shadow: 0 0 14px 3px rgba(225,25,25,.6); --dx: -16px; --dy: -20px; }
.hero-full__spark.s3 { top: 34%; left: 46%; width: 4px; height: 4px; --dx: 12px; --dy: 24px; }
.hero-full__spark.s4 { top: 72%; left: 58%; width: 7px; height: 7px; --dx: -20px; --dy: -18px; }
.hero-full__spark.s5 { top: 20%; right: 20%; width: 5px; height: 5px; --dx: 16px; --dy: 20px; }
.hero-full__spark.s6 { top: 54%; right: 12%; background: rgba(255,255,255,.92); width: 4px; height: 4px; --dx: -14px; --dy: -24px; }
.hero-full__spark.s7 { top: 84%; left: 40%; width: 5px; height: 5px; --dx: 10px; --dy: -22px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-full__spark { animation: twinkleSpark 9s var(--ease-expo) infinite; }
  .hero-full__spark.s1 { animation-duration: 8.5s;  animation-delay: -0.5s; }
  .hero-full__spark.s2 { animation-duration: 11s;   animation-delay: -3s; }
  .hero-full__spark.s3 { animation-duration: 7.5s;  animation-delay: -5s; }
  .hero-full__spark.s4 { animation-duration: 12s;   animation-delay: -1.5s; }
  .hero-full__spark.s5 { animation-duration: 9.5s;  animation-delay: -6.5s; }
  .hero-full__spark.s6 { animation-duration: 10.5s; animation-delay: -2.5s; }
  .hero-full__spark.s7 { animation-duration: 8s;    animation-delay: -4.5s; }
}
@keyframes twinkleSpark {
  0%   { opacity: 0; transform: translate(0,0) scale(.4); }
  15%  { opacity: .85; }
  50%  { opacity: .45; transform: translate(var(--dx), var(--dy)) scale(1); }
  85%  { opacity: .7; }
  100% { opacity: 0; transform: translate(calc(var(--dx) * 1.7), calc(var(--dy) * 1.7)) scale(.5); }
}
@media (max-width: 700px){ .hero-full__glow { filter: blur(60px); opacity: .6; } .hero-full__spark { display: none; } }

/* ---------- Partner-Logos ---------- */
.partnerbar { border-block: 1px solid var(--line); background: var(--surface); }
.partnerbar__inner { display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem, 3vw, 2.6rem); padding-block: 1.4rem; flex-wrap: wrap; }
.partnerbar__label { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: .92rem; }
.partner-logos { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2.2vw, 1.4rem); flex-wrap: wrap; }
.partner-logos li { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); height: 62px; padding: 0 clamp(.9rem, 2vw, 1.5rem); display: grid; place-items: center; }
.partner-logos img { max-height: 30px; width: auto; }
.partner-logos--cards { gap: clamp(1rem, 2.5vw, 1.8rem); margin-top: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.partner-logos--cards li { height: 92px; min-width: clamp(150px, 20vw, 210px); border-radius: var(--radius); }
.partner-logos--cards img { max-height: 42px; }

/* ---------- Gewerke-Bento ---------- */
.gewerke { position: relative; }
.gewerke-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gwk {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1.4vw, 1.9rem); display: flex; flex-direction: column; gap: .5rem;
  color: #fff; min-height: 100%; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.gwk::after { content: ""; position: absolute; right: -34px; top: -34px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); pointer-events: none; }
.gwk:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: #fff; }
.gwk--big { grid-column: span 2; }
.gwk__ico { width: 50px; height: 50px; border-radius: 13px; background: rgba(255,255,255,.18); display: grid; place-items: center; margin-bottom: .3rem; }
.gwk__ico .ico { width: 27px; height: 27px; color: #fff; }
.gwk h4 { color: #fff; font-size: 1.2rem; }
.gwk--big h4 { font-size: 1.4rem; }
.gwk p { color: rgba(255,255,255,.85); font-size: var(--step--1); line-height: 1.5; }
.gwk__more { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: #fff; }
.gwk__more .ico { transition: transform .2s var(--ease); }
.gwk:hover .gwk__more .ico { transform: translateX(4px); }
/* Farben + dezente, thematische Hintergrundmuster */
.gwk--baeder {
  background-color: var(--blue);
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 2px, transparent 2.5px);
  background-size: 26px 26px;
}
.gwk--fliesen {
  background-color: #4d565e;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.gwk--boden {
  background-color: #0f6f74;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 24px);
}
.gwk--material {
  background-color: var(--blue-900);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 17px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 17px);
}
.gwk--maler {
  background-color: var(--red);
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.09) 0 11px, transparent 11px 32px);
}
.gwk--service {
  background-color: var(--ink);
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1.5px, transparent 2px);
  background-size: 20px 20px;
}
.gwk--stuck {
  background-color: #6b5d4f;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 15px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.05) 0 2px, transparent 2px 15px);
  background-size: 22px 22px;
}
@media (max-width: 860px){ .gewerke-grid { grid-template-columns: repeat(2, 1fr); } .gwk--big { grid-column: span 1; } }
@media (max-width: 480px){ .gewerke-grid { grid-template-columns: 1fr; } }

/* ---------- Prozess / Steps ---------- */
/* Prozess: Sticky-Scroll (Steps links laufen, Panel rechts wechselt) */
.prozess__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
@media (max-width: 860px){ .prozess__grid { grid-template-columns: 1fr; } }

.steps { position: relative; display: grid; gap: 0; }
.steps__line { position: absolute; left: calc(1.7rem - 1px); top: 1.7rem; bottom: 1.7rem; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--red); transition: height .12s linear; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; align-items: start; padding-bottom: clamp(4.5rem, 3rem + 10vw, 11rem); }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative; z-index: 1; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: #fff; border: 2px solid var(--line-strong); color: var(--muted);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.step.is-active .step__num { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(225,25,25,.3); transform: scale(1.06); }
.step__body { padding-top: .55rem; transition: opacity .35s var(--ease); }
.step:not(.is-current) .step__body { opacity: .45; }
.step__body h4 { margin-bottom: .3rem; }
.step__body p { color: var(--muted); font-size: var(--step-0); line-height: 1.55; max-width: 46ch; }

.prozess__sticky { position: sticky; top: clamp(90px, 12vh, 130px); height: clamp(330px, 44vh, 430px); }
.prozess__panel {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(1.8rem, 1.2rem + 2.5vw, 3rem); border-radius: var(--radius-lg);
  background: linear-gradient(158deg, var(--blue-900), #12283e); color: #fff; overflow: hidden;
  opacity: 0; transform: translateY(26px); pointer-events: none;
  transition: opacity .55s var(--ease-expo), transform .55s var(--ease-expo);
}
.prozess__panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.prozess__panel::after { content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(225,25,25,.4), transparent 64%); pointer-events: none; }
.prozess__ico { position: relative; z-index: 1; width: 66px; height: 66px; border-radius: 18px; background: rgba(255,255,255,.13); display: grid; place-items: center; margin-bottom: 1.3rem; }
.prozess__ico .ico { width: 34px; height: 34px; color: #fff; }
.prozess__step { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: var(--step--1); color: #ff6a6a; letter-spacing: .05em; text-transform: uppercase; }
.prozess__panel h3 { position: relative; z-index: 1; color: #fff; margin: .35rem 0 .8rem; font-size: var(--step-2); }
.prozess__panel p { position: relative; z-index: 1; color: rgba(255,255,255,.85); font-size: var(--step-0); line-height: 1.6; max-width: 42ch; }
@media (prefers-reduced-motion: no-preference){ .prozess__panel.is-active .prozess__ico { animation: floatIco 3.6s var(--ease) infinite; } }
@keyframes floatIco { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }
@media (max-width: 860px){
  .prozess__sticky { display: none; }
  .step { padding-bottom: clamp(1.8rem, 1.2rem + 3vw, 2.6rem); }
}

/* ---------- Anfrage-Modal ---------- */
.modal { border: none; padding: 0; margin: auto; background: transparent; width: min(92vw, 580px); max-height: 88dvh; overflow-y: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(20,24,28,.72); backdrop-filter: blur(3px); }
@media (prefers-reduced-motion: no-preference){ .modal[open] { animation: modalIn .32s var(--ease-expo); } }
.modal__card { background: #fff; padding: clamp(2.2rem, 1.8rem + 2vw, 3.4rem) clamp(2.2rem, 1.8rem + 2vw, 3.4rem) .7rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: relative; }
.modal__card .eyebrow { margin-bottom: .5rem; }
.modal__card h2 { font-size: var(--step-2); }
.modal__card p { margin-top: .7rem; }
.modal__body { background: #fff; padding: 1.6rem clamp(2.2rem, 1.8rem + 2vw, 3.4rem) clamp(2.2rem, 1.8rem + 2vw, 3.4rem); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.modal__close { position: absolute; top: 1.1rem; right: 1.1rem; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink); box-shadow: none; }
.modal__close:hover { background: var(--surface-2); }
.anliegen__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
@media (max-width: 460px){ .anliegen__grid { grid-template-columns: repeat(2, 1fr); } }
.anliegen__opt { display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; padding: .95rem .5rem; border: 1.5px solid var(--line-strong); border-radius: 12px; cursor: pointer; background: #fff; width: 100%; font-family: var(--font-display); font-weight: 600; font-size: .82rem; color: var(--ink-soft); transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease); }
.anliegen__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); color: var(--blue); display: grid; place-items: center; transition: background .18s var(--ease), color .18s var(--ease); }
.anliegen__ico .ico { width: 21px; height: 21px; }
.anliegen__opt:hover { border-color: var(--red); background: var(--red-050); color: var(--ink); transform: translateY(-2px); }
.anliegen__opt:hover .anliegen__ico { background: var(--red); color: #fff; }
.anliegen__opt:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Feld-Picker (Feld, öffnet Modal) ---------- */
.anliegen-picker, .field-picker {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .8rem .9rem; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
  font: inherit; color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.anliegen-picker:hover, .field-picker:hover { border-color: var(--blue); }
.anliegen-picker:focus-visible, .field-picker:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-050); }
.anliegen-picker__val, .field-picker__val { font-weight: 600; }
.anliegen-picker .ico, .field-picker .ico { color: var(--red); flex: none; }

/* Optionsliste im generischen Auswahl-Modal */
.option-list { display: grid; gap: .5rem; }
.option-list button {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: 100%;
  text-align: left; padding: .95rem 1.1rem; border: 1.5px solid var(--line-strong); border-radius: 12px;
  background: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink-soft);
  cursor: pointer; transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.option-list button::after { content: ""; width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; transition: background .18s var(--ease), border-color .18s var(--ease); }
.option-list button:hover { border-color: var(--red); background: var(--red-050); color: var(--ink); }
.option-list button[aria-selected="true"] { border-color: var(--red); color: var(--ink); }
.option-list button[aria-selected="true"]::after { background: var(--red); border-color: var(--red); box-shadow: inset 0 0 0 2px #fff; }

/* ---------- Beratung: Formular-Layout + Info-Panel ---------- */
.split--form { grid-template-columns: 1.25fr .75fr; align-items: start; }
@media (max-width: 900px){ .split--form { grid-template-columns: 1fr; } }
.infobox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.infobox + .infobox { margin-top: 1.2rem; }
.infobox h3 { font-size: var(--step-1); margin-bottom: 1rem; }
.infobox__steps { display: grid; gap: 1rem; counter-reset: ib; }
.infobox__steps li { position: relative; padding-left: 2.6rem; }
.infobox__steps li::before { counter-increment: ib; content: counter(ib); position: absolute; left: 0; top: -2px; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .95rem; display: grid; place-items: center; }
.infobox__steps b { display: block; font-family: var(--font-display); }
.infobox__steps li { color: var(--muted); font-size: var(--step--1); line-height: 1.5; }
.infobox--contact p { margin-bottom: 1rem; }
.info-line { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); color: var(--ink); }
.info-line:first-of-type { border-top: none; }
.info-line .ico { color: var(--red); width: 1.5rem; height: 1.5rem; flex: none; }
.info-line b { display: block; font-family: var(--font-display); color: var(--ink); }
.info-line span { font-size: var(--step--1); line-height: 1.35; }
.info-line span { color: var(--muted); }
.info-line b { font-size: 1rem; }

/* ---------- Map-Consent ---------- */
.map-wrap { position: relative; }
.map-consent { position: absolute; inset: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .8rem; padding: 1.5rem; }
.map-consent .ico { color: var(--muted); }
.map-consent p { color: var(--muted); font-size: var(--step--1); max-width: 34ch; }
.map-wrap.is-loaded .map-consent { display: none; }

/* ---------- Malerarbeiten-Highlight + Farbroller ---------- */
.maler-hl { overflow: visible; }
.maler-hl__grid { align-items: center; gap: clamp(3.5rem, 1.8rem + 7vw, 8rem); }
.maler-hl__media { position: relative; overflow: visible; }
.maler-hl__media img:not(.paintband__roller) { aspect-ratio: 4 / 4.4; }
.maler-hl .feature__body h2 { font-size: var(--step-4); }
.maler-hl .lead { color: var(--ink-soft); }
/* breites Farbband rechts neben dem Bild, das der Roller beim Scrollen „malt" */
.paintband { position: absolute; top: 2%; bottom: 7%; left: auto; right: clamp(-78px, -5.5vw, -52px); width: clamp(66px, 7vw, 104px); z-index: 3; pointer-events: none; }
.paintband__stripe {
  position: absolute; left: 0; right: 0; top: 0; height: 0;
  background: var(--red);
  border-radius: 999px 999px 12px 12px;
}
/* leicht unregelmäßige, „tropfende" Unterkante */
.paintband__stripe::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -15px; height: 22px;
  background:
    radial-gradient(11px 20px at 18% 0, var(--red) 60%, transparent 62%),
    radial-gradient(8px 14px at 46% 0, var(--red) 60%, transparent 62%),
    radial-gradient(10px 22px at 80% 0, var(--red) 60%, transparent 62%);
}
.maler-hl__media img.paintband__roller {
  position: absolute; left: 50%; top: 0; width: clamp(185px, 17vw, 250px); max-width: none;
  height: auto; aspect-ratio: auto; object-fit: fill; border-radius: 0; box-shadow: none;
  transform: translate(-52%, -26%) scaleX(-1);
}
@media (max-width: 820px){
  .paintband { right: clamp(6px, 3vw, 22px); width: clamp(46px, 9vw, 66px); }
  .maler-hl__media img.paintband__roller { width: clamp(135px, 30vw, 185px); transform: translate(-44%, -26%) scaleX(-1); }
}

/* ── Angebote ───────────────────────────────────────── */
.ang-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:1.5rem; margin-top:1rem; }
.ang-card { background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; transition:transform .25s var(--ease), box-shadow .25s var(--ease); }
.ang-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.ang-card__img { position:relative; aspect-ratio:16/10; overflow:hidden; }
.ang-card__img img { width:100%; height:100%; object-fit:cover; }
.ang-badge { position:absolute; top:12px; left:12px; background:var(--red); color:#fff; font-weight:700; font-size:.8rem; padding:5px 12px; border-radius:999px; box-shadow:var(--shadow-sm); }
.ang-card__body { padding:1.3rem 1.4rem 1.5rem; display:flex; flex-direction:column; gap:.35rem; flex:1; }
.ang-card__body h3 { margin:.1rem 0; }
.ang-price { display:flex; align-items:baseline; gap:.7rem; margin-top:.5rem; }
.ang-price__old { color:var(--muted); text-decoration:line-through; font-size:1rem; }
.ang-price__new { color:var(--red); font-weight:800; font-size:1.5rem; }
.ang-note { color:var(--muted); font-size:.85rem; margin-top:auto; padding-top:.5rem; }
.ang-disclaimer { margin-top:1.6rem; padding:1rem 1.2rem; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); color:var(--ink-soft); font-size:.92rem; }
.ang-cta { margin-top:2rem; padding:1.6rem 1.8rem; background:var(--blue-050); border:1px solid var(--line); border-radius:var(--radius-lg); display:flex; align-items:center; justify-content:space-between; gap:1.2rem; flex-wrap:wrap; }
.ang-cta h2 { margin:0; }

.prozess__list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; max-width: 44ch; }
.prozess__list li { position: relative; padding-left: 1.55rem; color: rgba(255,255,255,.9); font-size: var(--step-0); line-height: 1.45; }
.prozess__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; border-radius: 50%; background: #ff6a6a; }

/* Sprachumschalter (Header/Drawer) — Flaggen */
.langsw{display:inline-flex;gap:7px;align-items:center;margin:0}
.langsw__flag{width:26px;height:18px;border-radius:4px;overflow:hidden;display:block;opacity:.5;transition:.15s;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.langsw__flag svg{width:100%;height:100%;display:block}
.langsw__flag:hover{opacity:1;transform:translateY(-1px)}
.langsw__flag.is-active{opacity:1;box-shadow:0 0 0 2px var(--red,#e11919)}
.langsw--drawer{justify-content:center;margin:.2rem 0 1.1rem}
.langsw--drawer .langsw__flag{width:34px;height:23px}
