/* infra-struktur – LP „deine“
   Corporate Design 2026 (Primär #004994, Akzent #26a69a, Verlauf, Hintergrund #f5f6fb, Kacheln #fff/#dfe8f7).
   Schrift: Lato (SIL OFL 1.1), lokal. Mobile first. */

@font-face { font-family: "Lato"; src: url("../assets/fonts/lato-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../assets/fonts/lato-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../assets/fonts/lato-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* Corporate Design */
  --primary: #004994;
  --primary-700: #003c7a;
  --primary-900: #002650;
  --accent: #26a69a;
  --accent-700: #1d8a80;
  --accent-50: #e6f5f3;
  --bg: #f5f6fb;
  --tile: #ffffff;
  --tile-2: #dfe8f7;
  --ink: #000000;
  --lavender: #8e9aca;
  --gradient: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-diag: linear-gradient(120deg, var(--primary) 0%, #0a6aa6 55%, var(--accent) 100%);

  /* Ableitungen */
  --text: #1a1f2b;
  --muted: #4b5568;
  --line: #e3e8f2;
  --white: #fff;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(0, 38, 80, .06), 0 4px 14px -6px rgba(0, 38, 80, .14);
  --shadow: 0 2px 6px rgba(0, 38, 80, .05), 0 14px 32px -14px rgba(0, 38, 80, .22);
  --shadow-l: 0 4px 12px rgba(0, 38, 80, .06), 0 28px 56px -24px rgba(0, 38, 80, .36);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 64px;
  --header-gap: 10px;
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--header-gap) * 2 + 1rem);
}

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: .01em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.875rem, 1.35rem + 2.1vw, 2.875rem); font-weight: 900; }
h3 { font-size: 1.1875rem; font-weight: 900; line-height: 1.3; }
.light { font-weight: 400; }

p { margin: 0; text-wrap: pretty; }
strong { font-weight: 700; color: var(--ink); }
a { color: var(--primary); }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.nb { white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1rem; border-radius: var(--radius-s);
  background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Bausteine ---------- */

.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h); padding: 0 1.4em;
  border: 1.5px solid transparent; border-radius: 8px;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: .95em; height: .95em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--cta { background: var(--accent); color: var(--white); box-shadow: 0 10px 22px -12px rgba(38, 166, 154, .9); }
.btn--cta:hover { background: var(--accent-700); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(38, 166, 154, .95); }
.btn--cta:active { transform: none; }
.btn--on-dark { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }

.btn--ghost { background: var(--white); border-color: var(--line); color: var(--primary); box-shadow: var(--shadow-s); }
.btn--ghost:hover { border-color: var(--primary); transform: translateY(-1px); }

.btn--glass { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .9); color: var(--white); }
.btn--glass:hover { background: rgba(255, 255, 255, .3); }

.btn--sm { --h: 44px; padding: 0 1.15em; font-size: .9375rem; }
.btn--lg { --h: 56px; padding: 0 1.6em; font-size: 1.0625rem; }
.btn--xl { --h: 60px; padding: 0 2em; font-size: 1.125rem; }

/* Subheadline laut CD: fett, Versalien, gesperrt, Primärfarbe */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  color: var(--primary);
  font-size: .8125rem; font-weight: 900; letter-spacing: .12em; line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow--light { color: #bfe7e2; }

/* Balken mit Farbverlauf (CD) */
.bar { display: block; width: 64px; height: 6px; border-radius: 99px; background: var(--gradient); }

.flag {
  display: inline-block; flex: none; width: 1.35em; height: .95em; border-radius: 3px;
  background: linear-gradient(#111 0 33.4%, #dd0000 33.4% 66.7%, #ffce00 66.7%);
}

.tag { display: inline-flex; align-items: center; gap: .45em; font-size: .875rem; font-weight: 900; }
.tag--ok { color: var(--accent-700); }

/* ---------- Header: schwebende Leiste mit Verlauf ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: var(--header-gap) var(--header-gap) 0;
}
.site-header__bar {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: calc(var(--container) + 2 * var(--gutter));
  height: var(--header-h);
  margin-inline: auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
  border-radius: 14px;
  background: var(--gradient);
  box-shadow: 0 10px 30px -18px rgba(0, 38, 80, .8);
  transition: box-shadow .25s;
}
.site-header.is-scrolled .site-header__bar { box-shadow: 0 16px 36px -14px rgba(0, 38, 80, .65); }

.brand { display: inline-flex; flex: none; }
.logo { display: block; width: auto; height: 26px; --logo-a: var(--primary); --logo-b: var(--lavender); }
.logo--white { --logo-a: #fff; --logo-b: rgba(255, 255, 255, .55); }

.site-nav { display: none; }

/* Hover wie im Footer von starface.infra-struktur.de: halbtransparente weiße Fläche, Text von Hellblau zu Weiß */
.site-nav a,
.site-footer__nav a {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center;
  padding: .6rem 1rem; border-radius: 7px;
  color: var(--tile-2); font-weight: 700; text-decoration: none;
  transition: color .4s;
}
.site-nav a::before,
.site-footer__nav a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; background: rgba(255, 255, 255, .24);
  opacity: 0; transition: opacity .4s;
}
.site-nav a:hover, .site-nav a:focus-visible,
.site-footer__nav a:hover, .site-footer__nav a:focus-visible { color: var(--white); }
.site-nav a:hover::before, .site-nav a:focus-visible::before,
.site-footer__nav a:hover::before, .site-footer__nav a:focus-visible::before { opacity: 1; }
.site-nav a { font-size: .9375rem; }
.site-header__cta { margin-left: auto; }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * (var(--header-h) + var(--header-gap)));
  padding: calc(var(--header-h) + var(--header-gap) + clamp(2rem, 6vw, 4.5rem)) 0 clamp(5rem, 10vw, 8rem);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 90% 25%, rgba(38, 166, 154, .16), transparent 70%),
    radial-gradient(45% 55% at 0% 0%, rgba(0, 73, 148, .10), transparent 70%),
    linear-gradient(180deg, #e9eef9 0%, var(--bg) 85%);
}
.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }

.hero__deco {
  position: absolute; right: -4%; bottom: -2%;
  width: min(900px, 110%); max-width: none; height: auto;
  opacity: .28;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}

.hero__title {
  margin-top: 1rem;
  font-size: clamp(2.375rem, 1.45rem + 3.4vw, 4.125rem);
  font-weight: 900; line-height: 1.06; letter-spacing: .005em;
}
.hero__title .light { display: block; margin-top: .25em; font-size: .62em; line-height: 1.2; color: var(--primary); }

.hero__lead { max-width: 35em; margin-top: 1.4rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.2rem); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__note { display: flex; align-items: center; gap: .55em; margin-top: 1rem; color: var(--muted); font-size: .9375rem; }
.hero__note .icon { color: var(--accent); }

.trust {
  display: flex; flex-wrap: wrap; gap: .9rem 1.75rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 73, 148, .14);
}
.trust__item { display: flex; align-items: center; gap: .6rem; font-size: .9375rem; line-height: 1.35; }
.trust__item strong { font-weight: 900; }
.trust__link { color: inherit; text-decoration: underline; text-decoration-color: rgba(0, 73, 148, .35); text-underline-offset: 4px; }
.trust__link:hover { color: var(--primary); text-decoration-color: currentColor; }
.trust__item > .icon { color: var(--primary); }

.stars { position: relative; display: inline-block; flex: none; width: 94px; height: 17px; }
.stars__row { position: absolute; inset: 0; display: flex; gap: 2px; overflow: hidden; white-space: nowrap; }
.stars__row .icon { width: 17px; height: 17px; }
.stars__row--base { color: #cfd6e4; }
.stars__row--fill { width: var(--fill, 100%); color: #f5b400; }

.hero__visual { position: relative; }
.hero-media { position: relative; width: min(100%, 560px); margin-inline: auto; }
.hero-media__blob {
  position: absolute; inset: 9% 3% 6% 9%;
  border-radius: 46% 54% 52% 48% / 44% 42% 58% 56%;
  background: var(--gradient-diag);
  opacity: .92;
  box-shadow: 0 40px 80px -40px rgba(0, 73, 148, .6);
}
.hero-media__puzzle { position: absolute; z-index: 0; filter: drop-shadow(0 10px 18px rgba(0, 38, 80, .25)); }
.hero-media__puzzle--a { width: 58px; height: 58px; top: 10%; left: 6%; transform: rotate(-14deg); fill: var(--accent); }
.hero-media__puzzle--b { width: 42px; height: 42px; bottom: 12%; right: 0; transform: rotate(18deg); fill: var(--white); }
.hero-media__phones { position: relative; width: 100%; }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .9rem .6rem .6rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-l);
  font-size: .78rem; line-height: 1.3; white-space: nowrap;
}
.float-card__icon {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 10px; background: var(--tile-2); color: var(--primary);
}
.float-card__icon .icon { width: 16px; height: 16px; }
.float-card__icon--mail { background: var(--accent-50); color: var(--accent-700); }
.float-card__icon--task { background: var(--primary); color: var(--white); }
.float-card__body { display: grid; }
.float-card__title { color: var(--ink); font-weight: 900; }
.float-card__sub { display: flex; align-items: center; gap: .35em; color: var(--muted); }
.float-card__sub .icon { width: .95em; height: .95em; color: var(--accent); }
.float-card--a { top: 7%; left: 0; }
.float-card--b { top: 47%; right: 0; }
.float-card--c { bottom: 7%; left: 4%; }

/* ---------- Auf einen Blick ---------- */

.glance { position: relative; z-index: 2; margin-top: clamp(-4rem, -6vw, -2.5rem); }
.glance__card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-l);
  background: var(--tile);
  box-shadow: var(--shadow-l);
}
.glance__head { display: grid; gap: .9rem; margin-bottom: 1.5rem; }
.glance__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.glance__list { display: grid; gap: 1.1rem 2rem; }
.glance__item { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.glance__item dt {
  display: flex; align-items: center; gap: .55em;
  color: var(--primary); font-size: .8125rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
}
.glance__item dt .icon { color: var(--accent); }
.glance__item dd { margin-top: .4rem; color: var(--text); font-size: 1rem; line-height: 1.6; }

/* ---------- Sektionen ---------- */

.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head::before { content: ""; display: block; width: 64px; height: 6px; margin-bottom: 1.25rem; border-radius: 99px; background: var(--gradient); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center::before { margin-inline: auto; }
.section-head h2 { margin-top: .75rem; }
.section-head__lead { margin-top: 1.1rem; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.section-head__lead strong { color: var(--ink); }

/* Problem → Lösung */
.pain-grid { display: grid; gap: 1.25rem; }
.pain-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s);
}
.pain-card__problem { flex: 1; padding: 1.6rem 1.6rem 1.4rem; }
@supports (grid-template-rows: subgrid) {
  .pain-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
}
.pain-card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--tile-2); color: var(--primary);
}
.pain-card__icon .icon { width: 22px; height: 22px; }
.pain-card h3 { margin-bottom: .45rem; }
.pain-card__problem p { color: var(--muted); font-size: 1rem; }
.pain-card__solution { padding: 1.2rem 1.6rem 1.6rem; background: var(--accent-50); border-top: 1px solid #cfeae6; }
.pain-card__solution p:not(.tag) { margin-top: .45rem; color: var(--ink); font-size: 1rem; }

/* So funktioniert's */
.section--how { background: var(--tile-2); }

.flow {
  display: flex; flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--radius-l); background: var(--tile); box-shadow: var(--shadow);
}
.flow__label { margin-bottom: .85rem; color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.flow__label--hub { margin: 0; color: var(--primary); font-size: .875rem; letter-spacing: 0; text-align: center; text-transform: none; }
.flow__chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }

[data-kind] { --k-bg: var(--tile-2); --k-fg: var(--primary); }
[data-kind="mail"], [data-kind="task"], [data-kind="chat"] { --k-bg: var(--accent-50); --k-fg: var(--accent-700); }

.chip {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .75rem .55rem .55rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font-size: .9375rem; font-weight: 700;
  transition: transform .35s var(--ease), background-color .35s, border-color .35s, box-shadow .35s;
}
.chip .icon { box-sizing: content-box; width: 15px; height: 15px; padding: 8px; border-radius: 9px; background: var(--k-bg); color: var(--k-fg); }
.chip.is-active { border-color: var(--k-fg); background: var(--white); box-shadow: 0 10px 22px -12px rgba(0, 38, 80, .55); transform: translateY(-2px) scale(1.03); }

.flow__hub { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 2.25rem 0; }
.flow__hub::before, .flow__hub::after {
  content: ""; position: absolute; left: 50%; width: 2px; height: 1.75rem; margin-left: -1px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px);
  background-size: 2px 12px; animation: dash-y .9s linear infinite;
}
.flow__hub::before { top: .25rem; }
.flow__hub::after { bottom: .25rem; }

.hub {
  display: grid; place-items: center; width: 84px; height: 84px;
  border-radius: 22px; background: var(--gradient-diag); color: var(--white);
  box-shadow: 0 16px 32px -14px rgba(0, 73, 148, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.hub .icon { width: 38px; height: 38px; }
.hub.is-pulse { animation: hub-pop .65s var(--ease); }

.akte { overflow: hidden; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.akte__head { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; background: var(--gradient); color: var(--white); }
.akte__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .18); font-weight: 900; }
.akte__meta { display: grid; line-height: 1.3; }
.akte__title { font-weight: 900; }
.akte__sub { font-size: .8125rem; opacity: .85; }
.akte__badge { margin-left: auto; padding: .3em .7em; border-radius: 99px; background: rgba(255, 255, 255, .2); font-size: .6875rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.akte__list { display: flex; flex-direction: column; gap: .2rem; padding: .5rem; }
.akte__list.is-animated { overflow: hidden; }

.entry { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; padding: .55rem .65rem; border-radius: 10px; font-size: .9375rem; line-height: 1.3; }
.entry:first-child { background: var(--bg); }
.entry__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--k-bg); color: var(--k-fg); }
.entry__icon .icon { width: 16px; height: 16px; }
.entry__text { display: grid; color: var(--ink); font-weight: 700; }
.entry__type { color: var(--muted); font-size: .6875rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.entry__time { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.steps { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 5vw, 3rem); }
.step { padding: 1.6rem; border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s); }
.step__num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem; border-radius: 50%; background: var(--gradient); color: var(--white); font-weight: 900; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: 1rem; }

/* Funktionen */
.features { display: grid; gap: 1.25rem; }
.feature {
  position: relative; overflow: hidden;
  padding: 1.8rem; border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature:hover::after { transform: scaleX(1); }
.feature__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; border-radius: 14px; background: var(--tile-2); color: var(--primary); }
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: 1rem; }

.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 4rem); padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-l); background: var(--gradient); color: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-l);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -8%; top: -10%; width: 70%; height: 140%;
  background: url("../assets/img/deco-netz-weiss.webp") right center / contain no-repeat; opacity: .14;
}
.cta-band__title { color: var(--white); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 900; line-height: 1.2; }
.cta-band__text { margin-top: .4rem; }
.cta-band .btn--cta { background: var(--white); color: var(--primary); }
.cta-band .btn--cta:hover { background: #eef3fb; }

/* App */
.section--app { padding-top: 0; }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__media { position: relative; isolation: isolate; }
.split__media::before { content: ""; position: absolute; z-index: -1; inset: 12% 6% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(38, 166, 154, .22), rgba(0, 73, 148, .10) 60%, transparent); }
.split__media img { margin-inline: auto; }
.split__copy h2 { margin-top: .75rem; }
.split__copy::before { content: ""; display: block; width: 64px; height: 6px; margin-bottom: 1.25rem; border-radius: 99px; background: var(--gradient); }
.split__copy > p:not(.eyebrow) { margin-top: 1.1rem; color: var(--muted); }

/* Listenpunkte laut CD: türkiser Kreis, weißer Haken */
.checklist { display: grid; gap: .85rem; margin-top: 1.5rem; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; }
.checklist__mark { display: grid; place-items: center; width: 26px; height: 26px; flex: none; margin-top: .1em; border-radius: 50%; background: var(--accent); color: var(--white); }
.checklist__mark .icon { width: 13px; height: 13px; }

/* Auf dich zugeschnitten */
.section--fit { background: var(--tile-2); }
.fit { display: grid; gap: 2rem; align-items: center; }
.fit__copy::before { content: ""; display: block; width: 64px; height: 6px; margin-bottom: 1.25rem; border-radius: 99px; background: var(--gradient); }
.fit__copy h2 { margin-top: .75rem; }
.fit__copy > p:not(.eyebrow) { margin-top: 1.1rem; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.fit__shelf { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-l); background: var(--tile); box-shadow: var(--shadow); }
.fit__shelf-label { margin-bottom: 1rem; color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.akten-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.akten-chips li {
  --tab: var(--primary);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .55em .95em .55em .8em; border-radius: 10px;
  background: var(--bg); color: var(--ink); font-size: .9375rem; font-weight: 700;
}
.akten-chips li::before { content: ""; width: 12px; height: 10px; flex: none; border-radius: 2px 3px 3px 3px; background: var(--tab); clip-path: polygon(0 0, 45% 0, 55% 22%, 100% 22%, 100% 100%, 0 100%); }
.akten-chips li:nth-child(3n + 2) { --tab: var(--accent); }
.akten-chips li:nth-child(3n + 3) { --tab: var(--lavender); }
.akten-chips li.is-more { background: transparent; border: 1px dashed #b9c4dc; color: var(--muted); }
.akten-chips li.is-more::before { display: none; }

/* Animation „Akten-Regal“: Chips puzzeln sich ins Regal, dann wird reihum eine Akte aktiv
   und der letzte Chip tippt weitere Beispiele. Nur mit JS und ohne reduzierte Bewegung. */
.akten-chips li { transition: background-color .45s, color .45s, box-shadow .45s, transform .45s var(--ease); }
.akten-chips.is-ready li { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0)) scale(.7); }
.akten-chips.is-in li {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease) var(--d, 0s), transform .8s cubic-bezier(.2, 1.4, .4, 1) var(--d, 0s), background-color .45s, color .45s, box-shadow .45s;
}
.akten-chips li.is-lit { background: var(--gradient); color: var(--white); box-shadow: 0 10px 22px -12px rgba(0, 73, 148, .8); transform: translateY(-3px) scale(1.04); }
.akten-chips li.is-lit::before { background: var(--white); }
.akten-chips li.is-typing { border-style: solid; border-color: var(--accent); color: var(--ink); background: var(--white); }
.typer::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.branchen { margin-top: clamp(2.5rem, 6vw, 4rem); }
.branchen__label { color: var(--primary); font-size: .8125rem; font-weight: 900; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.branchen__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.1rem; }
.branche { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s); }
.branche__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--gradient); color: var(--white); }
.branche__name { color: var(--ink); font-weight: 900; line-height: 1.3; }

/* Digital und persönlich */
.people { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.people .section-head { margin-bottom: 0; }
.service-grid { grid-column: 1 / -1; display: grid; gap: 1rem; }
.service {
  display: grid; grid-template-columns: auto 1fr; align-items: start; column-gap: 1rem; row-gap: .25rem;
  padding: 1.25rem; border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s);
}
.service__icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tile-2); color: var(--primary); }
.service__icon .icon { width: 20px; height: 20px; }
.service h3 { font-size: 1.0625rem; }
.service p { color: var(--muted); font-size: .9375rem; line-height: 1.55; }

.people__media { position: relative; isolation: isolate; margin: 0; }
.people__blob { position: absolute; z-index: -1; inset: 4% 4% 18% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(38, 166, 154, .22), rgba(0, 73, 148, .10) 60%, transparent); }
.people__media img { width: 100%; }
.people__quote {
  position: relative; display: grid; gap: .5rem; margin: -1.5rem .5rem 0;
  padding: 1.1rem 1.25rem 1.1rem 3.4rem; border-radius: var(--radius);
  background: var(--tile); box-shadow: var(--shadow-l);
}
.people__quote-mark { position: absolute; top: 1.15rem; left: 1.15rem; width: 24px; height: 24px; color: var(--accent); }
.people__quote-text { color: var(--ink); font-size: .9375rem; font-weight: 700; line-height: 1.5; }
.people__quote-author { color: var(--muted); font-size: .8125rem; }

/* Sicherheit: vollflächig dunkles Primärblau mit Verlaufslicht */
.section--secure {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(60% 120% at 100% 0%, rgba(38, 166, 154, .45), transparent 60%), linear-gradient(160deg, var(--primary) 0%, var(--primary-900) 100%);
  color: rgba(255, 255, 255, .86);
}
.section--secure::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -2%; height: 70%;
  background: url("../assets/img/deco-netz-weiss.webp") center bottom / min(1400px, 140%) auto no-repeat; opacity: .06;
}
.section--secure h2, .section--secure h3 { color: var(--white); }
.secure { display: grid; gap: 2.5rem; align-items: center; }
.secure__copy h2 { margin-top: .75rem; }
.secure__copy > p:not(.eyebrow) { margin-top: 1.1rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.secure__list { display: grid; gap: 1rem; }
.secure__list li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.secure__list h3 { font-size: 1.0625rem; margin-bottom: .25rem; }
.secure__list p { font-size: .9375rem; line-height: 1.5; }
.secure__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent); color: var(--white); }
.secure__icon .icon { width: 20px; height: 20px; }

/* Kundenstimmen */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.stat { padding: 1.5rem 1rem; border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s); text-align: center; }
.stat__num {
  display: block; font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); font-weight: 900; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__num small { font-size: .42em; font-weight: 700; vertical-align: .55em; }
.stat__label { display: block; margin-top: .65rem; color: var(--muted); font-size: .9375rem; line-height: 1.4; }

.quotes { display: grid; gap: 1.25rem; }
.quote { display: flex; flex-direction: column; gap: 1.25rem; margin: 0; padding: 1.75rem; border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s); }
.quote__mark { width: 28px; height: 28px; color: var(--accent); }
.quote blockquote { margin: 0; color: var(--ink); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: anywhere; }
.quote figcaption { display: flex; align-items: center; gap: .85rem; margin-top: auto; line-height: 1.35; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--tile-2); color: var(--primary); font-size: .9375rem; font-weight: 900; }
.quote__name { display: block; color: var(--ink); font-weight: 900; }
.quote__org { display: block; color: var(--muted); font-size: .875rem; }
.quote--featured { position: relative; overflow: hidden; background: var(--gradient); box-shadow: var(--shadow-l); }
.quote--featured .quote__mark { color: var(--white); opacity: .85; }
.quote--featured blockquote { color: var(--white); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; line-height: 1.4; }
.quote--featured .avatar { background: rgba(255, 255, 255, .18); color: var(--white); }
.quote--featured .quote__name { color: var(--white); }
.quote--featured .quote__org { color: rgba(255, 255, 255, .85); }

/* FAQ */
.section--faq { background: var(--tile-2); }
.faq { display: grid; gap: .5rem; }
.faq__list { display: grid; gap: .75rem; }
.faq details { border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding: 1rem 1.35rem;
  color: var(--ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.35;
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 18px; height: 18px; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 1.35rem 1.35rem; color: var(--muted); }

/* Abschluss-CTA: große Verlaufskachel */
.final-cta { padding: clamp(4rem, 9vw, 7rem) 0; }
.final-cta__inner {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: var(--radius-l); background: var(--gradient);
  color: rgba(255, 255, 255, .9); box-shadow: var(--shadow-l);
}
.final-cta__glow {
  position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 75%;
  background: url("../assets/img/deco-netz-weiss.webp") center bottom / min(1300px, 160%) auto no-repeat; opacity: .09;
  pointer-events: none;
}
.final-cta__inner > :not(.final-cta__glow) { position: relative; }
.final-cta h2 { margin-top: .75rem; color: var(--white); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.final-cta__text { max-width: 34rem; margin-top: 1.2rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); }
.final-cta__points { display: grid; gap: .75rem; margin-top: 1.75rem; }
.final-cta__points li { display: flex; align-items: flex-start; gap: .75rem; color: var(--white); font-weight: 700; }
.final-cta__points .checklist__mark { background: var(--white); color: var(--accent-700); }

.demo-form {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius); background: var(--tile); color: var(--text);
  box-shadow: 0 30px 60px -30px rgba(0, 20, 50, .6);
}
.demo-form__title { color: var(--ink); font-size: 1.375rem; font-weight: 900; line-height: 1.2; }
.demo-form__grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
.field { display: grid; gap: .35rem; }
.field label { color: var(--ink); font-size: .9375rem; font-weight: 700; }
.req { color: var(--accent-700); }
.field input {
  width: 100%; min-height: 50px; padding: 0 .95rem;
  border: 1.5px solid #cdd6e6; border-radius: 8px; background: var(--bg);
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:hover { border-color: #aebbd4; }
.field input:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 73, 148, .14); }
.field input[aria-invalid="true"] { border-color: #c62828; box-shadow: 0 0 0 4px rgba(198, 40, 40, .12); }
.field__error { color: #c62828; font-size: .8125rem; font-weight: 700; }
.final-cta .demo-form__submit { width: 100%; margin-top: 1.5rem; background: var(--accent); color: var(--white); }
.final-cta .demo-form__submit:hover { background: var(--accent-700); }
.demo-form__legal { margin-top: 1rem; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.demo-form__status:not(:empty) { margin-top: 1rem; padding: .8rem 1rem; border-radius: 8px; background: var(--accent-50); color: var(--ink); font-size: .9375rem; font-weight: 700; }
.demo-form__status.is-fehler { background: #fdecea; color: #8e1c1c; }
.final-cta .demo-form__submit:disabled { cursor: progress; opacity: .75; transform: none; }
/* Fangfeld für Bots: für Menschen unsichtbar, nicht per Tab erreichbar */
.demo-form__falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-form__spamschutz { margin-top: 1.25rem; padding: .9rem 1rem; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: .875rem; line-height: 1.5; }
.demo-form__spamschutz-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .7rem; }
.demo-form__mehr { padding: .4rem 0; border: 0; background: none; color: var(--primary); font: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.demo-form--danke p:not(.demo-form__title) { margin-top: .75rem; }
.demo-form--danke:focus { outline: none; }
/* reCAPTCHA-Badge aus, dafür Hinweis im Formular (Vorgabe von Google, Skill formular-crm) */
.grecaptcha-badge { visibility: hidden; }

/* Footer mit Verlauf (CD) */
.site-footer { padding: 2.5rem 0; background: var(--gradient); color: rgba(255, 255, 255, .85); font-size: .9375rem; }
.site-footer__inner { display: grid; gap: 1.5rem; }
.site-footer__brand { display: grid; gap: .9rem; }
.site-footer__brand .logo { height: 26px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: .25rem; margin-inline: -1rem; }
.site-footer__copy { font-size: .875rem; color: rgba(255, 255, 255, .8); }

/* ---------- Bewegung ---------- */

@keyframes dash-y { to { background-position: 0 12px; } }
@keyframes dash-x { to { background-position: 12px 0; } }
@keyframes hub-pop { 0% { transform: scale(1) rotate(0); } 40% { transform: scale(1.12) rotate(-10deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes card-in { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes blob { 0%, 100% { border-radius: 46% 54% 52% 48% / 44% 42% 58% 56%; } 50% { border-radius: 54% 46% 44% 56% / 52% 58% 42% 48%; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .float-card { animation: card-in .8s var(--ease) both, bob 7s ease-in-out infinite; }
  .float-card--a { animation-delay: .35s, 1.2s; }
  .float-card--b { animation-delay: .6s, 2.4s; }
  .float-card--c { animation-delay: .85s, 3.4s; }
  .hero-media__blob { animation: blob 16s ease-in-out infinite; }
  .hero-media__puzzle { animation: bob 9s ease-in-out infinite; }
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .flow__hub::before, .flow__hub::after { animation: none; }
}

/* ---------- Breakpoints ---------- */

@media (max-width: 479px) {
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (max-width: 359px) {
  .site-header__bar { gap: .75rem; }
  .logo { height: 21px; }
  .site-header__cta { padding: 0 .85em; font-size: .875rem; }
  .stats { grid-template-columns: 1fr; }
}
@media (min-width: 480px) {
  .flow__chips { grid-template-columns: repeat(3, 1fr); }
  .float-card { font-size: .875rem; }
  .float-card__icon { width: 38px; height: 38px; }
}
@media (min-width: 640px) {
  .demo-form__grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .secure__list { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service { display: flex; flex-direction: column; gap: .4rem; padding: 1.6rem; }
  .service__icon { margin-bottom: .6rem; }
  .glance__list { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer__copy { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  :root { --header-h: 72px; }
  body { font-size: 1.125rem; }
  .logo { height: 30px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .quote--featured { grid-column: 1 / -1; padding: 2.25rem 2.5rem; }
  .quote:last-child { grid-column: 1 / -1; }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; }
  .float-card--a { left: -2%; }
  .float-card--b { right: -3%; }
  .people__media { padding-bottom: 4.5rem; }
  .people__quote { position: absolute; right: 0; bottom: 0; left: 8%; margin: 0; }
}
@media (min-width: 1024px) {
  .site-nav { display: flex; gap: .25rem; margin-left: auto; }
  .site-header__cta { margin-left: 0; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .hero-media { width: 100%; }
  .float-card--a { top: 9%; left: -9%; }
  .float-card--b { top: 46%; right: -7%; }
  .float-card--c { bottom: 9%; left: -4%; }
  .glance__list { grid-template-columns: repeat(3, 1fr); }
  .flow { display: grid; grid-template-columns: minmax(0, .85fr) auto minmax(0, 1.25fr); align-items: center; gap: 3rem; }
  .flow__chips { grid-template-columns: 1fr; gap: .6rem; }
  .flow__hub { padding: 0; }
  .flow__hub::before, .flow__hub::after {
    top: 42px; bottom: auto; left: auto; width: 3rem; height: 2px; margin: -1px 0 0;
    background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
    background-size: 12px 2px; animation-name: dash-x;
  }
  .flow__hub::before { right: 100%; }
  .flow__hub::after { left: 100%; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.1fr .9fr; }
  .fit { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .people { grid-template-columns: 1fr 1fr; }
  .secure { grid-template-columns: .85fr 1.15fr; gap: 4rem; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .quote:last-child { grid-column: auto; }
  .faq { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 3rem); }
  .final-cta__inner { grid-template-columns: 1fr minmax(0, 480px); }
}
@media (min-width: 1200px) {
  .pain-grid { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
}
