/* ============================================================
   DOAX — Design System v4
   ============================================================ */

:root {
  --bg:           #FFFFFF;
  --bg-alt:       #F4F5F7;
  --bg-card:      #FFFFFF;
  --ink:          #0A0E18;
  --ink-soft:     #2A2F3D;
  --ink-mute:     #6B6F7A;
  --hairline:     rgba(10,14,24,.10);
  --hairline-soft:rgba(10,14,24,.05);

  --navy:         #0E2A4F;
  --navy-deep:    #051226;
  --navy-mid:     #1E4A82;
  --silver:       #B8BCC4;
  --silver-bright:#E8E8EB;

  --display:      'Fraunces', 'Times New Roman', serif;
  --sans:         'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;

  --container:    min(1280px, 92vw);
  --gutter:       clamp(1.25rem, 4vw, 3rem);

  --radius-sm:    8px;
  --radius:       18px;
  --radius-lg:    24px;

  --ease:         cubic-bezier(.22,1,.36,1);
  --ease-snap:    cubic-bezier(.16,1,.3,1);

  --nav-h:        72px;
}

/* ============================================================
   RESET
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* matches footer color so iOS-Overscroll und etwaige Restflächen unten = Footer-Grau, nicht Weiß */
  background: var(--bg-alt);
  overflow-x: hidden;
}
body {
  font-family: var(--sans);
  font-size: clamp(15px, 1vw + .35rem, 17px);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ol, ul { list-style: none; padding: 0; }

::selection { background: var(--navy); color: #fff; }

.skip-link {
  position: absolute; top: -40px; left: 16px;
  background: var(--ink); color: #fff;
  padding: .6rem 1rem; border-radius: 4px;
  z-index: 1000; transition: top .2s;
  font-size: .9rem;
}
.skip-link:focus { top: 16px; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.progress {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: 2px; background: transparent; pointer-events: none;
}
.progress__bar {
  height: 100%; width: 0%;
  background: var(--navy);
  transition: width .12s linear;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s;
  border-bottom: 1px solid var(--hairline-soft);
}
.nav.is-scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--hairline);
}
.nav__inner {
  width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 1.5rem;
}
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo  { height: 38px; width: auto; }

.nav__menu {
  display: flex; gap: 2.5rem; justify-self: center;
}
.nav__link {
  font-size: .88rem; font-weight: 500; letter-spacing: -.005em;
  color: var(--ink-soft);
  position: relative; padding: .35rem 0;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content:''; position:absolute; left:0; right:0; bottom:-2px;
  height:1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem .95rem;
  border: 1px solid var(--ink);
  font-size: .85rem; font-weight: 500;
  letter-spacing: -.005em;
  color: var(--ink);
  background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav__cta-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.nav__cta:hover { background: var(--ink); color: #fff; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; gap: 6px;
  align-items: center; justify-content: center;
}
.nav__burger span {
  display:block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav.is-open .nav__burger span:nth-child(1){ transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2){ transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: #ECEEF2;          /* solid light grey — fallback */
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  padding: 2rem var(--gutter) 3rem;
  z-index: 99;                   /* below nav so the burger stays clickable */
  /* hidden by default — animates open/close via .is-open */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity .35s var(--ease),
    transform .4s var(--ease),
    visibility 0s linear .4s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity .35s var(--ease),
    transform .4s var(--ease),
    visibility 0s linear 0s;
}
.mobile-menu a {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  padding: .85rem 0;
  text-align: center;
  letter-spacing: -.025em;
  color: var(--ink);
  border: 0;
  /* per-item reveal */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.mobile-menu.is-open a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open a:nth-child(1) { transition-delay: .14s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .21s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .28s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .35s; }

/* CTA at the bottom — distinct pill */
.mobile-menu__cta {
  margin-top: 1.75rem;
  font-size: .82rem !important;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .9rem 1.6rem !important;
  background: var(--ink);
  color: #fff !important;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

/* ============================================================
   BUTTONS — distinctive two-zone design
   ============================================================ */

/* Aeline-style pill button: text left, circular icon pinned to the right */
.btn {
  display: inline-flex; align-items: center;
  height: 56px;
  padding: 6px 8px 6px 24px;
  border-radius: 999px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  gap: 16px;
  position: relative;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn .btn__label {
  display: inline-flex; align-items: center;
  font-size: inherit; font-weight: inherit; letter-spacing: inherit;
}
.btn .btn__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: auto;            /* push icon to the right edge */
  transition: transform .45s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn .btn__icon svg {
  width: 16px; height: 16px;
  display: block;
}
.btn:hover .btn__icon { transform: rotate(-25deg); }

/* PRIMARY — solid dark pill, light circle */
.btn--primary {
  background: var(--ink); color: #fff;
}
.btn--primary .btn__icon { background: #fff; color: var(--ink); }
.btn--primary:hover { background: var(--navy); }

/* GHOST — outlined, transparent */
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(10,14,24,.18);
}
.btn--ghost .btn__icon { background: var(--ink); color: #fff; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ghost:hover .btn__icon { background: #fff; color: var(--ink); }

/* small variant (nav) */
.btn--sm {
  height: 40px;
  padding: 4px 4px 4px 18px;
  font-size: .72rem;
  gap: 12px;
}
.btn--sm .btn__icon { width: 32px; height: 32px; }

/* WHITE — primary on dark backgrounds (white pill, dark circle inside) */
.btn--white {
  background: #fff; color: var(--ink);
}
.btn--white .btn__icon { background: var(--ink); color: #fff; }
.btn--white:hover { background: var(--silver-bright); }

/* GHOST-LIGHT — secondary on dark backgrounds (transparent + light border) */
.btn--ghost-light {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn--ghost-light .btn__icon { background: #fff; color: var(--ink); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ghost-light:hover .btn__icon { background: var(--ink); color: #fff; }

.magnetic { transform: translate(0,0); transition: transform .25s var(--ease); }

/* ============================================================
   HERO — Aeline-style preview (Geist + pill buttons + visual card)
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) clamp(1rem, 2vw, 1.5rem);
  background: var(--bg);
  overflow: hidden;
}
.hero + .section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.hero__inner {
  width: var(--container); margin: 0 auto;
  max-width: 1240px;
  position: relative;
}

/* Trust-Badge with sparkles (the 3-spark motif from the new logo) */
.hero__badge {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .55rem 1rem .55rem .8rem;
  border-radius: 999px;
  background: rgba(14, 42, 79, .055);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-soft);
  animation: badge-in .8s var(--ease) .5s both;
}
.hero__badge-sparks {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--navy);
}
.hero__badge-sparks svg:nth-child(1) { transform: translateY(-2px); }
.hero__badge-sparks svg:nth-child(2) { transform: translateY(2px); }
@keyframes badge-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Variant: Trust-Badge overlaid on the hero photo (top-left) */
.hero__badge--on-photo {
  position: absolute;
  top: clamp(1.25rem, 2.5vw, 2rem);
  left: clamp(1.25rem, 2.5vw, 2rem);
  z-index: 3;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
}

/* Below the visual: centered description + centered CTAs (revealed on scroll) */
.hero__below {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.hero__sub {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1rem, .55vw + .8rem, 1.18rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: .65rem;
  align-items: center; justify-content: center;
}

/* Big rounded visual card — fills viewport, headline lives inside */
.hero__visual {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--nav-h) - 2.5rem);
  min-height: 480px;
  max-height: 820px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
  animation: visual-in 1.2s var(--ease) .15s both;
}
@keyframes visual-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__visual-photo {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=2000&q=70');
  background-size: cover;
  background-position: center 50%;
  /* cinematic color grade — slightly cool & contrasty */
  filter: saturate(.82) contrast(1.08) brightness(.92);
  transform-origin: 50% 50%;
  /* slow Ken Burns — gives the photo life without being distracting */
  animation: photo-kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes photo-kenburns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -2%); }
}
.hero__visual-veil {
  position: absolute; inset: 0;
  background:
    /* 1. Top vignette — subtle dark strip for badge readability */
    linear-gradient(180deg,
      rgba(10,14,24,.45) 0%,
      rgba(10,14,24,.1)  18%,
      transparent        32%),
    /* 2. Bottom dark gradient — the "text zone" where the headline lives */
    linear-gradient(180deg,
      transparent       38%,
      rgba(10,14,24,.35) 60%,
      rgba(10,14,24,.78) 88%,
      rgba(10,14,24,.92) 100%),
    /* 3. Edge / corner vignette — focuses attention to the center */
    radial-gradient(140% 100% at 50% 55%,
      transparent 50%,
      rgba(10,14,24,.4)),
    /* 4. Brand color tint — subtle navy from top-left */
    linear-gradient(135deg,
      rgba(14,42,79,.28) 0%,
      rgba(14,42,79,0)   55%);
  z-index: 1;
  pointer-events: none;
}

/* Shield watermark — centered on photo, fades in then continuously shimmers */
.hero__visual-logo {
  position: absolute;
  top: 10%;
  left: 50%;
  width: clamp(180px, 24vw, 340px);
  height: auto;
  filter: brightness(3) saturate(0) blur(.4px);
  mix-blend-mode: screen;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) scale(.92);
  will-change: opacity, transform, filter;
  animation:
    shield-in    1.4s cubic-bezier(.16, 1, .3, 1) .35s both,
    shield-shine 5s   ease-in-out                  2s   infinite;
}
@keyframes shield-in {
  0%   { opacity: 0;   transform: translateX(-50%) scale(.92); }
  100% { opacity: .32; transform: translateX(-50%) scale(1); }
}
@keyframes shield-shine {
  0%, 100% {
    opacity: .32;
    filter: brightness(3) saturate(0) blur(.4px) drop-shadow(0 0 0 rgba(255,255,255,0));
  }
  50% {
    opacity: .5;
    filter: brightness(3.7) saturate(0) blur(.4px) drop-shadow(0 0 24px rgba(255,255,255,.4));
  }
}

/* Headline overlay on the photo */
.hero__visual-title {
  position: absolute;
  left: clamp(1.5rem, 4vw, 3rem);
  bottom: clamp(2rem, 5vw, 3.5rem);
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 4;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(2.2rem, 6.5vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 600;
  max-width: 16ch;
}
.hero__visual-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .04em;
}
.hero__visual-title .inner {
  display: inline-block;
  transform: translateY(110%);
  /* metallic shine: gradient with a brighter highlight band that sweeps across */
  background-image: linear-gradient(
    105deg,
    #ffffff 25%,
    #f4f7ff 42%,
    #c4d0e8 49%,
    #ffffff 50%,
    #c4d0e8 51%,
    #f4f7ff 58%,
    #ffffff 75%
  );
  background-size: 220% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,.35));
  animation:
    title-reveal 1.1s cubic-bezier(.16,1,.3,1) var(--d, 0s) both,
    title-shine 5.5s ease-in-out 2s infinite;
  will-change: transform, background-position;
}
@keyframes title-reveal {
  to { transform: translateY(0); }
}
@keyframes title-shine {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: -120% 0; }
}

/* small accent rule that draws in under the title */
.hero__visual-rule {
  display: block;
  margin-top: .9rem;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--silver-bright) 0%, rgba(232,232,235,0) 100%);
  animation: rule-draw 1.4s var(--ease) 1.4s forwards;
}
@keyframes rule-draw {
  to { width: 96px; }
}

/* subtle scroll cue at the bottom-center of the hero visual */
.hero__visual-scroll {
  position: absolute;
  left: 50%; bottom: clamp(1rem, 2vw, 1.5rem);
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex; flex-direction: column; align-items: center;
  gap: .35rem;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  animation: scroll-fade-in .8s var(--ease) 1.6s both;
}
.hero__visual-scroll svg { animation: scroll-bounce 1.8s ease-in-out infinite; }
@keyframes scroll-fade-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
@media (max-width: 560px) {
  .hero__visual-scroll { display: none; }
}

/* Floating sparkles (the cleanliness-twinkle motif) */
.hero__visual-sparkles { position: absolute; inset: 0; pointer-events: none; }
.hero__visual-sparkles .spark {
  position: absolute;
  color: #fff;
  filter: drop-shadow(0 0 12px rgba(255,255,255,.65)) drop-shadow(0 0 4px rgba(14,42,79,.5));
  animation: spark-twinkle 3.6s var(--ease) infinite;
  opacity: 0;
  transform-origin: center;
}
.hero__visual-sparkles .spark--1 { top: 22%; left: 16%;  width: 28px; height: 28px; animation-delay: .2s; }
.hero__visual-sparkles .spark--2 { top: 58%; left: 32%;  width: 18px; height: 18px; animation-delay: .9s; }
.hero__visual-sparkles .spark--3 { top: 30%; left: 56%;  width: 36px; height: 36px; animation-delay: 1.5s; }
.hero__visual-sparkles .spark--4 { top: 70%; left: 70%;  width: 22px; height: 22px; animation-delay: 2.1s; }
.hero__visual-sparkles .spark--5 { top: 18%; left: 80%;  width: 14px; height: 14px; animation-delay: 2.7s; }
@keyframes spark-twinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0); }
  40%      { opacity: 1; transform: scale(1)   rotate(45deg); }
  60%      { opacity: .7; transform: scale(.85) rotate(60deg); }
}

/* Visual caption — bottom left */
.hero__visual-caption {
  position: absolute;
  left: clamp(1.5rem, 3vw, 2.5rem);
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: .55rem 1rem .55rem .8rem;
  border-radius: 999px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .82rem; font-weight: 500;
  color: var(--ink);
}
.hero__visual-caption .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2cb46b;
  box-shadow: 0 0 0 4px rgba(44, 180, 107, .18);
  animation: pulse 2s ease-in-out infinite;
}

/* Mobile responsive for new hero — visual fills phone screen */
@media (max-width: 920px) {
  .hero__visual {
    height: calc(100svh - var(--nav-h) - 1.5rem);
    min-height: 480px; max-height: 760px;
  }
  /* Shield on tablet — same animation as desktop, just smaller + slightly lower */
  .hero__visual-logo {
    width: clamp(190px, 44vw, 290px);
    top: 22%;
  }
  .hero__visual-title { font-size: clamp(2.2rem, 8vw, 4.2rem); max-width: 12ch; }
  .hero__visual-rule { width: 72px; }
  /* Stronger bottom veil on mobile so text always reads */
  .hero__visual-veil {
    background:
      linear-gradient(180deg, rgba(10,14,24,.5) 0%, rgba(10,14,24,.1) 18%, transparent 32%),
      linear-gradient(180deg, transparent 30%, rgba(10,14,24,.5) 60%, rgba(10,14,24,.88) 100%),
      radial-gradient(140% 100% at 50% 55%, transparent 50%, rgba(10,14,24,.42)),
      linear-gradient(135deg, rgba(14,42,79,.32) 0%, rgba(14,42,79,0) 55%);
  }
}
@media (max-width: 560px) {
  .hero {
    padding-top: calc(var(--nav-h) + .75rem);
    padding-bottom: .75rem;
  }
  .hero__visual {
    height: calc(100svh - var(--nav-h) - 1rem);
    min-height: 460px; max-height: 720px;
    border-radius: 22px;
  }
  .hero__visual-title {
    font-size: clamp(2rem, 9vw, 3rem);
    bottom: 1.4rem; left: 1.25rem; right: 1.25rem;
    max-width: 14ch;
  }
  .hero__visual-rule { width: 56px; margin-top: .65rem; }
  .hero__visual-logo {
    width: clamp(180px, 52vw, 260px);
    top: 22%;
  }
  .hero__badge--on-photo {
    padding: .45rem .75rem .45rem .65rem;
    font-size: .7rem; gap: .45rem;
    top: 1rem; left: 1rem;
  }
  .hero__below { margin-top: 1rem; gap: 1rem; }
  .btn { padding: 6px 6px 6px 18px; font-size: .72rem; gap: 12px; }
  .btn .btn__icon { width: 38px; height: 38px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
}

/* Reduce-motion: no Ken Burns, no watermark pulse */
@media (prefers-reduced-motion: reduce) {
  .hero__visual-photo { animation: none !important; transform: scale(1.04); }
  .hero__visual-logo  { animation: shield-in 1.4s var(--ease) .35s both !important; opacity: .32 !important; }
  .hero__visual-rule  { width: 96px !important; animation: none !important; }
  .hero__visual-scroll { display: none; }
}

/* ============================================================
   SECTION primitives
   ============================================================ */
.section {
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
}
.section--intro    { background: var(--bg); }
.section--services { background: var(--bg-alt); }
.section--why      { background: var(--bg); }
.section--reel     { background: var(--bg-alt); }

.section__head {
  width: var(--container); margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
}
.section__head--minimal { margin-bottom: 1.5rem; }
.section__head--center  { text-align: center; }
.section__head--center .section__num { display: inline-block; }

.section__num {
  display: inline-block;
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--navy);
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--navy);
  margin-bottom: 2rem;
  font-weight: 500;
}
.section__num--light { color: var(--silver); border-bottom-color: var(--silver); }

.section__title {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw + .5rem, 5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -.03em;
  font-variation-settings: 'opsz' 144;
  max-width: 22ch;
  color: var(--ink);
}
.section__title--center { margin-left: auto; margin-right: auto; }
.section__title em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: var(--navy);
  font-weight: 400;
}

/* ============================================================
   INTRO
   ============================================================ */
.intro__grid {
  width: var(--container); margin: 0 auto;
  display: grid; gap: clamp(2rem, 4vw, 5rem);
  grid-template-columns: 1.4fr .9fr;
  align-items: start;
}
.intro__text {
  font-size: clamp(1.05rem, .5vw + .9rem, 1.25rem);
  color: var(--ink-soft); line-height: 1.55;
}
.intro__text p + p { margin-top: 1.25rem; }
.intro__text strong { color: var(--ink); font-weight: 500; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 2rem;
  color: var(--navy); font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: .25rem;
  transition: gap .3s var(--ease);
}
.link-arrow:hover { gap: .8rem; }

.intro__card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}
.intro__cardlabel {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.25rem;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2cb46b; box-shadow: 0 0 0 4px rgba(44,180,107,.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(44,180,107,0); }
}
.intro__cardbig {
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 1.6vw + .35rem, 1.75rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.intro__cardmap {
  display: block;
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #2a2f3d;
  isolation: isolate;
  cursor: pointer;
}
.intro__cardmap iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.15) contrast(.96);
  transition: filter .4s var(--ease), transform .8s var(--ease);
}
.intro__cardmap:hover iframe { filter: grayscale(0) contrast(1); transform: scale(1.02); }
.intro__mappin {
  position: absolute;
  bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--ink);
  color: #fff;
  padding: .45rem .65rem;
  border-radius: 999px;
  font-size: .72rem; font-weight: 500;
  letter-spacing: .04em;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  z-index: 2;
  transition: transform .3s var(--ease);
  pointer-events: none;
}
.intro__cardmap:hover .intro__mappin { transform: translateY(-2px); }
.intro__cardfoot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.18);
  font-size: .9rem; color: var(--silver);
}
.intro__cardfoot a { color: #fff; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service:nth-child(1) { grid-column: span 2; }
.service:nth-child(2) { grid-column: span 1; }
.service:nth-child(3) { grid-column: span 1; }
.service:nth-child(4) { grid-column: span 2; }
.service {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  min-height: 360px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px -22px rgba(14,42,79,.18);
}
.service--dark {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.service--dark:hover { background: var(--navy-deep); }

.service__num {
  font-family: var(--display); font-style: italic;
  font-size: 1rem; color: var(--navy);
  font-variation-settings: 'opsz' 9, 'SOFT' 100;
  letter-spacing: .02em;
}
.service--dark .service__num { color: var(--silver); }

.service h3 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 1.5vw + .65rem, 2.4rem);
  font-weight: 400; line-height: 1.05; letter-spacing: -.025em;
  font-variation-settings: 'opsz' 144;
  margin-top: 1.25rem;
  margin-bottom: .75rem;
}
.service p {
  color: var(--ink-mute);
  max-width: 38ch;
  font-size: .98rem;
  line-height: 1.5;
}
.service--dark p { color: var(--silver); }

.service__more {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: .82rem; font-weight: 500; letter-spacing: .12em;
  color: var(--navy);
  text-transform: uppercase;
  display: inline-flex; align-items: center;
  transition: transform .3s var(--ease);
}
.service:hover .service__more { transform: translateX(4px); }
.service--dark .service__more { color: var(--silver-bright); }

.service__illu {
  position: absolute;
  right: -30px; top: -30px;
  width: 230px; height: 230px;
  color: var(--navy);
  opacity: .12;
  transition: opacity .55s var(--ease), transform .8s var(--ease-snap);
  pointer-events: none;
}
.service--dark .service__illu { color: var(--silver); opacity: .25; }
.service:hover .service__illu { opacity: .9; transform: rotate(0) scale(1.05); }
.service--dark:hover .service__illu { opacity: .55; }

/* sparkles */
.illu-sparkles .spark { opacity: 0; transform-origin: center; transform: scale(.4); }
.service--01:hover .illu-sparkles .spark {
  animation: sparkle 1.6s var(--ease-snap) infinite;
  animation-delay: var(--d, 0s);
}
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0); }
  40%      { opacity: 1; transform: scale(1)  rotate(45deg); }
  70%      { opacity: .6; transform: scale(.85) rotate(60deg); }
}

/* squeegee */
.illu-squeegee {
  transform: translateY(-130px);
  transition: transform 1.4s var(--ease-snap);
}
.illu-window .window-cloud { opacity: .25; transition: opacity 1.2s var(--ease-snap); }
.illu-window .window-streaks { opacity: .6; transition: opacity 1.2s var(--ease-snap) .2s; }
.service--02:hover .illu-squeegee { transform: translateY(70px); }
.service--02:hover .illu-window .window-cloud   { opacity: 0; }
.service--02:hover .illu-window .window-streaks { opacity: 0; }

/* rotating arm */
.illu-arm { transform-origin: 100px 100px; transition: transform 0s; }
.service--03:hover .illu-arm { animation: spin-arm 4s linear infinite; }
@keyframes spin-arm { to { transform: rotate(360deg); } }

/* crack + debris */
.illu-crack {
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s var(--ease-snap);
}
.illu-debris .debris {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .5s var(--ease), transform .8s var(--ease-snap);
  transition-delay: var(--d, 0s);
}
.service--04:hover .illu-crack { stroke-dashoffset: 0; }
.service--04:hover .illu-debris .debris { opacity: 1; transform: translateY(0); }

/* ============================================================
   WHY — 2x2 cards
   ============================================================ */
.why {
  width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.why__item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.why__item::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 100% 0%, rgba(30,74,130,.07), transparent 55%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.why__item:hover {
  transform: translateY(-5px);
  border-color: var(--ink);
  box-shadow: 0 22px 60px -22px rgba(14,42,79,.18);
}
.why__item:hover::before { opacity: 1; }

.why__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 2rem;
}
.why__num {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(2.25rem, 2.5vw + 1rem, 3.25rem);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.02em;
}
.why__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--navy);
  transition: transform .5s var(--ease), background .35s var(--ease);
}
.why__item:hover .why__icon {
  transform: rotate(-6deg) scale(1.06);
  background: var(--ink);
  color: #fff;
}
.why__icon svg { width: 24px; height: 24px; }

.why__item h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.2vw + .65rem, 1.85rem);
  font-weight: 400; line-height: 1.1; letter-spacing: -.025em;
  font-variation-settings: 'opsz' 144;
  margin-bottom: .65rem;
}
.why__item p {
  color: var(--ink-mute);
  font-size: .98rem; line-height: 1.55;
  max-width: 42ch;
}

.why__line {
  display: block;
  margin-top: 1.5rem;
  height: 1px; width: 32px;
  background: var(--navy);
  transition: width .55s var(--ease);
}
.why__item:hover .why__line { width: 100%; }

/* ============================================================
   GALLERY — image-led "Eindrücke" section (replaces stats)
   ============================================================ */
.gallery {
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
  background: var(--bg);
}
.gallery__head {
  width: var(--container); margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
}
.gallery__grid {
  width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: clamp(260px, 28vw, 360px);
  gap: 1.25rem;
}
.gallery__item:nth-child(1) { grid-column: span 3; }
.gallery__item:nth-child(2) { grid-column: span 2; }
.gallery__item:nth-child(3) { grid-column: span 2; }
.gallery__item:nth-child(4) { grid-column: span 3; }

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt);
  margin: 0;
  isolation: isolate;
}
.gallery__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s var(--ease);
  filter: saturate(.92) contrast(1.02);
}
.gallery__item:hover .gallery__img { transform: scale(1.06); }
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,24,.4), transparent 40%);
  z-index: 1;
}
.gallery__cap {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: .55rem .85rem;
  border-radius: 6px;
  display: flex; flex-direction: column; gap: .1rem;
  z-index: 2;
  font-family: var(--sans);
  margin: 0;
}
.gallery__cap span {
  font-size: .88rem; font-weight: 500; color: var(--ink);
  letter-spacing: -.005em;
  line-height: 1.2;
}
.gallery__cap small {
  font-size: .72rem; color: var(--ink-mute);
  letter-spacing: .04em;
  line-height: 1.2;
}

/* ============================================================
   REEL — animated 4-step preview (cycles like a commercial)
   ============================================================ */
.reel {
  width: var(--container); margin: 0 auto;
  max-width: 1020px;
}
.reel__viewport {
  position: relative;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  min-height: 480px;
  box-shadow: 0 32px 90px -40px rgba(14,42,79,.22), 0 0 0 1px rgba(10,14,24,.02);
}
.reel__viewport::before {
  /* subtle dot-grid (statt Linien) — wirkt weniger technisch, mehr editorial */
  content:'';
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(10,14,24,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 0 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.reel__slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
  font-family: 'Geist', system-ui, sans-serif;
}
.reel__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.reel__visual {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(30,74,130,.08), transparent 60%),
    var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid rgba(10,14,24,.04);
  aspect-ratio: 1;
  width: 100%; max-width: 300px; margin: 0 auto;
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.reel__visual::before {
  /* schwacher Glow-Spot in der Mitte */
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(30,74,130,.05) 0%, transparent 50%);
}
.reel__visual svg { width: 72%; height: 72%; position: relative; z-index: 1; }
/* Eckiger Step-Badge oben links auf dem Visual */
.reel__visual::after {
  content: attr(data-step);
  position: absolute;
  top: .65rem; left: .65rem;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: .3rem .55rem;
  border-radius: 6px;
  z-index: 2;
}

.reel__meta {
  display: flex; flex-direction: column;
  gap: .4rem;
}
.reel__step {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: .35rem;
}
.reel__step::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--navy);
  display: inline-block;
}
.reel__title {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1.75rem, 2.4vw + .8rem, 3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: .6rem;
}
.reel__desc {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1rem, .4vw + .85rem, 1.08rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 42ch;
}

/* per-slide micro-animations triggered when slide is active */
.reel__slide[data-slide="0"].is-active .r-dot {
  animation: pulse-dot 1.4s var(--ease-snap) infinite;
}
.reel__slide[data-slide="0"].is-active .r-dot--2 { animation-delay: .15s; }
.reel__slide[data-slide="0"].is-active .r-dot--3 { animation-delay: .3s; }
@keyframes pulse-dot {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50%      { transform: translateY(-3px); opacity: 1; }
}

.reel__slide[data-slide="1"].is-active .r-pin {
  animation: pin-drop .9s var(--ease-snap) .15s both;
  transform-origin: 100px 170px;
}
@keyframes pin-drop {
  0%   { transform: translateY(-30px); opacity: 0; }
  60%  { transform: translateY(4px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.reel__slide[data-slide="1"].is-active .r-check {
  animation: dash-in 1s var(--ease) 1.05s forwards;
}
@keyframes dash-in {
  to { stroke-dashoffset: 0; }
}

.reel__slide[data-slide="2"].is-active .r-line {
  transform: scaleX(0); transform-origin: left;
  animation: scale-in .7s var(--ease-snap) forwards;
}
.reel__slide[data-slide="2"].is-active .r-line--1 { animation-delay: .15s; }
.reel__slide[data-slide="2"].is-active .r-line--2 { animation-delay: .35s; }
.reel__slide[data-slide="2"].is-active .r-line--3 { animation-delay: .55s; }
@keyframes scale-in { to { transform: scaleX(1); } }
.reel__slide[data-slide="2"].is-active .r-euro {
  opacity: 0;
  animation: fade-up .8s var(--ease-snap) .8s forwards;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reel__slide[data-slide="3"].is-active .r-bigcheck {
  animation: dash-in .9s var(--ease) .15s forwards;
}
.reel__slide[data-slide="3"].is-active .r-spark {
  opacity: 0;
  animation: spark-in .5s var(--ease-snap) forwards;
}
.reel__slide[data-slide="3"].is-active .r-spark--1 { animation-delay: .9s; }
.reel__slide[data-slide="3"].is-active .r-spark--2 { animation-delay: 1.05s; }
.reel__slide[data-slide="3"].is-active .r-spark--3 { animation-delay: 1.2s; }
.reel__slide[data-slide="3"].is-active .r-spark--4 { animation-delay: 1.35s; }
@keyframes spark-in {
  from { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.2); }
  to   { opacity: 1; transform: scale(1); }
}

/* controls */
.reel__controls {
  margin-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.reel__nav { display: flex; gap: .35rem; }
.reel__nav button {
  width: 38px; height: 38px;
  padding: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .05em;
  color: var(--ink-mute);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.reel__nav button:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.reel__nav button.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.reel__progress {
  flex: 1;
  height: 3px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.reel__progressbar {
  position: absolute; inset: 0;
  background: var(--navy);
  transform: translateX(-100%);
}
.reel.is-running .reel__progressbar {
  animation: reel-progress var(--reel-dur, 5500ms) linear forwards;
}
@keyframes reel-progress {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--ink);
  color: #fff;
  padding: clamp(3rem, 6vw, 5.5rem) var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content:''; position: absolute; inset: -10%; z-index: -1;
  background: radial-gradient(50% 60% at 80% 20%, rgba(30,74,130,.45), transparent 60%);
  filter: blur(40px);
}
.cta::after {
  content:'';
  position: absolute;
  bottom: -200px; right: -100px;
  width: 600px; height: 600px;
  background-image: url('../img/logo-shield.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: .05;
  z-index: -1;
}
.cta__inner { width: var(--container); margin: 0 auto; max-width: 980px; }
.cta__title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw + .5rem, 6rem);
  line-height: .95; letter-spacing: -.035em; font-weight: 400;
  font-variation-settings: 'opsz' 144;
  margin: 1rem 0 1.5rem;
  max-width: 18ch;
}
.cta__title em {
  font-style: italic;
  color: var(--silver-bright);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.cta__sub {
  font-size: clamp(1.05rem, .8vw + .65rem, 1.25rem);
  color: var(--silver);
  max-width: 50ch;
  margin-bottom: 2.5rem;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-alt);
  padding: clamp(2.5rem, 4vw, 3.5rem) var(--gutter) 1.5rem;
  border-top: 1px solid var(--hairline);
}
.footer__top {
  width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--hairline);
}
.footer__brand img { height: 32px; margin-bottom: 1.5rem; }
.footer__brand p { color: var(--ink-mute); font-size: .95rem; max-width: 32ch; }
.footer__col h4 {
  font-family: var(--sans);
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 1.5rem;
}
.footer__col a {
  display: block;
  padding: .35rem 0;
  font-size: .98rem;
  color: var(--ink-soft);
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer__col a:hover { color: var(--ink); transform: translateX(3px); }
.footer__col--contact p {
  font-size: .98rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.footer__bottom {
  width: var(--container); margin: 2rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--ink-mute);
  flex-wrap: wrap; gap: 1rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: var(--ink-mute); transition: color .25s; }
.footer__legal a:hover { color: var(--ink); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-snap), transform .9s var(--ease-snap);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title .inner { transform: none; }
  .reel__progressbar { display: none; }
  .hero__shield-fog { clip-path: inset(0 0 0 105%) !important; }
  .hero__wiper { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE
   ============================================================ */

/* tablet / small desktop */
@media (max-width: 1024px) {
  /* Mobile nav: brand left, burger right */
  .nav {
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--hairline);
  }
  .nav__inner { grid-template-columns: auto 1fr; gap: 1rem; }
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__burger {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
  }

  .intro__grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(1), .service:nth-child(4) { grid-column: span 2; }
  .service:nth-child(2), .service:nth-child(3) { grid-column: span 1; }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(220px, 32vw, 320px);
  }
  .gallery__item:nth-child(n) { grid-column: span 1; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .hero__shield { width: 90vw; right: -20vw; }
}

/* phone */
@media (max-width: 720px) {
  :root { --nav-h: 64px; }

  .hero { min-height: 78vh; min-height: 78svh; }
  .hero__title { font-size: clamp(2.6rem, 13vw, 4rem); margin-bottom: 1.5rem; }
  .hero__sub { font-size: 1rem; }
  .hero__shield { width: 130vw; right: -40vw; top: 55%; }
  .hero__shield img { animation-name: shield-color-mobile; }
  @keyframes shield-color-mobile {
    to { opacity: .14; filter: saturate(1.4) contrast(1.05); }
  }
  .hero__cta { gap: 1rem; }

  .section { padding: clamp(3.5rem, 12vw, 6rem) var(--gutter); }
  .section__head { margin-bottom: 2.5rem; }

  .services { grid-template-columns: 1fr; gap: 1rem; }
  .service:nth-child(n) { grid-column: span 1; }
  .service { min-height: 280px; padding: 1.5rem; }
  .service__illu { width: 150px; height: 150px; right: -22px; top: -22px; }
  .service h3 { font-size: 1.55rem; }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 1rem;
  }

  .why { gap: 1rem; }
  .why__item { padding: 1.5rem; }
  .why__top { margin-bottom: 1.5rem; }
  .why__num { font-size: 2.25rem; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
  .footer__bottom { justify-content: flex-start; }

  /* reel — stacked vertically on phone */
  .reel__viewport { min-height: 540px; }
  .reel__slide {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
    align-items: start;
    text-align: left;
  }
  .reel__visual { max-width: 180px; margin-left: 0; }
  .reel__visual::after { font-size: .62rem; padding: .25rem .45rem; top: .5rem; left: .5rem; }
  .reel__step::before { width: 16px; }
  .reel__title { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .reel__title { font-size: 1.85rem; }
  .reel__controls { flex-direction: column-reverse; align-items: stretch; gap: 1rem; margin-top: 1rem; }
  .reel__nav { justify-content: flex-start; flex-wrap: wrap; }

  /* buttons stack on dark CTA */
  .btn--primary, .btn--white { height: 56px; font-size: .94rem; }
  .btn--text-light { margin-left: 0; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn--primary, .cta__actions .btn--white {
    width: 100%; justify-content: space-between;
  }
  .cta__actions .btn--primary .btn__arrow,
  .cta__actions .btn--white   .btn__arrow { width: 56px; }

  /* hero photo mobile — slightly stronger veil so text stays readable */
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.85) 50%, rgba(255,255,255,.6) 100%);
  }
}

/* ============================================================
   SUBPAGE COMPONENTS — page-header, form, info-blocks, services-detail
   ============================================================ */

/* Page header — slim hero for subpages */
.page-header {
  position: relative;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) clamp(1rem, 2vw, 1.75rem);
  background: var(--bg);
}
.page-header__inner {
  width: var(--container); margin: 0 auto;
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
.page-header__crumb {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
}
.page-header__crumb svg { color: var(--navy); width: 12px; height: 12px; }
.page-header__title {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 600;
  color: var(--ink);
  max-width: 16ch;
}
.page-header__title em {
  font-style: normal;
  background-image: linear-gradient(105deg, #0E2A4F 30%, #1E4A82 50%, #0E2A4F 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
}
.page-header__sub {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1rem, .55vw + .8rem, 1.18rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 50ch;
  padding-bottom: .5rem;
}
@media (max-width: 920px) {
  .page-header__inner { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .page-header__title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
}
@media (max-width: 560px) {
  .page-header { padding-top: calc(var(--nav-h) + 1.5rem); }
}

/* Section helpers */
.section--light { background: var(--bg); }
.section--alt   { background: var(--bg-alt); }
.section--dark  { background: var(--ink); color: #fff; }
.section--dark .section__title { color: #fff; }
.section--dark .section__num { color: var(--silver); border-bottom-color: var(--silver); }

/* Page subtitle / lede paragraph used in content sections */
.lede {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1.05rem, .55vw + .85rem, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto 2rem;
}

/* Two-column content layout (sticky aside + body) */
.content-2col {
  width: var(--container); margin: 0 auto; max-width: 1240px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.content-2col__aside {
  position: sticky; top: calc(var(--nav-h) + 1.5rem);
  font-family: 'Geist', system-ui, sans-serif;
}
.content-2col__aside h3 {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .75rem;
}
.content-2col__aside p { color: var(--ink-mute); font-size: .95rem; line-height: 1.5; }
.content-2col__body {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1rem; line-height: 1.65;
  color: var(--ink-soft);
}
.content-2col__body p + p { margin-top: 1rem; }
.content-2col__body h3 {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1.4rem, 1.5vw + .8rem, 2rem);
  font-weight: 600; letter-spacing: -.03em;
  color: var(--ink);
  margin-top: 2.5rem; margin-bottom: .8rem;
}
.content-2col__body ul {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: .65rem;
}
.content-2col__body ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem; line-height: 1.5;
}
.content-2col__body ul li::before {
  content: '';
  position: absolute; left: 0; top: .65rem;
  width: 8px; height: 8px;
  background: var(--navy);
  transform: rotate(45deg);
}
@media (max-width: 920px) {
  .content-2col { grid-template-columns: 1fr; gap: 1.5rem; }
  .content-2col__aside { position: static; }
}

/* Service-detail sections (anchor targets on leistungen.html) */
.svc-detail {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
  padding: clamp(3.5rem, 6vw, 6rem) var(--gutter);
  border-top: 1px solid var(--hairline);
}
.svc-detail--alt { background: var(--bg-alt); }
.svc-detail__inner {
  width: var(--container); margin: 0 auto; max-width: 1240px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.svc-detail__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 5/4;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-alt);
  isolation: isolate;
  order: 2;
}
.svc-detail--alt .svc-detail__visual { background: var(--bg); }
.svc-detail__visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(10,14,24,.25));
}
.svc-detail__visual-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s var(--ease);
}
.svc-detail:hover .svc-detail__visual-img { transform: scale(1.04); }
.svc-detail__num {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: .4rem .7rem;
  border-radius: 6px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
}
.svc-detail__body { font-family: 'Geist', system-ui, sans-serif; }
.svc-detail__crumb {
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
  margin-bottom: 1rem;
}
.svc-detail__title {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
  line-height: 1; letter-spacing: -.035em; font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}
.svc-detail__lede {
  font-size: 1.05rem; line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.svc-detail__list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.svc-detail__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .98rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.svc-detail__list li::before {
  content: '';
  position: absolute; left: 0; top: .55rem;
  width: 7px; height: 7px;
  background: var(--navy);
  transform: rotate(45deg);
}
.svc-detail__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}
.svc-detail__meta > div {
  display: flex; flex-direction: column; gap: .15rem;
}
.svc-detail__meta dt {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.svc-detail__meta dd {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1rem; font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.svc-detail__cta {
  margin-top: 1.5rem;
  display: inline-flex;
}
@media (max-width: 920px) {
  .svc-detail__inner { grid-template-columns: 1fr; }
  .svc-detail__visual { order: 0; aspect-ratio: 16/10; }
}

/* Services overview grid (top of leistungen.html) */
.svc-overview {
  width: var(--container); margin: 0 auto; max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.svc-overview a {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.5rem;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--bg);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  font-family: 'Geist', system-ui, sans-serif;
  min-height: 160px;
}
.svc-overview a:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  background: var(--bg-alt);
}
.svc-overview__num {
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.svc-overview__name {
  font-size: 1.05rem; font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.svc-overview__more {
  margin-top: auto;
  font-size: .82rem; color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: .35rem;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.svc-overview a:hover .svc-overview__more { color: var(--ink); gap: .55rem; }
@media (max-width: 920px) {
  .svc-overview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .svc-overview { grid-template-columns: 1fr; }
}

/* CONTACT FORM */
.contact-grid {
  width: var(--container); margin: 0 auto; max-width: 1240px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.contact-form {
  font-family: 'Geist', system-ui, sans-serif;
  display: flex; flex-direction: column;
  gap: 1.25rem;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form label {
  display: flex; flex-direction: column;
  gap: .4rem;
}
.contact-form .form-label {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  font-weight: 400;
}
.contact-form textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14, 42, 79, .12);
}
.contact-form .cf-turnstile { min-height: 65px; }
.contact-form button[type="submit"] {
  align-self: flex-start;
  margin-top: .5rem;
}
.contact-form__note {
  font-size: .82rem; color: var(--ink-mute);
  line-height: 1.5;
  max-width: 60ch;
}
.contact-form__note a { color: var(--navy); border-bottom: 1px solid currentColor; }
/* Form state messages — toggled via .is-sent / .is-error on the form by JS */
.contact-form__success,
.contact-form__error {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.5;
}
.contact-form__success { background: #e8f5ed; color: #1a6b3a; border: 1px solid #b8dcc7; }
.contact-form__error   { background: #fbeaea; color: #8b1a1a; border: 1px solid #e8b8b8; }
.contact-form.is-sent  .contact-form__success { display: block; }
.contact-form.is-error .contact-form__error   { display: block; }

/* Submit button disabled state during fetch */
.contact-form button[type="submit"][disabled] {
  opacity: .55;
  cursor: progress;
  pointer-events: none;
}

.contact-aside {
  font-family: 'Geist', system-ui, sans-serif;
  display: flex; flex-direction: column;
  gap: 1.25rem;
}
.contact-card {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 1.5rem;
}
.contact-card__label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
  margin-bottom: .65rem;
}
.contact-card__value {
  font-size: 1.05rem; font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -.01em;
}
.contact-card a { color: var(--navy); }
.contact-card a:hover { text-decoration: underline; }
.contact-card--dark {
  background: var(--ink);
  color: #fff;
}
.contact-card--dark .contact-card__label { color: var(--silver); }
.contact-card--dark .contact-card__value { color: #fff; }
.contact-card--dark a { color: var(--silver-bright); }
.contact-aside__map {
  border-radius: 16px;
  overflow: hidden;
  height: 240px;
  background: var(--ink);
  position: relative;
}
.contact-aside__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.15); }

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
}

/* LEGAL pages — simple typography layout */
.legal {
  width: var(--container); margin: 0 auto; max-width: 820px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1rem; line-height: 1.65;
  color: var(--ink-soft);
}
.legal h2 {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1.35rem, 1vw + .85rem, 1.75rem);
  font-weight: 600; letter-spacing: -.025em;
  color: var(--ink);
  margin-top: 2.5rem; margin-bottom: .75rem;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--ink);
  margin-top: 1.5rem; margin-bottom: .5rem;
}
.legal p + p { margin-top: .85rem; }
.legal ul { list-style: disc inside; padding: 0; margin: .85rem 0; }
.legal ul li { margin-bottom: .35rem; }
.legal a { color: var(--navy); border-bottom: 1px solid currentColor; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal__placeholder {
  display: inline-block;
  background: rgba(14, 42, 79, .08);
  padding: .1rem .4rem;
  border-radius: 4px;
  color: var(--navy);
  font-weight: 500;
  font-size: .92em;
}

/* ============================================================
   PROCESS — centered 4-step layout (used on leistungen.html)
   ============================================================ */
.process {
  width: var(--container); margin: 0 auto; max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  list-style: none;
  padding: 0;
}
.process::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--hairline) 15%, var(--hairline) 85%, transparent);
  z-index: 0;
}
.process__step {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 .5rem;
  position: relative;
}
.process__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: var(--bg);
  border: 1px solid var(--navy);
  color: var(--navy);
  border-radius: 50%;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: -.005em;
  margin-bottom: 1.25rem;
  position: relative; z-index: 1;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.section--alt .process__num { background: var(--bg-alt); }
.process__step:hover .process__num {
  background: var(--navy); color: #fff;
  transform: scale(1.06);
}
.process__step h3 {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .4rem;
}
.process__step p {
  font-family: 'Geist', system-ui, sans-serif;
  color: var(--ink-mute);
  font-size: .92rem;
  line-height: 1.5;
  max-width: 28ch;
}
@media (max-width: 920px) {
  .process { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1rem; }
  .process::before { display: none; }
}
@media (max-width: 480px) {
  .process { grid-template-columns: 1fr; }
}

/* ============================================================
   COOKIE BANNER — auto-injected by JS, dismissed once per user
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: clamp(.75rem, 2vw, 1.5rem);
  right: clamp(.75rem, 2vw, 1.5rem);
  bottom: clamp(.75rem, 2vw, 1.5rem);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 50px -20px rgba(10,14,24,.45), 0 0 0 1px rgba(255,255,255,.05);
  font-family: 'Geist', system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner__text {
  flex: 1;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--silver-bright);
}
.cookie-banner__text strong {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: .25rem;
  text-transform: uppercase;
}
.cookie-banner__text a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.4);
  transition: border-color .25s var(--ease);
}
.cookie-banner__text a:hover { border-color: #fff; }
.cookie-banner__btn {
  flex-shrink: 0;
  background: #fff;
  color: var(--ink);
  border: 0;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.cookie-banner__btn:hover { background: var(--silver-bright); transform: translateY(-1px); }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1.1rem; }
  .cookie-banner__btn { width: 100%; }
}

/* ============================================================
   SERVICE MODAL — popup with pre-filled service inquiry
   ============================================================ */
.modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(.5rem, 2vw, 1.5rem);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  width: 100%;
  height: 100svh;             /* mobile-safe viewport height */
  transition:
    opacity .3s var(--ease),
    visibility 0s linear .3s;
}
.modal[hidden] { display: none; }
.modal.is-open {
  opacity: 1;
  visibility: visible;
  transition:
    opacity .3s var(--ease),
    visibility 0s linear 0s;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 14, 24, .68);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.modal__panel {
  position: relative;
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: min(560px, calc(100vw - 1rem));
  max-height: calc(100svh - 1rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  z-index: 1;
  transform: scale(.94) translateY(12px);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 30px 80px -20px rgba(10,14,24,.5);
  box-sizing: border-box;
}
.modal.is-open .modal__panel {
  transform: scale(1) translateY(0);
}
.modal__close {
  position: absolute;
  top: .85rem; right: .85rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink);
  border: 0;
  display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  z-index: 2;
}
.modal__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

.modal__header {
  margin-bottom: 1.5rem;
  padding-right: 2.5rem;
}
.modal__crumb {
  display: inline-block;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .65rem;
}
.modal__title {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1.4rem, 1.5vw + .8rem, 1.85rem);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: .5rem;
}
.modal__title span[data-modal-service-name] {
  color: var(--navy);
}
.modal__sub {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .92rem;
  color: var(--ink-mute);
  line-height: 1.5;
  margin: 0;
}

/* Reuse contact-form styles for the modal form, just slimmer */
.modal__form { gap: 1rem; min-width: 0; }
.modal__form .contact-form__row { gap: .75rem; min-width: 0; }
.modal__form > * { min-width: 0; max-width: 100%; }
.modal__form input,
.modal__form select,
.modal__form textarea { max-width: 100%; box-sizing: border-box; }
.modal__form button[type="submit"] { margin-top: .25rem; max-width: 100%; }

@media (max-width: 480px) {
  .modal { padding: .5rem; }
  .modal__panel {
    padding: 1.25rem 1rem 1.5rem;
    max-width: calc(100vw - 1rem);
    max-height: calc(100svh - 1rem);
    border-radius: 14px;
  }
  .modal__title { font-size: 1.25rem; padding-right: 2rem; }
  .modal__sub { font-size: .85rem; }
  .modal__close { top: .5rem; right: .5rem; width: 32px; height: 32px; }
  .modal__form { gap: .85rem; }
  .modal__form .contact-form__row { grid-template-columns: 1fr; }
  .modal__form .contact-form__row { grid-template-columns: 1fr; }
}

/* ============================================================
   GTA-STYLE MAP ANIMATION — zoom-in + pin drop on scroll-into-view
   ============================================================ */
.intro__cardmap--gta {
  /* slightly compressed at start, expands on trigger */
  transform-origin: 50% 60%;
  transform: scale(.92);
  filter: brightness(.85) saturate(.65);
  transition:
    transform 1s cubic-bezier(.16, 1, .3, 1),
    filter   .9s var(--ease);
}
.intro__cardmap--gta.is-zooming {
  transform: scale(1);
  filter: brightness(1) saturate(1);
}

/* The big pin that drops in from above */
.intro__mapdrop {
  position: absolute;
  left: 50%; top: 50%;
  width: 32px; height: 48px;
  margin-left: -16px;
  margin-top: -48px;            /* bottom of the pin sits on the marker spot */
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-200px) scale(.4);
  filter: drop-shadow(0 14px 16px rgba(0,0,0,.4));
}
.intro__cardmap--gta.is-zooming .intro__mapdrop {
  animation: pin-drop 1s cubic-bezier(.4, 1.7, .55, 1) .55s forwards;
}
@keyframes pin-drop {
  0%   { opacity: 0; transform: translateY(-200px) scale(.4); }
  60%  { opacity: 1; transform: translateY(-4px)   scale(1.15); }
  78%  {            transform: translateY(0)       scale(.92); }
  90%  {            transform: translateY(-2px)    scale(1.05); }
  100% { opacity: 1; transform: translateY(0)       scale(1); }
}

/* Soft shadow under the pin that pulses outward when it lands */
.intro__mapshadow {
  position: absolute;
  left: 50%; top: 50%;
  width: 40px; height: 12px;
  margin-left: -20px;
  margin-top: -2px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(10,14,24,.55), rgba(10,14,24,0) 70%);
  opacity: 0;
  transform: scale(.4);
  z-index: 3;
  pointer-events: none;
}
.intro__cardmap--gta.is-zooming .intro__mapshadow {
  animation: pin-shadow-pulse 1.4s ease-out 1.45s forwards;
}
@keyframes pin-shadow-pulse {
  0%   { opacity: 0;  transform: scale(.4); }
  20%  { opacity: .8; transform: scale(1); }
  60%  { opacity: .3; transform: scale(2.5); }
  100% { opacity: 0;  transform: scale(3.5); }
}

@media (prefers-reduced-motion: reduce) {
  .intro__cardmap--gta { transform: none !important; filter: none !important; }
  .intro__mapdrop, .intro__mapshadow { animation: none !important; opacity: 1 !important; transform: translateY(0) scale(1) !important; }
}

/* Turnstile-Widget im Service-Modal */
.modal__turnstile {
  min-height: 65px;
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.modal__turnstile iframe { max-width: 100%; }
@media (max-width: 320px) {
  /* Bei iPhone SE 1st Gen ist Turnstile 300px breit, knapp aber okay durch overflow-x: auto */
  .modal__turnstile { padding-bottom: .25rem; }
}

/* Logo in der Aside-Spalte (z.B. unter "Wer wir sind") */
.content-block-logo {
  position: relative;
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 1.5rem 0 0;
  isolation: isolate;
  overflow: hidden;
  /* dezentes Floating für Lebendigkeit */
  animation: logo-float 6s ease-in-out infinite;
}
.content-block-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(14, 42, 79, .08));
}
/* Shine-Sweep — periodischer Lichtreflex der diagonal über das Logo läuft */
.content-block-logo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, .55) 48%,
    rgba(255, 255, 255, .8)  50%,
    rgba(255, 255, 255, .55) 52%,
    transparent 65%
  );
  transform: translateX(-110%);
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: logo-shine 5.5s ease-in-out 2s infinite;
}
@keyframes logo-shine {
  0%   { transform: translateX(-110%); }
  55%  { transform: translateX(110%); }
  100% { transform: translateX(110%); }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

@media (max-width: 920px) {
  /* Wenn 2-Spalt-Layout zu 1 Spalt kollabiert: Logo zentriert */
  .content-block-logo {
    max-width: 280px;
    margin-top: 1.25rem;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .content-block-logo,
  .content-block-logo::after { animation: none !important; }
}

/* ============================================================
   IMG-SLIDER — auto-fade between background-image slides
   used inside .svc-detail__visual when multiple photos exist
   ============================================================ */
.img-slider {
  position: absolute; inset: 0;
  overflow: hidden;
}
.img-slider__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s var(--ease), transform 6s linear;
  will-change: opacity, transform;
}
.img-slider__slide.is-active {
  opacity: 1;
  transform: scale(1.06);
}
/* Sanfter Hover-Zoom überlagert */
.svc-detail:hover .img-slider__slide.is-active { transform: scale(1.08); }

/* Shield-Watermark oben rechts auf Service-Visuals (NUR Desktop) */
.svc-detail__watermark {
  position: absolute !important;
  top: clamp(.75rem, 1.5vw, 1.25rem);
  right: clamp(.75rem, 1.5vw, 1.25rem);
  width: clamp(60px, 8.5vw, 92px) !important;
  max-width: 92px !important;
  height: auto;
  z-index: 3;
  pointer-events: none;
  opacity: .6;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,.45));
}
@media (max-width: 720px) {
  /* Auf Mobile: ALLE Watermarks komplett raus — sonst überdeckt das img die Slider-Bilder */
  .svc-detail__watermark,
  .ref-item__watermark { display: none !important; }
}

/* Slider-Stack absichern: Slides hinter Watermark + Overlay-Gradients, mit Fallback-BG */
.svc-detail__visual .img-slider,
.ref-item .img-slider { z-index: 0; }
.svc-detail__visual .img-slider__slide,
.ref-item .img-slider__slide { background-color: var(--bg-alt); }

/* ============================================================
   REFERENZ-GRID — 4 große Cards mit auto-Slider + Overlay
   ============================================================ */
.ref-grid {
  width: var(--container); margin: 0 auto; max-width: 1240px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.ref-item {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-alt);
  isolation: isolate;
}
.ref-item .img-slider { position: absolute; inset: 0; }
.ref-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10,14,24,.55) 80%, rgba(10,14,24,.85) 100%);
  z-index: 1;
}
.ref-item__watermark {
  position: absolute;
  top: clamp(.85rem, 1.5vw, 1.25rem);
  right: clamp(.85rem, 1.5vw, 1.25rem);
  width: clamp(56px, 7.5vw, 88px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  opacity: .55;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
.ref-item__overlay {
  position: absolute;
  left: clamp(1.25rem, 2vw, 1.75rem);
  right: clamp(1.25rem, 2vw, 1.75rem);
  bottom: clamp(1.25rem, 2vw, 1.75rem);
  z-index: 3;
  color: #fff;
}
.ref-item__cat {
  display: inline-block;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: .55rem;
  font-weight: 500;
}
.ref-item__title {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1.35rem, 1.8vw + .55rem, 2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #fff;
  max-width: 22ch;
}
@media (max-width: 720px) {
  .ref-grid { grid-template-columns: 1fr; gap: 1rem; }
  .ref-item { aspect-ratio: 4/3; border-radius: 18px; }
  .ref-item__title { font-size: clamp(1.25rem, 5vw, 1.55rem); }
  .ref-item__watermark { width: 56px; }
}
