/* ==========================================================================
   Pool Solutions – Website
   Farben aus dem bisherigen Auftritt: Blau #1973B8 → #264292, Gelb #FFBA49 → Orange #FB8B24
   Schrift: Albert Sans (lokal, variabel)
   ========================================================================== */

@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/albert-sans-latin.woff2') format('woff2-variations');
  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: 'Albert Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/albert-sans-latin-ext.woff2') format('woff2-variations');
  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;
}

:root {
  --blue: #1973b8;
  --blue-2: #264292;
  --navy: #142a63;
  --navy-2: #0e1f4b;
  --yellow: #ffba49;
  --orange: #fb8b24;
  --bg: #fefcfd;
  --sky: #eef5fc;
  --ink: #1b2740;
  --text: #46526a;
  --muted: #6f7a90;
  --line: #e3e8f1;
  --grad-blue: linear-gradient(160deg, var(--blue) 0%, var(--blue-2) 100%);
  --grad-yellow: linear-gradient(180deg, var(--yellow) 30%, var(--orange) 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 6px rgba(20, 42, 99, .06), 0 8px 24px rgba(20, 42, 99, .06);
  --shadow: 0 10px 30px rgba(20, 42, 99, .10), 0 2px 8px rgba(20, 42, 99, .06);
  --shadow-lg: 0 30px 60px rgba(14, 31, 75, .22);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: 'Albert Sans', Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-2); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); color: var(--blue); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.icon { width: 1.4em; height: 1.4em; flex: none; }
.icon--sm { width: 1.15em; height: 1.15em; }
.icon--xs { width: .95em; height: .95em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 .9rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--yellow); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.hl { display: block; }
.hero__title .hl { color: inherit; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  background-origin: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: .8em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--grad-yellow); color: var(--navy-2); box-shadow: 0 8px 22px rgba(251, 139, 36, .35); }
.btn--yellow:hover { color: var(--navy-2); box-shadow: 0 12px 28px rgba(251, 139, 36, .45); }
.btn--blue { background: var(--grad-blue); color: #fff; box-shadow: 0 8px 22px rgba(25, 115, 184, .3); }
.btn--blue:hover { color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   Kopfbereich & Menü
   -------------------------------------------------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h);
  transition: background-color .35s, box-shadow .35s, height .35s;
}
.hdr::before {
  content: ''; position: absolute; inset: 0 0 -40px; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 55, .55), rgba(10, 22, 55, 0));
  transition: opacity .35s;
}
.hdr__in {
  position: relative; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.hdr__logo { flex: none; display: block; }
.hdr__logo img { height: 50px; width: auto; filter: brightness(0) invert(1); transition: filter .35s, height .35s; }
.hdr__logo span { color: #fff; font-weight: 800; font-size: 1.4rem; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .3em;
  padding: 10px 14px; border: 0; background: none; border-radius: 10px;
  color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; transition: color .2s, background-color .2s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--yellow);
}
.nav__link .icon { transition: transform .25s; }
.nav__item { position: relative; }
.nav__item.is-open .nav__link .icon { transform: rotate(180deg); }
.hdr__actions { display: flex; align-items: center; gap: 12px; }
.nav + .hdr__actions { margin-left: 8px; }
.hdr__phone { display: inline-flex; align-items: center; gap: .45em; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hdr__phone:hover { color: var(--yellow); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; align-items: center; justify-content: center; }

.hdr.is-solid { background: linear-gradient(180deg, #ffc35e 0%, var(--yellow) 100%); box-shadow: 0 6px 24px rgba(160, 90, 0, .18); height: 72px; }
.hdr.is-solid::before { opacity: 0; }
.hdr.is-solid .hdr__logo img { filter: none; height: 44px; }
.hdr.is-solid .nav__link, .hdr.is-solid .hdr__phone { color: var(--navy-2); }
.hdr.is-solid .nav__link:hover, .hdr.is-solid .nav__item.is-open .nav__link { background: rgba(255, 255, 255, .45); color: var(--navy-2); }
.hdr.is-solid .nav__link.is-active::after { background: var(--blue); }
.hdr.is-solid .hdr__phone:hover { color: var(--blue); }
.hdr.is-solid .burger { background: rgba(255, 255, 255, .5); color: var(--navy-2); }
.hdr.is-solid .hdr__cta { background: var(--grad-blue); color: #fff; box-shadow: 0 6px 16px rgba(25, 115, 184, .3); }

/* Mega-Menü Leistungen */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(820px, 92vw);
  display: grid; grid-template-columns: 1fr 230px; gap: 0;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s, transform .22s var(--ease), visibility .22s;
}
.mega::before { content: ''; position: absolute; top: -22px; left: 0; right: 0; height: 22px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px; }
.mega__link { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; text-decoration: none; color: var(--text); transition: background-color .2s; }
.mega__link:hover, .mega__link.is-active { background: var(--sky); color: var(--text); }
.mega__link strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.25; margin-bottom: 2px; }
.mega__link small { display: block; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.mega__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-yellow); color: var(--navy); }
.mega__aside { border-radius: 0 22px 22px 0; background: var(--grad-blue); color: rgba(255, 255, 255, .85); padding: 26px 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; font-size: .92rem; }
.mega__q { color: #fff; font-weight: 800; font-size: 1.2rem; line-height: 1.25; }
.mega__aside .btn { margin-top: 10px; align-self: flex-start; }

/* Mobiles Menü */
.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-2); color: #fff;
  display: flex; flex-direction: column; padding: 18px var(--gutter) 28px; overflow-y: auto;
  opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .25s var(--ease);
}
.mnav[hidden] { display: none; }
.mnav.is-open { opacity: 1; transform: none; }
.mnav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mnav__title { font-weight: 700; color: var(--yellow); letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.mnav__close { width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.mnav__list { display: flex; flex-direction: column; }
.mnav__list a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.3rem; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mnav__list a.mnav__sub { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; padding: 10px 0 10px 6px; color: rgba(255, 255, 255, .86); }
.mnav__sub .icon { color: var(--yellow); }
.mnav__label { margin: 18px 0 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--yellow); font-weight: 700; }
.mnav__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }

/* --------------------------------------------------------------------------
   Hero (vollflächiges Bild)
   -------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero--lg, .hero--md { min-height: 1000px; }
.hero--sm { min-height: 520px; }
.hero__media, .hero__shade { position: absolute; inset: 0; z-index: -1; }
.hero__media, .band__media { overflow: hidden; }
/* Parallaxe wie auf der bisherigen Seite: Bild ist 30 % der Fensterhöhe höher als der Abschnitt,
   unten bündig, oben ausgerichtet (50 % 0 %); site.js verschiebt es mit 30 % der Scrollgeschwindigkeit */
.hero__img, .band__img { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(100% + 30vh); max-width: none; object-fit: cover; object-position: 50% 0%; will-change: transform; }
.hero__shade {
  background:
    radial-gradient(ellipse 60% 55% at 50% 48%, rgba(14, 31, 75, .38) 0%, rgba(14, 31, 75, 0) 100%),
    linear-gradient(180deg, rgba(20, 28, 50, .38) 0%, rgba(20, 40, 80, .14) 40%, rgba(25, 115, 184, .38) 100%);
}
.hero__in { padding-top: calc(var(--hdr-h) + 40px); padding-bottom: 150px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__in .btns { justify-content: center; }
.hero__title { color: var(--yellow); font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.6rem); line-height: 1.06; max-width: 22ch; margin-bottom: .45em; text-wrap: balance; text-shadow: 0 4px 6px rgba(0, 0, 0, .4), 0 2px 24px rgba(8, 18, 45, .3); }
.hero--lg .hero__title { max-width: 20ch; }
.hero--sm .hero__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); max-width: 24ch; }
.hero__text { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.55; max-width: 52ch; color: rgba(255, 255, 255, .92); margin-bottom: 2rem; text-shadow: 0 1px 12px rgba(8, 18, 45, .4); }
.hero .eyebrow { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.hero .eyebrow a { color: #fff; }

/* Übergänge wie auf der bisherigen Website (Höhen aus dem Original) */
:root { --dv-hero: 100px; --dv-bluetop: 64px; --dv-over: 52px; --dv-bandtop: 52px; --dv-ctatop: 50px; --dv-bandbottom: 100px; }
.wave { position: absolute; left: 0; width: 100%; fill: var(--bg); pointer-events: none; z-index: 2; }
.wave--bottom { bottom: -1px; height: var(--dv-hero); }
.wave--bluetop { top: -1px; height: var(--dv-bluetop); transform: rotate(180deg); }
.wave--top { top: -1px; height: var(--dv-bandtop); }
.cta > .wave--top { height: var(--dv-ctatop); }
.wave--overhang { top: calc(100% - 1px); height: var(--dv-over); fill: var(--blue-2); z-index: 5; }
.wave--bandbottom { bottom: -1px; height: var(--dv-bandbottom); transform: scaleY(-1); }

.phead { position: relative; background: var(--grad-blue); color: #fff; padding: calc(var(--hdr-h) + 70px) 0 150px; overflow: hidden; text-align: center; }
.phead .eyebrow { justify-content: center; }
.phead__text { margin: 0 auto; }
.phead::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 186, 73, .25), transparent 70%); }
.phead h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.phead__text { color: rgba(255, 255, 255, .85); max-width: 60ch; font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.sec { position: relative; padding: clamp(64px, 8vw, 120px) 0; }
.sec--tight { padding-top: clamp(40px, 5vw, 70px); }
.sec__head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head.center .eyebrow { justify-content: center; }
.sec__head p { font-size: 1.1rem; }
.sec__head--light h2 { color: #fff; }
.sec__head--light p { color: rgba(255, 255, 255, .85); }
.sec__head--light .eyebrow { color: var(--yellow); }
.sec__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 50px); }
.sec__row .sec__head { margin-bottom: 0; }

/* Karten mit Glas-Symbol */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); padding-top: 50px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 70px 26px 28px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid rgba(20, 42, 99, .05); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 6px 6px; background: var(--grad-yellow); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__icon { position: absolute; top: -50px; left: 50%; transform: translateX(-50%); width: 104px; height: 104px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, #fff6e6 60%, #ffe9c4 100%); box-shadow: 0 10px 26px rgba(251, 139, 36, .22); display: grid; place-items: center; }
.card__icon img { width: 82px; height: 82px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(25, 115, 184, .25)); transition: transform .4s var(--ease); }
.card:hover .card__icon img { transform: scale(1.08) rotate(-4deg); }
.card__title { font-size: 1.15rem; color: var(--navy); margin-bottom: .6em; }
.card__text { font-size: .98rem; line-height: 1.6; }
.card__media { margin-top: auto; padding-top: 20px; display: grid; gap: 8px; }
.card__media.media-n3, .card__media.media-n4 { grid-template-columns: 1fr 1fr; }
/* zwei Fotos in einer Karte: übereinander, damit sie den Platz neben längeren Nachbartexten nutzen */
.card__media.media-n2 { grid-template-columns: 1fr; }
.card__media.media-n2 .media__item { aspect-ratio: 4 / 3; }
.card__media .media__item { aspect-ratio: 4 / 5; }
.card__media.media-n1 .media__item { aspect-ratio: 4 / 3; }
.card__media.media-n3 .media__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

.media__item { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--sky); }
.media__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media__item:hover img { transform: scale(1.06); }
.media__zoom { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
.media__item:hover .media__zoom, .gallery__item:hover .media__zoom, .media__item:focus-visible .media__zoom { opacity: 1; transform: none; }

.morelink { margin-top: clamp(40px, 5vw, 64px); display: flex; align-items: center; justify-content: center; gap: 18px 26px; flex-wrap: wrap; padding: 22px 28px; border-radius: 999px; background: var(--sky); width: fit-content; margin-left: auto; margin-right: auto; }
.morelink p { margin: 0; font-weight: 700; color: var(--navy); font-size: 1.15rem; }

/* Blauer Bereich (Vorteile, Leistungen) */
.sec--blue { position: relative; z-index: 3; color: rgba(255, 255, 255, .86); padding: calc(var(--dv-bluetop) + clamp(50px, 6vw, 80px)) 0 clamp(60px, 7vw, 90px);
  background: radial-gradient(circle at 92% 14%, rgba(255, 255, 255, .09), transparent 30%), radial-gradient(circle at 6% 45%, rgba(255, 186, 73, .10), transparent 28%), linear-gradient(180deg, var(--blue) 0%, var(--blue-2) 82%, var(--blue-2) 100%); }
.sec--blue + .sec { padding-top: calc(var(--dv-over) + clamp(50px, 6vw, 80px)); }
.sec--blue .container { position: relative; z-index: 1; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feats--4 { grid-template-columns: repeat(4, 1fr); }
.feat { padding: 28px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .3s, transform .3s var(--ease); }
.feat:hover { background: rgba(255, 255, 255, .12); transform: translateY(-4px); }
.feat__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-yellow); color: var(--navy-2); margin-bottom: 18px; box-shadow: 0 8px 20px rgba(251, 139, 36, .3); }
.feat__icon .icon { width: 28px; height: 28px; }
.feat__title { color: #fff; font-size: 1.15rem; margin-bottom: .45em; }
.feat__text { font-size: .98rem; line-height: 1.6; color: rgba(255, 255, 255, .82); }

/* Ablauf */
.steps-wrap { background: var(--sky); border-radius: 40px; padding: clamp(40px, 6vw, 80px) clamp(18px, 5vw, 70px); }
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; position: relative; display: grid; gap: 26px; counter-reset: step; }
.steps::before { content: ''; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: repeating-linear-gradient(180deg, rgba(25, 115, 184, .35) 0 8px, transparent 8px 16px); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.step__num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-yellow); color: var(--navy-2); font-weight: 800; font-size: 1.35rem; box-shadow: 0 0 0 6px var(--sky), 0 10px 20px rgba(251, 139, 36, .35); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step__card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 30px; display: grid; gap: 24px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step__card::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad-yellow); transform: scaleY(0); transition: transform .4s var(--ease); }
.step__text h3 { transition: color .3s; }
.step:hover .step__card { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step:hover .step__card::before { transform: scaleY(1); }
.step:hover .step__num { transform: scale(1.1); box-shadow: 0 0 0 6px var(--sky), 0 14px 26px rgba(251, 139, 36, .5); }
.step:hover .step__text h3 { color: var(--blue); }
.step--media .step__card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.step__label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .4em; }
.step__text h3 { color: var(--navy); font-size: 1.35rem; }
.step__media { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.step__media.media-n1 { grid-template-columns: 1fr; }
.step__media.media-n1 .media__item { aspect-ratio: 4 / 3; }
.step__media.media-n2 { grid-template-columns: 1fr 1fr; }
.step__media.media-n2 .media__item { aspect-ratio: 4 / 5; }
.step__media.media-n3 .media__item, .step__media.media-n4 .media__item { aspect-ratio: 3 / 4; }
.step__media.media-n4 { grid-template-columns: repeat(2, 1fr); }
.step__media.media-n4 .media__item { aspect-ratio: 4 / 3; }
.steps__note { display: flex; gap: 14px; align-items: flex-start; max-width: 1040px; margin: 34px auto 0; padding: 20px 24px; border-radius: var(--radius); background: #fff; border-left: 4px solid var(--yellow); color: var(--ink); font-weight: 600; }
.steps__note .icon { color: var(--orange); margin-top: 2px; }

/* Bildband */
.band { position: relative; isolation: isolate; min-height: clamp(460px, 62vh, 640px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(14, 31, 75, .42) 0%, rgba(14, 31, 75, .08) 100%), linear-gradient(180deg, rgba(34, 34, 34, .18) 0%, rgba(25, 115, 184, .35) 100%); }
.band { min-height: 740px; }
.band > .wave { z-index: 1; }
.sec--blue + .band > .wave--top { display: none; }
.band__in { padding-top: calc(var(--dv-bandtop) + 70px); padding-bottom: calc(var(--dv-bandbottom) + 50px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.band__in .btns { justify-content: center; }
.band__title { color: var(--yellow); font-size: clamp(2rem, 1.2rem + 2.8vw, 3.3rem); max-width: 22ch; position: relative; padding-bottom: .5em; text-wrap: balance; text-shadow: 0 4px 6px rgba(0, 0, 0, .4), 0 2px 24px rgba(8, 18, 45, .3); }
.band__title::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 72px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .85); }
.band__text { font-size: 1.15rem; max-width: 56ch; text-shadow: 0 1px 12px rgba(8, 18, 45, .4); color: rgba(255, 255, 255, .9); margin: 1.2rem 0 2rem; }

/* Galerie */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gallery--1 { grid-template-columns: minmax(0, 640px); justify-content: center; }
.gallery__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--sky); box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 31, 75, .35), transparent 50%); opacity: 0; transition: opacity .3s; }
.gallery__item:hover::after { opacity: 1; }
.gallery__item .media__zoom { z-index: 1; }

/* Leistungs-Kacheln */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: 0 20px 40px rgba(8, 20, 55, .25); transition: transform .35s var(--ease), box-shadow .35s; }
.svc:hover { transform: translateY(-8px); color: var(--text); box-shadow: 0 30px 60px rgba(8, 20, 55, .35); }
.svc__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 40px 26px 26px; }
.svc__icon { position: absolute; top: -30px; left: 24px; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-yellow); color: var(--navy-2); box-shadow: 0 10px 22px rgba(251, 139, 36, .4); }
.svc__icon .icon { width: 30px; height: 30px; }
.svc__title { display: block; font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: .45em; line-height: 1.2; }
.svc__text { display: block; font-size: .98rem; line-height: 1.6; margin-bottom: 1.2em; }
.svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue); }
.svc:hover .svc__more .icon { transform: translateX(4px); }
.svc__more .icon { transition: transform .25s; }
.services--compact { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.svc--mini { flex-direction: row; align-items: center; gap: 16px; padding: 16px 20px; box-shadow: var(--shadow-sm); border-radius: var(--radius); }
.svc--mini .svc__icon { position: static; width: 48px; height: 48px; border-radius: 14px; }
.svc--mini .svc__title { margin: 0; font-size: 1.05rem; }

/* Beiträge */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.pcard__date { display: inline-flex; align-items: center; gap: .4em; font-size: .85rem; font-weight: 600; color: var(--orange); margin-bottom: .6em; }
.pcard__title { font-size: 1.2rem; line-height: 1.3; margin-bottom: .55em; }
.pcard__title a { color: var(--navy); text-decoration: none; }
.pcard__title a:hover { color: var(--blue); }
.pcard__text { font-size: .96rem; line-height: 1.6; margin-bottom: 1.2em; }
.pcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; font-weight: 700; background: #fff; box-shadow: var(--shadow-sm); }
.pager a[aria-current] { background: var(--grad-blue); color: #fff; }
.empty { text-align: center; color: var(--muted); }

/* Beitrag */
.sec--article { padding-top: clamp(30px, 4vw, 60px); }
.article { max-width: 860px; }
.prose { font-size: 1.1rem; line-height: 1.75; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 1.8em 0 .6em; color: var(--navy); }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; color: var(--navy); }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.prose strong { color: var(--ink); }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 34px; margin-bottom: .55em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-yellow) ; -webkit-mask: none; }
.prose ul li::after { content: ''; position: absolute; left: 7px; top: .55em; width: 8px; height: 5px; border-left: 2.5px solid var(--navy-2); border-bottom: 2.5px solid var(--navy-2); transform: rotate(-45deg); }
.prose ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.prose ol li { margin-bottom: .45em; }
.prose blockquote { margin: 2em 0; padding: 26px 30px; border-radius: var(--radius); background: var(--sky); border-left: 5px solid var(--blue); font-size: 1.15rem; color: var(--ink); font-style: italic; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; box-shadow: var(--shadow-sm); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: .5em; }
.prose a { font-weight: 600; }
.prose--legal { max-width: 860px; margin: 0 auto; font-size: 1.02rem; }
.prose--legal h2 { margin-top: 2em; }
.prose--legal h3 { font-size: 1.12rem; }
.article__gallery { margin-top: 50px; }
.article__gallery h2 { font-size: 1.5rem; color: var(--navy); }
.article__cta { margin: 50px 0 0; padding: 26px 30px; border-radius: var(--radius-lg); background: var(--grad-blue); color: rgba(255, 255, 255, .9); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article__cta p { margin: 0; }
.article__cta strong { color: #fff; }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.article__nav a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); font-weight: 700; line-height: 1.35; padding: 14px; border-radius: 14px; transition: background-color .2s; }
.article__nav a:hover { background: var(--sky); }
.article__nav small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; }
.article__next { justify-content: flex-end; text-align: right; }

/* Technik-Tabelle */
.tech { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.tech__head { position: sticky; top: 110px; }
.tech__head h2 { margin-bottom: .8em; }
.tech__table { margin: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.tech__row { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; padding: 18px 28px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.tech__row:nth-child(odd) { background: #fbfcfe; }
.tech__row:last-child { border-bottom: 0; }
.tech__row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-yellow); transform: scaleY(0); transition: transform .35s var(--ease); }
.tech__row dt { font-weight: 700; color: var(--navy); transition: color .3s, transform .35s var(--ease); }
.tech__row dd { margin: 0; color: var(--text); transition: color .3s; }
.tech__row:hover { background: var(--sky); }
.tech__row:hover::before { transform: scaleY(1); }
.tech__row:hover dt { color: var(--blue); transform: translateX(6px); }
.tech__row:hover dd { color: var(--ink); }

/* Zertifikate */
.sec--certs { padding-top: 0; }
.chips { list-style: none; padding: 0; margin: 0 auto 50px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; }
.chip { display: inline-flex; align-items: center; gap: .45em; padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--navy); font-size: .95rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s; }
.chip .icon { color: var(--orange); transition: color .3s, transform .35s var(--ease); }
.chip:hover { transform: translateY(-3px); background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(25, 115, 184, .3); }
.chip:hover .icon { color: var(--yellow); transform: scale(1.2); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 56px; }
/* Anheben mit Schatten statt Vergrößern – Vergrößern ruckelt in Firefox bei diesen kleinen Logos (in allen getesteten Varianten) */
.logos__item { display: grid; place-items: center; height: 120px; padding: 10px; }
.logos__item img { max-height: 110px; width: auto; max-width: 220px; object-fit: contain; transition: transform .6s cubic-bezier(.45, 0, .25, 1), filter .6s; }
.logos__item:hover img { transform: translateY(-4px); filter: drop-shadow(0 10px 12px rgba(20, 42, 99, .25)); }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 38px 20px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.stat__value { display: block; font-size: clamp(2.8rem, 2rem + 3vw, 4.4rem); line-height: 1; font-weight: 800; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat__label { font-weight: 700; color: var(--navy); font-size: 1.1rem; }

/* Kontaktbereich */
.cta { position: relative; background: linear-gradient(180deg, var(--blue) 47%, var(--blue-2) 100%); color: rgba(255, 255, 255, .88); padding: calc(var(--dv-ctatop) + clamp(60px, 7vw, 100px)) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.cta::after { content: ''; position: absolute; left: 50%; top: 30%; width: 900px; height: 900px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 186, 73, .12), transparent 60%); pointer-events: none; }
.cta__in { position: relative; z-index: 1; }
.cta__head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.cta__head h2 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); }
.cta__head p { font-size: 1.15rem; margin-bottom: 1.8rem; }
.cta__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: flex; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; transition: background-color .25s, transform .25s var(--ease); min-width: 0; }
.tile:hover { background: rgba(255, 255, 255, .15); color: #fff; transform: translateY(-3px); }
.tile__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-yellow); color: var(--navy-2); }
.tile small { display: block; color: rgba(255, 255, 255, .7); font-size: .85rem; font-weight: 600; }
.tile strong { display: block; color: #fff; font-size: 1.12rem; overflow-wrap: anywhere; }

/* Fußbereich */
.ftr { background: linear-gradient(180deg, #ffc35e 0%, var(--yellow) 40%, var(--orange) 100%); color: rgba(14, 31, 75, .85); font-size: .97rem; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.ftr__logo { height: 62px; width: auto; margin-bottom: 18px; }
.ftr__h { color: var(--navy-2); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1em; }
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr__list a, .ftr__btn { color: rgba(14, 31, 75, .85); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; text-align: left; }
.ftr__list a:hover, .ftr__btn:hover { color: var(--blue); }
.ftr__contact li { display: flex; gap: 12px; align-items: flex-start; }
.ftr__contact .icon { color: var(--blue-2); margin-top: 3px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-2); color: #fff; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--blue); color: #fff; }
.social .icon { width: 20px; height: 20px; }
.ftr__social { margin-top: 20px; }
.ftr__bar { background: var(--blue-2); color: rgba(255, 255, 255, .85); font-size: .88rem; }
.ftr__bar-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.ftr__bar nav { display: flex; gap: 22px; }
.ftr__bar a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.ftr__bar a:hover { color: var(--yellow); }

/* --------------------------------------------------------------------------
   Anfrage-Overlay
   -------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 18, 45, .66); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.modal__box { position: relative; width: min(1040px, 100%); max-height: calc(100dvh - 40px); overflow: auto; display: grid; grid-template-columns: 340px 1fr; background: #fff; border-radius: 30px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .3s, transform .35s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; transition: background-color .2s; }
.modal__close:hover { background: var(--line); }
.modal__side { background: var(--grad-blue); color: rgba(255, 255, 255, .85); padding: 42px 34px; position: relative; overflow: hidden; }
.modal__side::after { content: ''; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 186, 73, .3), transparent 70%); }
.modal__side h2 { color: #fff; font-size: 2rem; }
.modal__contact { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.modal__contact a, .modal__contact span { display: flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.modal__contact .icon { color: var(--yellow); }
.modal__main { padding: 42px 40px 38px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--navy); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 500; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 14px; background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(25, 115, 184, .12); }
.field.is-invalid input, .field.is-invalid textarea, .check.is-invalid span::before { border-color: #d64545; }
.field__err { font-size: .82rem; color: #c03a3a; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; font-size: .9rem; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.check.is-invalid { color: #c03a3a; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__msg { padding: 12px 16px; border-radius: 12px; background: #fdecec; color: #a12d2d; font-weight: 600; font-size: .95rem; }
.cform button[type="submit"] { width: 100%; }
.cform.is-busy button[type="submit"] { opacity: .7; pointer-events: none; }
.cform__done { text-align: center; padding: 50px 10px; }
.cform__done-icon { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-yellow); color: var(--navy-2); }
.cform__done-icon .icon { width: 42px; height: 42px; }
.cform__done h3 { font-size: 1.8rem; color: var(--blue); }
.cform__done p { max-width: 40ch; margin: 0 auto 1.5em; }
body.has-modal { overflow: hidden; }

/* Großansicht */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(6, 14, 36, .94); display: grid; place-items: center; padding: 60px 70px; opacity: 0; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__fig img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__fig figcaption { color: rgba(255, 255, 255, .7); font-size: .9rem; }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Einblendungen beim Scrollen */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .hdr__phone span { display: none; }
  .hdr__phone { width: 44px; height: 44px; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .12); }
  .hdr.is-solid .hdr__phone { background: var(--sky); }
}
@media (max-width: 1080px) {
  .cards, .cards--3 { grid-template-columns: repeat(2, 1fr); row-gap: 70px; }
  .feats, .feats--4 { grid-template-columns: repeat(2, 1fr); }
  .services, .posts { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .tech { grid-template-columns: 1fr; }
  .tech__head { position: static; }
}
@media (max-width: 980px) {
  :root { --hdr-h: 72px; }
  .hero--lg, .hero--md { min-height: min(100svh, 820px); }
  .band { min-height: 560px; }
  .nav, .hdr__cta { display: none; }
  .burger { display: inline-flex; }
  .hdr__actions, .nav + .hdr__actions { margin-left: auto; }
  .hdr__logo img { height: 42px; }
  .step--media .step__card { grid-template-columns: 1fr; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__side { padding: 30px 26px; }
  .modal__side p:not(.eyebrow), .modal__contact { display: none; }
  .modal__side h2 { margin: 0; font-size: 1.6rem; }
  .cta__tiles { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .services--compact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --dv-hero: 60px; --dv-bluetop: 40px; --dv-over: 34px; --dv-bandtop: 34px; --dv-ctatop: 32px; --dv-bandbottom: 60px; }
  body { font-size: 1rem; }
  .hero__in { padding-bottom: 110px; }
  .hero__title { max-width: none; }
  .hero .btns .btn { flex: 1 1 100%; }
  .cards, .cards--2, .cards--3 { grid-template-columns: 1fr; }
  .feats, .feats--4 { grid-template-columns: 1fr; }
  .feat { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; padding: 22px; }
  .feat__icon { grid-row: span 2; margin: 0; }
  .services, .posts, .stats { grid-template-columns: 1fr; }
  .services--compact { grid-template-columns: 1fr; }
  .gallery, .gallery--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery__item { border-radius: 14px; }
  .steps-wrap { border-radius: 26px; padding: 36px 16px; margin: 0 calc(var(--gutter) * -1 + 8px); }
  .steps::before { left: 19px; }
  .step { grid-template-columns: 40px 1fr; gap: 12px; }
  .step__num { width: 40px; height: 40px; font-size: 1.05rem; box-shadow: 0 0 0 4px var(--sky); }
  .step__card { padding: 20px; }
  .step__media.media-n3 { grid-template-columns: 1fr 1fr; }
  .step__media.media-n3 .media__item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .morelink { border-radius: var(--radius); flex-direction: column; text-align: center; }
  .band__in { padding-top: 70px; padding-bottom: 70px; }
  .band .btns .btn { flex: 1 1 100%; }
  .tech__row { grid-template-columns: 1fr; gap: 2px; padding: 14px 20px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; }
  .article__nav { grid-template-columns: 1fr; }
  .article__next { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
  .modal { padding: 0; align-items: end; }
  .modal__box { border-radius: 24px 24px 0 0; max-height: 94dvh; }
  .modal__main { padding: 26px 20px 30px; }
  .cform__grid { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 10px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
