/* Elektrotechnik Udo Stienen – Website
   Farben, Schrift und Abschnitts-Übergänge wie auf der bisherigen Divi-Seite ausgelesen:
   Blau #0090E1 / #4AA9E0, Gelb #FFBC42, Notdienst-Rot #FF0000 → #ED0000, Text #565656, Open Sans */

@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url('../fonts/open-sans-latin.woff2') format('woff2'); 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: 'Open Sans'; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url('../fonts/open-sans-latin-ext.woff2') format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url('../fonts/open-sans-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --blue: #0090e1; --blue-l: #4aa9e0; --blue-d: #0078bd;
  --yellow: #ffbc42; --yellow-d: #f5a91f;
  --red: #ff0000; --red-d: #ed0000;
  --text: #565656; --grey: #848484; --line: #e3e8ee; --soft: #f3f6f9;
  --grad: linear-gradient(180deg, var(--blue-l) 0%, var(--blue) 100%);
  --grad2: linear-gradient(180deg, var(--blue) 0%, var(--blue-l) 100%);
  --grad-card: linear-gradient(180deg, var(--blue) 0%, var(--blue-l) 100%);
  --shadow: 0 12px 18px -6px rgba(0, 0, 0, .3);
  --shadow-lg: 0 30px 70px rgba(0, 30, 60, .3);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 98px;
  --wrap: 1152px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: 'Open Sans', Arial, sans-serif; font-size: 20px; line-height: 1.4; font-weight: 500; color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 300; }
.skip:focus { left: 8px; }
.container { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; position: relative; }
.container--narrow { max-width: 1152px; }
.center { text-align: center; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }
svg.fa { width: 1em; height: 1em; flex: none; }
body.has-modal { overflow: hidden; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ------------------------------------------------------------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: 12px 18px; border: 0; border-radius: 5px; font-weight: 500; font-size: 18px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn svg.fa { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn--xl { font-size: 24px; padding: 15px 16px; }
.btn--lg { font-size: 20px; padding: 14px 24px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); color: #fff; }
.btn--yellow { background: var(--yellow); color: #fff; }
.btn--yellow:hover { background: var(--yellow-d); color: #fff; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { box-shadow: 0 10px 24px rgba(0, 40, 80, .25); color: var(--blue-d); }
.btn--outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--block { width: 100%; }
.btnrow { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* ------------------------------------------------------------- Kopfbereich */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--hdr); transition: background-color .3s, box-shadow .3s, height .3s; }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 5%; }
.hdr__logo img { width: 250px; height: auto; transition: width .3s; }
.hdr__logo span { color: #fff; font-weight: 800; font-size: 22px; }
.hdr.is-solid { background: #fff; box-shadow: 0 2px 18px rgba(0, 0, 0, .12); }
html.pv .hdr { position: absolute; }
.nav { display: flex; align-items: center; gap: 12px; font-family: Arial, Helvetica, sans-serif; }
.nav__item { position: static; }
.nav__link { display: inline-flex; align-items: center; gap: 7px; padding: 15px; border: 0; border-radius: 5px; background: transparent; color: #fff; font: 400 18px/1 Arial, Helvetica, sans-serif; text-decoration: none; transition: color .2s, background-color .2s; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(255, 255, 255, .12); }
.hdr.is-solid .nav__link { color: #4a4a4a; }
.hdr.is-solid .nav__link:hover, .hdr.is-solid .nav__link[aria-expanded="true"] { background: #f1f5f9; }
.nav__link.is-active span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--yellow); }
.nav__icon { width: 23px !important; height: 23px !important; }
.nav__icon--blue { color: var(--blue); }
.nav__icon--yellow { color: var(--yellow); }
.nav__item--nd { margin-left: 28px; }
.nav__link--nd, .hdr.is-solid .nav__link--nd { background: var(--red); color: #fff; box-shadow: var(--shadow); }
.nav__link--nd:hover, .nav__link--nd[aria-expanded="true"], .hdr.is-solid .nav__link--nd:hover, .hdr.is-solid .nav__link--nd[aria-expanded="true"] { background: var(--red-d); }
.hdr__actions { display: none; align-items: center; gap: 10px; }
.hdr__nd { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 5px; background: var(--red); color: #fff; text-decoration: none; font: 700 15px/1 Arial, Helvetica, sans-serif; box-shadow: var(--shadow); }
.hdr__nd svg { width: 20px; height: 20px; }
.burger { width: 48px; height: 48px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.burger .icon { width: 26px; height: 26px; }
.hdr.is-solid .burger { background: var(--soft); color: var(--blue); }

/* Leistungs-Kacheln im Menü (wie das bisherige Popup) */
.mega, .ndpop { position: absolute; top: calc(var(--hdr) - 10px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; z-index: 5; }
[data-mega].is-open > .mega, [data-mega].is-open > .ndpop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.mega { left: 50%; width: min(1180px, calc(100% - 40px)); margin-left: max(-590px, calc(-50% + 20px)); display: grid; grid-template-columns: 1fr 300px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 30, 60, .28), 0 0 0 1px rgba(0, 40, 80, .06); }
.mega__main { padding: 24px 24px 22px; max-height: calc(100vh - var(--hdr) - 30px); overflow: auto; }
.mega__main .eyebrow { margin: 0 0 12px 12px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; }
.mlink { display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; border-radius: 12px; text-decoration: none; color: #24313b; font-family: 'Open Sans', Arial, sans-serif; transition: background-color .2s; }
.mlink:hover, .mlink.is-active { background: #eef6fd; }
.mlink__img { width: 58px; height: 58px; flex: none; border-radius: 12px; background: linear-gradient(180deg, #f5f9fd, #e8f1fa); display: grid; place-items: center; transition: transform .25s var(--ease); }
.mlink:hover .mlink__img { transform: translateY(-2px); }
.mlink__img img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .15)); }
.mlink__txt strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; }
.mlink.is-active strong, .mlink:hover strong { color: var(--blue); }
.mlink__txt small { display: block; margin-top: 2px; color: #7b8590; font-size: 12.5px; line-height: 1.35; }
.mega__aside { background: var(--grad2); color: rgba(255, 255, 255, .92); padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-family: 'Open Sans', Arial, sans-serif; font-size: 15px; line-height: 1.5; }
.mega__aside p { margin: 0; }
.mega__q { color: #fff; font-weight: 800; font-size: 21px; line-height: 1.25; }
.mega__phones { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.mega__phones a { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.mega__phones svg { color: var(--yellow); width: 15px; height: 15px; }
.mega__all { margin-top: auto; color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid rgba(255, 255, 255, .4); padding-bottom: 2px; }
.mega__all:hover { border-color: var(--yellow); }
.tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 14px 14px; border-radius: 8px; background: linear-gradient(180deg, #fff 26%, #ededed 100%); box-shadow: var(--shadow); text-decoration: none; text-align: center; transition: transform .25s var(--ease), box-shadow .25s; }
.tile:hover, .tile.is-active { transform: translateY(-4px); box-shadow: 0 18px 26px -8px rgba(0, 0, 0, .35); }
.tile__title { color: var(--blue); font-family: 'Open Sans', Arial, sans-serif; font-weight: 700; font-size: 17px; line-height: 1.25; text-transform: uppercase; min-height: 2.5em; display: flex; align-items: center; }
.tile__img img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .15)); transition: transform .3s var(--ease); }
.tile:hover .tile__img img { transform: translateY(-4px); }

/* Notdienst (Fenster am Button, roter Bereich, mobiles Menü) */
.ndpop { right: 5%; width: min(1070px, calc(100% - 40px)); }
.nd { display: grid; grid-template-columns: 1fr 1fr; gap: 0; color: #fff; font-family: 'Open Sans', Arial, sans-serif; }
.nd--pop { background: var(--red); border-radius: 15px; padding: 50px; box-shadow: var(--shadow-lg); }
.nd__left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-right: 40px; }
.nd__head, .nd__call { display: flex; align-items: flex-start; gap: 16px; }
.nd__icon { width: 58px !important; height: 52px !important; flex: none; }
.nd__title { margin: 0; font-weight: 800; font-size: 24px; line-height: 1.25; }
.nd--pop .nd__title { white-space: nowrap; }
.nd__sub { margin: 4px 0 0; font-size: 18px; }
.nd__call { color: #fff; text-decoration: none; align-items: center; }
.nd__call b { display: block; font-size: 26px; text-transform: uppercase; letter-spacing: .01em; }
.nd__num { display: block; font-size: 30px; font-weight: 400; white-space: nowrap; }
.nd__call:hover .nd__num { text-decoration: underline; }
.nd__right { border-left: 2px solid #fff; padding-left: 20px; display: flex; flex-direction: column; }
.nd__table { margin: 0; display: grid; gap: 0; }
.nd__table > div { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 14px 0; }
.nd__table > div:first-child { padding-top: 0; }
.nd__table dt { font-weight: 800; font-size: 19px; }
.nd__table dd { margin: 0; font-size: 17px; text-align: right; }
.nd__note { margin: 14px 0 0; text-align: right; font-size: 17px; }

/* Mobiles Menü */
.mnav { position: fixed; inset: 0; z-index: 110; background: #fff; overflow-y: auto; padding: 18px 20px 30px; display: flex; flex-direction: column; opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .3s 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: 14px; }
.mnav__logo { width: 180px; }
.mnav__close { width: 48px; height: 48px; border: 0; border-radius: 8px; background: var(--soft); color: var(--blue); display: grid; place-items: center; }
.mnav__list { display: flex; flex-direction: column; }
.mnav__list > a, .mnav__list > button { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; color: #333; text-decoration: none; font-weight: 600; font-size: 19px; }
.mnav__label { display: flex; align-items: center; gap: 12px; margin: 16px 0 10px; padding: 0 4px; color: #333; font-weight: 600; font-size: 19px; }
.mnav__tiles { display: grid; grid-template-columns: 1fr; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mnav__tile { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; background: var(--soft); text-decoration: none; color: var(--blue); font-weight: 700; font-size: 14px; line-height: 1.2; text-transform: uppercase; min-width: 0; }
@media (min-width: 560px) { .mnav__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mnav__img { flex: none; }
.mnav__img img { width: 36px; height: 36px; object-fit: contain; }
.mnav__foot { margin-top: 22px; display: grid; gap: 10px; }
.nd--mobile { grid-template-columns: 1fr; background: var(--red); border-radius: 12px; padding: 20px; gap: 14px; }
.nd--mobile .nd__left { padding: 0; gap: 16px; }
.nd--mobile .nd__right { border: 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .6); }
.nd--mobile .nd__icon { width: 34px !important; height: 30px !important; }
.nd--mobile .nd__title { font-size: 19px; }
.nd--mobile .nd__sub, .nd--mobile .nd__table dd, .nd--mobile .nd__note { font-size: 15px; }
.nd--mobile .nd__call b { font-size: 17px; }
.nd--mobile .nd__num { font-size: 22px; font-weight: 700; }
.nd--mobile .nd__table dt { font-size: 15px; }
.nd--mobile .nd__table > div { padding: 6px 0; }

/* ------------------------------------------------------------- Abschnitte & Übergänge */
.sec { position: relative; padding: 110px 0 140px; isolation: isolate; }
.sec--white { background: #fff; }
.sec--blue { background: var(--grad); color: #fff; }
.sec--blue2 { background: var(--grad2); color: #fff; }
.sec--red { background: linear-gradient(180deg, var(--red) 0%, var(--red-d) 99%); color: #fff; padding: 56px 0 80px; }
.sec--tight { padding-top: 40px; }
.dv { position: absolute; left: 0; width: 100%; display: block; z-index: 3; pointer-events: none; }
.dv--bottom { bottom: -1px; }
.dv--top { top: -1px; }
.dv--fy { transform: scaleY(-1); }
.dv--fx { transform: scaleX(-1); }
.dv--r { transform: rotate(180deg); }

/* Überschriften */
.head { text-align: center; margin: 0 auto 60px; max-width: 1152px; }
.head:last-child { margin-bottom: 0; }
.head__icon { display: inline-grid; place-items: center; margin-bottom: 22px; }
.head__icon svg { width: 110px; height: 100px; }
.head__title { font-size: clamp(30px, 3.6vw, 50px); text-transform: uppercase; line-height: 1.12; margin-bottom: 10px; }
.head__title--sm { font-size: clamp(26px, 2.4vw, 36px); color: var(--blue); }
.head__text { font-size: 18px; line-height: 1.45; }
.head__text p { margin-bottom: 1em; }
.head__text ul { text-align: left; display: inline-block; }
.head--light, .head--light .head__title { color: #fff; }
.head--light .head__icon { color: #fff; }
.head--blue .head__title { color: var(--blue); font-size: clamp(32px, 4.4vw, 65px); letter-spacing: 1px; }
.head--blue .head__text { color: var(--text); font-size: 20px; }
.head--bluetext .head__title { font-size: clamp(30px, 3.6vw, 50px); letter-spacing: 0; }
.head--bluetext .head__text { color: var(--blue); font-size: 18px; }
.head--bluetext .head__icon { color: var(--blue); }
.head--normal .head__title { text-transform: none; }
.head--left { text-align: left; margin: 0; }
.head--side { display: flex; align-items: center; gap: 20px; text-align: left; max-width: none; padding: 0 2%; }
.head--side .head__icon { margin: 0; }
.head--side .head__icon svg { width: 66px; height: 100px; }
.head--cta .head__title { text-transform: none; font-size: clamp(32px, 4vw, 60px); }
.head--cta .head__text { font-size: 24px; max-width: 700px; margin: 0 auto; }
.head--cta .head__icon svg { width: 90px; height: 100px; }

/* ------------------------------------------------------------- Kopfbild mit Parallaxe */
.hero { position: relative; isolation: isolate; min-height: max(640px, min(98vh, 1000px)); display: flex; align-items: center; color: #fff; overflow: hidden; padding: calc(var(--hdr) + 120px) 0 100px; background: #2a2f36; }
.hero--sm { min-height: max(460px, 62vh); }
.hero__media, .hero__shade { position: absolute; inset: 0; z-index: -1; }
.hero__media, .sec__media { overflow: hidden; }
/* Parallaxe wie Divi: Bild = Abschnitt + 30 % Fensterhöhe, unten bündig, oben ausgerichtet */
.hero__img, .sec__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: linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .47) 100%); }
.hero__in { text-align: center; }
.hero__eyebrow { font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-bottom: 14px; }
.hero__eyebrow a { color: var(--yellow); text-decoration: none; }
.hero__title { max-width: 1100px; margin: 0 auto; color: var(--blue); font-size: clamp(32px, 4.5vw, 65px); line-height: 1; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 6.5px 6.5px rgba(0, 0, 0, .4); padding-bottom: 10px; overflow-wrap: break-word; hyphens: auto; }
.hero--sm .hero__title { font-size: clamp(28px, 3.4vw, 50px); line-height: 1.1; }
.hero__text { max-width: 1100px; margin: 0 auto; font-size: clamp(19px, 2.1vw, 30px); line-height: 1.2; }
.hero__row { display: flex; align-items: center; justify-content: space-between; gap: 30px 60px; flex-wrap: wrap; max-width: 1000px; margin: 100px auto 0; text-align: left; }
.hero__btn { flex: 0 0 auto; }
.callbox { display: flex; align-items: center; gap: 14px; }
.callbox__icon { width: 62px !important; height: 62px !important; color: var(--yellow); }
.callbox__label { margin: 0 0 2px; font-weight: 700; font-size: 26px; text-transform: uppercase; color: #fff; line-height: 1.2; }
.callbox a { display: block; color: var(--blue); font-weight: 700; font-size: clamp(20px, 2vw, 30px); line-height: 1; text-decoration: none; text-shadow: 0 2px 4px rgba(0, 0, 0, .35); margin-top: 4px; }
.callbox a:hover { color: #fff; }

/* Seitenkopf ohne Bild (Rechtstexte, 404) */
.phead { position: relative; background: var(--grad2); color: #fff; padding: calc(var(--hdr) + 70px) 0 120px; text-align: center; }
.phead h1 { font-size: clamp(32px, 4.4vw, 60px); text-transform: uppercase; }
.phead__text { max-width: 760px; margin: 14px auto 0; font-size: 20px; }

/* ------------------------------------------------------------- Karten mit 3D-Bild */
.cards { display: grid; gap: 110px 36px; grid-template-columns: repeat(3, 1fr); margin-top: 120px; }
.cards--1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(2, 1fr); }
.cards--4x { grid-template-columns: repeat(4, 1fr); gap: 110px 28px; }
.cards--notext .card { padding-top: 120px; justify-content: center; }
.cards--notext .card__title { margin: 0; font-size: 20px; }
.card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; background: var(--grad-card); border-radius: 10px; padding: 115px 26px 28px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 30px -10px rgba(0, 0, 0, .35); }
.card__img { position: absolute; top: -80px; left: 50%; width: 170px; height: 170px; margin-left: -85px; display: grid; place-items: center; }
.card__img img { width: auto; height: auto; max-width: 100%; max-height: 150px; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .25)); transition: transform .4s var(--ease); }
.card:hover .card__img img { transform: translateY(-6px); }
.card__title { font-size: 22px; text-transform: uppercase; margin-bottom: 12px; line-height: 1.2; hyphens: auto; }
.card__text { font-size: 18px; line-height: 1.4; }

/* Leistungs-Kacheln (Startseite) */
.sec--services { padding-top: 70px; }
.sec--services .container { width: min(1368px, calc(100% - 48px)); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; }
.svc { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 15px 25px 22px; border-radius: 10px; background: linear-gradient(180deg, #fff 26%, #ededed 100%); box-shadow: var(--shadow); color: var(--text); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.svc:hover { transform: translateY(-5px); box-shadow: 0 24px 32px -10px rgba(0, 0, 0, .4); }
.svc__title { color: var(--blue); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.3; min-height: 2.6em; display: flex; align-items: center; }
.svc__img img { width: 150px; height: 150px; object-fit: contain; margin: 4px auto 10px; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .18)); transition: transform .4s var(--ease); }
.svc:hover .svc__img img { transform: translateY(-6px) scale(1.03); }
.svc__text { font-size: 16px; line-height: 1.4; flex: 1; }
.svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 5px 12px; border-radius: 3px; background: var(--yellow); color: #fff; font-size: 16px; transition: background-color .2s; }
.svc__more svg { width: 10px; height: 14px; }
.svc:hover .svc__more { background: var(--yellow-d); }

/* „So arbeiten wir“ – Bild mit Abdunklung */
.sec--image { color: #fff; padding: 140px 0 160px; background: #3b3b3b; }
.sec__media, .sec__shade { position: absolute; inset: 0; z-index: -1; }
.sec__media { z-index: -2; }
.sec__shade { background: rgba(7, 7, 7, .59); }
.sec--image > .dv { z-index: 1; }
.head--image .head__title { color: var(--blue); font-size: clamp(34px, 4.5vw, 65px); letter-spacing: 1px; }
.head--image .head__text { font-size: clamp(19px, 2vw, 30px); line-height: 1.2; max-width: 1080px; margin: 0 auto; }
.wcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 140px; }
.wcard { position: relative; background: var(--blue-l); border-radius: 8px; padding: 74px 18px 22px; text-align: center; font-size: 18px; line-height: 1.3; }
.wcard__img { position: absolute; top: -78px; left: 50%; width: 130px; height: 130px; margin-left: -65px; }
.wcard__img { display: grid; place-items: center; }
.wcard__img img { width: auto; height: auto; max-width: 100%; max-height: 130px; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .3)); }
.wcard__title { font-size: 20px; text-transform: uppercase; margin-bottom: 10px; }

/* Ablauf */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; gap: 30px; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: 8px; padding: 25px 28px 25px 22px; color: var(--text); box-shadow: 0 10px 24px -12px rgba(0, 40, 80, .35); transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -12px rgba(0, 40, 80, .45); }
.step__icon { display: grid; place-items: center; color: var(--yellow); padding-top: 2px; }
.step__icon svg { width: 80px; height: 68px; }
.step__title { color: var(--blue); font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; margin-bottom: 10px; line-height: 1.15; }
.step__num { color: var(--yellow); }
.step__body { font-size: 20px; line-height: 1.4; }

/* Siegel neben dem Einleitungstext */
.seal { display: flex; justify-content: center; margin-bottom: 26px; }
.seal__img { width: auto; height: 170px; max-width: 240px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .2)); }

/* Qualität mit Logos */
.sec--quality .head { margin-bottom: 50px; }
.logos { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 30px 50px; }
.logos__item img { height: 200px; width: auto; max-width: 260px; object-fit: contain; transition: transform .3s var(--ease), filter .3s; }
.logos__item:hover img { transform: translateY(-6px); filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .22)); }

/* Kontaktbereich unten */
.cta { text-align: center; padding-bottom: 150px; }
.cta__btn { margin: 34px 0 0; }
.cta__btn .btn { box-shadow: 0 10px 22px rgba(0, 50, 100, .18); }
.cta__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; max-width: 1060px; margin: 90px auto 0; }
.cta__label { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 6px; font-weight: 700; font-size: 26px; text-transform: uppercase; }
.cta__label svg { width: 24px; height: 24px; }
.cta__big { display: block; color: #fff; font-size: clamp(19px, 2.1vw, 30px); line-height: 1.05; text-decoration: none; overflow-wrap: anywhere; }
@media (min-width: 981px) { .cta__big { white-space: nowrap; } }
.cta__big:hover { text-decoration: underline; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 48px; }
.member { background: #fff; border-radius: 10px; overflow: hidden; color: var(--text); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease); }
.member:hover { transform: translateY(-4px); }
.member__photo { position: relative; aspect-ratio: 383 / 419; overflow: hidden; background: #ddd; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.member__band { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px 10px; background: rgba(240, 180, 60, .82); text-align: center; }
.member__name { color: var(--blue); font-size: clamp(20px, 2vw, 27px); text-transform: uppercase; line-height: 1.15; }
.member__role { margin: 4px 0 0; color: #fff; font-size: 20px; line-height: 1.2; }
.member__list { margin: 0; padding: 16px 24px 24px 42px; font-weight: 700; font-size: 18px; line-height: 1.45; }

/* Stellenangebote */
.jobboxes { display: grid; gap: 30px; max-width: 1080px; margin: 0 auto; }
.jobbox { display: grid; grid-template-columns: 96px 1fr; gap: 14px; background: #fff; border-radius: 8px; padding: 25px 28px 30px 20px; color: var(--text); box-shadow: 0 10px 24px -12px rgba(0, 40, 80, .35); }
.jobbox--blue { background: var(--grad2); color: #fff; }
.jobbox__icon { display: grid; justify-items: center; color: var(--yellow); padding-top: 6px; }
.jobbox__icon svg { width: 82px; height: 70px; }
.jobbox__title { color: var(--blue); font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; margin-bottom: 10px; }
.jobbox--blue .jobbox__title { color: #fff; }
.jobbox__body { font-size: 20px; line-height: 1.3; }
.jobbox__body ul { margin: 0; padding-left: 22px; }

/* ------------------------------------------------------------- Beiträge */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .3); transition: transform .3s var(--ease), box-shadow .3s; }
.pcard:hover { transform: translateY(-5px); box-shadow: 0 22px 36px -14px rgba(0, 0, 0, .38); }
.pcard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); border-bottom: 8px solid; border-image: linear-gradient(90deg, var(--blue), var(--blue-l)) 1; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__date { display: flex; align-items: center; gap: 6px; color: var(--grey); font-size: 15px; margin-bottom: 8px; }
.pcard__title { font-size: 21px; line-height: 1.25; text-transform: uppercase; margin-bottom: 10px; hyphens: auto; }
.pcard__title a { color: var(--blue); text-decoration: none; }
.pcard__text { font-size: 17px; line-height: 1.45; flex: 1; }
.pcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--blue); font-weight: 700; font-size: 17px; text-decoration: none; }
.pcard__more:hover { color: var(--yellow-d); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 6px; background: var(--soft); color: var(--blue); text-decoration: none; font-weight: 700; }
.pager a[aria-current] { background: var(--blue); color: #fff; }
.sec__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.empty { text-align: center; color: var(--grey); }

/* Beitrag */
.sec--article { padding-top: 70px; }
.article { max-width: 860px; }
.prose { font-size: 19px; line-height: 1.65; color: #4a4a4a; }
.prose h2 { color: var(--blue); font-size: clamp(24px, 2.4vw, 32px); margin: 1.6em 0 .5em; line-height: 1.2; }
.prose h3 { color: var(--blue); font-size: 22px; margin: 1.4em 0 .4em; }
.prose h4 { font-size: 19px; margin: 1.2em 0 .3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose img { border-radius: 10px; margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 14px 22px; border-left: 5px solid var(--yellow); background: var(--soft); border-radius: 0 8px 8px 0; }
.prose > :first-child { margin-top: 0; }
.prose--legal { max-width: 900px; margin: 0 auto; font-size: 17px; }
.prose--legal h2 { font-size: 24px; }
.prose--legal h3 { font-size: 19px; }
.article__gallery { margin-top: 46px; }
.article__gallery h2 { color: var(--blue); font-size: 26px; margin-bottom: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.media__zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--blue); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.gallery__item:hover .media__zoom { opacity: 1; }
.article__cta { margin-top: 50px; padding: 26px 30px; border-radius: 12px; background: var(--grad2); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 18px; }
.article__cta p { margin: 0; max-width: 520px; }
.article__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.article__nav a { display: flex; align-items: center; gap: 12px; max-width: 48%; color: var(--blue); text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.3; }
.article__nav small { display: block; color: var(--grey); font-weight: 500; font-size: 13px; }
.article__next { text-align: right; margin-left: auto; }

/* 404 */
.tiles--404 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ------------------------------------------------------------- Fußbereich (weiß wie bisher, Spalten wie bei Pool Solutions) */
.ftr { background: #fff; color: #6b6b6b; font-size: 16px; }
.ftr__grid { display: grid; grid-template-columns: 1.15fr 1.55fr .9fr 1.25fr; gap: 40px 48px; align-items: start; padding: 64px 0 46px; width: min(1296px, calc(100% - 48px)); }
.ftr__logo { width: 170px; height: auto; }
.ftr__claim { margin: 18px 0 22px; font-size: 15.5px; line-height: 1.55; max-width: 290px; }
.ftr__h { color: var(--blue); font-size: 17px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.ftr__h--sm { font-size: 13px; margin-bottom: 10px; color: #8a8a8a; }
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 22px; }
.ftr__list a, .ftr__btn { color: #5f5f5f; text-decoration: none; font-size: 15.5px; line-height: 1.4; transition: color .2s; }
.ftr__btn { border: 0; padding: 0; background: none; text-align: left; }
.ftr__list a:hover, .ftr__btn:hover { color: var(--blue); }
.ftr__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.ftr__contact svg { width: 16px; height: 16px; margin-top: 3px; color: var(--blue); flex: none; }
.ftr__nd svg { color: var(--red); }
.ftr__nd a { color: var(--red) !important; font-weight: 700; }
.ftr__nd a span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.social { display: flex; gap: 10px; }
.social a { color: #7a7a7a; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid #e1e6ec; transition: color .2s, border-color .2s, background-color .2s, transform .2s; }
.social a:hover { color: #fff; background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.ftr__bar { background: var(--grey); color: #fff; font-size: 14.5px; padding: 14px 0; }
.ftr__bar-in { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; width: min(1296px, calc(100% - 48px)); }
.ftr__bar nav { display: flex; gap: 22px; }
.ftr__bar a { color: #fff; text-decoration: none; }
.ftr__bar a:hover { text-decoration: underline; }

/* ------------------------------------------------------------- Kontakt-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(0, 18, 35, .62); backdrop-filter: blur(5px); opacity: 0; transition: opacity .3s; }
.modal__box { position: relative; width: min(1060px, 100%); max-height: calc(100dvh - 40px); overflow: auto; display: grid; grid-template-columns: 370px 1fr; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(24px) 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(--soft); color: var(--blue); display: grid; place-items: center; transition: background-color .2s, transform .2s; }
.modal__close:hover { background: #e3ebf3; transform: rotate(90deg); }
.modal__side { position: relative; overflow: hidden; background: var(--grad2); color: #fff; padding: 40px 34px; display: flex; flex-direction: column; font-size: 17px; line-height: 1.45; }
.modal__side::after { content: ''; position: absolute; right: -110px; bottom: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%); pointer-events: none; }
.modal__badge { width: 86px; height: 86px; border-radius: 14px; background: #fff; color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 12px 24px rgba(0, 40, 80, .2); }
.modal__badge svg { width: 46px; height: 46px; }
.modal__side h2 { font-size: 32px; margin-bottom: 12px; }
.modal__contact { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.modal__contact a, .modal__contact span { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.modal__contact a:hover { text-decoration: underline; }
.modal__contact svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }
.modal__nd { position: relative; z-index: 1; margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--red); color: #fff; text-decoration: none; font-size: 15px; line-height: 1.3; box-shadow: 0 10px 20px rgba(120, 0, 0, .25); }
.modal__side .modal__contact + .modal__nd { margin-top: 30px; }
.modal__nd svg { width: 26px; height: 26px; flex: none; }
.modal__main { padding: 40px 40px 36px; }
.cform__intro { margin: 0 50px 18px 0; color: var(--grey); font-size: 16px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: #444; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #dbe3ec; border-radius: 8px; background: #f6f8fb; font: 500 16px/1.4 'Open Sans', Arial, sans-serif; color: #333; 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(0, 144, 225, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d64545; }
.field__err { color: #c03a3a; font-size: 13.5px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; font-size: 14px; line-height: 1.45; color: #555; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.check.is-invalid { color: #c03a3a; }
.check .field__err { display: block; margin-top: 4px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__msg { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; background: #fdecec; color: #b42f2f; font-size: 15px; }
.cform__send { margin-top: 22px; }
.cform.is-busy .cform__send { opacity: .6; pointer-events: none; }
.cform__done { text-align: center; padding: 50px 10px; }
.cform__done-icon { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.cform__done-icon svg { width: 38px; height: 38px; }
.cform__done h3 { color: var(--blue); font-size: 30px; margin-bottom: 10px; }
.cform__done p { font-size: 18px; margin-bottom: 24px; }

/* Großansicht */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(0, 10, 20, .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: 10px; }
.lightbox__fig figcaption { color: rgba(255, 255, 255, .7); font-size: 15px; }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.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%); }
.lightbox__nav[hidden] { display: none; }

/* Einblendungen beim Scrollen (wie die Divi-Animationen „von oben“) */
.js [data-reveal] { opacity: 0; transform: translateY(-22px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal].is-in:hover, .js .svc[data-reveal].is-in:hover { transform: translateY(-5px); transition-delay: 0ms; }

/* ------------------------------------------------------------- Überarbeitung: feinere Gestaltung (Übergänge, Farben, Kopf und Fuß unverändert) */
body { font-size: 18px; line-height: 1.55; }
.btn { border-radius: 8px; font-weight: 600; box-shadow: 0 10px 22px -10px rgba(0, 40, 80, .55); }
.btn--yellow, .btn--yellow:hover { color: #1f2a33; }
.btn--yellow { background: linear-gradient(180deg, #ffc65e, var(--yellow)); }
.btn--yellow:hover { background: linear-gradient(180deg, #ffbe4a, var(--yellow-d)); box-shadow: 0 14px 26px -10px rgba(245, 169, 31, .7); }
.btn--blue { background: linear-gradient(180deg, #14a0ee, var(--blue)); }
.btn--white { box-shadow: 0 14px 30px -12px rgba(0, 40, 90, .5); }
.svc__more { color: #1f2a33; border-radius: 6px; font-weight: 600; }

/* Dachzeile über Überschriften */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow-d); line-height: 1.2; }
.eyebrow::before, .eyebrow::after { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.eyebrow--left::after, .mega__main .eyebrow::after { display: none; }
.head--light .eyebrow, .head--image .eyebrow, .head--side .eyebrow { color: var(--yellow); }
.head__icon + .eyebrow { display: flex; justify-content: center; }
.head--side .eyebrow { display: inline-flex; }
.head__text { font-size: 18px; line-height: 1.6; max-width: 900px; margin-left: auto; margin-right: auto; }
.head--side .head__text { margin-left: 0; }
.head__title { letter-spacing: .5px; }

/* Kopfbild */
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px auto 0; padding: 0; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(6px); font-size: 14.5px; font-weight: 600; }
.hero__badges svg { color: var(--yellow); width: 17px; height: 17px; }
.callbox--hero { padding: 14px 24px 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.callbox--hero .callbox__icon { width: 52px !important; height: 52px !important; }
.callbox--hero .callbox__label { font-size: 20px; }
.callbox--hero a { font-size: clamp(20px, 1.8vw, 26px); }
.hero__eyebrow { display: inline-flex; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; letter-spacing: .14em; }

/* Telefon im Kopf */
.hdr__phone { display: none; align-items: center; gap: 8px; margin-left: 10px; color: #fff; text-decoration: none; font: 700 17px/1 Arial, Helvetica, sans-serif; white-space: nowrap; }
.hdr__phone svg { width: 18px; height: 18px; color: var(--yellow); }
.hdr.is-solid .hdr__phone { color: #333; }
.hdr__phone:hover span { text-decoration: underline; }
@media (min-width: 1440px) { .hdr__phone { display: inline-flex; } }

/* Karten */
.card { border-radius: 14px; box-shadow: 0 18px 30px -16px rgba(0, 60, 120, .55); }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); pointer-events: none; }
.card__title { letter-spacing: .3px; }
.card__text { font-size: 17px; line-height: 1.5; opacity: .96; }
.svc { border-radius: 14px; }
.svc__text { font-size: 15.5px; line-height: 1.5; }
.wcard { border-radius: 14px; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .5); }

/* Ablauf als Zeitstrahl */
.steps { position: relative; padding-left: 78px; max-width: 1100px; gap: 22px; }
.steps::before { content: ''; position: absolute; left: 26px; top: 30px; bottom: 30px; border-left: 2px dashed rgba(255, 255, 255, .55); }
.step { position: relative; border-radius: 14px; grid-template-columns: 84px 1fr; padding: 24px 28px 24px 18px; }
.step__num { position: absolute; left: -78px; top: 24px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #1f2a33; font-weight: 800; font-size: 22px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .22), 0 10px 20px -8px rgba(0, 0, 0, .35); }
.step__icon svg { width: 62px; height: 54px; }
.step__label { margin: 0 0 4px; color: var(--yellow-d); font-weight: 800; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.step__title { font-size: clamp(20px, 2vw, 26px); }
.step__body { font-size: 17.5px; line-height: 1.55; }

/* Qualität: Logos als Kacheln, weitere Leistungen */
.logos { gap: 26px; justify-content: center; }
.logos__item { display: grid; place-items: center; width: 240px; height: 220px; padding: 18px; background: #fff; border-radius: 18px; box-shadow: 0 18px 34px -18px rgba(0, 40, 80, .4), 0 0 0 1px rgba(0, 40, 80, .05); transition: transform .3s var(--ease), box-shadow .3s; }
.logos__item img { height: auto; max-height: 180px; max-width: 200px; }
.logos__item:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -18px rgba(0, 40, 80, .5); }
.logos__item:hover img { transform: none; filter: none; }
.more { margin-top: 70px; padding-top: 44px; border-top: 1px solid var(--line); text-align: center; }
.more__title { margin: 0 0 18px; color: var(--blue); font-weight: 800; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.more__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chiplink { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 5px; border-radius: 999px; background: #f1f6fb; color: #24313b; text-decoration: none; font-size: 15px; font-weight: 600; transition: background-color .2s, color .2s, transform .2s; }
.chiplink:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.chiplink__img { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.chiplink__img img { width: 26px; height: 26px; object-fit: contain; }

/* Kontaktbereich: Kacheln */
.cta__tiles { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 18px; max-width: 1120px; margin: 70px auto 0; }
.ctile { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .26); color: #fff; text-decoration: none; text-align: left; backdrop-filter: blur(4px); transition: background-color .2s, transform .2s; }
.ctile:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.ctile__icon { width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--yellow); color: #1f2a33; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .35); }
.ctile__icon svg { width: 22px; height: 22px; }
.ctile small { display: block; font-size: 13.5px; opacity: .85; margin-bottom: 2px; }
.ctile strong { display: block; font-size: 19px; line-height: 1.25; overflow-wrap: anywhere; }

/* Notdienst-Bereich */
.sec--red .nd__table > div { border-bottom: 1px solid rgba(255, 255, 255, .22); padding: 12px 0; }
.sec--red .nd__table > div:last-child { border-bottom: 0; }
.nd__call { padding: 14px 20px 14px 14px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); align-self: flex-start; transition: background-color .2s; }
.nd__call:hover { background: rgba(255, 255, 255, .2); }

/* Team & Beiträge */
.member { border-radius: 14px; }
.member__list { font-weight: 600; font-size: 16.5px; }
.pcard { border-radius: 14px; }

/* Handy: Kontaktleiste unten */
.mbar { display: none; }
@media (max-width: 700px) {
  .mbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .12); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 6px; }
  .mbar__btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px; border: 0; border-radius: 10px; background: #f1f6fb; color: var(--blue); text-decoration: none; font: 700 12.5px/1.1 'Open Sans', Arial, sans-serif; }
  .mbar__btn svg { width: 20px; height: 20px; }
  .mbar__btn--nd { background: var(--red); color: #fff; }
  body { padding-bottom: 66px; }
  body.has-modal .mbar { display: none; }
}

/* ------------------------------------------------------------- Responsiv */
@media (max-width: 1280px) {
  .nav { gap: 2px; }
  .nav__link { padding: 13px 11px; font-size: 17px; }
  .nav__item--nd { margin-left: 10px; }
  .hdr__logo img { width: 210px; }
  .mega__grid { gap: 18px 22px; }
}
@media (max-width: 1100px) {
  :root { --hdr: 76px; }
  .nav { display: none; }
  .hdr__actions { display: flex; }
  .hdr__logo img { width: 190px; }
  .cards, .cards--4x, .services, .posts, .team { grid-template-columns: repeat(2, 1fr); }
  .tiles--404 { grid-template-columns: repeat(3, 1fr); }
  .wcards { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; gap: 100px; }
}
@media (max-width: 980px) {
  body { font-size: 18px; }
  .sec { padding: 80px 0 110px; }
  .hero__row { justify-content: center; margin-top: 50px; }
  .seal__img { height: 130px; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__side { padding: 28px 26px; }
  .modal__side > p, .modal__contact { display: none; }
  .modal__badge { width: 60px; height: 60px; margin-bottom: 14px; }
  .modal__badge svg { width: 32px; height: 32px; }
  .modal__side h2 { font-size: 26px; margin: 0; }
  .modal__side .modal__nd, .modal__side .modal__contact + .modal__nd { margin-top: 16px; }
  .ndpop { display: none; }
  .nd { grid-template-columns: 1fr; }
  .nd__left { padding: 0 0 26px; }
  .nd__right { border-left: 0; border-top: 2px solid #fff; padding: 22px 0 0; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand, .ftr__col--wide { grid-column: 1 / -1; }
  .cta__tiles { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .container { width: calc(100% - 32px); }
  .sec { padding: 64px 0 96px; }
  .head { margin-bottom: 40px; }
  .head__icon svg { width: 76px; height: 70px; }
  .head__text, .head--blue .head__text { font-size: 17px; }
  .head--side { flex-direction: column; text-align: center; }
  .head--side .head__icon svg { width: 46px; height: 70px; }
  .hero { padding-bottom: 90px; }
  .hero__title { font-size: clamp(22px, 6.6vw, 40px); letter-spacing: 0; }
  .head__title, .head--blue .head__title, .head--image .head__title, .phead h1 { font-size: clamp(22px, 6.6vw, 34px); letter-spacing: 0; hyphens: auto; }
  .hero__row { flex-direction: column; gap: 30px; }
  .btn--xl { font-size: 20px; }
  .callbox__icon { width: 46px !important; height: 46px !important; }
  .callbox__label { font-size: 20px; }
  .cards, .cards--4x, .services, .posts, .team, .gallery { grid-template-columns: 1fr; }
  .cards { margin-top: 100px; gap: 100px; }
  .card { padding: 96px 20px 24px; }
  .card__img { width: 140px; height: 140px; margin-left: -70px; top: -70px; }
  .card__img img { max-height: 130px; }
  .card__text, .step__body, .jobbox__body { font-size: 17px; }
  .step, .jobbox { grid-template-columns: 1fr; padding: 22px 20px; gap: 6px; }
  .step__icon, .jobbox__icon { justify-items: start; place-items: start; }
  .step__icon svg, .jobbox__icon svg { width: 54px; height: 46px; }
  .logos__item img { height: 140px; max-width: 200px; }
  .tiles--404 { grid-template-columns: repeat(2, 1fr); }
  .nd--pop, .sec--red .nd { padding: 0; }
  .nd__icon { width: 44px !important; height: 40px !important; }
  .nd__num { font-size: 24px; }
  .ftr__grid { grid-template-columns: 1fr; padding-top: 46px; gap: 32px; }
  .ftr__bar-in { flex-direction: column; align-items: center; text-align: center; }
  .steps { padding-left: 0; }
  .steps::before { display: none; }
  .step__num { position: static; width: 40px; height: 40px; font-size: 17px; box-shadow: none; }
  .step { grid-template-columns: 1fr; }
  .step__icon { display: none; }
  .logos__item { width: 150px; height: 140px; padding: 12px; }
  .logos__item img { max-height: 110px; max-width: 120px; }
  .hero__badges li { font-size: 13.5px; }
  .ctile strong { font-size: 17px; }
  .cform__grid { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal__box { border-radius: 20px 20px 0 0; max-height: 94dvh; }
  .modal__main { padding: 24px 20px 28px; }
  .lightbox { padding: 60px 10px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
  .hdr__nd span { display: none; }
  .article__nav { flex-direction: column; }
  .article__nav a { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =============================================================================
   Überarbeitung 3 – Karten, Kacheln, Einleitung, Notdienst, Team, Ablauf, Buttons
   (Übergänge, Farben, Kopf und Fuß bleiben wie bisher)
   ============================================================================= */

/* Buttons: Glanz beim Überfahren, ohne Flackern (Hintergrund wechselt nicht, Trefferfläche bleibt beim Anheben) */
.btn { position: relative; background-size: 260% 100%, 100% 100%; background-position: 115% 0, 0 0; background-repeat: no-repeat; transition: transform .25s var(--ease), box-shadow .25s, background-position .7s var(--ease), color .2s; }
.btn::before { content: ''; position: absolute; inset: -6px -3px -9px; }
.btn:hover { transform: translateY(-2px); background-position: -25% 0, 0 0; }
.btn--blue, .btn--blue:hover { background-color: var(--blue); background-image: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .38) 50%, transparent 62%), linear-gradient(180deg, #14a0ee, var(--blue)); color: #fff; }
.btn--blue:hover { box-shadow: 0 16px 28px -12px rgba(0, 110, 180, .75); }
.btn--yellow, .btn--yellow:hover { background-color: var(--yellow); background-image: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%), linear-gradient(180deg, #ffc65e, var(--yellow)); color: #1f2a33; }
.btn--yellow:hover { box-shadow: 0 16px 28px -12px rgba(245, 169, 31, .8); }
.btn--white, .btn--white:hover { background-color: #fff; background-image: linear-gradient(110deg, transparent 38%, rgba(0, 144, 225, .14) 50%, transparent 62%), linear-gradient(#fff, #fff); color: var(--blue); }

/* Überschriften auf weißem Grund etwas ruhiger */
.head--blue .head__title { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.12; letter-spacing: .5px; }
.head--blue .head__text, .head--bluetext .head__text { color: #5a5a5a; font-size: 18px; }
.head--bluetext .head__text strong { color: var(--blue); }
.head--bluetext .head__title { font-size: clamp(28px, 3.1vw, 42px); }
.head__icon svg { width: 84px; height: 76px; }

/* Erste Sektion unter dem Kopfbild: zweispaltig */
.sec--intro { padding-top: 90px; }
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.intro__visual { width: 92px; height: 92px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 22px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32); color: #fff; box-shadow: 0 18px 34px -18px rgba(0, 40, 80, .6); }
.intro__visual svg { width: 46px; height: 46px; }
.intro__visual--img { width: auto; height: auto; padding: 0; background: none; border: 0; box-shadow: none; }
.intro__seal { width: auto; height: auto; max-height: 150px; max-width: 200px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .25)); }
.intro__title { color: #fff; font-size: clamp(28px, 3vw, 44px); line-height: 1.12; text-transform: uppercase; letter-spacing: .5px; }
.intro__text { position: relative; padding: 30px 34px; border-radius: 20px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .26); border-left: 5px solid var(--yellow); box-shadow: 0 24px 44px -26px rgba(0, 30, 70, .65); backdrop-filter: blur(4px); font-size: 18px; line-height: 1.65; color: #fff; }
.intro__text p { margin-bottom: .85em; }
.intro__text p:last-child { margin-bottom: 0; }

/* Karten mit 3D-Bild: weiß, Bild im hellblauen Kreis, Akzentlinie */
.cards { margin-top: 54px; gap: 28px; }
.cards--4x { gap: 24px; }
.card { background: #fff; color: var(--text); border: 1px solid #e6edf4; border-radius: 20px; padding: 32px 26px 30px; overflow: hidden; box-shadow: 0 20px 40px -26px rgba(0, 50, 100, .45); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card::before { inset: 0 0 auto 0; height: 5px; border-radius: 0; box-shadow: none; background: linear-gradient(90deg, var(--blue), var(--blue-l) 60%, var(--yellow)); transform: scaleX(.22); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: #cfe4f4; box-shadow: 0 30px 50px -26px rgba(0, 60, 120, .55); }
.card:hover::before { transform: scaleX(1); }
.card__img { position: relative; top: auto; left: auto; width: 142px; height: 142px; margin: 0 auto 20px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #f3f9fe 0%, #dcedfa 62%, #c9e3f7 100%); box-shadow: inset 0 -8px 18px rgba(0, 110, 190, .12); }
.card__img img { max-width: 112px; max-height: 112px; transition: transform .45s var(--ease); }
.card:hover .card__img img { transform: translateY(-6px) rotate(-3deg); }
.card__title { color: var(--blue); font-size: 19px; line-height: 1.25; margin-bottom: 10px; }
.card__text { color: #5a5a5a; font-size: 16.5px; line-height: 1.55; opacity: 1; }
.cards--notext .card { padding: 30px 20px 28px; }
.cards--notext .card__title { font-size: 17.5px; }
.js .card[data-reveal].is-in:hover { transform: translateY(-6px); }

/* Leistungs-Kacheln (Startseite) */
.services { gap: 24px; }
.svc { position: relative; overflow: hidden; padding: 26px 24px 24px; border-radius: 20px; background: #fff; box-shadow: 0 22px 40px -24px rgba(0, 30, 70, .6); }
.svc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--yellow), #ffd88a); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.svc:hover::before { transform: scaleX(1); }
.svc__img { order: -1; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; background: radial-gradient(circle at 50% 38%, #f3f9fe 0%, #dcedfa 62%, #c9e3f7 100%); }
.svc__img img { width: 100px; height: 100px; margin: 0; }
.svc:hover .svc__img img { transform: translateY(-6px) rotate(-3deg); }
.svc__title { min-height: 0; font-size: 18.5px; margin-bottom: 8px; }
.svc__text { color: #5a5a5a; }
.svc__more { margin-top: 16px; padding: 0; background: none; color: var(--blue); font-weight: 700; font-size: 15.5px; gap: 6px; box-shadow: none; }
.svc__more .icon { transition: transform .3s var(--ease); }
.svc:hover .svc__more { background: none; color: var(--blue-d); }
.svc:hover .svc__more .icon { transform: translateX(5px); }
.js .svc[data-reveal].is-in:hover { transform: translateY(-6px); }

/* „So arbeiten wir“: Glas-Karten mit Hover */
.wcard { padding: 82px 24px 28px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(8px); box-shadow: 0 24px 44px -26px rgba(0, 0, 0, .7); transition: transform .35s var(--ease), background-color .35s, border-color .35s; }
.wcard:hover { transform: translateY(-6px); background: rgba(0, 144, 225, .42); border-color: rgba(255, 188, 66, .7); }
.wcard__img { top: -70px; }
.wcard__img img { transition: transform .45s var(--ease); }
.wcard:hover .wcard__img img { transform: translateY(-8px) rotate(-3deg); }
.wcard__title { color: #fff; font-size: 19px; letter-spacing: .3px; }
.wcard p { color: rgba(255, 255, 255, .9); font-size: 16.5px; line-height: 1.55; }
.js .wcard[data-reveal].is-in:hover { transform: translateY(-6px); }

/* Logos frei stehend (ohne Kacheln) */
.logos { gap: 30px 60px; }
.logos__item { width: auto; height: auto; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.logos__item img { height: 170px; max-height: none; width: auto; max-width: 230px; transition: transform .35s var(--ease), filter .35s; }
.logos__item:hover { transform: none; box-shadow: none; }
.logos__item:hover img { transform: translateY(-6px); filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .2)); }

/* Ablauf: Hover wie bei Pool Solutions */
.step { transition: transform .4s var(--ease), box-shadow .4s var(--ease); overflow: visible; }
.step::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--yellow), var(--yellow-d)); transform: scaleY(0); transition: transform .4s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -20px rgba(0, 40, 80, .55); }
.step:hover::before { transform: scaleY(1); }
.step__num { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover .step__num { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 255, 255, .3), 0 14px 26px -8px rgba(245, 169, 31, .8); }
.step__icon svg { transition: transform .4s var(--ease); }
.step:hover .step__icon svg { transform: translateY(-3px); }
.step__title { transition: color .3s; }
.step:hover .step__title { color: var(--blue-d); }
.js .step[data-reveal].is-in:hover { transform: translateY(-4px); }
.jobbox { position: relative; border-radius: 16px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.jobbox:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -20px rgba(0, 40, 80, .5); }
.js .jobbox[data-reveal].is-in:hover { transform: translateY(-4px); }

/* Team */
.team { gap: 34px; }
.member { border-radius: 20px; box-shadow: 0 24px 44px -26px rgba(0, 30, 70, .7); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: 0 34px 54px -26px rgba(0, 30, 70, .75); }
.js .member[data-reveal].is-in:hover { transform: translateY(-6px); }
.member__photo { aspect-ratio: 4 / 4.4; }
.member__photo img { transition: transform .7s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__band { padding: 70px 22px 18px; background: linear-gradient(180deg, rgba(0, 25, 50, 0) 0%, rgba(0, 25, 50, .55) 45%, rgba(0, 25, 50, .88) 100%); text-align: left; }
.member__name { color: #fff; font-size: clamp(19px, 1.7vw, 23px); letter-spacing: .4px; }
.member__role { display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 999px; background: var(--yellow); color: #1f2a33; font-size: 13.5px; font-weight: 700; }
.member__list { list-style: none; margin: 0; padding: 20px 24px 24px; display: grid; gap: 9px; font-weight: 500; font-size: 15.5px; line-height: 1.45; color: #4f4f4f; }
.member__list li { position: relative; padding-left: 30px; }
.member__list li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #e3f2fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230090e1' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Notdienst – neu (Fenster oben und roter Bereich gleich) */
.nd { display: block; color: #fff; }
.sec--red .nd { max-width: 1080px; margin: 0 auto; }
.nd--pop { padding: 32px 34px; border-radius: 22px; background: linear-gradient(160deg, #ff2323 0%, var(--red) 45%, #e40000 100%); }
.nd__top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.nd__badge { width: 64px; height: 64px; flex: none; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: 0 14px 26px -12px rgba(90, 0, 0, .6); }
.nd__badge svg { width: 32px; height: 30px; }
.nd__heading { flex: 1; min-width: 220px; }
.nd__title { font-size: 25px; font-weight: 800; line-height: 1.2; white-space: normal; }
.nd--pop .nd__title { white-space: normal; }
.nd__sub { margin: 4px 0 0; font-size: 17px; opacity: .92; }
.nd__call { display: inline-flex; align-items: center; gap: 14px; padding: 10px 24px 10px 10px; border: 0; border-radius: 999px; background: #fff; color: var(--red); text-decoration: none; box-shadow: 0 16px 30px -14px rgba(80, 0, 0, .7); align-self: center; transition: transform .25s var(--ease), box-shadow .25s; }
.nd__call:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(80, 0, 0, .8); }
.nd__callicon { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; animation: ndpulse 2.2s infinite; }
.nd__callicon svg { width: 20px; height: 20px; }
.nd__call small { display: block; color: #b30000; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nd__call b { display: block; font-size: 22px; line-height: 1.15; white-space: nowrap; text-transform: none; letter-spacing: 0; }
@keyframes ndpulse { 0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, .45); } 70% { box-shadow: 0 0 0 12px rgba(255, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); } }
.nd__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; }
.nd__box { padding: 16px 22px 14px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); }
.nd__boxh { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: #ffe2a6; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nd__boxh svg { width: 14px; height: 14px; }
.nd .nd__table > div, .sec--red .nd__table > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.nd .nd__table > div:last-child { border-bottom: 0; }
.nd .nd__table dt { font-weight: 700; font-size: 16.5px; }
.nd .nd__table dd { font-size: 16.5px; font-weight: 600; text-align: right; }
.nd .nd__note { margin: 6px 0 0; font-size: 13.5px; opacity: .85; text-align: right; }
.nd--mobile { padding: 18px; border-radius: 16px; }
.nd--mobile .nd__top { gap: 12px; margin-bottom: 14px; }
.nd--mobile .nd__badge { width: 46px; height: 46px; border-radius: 13px; }
.nd--mobile .nd__badge svg { width: 22px; height: 22px; }
.nd--mobile .nd__title { font-size: 18px; }
.nd--mobile .nd__sub { font-size: 14.5px; }
.nd--mobile .nd__call { width: 100%; }
.nd--mobile .nd__call b { font-size: 18px; }
.nd--mobile .nd__cols { grid-template-columns: 1fr; gap: 10px; }
.nd--mobile .nd__table dt, .nd--mobile .nd__table dd { font-size: 14.5px; }

/* Footer: Leistungen als ruhige Zeile */
.ftr__grid { grid-template-columns: 1.4fr 1fr 1.3fr; }
.ftr__services { border-top: 1px solid #edf1f5; }
.ftr__services-in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 0; padding: 18px 0 20px; width: min(1296px, calc(100% - 48px)); font-size: 14.5px; }
.ftr__services-h { margin-right: 14px; color: var(--blue); font-weight: 800; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.ftr__services a { color: #6b6b6b; text-decoration: none; padding: 2px 0; }
.ftr__services a:hover { color: var(--blue); }
.ftr__services a + a::before { content: '·'; display: inline-block; margin: 0 10px; color: #c2cad3; }

@media (max-width: 1100px) {
  .intro { grid-template-columns: 1fr; gap: 30px; }
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nd__cols { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .sec--intro { padding-top: 70px; }
  .intro__text { padding: 22px 20px; font-size: 16.5px; }
  .intro__visual { width: 70px; height: 70px; border-radius: 18px; }
  .intro__visual svg { width: 34px; height: 34px; }
  .cards { margin-top: 36px; gap: 22px; }
  .card { padding: 28px 22px 26px; }
  .card__img { width: 124px; height: 124px; margin-left: auto; top: auto; }
  .card__img img { max-width: 96px; max-height: 96px; }
  .services { grid-template-columns: 1fr; }
  .wcards { gap: 90px; }
  .logos { gap: 20px 30px; }
  .logos__item img { height: 120px; max-width: 150px; }
  .nd__top { gap: 12px; }
  .nd__call { width: 100%; }
  .nd__call b { font-size: 19px; }
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__services-in { justify-content: flex-start; }
  .ftr__services-h { width: 100%; margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .nd__callicon { animation: none; }
}
.nd__stack { display: flex; flex-direction: column; gap: 16px; }
.nd__stack .nd__box { flex: 1; }
.nd__stack .nd__call { align-self: stretch; justify-content: flex-start; }
.head--long .head__title, .head--blue.head--long .head__title { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; max-width: 1000px; margin-left: auto; margin-right: auto; }
.intro { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); }
.intro__title { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; hyphens: auto; }
.intro__head .eyebrow { color: var(--yellow); }
@media (max-width: 1100px) {
  .intro { grid-template-columns: 1fr; gap: 26px; }
  .intro__seal { max-height: 120px; }
}

/* Einleitung: Einleitungssatz links, Punkte in weißer Karte rechts */
.intro { align-items: center; }
.intro__lead { margin: 18px 0 0; color: rgba(255, 255, 255, .95); font-size: 19px; line-height: 1.6; max-width: 520px; }
.intro__lead strong { color: #fff; font-weight: 700; }
.intro__points { list-style: none; margin: 0; padding: 10px 30px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 30, 70, .7); }
.intro__points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 20px 0; color: #4f5862; font-size: 17px; line-height: 1.6; }
.intro__points li + li { border-top: 1px solid #edf2f7; }
.intro__points strong { color: #24313b; font-weight: 700; }
.intro__tick { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #ffc65e, var(--yellow)); color: #1f2a33; box-shadow: 0 8px 16px -8px rgba(245, 169, 31, .8); margin-top: -2px; }
.intro__tick svg { width: 15px; height: 15px; }
@media (max-width: 700px) {
  .intro__points { padding: 4px 20px; }
  .intro__points li { font-size: 16px; padding: 16px 0; grid-template-columns: 30px 1fr; gap: 12px; }
  .intro__tick { width: 30px; height: 30px; }
  .intro__lead { font-size: 17px; }
}
.intro__orb { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #f3f9fe 0%, #dcedfa 62%, #c9e3f7 100%); box-shadow: 0 22px 40px -22px rgba(0, 30, 70, .7), inset 0 -8px 18px rgba(0, 110, 190, .12); }
.intro__orb img { width: 116px; height: 116px; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .2)); }
@media (max-width: 700px) { .intro__orb { width: 120px; height: 120px; } .intro__orb img { width: 92px; height: 92px; } }
.intro__visual--img { display: inline-grid; justify-items: start; }
.intro__head > .intro__visual { display: grid; width: max-content; }
.intro__head > .intro__visual:not(.intro__visual--img) { width: 92px; height: 92px; place-items: center; }
@media (max-width: 700px) { .intro__head > .intro__visual:not(.intro__visual--img) { width: 70px; height: 70px; } }

/* So arbeiten wir: Einleitung + Versprechen-Leiste */
.head--image .arb__lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; max-width: 760px; color: rgba(255, 255, 255, .92); }
.head--image .arb__lead p { margin-bottom: 0; }
.arb__promise { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); max-width: 1040px; margin: 34px auto 0; padding: 8px; border-radius: 20px; background: rgba(10, 30, 50, .38); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); box-shadow: 0 24px 44px -28px rgba(0, 0, 0, .8); }
.arb__item { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 16px; border-radius: 14px; color: #fff; font-weight: 700; font-size: 16px; line-height: 1.25; transition: background-color .3s, transform .3s var(--ease); }
.arb__item + .arb__item::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255, 255, 255, .2); }
.arb__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 188, 66, .16); border: 1px solid rgba(255, 188, 66, .55); color: var(--yellow); transition: background-color .3s, color .3s, box-shadow .3s; }
.arb__ico svg { width: 19px; height: 19px; }
.arb__item:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.arb__item:hover .arb__ico { background: var(--yellow); color: #1d1d1d; box-shadow: 0 6px 16px -6px rgba(255, 188, 66, .8); }
.arb__promise ~ .wcards { margin-top: 120px; }
@media (max-width: 900px) {
  .arb__promise { grid-template-columns: 1fr 1fr; gap: 4px; }
  .arb__item { justify-content: flex-start; }
  .arb__item + .arb__item::before { display: none; }
}
@media (max-width: 480px) {
  .arb__promise { grid-template-columns: 1fr; }
  .arb__item { padding: 10px 12px; font-size: 15px; }
}

/* Qualität: Einleitung + Karte mit Siegel */
.sec--quality .head { margin-bottom: 22px; }
.qtext { max-width: 860px; margin: 0 auto 54px; text-align: center; }
.qtext__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; font-weight: 600; margin: 0 auto; max-width: 780px; color: #3d3d3d; }
.qtext__lead strong { color: var(--blue); }
.qtext__card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin-top: 28px; padding: 24px 28px; border-radius: 20px; text-align: left; background: #f2f9fe; border: 1px solid #d6ebf8; box-shadow: 0 20px 36px -28px rgba(0, 60, 110, .45); transition: transform .35s var(--ease), box-shadow .35s; }
.qtext__card:hover { transform: translateY(-4px); box-shadow: 0 28px 44px -28px rgba(0, 60, 110, .55); }
.qtext__seal { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(0, 144, 225, .8); }
.qtext__seal svg { width: 22px; height: 22px; }
.qtext__body p { margin: 0; font-size: 16.5px; line-height: 1.65; color: #565656; }
.qtext__body p + p { margin-top: .7em; }
.qtext__body strong { color: var(--blue); }
/* auf Blau */
.sec--blue .qtext__lead { color: #fff; }
.sec--blue .qtext__lead strong { color: var(--yellow); }
.sec--blue .qtext__card { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(8px); box-shadow: 0 24px 40px -28px rgba(0, 30, 60, .6); }
.sec--blue .qtext__seal { background: var(--yellow); color: #1d1d1d; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .35); }
.sec--blue .qtext__body p { color: rgba(255, 255, 255, .94); }
.sec--blue .qtext__body strong { color: #fff; }
@media (max-width: 600px) {
  .qtext { margin-bottom: 40px; }
  .qtext__card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px 18px; gap: 12px; }
  .qtext__seal { width: 46px; height: 46px; }
}

/* Fuß: Marke links, Spalten rechts, Mitte frei; Leistungen mit Überschrift darüber */
.ftr__grid { grid-template-columns: minmax(260px, 1fr) auto auto; column-gap: clamp(48px, 7vw, 110px); }
.ftr__brand { max-width: 360px; }
.ftr__services-in { flex-direction: column; gap: 12px; padding: 24px 0 26px; }
.ftr__services-h { margin: 0; display: flex; align-items: center; gap: 14px; }
.ftr__services-h::before, .ftr__services-h::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--yellow); }
.ftr__services-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; max-width: 1100px; }
.ftr__services a + a::before { content: none; }
@media (max-width: 1000px) {
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 600px) {
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__services-in { align-items: flex-start; }
  .ftr__services-h::before { display: none; }
  .ftr__services-list { justify-content: flex-start; gap: 4px 20px; }
}

/* Rechtstexte */
.btn--sm { padding: 10px 18px; font-size: 15px; }
.phead { padding-bottom: 130px; }
.phead .hero__eyebrow { margin-bottom: 12px; }
.lswitch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); }
.lswitch__link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .25s, color .25s; }
.lswitch__link svg { width: 15px; height: 15px; }
.lswitch__link:hover { background: rgba(255, 255, 255, .16); }
.lswitch__link.is-active { background: #fff; color: var(--blue); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); }
.sec--legal { padding-top: 40px; }
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: start; width: min(1240px, calc(100% - 48px)); }
.legal__card { overflow-wrap: break-word; max-width: none; margin: 0; padding: clamp(26px, 4vw, 54px); background: #fff; border-radius: 22px; border: 1px solid #e6eef5; box-shadow: 0 30px 60px -40px rgba(0, 50, 90, .35); font-size: 16.5px; line-height: 1.7; }
.legal > .legal__card:only-child { grid-column: 1 / -1; max-width: 900px; margin: 0 auto; width: 100%; }
.prose--legal h2 { position: relative; font-size: 22px; margin: 2.2em 0 .7em; padding-top: 1.4em; border-top: 1px solid #edf2f7; scroll-margin-top: calc(var(--hdr) + 24px); }
.prose--legal h2::before { content: ""; position: absolute; left: 0; top: -2px; width: 46px; height: 3px; border-radius: 3px; background: var(--yellow); }
.prose--legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose--legal > h2:first-child::before { display: none; }
.prose--legal h3 { font-size: 17.5px; color: #333; margin: 1.6em 0 .4em; }
.prose--legal p { margin-bottom: .9em; }
.prose--legal a { color: var(--blue); }
.prose--legal ol { counter-reset: n; list-style: none; padding-left: 0; }
.prose--legal ol > li { counter-increment: n; position: relative; padding-left: 40px; margin-bottom: .7em; }
.prose--legal ol > li::before { content: counter(n); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eaf5fd; color: var(--blue); font-weight: 700; font-size: 13.5px; }
.prose--legal ul { list-style: none; padding-left: 0; margin: .5em 0 .9em; }
.prose--legal ul > li { position: relative; padding-left: 20px; margin-bottom: .25em; }
.prose--legal ul > li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.prose--legal blockquote, .prose--legal .box { background: #f4f9fd; border-left-color: var(--blue); }
.legal__toc { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 16px; }
.toc { background: #f4f9fd; border: 1px solid #e0edf7; border-radius: 18px; padding: 18px 16px 14px; }
.toc__h { display: flex; align-items: center; gap: 10px; list-style: none; cursor: default; color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px 6px; }
.toc__h::-webkit-details-marker { display: none; }
.toc__h svg { width: 15px; height: 15px; }
.toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: calc(100vh - var(--hdr) - 240px); overflow: auto; }
.toc__list a { display: block; padding: 7px 10px; border-radius: 10px; color: #555; text-decoration: none; font-size: 14.5px; line-height: 1.35; transition: background-color .2s, color .2s; }
.toc__list a:hover, .toc__list a.is-current { background: #fff; color: var(--blue); box-shadow: 0 4px 12px -8px rgba(0, 50, 90, .4); }
.toc__help { padding: 16px 18px; border-radius: 18px; background: var(--grad2); color: #fff; }
.toc__help p { margin: 0 0 10px; font-weight: 700; }
.toc__help .btn { background: #fff; color: var(--blue); }
@media (max-width: 960px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .legal__toc { position: static; }
  .toc__h { cursor: pointer; }
  .toc__h::after { content: "▾"; margin-left: auto; font-size: 14px; }
  .toc__list { max-height: none; }
  .toc__help { display: none; }
}
@media (max-width: 600px) {
  .lswitch { border-radius: 18px; }
  .lswitch__link { padding: 8px 12px; font-size: 14px; }
  .legal { width: calc(100% - 32px); }
  .legal__card { border-radius: 16px; }
}

/* lange Wörter (z. B. „Netzwerkinstallationen“) dürfen nie über den Rand laufen */
h1, h2, h3, .head__title, .tile__title, .card__title { overflow-wrap: break-word; }
.tiles--404 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .tiles--404 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles--404 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .tiles--404 .tile__title { font-size: 13px; hyphens: auto; } }

/* Handy: Leistungskacheln kompakt (Bild links, Text rechts) */
@media (max-width: 600px) {
  .services { gap: 12px; }
  .svc { display: grid; grid-template-columns: 76px 1fr; grid-template-areas: "img title" "img text" "img more"; column-gap: 16px; align-items: start; padding: 16px 16px 14px; text-align: left; border-radius: 16px; }
  .svc__img { grid-area: img; width: 76px; height: 76px; margin: 0; align-self: center; }
  .svc__img img { width: 58px; height: 58px; }
  .svc__title { grid-area: title; font-size: 15.5px; margin: 0 0 4px; justify-content: flex-start; }
  .svc__text { grid-area: text; font-size: 14px; line-height: 1.45; }
  .svc__more { grid-area: more; margin-top: 6px; font-size: 14px; justify-self: start; }
}
