/* ==========================================================================
   aarecom AG – Design System v3 «Enterprise»
   Hochwertig, hell, präzise – für Kunden wie Swisscom & Sunrise
   ========================================================================== */

:root {
  /* Markenfarben (aus dem Logo-Verlauf) */
  --violet: #7C3AED;
  --blue: #1D5DDB;
  --cyan: #0EA5E9;
  --grad-brand: linear-gradient(92deg, #8B5CF6 0%, #2563EB 55%, #0EA5E9 100%);

  /* Oberflächen & Text */
  --bg: #FBFCFE;
  --surface: #FFFFFF;
  --surface-soft: #F3F6FB;
  --ink: #0A1426;
  --ink-soft: #44526B;
  --ink-faint: #6E7C93;
  --hairline: rgba(10, 20, 38, .08);
  --hairline-strong: rgba(10, 20, 38, .15);

  /* Dunkle Sektionen */
  --night: #081021;
  --night-2: #0C1834;
  --night-ink: #E8EDF7;
  --night-soft: #9AA9C4;
  --night-hairline: rgba(232, 237, 247, .11);

  /* Aktion */
  --cta: #1D4ED8;
  --cta-hover: #16389F;

  /* Typografie */
  --font-display: 'Inter Tight', 'Inter', -apple-system, sans-serif; /* Display-Schnitt von Inter */
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-brand: 'Conthrax', 'Inter Tight', sans-serif; /* echte Logo-Schrift für Labels */

  /* Eckig/modern (Kundenwunsch 20.06.2026): keine abgerundeten Ecken bei Karten/Bildern/Sektionen */
  --radius-s: 0px;
  --radius-m: 0px;
  --radius-l: 0px;
  --shadow-s: 0 1px 2px rgba(10, 20, 38, .04), 0 6px 20px rgba(10, 20, 38, .05);
  --shadow-m: 0 2px 6px rgba(10, 20, 38, .05), 0 22px 60px rgba(10, 20, 38, .1);
  --shadow-glow: 0 10px 32px rgba(29, 78, 216, .28);

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-6: 48px; --s-8: 64px; --s-12: 96px; --s-16: 140px;

  --container: 1240px;
  --header-h: 84px;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

html, body { overflow-x: hidden; overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cta-hover); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(37, 99, 235, .15); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.022em;
  font-weight: 700;
  color: var(--ink);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-4); }

/* Akzent nur im Hero – sparsam eingesetzt */
.grad-text {
  background: var(--grad-brand);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 7s ease-in-out infinite alternate;
}
@keyframes gradFlow {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .grad-text { animation: none; }
}
.accent { color: var(--blue); }

/* ---------- Eyebrow: dezentes Premium-Label ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.section { padding: var(--s-12) 0; position: relative; }
/* Home: bewusst luftigerer Abschnitts-Rhythmus (fluid, gilt auch mobil) */
.home .section { padding-block: clamp(76px, 10.5vw, 152px); }
.section-head { max-width: 780px; margin-bottom: var(--s-8); }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 16px 0 18px; }
.section-head p { color: var(--ink-soft); font-size: 17.5px; max-width: 640px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered p { margin-left: auto; margin-right: auto; }

.lead { color: var(--ink-soft); font-size: 17.5px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  min-height: 50px;
  transition: transform .22s cubic-bezier(.2,.65,.3,1), box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.btn:active { transform: scale(.97); }
.btn i, .btn svg { width: 18px; height: 18px; transition: transform .22s ease; }
.btn:hover i[data-lucide="arrow-right"], .btn:hover svg.lucide-arrow-right { transform: translateX(4px); }

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: var(--cta-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(29, 78, 216, .35); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-micro { display: block; margin-top: 12px; font-size: 13.5px; color: var(--ink-faint); }

/* Text-Link mit Pfeil */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
}
.link-more i, .link-more svg { width: 18px; height: 18px; transition: transform .22s ease; }
.link-more:hover i, .link-more:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(251, 252, 254, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--hairline); background: rgba(255, 255, 255, .9); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); height: var(--header-h); }
.header-logo img { width: 172px; height: auto; }

.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.2,.65,.3,1);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { font-weight: 600; }
.nav-cta-mobile, .nav-phone-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: var(--ink);
}
.header-phone i, .header-phone svg { width: 16px; height: 16px; color: var(--blue); }
.header-phone:hover { color: var(--blue); }
.btn-header { padding: 12px 24px; min-height: 44px; font-size: 15px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  background: none;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-s);
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92svh;
  padding: calc(var(--header-h) + 40px) 0 var(--s-12);
  overflow: hidden;
}
.hero > .container { width: 100%; }
.hero .container { min-width: 0; position: relative; }
.hero-copy { min-width: 0; position: relative; z-index: 2; }

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(720px 460px at 10% 0%, rgba(124, 58, 237, .05), transparent 65%),
    radial-gradient(820px 520px at 92% 24%, rgba(14, 165, 233, .07), transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .4;
  mask-image: radial-gradient(1000px 640px at 62% 16%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(1000px 640px at 62% 16%, #000 25%, transparent 72%);
}

/* Ein ruhiger Lichtraum hinter dem Logo (statisch, blendet 1× ein) */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(640px 520px at 76% 44%, rgba(124, 58, 237, .09), transparent 68%),
    radial-gradient(560px 480px at 66% 60%, rgba(14, 165, 233, .07), transparent 70%);
}
/* «Hauch von Licht»: kaum sichtbarer Schein folgt träge der Maus (nur Desktop) */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .9s ease;
  background: radial-gradient(440px circle at var(--gx, 64%) var(--gy, 46%),
    rgba(37, 99, 235, .06), rgba(124, 58, 237, .035) 45%, transparent 70%);
}
.hero.glow-on .hero-glow { opacity: 1; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s-8);
  align-items: center;
}

.hero h1 {
  font-size: clamp(44px, 6.2vw, 86px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.015em;
  margin: 20px 0 26px;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: var(--s-6); /* Achtung: --s-5 existiert nicht in der Skala */
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

/* Fakten-Zeile: ruhig, hochwertig – fixe 3 Spalten, bricht nie unschön um */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin-top: var(--s-6);
}
.hero-fact {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: var(--s-3);
}
.hero-fact + .hero-fact { padding-left: var(--s-3); border-left: 1px solid var(--hairline-strong); }
.hero-fact:last-child { padding-right: 0; }
.hero-fact strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero-fact span {
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-faint);
  max-width: 92px;
}

/* Schweiz-Karte */
.hero-map { position: relative; min-width: 0; z-index: 2; }
.swiss-map { width: 100%; height: auto; overflow: visible; }
.sm-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  fill: var(--ink-soft);
  /* Weisser Halo hinter den Städtenamen */
  stroke: rgba(255, 255, 255, .92);
  stroke-width: 5px;
  paint-order: stroke;
  stroke-linejoin: round;
}
.sm-node-hq .sm-label { fill: var(--violet); font-size: 20px; }

.hero-map-caption {
  position: absolute;
  left: 50%; bottom: -10px;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.hero-map-caption .dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 var(--s-8);
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .35;
  mask-image: radial-gradient(900px 480px at 70% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(900px 480px at 70% 0%, #000 20%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; margin: 18px 0 18px; max-width: 800px; }
.page-hero .lead { max-width: 640px; font-size: 18px; }

/* ---------- Schweizweit-Band ---------- */
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: var(--s-8);
  align-items: center;
}
.band-grid h2 { font-size: clamp(30px, 3.8vw, 44px); margin: 16px 0 16px; }
.band-map { min-width: 0; }
.band-map .swiss-map { width: 100%; height: auto; }
/* Feste 3er-Reihe – bricht NIE um (Wrap riss die dritte Kennzahl samt Trenner ab) */
.band-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin: var(--s-4) 0;
}
.band-fact { display: flex; align-items: center; gap: 11px; padding-right: var(--s-3); }
.band-fact:last-child { padding-right: 0; }
.band-fact + .band-fact { padding-left: var(--s-3); border-left: 1px solid var(--hairline-strong); }
.band-fact strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.band-fact span { font-size: 13px; line-height: 1.3; color: var(--ink-faint); max-width: 96px; }

.partner-row {
  display: block; /* Label oben, Logos darunter über die volle Breite (Platz für 6 Logos) */
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--hairline);
}
/* Logoleiste optisch einmitten: unten gleich viel Luft wie oberhalb der Logos.
   .home .swissband (gleiche Spezifität wie .home .section, steht später) gewinnt – sonst
   überschreibt .home .section padding-block (152px) das padding-bottom und die Logos hängen oben. */
.home .swissband { padding-bottom: var(--s-6); }
.partner-label {
  display: block; /* oberhalb der Logos */
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 var(--s-4);
}
.partner-row img {
  height: 38px; width: auto;
  filter: grayscale(1) opacity(.5);
  transition: filter .25s ease;
}
.partner-row img:hover { filter: grayscale(0) opacity(1); }

/* ---------- Leistungs-Karten ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}
.service-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  padding: var(--s-4);
  transition: transform .28s cubic-bezier(.2,.65,.3,1), box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(29, 78, 216, .06), transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: var(--hairline-strong); }
.service-card:hover::before { opacity: 1; }

a.service-card { color: inherit; }
a.service-card:hover h3 { color: var(--blue); }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  margin-bottom: var(--s-3);
}
.service-icon i, .service-icon svg { width: 24px; height: 24px; color: var(--blue); }
.service-card h3 { font-size: 19px; margin-bottom: 10px; transition: color .2s ease; }
.service-card p { font-size: 14.5px; color: var(--ink-soft); }

.service-card-feature {
  grid-column: span 2;
  background:
    radial-gradient(460px 260px at 92% 110%, rgba(14, 165, 233, .07), transparent 70%),
    radial-gradient(400px 240px at 0% -10%, rgba(124, 58, 237, .05), transparent 70%),
    var(--surface);
}
.service-card-feature h3 { font-size: 24px; }
.service-card-feature p { font-size: 15.5px; max-width: 560px; }

.service-card-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--s-2);
  background: linear-gradient(150deg, var(--night) 20%, var(--night-2) 100%);
  border-color: var(--night);
}
.service-card-cta::before {
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(96, 165, 250, .14), transparent 65%);
  opacity: 1;
}
.service-card-cta h3 { color: #fff; font-size: 22px; position: relative; }
.service-card-cta p { color: var(--night-soft); position: relative; }
.service-card-cta .btn { position: relative; }

/* Detail-Liste auf der Dienstleistungs-Seite */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--s-6);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--hairline);
}
.service-detail:last-of-type { border-bottom: 1px solid var(--hairline); }
.service-detail-head { display: flex; align-items: flex-start; gap: var(--s-2); }
.service-detail h3 { font-size: 24px; }
.service-detail p { color: var(--ink-soft); font-size: 16px; max-width: 680px; }

/* ---------- Technologie (dunkel) ---------- */
.tech {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(37, 99, 235, .15), transparent 65%),
    radial-gradient(700px 420px at 0% 100%, rgba(124, 58, 237, .12), transparent 65%),
    linear-gradient(165deg, var(--night) 0%, var(--night-2) 100%);
  color: var(--night-ink);
}
.tech .eyebrow { color: #7DA7F5; }
.tech h2 { color: #fff; font-size: clamp(32px, 4.2vw, 50px); margin: 16px 0 18px; }
.tech .lead { color: var(--night-soft); max-width: 520px; }

.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: center;
}
.tech-media { position: relative; }
.tech-media-main {
  border-radius: var(--radius-l);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
  border: 1px solid var(--night-hairline);
}
.tech-media-badge {
  position: absolute;
  right: -20px; bottom: -26px;
  width: min(45%, 230px);
  border-radius: var(--radius-m);
  border: 1px solid var(--night-hairline);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .5);
}

.tech-list { display: grid; gap: 0; margin-top: var(--s-4); }
.tech-item {
  display: flex; gap: var(--s-2); align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--night-hairline);
}
.tech-item:last-child { border-bottom: 1px solid var(--night-hairline); }
.tech-item i, .tech-item svg { width: 21px; height: 21px; color: var(--cyan); flex-shrink: 0; margin-top: 3px; }
.tech-item strong { display: block; font-family: var(--font-display); font-size: 17px; color: #fff; }
.tech-item span { font-size: 14.5px; color: var(--night-soft); }

/* ---------- Werte ---------- */
.values-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.value-cell {
  position: relative;
  padding: var(--s-4) var(--s-3);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
  transition: background-color .3s ease;
  min-height: 225px;
  display: flex;
  flex-direction: column;
}
.value-cell:hover { background: var(--surface-soft); }
.value-cell .value-letter {
  font-family: var(--font-brand);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
  transition: color .3s ease;
}
.value-cell:hover .value-letter { color: var(--violet); }
.value-cell h3 { font-size: 15px; margin: auto 0 6px; padding-top: var(--s-3); }
.value-cell p { font-size: 12.5px; line-height: 1.5; color: var(--ink-faint); }

/* ---------- Stats-Band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
}
.stat-cell {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  padding: var(--s-4);
  text-align: center;
}
.stat-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.stat-cell span { font-size: 14.5px; color: var(--ink-faint); }

/* ---------- Ablauf ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
}
.process-step {
  position: relative;
  padding: var(--s-4) var(--s-3);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: var(--s-2);
}
.process-step h3 { font-size: 19px; margin: 4px 0 8px; }
.process-step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Über uns / Split-Sektionen ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: center;
}
.about-grid h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 16px 0 18px; }
.about-media-wrap { position: relative; }
.about-media { border-radius: var(--radius-l); box-shadow: var(--shadow-m); }
.about-media-tag {
  position: absolute;
  left: var(--s-3); bottom: var(--s-3);
  font-family: var(--font-brand);
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(8, 16, 33, .55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 8px 16px;
}
.about-points { display: grid; gap: 0; margin: var(--s-4) 0; }
.about-point {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 15.5px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}
.about-point:last-child { border-bottom: 1px solid var(--hairline); }
.about-point i, .about-point svg { width: 19px; height: 19px; color: var(--blue); flex-shrink: 0; }

/* ---------- Team ---------- */
.team-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}
.team-tile { position: relative; }
.team-tile-media {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.team-tile-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; transition: transform .5s cubic-bezier(.2,.65,.3,1); }
.team-tile:hover .team-tile-media img { transform: scale(1.04); }
.team-tile figcaption { padding: 14px 4px 0; }
.team-tile figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.team-tile figcaption span { font-size: 13.5px; color: var(--ink-faint); }

/* Team-Seite: Personen */
.person-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
.person-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.person-card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.person-body { padding: var(--s-4); display: flex; flex-direction: column; justify-content: center; }
.person-body .role {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.person-body h3 { font-size: 22px; margin-bottom: 10px; }
.person-body p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 26px 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}
.faq-item summary:hover { color: var(--blue); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
}
.faq-item summary i, .faq-item summary svg { width: 17px; height: 17px; color: var(--blue); transition: transform .28s cubic-bezier(.2,.65,.3,1); }
.faq-item[open] summary i, .faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item p { padding: 0 60px 26px 8px; color: var(--ink-soft); font-size: 15.5px; max-width: 760px; }

/* ---------- Finaler CTA ---------- */
.final-cta { padding: var(--s-8) 0 var(--s-12); }
.final-cta-box {
  position: relative;
  background:
    radial-gradient(560px 280px at 14% 0%, rgba(124, 58, 237, .3), transparent 70%),
    radial-gradient(620px 320px at 88% 100%, rgba(14, 165, 233, .26), transparent 70%),
    linear-gradient(150deg, var(--night) 10%, var(--night-2) 100%);
  border-radius: var(--radius-l);
  padding: var(--s-12) var(--s-6);
  text-align: center;
  overflow: hidden;
}
.final-cta-box::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--night-hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--night-hairline) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .3;
  mask-image: radial-gradient(640px 360px at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(640px 360px at 50% 50%, #000 20%, transparent 75%);
}
.final-cta-box > * { position: relative; z-index: 1; }
.final-cta-box .eyebrow { color: #7DA7F5; }
.final-cta-box h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin: 14px 0 16px; }
.final-cta-box p { color: var(--night-soft); max-width: 560px; margin: 0 auto var(--s-4); }
.final-cta-box .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.final-cta-box .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-8);
  align-items: start;
}
.contact-grid h2 { font-size: clamp(30px, 4vw, 44px); margin: 16px 0 16px; }
.contact-info-list { display: grid; margin-top: var(--s-4); }
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
}
.contact-info-item:last-child { border-bottom: 1px solid var(--hairline); }
.contact-info-item .ci-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  flex-shrink: 0;
}
.contact-info-item i, .contact-info-item svg { width: 20px; height: 20px; color: var(--blue); }
.contact-info-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 3px;
}
.contact-info-item a, .contact-info-item span { font-size: 15.5px; color: var(--ink); font-weight: 500; }
.contact-info-item a:hover { color: var(--blue); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  padding: var(--s-6);
  box-shadow: var(--shadow-s);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.form-group { margin-bottom: var(--s-2); }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--cta); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  min-height: 50px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-s);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-group textarea { min-height: 132px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}
.form-group .field-error { display: none; font-size: 13px; color: #DC2626; margin-top: 5px; }
.form-group.has-error input, .form-group.has-error textarea { border-color: #DC2626; }
.form-group.has-error .field-error { display: block; }
.form-alert {
  display: none;
  padding: 14px 18px;
  margin-bottom: var(--s-2);
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-s);
  color: #B91C1C;
  font-size: 14.5px;
}
.form-alert.visible { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Footer (hell) ---------- */
.site-footer {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  color: var(--ink-soft);
  padding: var(--s-12) 0 var(--s-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--hairline);
}
.footer-brand img { width: 180px; margin-bottom: var(--s-2); }
.footer-brand p { font-size: 14.5px; }
.footer-social { display: flex; gap: 10px; margin-top: var(--s-3); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--cta); border-color: var(--cta); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }

.footer-col h3 {
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--ink-soft); font-size: 14.5px; }
.footer-col a:hover { color: var(--blue); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.footer-contact i, .footer-contact svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2);
  padding-top: var(--s-3);
  font-size: 13.5px;
  color: var(--ink-faint);
}
.footer-bottom a { color: var(--ink-faint); }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Sticky CTA (mobil) ---------- */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--hairline);
}
.sticky-cta .btn { flex: 1; padding: 12px 10px; font-size: 15px; }

/* ---------- Consent-Banner ---------- */
.consent-banner {
  position: fixed;
  z-index: 200;
  inset: auto 16px 16px 16px;
  max-width: 520px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: var(--s-3);
}
.consent-banner h2 { font-size: 17px; margin-bottom: 8px; }
.consent-banner p { font-size: 13.5px; color: var(--ink-soft); }
.consent-actions { display: flex; gap: 10px; margin-top: var(--s-2); }
.consent-actions .btn { flex: 1; padding: 11px 16px; min-height: 44px; font-size: 14.5px; }

/* ---------- Utility ---------- */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 300;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Danke-Seite ---------- */
.danke-hero { padding-bottom: var(--s-4); }
.danke-hero h1, .danke-hero .lead { max-width: 640px; }

.danke-check {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto var(--s-4);
}
.danke-check svg { width: 100%; height: 100%; overflow: visible; }
.ck-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(29, 78, 216, .35);
  animation: ckPulse 2.6s cubic-bezier(0, 0, .35, 1) infinite;
  animation-delay: 1.4s;
}

.danke-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
  max-width: 980px;
  margin: 0 auto;
}
.danke-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  padding: var(--s-4) var(--s-3);
  text-align: center;
}
.danke-step.is-done { border-color: rgba(29, 78, 216, .35); background: linear-gradient(180deg, rgba(29, 78, 216, .04), transparent 60%), var(--surface); }
.ds-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  margin-bottom: var(--s-2);
}
.danke-step.is-done .ds-icon { background: var(--cta); border-color: var(--cta); }
.danke-step.is-done .ds-icon i, .danke-step.is-done .ds-icon svg { color: #fff; }
.ds-icon i, .ds-icon svg { width: 24px; height: 24px; color: var(--blue); }
.danke-step h3 { font-size: 17.5px; margin-bottom: 8px; }
.danke-step p { font-size: 14.5px; color: var(--ink-soft); }

.danke-urgent {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 680px;
  margin: var(--s-6) auto 0;
  padding: 18px 22px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
}
.danke-urgent i, .danke-urgent svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.danke-urgent p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Partner-Slider: Endlos-Marquee (unaufhörlich, ~6 Logos sichtbar) ---------- */
.partner-mask { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.partner-track { display: flex; align-items: center; width: max-content;
  animation: partner-marquee 36s linear infinite; }
.partner-set { display: flex; align-items: center; gap: 40px; padding-right: 40px; flex: none; }
.partner-set img {
  flex: 0 0 auto; width: clamp(104px, 13vw, 150px);
  height: 34px; object-fit: contain;
  filter: grayscale(1) opacity(.5);
  transition: filter .25s ease;
}
.partner-set img:hover { filter: grayscale(0) opacity(1); }
@keyframes partner-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partner-track { animation: none; } }

/* ---------- Megamenü Dienstleistungen (nur Desktop) ---------- */
/* Achtung Spezifität: .main-nav ul setzt display:flex, darum hier .main-nav .nav-sub */
.main-nav .nav-sub { display: none; }
.mega { display: none; }
.mega-chevron { display: none; }

@media (min-width: 1025px) {
  .mega-chevron { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; transition: transform .25s ease; }
  .has-mega { position: relative; }
  .has-mega:hover .mega-chevron,
  .has-mega:focus-within .mega-chevron { transform: rotate(180deg); }

  /* Kompaktes Dropdown direkt unter dem Link.
     padding-top überbrückt die Lücke zwischen Link und Karte:
     die Maus bleibt beim Runterfahren im Hover-Bereich (kein Zuklappen). */
  .mega {
    display: block;
    position: absolute;
    top: 100%;
    left: -6px;
    padding-top: 14px;
    width: 330px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s .25s;
    pointer-events: none;
    z-index: 110;
  }
  .has-mega:hover .mega,
  .has-mega:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .22s ease, transform .22s ease, visibility 0s;
    pointer-events: auto;
  }
  .mega-card {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-m);
    box-shadow: 0 24px 60px rgba(10, 20, 38, .16);
    padding: 8px;
  }
  .main-nav .mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--radius-s);
    text-decoration: none;
    transition: background .18s ease;
  }
  .main-nav .mega-item:hover { background: var(--surface); }
  .main-nav .mega-item::after, .main-nav .mega-alle::after { display: none; }
  .mega-item strong { font-size: 14.5px; font-weight: 600; color: var(--ink); }
  .mega-icon {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    flex: none;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(29, 93, 219, .12));
    transition: background .18s ease;
  }
  .mega-icon i, .mega-icon svg { width: 17px; height: 17px; color: var(--blue); transition: color .18s ease; }
  .mega-item:hover .mega-icon { background: linear-gradient(135deg, var(--violet), var(--blue)); }
  .mega-item:hover .mega-icon i, .mega-item:hover .mega-icon svg { color: #fff; }
  .main-nav .mega-alle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px -8px -8px;
    padding: 13px 12px;
    border-top: 1px solid var(--hairline);
    font-size: 14px;
    font-weight: 650;
    color: var(--blue);
    text-decoration: none;
    transition: background .18s ease;
  }
  .main-nav .mega-alle:hover { background: var(--surface); }
  .mega-alle i, .mega-alle svg { width: 15px; height: 15px; transition: transform .2s ease; }
  .mega-alle:hover i, .mega-alle:hover svg { transform: translateX(4px); }
}

/* ---------- Warum aarecom ---------- */
.warum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
}
.warum-item {
  position: relative;
  padding-top: var(--s-3);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--violet), var(--blue)) 1;
  border-image-width: 2px 0 0 0;
}
.warum-nr {
  display: block;
  font-family: var(--font-brand);
  font-size: 12px;
  letter-spacing: .2em;
  background: linear-gradient(100deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.warum-item h3 { font-size: 21px; margin-bottom: 12px; }
.warum-item p { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Aus dem Feld (laufender Bildband) ---------- */
.feldband .section-head { margin-bottom: var(--s-6); }
.feldband-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.feldband-track {
  display: flex;
  width: max-content;
  animation: feldDrift 52s linear infinite;
}
.feldband-mask:hover .feldband-track { animation-play-state: paused; }
@keyframes feldDrift { to { transform: translateX(-50%); } }
.feldband-set { display: flex; gap: var(--s-3); padding-right: var(--s-3); }
.feld-card {
  position: relative;
  width: clamp(240px, 23vw, 330px);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 0; /* Galerie-Fotos eckig (Kundenwunsch 20.06.2026) */
  background: var(--surface);
}
.feld-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.feld-card:hover img { transform: scale(1.05); }
.feld-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 38px 16px 13px;
  font-family: var(--font-brand);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .94);
  background: linear-gradient(transparent, rgba(10, 20, 38, .72));
}

/* ---------- Team (Editorial-Split + Collage) ---------- */
.team-neu {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: var(--s-8);
  align-items: center;
}
.team-neu-copy h2 { font-size: clamp(30px, 3.8vw, 44px); margin: 16px 0 18px; }
.team-neu-copy p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: var(--s-3); max-width: 54ch; }
.team-neu-punkte {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0;
  display: grid;
  gap: 12px;
}
.team-neu-punkte li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 550;
  color: var(--ink);
}
.team-neu-punkte i, .team-neu-punkte svg { width: 19px; height: 19px; color: var(--blue); flex: none; }
.team-neu-collage {
  position: relative;
  min-height: 520px;
}
.tnc {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-l);
  box-shadow: 0 24px 60px rgba(10, 20, 38, .14);
}
.tnc img { width: 100%; height: 100%; object-fit: cover; }
.tnc-1 { top: 0; left: 0; width: 62%; aspect-ratio: 4 / 3; z-index: 1; }
.tnc-2 { top: 14%; right: 0; width: 44%; aspect-ratio: 3 / 3.4; z-index: 2; }
.tnc-3 { bottom: 0; left: 14%; width: 52%; aspect-ratio: 4 / 3; z-index: 3; }

/* ---------- Dienstleistungs-Hub (Kacheln) ---------- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}
.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.hub-card:hover { border-color: rgba(37, 99, 235, .4); box-shadow: 0 20px 50px rgba(10, 20, 38, .12); transform: translateY(-4px); }
.hub-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.hub-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hub-card:hover img { transform: scale(1.05); }
.hub-card-body { padding: var(--s-3) var(--s-4) var(--s-4); display: grid; gap: 8px; align-content: start; flex: 1; }
.hub-nr {
  font-family: var(--font-brand);
  font-size: 11.5px;
  letter-spacing: .18em;
  background: linear-gradient(100deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hub-card h3 { font-size: 20px; }
.hub-card p { font-size: 14.5px; color: var(--ink-soft); }
.hub-card .link-more { font-size: 14px; margin-top: 4px; }
.hub-card-feature { grid-column: span 2; grid-row: span 1; }
.hub-card-feature figure { aspect-ratio: 21 / 9; }

/* ---------- Dienstleistungs-Unterseiten ---------- */
.ds-hero { padding-bottom: var(--s-6); }
.ds-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
  gap: var(--s-8);
  align-items: center;
}
.ds-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: var(--s-3);
}
.ds-crumbs a { color: var(--ink-soft); text-decoration: none; }
.ds-crumbs a:hover { color: var(--blue); }
.ds-hero-copy h1 { font-size: clamp(34px, 4.4vw, 56px); margin: 16px 0 18px; line-height: 1.06; }
.ds-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: var(--s-4); }
.ds-hero-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  border-radius: var(--radius-l, 20px);
}
.ds-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ds-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 65%, rgba(10, 20, 38, .22));
}

.ds-intro { padding-bottom: var(--s-6); }
.ds-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--s-8);
  align-items: start;
}
.ds-statement {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.3vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 26em;
}
.ds-fakten {
  display: grid;
  gap: var(--s-3);
  border-left: 1px solid var(--hairline);
  padding-left: var(--s-4);
}
.ds-fakt strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 26px;
  background: linear-gradient(100deg, var(--violet, #7C3AED), var(--blue, #2563EB));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ds-fakt span { font-size: 14px; color: var(--ink-soft); }

.ds-ablauf { background: var(--surface); border-block: 1px solid var(--hairline); }
.ds-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
  counter-reset: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.ds-steps::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet, #7C3AED), var(--blue, #2563EB), #0EA5E9);
  opacity: .25;
}
.ds-step { position: relative; padding-top: var(--s-6); }
.ds-step-nr {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-brand);
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet, #7C3AED), var(--blue, #2563EB));
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .28);
}
.ds-step h3 { font-size: 18px; margin-bottom: 8px; }
.ds-step p { font-size: 15px; color: var(--ink-soft); }

.ds-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s-8);
  align-items: start;
}
.ds-h2-klein { font-size: clamp(26px, 3vw, 36px); margin: 14px 0 22px; }
.ds-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ds-chips li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink);
}
.ds-chips li i, .ds-chips li svg { width: 17px; height: 17px; color: var(--blue); flex: none; }
.ds-signatur {
  position: relative;
  background: linear-gradient(165deg, #0E1B33, #0A1426);
  color: #E6EDF8;
  border-radius: var(--radius-l, 20px);
  padding: var(--s-6) var(--s-4);
  overflow: hidden;
}
.ds-signatur::after {
  content: '';
  position: absolute;
  top: -40%; right: -30%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(124, 58, 237, .35), transparent 70%);
  filter: blur(30px);
}
.ds-signatur-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet, #7C3AED), var(--blue, #2563EB));
  margin-bottom: var(--s-3);
}
.ds-signatur-icon i, .ds-signatur-icon svg { width: 24px; height: 24px; color: #fff; }
.ds-signatur h3 { font-size: 21px; margin-bottom: 12px; color: #fff; }
.ds-signatur > p { font-size: 15.5px; color: rgba(230, 237, 248, .78); margin-bottom: var(--s-3); position: relative; z-index: 1; }
.ds-signatur ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.ds-signatur ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: rgba(230, 237, 248, .9); }
.ds-signatur ul li i, .ds-signatur ul li svg { width: 15px; height: 15px; color: #60A5FA; flex: none; margin-top: 3px; }

.ds-faq { background: var(--surface); border-block: 1px solid var(--hairline); }

.ds-verwandt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
}
.ds-vcard {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--s-3);
  align-items: center;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l, 20px);
  padding: var(--s-2);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.ds-vcard:hover { border-color: rgba(37, 99, 235, .4); box-shadow: 0 16px 44px rgba(10, 20, 38, .1); transform: translateY(-3px); }
.ds-vcard figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; }
.ds-vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ds-vcard:hover img { transform: scale(1.05); }
.ds-vcard h3 { font-size: 18px; margin-bottom: 5px; }
.ds-vcard p { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.ds-vcard .link-more { font-size: 14px; }

/* ---------- Hero «Eine Bühne» ---------- */
/* Maske mit Unterlängen-Reserve: lh 1.03 clippt sonst das j (Inter-Descent ~.24em) */
.hero-title .ht-line {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.ht-w { display: inline-block; }
/* Punkt optisch an «Faser» heranrücken (Sidebearing von Inter Tight bei 86px) */
.ht-line:nth-child(2) .ht-w:nth-child(2) { margin-left: -.045em; }

.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 26px;
  height: 40px;
  border: 2px solid var(--hairline-strong);
  border-radius: 14px;
  display: none;
  justify-content: center;
  padding-top: 7px;
  transition: opacity .4s ease;
}
.hero-cue span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue);
}
.hero-cue.hidden { opacity: 0; pointer-events: none; }
@media (min-width: 1024px) { .hero-cue { display: flex; } }

/* ---------- Google-Trust-Zeile (Hero): ruhig, ohne Pille ---------- */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: var(--s-4);
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--ink-faint);
  transition: color .2s ease;
}
.hero-rating:hover { color: var(--ink); }
.hero-rating:hover .hr-text { text-decoration: underline; text-underline-offset: 3px; }
.hero-rating strong { font-weight: 800; color: var(--ink); }
.hr-stars { display: inline-flex; gap: 2px; }

/* ---------- Reviews-Slider ---------- */
.rev-agg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  color: var(--ink-soft);
}
.rev-agg-score { display: inline-flex; align-items: center; gap: 8px; }
.rev-agg strong { font-family: var(--font-display); font-size: 19px; color: var(--ink); }

.rev-slider { position: relative; }
.rev-track {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.rev-track::-webkit-scrollbar { display: none; }

.rev-card {
  flex: 0 0 calc((100% - 2 * var(--s-2)) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  padding: var(--s-3);
}
.rev-text {
  margin: 12px 0 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rev-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}
.rev-meta img { width: 38px; height: 38px; border-radius: 50%; }
.rev-meta strong { display: block; font-family: var(--font-display); font-size: 14.5px; color: var(--ink); }
.rev-meta span { font-size: 12.5px; color: var(--ink-faint); }
.rev-g { margin-left: auto; flex-shrink: 0; }

.rev-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--s-3);
}
.rev-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--hairline-strong);
  padding: 0;
  transition: background-color .25s ease, transform .25s ease;
}
.rev-dots button.active { background: var(--blue); transform: scale(1.3); }

/* ============================================================
   Eckig/modern (Kundenwunsch 20.06.2026)
   ============================================================ */
/* Restliche fixe Radien (Icon-Felder, Chips, Medien) auf 0 – Buttons bleiben Pille */
.service-icon,
.contact-info-item .ci-icon,
.mega-icon,
.ds-step-nr,
.ds-chips li,
.ds-signatur-icon,
.ds-vcard figure,
.hero-cue,
.tech-media-badge,
.team-tile-media,
.about-media { border-radius: 0; }

/* ============================================================
   Full-Bleed Split: Text bis zur Mitte, Bild von der Mitte bis zum Bildschirmrand
   (egal ob Bild links oder rechts) – ersetzt die alten .about-grid/.ds-hero-grid Splits
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(380px, 42vw, 600px);
  margin-block: clamp(56px, 7vw, 112px); /* eigener Abstand zu Nachbarn (Band sauber getrennt) */
}
.split-text { display: flex; align-items: center; }
.split-text .split-inner { width: 100%; max-width: 600px; }
.split-text .split-inner h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 14px 0 18px; }
/* Bild RECHTS (Standard): Text links, aussen am Container-Gutter ausgerichtet, innen bis zur Mitte */
.split > .split-text {
  padding: clamp(48px, 6vw, 104px) clamp(28px, 4vw, 64px) clamp(48px, 6vw, 104px)
           max(var(--s-4), calc((100vw - var(--container)) / 2 + var(--s-4)));
}
.split-media { position: relative; margin: 0; overflow: hidden; background: var(--surface-soft); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Bild LINKS */
.split--media-left .split-media { order: -1; }
.split--media-left > .split-text {
  padding: clamp(48px, 6vw, 104px)
           max(var(--s-4), calc((100vw - var(--container)) / 2 + var(--s-4)))
           clamp(48px, 6vw, 104px) clamp(28px, 4vw, 64px);
}
.split--media-left .split-inner { margin-left: auto; }

/* Hero-Variante des Splits (z. B. Dienstleistungs-Unterseiten): oben unter den fixen Header */
.split--hero { min-height: auto; margin-top: 0; } /* Hero bündig unter den Header, Abstand nur unten */
.split--hero > .split-text { padding-top: calc(var(--header-h) + clamp(36px, 4.5vw, 76px)); padding-bottom: clamp(44px, 5.5vw, 88px); }
.split--hero .split-media { min-height: clamp(420px, 46vw, 640px); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-media { order: -1; min-height: clamp(240px, 62vw, 400px); }
  .split > .split-text,
  .split--media-left > .split-text { padding: clamp(40px, 9vw, 64px) var(--s-4); }
  .split--hero > .split-text { padding-top: calc(var(--header-h) + 24px); }
  .split-text .split-inner { max-width: 680px; margin-inline: auto; }
}
