/* Industrieteam Vest GmbH, style.css
   Look: ruhig, modern, an iOS angelehnt.
   Farben aus dem Logo: Schwarz, Weiß, Vest-Blau #115789 */

/* Schrift Inter, lokal eingebunden (kein Abruf bei Google beim Seitenaufruf) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-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;
}

:root {
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --dark: #000000;
  --dark-2: #1C1C1E;
  --dark-3: #2C2C2E;
  --text: #1D1D1F;
  --text-2: #424245;
  --text-inv: #F5F5F7;
  --muted: #6E6E73;
  --muted-inv: #A1A1A6;
  --accent: #115789;            /* Vest-Blau aus dem Logo */
  --accent-rgb: 17, 87, 137;
  --accent-btn: #1B74B8;        /* Blau für Buttons auf Schwarz */
  --accent-hi: #7DB6E3;         /* helles Blau auf dunklen Flächen */
  --accent-hi-rgb: 125, 182, 227;
  --navy: #23346E;              /* Unterstrich im Logo */
  --line: rgba(0, 0, 0, .1);
  --line-dark: rgba(255, 255, 255, .12);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-head: var(--font);

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .06);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .05), 0 22px 50px rgba(0, 0, 0, .1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%;
  background: #000;                  /* Fläche hinter der Seite: schwarz, damit an dunklen Abschnitten nirgends Hell durchscheint */
  scrollbar-color: #5A5A5E #000;     /* Bildlaufleiste dunkel statt weiß */
}
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(var(--accent-hi-rgb), .35); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
h1, h2 { font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.22; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 10px 18px; z-index: 100; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

.eyebrow { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; color: var(--accent-hi); margin-bottom: 14px; }
.eyebrow--dark { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- Buttons: Pillen wie in iOS ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--h); padding: 0 24px;
  font: 600 1rem/1 var(--font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #166AA6; }
.nav .btn--primary, .hero .btn--primary, .contact .btn--primary { background: var(--accent-btn); }
.nav .btn--primary:hover, .hero .btn--primary:hover, .contact .btn--primary:hover { background: #2585CE; }
.btn--ghost { color: #fff; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--line { color: var(--accent); background: rgba(var(--accent-rgb), .1); }
.btn--line:hover { background: rgba(var(--accent-rgb), .17); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: .94rem; }
.btn--block { width: 100%; }

/* ---------- Navigation: schwarze Kapsel, steht immer fest ---------- */
.nav {
  --pill-h: 64px;
  --pill-top: 12px;
  position: fixed; z-index: 50;
  top: var(--pill-top); left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), calc(var(--wrap) + 2 * var(--gutter)));
  height: var(--pill-h);
  color: #fff;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .18);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 9px 0 28px; max-width: none; }
.brand { display: flex; align-items: center; text-decoration: none; min-height: 44px; }
.brand img { height: 54px; width: auto; }   /* die Bögen laufen oben und unten weich aus */
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a:not(.btn) {
  text-decoration: none; font-size: .94rem; font-weight: 500; color: rgba(255, 255, 255, .8);
  padding: 10px 16px; border-radius: 999px; transition: background-color .25s, color .25s;
}
.nav__links a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, .16); }
.nav__links .btn { margin-left: 10px; }
.nav__toggle { display: none; }

@media (max-width: 960px) {
  :root { --nav-h: 74px; }
  .nav { --pill-h: 58px; --pill-top: 10px; width: calc(100% - 20px); }
  .nav__inner { padding: 0 6px 0 20px; gap: 12px; }
  .brand img { height: 46px; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 14px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: inherit; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav__toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .2s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: -1px; right: -1px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border-radius: 28px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top center;
    transition: opacity .25s, transform .45s var(--ease), visibility 0s .45s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .45s var(--ease); }
  .nav__links a:not(.btn) { padding: 15px 18px; font-size: 1.06rem; border-radius: 18px; color: #fff; }
  .nav__links .btn { margin: 8px 0 0; --h: 52px; }
}
@media (max-width: 350px) { .brand img { height: 40px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; overflow: clip;   /* clip: der Bereich kann nicht in sich selbst verrutschen */
  background: var(--dark); color: var(--text-inv);
  min-height: min(100svh, 940px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 64px) 0 0;
}
/* weiches blaues Licht im Hintergrund */
.hero__grid {
  position: absolute; inset: -10%; pointer-events: none;
  background:
    radial-gradient(40% 46% at 78% 32%, rgba(var(--accent-rgb), .6), transparent 70%),
    radial-gradient(34% 40% at 10% 88%, rgba(35, 52, 110, .42), transparent 70%);
  animation: hero-glow 16s ease-in-out infinite alternate; animation-delay: -7s;
}
@keyframes hero-glow {
  from { transform: translate3d(-2%, 1%, 0) scale(1); opacity: .8; }
  to   { transform: translate3d(2%, -2%, 0) scale(1.06); opacity: 1; }
}
/* die Schallbögen aus dem Logo, groß und leise */
.hero__arcs {
  position: absolute; right: -6vw; top: 50%; width: min(62vw, 760px); aspect-ratio: 1; transform: translateY(-58%);
  pointer-events: none; opacity: .6; overflow: visible;
}
@media (max-width: 700px) { .hero__arcs { width: 120vw; right: -60vw; opacity: .4; } }
.hero__arcs path { fill: none; stroke: rgba(var(--accent-hi-rgb), .26); stroke-width: 1.5; stroke-linecap: round; animation: arc-pulse 6s ease-in-out infinite; }
.hero__arcs path:nth-child(2) { animation-delay: -1.5s; stroke: rgba(var(--accent-hi-rgb), .2); }
.hero__arcs path:nth-child(3) { animation-delay: -3s; stroke: rgba(var(--accent-hi-rgb), .14); }
.hero__arcs path:nth-child(4) { animation-delay: -4.5s; stroke: rgba(var(--accent-hi-rgb), .09); }
@keyframes arc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero__inner { position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-flex; align-items: center; margin-bottom: 26px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: rgba(245, 245, 247, .92); font-size: .88rem; font-weight: 500;
}
.hero__title { font-size: clamp(2.9rem, 8vw, 6rem); line-height: 1; letter-spacing: -.045em; max-width: 12ch; }
.hero__title em {
  font-style: normal; color: var(--accent-hi);
  background: linear-gradient(100deg, #5FA8E0 0%, #BFE0F8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__lead { margin-top: 26px; max-width: 36rem; font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.42; letter-spacing: -.015em; color: rgba(245, 245, 247, .74); }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Signatur: die Welle, die ruhiger wird */
.wave { position: relative; pointer-events: none; }
.wave--live { pointer-events: auto; }
.wave svg { width: 100%; height: 100%; overflow: visible; }
.wave path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wave path:nth-child(1) { stroke: var(--accent-hi); stroke-width: 2; }
.wave path:nth-child(2) { stroke: rgba(245, 245, 247, .34); stroke-width: 1.3; animation: wave-breathe 7s ease-in-out infinite; animation-delay: -2s; }
.wave path:nth-child(3) { stroke: rgba(245, 245, 247, .16); stroke-width: 1.1; animation: wave-breathe 9s ease-in-out infinite; animation-delay: -5s; }
.wave g { animation: wave-drift 9s ease-in-out infinite alternate; animation-delay: -4s; transform-origin: 0 50%; }
@keyframes wave-drift { from { transform: translateX(-6px) scaleY(.94); } to { transform: translateX(6px) scaleY(1.04); } }
@keyframes wave-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.wave--hero { height: clamp(100px, 14vw, 170px); margin-top: clamp(40px, 7vw, 84px); z-index: 1; }
.wave__labels {
  position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: space-between;
  font-size: .82rem; font-weight: 500; letter-spacing: .01em; line-height: 1; color: var(--text-inv);
}

/* ---------- Auf einen Blick: gruppierte Karte ---------- */
.trust { padding: 28px 0 0; }
.wrap.trust__list {
  list-style: none; margin: 0 auto; padding: 0;
  width: calc(100% - 2 * var(--gutter)); max-width: var(--wrap);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.trust__list li { display: flex; align-items: center; gap: 12px; padding: 22px 26px; font-weight: 500; font-size: 1rem; }
.trust__list li + li { border-left: 1px solid var(--line); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-btn); animation: dot-pulse 4.5s ease-out infinite; }
.trust__list li:nth-child(2) .dot { animation-delay: -1.5s; }
.trust__list li:nth-child(3) .dot { animation-delay: -3s; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(27, 116, 184, .4); } 60%, 100% { box-shadow: 0 0 0 9px rgba(27, 116, 184, 0); } }

@media (max-width: 860px) {
  .wrap.trust__list { grid-template-columns: 1fr; }
  .trust__list li { padding: 17px 22px; }
  .trust__list li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Abschnitte ---------- */
.section { padding: clamp(84px, 11vw, 150px) 0; }
.section__intro { margin-top: 18px; color: var(--muted); max-width: 30rem; font-size: 1.15rem; line-height: 1.45; letter-spacing: -.015em; }

/* Leistungen: Überschrift bleibt stehen, Karten laufen vorbei */
.services__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); align-items: start; }
.services .section__head { max-width: 46rem; text-align: left; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--dark-2); border-radius: var(--r-lg);
  padding: 36px 34px 40px; box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__top { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.card__num { font-size: .85rem; font-weight: 600; color: var(--muted-inv); font-variant-numeric: tabular-nums; padding-top: 4px; }
/* Symbol als kleine App-Kachel */
.card__icon {
  width: 52px; height: 52px; padding: 13px; border-radius: 15px;
  background: linear-gradient(180deg, #2C8AD2 0%, var(--accent) 100%);
  fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  box-shadow: 0 6px 16px rgba(var(--accent-rgb), .28), inset 0 1px 0 rgba(255, 255, 255, .28);
  animation: tile-float 7s ease-in-out infinite alternate;
}
.card:nth-child(2) .card__icon { animation-delay: -1.2s; }
.card:nth-child(3) .card__icon { animation-delay: -2.4s; }
.card:nth-child(4) .card__icon { animation-delay: -3.6s; }
.card:nth-child(5) .card__icon { animation-delay: -4.8s; }
.card:nth-child(6) .card__icon { animation-delay: -6s; }
@keyframes tile-float { from { transform: translateY(0); } to { transform: translateY(-3px); } }
.card h3 { margin-bottom: 12px; font-size: 1.55rem; color: var(--text-inv); }
.card p { color: var(--muted-inv); font-size: 1.05rem; line-height: 1.5; }

@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Schallschutz: schwarze Fläche über die volle Breite, ohne Rand */
.noise {
  position: relative; background: var(--dark); color: var(--text-inv);
  padding-top: 0; overflow: hidden; overflow: clip;
}
.wave--divider { height: clamp(80px, 11vw, 130px); margin-bottom: clamp(48px, 7vw, 90px); }
.wave--divider path:nth-child(1) { stroke-width: 1.8; }
.noise__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: end; }
.noise h2 { max-width: 15ch; }
.noise__text > p { color: rgba(245, 245, 247, .74); font-size: 1.15rem; line-height: 1.45; letter-spacing: -.015em; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: rgba(var(--accent-hi-rgb), .2); }
.ticks li::after { content: ""; position: absolute; left: 6.5px; top: calc(.1em + 6.5px); width: 9px; height: 5px; border-left: 2px solid var(--accent-hi); border-bottom: 2px solid var(--accent-hi); transform: rotate(-45deg); }

.steps { list-style: none; padding: 0; margin: clamp(56px, 8vw, 96px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .06); border-radius: var(--r-lg); padding: 26px 26px 30px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(var(--accent-hi-rgb), .18); color: var(--accent-hi);
  font-weight: 600; font-size: .92rem; font-variant-numeric: tabular-nums; margin-bottom: 44px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted-inv); font-size: 1rem; }

@media (max-width: 860px) {
  .noise__split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step__num { margin-bottom: 22px; }
}

/* Über uns: Statement + Text + Gründe */
.about__layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.about__statement h2 { font-size: clamp(2.5rem, 4.5vw, 3.6rem); line-height: 1.04; letter-spacing: -.045em; }
.about__statement h2 span {
  color: var(--accent);
  background: linear-gradient(100deg, var(--accent) 0%, #2C8AD2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.about__body { padding-top: clamp(0px, 4vw, 40px); }
.about__body > p { font-size: 1.15rem; line-height: 1.5; letter-spacing: -.015em; color: var(--text-2); }
.about__body > p + p { margin-top: 14px; }
.person { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.person__avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #2C8AD2 0%, var(--accent) 100%); color: #fff;
  font-weight: 600; font-size: 1.05rem; letter-spacing: 0;
}
.person__name { font-weight: 600; }
.person__role { color: var(--muted); font-size: .95rem; }
.reasons { grid-column: 1 / -1; list-style: none; padding: 0; margin: clamp(30px, 5vw, 60px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.reasons li { padding: 28px 24px 0 0; }
.reasons li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.reasons h3 { font-size: 1.12rem; margin-bottom: 8px; }
.reasons p { color: var(--muted); font-size: .98rem; }

@media (max-width: 960px) {
  .about__layout { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .reasons li, .reasons li + li { padding: 24px 20px 24px 0; border-left: 0; }
  .reasons li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .reasons li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .reasons { grid-template-columns: 1fr; }
  .reasons li, .reasons li + li, .reasons li:nth-child(even) { padding: 22px 0; border-left: 0; }
  .reasons li + li { border-top: 1px solid var(--line); }
}

/* Einblicke: Collage aus Referenzauszügen */
.collage { background: var(--surface); }
.collage__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(190px, 21vw, 300px); gap: 16px;
}
.shot {
  position: relative; margin: 0; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: var(--dark-2); box-shadow: var(--shadow);
}
.shot--1 { grid-column: span 2; }
.shot--6 { grid-column: 1 / -1; height: clamp(160px, 18vw, 230px); }
.shot__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(160deg, #2C2C2E 0%, #000 100%);
}
.shot__ph span {
  font-size: .8rem; font-weight: 600; letter-spacing: -.01em; color: var(--muted-inv);
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.06);
  border: 1px dashed rgba(255,255,255,.24);
}
.shot__ph--1 { background: radial-gradient(120% 100% at 85% 15%, rgba(17,87,137,.6), transparent 60%), linear-gradient(160deg, #2C2C2E, #000); }
.shot__ph--2 { background: radial-gradient(100% 90% at 20% 80%, rgba(125,182,227,.25), transparent 60%), linear-gradient(200deg, #1C1C1E, #000); }
.shot__ph--3 { background: radial-gradient(90% 80% at 70% 30%, rgba(27,116,184,.45), transparent 60%), linear-gradient(170deg, #2C2C2E, #0A0A0B); }
.shot__ph--4 { background: radial-gradient(110% 90% at 15% 20%, rgba(35,52,110,.6), transparent 60%), linear-gradient(190deg, #1C1C1E, #000); }
.shot__ph--5 { background: radial-gradient(100% 100% at 50% 110%, rgba(17,87,137,.55), transparent 60%), linear-gradient(180deg, #2C2C2E, #000); }
.shot__ph--6 { background: radial-gradient(80% 120% at 90% 50%, rgba(125,182,227,.2), transparent 60%), linear-gradient(170deg, #1C1C1E, #000); }
.shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.shot:hover > img { transform: scale(1.03); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 44px 22px 20px; color: #fff; font-weight: 600; font-size: 1.05rem; letter-spacing: -.015em;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72));
}
@media (max-width: 960px) {
  .collage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 34vw, 260px); }
  .shot--1 { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .collage__grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .shot--1, .shot--6 { grid-column: auto; }
  .shot--6 { height: 230px; }
}

/* Privatkunden */
.private { padding: 0 0 clamp(84px, 10vw, 130px); }
.private__inner { display: flex; align-items: center; gap: 20px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.wrap.private__inner { width: calc(100% - 2 * var(--gutter)); max-width: var(--wrap); padding: 22px 24px; }
.private__icon {
  flex: none; width: 52px; height: 52px; padding: 13px; border-radius: 15px;
  background: rgba(var(--accent-rgb), .1);
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round;
}
.private p { flex: 1; color: var(--text-2); }
.private strong { color: var(--text); font-weight: 600; }
@media (max-width: 680px) {
  .private__inner { flex-direction: column; align-items: flex-start; }
  .private .btn { width: 100%; }
}

/* Privatkunden-Hinweis: unter den Leistungen, mittig */
.private--center {
  flex-direction: column; text-align: center; gap: 14px;
  padding: 34px 28px; margin-top: clamp(40px, 6vw, 64px);
}
.private--center .private__icon { margin: 0 auto; }
.private--center p { flex: none; max-width: 36rem; }
.private--center .btn { min-width: 180px; }
/* Privat-Hinweis auf dunkel, wie die Leistungskarten */
.private--center { background: var(--dark-2); box-shadow: 0 14px 40px rgba(0, 0, 0, .22); }
.private--center p { color: var(--muted-inv); }
.private--center strong { color: var(--text-inv); }
.private--center .private__icon { background: rgba(125, 182, 227, .16); stroke: var(--accent-hi); }
.private--center .btn--line { color: #fff; background: rgba(255, 255, 255, .12); }
.private--center .btn--line:hover { background: rgba(255, 255, 255, .2); }

/* Kontakt */
.contact { background: var(--dark); color: var(--text-inv); position: relative; overflow: hidden; overflow: clip; }
.contact::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -240px; top: -300px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .5), transparent);
  animation: glow 14s ease-in-out infinite alternate; animation-delay: -6s; pointer-events: none;
}
@keyframes glow { from { transform: translate(0, 0) scale(1); opacity: .7; } to { transform: translate(-40px, 30px) scale(1.08); opacity: 1; } }
.contact__layout { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__intro { margin-top: 18px; color: rgba(245, 245, 247, .74); font-size: 1.15rem; line-height: 1.45; letter-spacing: -.015em; max-width: 26rem; }
/* Kontaktdaten als gruppierte Liste */
.facts { margin: 36px 0 0; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .06); border-radius: var(--r-lg); padding: 4px 24px; }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; }
.facts > div + div { border-top: 1px solid var(--line-dark); }
.facts dt { font-size: .94rem; font-weight: 500; color: var(--muted-inv); padding-top: 5px; }
.facts dd { margin: 0; }
.facts a { color: var(--accent-hi); text-decoration: none; display: inline-block; padding: 4px 0; transition: color .2s; }
.facts a:hover { color: #B5D8F4; }
.link-arrow { margin-top: 4px; font-size: .96rem; }
.link-arrow::after { content: " \2197"; }
.hours { border-collapse: collapse; margin-top: 4px; }
.hours th, .hours td { white-space: nowrap; }
.hours th { text-align: left; font-weight: 500; padding: 2px 22px 2px 0; }
.hours td { padding: 2px 0; color: rgba(245, 245, 247, .74); }
.status { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: .92rem; color: var(--muted-inv); }
.status[hidden] { display: none; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #8E8E93; flex: none; margin-top: .5em; }
.status.is-open .status__dot { background: #30D158; animation: dot-pulse-green 3.5s ease-out infinite; }
.status.is-open { color: #B8F0C6; }
@keyframes dot-pulse-green { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(48, 209, 88, 0); } }

.contact__formwrap { background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .06); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 38px); }
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field span { font-size: .88rem; font-weight: 500; color: var(--muted-inv); padding-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; letter-spacing: inherit; color: var(--text-inv);
  background: var(--dark-3); border: 1px solid transparent; border-radius: var(--r-sm);
  padding: 13px 16px; min-height: 50px; transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-inv) 50%), linear-gradient(135deg, var(--muted-inv) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #A1A1A6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-hi); box-shadow: 0 0 0 4px rgba(var(--accent-hi-rgb), .22); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #FF453A; }
.form__error { color: #FF8A80; font-size: .92rem; padding-left: 4px; }
.form__error[hidden] { display: none; }
.form__note { font-size: .84rem; color: var(--muted-inv); padding: 0 4px; }
.form__note a { color: var(--accent-hi); text-decoration: none; }
.form__note a:hover { text-decoration: underline; }
.form__success { text-align: left; display: grid; gap: 14px; justify-items: start; }
.form__success[hidden] { display: none; }
.form__success svg { width: 52px; height: 52px; fill: none; stroke: #30D158; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form__success h3 { font-size: 1.7rem; letter-spacing: -.03em; }
.form__success p { color: rgba(245, 245, 247, .74); }
.form__success .muted { color: var(--muted-inv); font-size: .95rem; }
.form__success a { color: var(--accent-hi); text-decoration: none; }
.form__success .btn--line { color: #fff; background: rgba(255, 255, 255, .12); margin-top: 6px; }
.form__success .btn--line:hover { background: rgba(255, 255, 255, .2); }

@media (max-width: 960px) { .contact__layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .facts { padding: 4px 20px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; padding: 15px 0; }
  .facts dt { padding-top: 0; }
}

/* Footer */
.footer { background: var(--dark); color: var(--muted-inv); border-top: 1px solid var(--line-dark); padding: 52px 0 28px; font-size: .94rem; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1.4fr auto; gap: 32px; align-items: start; }
.footer__logo { width: 240px; height: auto; }
.footer__contact { font-style: normal; line-height: 1.8; }
.footer a { text-decoration: none; color: var(--text-inv); transition: color .2s; }
.footer a:hover { color: var(--accent-hi); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__base { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .84rem; }
@media (max-width: 860px) {
  .footer__inner { grid-template-columns: 1fr; gap: 22px; }
  .footer__contact .sep { display: none; }
  .footer__contact .br { display: block; }
}

/* ---------- Rechtliche Unterseiten ---------- */
.legal { background: var(--bg); }
.legal main { padding: calc(var(--nav-h) + 40px) 0 90px; }
.wrap.legal__content {
  width: calc(100% - 24px); max-width: 840px;
  background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 60px);
}
.legal__content h1 { font-size: clamp(2.3rem, 6vw, 3.4rem); margin-bottom: 30px; }
.legal__content h2 { font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.2; margin: 36px 0 10px; }
.legal__content p, .legal__content li { color: var(--text-2); }
.legal__content p + p { margin-top: 12px; }
.legal__content ul { padding-left: 20px; }
.legal__content a { color: var(--accent); }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 14px; text-decoration: none; font-weight: 500; }
.legal__content a.back { color: var(--accent); }
.ph { background: #FFF0D1; color: #7A4300; padding: 2px 8px; border-radius: 8px; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Einblenden (nur wenn JS läuft) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .5s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal-group.in > * { opacity: 1; transform: none; }
.js .reveal-group.done > * { transition-delay: 0ms; }
.js .reveal-group.done > .card:hover { transform: translateY(-4px); }
.js .hero .reveal:nth-child(2) { transition-delay: 90ms; }
.js .hero .reveal:nth-child(3) { transition-delay: 180ms; }
.js .hero .reveal:nth-child(4) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; }
}
