/* Schriften lokal gehostet (keine Verbindung zu Google) – Inter, SIL Open Font License */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/interdisplay-600.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/interdisplay-700.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/interdisplay-800.woff") format("woff"); }
/* ==========================================================================
   DHANSA Personal & Dienstleistungen e.K. – Stylesheet
   Ein gemeinsames Stylesheet für alle Seiten (mobile first)
   ========================================================================== */

:root {
  --blue: #0b4fd6;
  --blue-600: #0a44bb;
  --blue-700: #083a9e;
  --navy: #0a1a4f;
  --ink: #06102a;
  --ink-2: #0d1b3d;
  --sky: #63cbfe;
  --sky-soft: #e8f3ff;
  --text: #0b1830;
  --muted: #57637a;
  --line: #dfe5ee;
  --line-soft: #c7cfdc;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --wa: #1fae5b;
  --gold: #f5b82e;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(6, 16, 42, .04), 0 6px 20px -8px rgba(6, 16, 42, .12);
  --shadow: 0 2px 6px rgba(6, 16, 42, .05), 0 18px 44px -18px rgba(6, 16, 42, .24);
  --shadow-lg: 0 30px 70px -30px rgba(8, 40, 120, .45);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Inter Display", var(--font-head);
  --header-h: 72px;
  --container: 1240px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --header-h: 84px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; margin: 0; color: inherit; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--text); padding: 10px 16px; border-radius: 10px; font-weight: 600; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--sky); }
.h1 { font-size: clamp(2.2rem, 6.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; }
.h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
.h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); line-height: 1.7; }
.section--dark .lead, .on-dark .lead { color: rgba(255,255,255,.78); }
.text-accent { color: var(--blue); }
.section--dark .text-accent, .on-dark .text-accent { color: var(--sky); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > * + * { margin-top: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--split { max-width: none; display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.prose > * + * { margin-top: 1em; }
.prose p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px;
  border-radius: 12px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { box-shadow: 0 10px 24px -10px rgba(11, 79, 214, .7); }
.btn--primary:hover { --btn-bg: var(--blue-600); box-shadow: 0 14px 30px -10px rgba(11, 79, 214, .75); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--text); }
.btn--light:hover { --btn-bg: var(--sky-soft); }
.btn--outline, .btn--soft { --btn-bg: var(--sky-soft); --btn-fg: var(--blue-700); }
.btn--outline:hover, .btn--soft:hover { --btn-bg: #d6e8fd; --btn-fg: var(--blue-700); }
.btn--ghost-light { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.16); --btn-bd: rgba(255,255,255,.6); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #fff; }
.btn--wa:hover { --btn-bg: #19964e; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .92rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row--stack > .btn { flex: 1 1 100%; } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--text);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: background-color .3s, border-color .3s, box-shadow .3s, color .3s;
}
.js .has-hero .site-header:not(.is-scrolled) { background: transparent;  color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(6,16,42,.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 44px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.brand-name { font-family: var(--font-brand); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-sub { font-size: .7rem; font-weight: 500; opacity: .72; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1024px) { .brand img { width: 50px; } .brand-name { font-size: 1.3rem; } .brand-sub { font-size: .74rem; } }

.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border-radius: 12px; 
  background: transparent; cursor: pointer; color: inherit;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (min-width: 1180px) {
  .main-nav { display: flex; align-items: center; gap: 2px; }
  .nav-toggle { display: none; }
}
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px; border: 0; background: none; cursor: pointer;
  font-size: .95rem; font-weight: 500; text-decoration: none; color: inherit; opacity: .9;
  transition: background-color .2s, opacity .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { opacity: 1; background: rgba(127,140,160,.14); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-item { position: relative; }
.nav-item:hover .nav-link .icon, .nav-item.is-open .nav-link .icon { transform: rotate(180deg); }
.mega {
  position: absolute; left: 50%; top: 100%; width: min(640px, 90vw);
  padding-top: 12px; transform: translate(-50%, 8px);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega, .nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-inner { background: #fff; color: var(--text);  border-radius: 20px; box-shadow: var(--shadow-lg); padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-link { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; text-decoration: none; transition: background-color .2s; }
.mega-link:hover { background: var(--bg-soft); }
.mega-link .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue); flex: none; }
.mega-link .ico .icon { width: 20px; height: 20px; }
.mega-link strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; }
.mega-link small { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }

/* Mobile-Menü */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; color: var(--text);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.nav-open, .nav-open body { overflow: hidden; }
.nav-open .site-header { background: #fff !important; color: var(--text) !important; border-color: var(--line) !important; }
@media (min-width: 1180px) { .mobile-menu { display: none; } }
.mm-list { list-style: none; display: grid; gap: 2px; }
.mm-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 8px; font-size: 1.1rem; font-weight: 600; text-decoration: none; width: 100%; border-radius: 12px; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; text-align: left; }
.mm-link .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.mm-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mm-sub { display: grid; gap: 6px; padding: 10px 0 14px; }
.mm-sub[hidden] { display: none; }
.mm-sub a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 12px; background: var(--bg-soft); text-decoration: none; font-weight: 500; }
.mm-sub a .ico { width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--blue); display: grid; place-items: center; flex: none; }
.mm-sub a .ico .icon { width: 18px; height: 18px; }
.mm-cta { display: grid; gap: 10px; margin-top: 24px; }
.mm-contact { margin-top: 24px; padding: 18px; border-radius: 16px; background: var(--bg-soft); font-size: .95rem; color: var(--muted); }
.mm-contact a { color: var(--text); font-weight: 600; text-decoration: none; }

/* ---------- Hero (Start) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  background: var(--ink) center/cover no-repeat; color: #fff;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px;
}
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,16,42,.92) 0%, rgba(6,16,42,.72) 45%, rgba(6,16,42,.35) 100%),
    linear-gradient(0deg, rgba(6,16,42,.85) 0%, rgba(6,16,42,0) 40%);
}
@media (max-width: 767px) { .hero::after { background: linear-gradient(180deg, rgba(6,16,42,.7) 0%, rgba(6,16,42,.82) 55%, rgba(6,16,42,.95) 100%); } }
.hero-content { max-width: 760px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;  background: rgba(255,255,255,.08); font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.hero h1 { margin-top: 22px; }
.hero h1 .text-accent { color: var(--sky); }
.hero .lead { margin-top: 22px; color: rgba(255,255,255,.82); max-width: 640px; }
.hero .btn-row { margin-top: 32px; }
.hero-trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .92rem; color: rgba(255,255,255,.82); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 18px; height: 18px; color: var(--sky); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.scroll-hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); color: rgba(255,255,255,.6); display: none; }
@media (min-width: 768px) and (min-height: 760px) { .scroll-hint { display: block; } }
.scroll-hint .icon { width: 26px; height: 26px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; background: #fff; border-radius: var(--radius-lg); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: linear-gradient(180deg, #f5f9ff, #eef4fd); border-radius: 16px; padding: 22px 12px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1; color: var(--blue); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 8px; font-size: .9rem; font-weight: 500; color: var(--muted); line-height: 1.3; }
.stats-band { position: relative; z-index: 2; margin-top: -48px; }
.stats-band .stats { box-shadow: var(--shadow); }

/* ---------- Logo-Leiste ---------- */
.logos { padding-block: 48px 8px; }
.logos-title { text-align: center; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.marquee { margin-top: 24px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 20px; align-items: center; padding: 14px 0 24px; animation: marquee 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile { flex: none; display: grid; place-items: center; width: 180px; height: 96px; padding: 18px 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.marquee img { display: block; width: auto; height: auto; max-width: 136px; max-height: 58px; object-fit: contain; }
@media (max-width: 599px) { .marquee img { max-width: 108px; max-height: 48px; } }
.logo-tile { overflow: hidden; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 16px; }
  .marquee-track .logo-tile[aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* ---------- Leistungs-Cards ---------- */
.service-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff;  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg);  }
.service-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,42,0) 55%, rgba(6,16,42,.45)); }
.service-card-num { position: absolute; right: 16px; top: 14px; z-index: 1; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: #fff; background: rgba(6,16,42,.45); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.service-card-icon { position: relative; margin: -26px 0 0 20px; z-index: 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 10px 20px -8px rgba(11,79,214,.7); }
.service-card-icon .icon { width: 24px; height: 24px; }
.service-card-body { padding: 16px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { font-size: 1.3rem; }
.service-card-body h3 a { text-decoration: none; }
.service-card-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.service-card-body p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.service-card-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.service-card-tags li { font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted);  }
.service-card-foot { margin-top: auto; padding-top: 20px; }
.service-card-foot .btn { width: 100%; justify-content: space-between; }
.service-card:hover .service-card-foot .btn { --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue); }

/* ---------- Split / Über uns ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--reverse > :first-child { order: 2; } }
.media-stack { position: relative; padding-bottom: 36px; padding-right: 36px; }
.media-stack .m1 { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.media-stack .m1 img, .media-stack .m2 img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .m2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.media-badge { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.media-badge .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--sky-soft); color: var(--blue); display: grid; place-items: center; }
.media-badge strong { display: block; font-family: var(--font-head); line-height: 1.1; }
.media-badge small { color: var(--muted); font-size: .8rem; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sky-soft); color: var(--blue); margin-top: 2px; stroke-width: 3; }
.section--dark .check-list .icon { background: rgba(99,203,254,.15); color: var(--sky); }
.check-list--2 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .check-list--2 { grid-template-columns: 1fr 1fr; } }
.quote-line { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--blue); background: var(--bg-soft); border-radius: 0 12px 12px 0; font-family: var(--font-head); font-weight: 600; }

/* ---------- Feature-/Werte-Grid ---------- */
.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .feature-grid--3 { grid-template-columns: repeat(3, 1fr); } .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.feature { position: relative; padding: 26px 24px; border-radius: var(--radius); background: #fff;  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; height: 100%; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow);  }
.feature .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue); margin-bottom: 18px; }
.feature .ico .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; letter-spacing: -.01em; }
.feature p { margin-top: 8px; color: var(--muted); font-size: .96rem; line-height: 1.6; }
.section--dark .feature { background: rgba(255,255,255,.04);  }
.section--dark .feature:hover { background: rgba(255,255,255,.07);  box-shadow: none; }
.section--dark .feature .ico { background: rgba(99,203,254,.12); color: var(--sky); }
.section--dark .feature p { color: rgba(255,255,255,.7); }

/* Leistungs-Detailkarten (Unterseiten) */
.svc-group + .svc-group { margin-top: clamp(56px, 8vw, 88px); }
.svc-group-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
@media (min-width: 900px) { .svc-group-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; } .svc-group-head .lead { max-width: 520px; } }
.svc-group-title { display: flex; align-items: center; gap: 16px; }
.svc-group-title .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 10px 20px -8px rgba(11,79,214,.6); }
.svc-group-title .ico .icon { width: 26px; height: 26px; }
.svc-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff;  height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow);  }
.svc-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.svc-card .ico .icon { width: 22px; height: 22px; }
.svc-card h3 { font-size: 1.06rem; letter-spacing: -.005em; line-height: 1.3; }
.svc-card p { margin-top: 6px; font-size: .94rem; color: var(--muted); line-height: 1.55; }
.section--soft .svc-card, .section--soft .feature { background: #fff; }

.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--sky-soft);  color: var(--text); font-size: .96rem; }
.note .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.note a { font-weight: 600; color: var(--blue); }

/* Zielgruppen */
.audience-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .audience-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.audience { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); overflow: hidden; background: #fff;  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.audience--dark { background: linear-gradient(140deg, var(--navy), var(--blue-700)); color: #fff;  }
.audience .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue); margin-bottom: 22px; }
.audience--dark .ico { background: rgba(255,255,255,.12); color: #fff; }
.audience h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.audience p { margin-top: 12px; color: var(--muted); }
.audience--dark p { color: rgba(255,255,255,.8); }
.audience .check-list { margin-top: 22px; }
.audience--dark .check-list .icon { background: rgba(255,255,255,.14); color: #fff; }
.audience .btn-row { margin-top: auto; padding-top: 28px; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink);
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px)); padding-bottom: clamp(56px, 8vw, 104px);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,42,.94) 0%, rgba(6,16,42,.78) 50%, rgba(6,16,42,.45) 100%); }
@media (max-width: 767px) { .page-hero::after { background: linear-gradient(180deg, rgba(6,16,42,.78), rgba(6,16,42,.92)); } }
.page-hero .container > div { max-width: 780px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.page-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.8rem); margin-top: 16px; }
.page-hero .lead { margin-top: 20px; color: rgba(255,255,255,.82); }
.page-hero .btn-row { margin-top: 30px; }
.chip-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip-row li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08);  font-size: .88rem; font-weight: 500; }
.chip-row .icon { width: 16px; height: 16px; color: var(--sky); }
.page-hero--plain { padding-bottom: clamp(40px, 6vw, 64px); background: linear-gradient(140deg, var(--ink), var(--navy)); }
.page-hero--plain::after { display: none; }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; color: #fff; font-size: .85rem; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.gallery .g-wide { grid-column: span 2; aspect-ratio: 16/9; }
.gallery .g-tall { aspect-ratio: 3/4; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
  .gallery .g-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery .g-tall { grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff;  }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--blue); margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; }
.step p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.section--dark .step { background: rgba(255,255,255,.04);  }
.section--dark .step p { color: rgba(255,255,255,.7); }

/* ---------- Einsatzgebiet ---------- */
.area { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .area { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.area-map { position: relative; border-radius: var(--radius-lg); background: radial-gradient(circle at 40% 25%, rgba(99,203,254,.18), transparent 55%), rgba(255,255,255,.03);  padding: clamp(16px, 3vw, 32px); }
.area-map img { width: 100%; max-width: 520px; margin-inline: auto; }
.loc-list { list-style: none; display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 520px) { .loc-list { grid-template-columns: 1fr 1fr; } }
.loc-list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05);  }
.loc-list .icon { width: 20px; height: 20px; color: var(--sky); }
.loc-list strong { display: block; font-weight: 600; line-height: 1.3; }
.loc-list small { color: rgba(255,255,255,.65); font-size: .82rem; }
.loc-list .hq { background: rgba(11,79,214,.35);  }

/* ---------- Bewertungen ---------- */
.rating-box { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 14px; background: #fff;  box-shadow: var(--shadow-sm); }
.rating-box strong { font-family: var(--font-head); font-size: 1.6rem; line-height: 1; }
.rating-box small { display: block; color: var(--muted); font-size: .82rem; }
.review-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .review-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.review { margin: 0; padding: 26px 24px; border-radius: var(--radius); background: #fff;  display: flex; flex-direction: column; gap: 16px; height: 100%; }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.65; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(11, 24, 48, .06); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--blue); background: var(--sky-soft); flex: none; font-family: var(--font-head); }
.review figcaption strong { display: block; font-size: .95rem; line-height: 1.3; }
.review figcaption small { color: var(--muted); font-size: .82rem; }
.review-extra[hidden] { display: none; }

/* ---------- Karriere-Teaser / Jobs ---------- */
.career-band { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(140deg, var(--navy) 0%, var(--blue-700) 100%); color: #fff; display: grid; }
@media (min-width: 960px) { .career-band { grid-template-columns: 1.1fr .9fr; } }
.career-band-body { padding: clamp(28px, 5vw, 56px); }
.career-band-media { min-height: 260px; position: relative; }
.career-band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.job-list { display: grid; gap: 10px; margin-top: 26px; list-style: none; }
.job-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.08);  }
.job-list strong { font-weight: 600; }
.job-list span { color: var(--sky); font-weight: 600; font-size: .92rem; }
.job-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff;  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 16px; }
.job-meta li { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft);  }
.job-meta li.pay { background: var(--sky-soft); color: var(--blue);  }
.job-meta .icon { width: 14px; height: 14px; }
.job-card h3 { font-size: 1.35rem; }
.job-card > p { margin-top: 10px; color: var(--muted); }
.job-card .check-list { margin-top: 20px; font-size: .95rem; }
.job-card .btn-row { margin-top: auto; padding-top: 26px; }
.job-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .job-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {  border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] {  box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; min-height: 60px; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--blue); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq-a { padding: 0 20px 20px; color: var(--muted); }
.faq-layout { display: grid; gap: 36px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 60px); background: linear-gradient(120deg, var(--blue-700) 0%, var(--blue) 60%, #1b74e8 100%); color: #fff; display: grid; gap: 24px; align-items: center; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr auto; } }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,.85); }
.cta-band .btn-row { position: relative; }

/* ---------- Kontakt ---------- */
.contact { background: linear-gradient(160deg, var(--ink) 0%, var(--navy) 100%); color: #fff; }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.contact-tiles { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 560px) and (max-width: 1023px) { .contact-tiles { grid-template-columns: 1fr 1fr; } }
.contact-tile { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.06);  text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s var(--ease); min-height: 72px; }
a.contact-tile:hover { background: rgba(255,255,255,.1);  transform: translateY(-2px); }
.contact-tile .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(99,203,254,.14); color: var(--sky); flex: none; }
.contact-tile .ico .icon { width: 22px; height: 22px; }
.contact-tile.wa .ico { background: rgba(31,174,91,.2); color: #4be08a; }
.contact-tile small { display: block; font-size: .8rem; color: rgba(255,255,255,.62); }
.contact-tile strong { display: block; font-weight: 600; font-size: 1.02rem; word-break: break-word; }
.map-link { margin-top: 12px; }

.form-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.5rem; }
.form-card > p { margin-top: 6px; color: var(--muted); font-size: .96rem; }
.form-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid transparent; border-radius: 12px; background: #f1f5fb; color: var(--text);
  font-size: 16px; /* verhindert Zoom auf iOS */
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2357637a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 42px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a94a6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,79,214,.12); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--blue); }
.consent a { color: var(--blue); font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 14px; font-weight: 600; font-size: .95rem; text-align: center; min-height: 1.4em; }
.form-status.ok { color: #13803f; }
.form-status.err { color: #b42318; }
.form-foot { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .82rem; color: var(--muted); }
.form-foot span { display: inline-flex; align-items: center; gap: 6px; }
.form-foot .icon { width: 14px; height: 14px; color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(56px, 7vw, 80px); font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; } }
.site-footer .brand { color: #fff; }
.footer-about { margin-top: 18px; max-width: 360px; }
.footer-slogan { margin-top: 14px; color: var(--sky); font-family: var(--font-head); font-weight: 600; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-family: var(--font-body); font-weight: 600; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links .icon { width: 16px; height: 16px; color: var(--sky); }
.footer-bottom { margin-top: 48px; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; font-size: .86rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-bottom a, .footer-bottom button { color: inherit; text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: inherit; }
.footer-bottom a:hover, .footer-bottom button:hover { color: #fff; }

/* ---------- Cookie-Hinweis ---------- */
.cookie { position: fixed; z-index: 150; left: 12px; right: 12px; bottom: 12px; max-width: 520px; margin-left: auto; padding: 20px; border-radius: 18px; background: #fff; color: var(--text);  box-shadow: var(--shadow-lg); margin-bottom: env(safe-area-inset-bottom); }
.cookie[hidden] { display: none; }
@media (min-width: 768px) { .cookie { left: auto; right: 24px; bottom: 24px; } }
.cookie h2 { font-size: 1rem; display: flex; align-items: center; gap: 8px; font-family: var(--font-body); }
.cookie h2 .icon { color: var(--blue); width: 18px; height: 18px; }
.cookie p { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.cookie p a { color: var(--blue); font-weight: 600; }
.cookie .btn-row { margin-top: 16px; }
.cookie .btn { flex: 1 1 auto; min-height: 46px; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 40px; }
.legal h3 { font-size: 1.08rem; margin-top: 24px; }
.legal p, .legal li { color: #3d4960; }
.legal p { margin-top: 10px; }
.legal ul { margin-top: 10px; padding-left: 20px; }
.legal a { color: var(--blue); word-break: break-word; }
.legal-card { margin-top: 24px; padding: 24px; border-radius: var(--radius); background: var(--bg-soft);  }
.legal-dl { display: grid; gap: 4px 24px; margin: 12px 0 0; }
@media (min-width: 600px) { .legal-dl { grid-template-columns: 220px 1fr; } }
.legal-dl dt { font-weight: 600; color: var(--text); }
.legal-dl dd { margin: 0 0 10px; color: #3d4960; }

/* ---------- Animationen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Hilfsklassen */
.mt-sm { margin-top: 16px; } .mt-md { margin-top: 28px; } .mt-lg { margin-top: 48px; }
.center { text-align: center; }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 28px; } }
.muted { color: var(--muted); }

/* Logo-Varianten im Header */
.site-header .logo-white { display: none; }
.js .has-hero .site-header:not(.is-scrolled) .logo-white { display: block; }
.js .has-hero .site-header:not(.is-scrolled) .logo-color { display: none; }
.nav-open .site-header .logo-white { display: none !important; }
.nav-open .site-header .logo-color { display: block !important; }

/* Kompaktere Darstellung auf kleinen Bildschirmen */
@media (max-width: 599px) {
  .hero-badge { font-size: .76rem; padding: 7px 12px; }
  .feature, .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; padding: 20px 18px; }
  .feature .ico, .step .step-num { grid-row: span 2; margin: 0; }
  .feature p, .step p { margin-top: 4px; }
  .svc-card { padding: 18px 16px; }
  .review.m-extra { display: none; }
  .reviews-expanded .review.m-extra { display: flex; }
  .loc-list li { padding: 12px 14px; }
}
.area-map img { border-radius: 12px; }

/* Lange deutsche Komposita sauber umbrechen, Grid-Überläufe verhindern */
h1, h2, h3, .lead, .brand-name { overflow-wrap: break-word; }
@media (max-width: 767px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; } }
.faq-layout > *, .split > *, .contact-grid > *, .area > *, .section-head--split > *, .audience-grid > *, .footer-grid > *, .feature-grid > *, .service-grid > * { min-width: 0; }
.svc-group-title > div { min-width: 0; }
@media (max-width: 599px) { .btn { white-space: normal; } .svc-group-title .ico { width: 48px; height: 48px; } }
.cta-band > * { min-width: 0; }
.svc-card > div { min-width: 0; }
.breadcrumb { padding: 0; margin-top: 0; }
.page-hero .eyebrow { color: var(--sky); }
.faq-layout .h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
@media (max-width: 639px) {
  .service-grid--compact .service-card-media, .service-grid--compact .service-card-tags { display: none; }
  .service-grid--compact .service-card-icon { margin: 20px 0 0 22px; }
  .service-grid--compact .service-card-body p { font-size: .92rem; }
  .service-grid--compact { gap: 12px; }
}
.nav-open .cookie { display: none; }
.nav-link { white-space: nowrap; }
.page-hero .text-accent { color: var(--sky); }
@media (min-width: 768px) and (max-width: 1179px) { .hero { min-height: min(100svh, 860px); } }

/* ==========================================================================
   Karten ohne graue Rahmen – Tiefe über Schatten und Flächen
   ========================================================================== */
.feature, .svc-card, .step, .review, .job-card, .audience, .rating-box, .faq details { box-shadow: var(--shadow-sm); }
.section--soft .feature, .section--soft .svc-card, .section--soft .review, .section--soft .job-card { box-shadow: var(--shadow-sm); }
.faq details[open] { box-shadow: var(--shadow); }
.service-card-tags li, .job-meta li { background: var(--sky-soft); color: var(--blue-700); }
.legal-card { background: var(--bg-soft); }
.note { background: linear-gradient(135deg, #eaf3ff, #f3f8ff); }
.mega-inner, .cookie { box-shadow: 0 30px 70px -24px rgba(6, 16, 42, .38), 0 2px 8px rgba(6, 16, 42, .06); }
.nav-toggle { background: rgba(127, 140, 160, .14); border: 0; color: inherit; }
.js .has-hero .site-header:not(.is-scrolled) .nav-toggle { background: rgba(255, 255, 255, .14); }
/* dunkle Bereiche: Flächen statt Linien */
.section--dark .feature, .section--dark .step { background: rgba(255, 255, 255, .055); box-shadow: none; }
.section--dark .feature:hover { background: rgba(255, 255, 255, .09); }
.contact-tile, .loc-list li, .job-list li { background: rgba(255, 255, 255, .07); }
a.contact-tile:hover { background: rgba(255, 255, 255, .12); }
.chip-row li, .hero-badge { background: rgba(255, 255, 255, .12); }
.btn--ghost-light { --btn-bd: transparent; --btn-bg: rgba(255, 255, 255, .14); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .22); }
.site-header { border-bottom: 0; }
.mm-link { border: 0; }
.mm-link:hover { background: var(--bg-soft); }
.mm-list { gap: 4px; }

/* Desktop-Navigation: dezente Unterstreichung */
@media (min-width: 1180px) {
  .main-nav { gap: 4px; }
  .nav-link { position: relative; padding: 10px 14px; }
  .nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); opacity: .8; }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .nav-link:hover, .nav-link[aria-current="page"] { background: transparent; }
  .nav-item .nav-link::after { right: 34px; }
}

/* Mobile-Menü: Einträge gleiten sanft herein */
.mm-list > li { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.nav-open .mm-list > li { opacity: 1; transform: none; }
.nav-open .mm-list > li:nth-child(2) { transition-delay: .03s; } .nav-open .mm-list > li:nth-child(3) { transition-delay: .06s; }
.nav-open .mm-list > li:nth-child(4) { transition-delay: .09s; } .nav-open .mm-list > li:nth-child(5) { transition-delay: .12s; }
.nav-open .mm-list > li:nth-child(6) { transition-delay: .15s; } .nav-open .mm-list > li:nth-child(7) { transition-delay: .18s; }

/* ==========================================================================
   Logo-Leiste
   ========================================================================== */
.logos { padding-block: 56px 16px; }
@media (max-width: 599px) { .logo-tile { width: 140px; height: 78px; padding: 14px 16px; border-radius: 14px; } }

/* ==========================================================================
   Schnellkontakt: runde schwebende Buttons unten rechts (alle Geräte)
   Reihenfolge von oben nach unten: Anrufen · E-Mail · WhatsApp
   ========================================================================== */
.header-phone { display: none; }
@media (min-width: 1180px) { .header-phone { display: inline-flex; } }
.brand-name { white-space: nowrap; }

.contact-dock {
  position: fixed; z-index: 95;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: opacity .3s, transform .3s var(--ease);
}
.dock-btn {
  --dock-bg: var(--blue); --dock-bg-hover: var(--blue-700); --dock-glow: rgba(11, 79, 214, .55);
  position: relative; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  color: #fff; background: var(--dock-bg); text-decoration: none;
  box-shadow: 0 12px 26px -10px var(--dock-glow), 0 2px 6px rgba(0, 0, 0, .14);
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s var(--ease);
}
.dock-btn:hover { background: var(--dock-bg-hover); transform: translateY(-3px); }
.dock-btn:active { transform: scale(.94); }
.dock-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--dock-bg); }
.dock-btn--mail { --dock-bg: var(--sky); --dock-bg-hover: #45b9f5; --dock-glow: rgba(70, 180, 240, .6); color: var(--ink); }
.dock-btn--mail:focus-visible { outline-color: var(--ink); }
.dock-btn--wa { --dock-bg: #25d366; --dock-bg-hover: #1ebe5b; --dock-glow: rgba(18, 140, 70, .6); width: 62px; height: 62px; }
.dock-icon { width: 24px; height: 24px; }
.dock-btn--wa .dock-icon { width: 32px; height: 32px; }
.dock-btn--wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: waPulse 2.6s ease-out 3s 3; pointer-events: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* Hinweis beim Überfahren mit der Maus (nur Geräte mit Maus) */
.dock-tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  padding: 8px 14px; border-radius: 10px; background: #0f2347; color: #fff;
  font-size: .9rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(6, 16, 42, .5);
  opacity: 0; transform: translate(8px, -50%); pointer-events: none;
  transition: opacity .2s, transform .2s var(--ease);
}
.dock-tip::after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: #0f2347; }
.dock-btn:hover .dock-tip, .dock-btn:focus-visible .dock-tip { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) { .dock-tip { display: none; } }

/* Tablet & Desktop: etwas größer und mehr Abstand zum Rand */
@media (min-width: 768px) {
  .contact-dock { right: max(24px, env(safe-area-inset-right)); bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px)); }
  .dock-btn { width: 56px; height: 56px; }
  .dock-btn--wa { width: 64px; height: 64px; }
}
/* Sehr kleine Handys */
@media (max-width: 359px) {
  .contact-dock { gap: 10px; right: 12px; }
  .dock-btn { width: 46px; height: 46px; }
  .dock-btn--wa { width: 56px; height: 56px; }
  .dock-icon { width: 21px; height: 21px; }
  .dock-btn--wa .dock-icon { width: 28px; height: 28px; }
}
/* Handy quer / flache Fenster: Reihe statt Säule, damit nicht der halbe Bildschirm belegt ist */
@media (max-height: 500px) and (orientation: landscape) {
  .contact-dock { flex-direction: row; gap: 10px; }
  .dock-btn { width: 46px; height: 46px; }
  .dock-btn--wa { width: 52px; height: 52px; }
  .dock-icon { width: 21px; height: 21px; }
  .dock-btn--wa .dock-icon { width: 27px; height: 27px; }
}
/* Footer-Ende auf dem Handy nicht verdecken */
@media (max-width: 767px) { .site-footer .footer-bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) { .dock-btn--wa::before { animation: none; } .contact-dock, .dock-btn, .dock-tip { transition: none; } }
/* Ausblenden, solange Menü, Cookie-Hinweis oder Intro offen sind */
.cookie-open .contact-dock, .nav-open .contact-dock, .intro-lock .contact-dock { opacity: 0; pointer-events: none; visibility: hidden; }
@media print { .contact-dock { display: none; } }
.btn--wa { --btn-bg: #25d366; }
.btn--wa:hover { --btn-bg: #1ebe5b; }

/* ==========================================================================
   Intro-Animation beim ersten Aufruf
   ========================================================================== */
.intro { display: none; }
.show-intro .intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(120% 90% at 50% 40%, #0b4fd6 0%, #0a2a8a 45%, #06102a 100%);
  color: #fff; text-align: center;
  animation: introAutoHide .6s ease 3.2s forwards; /* Fallback ohne JavaScript */
}
.intro-lock, .intro-lock body { overflow: hidden; }
.intro-inner { display: grid; justify-items: center; }
.intro-logo { width: clamp(84px, 22vw, 124px); height: auto; opacity: 0; transform: scale(.82); animation: introLogo .8s cubic-bezier(.2, .8, .2, 1) .1s forwards; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .35)); }
.intro-name { margin-top: 22px; font-family: var(--font-brand); font-weight: 800; font-size: clamp(1.9rem, 7vw, 2.8rem); letter-spacing: .06em; opacity: 0; transform: translateY(12px); animation: introUp .7s var(--ease) .45s forwards; }
.intro-sub { margin-top: 8px; font-size: clamp(.85rem, 3.4vw, 1.05rem); font-weight: 500; letter-spacing: .08em; color: rgba(255, 255, 255, .82); opacity: 0; transform: translateY(10px); animation: introUp .7s var(--ease) .7s forwards; }
.intro-line { display: block; margin-top: 26px; width: 140px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; position: relative; opacity: 0; animation: introFade .4s ease .8s forwards; }
.intro-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #63cbfe, #fff); transform: scaleX(0); transform-origin: left; animation: introBar .8s cubic-bezier(.6, 0, .2, 1) .9s forwards; }
.intro.is-done { animation: introOut .65s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes introLogo { to { opacity: 1; transform: none; } }
@keyframes introUp { to { opacity: 1; transform: none; } }
@keyframes introFade { to { opacity: 1; } }
@keyframes introBar { to { transform: scaleX(1); } }
@keyframes introOut { to { opacity: 0; transform: scale(1.03); visibility: hidden; } }
@keyframes introAutoHide { to { opacity: 0; visibility: hidden; } }
.logos .marquee { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }

/* ==========================================================================
   Dezente graue Ränder an Karten/Boxen – Inhalt optisch "eingekesselt"
   ========================================================================== */
.stat, .service-card, .feature, .svc-card, .review, .step, .audience,
.note, .logo-tile, .rating-box, .media-badge, .job-card, .form-card,
.loc-list li, .area-map, .mega-inner, .mm-sub a, .mm-contact,
.quote-line, .cookie, .stats {
  border: 1.5px solid var(--line-soft);
}
/* Textbereich der Leistungs-Karten zusätzlich eigens einrahmen */
.service-card-body {
  border-top: 1.5px solid var(--line-soft);
}
.section--dark .feature, .section--dark .note,
.contact-tile, .chip-row li, .hero-badge {
  border: 1.5px solid rgba(255, 255, 255, .3);
}
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line-soft);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
}

/* Inter Display ist von Haus aus enger geschnitten: Laufweite der Überschriften etwas öffnen */
h1, h2, h3, h4 { letter-spacing: -.01em; }
.h1 { letter-spacing: -.018em; }
.h2 { letter-spacing: -.012em; }
.stat strong { letter-spacing: -.015em; }
.brand-name { letter-spacing: 0; }
