/* =====================================================================
   UG Installationen GmbH — Design-System
   "Refined Technical Craftsmanship" — Marken-Blau + Wellen-Motiv
   Selbst-gehostete Schriften (DSGVO), GPU-leichte Animationen.
   ===================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  font-style: normal;
}

/* ---------- Tokens ---------- */
:root {
  /* Marken-Blau (aus Logo abgeleitet) */
  --blue-900: #072A45;
  --blue-800: #0B3A5E;
  --blue-700: #0E5C8F;
  --blue-600: #0E7BBF;
  --blue-500: #1190CF;
  --blue-400: #37AEE2;
  --blue-300: #7FD0F0;
  --blue-100: #D7ECF8;
  --blue-50:  #EEF7FC;

  --ink:    #0C2233;
  --ink-soft:#23435C;
  --slate:  #587088;
  --line:   rgba(8, 42, 69, 0.10);
  --line-2: rgba(8, 42, 69, 0.16);
  --white:  #ffffff;
  --paper:  #F4FAFE;
  --paper-2:#EAF4FB;

  --grad:        linear-gradient(135deg, #1497D6 0%, #0E5C8F 58%, #0B3A5E 100%);
  --grad-bright: linear-gradient(120deg, #0D74B0 0%, #0A4E78 100%);
  --grad-soft:   linear-gradient(180deg, #ffffff 0%, #F1F8FD 100%);

  --shadow-sm: 0 1px 2px rgba(8,42,69,.06), 0 2px 8px rgba(8,42,69,.05);
  --shadow-md: 0 10px 30px -12px rgba(8,42,69,.22), 0 4px 12px rgba(8,42,69,.06);
  --shadow-lg: 0 30px 60px -20px rgba(8,42,69,.32), 0 12px 28px -16px rgba(8,42,69,.18);
  --shadow-blue: 0 18px 40px -16px rgba(14,123,191,.55);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --container: 1180px;
  --pad: clamp(20px, 5vw, 48px);

  --font-display: "Sora", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: clamp(16px, 1.05vw, 17.5px);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: var(--blue-300); color: var(--blue-900); }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad-bright);
  border-radius: 2px;
}
.eyebrow.on-dark { color: #bfe9fb; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); }
.text-grad {
  background: var(--grad-bright);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 680px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { margin-top: 16px; }

.bg-paper { background: var(--paper); }
.bg-soft { background: var(--grad-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-bright); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -16px rgba(14,123,191,.7); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--blue-400); box-shadow: var(--shadow-md); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(8,42,69,.3); }
.nav { display: flex; align-items: center; gap: 18px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { height: 34px; width: auto; flex: none; filter: drop-shadow(0 3px 8px rgba(14,123,191,.30)); }
.brand-text {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.18rem; color: var(--ink);
  letter-spacing: -.01em; line-height: 1;
}
.brand-text b { font-weight: 800; color: var(--blue-700); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 9px 14px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 500; font-size: .96rem;
  color: var(--ink-soft);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-links a.is-active { color: var(--blue-700); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--grad-bright); border-radius: 2px;
}

.nav-phone {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--r-pill);
  background: var(--grad-bright); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: .94rem;
  box-shadow: var(--shadow-blue);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-phone:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(14,123,191,.7); }
.nav-phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-50); border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--blue-800); border-radius: 2px; transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 10px var(--pad) 22px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: flex; animation: dropIn .3s var(--ease-out); }
.mobile-nav a {
  padding: 13px 12px; border-radius: 12px; font-family: var(--font-display); font-weight: 500;
  color: var(--ink-soft);
}
.mobile-nav a:hover, .mobile-nav a.is-active { background: var(--blue-50); color: var(--blue-700); }
.mobile-nav .nav-phone { margin-top: 10px; justify-content: center; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad);
  color: #fff;
  padding-block: clamp(72px, 11vw, 132px) clamp(90px, 12vw, 150px);
  isolation: isolate;
}
.hero::before { /* atmosphärischer Glow */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 78% 18%, rgba(127,208,240,.35), transparent 60%),
    radial-gradient(50% 60% at 12% 90%, rgba(55,174,226,.30), transparent 60%);
}
.hero-waves { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  font-size: .82rem; font-weight: 600; font-family: var(--font-display);
  color: #eaf6fd; backdrop-filter: blur(6px); margin-bottom: 24px;
}
.hero-badge b { background: #fff; color: var(--blue-700); padding: 3px 9px; border-radius: var(--r-pill); font-size: .76rem; }
.hero h1 { color: #fff; overflow-wrap: break-word; }
.hero h1 .text-grad { background: linear-gradient(120deg,#bfe9fb,#7FD0F0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #d3e9f7; max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #cfe6f5; }
.hero-trust svg { width: 20px; height: 20px; color: var(--blue-300); flex: none; }

/* Hero-Bild-Collage */
.hero-visual { position: relative; }
.hero-stack { position: relative; aspect-ratio: 1/1; }
.hero-card {
  position: absolute; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.9);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.c1 { inset: 0 18% 28% 0; z-index: 2; }
.hero-card.c2 { width: 52%; right: 0; top: 12%; aspect-ratio: 3/4; z-index: 3; }
.hero-card.c3 { width: 46%; left: 8%; bottom: 0; aspect-ratio: 4/3; z-index: 3; }
.hero-float {
  position: absolute; z-index: 4; right: -6px; bottom: 26%;
  background: #fff; color: var(--ink); border-radius: var(--r-md);
  padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.hero-float .n { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--blue-700); line-height: 1; }
.hero-float .l { font-size: .76rem; color: var(--slate); line-height: 1.25; }

/* Wave-Divider (Sektion-Trenner) */
.wave-divider { display: block; width: 100%; height: auto; color: #fff; }
.wave-divider.flip { transform: rotate(180deg); }

/* ---------- Service-Karten ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.service-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.service-card:hover .service-media img { transform: scale(1.07); }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,42,69,.45)); }
.service-icon {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.service-icon svg { width: 28px; height: 28px; color: var(--blue-600); }
.service-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { font-size: .96rem; }
.service-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.service-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.service-list svg { width: 17px; height: 17px; color: var(--blue-500); flex: none; margin-top: 3px; }
.service-more {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--blue-700);
  align-self: flex-start;
}
.service-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service-card:hover .service-more svg { transform: translateX(4px); }

/* ---------- Feature / Warum-Punkte ---------- */
.feature {
  display: flex; gap: 16px; padding: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-ic {
  width: 50px; height: 50px; flex: none; border-radius: 14px;
  background: var(--blue-50); display: grid; place-items: center; color: var(--blue-600);
}
.feature-ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { font-size: .94rem; }

/* ---------- Stats-Band ---------- */
.stats {
  background: var(--grad); color: #fff; border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 54px) clamp(24px, 4vw, 48px);
  position: relative; overflow: hidden; box-shadow: var(--shadow-blue);
}
.stats .hero-waves { opacity: .35; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.stat .num small { font-size: .55em; font-weight: 700; margin-left: 2px; }
.stat .lbl { margin-top: 10px; font-size: .9rem; color: #cfe6f5; }

/* ---------- Split / Über-uns ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.media-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; left: -18px; bottom: -18px;
  background: #fff; border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; max-width: 78%;
}
.media-badge .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-bright); display: grid; place-items: center; color: #fff; flex: none; }
.media-badge .ic svg { width: 24px; height: 24px; }
.media-badge .n { font-family: var(--font-display); font-weight: 800; color: var(--blue-700); font-size: 1.2rem; line-height: 1; }
.media-badge .l { font-size: .82rem; color: var(--slate); }

.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .ck { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.check-list .ck svg { width: 16px; height: 16px; }
.check-list b { display: block; }
.check-list span { font-size: .94rem; color: var(--ink-soft); }

/* ---------- Region ---------- */
.region-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: center;
}
.place-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.place-tags li {
  padding: 8px 16px; border-radius: var(--r-pill); background: var(--blue-50);
  color: var(--blue-700); font-weight: 600; font-size: .9rem; font-family: var(--font-display);
  border: 1px solid var(--blue-100);
}
.radius-vis {
  position: relative; aspect-ratio: 1/1; max-width: 320px; margin-inline: auto; width: 100%;
  display: grid; place-items: center;
}
.radius-vis .ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--blue-200, rgba(17,144,207,.28)); }
.radius-vis .r1 { inset: 0; border-color: rgba(17,144,207,.14); }
.radius-vis .r2 { inset: 16%; border-color: rgba(17,144,207,.2); }
.radius-vis .r3 { inset: 33%; border-color: rgba(17,144,207,.3); }
.radius-vis .core {
  width: 92px; height: 92px; border-radius: 50%; background: var(--grad-bright);
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-blue); text-align: center;
  font-family: var(--font-display); position: relative; z-index: 2;
}
.radius-vis .core b { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.radius-vis .core small { font-size: .68rem; opacity: .9; }
.radius-vis .pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(17,144,207,.18); }
.radius-vis .p1 { top: 12%; left: 30%; } .radius-vis .p2 { top: 22%; right: 16%; }
.radius-vis .p3 { bottom: 16%; left: 18%; } .radius-vis .p4 { bottom: 24%; right: 24%; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--grad); color: #fff; border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden;
  text-align: center; box-shadow: var(--shadow-blue);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d3e9f7; max-width: 52ch; margin: 16px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row .k { font-family: var(--font-display); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }
.info-row .v { font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.info-row a.v:hover { color: var(--blue-700); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.hours-table .closed td:last-child { color: var(--slate); font-weight: 500; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Galerie-Strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip figure { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-sm); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.strip figure:hover img { transform: scale(1.08); }

/* ---------- Prose (Recht) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 40px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1rem; }
.prose p { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #cfe0ee; position: relative; }
.footer-top { padding-block: clamp(48px, 7vw, 84px) 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text b { color: var(--blue-300); }
.footer-brand p { color: #9fbdd4; font-size: .94rem; margin-top: 16px; max-width: 32ch; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; font-family: var(--font-display); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #b9d2e6; font-size: .95rem; transition: color .2s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 13px; font-size: .95rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-300); flex: none; margin-top: 2px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #8fb0c8;
}
.footer-bottom a { color: #b9d2e6; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero {
  background: var(--grad); color: #fff; position: relative; overflow: hidden;
  padding-block: clamp(56px, 8vw, 96px) clamp(64px, 9vw, 104px); isolation: isolate;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(55% 70% at 82% 10%, rgba(127,208,240,.32), transparent 60%); }
.page-hero .hero-waves { opacity: .42; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #d3e9f7; margin-top: 18px; max-width: 56ch; font-size: 1.1rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: #acd3ea; margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .6; }

/* ---------- Leistungs-Detailblöcke ---------- */
.svc-block { scroll-margin-top: 90px; }
.svc-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--blue-50); color: var(--blue-700); font-family: var(--font-display); font-weight: 600;
  font-size: .82rem; border: 1px solid var(--blue-100); margin-bottom: 18px;
}
.svc-tag svg { width: 16px; height: 16px; }
.feature-min { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 22px; }
.feature-min li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink-soft); }
.feature-min svg { width: 18px; height: 18px; color: var(--blue-500); flex: none; margin-top: 3px; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Hero-Entrance (Load) */
.hero [data-anim] { opacity: 0; transform: translateY(22px); animation: heroIn .9s var(--ease-out) forwards; }
.hero [data-anim="1"] { animation-delay: .05s; }
.hero [data-anim="2"] { animation-delay: .15s; }
.hero [data-anim="3"] { animation-delay: .25s; }
.hero [data-anim="4"] { animation-delay: .35s; }
.hero [data-anim="5"] { animation-delay: .5s; }
.hero-visual { opacity: 0; animation: visualIn 1.1s var(--ease-out) .3s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes visualIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

/* Wellen-Drift — langsam, sanft, gleichmäßig (wie ruhig fließendes Wasser) */
.wave-drift { animation: waveflow 32s ease-in-out infinite alternate; transform-origin: center; will-change: transform; }
.wave-drift.slow { animation-duration: 46s; }
@keyframes waveflow {
  from { transform: translate3d(-45px, 14px, 0); }
  to   { transform: translate3d(45px, -14px, 0); }
}

.float-soft { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .nav .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .hero-grid { display: block; }
  .hero-visual { max-width: 520px; margin: 36px auto 0; }
  .split, .contact-grid, .region-card { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .media-badge { position: static; max-width: none; margin-top: 16px; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .strip { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2,1fr); }
  .feature-min { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  .hero-trust { gap: 14px; }
  .hero h1 { font-size: clamp(1.5rem, 6.3vw, 2.3rem); line-height: 1.14; hyphens: auto; }
  /* Hero-Visual auf Mobile: ein sauberes Bild statt gedrängter Collage */
  .hero-visual { max-width: 460px; }
  .hero-stack { aspect-ratio: auto; }
  .hero-card.c1 { position: relative; inset: auto; aspect-ratio: 16/11; border-width: 3px; }
  .hero-card.c2, .hero-card.c3 { display: none; }
  .hero-float { right: 12px; bottom: 12px; }
}

/* ---------- Region / Landkreise ---------- */
.region-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kreis {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r-md);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.kreis:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.kreis .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; background: #fff; color: var(--blue-600); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.kreis .ic svg { width: 20px; height: 20px; }
.kreis b { display: block; font-family: var(--font-display); font-size: .96rem; color: var(--ink); line-height: 1.2; }
.kreis span { font-size: .82rem; color: var(--slate); }
.cred-note {
  margin-top: 24px; display: flex; gap: 13px; align-items: flex-start;
  padding: 18px 22px; border-radius: var(--r-md);
  background: linear-gradient(120deg, rgba(20,151,214,.09), rgba(14,92,143,.05));
  border: 1px solid var(--blue-100);
}
.cred-note svg { width: 24px; height: 24px; color: var(--blue-600); flex: none; margin-top: 1px; }
.cred-note p { font-size: .96rem; margin: 0; }

/* ---------- Sticky Mobil-Anruf-Button ---------- */
.mobile-call {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.93); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(8,42,69,.35);
}
.mobile-call a {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 14px; border-radius: var(--r-pill); background: var(--grad-bright); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; box-shadow: var(--shadow-blue);
}
.mobile-call svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .mobile-call { display: block; }
  body { padding-bottom: 74px; }
}

/* ---------- Stellenangebote ---------- */
.job-badges { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 4px; }
.job-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--blue-50); color: var(--blue-700); font-family: var(--font-display); font-weight: 600;
  font-size: .85rem; border: 1px solid var(--blue-100);
}
.job-badge svg { width: 15px; height: 15px; color: var(--blue-500); }
.apply-box {
  background: var(--grad); color: #fff; border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 46px); position: relative; overflow: hidden; box-shadow: var(--shadow-blue);
}
.apply-box h2 { color: #fff; }
.apply-box p { color: #d3e9f7; }

@media (max-width: 600px) {
  .region-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero [data-anim], .hero-visual { opacity: 1; transform: none; }
}
