/* ==========================================================================
   PR-KomplettSanierung: Main Stylesheet (mobile first)
   Fonts: Barlow Condensed (Display) + Manrope (Text): self-hosted
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Markenfarben (unverändert von pr-sanierung.de) */
  --red: #d83c2e;
  --red-600: #c2321f;
  --red-glow: rgb(216 60 46 / .35);
  --graphite: #393e42;
  --graphite-800: #24282b;
  --ink: #16191b;
  --paper: #f5f4f4;
  --white: #fff;
  --text: #2b2f32;
  --muted: #646a70;
  --muted-light: rgb(255 255 255 / .68);
  --line: rgb(22 25 27 / .1);
  --line-light: rgb(255 255 255 / .12);

  --f-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 1.25rem;
  --max: 1320px;
  --radius: 4px;
  --radius-lg: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 24px 60px -24px rgb(0 0 0 / .35);
  --section-y: clamp(4.5rem, 10vw, 9rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); interpolate-size: allow-keywords; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: var(--white); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 999; background: var(--red); color: #fff; padding: .75rem 1rem; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Icons ---------- */
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.ico--xs { width: .85em; height: .85em; }
.ico--sm { width: 1.05em; height: 1.05em; }
.ico--md { width: 1.6rem; height: 1.6rem; }
.ico--lg { width: 2rem; height: 2rem; }

/* ---------- Typo ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 1.6rem + 3.2vw, 4.25rem);
  line-height: .98;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: balance;
}
.section--dark .h2, .section--graphite .h2 { color: var(--white); }
.lead { font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem); line-height: 1.65; color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #ff8a7f; }
.hero__eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(216 60 46 / .7); } 70% { box-shadow: 0 0 0 12px rgb(216 60 46 / 0); } 100% { box-shadow: 0 0 0 0 rgb(216 60 46 / 0); } }

.link-arrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--red); padding-bottom: .2rem; }
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .9rem 1.6rem;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  color: var(--fg); background: var(--bg);
  border-radius: var(--radius);
  transition: color .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--white));
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .ico { transition: transform .45s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { --bg: var(--red); --hover: var(--ink); box-shadow: 0 14px 30px -12px var(--red-glow); }
.btn--dark { --bg: var(--ink); --hover: var(--red); }
.btn--glass { --bg: rgb(255 255 255 / .08); --hover: var(--white); border: 1px solid rgb(255 255 255 / .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { color: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--white); --hover: rgb(255 255 255 / .1); border: 1px solid var(--line-light); }
.btn--sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .875rem; }
.btn--lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(22 25 27 / .82);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  opacity: 0; transition: opacity .4s;
  border-bottom: 1px solid var(--line-light);
}
.site-header.is-scrolled::before, .menu-open .site-header::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand__logo { width: 44px; height: 44px; transition: transform .8s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-20deg); }
.brand__text { display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.brand__text strong { color: var(--red); font-weight: 700; }
.brand__text small { font-family: var(--f-body); font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: none; opacity: .7; margin-top: .3rem; }

.nav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.header-phone, .header-cta { display: none; }

.burger { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); background: rgb(255 255 255 / .06); }
.burger__lines, .burger__lines::before, .burger__lines::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { transform: translateY(-6px); }
.burger__lines::after { transform: translateY(6px); }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--white);
  padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 2rem;
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0% at calc(100% - 44px) 36px);
  transition: clip-path .8s var(--ease-in-out);
}
.mobile-menu[hidden] { display: block; visibility: hidden; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; }
.mobile-menu__list a {
  display: block; padding: .35rem 0;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.25rem, 10vw, 3.25rem);
  text-transform: uppercase; line-height: 1.1;
}
.mobile-menu__list a:hover { color: var(--red); }
.mobile-menu__label { font-family: var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: #ff8a7f; margin: 2rem 0 .75rem; font-weight: 600; }
.mobile-menu__services { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; }
.mobile-menu__services a { color: var(--muted-light); font-size: .95rem; }
.mobile-menu__contact { display: grid; gap: .75rem; margin-top: 2.25rem; }
.mobile-menu li, .mobile-menu__label, .mobile-menu__services, .mobile-menu__contact {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.mobile-menu.is-open li, .mobile-menu.is-open .mobile-menu__label, .mobile-menu.is-open .mobile-menu__services, .mobile-menu.is-open .mobile-menu__contact {
  opacity: 1; transform: none; transition-delay: calc(.25s + var(--i, 0) * .06s);
}
.mobile-menu__services li { opacity: 1; transform: none; }
body.menu-open { overflow: hidden; }

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; min-height: max(100svh, 620px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--ink);
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.12); animation: heroZoom 2.6s var(--ease) .1s forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(22 25 27 / .65) 0%, rgb(22 25 27 / .1) 30%, rgb(22 25 27 / .55) 58%, rgb(22 25 27 / .95) 100%);
}
.hero__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .92; letter-spacing: -.01em; font-size: clamp(2.2rem, 11.2vw, 7.75rem); margin-bottom: 1.35rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__title .line--sm { font-size: .36em; line-height: 1.15; font-weight: 600; letter-spacing: .04em; margin-top: .4em; color: rgb(255 255 255 / .9); }
.hero__lead { max-width: 36rem; color: rgb(255 255 255 / .82); font-size: clamp(1rem, .95rem + .3vw, 1.175rem); margin-bottom: 1.9rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero__actions .btn { flex: 1 1 220px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; font-size: .875rem; color: rgb(255 255 255 / .85); padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust li .ico--sm { color: var(--red); }
.trust-google { display: inline-flex; align-items: center; gap: .65rem; }
.trust-google > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .1rem .45rem; }
.trust-google strong { font-size: 1.05rem; }
.trust-google small { width: 100%; font-size: .75rem; opacity: .7; }
.stars { display: inline-flex; gap: 2px; color: #fbbc05; }

/* Hero intro animation */
[data-hero-in] { opacity: 0; transform: translateY(40px); animation: heroIn 1.1s var(--ease) forwards; animation-delay: calc(.15s + var(--d, 0) * .1s); }
.hero__title [data-hero-in] { transform: translateY(105%); opacity: 1; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero__badge { display: none; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--ink); color: var(--muted-light); }
.section--graphite { background: var(--graphite); color: var(--muted-light); }
.section--paper { background: var(--paper); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head__text { max-width: 34rem; font-size: 1.05rem; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-light); }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat { display: flex; flex-direction: column-reverse; padding: 1.75rem .5rem 1.75rem 0; border-bottom: 1px solid var(--line-light); }
.stat:nth-child(odd) { border-right: 1px solid var(--line-light); }
.stat:nth-child(even) { padding-left: 1.25rem; }
.stat__value { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.stat__suffix { color: var(--red); }
.stat__label { font-size: .825rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); margin-top: .5rem; }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 3.5rem; }
.about__text > * + * { margin-top: 1.4rem; }
.about__text .h2 { margin-top: 0; }
.facts { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin-top: 2rem !important; }
.facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { color: var(--muted); }
.about__media { position: relative; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 115%; object-fit: cover; }
.about__badge {
  position: absolute; left: 1rem; right: 1rem; bottom: -1.5rem;
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); padding: 1rem 1.15rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); font-size: .875rem; color: var(--muted);
}
.about__badge img { width: 52px; height: 52px; animation: spin 18s linear infinite; }
.about__badge strong { display: block; font-family: var(--f-display); font-size: 1.25rem; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: var(--white); overflow: hidden; padding: 1.1rem 0; transform: rotate(-1.2deg) scale(1.02); margin-block: -.5rem; position: relative; z-index: 2; }
.marquee__track { display: flex; align-items: center; gap: 1.75rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.75rem, 5vw, 3rem); line-height: 1; white-space: nowrap; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1.2px var(--white); }
.marquee i { font-style: normal; font-size: 1.1rem; opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services__grid { display: grid; gap: 1.25rem; }
.service-card__link { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; position: relative; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.service-card__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.service-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--graphite); position: relative; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.service-card--brand .service-card__media { background: radial-gradient(circle at 30% 20%, #e5574a, var(--red) 40%, var(--red-600)); display: grid; place-items: center; }
.service-card__logo { width: 42% !important; height: auto !important; object-fit: contain !important; filter: brightness(0) invert(1); opacity: .95; animation: spin 30s linear infinite; }
.service-card__body { padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.service-card__num { font-family: var(--f-display); font-weight: 600; color: var(--red); letter-spacing: .1em; font-size: .9rem; }
.service-card__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.service-card__text { color: var(--muted); font-size: .95rem; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--ink); margin-top: .4rem; }
.service-card__more .ico { color: var(--red); transition: transform .5s var(--ease); }
@media (hover: hover) {
  .service-card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .service-card__link:hover::after { transform: scaleX(1); }
  .service-card__link:hover .service-card__media img { transform: scale(1.08); }
  .service-card__link:hover .service-card__more .ico { transform: translate(3px, -3px); }
}
.services__more { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 2.5rem; font-weight: 700; color: var(--ink); }
.services__more ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Projects ---------- */
.projects { overflow: hidden; }
.projects__rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.projects__rail::-webkit-scrollbar { display: none; }
.projects__grid { display: flex; gap: .9rem; width: max-content; }
.project { width: 78vw; max-width: 360px; scroll-snap-align: start; }
.project__btn { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; text-align: left; background: var(--graphite-800); }
.project__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(22 25 27 / .9)); }
.project__info { position: absolute; left: 1.15rem; right: 1.15rem; bottom: 1.1rem; z-index: 1; display: grid; gap: .2rem; }
.project__cat { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #ff8a7f; font-weight: 700; }
.project__title { font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; line-height: 1.05; color: var(--white); text-transform: uppercase; }
.project__zoom { position: absolute; top: 1rem; right: 1rem; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white); transition: transform .5s var(--ease), background-color .3s; }
@media (hover: hover) {
  .project__btn:hover img { transform: scale(1.07); }
  .project__btn:hover .project__zoom { background: var(--red); transform: rotate(90deg); }
}
.projects__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; }
.rail-progress { flex: 1; max-width: 240px; height: 2px; background: var(--line-light); position: relative; overflow: hidden; }
.rail-progress span { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, .15)); transition: transform .2s linear; }

/* ---------- Process ---------- */
.process__grid { display: grid; gap: 3rem; }
.process__intro > * + * { margin-top: 1.4rem; }
.process__intro .btn { margin-top: 2rem; }
.steps { position: relative; padding-left: 3.75rem; }
.steps__line { position: absolute; left: 1.35rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(var(--p, 0)); }
.steps__list { display: grid; gap: 2.5rem; }
.step { position: relative; }
.step__num { position: absolute; left: -3.75rem; top: -.2rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 2px solid var(--line); font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); transition: background-color .5s, border-color .5s, color .5s; }
.step.is-active .step__num { background: var(--red); border-color: var(--red); color: var(--white); }
.step__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.75rem; line-height: 1.05; color: var(--ink); margin-bottom: .5rem; }
.step p { color: var(--muted); }

/* ---------- Why ---------- */
.why { overflow: hidden; isolation: isolate; }
.why__bg { position: absolute; inset: -15% 0; z-index: -1; opacity: .16; }
.why__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, transparent, var(--graphite) 70%); }
.why__grid { display: grid; gap: 1rem; }
.why-card { padding: 2rem 1.6rem; border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: rgb(22 25 27 / .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .5s, transform .6s var(--ease), background-color .5s; }
.why-card:hover { border-color: rgb(216 60 46 / .6); transform: translateY(-4px); background: rgb(22 25 27 / .55); }
.why-card__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--white); margin-bottom: 1.5rem; box-shadow: 0 12px 30px -10px var(--red-glow); }
.why-card__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: 1.65rem; line-height: 1.05; margin-bottom: .65rem; }

/* ---------- Reviews ---------- */
.reviews .section-head { align-items: end; }
.rating-card { display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); justify-self: start; transition: box-shadow .4s, transform .4s var(--ease); }
.rating-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.rating-card__score { font-family: var(--f-display); font-weight: 700; font-size: 2.75rem; line-height: 1; color: var(--ink); }
.rating-card__meta { display: grid; gap: .2rem; }
.rating-card__meta small { color: var(--muted); font-size: .8rem; }
.reviews__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.reviews__track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 86%; scroll-snap-align: start; }
.review figure { height: 100%; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.75rem 1.5rem; background: var(--paper); border-radius: var(--radius-lg); position: relative; }
.review figure::before { content: "“"; position: absolute; top: .25rem; right: 1.25rem; font-family: var(--f-display); font-size: 6rem; line-height: 1; color: var(--red); opacity: .18; }
.review__text { flex: 1; color: var(--text); font-size: .975rem; }
.review__author { display: flex; align-items: center; gap: .85rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.review__author strong { display: block; color: var(--ink); line-height: 1.3; }
.review__author small { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .78rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; flex-shrink: 0; }
.slider-nav { display: flex; gap: .6rem; margin-top: 1.5rem; }
.slider-btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.slider-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.slider-btn--prev .ico { transform: scaleX(-1); }
.slider-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- Areas ---------- */
.areas__grid { display: grid; gap: 3rem; align-items: center; }
.areas__grid > div:first-child > * + * { margin-top: 1.4rem; }
.areas__list { display: grid; gap: 0; margin-top: 2rem !important; border-top: 1px solid var(--line); }
.areas__list a { display: flex; align-items: center; gap: .75rem; padding: .95rem .25rem; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: padding .4s var(--ease), color .3s; }
.areas__list a span { flex: 1; }
.areas__list a .ico:first-child { color: var(--red); }
.areas__list a .ico:last-child { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.areas__list a:hover { padding-left: .75rem; color: var(--red); }
.areas__list a:hover .ico:last-child { opacity: 1; transform: none; }

.radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, var(--white) 0%, rgb(255 255 255 / .4) 70%, transparent 71%); }
.radar__ring { position: absolute; inset: 0; margin: auto; width: calc(100% * var(--s)); height: calc(100% * var(--s)); border: 1px dashed rgb(57 62 66 / .25); border-radius: 50%; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgb(216 60 46 / .22), transparent 25%); animation: spin 7s linear infinite; mask: radial-gradient(circle, #000 70%, transparent 71%); -webkit-mask: radial-gradient(circle, #000 70%, transparent 71%); }
.radar__dot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: .4rem; }
.radar__dot i { width: 10px; height: 10px; border-radius: 50%; background: var(--graphite); box-shadow: 0 0 0 4px rgb(57 62 66 / .15); flex-shrink: 0; }
.radar__dot b { font-size: .72rem; font-weight: 700; color: var(--ink); white-space: nowrap; background: rgb(255 255 255 / .85); padding: .1rem .4rem; border-radius: 3px; }
.radar__dot--flip { flex-direction: row-reverse; transform: translate(calc(-100% + 5px), -50%); }
.radar.is-in .radar__dot--flip { animation-name: popFlip; }
@keyframes popFlip { from { opacity: 0; transform: translate(calc(-100% + 5px), -50%) scale(.4); } }
.areas { overflow: clip; }
.radar__dot--hq i { width: 16px; height: 16px; background: var(--red); animation: pulse 2.4s infinite; }
.radar__dot--hq b { background: var(--red); color: var(--white); }
.radar__km { position: absolute; right: 8%; top: 12%; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: var(--graphite); letter-spacing: .08em; }
.radar.is-in .radar__dot { animation: pop .7s var(--ease) both; animation-delay: calc(.3s + var(--d) * .09s); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.4); } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 3rem; }
.faq__help { margin-top: 2.25rem; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--ink); color: var(--muted-light); }
.faq__help h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: 1.6rem; line-height: 1.05; margin-bottom: .6rem; }
.faq__help .link-arrow { color: var(--white); margin-top: 1.25rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.35rem 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.075rem; font-weight: 700; line-height: 1.4; color: var(--ink); transition: color .3s; }
.faq-item summary:hover h3 { color: var(--red); }
.faq-item__icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--red); color: var(--white); border-color: var(--red); }
.faq-item__body { padding: 0 3.5rem 1.5rem 0; color: var(--muted); }
.faq-item__body a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -25vmax; top: -25vmax; border-radius: 50%; background: radial-gradient(circle, rgb(216 60 46 / .22), transparent 65%); pointer-events: none; }
.contact__grid { display: grid; gap: 3rem; position: relative; }
.contact__info > * + * { margin-top: 1.4rem; }
.contact__list { display: grid; gap: 1.1rem; margin-top: 2.25rem !important; }
.contact__list li { display: flex; gap: 1rem; align-items: center; }
.contact__list small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.contact__list a, .contact__list li > span:last-child { color: var(--white); font-weight: 600; }
.contact__list a:hover { color: #ff8a7f; }
.contact__ico { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); color: var(--red); }

.contact__form-wrap { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: 1.75rem 1.25rem; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.5rem 1rem .6rem; min-height: 58px;
  border: 1px solid #d9dadb; border-radius: var(--radius); background: #fafafa;
  font-size: 1rem; color: var(--ink); transition: border-color .3s, background-color .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field label { position: absolute; left: 1rem; top: 1.05rem; color: var(--muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px rgb(216 60 46 / .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-.6rem) scale(.75); color: var(--red); }
.field--select select { padding-right: 2.5rem; cursor: pointer; }
.field__chev { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); background: #fff6f5; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; color: var(--muted); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 22px; height: 22px; flex-shrink: 0; border: 1.5px solid #c9cacb; border-radius: 4px; display: grid; place-items: center; color: transparent; margin-top: .1rem; transition: background-color .25s, border-color .25s, color .25s; }
.check input:checked + .check__box { background: var(--red); border-color: var(--red); color: var(--white); }
.check input:focus-visible + .check__box { outline: 2px solid var(--red); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: var(--red); }
.check a { color: var(--ink); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: .9rem; font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: #1f7a3f; }
.form__status.is-error { color: var(--red); }
.form.is-loading button[type="submit"] { opacity: .7; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding: 4rem 0 7rem; border-top: 1px solid var(--line-light); }
.footer-cta { display: grid; gap: 1.5rem; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer-cta__slogan { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: clamp(2.5rem, 8vw, 6rem); line-height: .92; }
.footer-cta .btn { justify-self: start; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-col p { font-size: .925rem; margin-top: 1.25rem; max-width: 26rem; }
.brand--footer { color: var(--white); }
.footer-title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: 1.2rem; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-title--sm { margin-top: 1.75rem; font-size: 1rem; }
.footer-links { display: grid; gap: .45rem; font-size: .925rem; }
.footer-links a, .footer-contact a { transition: color .3s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-col:not(.footer-col--brand) > .footer-links:not(.footer-links--inline) { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
@media (min-width: 640px) { .footer-col > .footer-links:not(.footer-links--inline) { grid-template-columns: 1fr !important; } }
.footer-links--inline { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.footer-contact { display: grid; gap: .75rem; font-size: .925rem; }
.footer-contact > * { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact .ico { color: var(--red); margin-top: .25rem; }
.social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); color: var(--white); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-bottom { display: grid; gap: .75rem; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line-light); font-size: .8rem; }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 80;
  display: grid; grid-template-columns: auto 1fr; gap: .5rem; padding: .4rem;
  background: rgb(22 25 27 / .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-light); border-radius: 12px; box-shadow: 0 20px 40px -10px rgb(0 0 0 / .5);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.1rem; border-radius: 8px; color: var(--white); font-weight: 700; font-size: .925rem; }
.mobile-bar__btn--primary { background: var(--red); }

/* ---------- Lightbox ---------- */
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 11 12 / .96); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; animation: fade .4s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox__figure { max-width: min(92vw, 1100px); display: grid; gap: .9rem; justify-items: center; }
.lightbox__figure img { max-height: 80svh; width: auto; border-radius: 8px; animation: zoomIn .5s var(--ease); }
.lightbox__figure figcaption { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; text-align: center; }
.lightbox__close, .lightbox__nav { position: fixed; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .1); color: var(--white); transition: background-color .3s; z-index: 2; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { bottom: 1.25rem; }
.lightbox__nav--prev { left: calc(50% - 60px); }
.lightbox__nav--prev .ico { transform: scaleX(-1); }
.lightbox__nav--next { right: calc(50% - 60px); }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.js .reveal-clip img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.js .reveal-clip.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-clip.is-in img { transform: scale(1); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 2rem; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .review { flex-basis: 60%; }
  .project { width: 46vw; }
  .contact__form-wrap { padding: 2.5rem 2.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 0 0 auto; }
  .about__badge { left: auto; right: -1rem; max-width: 300px; }
}

@media (min-width: 768px) {
  .hero__title .line--sm { font-size: .3em; }
  .hero__shade { background: linear-gradient(90deg, rgb(22 25 27 / .92) 0%, rgb(22 25 27 / .6) 45%, rgb(22 25 27 / .15) 100%), linear-gradient(180deg, rgb(22 25 27 / .6), transparent 25%, transparent 70%, rgb(22 25 27 / .7)); }
  .hero__img { object-position: 60% 50%; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 2.5rem 1.5rem; border-bottom: 0; border-right: 1px solid var(--line-light); }
  .stat:nth-child(even) { padding-left: 1.5rem; }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 2.5rem; }
}

@media (min-width: 1024px) {
  :root { --gutter: 2.5rem; --header-h: 88px; }
  .nav { display: block; }
  .nav__list { display: flex; align-items: center; gap: .25rem; }
  .nav__link { position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem; font-size: .925rem; font-weight: 600; color: rgb(255 255 255 / .85); transition: color .3s; }
  .nav__link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .nav__link:hover, .nav__link[aria-current] { color: var(--white); }
  .nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
  .nav__item--dd { position: relative; }
  .nav__item--dd .ico { transition: transform .4s var(--ease); }
  .nav__item--dd:hover .ico, .nav__item--dd:focus-within .ico { transform: rotate(180deg); }
  .dropdown { position: absolute; top: 100%; left: -1rem; padding-top: .75rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .45s var(--ease), visibility .35s; }
  .nav__item--dd:hover .dropdown, .nav__item--dd:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
  .dropdown ul { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1rem; width: 440px; padding: 1rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: var(--ink); }
  .dropdown a { display: flex; align-items: center; justify-content: space-between; padding: .6rem .75rem; border-radius: 6px; font-size: .9rem; font-weight: 600; transition: background-color .3s, color .3s; }
  .dropdown a .ico { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); color: var(--red); }
  .dropdown a:hover { background: var(--paper); color: var(--red); }
  .dropdown a:hover .ico { opacity: 1; transform: none; }
  .header-phone { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: rgb(255 255 255 / .85); }
  .header-phone:hover { color: var(--white); }
  .header-phone .ico { color: var(--red); }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
  .site-header.is-scrolled { --header-h: 74px; }
  .brand__logo { width: 52px; height: 52px; }

  .hero { padding-bottom: 4.5rem; }
  .hero__content { position: relative; }
  .hero__lead { margin-bottom: 2.25rem; }
  .hero__trust { max-width: 46rem; }
  .hero__badge {
    display: grid; place-items: center;
    position: absolute; right: var(--gutter); bottom: 4.5rem; width: 140px; height: 140px;
    color: var(--white); opacity: 0; animation: heroIn 1.2s var(--ease) 1.2s forwards;
  }
  .hero__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
  .hero__badge-ring text { font-family: var(--f-display); font-weight: 600; font-size: 10.5px; letter-spacing: .2em; fill: currentColor; }
  .hero__badge-core { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--red); transition: transform .5s var(--ease); }
  .hero__badge:hover .hero__badge-core { transform: scale(1.12); }
  .ico--rot { transform: rotate(90deg); }

  .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 3rem; }
  .section-head--center { grid-template-columns: 1fr; max-width: 76rem; margin-inline: auto; }
  .section-head__text { justify-self: end; }
  .section-head--center .section-head__text { justify-self: center; max-width: 56rem; }

  .about__grid { grid-template-columns: 1.1fr .9fr; gap: 6rem; align-items: center; }
  .about__badge { right: -2rem; bottom: 2.5rem; }

  .services__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .service-card:nth-child(3n + 2) { transform: translateY(3rem); }
  .js .service-card.reveal:nth-child(3n + 2) { transform: translateY(calc(3rem + 36px)); }
  .js .service-card.reveal.is-in:nth-child(3n + 2) { transform: translateY(3rem); }
  .services__more { margin-top: 5rem; }

  .projects__rail { overflow: visible; padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
  .projects__grid { display: grid; width: auto; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 118px; gap: 1rem; }
  .project { width: auto; max-width: none; }
  .project__btn { aspect-ratio: auto; height: 100%; }
  .project--1 { grid-column: span 7; grid-row: span 4; }
  .project--2 { grid-column: span 5; grid-row: span 4; }
  .project--3 { grid-column: span 4; grid-row: span 3; }
  .project--4 { grid-column: span 4; grid-row: span 3; }
  .project--5 { grid-column: span 4; grid-row: span 3; }
  .project--6 { grid-column: span 3; grid-row: span 3; }
  .project--7 { grid-column: span 3; grid-row: span 3; }
  .project--8 { grid-column: span 3; grid-row: span 3; }
  .project--9 { grid-column: span 3; grid-row: span 3; }
  .rail-progress { visibility: hidden; }
  .projects__foot { justify-content: flex-end; margin-top: 2.5rem; }

  .process__grid { grid-template-columns: .9fr 1.1fr; gap: 6rem; align-items: start; }
  .process__intro { position: sticky; top: calc(var(--header-h) + 3rem); }
  .steps { padding-left: 5.5rem; }
  .steps__line { left: 2rem; }
  .steps__list { gap: 4.5rem; }
  .step__num { left: -5.5rem; width: 4rem; height: 4rem; font-size: 1.4rem; top: -.6rem; }
  .step__title { font-size: 2.25rem; }

  .why-card { padding: 2.75rem 2.25rem; }

  .reviews .section-head { grid-template-columns: 1fr auto; }
  .rating-card { justify-self: end; }
  .review { flex-basis: calc((100% - 2rem) / 3); }
  .reviews__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }

  .areas__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .areas__list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }

  .faq__grid { grid-template-columns: .85fr 1.15fr; gap: 6rem; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 3rem); }

  .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
  .contact__form-wrap { padding: 3rem; }

  .footer-cta { grid-template-columns: 1fr auto; align-items: end; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem; }
}

@media (min-width: 1440px) {
  .hero__title { font-size: 8.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .js .reveal, .js .reveal-clip, .js .reveal-clip img { opacity: 1; transform: none; clip-path: none; }
}

/* Endlos-Animationen außerhalb des Viewports pausieren (Akku/Performance) */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* ==========================================================================
   Unterseiten: gemeinsame Komponenten
   ========================================================================== */
.btn--outline { --bg: transparent; --fg: var(--ink); --hover: var(--ink); border: 1px solid rgb(22 25 27 / .25); }
.btn--outline:hover { color: var(--white); }

/* ---------- Page Hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 62svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 7rem;
  background: var(--ink); color: var(--white);
}
.page-hero__media { position: absolute; inset: -8% 0 0; z-index: -2; }
.page-hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: heroZoom 2.4s var(--ease) forwards; }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(22 25 27 / .78) 0%, rgb(22 25 27 / .55) 45%, rgb(22 25 27 / .95) 100%); }
.page-hero__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .95; font-size: clamp(2.1rem, 9.2vw, 6rem); letter-spacing: -.005em; margin-bottom: 1.25rem; }
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.page-hero__title .line > span { display: inline-block; }
.page-hero__title [data-hero-in] { transform: translateY(105%); opacity: 1; }
.page-hero__title em { font-style: normal; color: var(--red); }
.page-hero__lead { max-width: 44rem; color: rgb(255 255 255 / .8); font-size: clamp(1rem, .95rem + .3vw, 1.175rem); }

.breadcrumbs { margin-bottom: 1.5rem; font-size: .825rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; color: rgb(255 255 255 / .6); }
.breadcrumbs li + li::before { content: "/"; opacity: .45; }
.breadcrumbs a { color: rgb(255 255 255 / .8); transition: color .3s; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current] { color: #ff8a7f; font-weight: 600; }

/* ---------- Schnellkontakt-Karten ---------- */
.quick { position: relative; z-index: 3; margin-top: -4.5rem; }
.quick__grid { display: grid; gap: .9rem; }
.quick-card__link {
  position: relative; display: grid; gap: .3rem; height: 100%;
  padding: 1.5rem 1.4rem; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -28px rgb(0 0 0 / .45), 0 0 0 1px var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  overflow: hidden;
}
.quick-card__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.quick-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgb(216 60 46 / .1); color: var(--red); margin-bottom: .6rem; transition: background-color .4s, color .4s; }
.quick-card__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.quick-card__value { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; color: var(--ink); word-break: break-word; }
.quick-card__meta { font-size: .875rem; color: var(--muted); }
.quick-card__arrow { position: absolute; top: 1.4rem; right: 1.4rem; color: var(--muted); transition: transform .5s var(--ease), color .3s; }
@media (hover: hover) {
  .quick-card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
  .quick-card__link:hover::after { transform: scaleX(1); }
  .quick-card__link:hover .quick-card__icon { background: var(--red); color: var(--white); }
  .quick-card__link:hover .quick-card__arrow { transform: translate(3px, -3px); color: var(--red); }
}
.open-status { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.open-status i { width: 8px; height: 8px; border-radius: 50%; background: #9aa0a6; flex-shrink: 0; }
.open-status.is-open { color: #1f7a3f; font-weight: 600; }
.open-status.is-open i { background: #22a35a; animation: pulseGreen 2.2s infinite; }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgb(34 163 90 / .6); } 70% { box-shadow: 0 0 0 9px rgb(34 163 90 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 163 90 / 0); } }

@media (max-width: 639px) {
  .quick-card__link { grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .1rem; padding: 1.1rem 1.15rem; align-items: center; }
  .quick-card__icon { grid-row: span 3; margin: 0; width: 48px; height: 48px; }
  .quick-card__value { font-size: 1.3rem; }
  .quick-card__arrow { top: 1rem; right: 1rem; }
}

/* ---------- Kontakt: Formularbereich ---------- */
.contact-page__grid { display: grid; gap: 3rem; }
.contact-page__intro > * + * { margin-top: 1.4rem; }
.next-steps__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; color: var(--ink); margin-top: 2.5rem !important; }
.next-steps { display: grid; border-top: 1px solid var(--line); }
.next-steps li { display: flex; gap: 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.next-steps__num { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--red); min-width: 2.2rem; }
.next-steps strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.next-steps p { color: var(--muted); font-size: .95rem; }
.tip { display: flex; gap: 1rem; padding: 1.25rem 1.35rem; background: var(--paper); border-left: 3px solid var(--red); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; font-size: .925rem; color: var(--muted); }
.tip__icon { color: var(--red); flex-shrink: 0; }
.tip strong { color: var(--ink); }
.tip a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem 1.25rem; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .35), 0 0 0 1px var(--line); position: relative; }
.form-card::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 3px; background: var(--red); border-radius: 0 0 3px 3px; }
.form-card__head { margin-bottom: 1.5rem; }
.form-card__head h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.form-card__head p { font-size: .85rem; color: var(--muted); margin-top: .4rem; }

/* ---------- Standort ---------- */
.location__grid { display: grid; gap: 3rem; align-items: center; }
.location__info > * + * { margin-top: 1.5rem; }
.location__address { font-size: 1.05rem; line-height: 1.7; color: var(--text); }
.location__address strong { display: block; color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours caption { text-align: left; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; color: var(--ink); margin-bottom: .5rem; }
.hours th, .hours td { padding: .75rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; color: var(--ink); }
.hours td { text-align: right; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red); font-weight: 700; }
.location__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.location__areas p { font-weight: 700; color: var(--ink); margin-bottom: .75rem; }
.location__areas ul { display: flex; flex-wrap: wrap; gap: .5rem; }

.map { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--graphite); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; animation: fade .6s var(--ease); }
.map__consent {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem;
  padding: 2rem 1.5rem; text-align: center; color: var(--muted-light);
  background:
    radial-gradient(circle at 50% 42%, rgb(216 60 46 / .28), transparent 38%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 44px),
    linear-gradient(160deg, #2c3134, var(--ink));
}
.map__consent::before, .map__consent::after { content: ""; position: absolute; background: rgb(255 255 255 / .1); }
.map__consent::before { left: -10%; right: -10%; top: 58%; height: 10px; transform: rotate(-14deg); }
.map__consent::after { top: -10%; bottom: -10%; left: 38%; width: 7px; transform: rotate(9deg); }
.map__consent > * { position: relative; z-index: 1; }
.map__pin { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--white); box-shadow: 0 0 0 10px rgb(216 60 46 / .2), 0 0 0 22px rgb(216 60 46 / .08); animation: bob 3s var(--ease-in-out) infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.map__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: 1.75rem; margin-top: .75rem; }
.map__text { max-width: 26rem; font-size: .875rem; }
.map__text a { color: var(--white); text-decoration: underline; }

@media (min-width: 640px) {
  .quick__grid { grid-template-columns: 1fr 1fr; }
  .quick-card:last-child { grid-column: span 2; }
  .form-card { padding: 2.5rem 2.25rem; }
  .map { aspect-ratio: 16 / 11; }
}
@media (min-width: 1024px) {
  .page-hero { min-height: 68svh; padding-bottom: 8.5rem; }
  .quick { margin-top: -5.5rem; }
  .quick__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .quick-card:last-child { grid-column: auto; }
  .quick-card__link { padding: 2rem 1.9rem; }
  .contact-page__grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
  .contact-page__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
  .form-card { padding: 3rem; }
  .location__grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .map { aspect-ratio: 5 / 6; }
}

/* ==========================================================================
   Über uns
   ========================================================================== */
.story__grid { display: grid; gap: 4rem; }
.story__text > * + * { margin-top: 1.4rem; }
.story__text em { font-style: normal; font-weight: 700; color: var(--red); }

.collage { position: relative; min-height: 460px; }
.collage__item { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.collage__item img { width: 100%; height: 115%; object-fit: cover; }
.collage__item--a { left: 0; top: 0; width: 62%; aspect-ratio: 3 / 4; z-index: 1; }
.collage__item--b { right: 0; top: 12%; width: 44%; aspect-ratio: 3 / 4; z-index: 2; border: 6px solid var(--white); }
.collage__item--c { right: 12%; bottom: 0; width: 40%; aspect-ratio: 1; z-index: 3; border: 6px solid var(--white); }
.collage__seal { position: absolute; left: 44%; bottom: 6%; z-index: 4; width: 104px; height: 104px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow); }
.collage__seal img { width: 88px; height: 88px; animation: spin 20s linear infinite; }

.values__grid { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden; }
.value { position: relative; padding: 2.25rem 1.6rem; background: var(--graphite); isolation: isolate; transition: color .5s; }
.value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.value__num { position: absolute; top: 1.5rem; right: 1.6rem; font-family: var(--f-display); font-weight: 700; font-size: 3.25rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .25); }
.value__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--red); margin-bottom: 1.5rem; transition: background-color .5s, color .5s, border-color .5s; }
.value__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.55rem; line-height: 1.05; color: var(--white); margin-bottom: .65rem; padding-right: 3.5rem; }
.value p { font-size: .95rem; transition: color .5s; }
@media (hover: hover) {
  .value:hover::before { transform: scaleY(1); }
  .value:hover p { color: rgb(255 255 255 / .9); }
  .value:hover .value__icon { background: var(--white); color: var(--red); border-color: var(--white); }
  .value:hover .value__num { -webkit-text-stroke-color: rgb(255 255 255 / .6); }
}

.masonry { columns: 2; column-gap: .75rem; }
.masonry__item { break-inside: avoid; margin-bottom: .75rem; }
.masonry__btn { aspect-ratio: auto; }
.masonry .project__title { font-size: 1rem; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.masonry .project__cat { font-size: .65rem; }
.masonry .project__info { left: .9rem; right: .9rem; bottom: .8rem; }
.masonry .project__zoom { width: 36px; height: 36px; top: .7rem; right: .7rem; }
.insights__foot { display: flex; justify-content: center; margin-top: 2.5rem; }

.cta-band { position: relative; overflow: hidden; background: var(--red); color: rgb(255 255 255 / .9); padding: clamp(3.5rem, 8vw, 6rem) 0; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -8%; top: 50%; width: min(60vw, 560px); aspect-ratio: 1; transform: translateY(-50%); z-index: -1; background: url("../img/opt/logo-512-t.webp") center / contain no-repeat; filter: brightness(0) invert(1); opacity: .08; animation: spin 60s linear infinite; }
.cta-band__inner { display: grid; gap: 2rem; }
.cta-band__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: clamp(2.25rem, 1.6rem + 3vw, 4.25rem); line-height: .98; margin-bottom: 1rem; max-width: 16ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn--dark { --hover: var(--white); }
.cta-band .btn--dark:hover { color: var(--ink); }

.cities__grid { display: grid; gap: .9rem; }
.city-card__link { position: relative; display: flex; flex-direction: column; gap: .6rem; height: 100%; padding: 1.6rem 1.5rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .5s, border-color .5s, transform .6s var(--ease); }
.city-card__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); clip-path: circle(0% at 100% 0%); transition: clip-path .8s var(--ease-in-out); }
.city-card__top { display: flex; align-items: center; justify-content: space-between; color: var(--red); }
.city-card__badge { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--red); color: var(--white); padding: .25rem .55rem; border-radius: 999px; }
.city-card__name { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.65rem; line-height: 1.05; color: var(--ink); transition: color .5s; }
.city-card__link p { color: var(--muted); font-size: .925rem; flex: 1; transition: color .5s; }
.city-card__more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .875rem; color: var(--ink); transition: color .5s; }
.city-card__more .ico { color: var(--red); transition: transform .5s var(--ease); }
@media (hover: hover) {
  .city-card__link:hover { border-color: var(--ink); transform: translateY(-4px); }
  .city-card__link:hover::before { clip-path: circle(150% at 100% 0%); }
  .city-card__link:hover .city-card__name, .city-card__link:hover .city-card__more { color: var(--white); }
  .city-card__link:hover p { color: var(--muted-light); }
  .city-card__link:hover .city-card__more .ico { transform: translateX(4px); }
}

@media (max-width: 639px) {
  .cities__grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .city-card__link { padding: 1.1rem 1rem; gap: .4rem; }
  .city-card__name { font-size: 1.2rem; }
  .city-card__link p, .city-card__badge { display: none; }
  .city-card__more { font-size: 0; margin-top: auto; }
  .city-card__more .ico { font-size: 1.1rem; }
}
@media (min-width: 640px) {
  .collage { min-height: 600px; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .cities__grid { grid-template-columns: 1fr 1fr; }
  .masonry { column-gap: 1rem; }
  .masonry__item { margin-bottom: 1rem; }
}
@media (min-width: 1024px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
  .collage { min-height: 680px; }
  .values__grid { grid-template-columns: repeat(3, 1fr); }
  .value { padding: 2.75rem 2.25rem; }
  .masonry { columns: 3; column-gap: 1.25rem; }
  .masonry__item { margin-bottom: 1.25rem; }
  .masonry .project__title { font-size: 1.45rem; }
  .cta-band__inner { grid-template-columns: 1fr auto; align-items: center; gap: 4rem; }
  .cities__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

/* ==========================================================================
   Städteseiten
   ========================================================================== */
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.page-hero__actions .btn { flex: 1 1 220px; }
.page-hero__chips { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.75rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); font-size: .875rem; color: rgb(255 255 255 / .85); }
.page-hero__chips li { display: inline-flex; align-items: center; gap: .45rem; }
.page-hero__chips .ico { color: var(--red); }

.local__grid { display: grid; gap: 3rem; }
.local__text > * + * { margin-top: 1.4rem; }
.local__districts p { font-weight: 700; color: var(--ink); margin-bottom: .75rem; }
.local__districts ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip--static { gap: .4rem; align-items: center; cursor: default; }
.chip--static .ico { color: var(--red); }
.chip--static:hover { background: transparent; color: inherit; border-color: var(--line); }

.glance { position: relative; align-self: start; background: var(--ink); color: var(--muted-light); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .5); overflow: hidden; isolation: isolate; }
.glance::before { content: ""; position: absolute; width: 280px; height: 280px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgb(216 60 46 / .35), transparent 70%); z-index: -1; }
.glance__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: 1.6rem; margin-bottom: 1rem; }
.glance dl { margin-bottom: 1.5rem; }
.glance dl > div { display: grid; gap: .15rem; padding: .8rem 0; border-bottom: 1px solid var(--line-light); }
.glance dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff8a7f; }
.glance dd { color: var(--white); font-size: .95rem; }
.glance__phone { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; color: var(--white); font-weight: 700; }
.glance__phone .ico { color: var(--red); }

.service-card__city { display: block; font-size: .55em; letter-spacing: .06em; color: var(--muted); margin-top: .2rem; }

.uses__grid { display: grid; gap: 3rem; }
.uses__intro > * + * { margin-top: 1.4rem; }
.uses__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; margin-top: 2rem !important; }
.uses__img img { width: 100%; height: 100%; object-fit: cover; }
.uses__list { display: grid; gap: 1rem; }
.use { display: flex; gap: 1.1rem; padding: 1.5rem 1.35rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.use:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.use__icon { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--red); color: var(--white); }
.use__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; color: var(--ink); margin-bottom: .45rem; }
.use p { color: var(--muted); font-size: .95rem; }

.guide__grid { display: grid; gap: 1.25rem; }
.article-card__link { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--graphite); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.article-card__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.35rem 1.6rem; flex: 1; }
.article-card__meta { display: flex; gap: .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.article-card__meta span { color: var(--red); }
.article-card__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; line-height: 1.08; color: var(--ink); }
.article-card__body > p:not(.article-card__meta) { color: var(--muted); font-size: .925rem; flex: 1; }
@media (hover: hover) {
  .article-card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .article-card__link:hover .article-card__media img { transform: scale(1.06); }
}

.nearby { background: var(--paper); border-top: 1px solid var(--line); padding: 2rem 0; }
.nearby__inner { display: grid; gap: .9rem; }
.nearby__label { font-weight: 700; color: var(--ink); }
.nearby ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.nearby .chip { background: var(--white); }

@media (min-width: 640px) {
  .uses__list { grid-template-columns: 1fr 1fr; }
  .guide__grid { grid-template-columns: 1fr 1fr; }
  .page-hero__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .local__grid { grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: start; }
  .glance { position: sticky; top: calc(var(--header-h) + 2rem); padding: 2.25rem 2rem; }
  .uses__grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; }
  .uses__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
  .uses__list { grid-template-columns: 1fr; }
  .guide__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .nearby__inner { grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; }
}

/* ---------- CTA: Anrufen / E-Mail ---------- */
.eyebrow--white { color: var(--white); }
.cta-contact { position: relative; overflow: hidden; isolation: isolate; padding: clamp(4rem, 9vw, 7rem) 0; background: linear-gradient(135deg, #e04536 0%, var(--red) 45%, #b52d1f 100%); color: rgb(255 255 255 / .88); }
.cta-contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .035) 0 2px, transparent 2px 22px); }
.cta-contact::after { content: ""; position: absolute; left: -6%; bottom: -30%; z-index: -1; width: min(70vw, 620px); aspect-ratio: 1; background: url("../img/opt/logo-512-t.webp") center / contain no-repeat; filter: brightness(0) invert(1); opacity: .07; animation: spin 70s linear infinite; }
.cta-contact__glow { position: absolute; right: -10%; top: -40%; width: 60vmax; height: 60vmax; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .16), transparent 60%); z-index: -1; pointer-events: none; }
.cta-contact__grid { display: grid; gap: 2.5rem; }
.cta-contact__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4.5rem); line-height: .96; margin-bottom: 1.1rem; text-wrap: balance; }
.cta-contact__text { font-size: 1.05rem; max-width: 34rem; }
.cta-contact__points { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem; font-weight: 600; font-size: .9rem; color: var(--white); }
.cta-contact__points li { display: inline-flex; align-items: center; gap: .45rem; }
.cta-contact__points .ico { padding: 2px; border-radius: 50%; background: var(--white); color: var(--red); width: 1.2em; height: 1.2em; }

.cta-contact__actions { display: grid; gap: .9rem; align-content: center; }
.cta-tile {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem;
  padding: 1.25rem 1.25rem; background: var(--white); color: var(--text); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgb(60 10 5 / .55); overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), color .5s;
}
.cta-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateX(-101%); transition: transform .7s var(--ease); }
.cta-tile__icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--white); box-shadow: 0 0 0 0 rgb(216 60 46 / .5); animation: ring 2.6s var(--ease) infinite; }
.cta-tile:nth-child(2) .cta-tile__icon { animation: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgb(216 60 46 / .45); } 70%, 100% { box-shadow: 0 0 0 14px rgb(216 60 46 / 0); } }
.cta-tile__body { display: grid; gap: .1rem; min-width: 0; }
.cta-tile__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .5s; }
.cta-tile__value { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; transition: color .5s; }
.cta-tile__meta { font-size: .85rem; color: var(--muted); transition: color .5s; }
.cta-tile__arrow { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: background-color .5s, color .5s, border-color .5s, transform .6s var(--ease); }
.cta-contact__form-link { justify-self: start; display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem; font-weight: 700; color: var(--white); border-bottom: 1px solid rgb(255 255 255 / .5); padding-bottom: .15rem; }
.cta-contact__form-link .ico { transition: transform .4s var(--ease); }
.cta-contact__form-link:hover .ico { transform: translateX(4px); }
@media (hover: hover) {
  .cta-tile:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgb(30 5 2 / .7); }
  .cta-tile:hover::before { transform: translateX(0); }
  .cta-tile:hover .cta-tile__value { color: var(--white); }
  .cta-tile:hover .cta-tile__label, .cta-tile:hover .cta-tile__meta, .cta-tile:hover .open-status:not(.is-open) { color: var(--muted-light); }
  .cta-tile:hover .open-status.is-open { color: #5fd38d; }
  .cta-tile:hover .cta-tile__arrow { background: var(--red); border-color: var(--red); color: var(--white); transform: translateX(4px); }
}
@media (max-width: 479px) {
  .cta-tile { grid-template-columns: auto 1fr; padding: 1.1rem; gap: .9rem; }
  .cta-tile__arrow { display: none; }
  .cta-tile__icon { width: 50px; height: 50px; }
}
@media (min-width: 1024px) {
  .cta-contact__grid { grid-template-columns: 1.05fr .95fr; gap: 5rem; align-items: center; }
  .cta-tile { padding: 1.6rem 1.75rem; gap: 1.4rem; }
}

/* ==========================================================================
   Referenzen
   ========================================================================== */
.filters { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 2rem; padding: .25rem var(--gutter); scroll-snap-type: x proximity; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex-shrink: 0; scroll-snap-align: start; display: inline-flex; align-items: center; gap: .55rem;
  min-height: 46px; padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 700; font-size: .9rem; color: var(--ink); background: var(--white);
  transition: background-color .35s, color .35s, border-color .35s, transform .4s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter__count { min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; display: inline-grid; place-items: center; border-radius: 999px; font-size: .72rem; background: var(--paper); color: var(--muted); transition: background-color .35s, color .35s; }
.filter.is-active .filter__count { background: var(--red); color: var(--white); }

.masonry--portfolio { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; transition: opacity .28s var(--ease), transform .28s var(--ease); }
.masonry--portfolio .masonry__item { margin: 0; }
.masonry--portfolio .masonry__btn { aspect-ratio: 4 / 5 !important; }
.portfolio__more { display: flex; justify-content: center; margin-top: 2.25rem; }
.portfolio__more[hidden] { display: none; }
@media (min-width: 1024px) { .masonry--portfolio { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.masonry--portfolio.is-filtering { opacity: 0; transform: translateY(12px); }
.masonry--portfolio .masonry__item.is-in { animation: fadeUp .7s var(--ease) both; animation-delay: calc(var(--d, 0) * .05s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.portfolio__empty { text-align: center; color: var(--muted); padding: 2rem 0; }

.showcase__list { display: grid; gap: clamp(4rem, 9vw, 8rem); }
.feature { display: grid; gap: 2rem; align-items: center; }
.feature__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--graphite); }
.feature__img { position: absolute; inset: -8% 0; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__num { position: absolute; left: 1.25rem; bottom: .5rem; font-family: var(--f-display); font-weight: 700; font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .85); text-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.feature__text > * + * { margin-top: 1.1rem; }
.feature__text p { color: var(--muted); }
.feature__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1; color: var(--ink); position: relative; padding-top: 1.25rem; }
.feature__title::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 3px; background: var(--red); }
.feature .link-arrow { margin-top: 1.6rem; }

@media (min-width: 1024px) {
  .filters { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; margin-bottom: 2.5rem; }
  .feature { grid-template-columns: 1.1fr .9fr; gap: 5rem; }
  .feature--rev .feature__media { order: 2; }
  .feature__media { aspect-ratio: 5 / 4; }
}

/* ==========================================================================
   Leistungsseiten
   ========================================================================== */
.intro__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 2.25rem !important; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }

.scope { background: var(--paper); }
.scope__grid { display: grid; gap: 1rem; }
.scope-card__inner {
  position: relative; display: flex; flex-direction: column; gap: .65rem; height: 100%;
  padding: 1.75rem 1.5rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.scope-card__inner::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.scope-card__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: rgb(216 60 46 / .1); color: var(--red); margin-bottom: .4rem; transition: background-color .4s, color .4s, transform .6s var(--ease); }
.scope-card__num { position: absolute; top: 1.25rem; right: 1.4rem; font-family: var(--f-display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgb(22 25 27 / .14); }
.scope-card__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; color: var(--ink); }
.scope-card__inner p { color: var(--muted); font-size: .95rem; flex: 1; }
.scope-card__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .875rem; color: var(--ink); }
.scope-card__more .ico { color: var(--red); transition: transform .5s var(--ease); }
@media (hover: hover) {
  .scope-card__inner:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
  .scope-card__inner:hover::after { transform: scaleX(1); }
  .scope-card__inner:hover .scope-card__icon { background: var(--red); color: var(--white); transform: rotate(-6deg) scale(1.05); }
  a.scope-card__inner:hover .scope-card__more .ico { transform: translate(3px, -3px); }
}

.contact__points { display: grid; gap: .55rem; margin-top: 1.5rem !important; }
.contact__points li { display: flex; gap: .6rem; align-items: flex-start; color: var(--white); font-weight: 600; font-size: .95rem; }
.contact__points .ico { flex-shrink: 0; margin-top: .2rem; padding: 2px; border-radius: 50%; background: var(--red); color: var(--white); width: 1.15em; height: 1.15em; }

@media (min-width: 640px) {
  .scope__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .scope__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .scope-card__inner { padding: 2.25rem 2rem; }
}

/* Anteilig gefüllte Bewertungssterne */
.stars--rated { position: relative; display: inline-flex; vertical-align: middle; width: max-content; justify-self: start; }
.stars__base, .stars__fill { display: inline-flex; gap: 2px; white-space: nowrap; }
.stars__base { color: #d6d6d6; }
.trust-google .stars__base { color: rgb(255 255 255 / .3); }
.stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; color: #fbbc05; }
.stars__fill .ico { flex-shrink: 0; }

/* ==========================================================================
   Ratgeber
   ========================================================================== */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-meta .ico { color: var(--red); }
.post-meta__cat { color: var(--white); background: var(--red); padding: .3rem .65rem; border-radius: 999px; letter-spacing: .1em; }

.post-feature { margin-bottom: 1.25rem; }
.post-feature__link { display: grid; background: var(--ink); color: var(--muted-light); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post-feature__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.post-feature__badge { position: absolute; top: 1rem; left: 1rem; padding: .4rem .8rem; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.post-feature__body { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 1.5rem 2rem; }
.post-feature .post-meta { color: var(--muted-light); }
.post-feature__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); line-height: 1; text-wrap: balance; }
.post-feature__excerpt { font-size: 1.025rem; }
.post-feature__btn { align-self: flex-start; margin-top: .5rem; --bg: var(--red); --hover: var(--white); }
.post-feature__link:hover .post-feature__btn { color: var(--ink); }
.post-feature__link:hover .post-feature__btn::before { transform: translateY(0); }
@media (hover: hover) {
  .post-feature__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .post-feature__link:hover .post-feature__media img { transform: scale(1.05); }
}

.post-grid { display: grid; gap: 1.25rem; }
.post-card__link { display: grid; height: 100%; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--graphite); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card__body { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem 1.4rem 1.7rem; }
.post-card__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; color: var(--ink); text-wrap: balance; }
.post-card__excerpt { color: var(--muted); font-size: .95rem; flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--ink); border-bottom: 2px solid var(--red); align-self: flex-start; padding-bottom: .15rem; }
.post-card__more .ico { transition: transform .4s var(--ease); }
@media (hover: hover) {
  .post-card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .post-card__link:hover .post-card__media img { transform: scale(1.06); }
  .post-card__link:hover .post-card__more .ico { transform: translateX(4px); }
}

@media (min-width: 768px) {
  .post-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .post-feature { margin-bottom: 1.5rem; }
  .post-feature__link { grid-template-columns: 1.15fr .85fr; }
  .post-feature__media { aspect-ratio: auto; min-height: 460px; }
  .post-feature__body { justify-content: center; padding: 3rem 3rem; gap: 1.25rem; }
  .post-card__link { grid-template-columns: .9fr 1.1fr; }
  .post-card__media { aspect-ratio: auto; min-height: 100%; }
  .post-card__body { padding: 2rem 1.75rem; }
}

/* ==========================================================================
   WhatsApp-Widget
   ========================================================================== */
.wa { --wa: #25d366; --wa-dark: #128c7e; position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 85; transition: bottom .6s var(--ease); display: flex; flex-direction: column; align-items: flex-end; gap: .9rem; pointer-events: none; }
.wa > * { pointer-events: auto; }
.wa.wa--raised { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }

.wa__fab {
  position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #2fe077, var(--wa) 45%, #1ebe5b); color: var(--white);
  box-shadow: 0 14px 30px -8px rgb(18 140 126 / .6), inset 0 1px 0 rgb(255 255 255 / .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
  animation: waIn .8s var(--ease) 1s both;
}
.wa__fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.8s var(--ease) 2s infinite; }
.wa__fab:hover { transform: scale(1.07) rotate(-6deg); box-shadow: 0 18px 36px -8px rgb(18 140 126 / .75); }
.wa__fab-icon { position: absolute; display: grid; place-items: center; transition: transform .5s var(--ease), opacity .3s; }
.wa__fab-icon .ico { width: 30px; height: 30px; }
.wa__fab-icon--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.wa__fab-icon--close .ico { width: 24px; height: 24px; }
.wa.is-open .wa__fab { background: var(--ink); box-shadow: 0 14px 30px -10px rgb(0 0 0 / .5); }
.wa.is-open .wa__fab::before { animation: none; opacity: 0; }
.wa.is-open .wa__fab-icon--wa { opacity: 0; transform: rotate(90deg) scale(.6); }
.wa.is-open .wa__fab-icon--close { opacity: 1; transform: none; }
.wa__badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: var(--red); color: var(--white); font-size: .7rem; font-weight: 800; border: 2px solid var(--white); transition: transform .4s var(--ease), opacity .3s; }
.wa__badge.is-hidden { transform: scale(0); opacity: 0; }
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.6); } }
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }

.wa__teaser { position: relative; max-width: 250px; padding: .9rem 2.2rem .9rem 1rem; background: var(--white); color: var(--text); border-radius: 14px 14px 4px 14px; box-shadow: 0 16px 40px -14px rgb(0 0 0 / .35), 0 0 0 1px var(--line); font-size: .85rem; line-height: 1.45; animation: waPop .6s var(--ease) both; }
.wa__teaser strong { display: block; color: var(--ink); font-size: .9rem; }
.wa__teaser[hidden] { display: none; }
.wa__teaser-close { position: absolute; top: .45rem; right: .45rem; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.wa__teaser-close:hover { background: var(--paper); color: var(--ink); }
@keyframes waPop { from { opacity: 0; transform: translateY(10px) scale(.92); transform-origin: bottom right; } }

.wa__panel {
  width: min(360px, calc(100vw - 2rem)); background: #efeae2; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgb(0 0 0 / .45), 0 0 0 1px rgb(0 0 0 / .06);
  transform-origin: bottom right; animation: waOpen .45s var(--ease) both;
}
.wa__panel[hidden] { display: none; }
@keyframes waOpen { from { opacity: 0; transform: translateY(16px) scale(.94); } }
.wa__head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1rem 1rem 1.1rem; background: linear-gradient(135deg, var(--wa-dark), #075e54); color: var(--white); }
.wa__avatar { position: relative; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.wa__avatar img { width: 36px; height: 36px; }
.wa__dot { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #9aa0a6; border: 2px solid #0e7a6e; }
.wa__dot.is-open { background: #4ae37f; }
.wa__title { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.wa__status { font-size: .78rem; opacity: .85; }
.wa__close { margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--white); transition: background-color .3s; }
.wa__close:hover { background: rgb(255 255 255 / .15); }

.wa__body { padding: 1.1rem 1rem .5rem; background-image: radial-gradient(rgb(0 0 0 / .035) 1px, transparent 1px); background-size: 14px 14px; }
.wa__bubble { position: relative; max-width: 88%; padding: .7rem .85rem 1.2rem; background: var(--white); border-radius: 4px 12px 12px 12px; box-shadow: 0 1px 1px rgb(0 0 0 / .08); font-size: .9rem; color: var(--ink); animation: waPop .5s var(--ease) .15s both; }
.wa__bubble::before { content: ""; position: absolute; left: -7px; top: 0; border: 8px solid transparent; border-top-color: var(--white); border-right-color: var(--white); border-width: 0 8px 8px 0; }
.wa__time { position: absolute; right: .6rem; bottom: .3rem; font-size: .68rem; color: var(--muted); }
.wa__label { margin: 1rem 0 .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wa__topics { display: flex; flex-wrap: wrap; gap: .4rem; }
.wa__topic { padding: .45rem .75rem; border-radius: 999px; background: var(--white); border: 1px solid rgb(18 140 126 / .25); color: var(--wa-dark); font-size: .8rem; font-weight: 600; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.wa__topic:hover { border-color: var(--wa-dark); transform: translateY(-1px); }
.wa__topic[aria-pressed="true"] { background: var(--wa-dark); border-color: var(--wa-dark); color: var(--white); }
.wa__input { width: 100%; margin-top: .75rem; padding: .7rem .85rem; border: 1px solid rgb(0 0 0 / .08); border-radius: 12px; background: var(--white); font-size: .9rem; resize: none; color: var(--ink); }
.wa__input:focus { outline: none; border-color: var(--wa); box-shadow: 0 0 0 3px rgb(37 211 102 / .2); }

.wa__foot { padding: .75rem 1rem 1rem; }
.wa__send { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; border-radius: 12px; background: var(--wa); color: var(--white); font-weight: 700; font-size: .95rem; transition: background-color .3s, transform .4s var(--ease), box-shadow .4s; box-shadow: 0 10px 22px -10px rgb(37 211 102 / .9); }
.wa__send:hover { background: #1fb457; transform: translateY(-2px); }
.wa__send .ico--sm { transition: transform .4s var(--ease); }
.wa__send:hover .ico--sm { transform: translate(3px, -3px); }
.wa__note { margin-top: .6rem; font-size: .7rem; line-height: 1.4; color: var(--muted); text-align: center; }

@media (min-width: 768px) {
  .wa, .wa.wa--raised { right: 1.5rem; bottom: 1.5rem; }
  .wa__fab { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa__fab::before { display: none; }
}

/* ==========================================================================
   Rechtliche Seiten (Impressum, Datenschutz)
   ========================================================================== */
.page-hero--compact { min-height: 0; padding-bottom: 3.5rem; background: radial-gradient(ellipse at 85% 0%, rgb(216 60 46 / .28), transparent 55%), var(--ink); }
.page-hero--compact .page-hero__title { font-size: clamp(2.6rem, 10vw, 5rem); }

.legal__grid { display: grid; gap: 2.5rem; }
.legal__content { display: grid; gap: 1rem; max-width: 52rem; }
.legal-block { padding: 1.6rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.legal-block h2 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; line-height: 1.1; color: var(--ink); margin-bottom: .75rem; padding-left: .85rem; border-left: 3px solid var(--red); }
.legal-block p { color: var(--text); }
.legal-block p + p { margin-top: .75rem; }
.legal-block a, .legal__links a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.legal-list { display: grid; }
.legal-list > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.legal-list > div:last-child { border-bottom: 0; }
.legal-list dt { font-weight: 700; color: var(--ink); }
.legal-list dd { color: var(--text); overflow-wrap: anywhere; }
.legal__updated { font-size: .85rem; color: var(--muted); padding-left: .25rem; }
.legal__aside .glance a { color: var(--white); }
.legal__aside .glance .btn { margin-top: .5rem; }
.legal__links { margin-top: 1rem; font-size: .9rem; color: var(--muted); }

@media (max-width: 479px) {
  .legal-list > div { grid-template-columns: 1fr; gap: .1rem; }
}
@media (min-width: 1024px) {
  .page-hero--compact { padding-bottom: 4.5rem; }
  .legal__grid { grid-template-columns: 1fr 22rem; gap: 4rem; align-items: start; }
  .legal__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
  .legal-block { padding: 2rem 2.25rem; }
}

/* Datenschutz: Inhaltsverzeichnis & Details */
.toc { padding: 1.4rem 1.25rem; border-radius: var(--radius-lg); background: var(--paper); }
.toc__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; color: var(--ink); margin-bottom: .75rem; }
.toc ol { display: grid; gap: .1rem; }
.toc a { display: flex; gap: .7rem; align-items: baseline; padding: .45rem .6rem; border-radius: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: background-color .3s, color .3s; }
.toc a span { font-family: var(--f-display); font-size: .85rem; color: var(--red); min-width: 1.4rem; }
.toc a:hover { color: var(--ink); background: var(--white); }
.toc a.is-active { color: var(--ink); background: var(--white); box-shadow: inset 3px 0 0 var(--red); }
.legal-block { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal-block h2 { display: flex; align-items: baseline; gap: .6rem; }
.legal-block__num { font-size: .9em; color: var(--red); }
.legal-block ul { display: grid; gap: .4rem; margin: .75rem 0; padding-left: 1.2rem; list-style: disc; color: var(--text); }
.legal-block ul li::marker { color: var(--red); }
.legal-block ul + p, .legal-block p + ul { margin-top: .75rem; }
.legal-checks { list-style: none !important; padding-left: 0 !important; }
.legal-checks li { position: relative; padding-left: 1.9rem; }
.legal-checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 70% no-repeat; }
.legal-address { padding: .9rem 1.1rem; background: var(--paper); border-radius: 10px; }

@media (max-width: 1023px) {
  .toc ol { grid-template-columns: 1fr; max-height: none; }
}
@media (min-width: 1024px) {
  .legal__grid--toc { grid-template-columns: 19rem 1fr; }
  .legal__grid--toc .toc { position: sticky; top: calc(var(--header-h) + 2rem); max-height: calc(100vh - var(--header-h) - 4rem); overflow-y: auto; }
}

/* ==========================================================================
   Ratgeber-Artikel
   ========================================================================== */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }

.post-hero { position: relative; background: radial-gradient(ellipse at 85% 0%, rgb(216 60 46 / .25), transparent 55%), var(--ink); color: var(--white); padding: calc(var(--header-h) + 2.5rem) 0 9rem; }
.post-hero__inner { max-width: 62rem; }
.post-hero .post-meta { margin-bottom: 1.25rem; color: var(--muted-light); }
.post-hero__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 1.4rem + 4vw, 4.5rem); line-height: .98; letter-spacing: -.005em; text-wrap: balance; }
.post-hero__lead { margin-top: 1.4rem; max-width: 46rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgb(255 255 255 / .82); }
.post-hero__author { display: flex; align-items: center; gap: .85rem; margin-top: 1.75rem; font-size: .85rem; color: var(--muted-light); line-height: 1.4; }
.post-hero__author img { width: 44px; height: 44px; border-radius: 50%; background: var(--white); padding: 3px; }
.post-hero__author strong { color: var(--white); }

.post-cover { margin-top: -6.5rem; position: relative; z-index: 2; }
.post-cover__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); background: var(--graphite); }
.post-cover__img img { width: 100%; height: 100%; object-fit: cover; }

.post-layout { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.post-aside .toc { margin-bottom: 1rem; }
.copy-link { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.copy-link:hover, .copy-link.is-done { background: var(--ink); color: var(--white); border-color: var(--ink); }

.prose { max-width: 46rem; min-width: 0; font-size: 1.075rem; line-height: 1.8; color: var(--text); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); line-height: 1.05; color: var(--ink); margin-top: 3.25rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); text-wrap: balance; }
.prose h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; line-height: 1.1; color: var(--ink); margin-top: 2.25rem; }
.prose h2 + *, .prose h3 + * { margin-top: .85rem; }
.prose a, .local__text p a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .3s; }
.prose a:hover, .local__text p a:hover { color: var(--red); }
.prose-list { display: grid; gap: .55rem; padding-left: 1.35rem; }
ul.prose-list { list-style: disc; }
ol.prose-list { list-style: decimal; }
.prose-list li::marker { color: var(--red); font-weight: 700; }
.prose strong { color: var(--ink); }

.summary { padding: 1.4rem 1.5rem; border-radius: var(--radius-lg); background: var(--paper); border-left: 4px solid var(--red); }
.summary__title { display: flex; align-items: center; gap: .5rem; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red); margin-bottom: .5rem; }
.summary p:last-child { color: var(--ink); font-weight: 500; }

.table-wrap { margin-block: 1.75rem; }
.prose-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; line-height: 1.55; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.prose-table caption { caption-side: top; text-align: left; font-weight: 700; color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding-bottom: .6rem; }
.prose-table thead th { background: var(--ink); color: var(--white); font-weight: 700; text-align: left; padding: .9rem 1rem; font-size: .85rem; }
.prose-table tbody th { text-align: left; font-weight: 700; color: var(--ink); background: var(--paper); }
.prose-table tbody th, .prose-table td { padding: .85rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.prose-table tbody tr { transition: background-color .25s; }
.prose-table tbody tr:hover td { background: rgb(216 60 46 / .04); }
@media (max-width: 767px) {
  .prose-table, .prose-table tbody, .prose-table tr, .prose-table th, .prose-table td { display: block; }
  .prose-table { border: 0; border-radius: 0; overflow: visible; }
  .prose-table thead { display: none; }
  .prose-table tbody { display: grid; gap: .75rem; }
  .prose-table tbody tr { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .prose-table tbody th { border-top: 0; background: var(--ink); color: var(--white); }
  .prose-table td { border-top: 1px solid var(--line); }
  .prose-table td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: .2rem; }
}

.prose-note { display: flex; gap: .9rem; padding: 1rem 1.2rem; border-radius: 12px; background: #fff8f0; border: 1px solid #f3dcc4; font-size: .95rem; }
.prose-note__icon { color: #c27a2c; flex-shrink: 0; }

.checklist { display: grid; gap: .5rem; margin-top: 1.25rem; }
.checklist label { display: flex; gap: .85rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; font-size: 1rem; line-height: 1.5; transition: border-color .3s, background-color .3s; }
.checklist label:hover { border-color: var(--ink); }
.checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checklist__box { width: 24px; height: 24px; flex-shrink: 0; border: 2px solid #c9cacb; border-radius: 6px; display: grid; place-items: center; color: transparent; margin-top: .05rem; transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.checklist input:checked + .checklist__box { background: var(--red); border-color: var(--red); color: var(--white); transform: scale(1.06); }
.checklist input:checked ~ span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgb(216 60 46 / .5); }
.checklist input:focus-visible + .checklist__box { outline: 2px solid var(--red); outline-offset: 2px; }
.checklist label:has(input:checked) { background: var(--paper); }
.checklist__progress { font-size: .85rem; font-weight: 700; color: var(--muted); }
.checklist__progress.is-done { color: #1f7a3f; }

.prose-cta { margin-top: 3.5rem !important; padding: 2rem 1.6rem; border-radius: var(--radius-lg); background: var(--ink); color: var(--muted-light); position: relative; overflow: hidden; isolation: isolate; }
.prose-cta::before { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgb(216 60 46 / .4), transparent 70%); z-index: -1; }
.prose-cta h2 { color: var(--white); margin-top: 0; }
.prose-cta p { color: var(--muted-light); margin-top: 1rem; }
.prose-cta a:not(.btn) { color: var(--white); }
.prose-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.prose-cta .btn { text-decoration: none; }

.author-box { display: flex; gap: 1.1rem; align-items: flex-start; margin-top: 3rem !important; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); font-size: .95rem; line-height: 1.65; }
.author-box img { width: 64px; height: 64px; flex-shrink: 0; }
.author-box__name { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; color: var(--ink); margin-bottom: .25rem; }
.author-box .link-arrow { margin-top: .75rem; text-decoration: none; }

.related .section-head { align-items: end; }

@media (min-width: 1024px) {
  .post-hero { padding-bottom: 11rem; }
  .post-cover { margin-top: -8rem; }
  .post-cover__img { aspect-ratio: 21 / 9; }
  .post-layout { grid-template-columns: 18rem minmax(0, 1fr); gap: 4.5rem; align-items: start; }
  .post-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
  .post-aside .toc { max-height: calc(100vh - var(--header-h) - 8rem); overflow-y: auto; }
  .prose-cta { padding: 2.5rem 2.5rem; }
}
@media (max-width: 1023px) {
  .post-aside .toc ol { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
  .post-aside .toc.is-open ol { max-height: 60rem; }
  .post-aside .toc__title { display: flex; justify-content: space-between; align-items: center; margin: 0; cursor: pointer; }
  .post-aside .toc.is-open .toc__title { margin-bottom: .75rem; }
  .post-aside .toc__title::after { content: "+"; font-size: 1.5rem; color: var(--red); transition: transform .4s var(--ease); }
  .post-aside .toc.is-open .toc__title::after { transform: rotate(45deg); }
}
button.toc__title { width: 100%; text-align: left; font: inherit; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; color: var(--ink); }
@media (min-width: 1024px) { button.toc__title { cursor: default; } }
.prose-table caption { padding-left: .15rem; padding-right: .15rem; }

/* „Warum“ mit 4 Karten */
@media (min-width: 768px) and (max-width: 1199px) { .why__grid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .why__grid--4 { grid-template-columns: repeat(4, 1fr); } .why__grid--4 .why-card { padding: 2.25rem 1.75rem; } }
.uses__intro .h2 { font-size: clamp(2rem, 1.5rem + 1.9vw, 3.1rem); }

/* Lange deutsche Komposita in Überschriften auf kleinen Bildschirmen trennen */
@media (max-width: 767px) {
  .h2, .page-hero__title, .post-hero__title, .service-card__title, .city-card__name, .use__title, .why-card__title, .scope-card__title, .feature__title, .cta-contact__title, .post-card__title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
}
@media (max-width: 419px) { .h2 { font-size: clamp(1.95rem, 8.6vw, 2.25rem); } }
