/* ==========================================================================
   Security Webdesign – Designrichtung „Leitstelle"
   Dunkles Navy, CI-Blau, Cyan-Akzente · Teko (Headlines) + Inter (Text)
   ========================================================================== */

:root {
  --c-bg: #0b1120;
  --c-bg-alt: #0e1629;
  --c-bg-deep: #070c18;
  --c-surface: #131c31;
  --c-surface-2: #18233d;
  --c-line: #22304f;
  --c-line-strong: #33466f;
  --c-text: #e6ecf7;
  --c-muted: #a6b5d2;
  --c-brand: #3279be;
  --c-brand-dark: #2a68a6;
  --c-brand-hi: #5ea6f2;
  --c-link: #82bdf8;
  --c-cyan: #38d3f5;
  --c-warn: #ff8a65;
  --c-ok: #4ade9b;

  --font-head: "Teko", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 24px 60px -28px rgb(0 0 0 / .75);
  --glow: 0 0 0 1px rgb(94 166 242 / .35), 0 18px 60px -20px rgb(50 121 190 / .65);
  --header-h: 84px;
}

[data-bs-theme="dark"] {
  --bs-body-bg: var(--c-bg);
  --bs-body-color: var(--c-text);
  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.65;
  --bs-emphasis-color: #fff;
  --bs-secondary-color: var(--c-muted);
  --bs-border-color: var(--c-line);
  --bs-link-color: var(--c-link);
  --bs-link-color-rgb: 130, 189, 248;
  --bs-link-hover-color: #fff;
  --bs-link-hover-color-rgb: 255, 255, 255;
  --bs-primary: var(--c-brand);
  --bs-primary-rgb: 50, 121, 190;
  --bs-heading-color: #fff;
  --bs-focus-ring-color: rgb(56 211 245 / .45);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  background: var(--c-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}
img { max-width: 100%; height: auto; }
::selection { background: rgb(56 211 245 / .3); color: #fff; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25rem; height: 1.25rem; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 2000;
  background: #fff; color: var(--c-bg); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
  &:focus { top: 1rem; }
}

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

/* ---------- Typografie ---------- */

h1, h2, .h1, .h2, .display {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .005em;
  text-wrap: balance;
  color: #fff;
}
h1, .h1 { font-size: clamp(2.9rem, 1.7rem + 3.8vw, 4.9rem); }
h2, .h2 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.9rem); }
h3, .h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; line-height: 1.35; color: #fff; text-wrap: balance; }
h4, .h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: #fff; }
p { text-wrap: pretty; }

.text-gradient {
  background: linear-gradient(95deg, var(--c-brand-hi) 10%, var(--c-cyan) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font: 600 .78rem/1.2 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 1rem;
  &::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px; }
}
.section-head--center .eyebrow::after { content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px; }

.lead-text { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--c-muted); line-height: 1.7; }
.text-muted-brand { color: var(--c-muted); }
.small-print { font-size: .85rem; color: var(--c-muted); }

/* ---------- Buttons ---------- */

.btn {
  --bs-btn-padding-y: .8rem;
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: .975rem;
  --bs-btn-border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, transform .2s var(--ease);
  & .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
  &:hover .icon:last-child { transform: translateX(3px); }
  &:active { transform: translateY(1px); }
}
.btn-sm { --bs-btn-padding-y: .55rem; --bs-btn-padding-x: 1rem; --bs-btn-font-size: .9rem; }
.btn-lg { --bs-btn-padding-y: 1rem; --bs-btn-padding-x: 1.75rem; --bs-btn-font-size: 1.05rem; }
.btn-brand {
  --bs-btn-color: #fff; --bs-btn-bg: var(--c-brand); --bs-btn-border-color: var(--c-brand);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--c-brand-dark); --bs-btn-hover-border-color: var(--c-brand-hi);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--c-brand-dark); --bs-btn-active-border-color: var(--c-brand-hi);
  box-shadow: 0 10px 30px -12px rgb(50 121 190 / .9);
  &:hover { box-shadow: 0 0 0 4px rgb(56 211 245 / .14), 0 14px 34px -12px rgb(50 121 190 / 1); }
}
.btn-ghost {
  --bs-btn-color: var(--c-text); --bs-btn-bg: rgb(255 255 255 / .02); --bs-btn-border-color: var(--c-line-strong);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--c-surface-2); --bs-btn-hover-border-color: var(--c-brand-hi);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--c-surface-2); --bs-btn-active-border-color: var(--c-brand-hi);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--c-link);
  & .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
  &:hover { color: #fff; }
  &:hover .icon { transform: translateX(3px); }
}

/* ---------- Header & Navigation ---------- */

.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgb(11 17 32 / .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
  &.is-scrolled { border-bottom-color: var(--c-line); background: rgb(9 14 27 / .9); }
  & .navbar { min-height: var(--header-h); padding-block: .6rem; }
}
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--c-brand), var(--c-cyan));
  transform-origin: left; transform: scaleX(0); opacity: 0;
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-progress { opacity: 1; animation: progress linear both; animation-timeline: scroll(root); }
    @keyframes progress { to { transform: scaleX(1); } }
  }
}

.brand { display: inline-flex; align-items: center; padding: 0; margin: 0;
  & img { height: 50px; width: auto; }
}
.brand--footer img { height: 58px; }

.menu-link {
  position: relative; display: block;
  padding: .55rem .95rem; color: var(--c-muted); font-weight: 500; font-size: .96rem; text-decoration: none;
  transition: color .2s;
  &::after {
    content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .3rem; height: 2px;
    background: var(--c-cyan); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
  }
  &:hover, &:focus-visible { color: #fff; }
  &:hover::after { transform: scaleX(1); }
}
.menu-actions { display: flex; gap: .6rem; align-items: center; }

.menu-toggler {
  border: 1px solid var(--c-line-strong); border-radius: 10px; padding: .6rem .55rem;
  display: inline-flex; flex-direction: column; gap: 5px;
  &:focus { box-shadow: none; }
  & .menu-toggler__bar { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  &[aria-expanded="true"] .menu-toggler__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  &[aria-expanded="true"] .menu-toggler__bar:nth-child(2) { opacity: 0; }
  &[aria-expanded="true"] .menu-toggler__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    margin-top: .75rem; padding: 1rem; border: 1px solid var(--c-line); border-radius: var(--radius);
    background: var(--c-surface);
  }
  .menu-link { padding: .75rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--c-line); &::after { display: none; } }
  .menu-actions { flex-direction: column; align-items: stretch; margin-top: 1rem; }
}

/* ---------- Abschnitte ---------- */

.section { position: relative; padding-block: clamp(4.5rem, 2.5rem + 6vw, 8rem); }
.section--alt { background: var(--c-bg-alt); border-block: 1px solid var(--c-line); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.section--grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.section > .container { position: relative; }
.section-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  & h2 { margin-bottom: 1.1rem; }
}
.section-head--center { text-align: center; margin-inline: auto; }

/* ---------- Karten & Listen ---------- */

.card-tile {
  height: 100%;
  background: linear-gradient(180deg, var(--c-surface) 0%, rgb(19 28 49 / .6) 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
  & h3 { margin: 1.1rem 0 .55rem; }
  & p { color: var(--c-muted); margin: 0; }
  &:hover { transform: translateY(-4px); border-color: var(--c-line-strong); box-shadow: var(--shadow); }
}
.icon-tile {
  display: inline-grid; place-items: center; flex-shrink: 0; width: 3.1rem; height: 3.1rem; border-radius: 12px;
  color: var(--c-cyan);
  background: linear-gradient(145deg, rgb(50 121 190 / .32), rgb(56 211 245 / .08));
  border: 1px solid rgb(94 166 242 / .35);
  & .icon { width: 1.45rem; height: 1.45rem; }
}
.icon-tile--warn { color: var(--c-warn); background: rgb(255 138 101 / .1); border-color: rgb(255 138 101 / .3); }

.check-list {
  list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem;
  & li { display: flex; gap: .7rem; align-items: flex-start; }
  & .icon {
    width: 1.35rem; height: 1.35rem; padding: .22rem; margin-top: .12rem; border-radius: 50%;
    color: var(--c-bg); background: var(--c-cyan); stroke-width: 3.2;
  }
}
.check-list--cols { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); column-gap: 1.5rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px;
  font-size: .88rem; font-weight: 500; color: var(--c-text);
  background: var(--c-surface); border: 1px solid var(--c-line);
  & .icon { width: 1rem; height: 1rem; color: var(--c-cyan); }
}

.media-frame {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--c-surface); border: 1px solid var(--c-line);
  & img { display: block; width: 100%; height: 100%; object-fit: cover; }
}

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

.hero {
  position: relative; overflow: hidden;
  /* unten kein Abstand: die Personen stehen bündig auf der Unterkante des Hero */
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) 0;
  background:
    radial-gradient(55% 65% at 78% 45%, rgb(50 121 190 / .32), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgb(56 211 245 / .08), transparent 70%),
    var(--c-bg);
  &::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
      linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(80% 80% at 60% 40%, #000 25%, transparent 85%);
  }
  & > .container { position: relative; }
}
@media (min-width: 992px) { .hero__text { padding-bottom: clamp(3rem, 1rem + 4vw, 5.5rem); } }
.hero__title { margin-bottom: 1.4rem; }
.hero__lead { max-width: 36rem; margin-bottom: 1.75rem; }
.hero__list { margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 2rem; font-size: .88rem; color: var(--c-muted);
  & span { display: inline-flex; align-items: center; gap: .45rem; }
  & .icon { width: 1rem; height: 1rem; color: var(--c-cyan); }
}

/* Bühne wie bei website4physio: volle Spaltenbreite, Personen stehen auf der Unterkante */
.hero__figure { position: relative; width: 100%; max-width: 720px; aspect-ratio: 23 / 20; margin-inline: auto; }
@media (min-width: 992px) { .hero__figure { width: 114%; max-width: 780px; margin-left: -4%; } }
.hero__stage { position: absolute; top: 0; left: 50%; width: 80%; aspect-ratio: 1; transform: translateX(-50%); }
.hero__ring {
  position: absolute; border-radius: 50%; border: 1px solid rgb(56 211 245 / .32);
  &.hero__ring--1 { inset: 0; }
  &.hero__ring--2 { inset: 4.5%; border-color: rgb(94 166 242 / .42); border-style: dashed; }
}
.hero__disc {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #4a92e0 0%, #3279be 45%, #1f5592 100%);
  box-shadow: 0 0 0 1px rgb(130 189 248 / .55), 0 0 60px -6px rgb(56 211 245 / .35), 0 30px 80px -20px rgb(50 121 190 / .8);
}
/* Radar-Sweep im Band zwischen Kreis und äußerem Ring – läuft einmal beim Laden */
.hero__sweep {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgb(56 211 245 / .4), transparent 18%, transparent);
  mask-image: radial-gradient(closest-side, transparent 79%, #000 81%, #000 99%, transparent 100%);
  opacity: 0;
}
.hero__people {
  position: absolute; left: 4%; bottom: 0; width: 92%; height: auto;
  /* Arme sind im Motiv seitlich angeschnitten – Ränder weich ausblenden */
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.hero__badge {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1rem .7rem .75rem; border-radius: 14px;
  background: rgb(19 28 49 / .82); border: 1px solid var(--c-line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: .82rem; line-height: 1.3; color: var(--c-muted); white-space: nowrap;
  & strong { display: block; color: #fff; font-size: .95rem; }
  & .icon-tile { width: 2.4rem; height: 2.4rem; border-radius: 10px; & .icon { width: 1.15rem; height: 1.15rem; } }
  &.hero__badge--a { top: 1%; right: 4%; }
  &.hero__badge--b { top: 50%; left: -2%; }
  &.hero__badge--c { bottom: 6%; right: 4%; }
}
@media (max-width: 575.98px) {
  .hero__badge { font-size: .75rem; padding: .5rem .7rem .5rem .5rem;
    & strong { font-size: .85rem; }
    &.hero__badge--a { right: 0; top: -5%; } &.hero__badge--b { left: 0; } &.hero__badge--c { display: none; }
  }
}

/* ---------- Zahlenleiste ---------- */

.stats { background: linear-gradient(180deg, var(--c-bg-alt), var(--c-bg)); border-block: 1px solid var(--c-line); padding-block: clamp(2.25rem, 1.5rem + 2vw, 3.25rem); }
.stat { text-align: center; padding-inline: .5rem;
  & .stat__value { font: 600 clamp(2.8rem, 2rem + 2.5vw, 4rem)/1 var(--font-head); color: #fff; }
  & .stat__value span { color: var(--c-cyan); }
  & .stat__label { color: var(--c-muted); font-size: .92rem; margin: .35rem 0 0; }
}
@media (min-width: 768px) { .stat + .stat { border-left: 1px solid var(--c-line); } }
@media (max-width: 767.98px) { .stats .col-6:nth-child(-n+2) { margin-bottom: 1.5rem; } }

/* ---------- Probleme ---------- */

.problem-card {
  display: flex; gap: 1rem; align-items: flex-start; height: 100%;
  padding: 1.35rem; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line);
  & h3 { font-size: 1.02rem; margin: .15rem 0 .35rem; }
  & p { color: var(--c-muted); margin: 0; font-size: .95rem; }
}
.callout {
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: linear-gradient(135deg, rgb(50 121 190 / .22), rgb(19 28 49 / .6));
  border: 1px solid rgb(94 166 242 / .35);
}

/* ---------- Lösung ---------- */

.solution-media { position: relative;
  &::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgb(50 121 190 / .55), transparent); filter: blur(30px); }
  & img { position: relative; }
}

/* ---------- Vergleich ---------- */

.compare {
  border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface);
}
.compare-table {
  width: 100%; border-collapse: collapse; font-size: .95rem;
  & th, & td { padding: 1rem 1.25rem; vertical-align: top; border-bottom: 1px solid var(--c-line); }
  & tr:last-child > * { border-bottom: 0; }
  & thead th { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); background: var(--c-bg-alt); }
  & tbody th { font-weight: 600; color: #fff; width: 22%; }
  & td { color: var(--c-muted); }
  & .compare-table__us { background: rgb(50 121 190 / .1); color: var(--c-text); border-left: 1px solid rgb(94 166 242 / .3); }
  & thead .compare-table__us { color: var(--c-cyan); }
  & .cmp { display: inline-flex; gap: .55rem; align-items: flex-start; }
  & .cmp .icon { width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
  & .cmp--no .icon { color: var(--c-warn); }
  & .cmp--yes .icon { color: var(--c-ok); }
}
@media (max-width: 767.98px) {
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100% !important; }
  .compare-table thead { display: none; }
  .compare-table tr { border-bottom: 1px solid var(--c-line); padding: 1rem 1.1rem; }
  .compare-table tbody th, .compare-table td { border: 0; padding: .3rem 0; }
  .compare-table .compare-table__us { background: none; border: 0; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-top: .4rem; }
}

.calc {
  border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: var(--c-surface);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem);
}
.calc__field { margin-bottom: 1.25rem;
  & label { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; color: var(--c-muted); margin-bottom: .45rem; }
  & output { color: #fff; font-weight: 600; white-space: nowrap; }
}
.form-range {
  --bs-form-range-track-bg: var(--c-line-strong);
  &::-webkit-slider-thumb { background: var(--c-cyan); }
  &::-moz-range-thumb { background: var(--c-cyan); }
  &::-webkit-slider-runnable-track { height: .4rem; }
}
.calc__result { display: grid; gap: 1.1rem; }
.calc-bar {
  & .calc-bar__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .45rem; font-size: .92rem; color: var(--c-muted); }
  & .calc-bar__value { font: 600 2rem/1 var(--font-head); color: #fff; }
  & .calc-bar__track { height: .8rem; border-radius: 999px; background: var(--c-bg); overflow: hidden; border: 1px solid var(--c-line); }
  & .calc-bar__fill { height: 100%; border-radius: inherit; width: var(--w, 50%); transition: width .7s var(--ease); }
  & .calc-bar__note { font-size: .8rem; color: var(--c-muted); margin-top: .35rem; }
  &.calc-bar--diy .calc-bar__fill { background: linear-gradient(90deg, #a2502f, var(--c-warn)); }
  &.calc-bar--us .calc-bar__fill { background: linear-gradient(90deg, var(--c-brand), var(--c-cyan)); }
}
.calc__saving {
  border-radius: var(--radius); padding: 1rem 1.25rem; background: rgb(74 222 155 / .08); border: 1px solid rgb(74 222 155 / .3);
  color: var(--c-text);
  & strong { color: var(--c-ok); }
}

/* ---------- Pakete ---------- */

.pricing { background:
  radial-gradient(50% 50% at 50% 0%, rgb(50 121 190 / .25), transparent 70%),
  var(--c-bg-deep); border-block: 1px solid var(--c-line); }
.price-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  background: var(--c-surface); border: 1px solid var(--c-line);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
  &:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  & h3 { font: 600 2.1rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .35rem; }
  & .price-card__desc { color: var(--c-muted); font-size: .93rem; }
  @media (min-width: 992px) { & .price-card__desc { min-height: 4.95em; } }
}
.price-card--featured {
  background: linear-gradient(180deg, #18294a 0%, var(--c-surface) 60%);
  border-color: var(--c-brand-hi);
  box-shadow: var(--glow);
  &:hover { box-shadow: var(--glow), var(--shadow); }
}
.price-card__badge {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  padding: .35rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--c-bg); background: var(--c-cyan);
  & .icon { width: .95rem; height: .95rem; }
}
.price-card__tech {
  display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--c-cyan); border: 1px solid rgb(56 211 245 / .35); border-radius: 6px; padding: .2rem .55rem; margin-bottom: .9rem;
  & .icon { width: .95rem; height: .95rem; }
}
.price {
  margin: 1.25rem 0 .25rem; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
  & .price__amount { font: 600 clamp(3.2rem, 2.6rem + 1.6vw, 4.1rem)/.9 var(--font-head); color: #fff; }
  & .price__unit { color: var(--c-muted); font-size: .92rem; }
}
.price__monthly {
  display: flex; align-items: center; gap: .6rem; margin: .75rem 0 1.4rem;
  padding: .7rem .9rem; border-radius: 12px; background: rgb(56 211 245 / .07); border: 1px dashed rgb(56 211 245 / .35);
  font-size: .9rem; color: var(--c-muted); line-height: 1.35;
  & strong { color: #fff; font-size: 1.05rem; }
  & .icon { color: var(--c-cyan); }
}
.price__onrequest { font: 600 clamp(2.6rem, 2.2rem + 1vw, 3.2rem)/.9 var(--font-head); color: #fff; margin: 1.25rem 0 .35rem; text-transform: uppercase; }
.feature-list {
  list-style: none; padding: 1.4rem 0 0; margin: 1.4rem 0 0; border-top: 1px solid var(--c-line);
  display: grid; gap: .7rem; font-size: .93rem;
  & li { display: flex; gap: .65rem; align-items: flex-start; }
  & .icon { width: 1.15rem; height: 1.15rem; margin-top: .15rem; color: var(--c-cyan); stroke-width: 2.6; }
  & strong { color: #fff; font-weight: 600; }
}
.price-card .btn { margin-top: auto; }
.price-card__body { flex: 1 1 auto; display: flex; flex-direction: column; }
.price-card__cta { margin-top: 1.75rem; }
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; margin-top: 2.75rem;
  color: var(--c-muted); font-size: .92rem;
  & span { display: inline-flex; align-items: center; gap: .5rem; }
  & .icon { width: 1.1rem; height: 1.1rem; color: var(--c-ok); }
}

/* ---------- Ablauf ---------- */

.steps { position: relative; }
.steps__line {
  position: absolute; top: 2rem; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--c-brand), var(--c-cyan));
  transform-origin: left;
}
.step { position: relative; text-align: center; padding-inline: .5rem;
  & .step__num {
    position: relative; z-index: 1; display: grid; place-items: center; margin: 0 auto 1.25rem;
    width: 4rem; height: 4rem; border-radius: 50%;
    font: 600 2rem/1 var(--font-head); color: #fff;
    background: var(--c-bg); border: 2px solid var(--c-brand-hi);
    box-shadow: 0 0 0 6px var(--c-bg), 0 0 30px -4px rgb(56 211 245 / .5);
  }
  & h3 { margin-bottom: .5rem; }
  & p { color: var(--c-muted); font-size: .95rem; margin-bottom: .75rem; }
  & .step__tag { display: inline-flex; gap: .4rem; align-items: center; font-size: .8rem; font-weight: 600; color: var(--c-cyan);
    & .icon { width: .95rem; height: .95rem; } }
}
@media (max-width: 991.98px) {
  .steps__line { display: none; }
  .step { text-align: left; display: grid; grid-template-columns: 4rem 1fr; column-gap: 1.25rem;
    & .step__num { grid-row: span 3; margin: 0; } }
}

/* ---------- Demos ---------- */

.demo-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-line); overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
  &:hover { transform: translateY(-4px); border-color: var(--c-line-strong); box-shadow: var(--shadow); }
  & .demo-card__media {
    aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1.25rem 1.25rem 0;
    background: radial-gradient(70% 70% at 50% 60%, rgb(50 121 190 / .35), transparent 75%), var(--c-bg-alt);
  }
  & .demo-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
  &:hover .demo-card__media img { transform: scale(1.03); }
  & .demo-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
  & .demo-card__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-cyan); }
  & h3 { margin: .35rem 0 .5rem; }
  & p { color: var(--c-muted); font-size: .95rem; }
  & .link-arrow { margin-top: auto; }
}
.demo-card--soon {
  & .demo-card__media { padding: 1.25rem; }
  & .demo-placeholder {
    width: 100%; height: 100%; border-radius: 12px; border: 1px dashed var(--c-line-strong);
    display: grid; place-items: center; text-align: center; color: var(--c-muted); font-size: .9rem;
    background: repeating-linear-gradient(135deg, rgb(255 255 255 / .015) 0 12px, transparent 12px 24px);
    & .icon { width: 2.4rem; height: 2.4rem; color: var(--c-line-strong); margin: 0 auto .5rem; display: block; }
  }
  & .demo-card__soon { margin-top: auto; font-size: .9rem; color: var(--c-muted); display: inline-flex; align-items: center; gap: .45rem;
    & .icon { width: 1rem; height: 1rem; } }
}

/* ---------- Merkmale ---------- */

.feature { display: flex; gap: 1.1rem; align-items: flex-start;
  & h3 { margin: .2rem 0 .4rem; }
  & p { color: var(--c-muted); margin: 0; font-size: .95rem; }
}

/* ---------- Kostenloser Entwurf ---------- */

.offer {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background:
    radial-gradient(60% 90% at 100% 50%, rgb(50 121 190 / .45), transparent 70%),
    linear-gradient(135deg, #14213d, #0f182d);
  border: 1px solid rgb(94 166 242 / .35);
}
.offer__steps {
  list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; counter-reset: offer;
  & li { counter-increment: offer; display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; }
  & li::before {
    content: counter(offer); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
    font: 600 1.05rem/1 var(--font-head); color: var(--c-bg); background: var(--c-cyan); padding-top: .15rem;
  }
}
.quick-form { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 34rem;
  & .form-control { flex: 1 1 15rem; }
}
.offer__media { position: relative;
  & img { position: relative; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .5)); }
}
.offer__sticker {
  position: absolute; top: 4%; right: 6%; z-index: 1;
  display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%;
  font: 600 1.6rem/1 var(--font-head); text-transform: uppercase; color: var(--c-bg); background: var(--c-cyan);
  box-shadow: 0 0 0 6px rgb(56 211 245 / .2); transform: rotate(-10deg); padding-top: .2rem;
}

/* ---------- Projekte ---------- */

.project {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3.4; text-decoration: none; color: #fff;
  border: 1px solid var(--c-line); background: var(--c-surface);
  & img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: saturate(.85) brightness(.8); }
  &::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(7 12 24 / .95) 100%); }
  & .project__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.4rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
  & .project__name { font: 600 1.6rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; display: block; }
  & .project__url { font-size: .85rem; color: var(--c-muted); }
  & .project__icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); transition: background .3s, border-color .3s;
    & .icon { width: 1rem; height: 1rem; } }
  &:hover img { transform: scale(1.05); filter: saturate(1) brightness(.9); }
  &:hover .project__icon { background: var(--c-brand); border-color: var(--c-brand-hi); }
}

/* ---------- Warum ---------- */

.why-item { display: flex; gap: 1rem; align-items: flex-start;
  & h3 { margin: .15rem 0 .3rem; font-size: 1.05rem; }
  & p { margin: 0; color: var(--c-muted); font-size: .93rem; }
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: .75rem; }
.faq {
  border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line);
  transition: border-color .3s, background-color .3s;
  &[open] { border-color: rgb(94 166 242 / .5); background: var(--c-surface-2); }
  & summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.1rem 1.35rem; font-weight: 600; color: #fff;
    &::-webkit-details-marker { display: none; }
    & .icon { width: 1.15rem; height: 1.15rem; color: var(--c-cyan); transition: transform .3s var(--ease); }
  }
  &[open] summary .icon { transform: rotate(45deg); }
  & .faq__answer { padding: 0 1.35rem 1.25rem; color: var(--c-muted);
    & p:last-child { margin-bottom: 0; } }
}
.contact-box {
  border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 2rem;
  background: var(--c-surface); border: 1px solid var(--c-line);
}
.contact-line { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--c-text); padding: .45rem 0;
  & .icon-tile { width: 2.6rem; height: 2.6rem; border-radius: 10px; & .icon { width: 1.15rem; height: 1.15rem; } }
  & small { display: block; color: var(--c-muted); font-size: .8rem; }
  &[href]:hover { color: #fff; }
}

/* ---------- Anfrage & Formulare ---------- */

.inquiry { background:
  radial-gradient(45% 60% at 85% 30%, rgb(50 121 190 / .28), transparent 70%),
  var(--c-bg-deep); border-top: 1px solid var(--c-line); }
.form-card {
  position: relative; border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--c-surface); border: 1px solid var(--c-line-strong); box-shadow: var(--shadow);
  & h2, & h3 { margin-bottom: .35rem; }
}
.form-label { font-size: .9rem; font-weight: 500; color: var(--c-text); margin-bottom: .35rem; }
.form-control, .form-select {
  --bs-body-bg: var(--c-bg);
  background-color: var(--c-bg); border: 1px solid var(--c-line-strong); color: var(--c-text);
  border-radius: 10px; padding: .75rem .95rem;
  &::placeholder { color: #6f80a3; }
  &:focus { background-color: var(--c-bg); color: #fff; border-color: var(--c-cyan); box-shadow: 0 0 0 .2rem rgb(56 211 245 / .2); }
  &.is-invalid { border-color: var(--c-warn); }
}
.form-select { padding-right: 2.5rem; }
.form-check-input { background-color: var(--c-bg); border-color: var(--c-line-strong); width: 1.2em; height: 1.2em; margin-top: .2em;
  &:checked { background-color: var(--c-brand); border-color: var(--c-brand-hi); }
  &:focus { box-shadow: 0 0 0 .2rem rgb(56 211 245 / .25); border-color: var(--c-cyan); }
}
.consent { font-size: .85rem; color: var(--c-muted); line-height: 1.55; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha {
  border-radius: 12px; padding: 1rem; background: var(--c-bg-alt); border: 1px solid var(--c-line);
  & .captcha__frage { color: #fff; font-weight: 600; }
  & .captcha__zeile { display: flex; gap: .6rem; align-items: stretch; flex-wrap: wrap; }
  & .captcha__zeile .form-control { max-width: 8rem; }
  & .captcha__hinweis { font-size: .8rem; color: var(--c-muted); margin: .5rem 0 0; }
}
.field-error { color: var(--c-warn); font-size: .85rem; margin: .35rem 0 0; }
.form-status {
  border-radius: 10px; padding: .85rem 1rem; font-size: .92rem; margin-top: 1rem;
  &.is-error { background: rgb(255 138 101 / .1); border: 1px solid rgb(255 138 101 / .4); color: #ffd2c4; }
  &.is-success { background: rgb(74 222 155 / .08); border: 1px solid rgb(74 222 155 / .35); color: #c9f7e1; }
}
form[aria-busy="true"] button[type="submit"] { opacity: .7; pointer-events: none; }
.form-note { font-size: .82rem; color: var(--c-muted); margin: .75rem 0 0; }

/* ---------- Unterseiten ---------- */

.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 3.5rem);
  background: radial-gradient(55% 90% at 85% 0%, rgb(50 121 190 / .3), transparent 70%), var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  &::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
      linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000, transparent 90%);
  }
  & > .container { position: relative; }
  & h1 { font-size: clamp(2.7rem, 1.9rem + 3vw, 4.5rem); margin-bottom: 1rem; }
  & .lead-text { max-width: 42rem; margin: 0; }
}
.prose {
  max-width: 50rem; color: var(--c-muted);
  & h2 { font-family: var(--font-body); text-transform: none; font-size: 1.25rem; font-weight: 600; line-height: 1.35; margin: 2.25rem 0 .75rem; color: #fff; letter-spacing: 0; }
  & h2:first-child { margin-top: 0; }
  & h3, & h4 { margin: 1.75rem 0 .6rem; }
  & strong { color: var(--c-text); }
  & a { overflow-wrap: anywhere; }
  & ul, & ol { padding-left: 1.25rem; }
}
.thanks {
  text-align: center; max-width: 40rem; margin-inline: auto;
  & .thanks__icon { display: grid; place-items: center; width: 5rem; height: 5rem; margin: 0 auto 1.5rem; border-radius: 50%;
    color: var(--c-bg); background: var(--c-cyan); box-shadow: 0 0 0 10px rgb(56 211 245 / .15);
    & .icon { width: 2.3rem; height: 2.3rem; stroke-width: 3; } }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--c-bg-deep); border-top: 1px solid var(--c-line);
  padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) 0 calc(1.5rem + env(safe-area-inset-bottom));
  color: var(--c-muted); font-size: .93rem;
  & a { color: var(--c-text); text-decoration: none; &:hover { color: var(--c-cyan); } }
}
.footer-text { margin-top: 1.25rem; }
.footer-title { font: 600 .8rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem;
  & li { display: flex; gap: .65rem; align-items: flex-start; }
  & .icon { width: 1.05rem; height: 1.05rem; margin-top: .2rem; color: var(--c-cyan); }
}
.footer-list--links { gap: .5rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); font-size: .82rem;
}

/* ---------- Exit-Popup ---------- */

.exit-popup {
  width: min(56rem, calc(100% - 2rem)); padding: 0; border: 1px solid var(--c-line-strong); border-radius: 24px;
  background: var(--c-surface); color: var(--c-text); box-shadow: 0 40px 100px -20px rgb(0 0 0 / .8);
  &::backdrop { background: rgb(4 8 18 / .72); backdrop-filter: blur(4px); }
  &[open] { animation: pop-in .45s var(--ease); }
  & .exit-popup__grid { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); align-items: center; }
  & .exit-popup__title { font-size: clamp(2.4rem, 2rem + 1.5vw, 3.2rem); margin-bottom: .85rem; }
  & .exit-popup__media img { display: block; width: 100%; }
  & .exit-popup__close {
    position: absolute; top: .9rem; right: .9rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem;
    border-radius: 50%; border: 1px solid var(--c-line-strong); background: var(--c-bg); color: #fff;
    &:hover { border-color: var(--c-cyan); }
  }
}
@media (min-width: 768px) { .exit-popup .exit-popup__grid { grid-template-columns: 1.1fr 1fr; } }
@media (max-width: 767.98px) { .exit-popup .exit-popup__media { display: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ==========================================================================
   Animationen
   Kennzeichnung über data-animate am Abschnitt; Kinder mit .reveal und --i (Reihenfolge).
   Ohne JavaScript oder bei reduzierter Bewegung bleibt alles sofort sichtbar.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  /* Hero: gestaffelter Einstieg beim Laden, Radar-Ringe und einmaliger Sweep */
  [data-animate="hero"] .reveal { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
  [data-animate="hero"] .hero__ring { animation: ring-in 1.1s var(--ease) both; }
  [data-animate="hero"] .hero__ring--2 { animation-delay: .15s; }
  [data-animate="hero"] .hero__disc { animation: ring-in 1s var(--ease) .1s both; }
  [data-animate="hero"] .hero__people { animation: rise 1s var(--ease) .35s both; }
  [data-animate="hero"] .hero__sweep { animation: sweep 2.8s cubic-bezier(.4, 0, .2, 1) .9s 1 both; }
  [data-animate="hero"] .hero__badge { animation: badge-in .7s var(--ease) both; }
  [data-animate="hero"] .hero__badge--a { animation-delay: .9s; }
  [data-animate="hero"] .hero__badge--b { animation-delay: 1.1s; }
  [data-animate="hero"] .hero__badge--c { animation-delay: 1.3s; }

  [data-animate="fade-up"] .reveal { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 100ms + 60ms); }

  @media (scripting: enabled) {
    /* Beim Hineinscrollen (Klasse .is-visible setzt main.js per IntersectionObserver) */
    [data-animate]:is([data-animate="stagger"], [data-animate="count"], [data-animate="steps"], [data-animate="glow"]) .reveal {
      opacity: 0; transform: translateY(26px);
      transition: opacity .7s var(--ease), transform .7s var(--ease);
      transition-delay: calc(var(--i, 0) * 110ms);
    }
    [data-animate].is-visible .reveal { opacity: 1; transform: none; }

    [data-animate="steps"] .reveal { transition-delay: calc(var(--i, 0) * 220ms + 150ms); }
    [data-animate="steps"] .steps__line { transform: scaleX(0); transition: transform 1.3s var(--ease) .2s; }
    [data-animate="steps"].is-visible .steps__line { transform: scaleX(1); }

    [data-animate="glow"].is-visible .form-card { animation: glow-once 2.2s ease-out .5s 1 both; }
  }
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ring-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes badge-in { from { opacity: 0; transform: translateY(14px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes sweep {
  0% { opacity: 0; transform: rotate(0deg); }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: rotate(360deg); }
}
@keyframes glow-once {
  0% { box-shadow: var(--shadow), 0 0 0 0 rgb(56 211 245 / .55); border-color: var(--c-line-strong); }
  35% { box-shadow: var(--shadow), 0 0 0 10px rgb(56 211 245 / 0); border-color: var(--c-cyan); }
  100% { box-shadow: var(--shadow), 0 0 0 0 rgb(56 211 245 / 0); border-color: var(--c-line-strong); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
