@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/static/Manrope-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/static/Manrope-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/static/Manrope-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/static/Manrope-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/static/Manrope-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


/* Plus Jakarta Sans */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/Plus_Jakarta_Sans/static/PlusJakartaSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/Plus_Jakarta_Sans/static/PlusJakartaSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/Plus_Jakarta_Sans/static/PlusJakartaSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/Plus_Jakarta_Sans/static/PlusJakartaSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/Plus_Jakarta_Sans/static/PlusJakartaSans-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #eef3f8;
  --paper: #f8fbff;
  --white: #ffffff;
  --ink: #071426;
  --muted: #52667d;
  --navy: #0c223b;
  --navy-2: #17385f;
  --blue: #426da9;
  --blue-2: #7198d0;
  --blue-soft: #b8cbe8;
  --line: rgba(7,20,38,.1);
  --shadow: 0 22px 80px rgba(7,20,38,.12);
  --shadow-strong: 0 32px 100px rgba(7,20,38,.2);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(66,109,169,.16), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(12,34,59,.09), transparent 32rem),
    linear-gradient(180deg, #f7faff 0%, #edf3f9 42%, #f8fbff 100%);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.ambient { position: fixed; border-radius: 999px; filter: blur(90px); pointer-events: none; z-index: -1; }
.ambient-a { width: 340px; height: 340px; left: -160px; top: 160px; background: rgba(66,109,169,.15); }
.ambient-b { width: 360px; height: 360px; right: -160px; bottom: 220px; background: rgba(12,34,59,.08); }

h1,
h2,
h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  letter-spacing: -.045em;
  line-height: .98;
}
p { line-height: 1.65; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
}
.eyebrow.light { color: rgba(255,255,255,.72); }
.headline-accent { color: var(--blue-2); }

.site-header { position: sticky; top: 0; z-index: 50; padding: 18px 0; }
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(248,251,255,.78);
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 42px rgba(7,20,38,.08);
}
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 11px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 760; }
.nav-links a:hover { background: rgba(7,20,38,.05); color: var(--ink); }
.nav-cta { background: var(--navy); color: #fff !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(7,20,38,.06); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 999px; }

.hero { padding: clamp(34px, 5vw, 72px) 0 46px; }
.hero-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-bottom: 32px;
}
.hero-top h1 {
  font-size: clamp(56px, 10vw, 132px);
  max-width: 1180px;
}
.hero-side {
  display: grid;
  grid-template-columns: minmax(0, 680px) auto;
  gap: 28px;
  align-items: end;
}
.hero-side p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 16px 36px rgba(12,34,59,.18); }
.btn-secondary { background: rgba(255,255,255,.72); border-color: var(--line); color: var(--ink); }
.btn.wide { width: 100%; }

.signal-canvas {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  border-radius: 44px;
  background:
    radial-gradient(circle at 55% 52%, rgba(255,255,255,.05), transparent 18rem),
    linear-gradient(135deg, #1a3f73 0%, #365f98 48%, #29456c 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow-strong);
}
.signal-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.signal-lines path { fill: none; stroke: rgba(255,255,255,.15); stroke-width: .86; }
.moving-streak {
  fill: url(#streakGrad);
  opacity: .88;
}

.canvas-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 30px;
  align-items: center;
  padding: clamp(40px, 5vw, 72px);
  padding-bottom: 110px;
  min-height: 620px;
}
.canvas-copy { max-width: 520px; color: #fff; }
.canvas-copy span {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
  position: relative;
  z-index: 4;
  transform: translateY(-48px);
}
.canvas-copy h2 { font-size: clamp(38px, 5vw, 68px); }
.canvas-copy p { margin: 18px 0 0; max-width: 470px; color: rgba(255,255,255,.78); font-size: 18px; }
.canvas-image {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 28px 80px rgba(0,0,0,.18);
}
.canvas-image img { width: 100%; height: auto; object-fit: contain; }

.section { padding: clamp(72px, 9vw, 118px) 0; }
.full-head h2 {
  font-size: clamp(38px, 5.4vw, 76px);
  max-width: 1360px;
}
.intro-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.intro-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
}
.intro-card h3 { font-size: 26px; margin-bottom: 10px; }
.intro-card p { color: var(--muted); margin: 0; }

.before-section { padding-top: 40px; padding-bottom: 24px; }
.before-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 24px;
  align-items: stretch;
}
.before-copy {
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(180deg, #fff, #f1f6fb);
  box-shadow: var(--shadow);
}
.before-copy h2 { font-size: clamp(34px, 4.5vw, 64px); }
.before-copy p:last-child { color: var(--muted); margin-top: 18px; }
.before-image {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.before-image img { width: 100%; height: 100%; object-fit: contain; }

.improvement-section { padding-top: 0; padding-bottom: 72px; }
.improvement-card {
  padding: clamp(30px, 4vw, 46px);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(239,245,251,.92));
  border: 1px solid rgba(7, 20, 38, .08);
  box-shadow: 0 26px 80px rgba(7, 20, 38, .12);
}
.improvement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.improvement-grid article {
  position: relative;
  overflow: hidden;
  padding: 30px 30px 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(7, 20, 38, .08);
  box-shadow: 0 18px 48px rgba(7, 20, 38, .08);
}
.improvement-grid article::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(66,109,169,.72), rgba(113,152,208,.32));
}
.improvement-grid h3 { font-size: 25px; margin-bottom: 8px; }
.improvement-grid p { margin: 0; color: var(--muted); }

.carousel-section { padding-top: 30px; }
.carousel-grid {
  display: grid;
  grid-template-columns: minmax(340px, .76fr) minmax(0, .88fr);
  gap: 54px;
  align-items: start;
}
.carousel-head h2 {
  font-size: clamp(38px, 5vw, 76px);
  max-width: 560px;
}
.carousel-head p { max-width: 520px; color: var(--muted); font-size: 18px; }
.carousel-head code {
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(66,109,169,.1);
  color: var(--navy);
}
.carousel-stage { min-width: 0; }
.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff, #edf4fb);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-strong);
  min-height: 500px;
  padding: 18px 56px;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .65s cubic-bezier(.22,.8,.22,1);
}
.carousel-slide {
  flex: 0 0 100%;
  padding: 6px 8px;
  display: grid;
  place-items: center;
}
.carousel-slide img {
  width: min(100%, 430px);
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(7,20,38,.12);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(12,34,59,.88);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(7,20,38,.2);
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.about-section { padding-top: 44px; }
.about-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(229,238,250,.96));
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: var(--shadow-strong);
}
.about-media {
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  background: #dce7f4;
}
.about-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,34,59,.16), rgba(113,152,208,.14));
  z-index: 1;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(.92) contrast(.98);
}
.about-copy { align-self: center; }
.about-copy h2 { font-size: clamp(36px, 4.8vw, 68px); max-width: 680px; }
.about-copy > p:last-of-type { color: var(--muted); font-size: 18px; max-width: 620px; }
.about-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
.about-panels article {
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.8);
}
.about-panels span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 800;
}
.about-panels strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
}

.process-section {
  background: linear-gradient(180deg, #0b1d33, #17385f);
  color: #fff;
}
.process-copy h2 { font-size: clamp(36px, 5vw, 70px); }
.process-copy p:last-child { color: rgba(255,255,255,.76); font-size: 18px; }

.contact-section { padding-bottom: 104px; }
.contact-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 38px;
  background: linear-gradient(135deg, #fff, #edf4fb);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: var(--shadow-strong);
}
.contact-copy h2 { font-size: clamp(36px, 5vw, 72px); max-width: 680px; }
.contact-copy p:last-child { color: var(--muted); max-width: 560px; font-size: 18px; }
.contact-form {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
}
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; }
.contact-form span { color: var(--muted); font-size: 14px; font-weight: 760; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(7,20,38,.14);
  background: #f8fbff;
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--ink);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.site-footer {
  padding: 72px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(160px, .5fr) minmax(220px, .7fr);
  gap: 56px;
  align-items: start;
  padding-top: 34px;
  border-top: 1px solid rgba(7, 20, 38, .10);
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.7;
}

.footer-logo {
  width: 320px;
  max-width: 100%;
  margin-bottom: 18px;
}

.footer-legal,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-legal a,
.footer-contact a {
  width: fit-content;
  color: var(--muted);
  font-weight: 720;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.footer-legal a:hover,
.footer-contact a:hover {
  color: var(--ink);
  transform: translateX(2px);
}

.footer-kicker {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-cta {
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(7, 20, 38, .14);
}

.footer-cta:hover {
  color: #fff !important;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  margin-top: 34px;
  padding-top: 0;
  border-top: 0;
  color: var(--muted);
  font-size: 13px;
  opacity: .78;
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .14s; }

@media (max-width: 1020px) {
  .hero-side, .canvas-main, .before-grid, .contact-card, .about-card, .carousel-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions { justify-content: flex-start; }
  .signal-canvas { min-height: 880px; }
  .intro-grid, .improvement-grid { grid-template-columns: 1fr; }
  .before-image img { height: auto; }
  .carousel-head h2 { max-width: 100%; }
  .carousel-head p { max-width: 100%; }
}
@media (max-width: 820px) {
  .site-header { padding: 14px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(248,251,255,.98);
    border: 1px solid rgba(7,20,38,.08);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .hero-top h1 { font-size: 46px; }
  .signal-canvas { min-height: 820px; border-radius: 32px; }
  .canvas-main { padding: 26px; padding-bottom: 120px; }
  .canvas-copy h2 { font-size: 36px; }
  .footer-inner {
  grid-template-columns: 1fr;
  gap: 34px;
}

.footer-logo {
  width: 280px;
}

.footer-bottom {
  justify-content: flex-start;
  margin-top: 28px;
}

.footer-contact,
.footer-legal {
  gap: 10px;
}
  .about-media { min-height: 400px; }
}
@media (max-width: 560px) {
  .shell { width: min(var(--max), calc(100% - 22px)); }
  .brand img { height: 26px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .signal-canvas { min-height: 760px; }
  .carousel-btn { width: 40px; height: 40px; font-size: 24px; }
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
}


/* Legal pages */
.legal-main {
  padding: clamp(42px, 7vw, 92px) 0 104px;
}
.legal-hero {
  padding: clamp(34px, 5vw, 58px);
  border-radius: 38px;
  background: linear-gradient(135deg, #ffffff, #edf4fb);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.legal-hero h1 {
  font-size: clamp(42px, 7vw, 92px);
  max-width: 920px;
}
.legal-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}
.legal-content {
  display: grid;
  gap: 18px;
}
.legal-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}
.legal-card h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 14px;
}
.legal-card h3 {
  font-size: 22px;
  margin: 24px 0 8px;
}
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}
.legal-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}
.legal-placeholder {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 8px;
  background: rgba(66,109,169,.11);
  color: var(--navy);
  font-weight: 800;
}
.legal-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(66,109,169,.1);
  color: var(--navy);
}
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(12,34,59,0) 45%, rgba(12,34,59,.18) 100%),
    radial-gradient(circle at 20% 10%, rgba(113,152,208,.18), transparent 24rem);
  pointer-events: none;
}
.about-copy > p {
  color: var(--muted);
  font-size: 18px;
  max-width: 660px;
}


/* Update v6: Struktur, Leistung, CTA und Projektablauf */
.nav-links a {
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a:hover {
  background: rgba(113,152,208,.18);
  color: var(--navy);
}
.nav-cta:hover {
  background: #7198d0 !important;
  color: #071426 !important;
  transform: translateY(-1px);
}

.signal-canvas {
  min-height: 980px;
}
.canvas-main {
  min-height: 600px;
  padding-bottom: 230px;
}
.service-strip {
  position: absolute;
  z-index: 4;
  left: clamp(40px, 5vw, 72px);
  right: clamp(40px, 5vw, 72px);
  bottom: clamp(36px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-item {
  position: relative;
  padding: 24px 22px 24px;
  border-radius: 24px;
  background: rgba(8,22,42,.54);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
}
.service-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  color: var(--blue-soft);
  font-weight: 800;
}
.service-item h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -.04em;
}
.service-item p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 15px;
  line-height: 1.55;
}

.intro-section {
  padding-bottom: 34px;
}
.before-section {
  padding-top: 18px;
  padding-bottom: 18px;
}
.improvement-section {
  padding-top: 0;
  padding-bottom: clamp(70px, 8vw, 108px);
}

/* Designbeispiele als eigener visueller Abschnitt */
.carousel-section {
  position: relative;
  padding: clamp(78px, 9vw, 122px) 0;
  background: linear-gradient(180deg, #0b1d33, #17385f);
  color: #fff;
  overflow: hidden;
}
.carousel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(113,152,208,.18), transparent 24rem),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, 90px 90px, 90px 90px;
  pointer-events: none;
}
.carousel-section .shell {
  position: relative;
  z-index: 1;
}
.carousel-section .eyebrow,
.carousel-head p {
  color: rgba(255,255,255,.72);
}
.carousel-head code {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.carousel-wrap {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 30px 100px rgba(0,0,0,.18);
}
.carousel-slide img {
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.about-section {
  padding-top: clamp(78px, 9vw, 118px);
}
.process-section {
  scroll-margin-top: 110px;
}

@media (max-width: 1180px) {
  .signal-canvas {
    min-height: 1120px;
  }
  .canvas-main {
    padding-bottom: 420px;
  }
  .service-strip {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1020px) {
  .canvas-main {
    padding-bottom: 460px;
  }
  .service-strip {
    left: 26px;
    right: 26px;
    bottom: 28px;
  }
}
@media (max-width: 820px) {
  .signal-canvas {
    min-height: 1240px;
  }
  .canvas-main {
    padding-bottom: 560px;
  }
  .service-strip {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .signal-canvas {
    min-height: 1280px;
  }
  .canvas-main {
    padding-bottom: 590px;
  }
}


/* v7 refinements */
.signal-canvas {
  min-height: auto;
}
.canvas-main {
  min-height: 0;
  padding-bottom: 36px;
}
.canvas-copy span {
  background: rgba(255,255,255,.13);
}
.service-area {
  position: relative;
  z-index: 3;
  padding: 0 clamp(30px, 5vw, 72px) clamp(34px, 4vw, 52px);
}
.service-strip {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-item {
  min-height: 252px;
}
.service-item h3 {
  font-size: clamp(20px, 1.75vw, 28px);
}

.service-note {
  width: 100%;
  margin-top: 24px;
  padding: 28px 34px;
  border-radius: 28px;

  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-note p {
  max-width: 980px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

/* tighter Ansatz spacing */
.intro-section {
  padding-bottom: 18px;
}
.before-section {
  padding-top: 18px;
  padding-bottom: 18px;
}
.improvement-section {
  padding-top: 18px;
  padding-bottom: 72px;
}

/* process timeline instead of 5 boxes */
.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}
.process-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 74px;
}
.timeline-spine {
  position: absolute;
  left: 31px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, rgba(184,203,232,.92) 0%, rgba(113,152,208,.9) 88%);
  border-radius: 999px;
}
.timeline-spine::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 16px solid rgba(113,152,208,.95);
}
.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: -43px;
  top: 32px;
  width: 30px;
  height: 2px;
  background: rgba(184,203,232,.72);
}
.timeline-step span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  color: var(--blue-soft);
  font-weight: 800;
  font-size: 22px;
}
.timeline-step h3 {
  margin: 4px 0 6px;
  font-size: 30px;
}
.timeline-step p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.55;
}
.timeline-step.optional-step {
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(113,152,208,.14));
}

@media (max-width: 1180px) {
  .service-strip, .process-layout {
    grid-template-columns: 1fr;
  }
  .service-item {
    min-height: 0;
  }
}
@media (max-width: 1020px) {
  .service-area {
    padding: 0 26px 28px;
  }
  .process-layout {
    gap: 28px;
  }
}
@media (max-width: 820px) {
  .canvas-main {
    padding-bottom: 24px;
  }
  .service-strip {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    padding-left: 58px;
  }
  .timeline-spine {
    left: 22px;
  }
  .timeline-step::before {
    left: -28px;
    width: 16px;
  }
  .timeline-step {
    grid-template-columns: 50px 1fr;
    padding: 18px 18px 18px 20px;
  }
  .timeline-step span {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .timeline-step h3 {
    font-size: 24px;
  }
  .timeline-step p {
    font-size: 16px;
  }
}



.carousel-wrap {
  position: relative;
}

@media (max-width: 1180px) {
  .service-strip {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .canvas-copy span {
    transform: translateY(-18px);
    margin-bottom: 8px;
  }
}

@media (max-width: 560px) {
  .canvas-copy span {
    transform: translateY(-8px);
    margin-bottom: 10px;
  }
}

@supports (-webkit-touch-callout: none) {
  .ambient {
    display: none;
  }

  .nav,
  .service-item,
  .contact-form,
  .about-card,
  .carousel-wrap {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .signal-canvas,
  .carousel-wrap,
  .about-card,
  .contact-card,
  .service-item {
    box-shadow: 0 16px 42px rgba(7,20,38,.14);
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 820px) {
  .nav {
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  }
  .site-header.nav-compact .nav {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header.nav-compact .nav-toggle {
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(7,20,38,.18);
  }
  .site-header.nav-compact .brand {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
}
/* Legal pages: mobile Überschriften sauber umbrechen */
.legal-hero,
.legal-card {
  overflow: hidden;
}

.legal-hero h1,
.legal-card h2,
.legal-card h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 560px) {
  .legal-main {
    padding-top: 28px;
  }

  .legal-hero {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .legal-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.03;
    letter-spacing: -.055em;
  }

  .legal-hero p {
    font-size: 16px;
  }

  .legal-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .legal-card h2 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.08;
    letter-spacing: -.04em;
  }

  .legal-card h3 {
    font-size: 20px;
    line-height: 1.15;
  }

  .legal-card p,
  .legal-card li {
    font-size: 15.5px;
  }
}