/* ==========================================================================
   Hedgehog Engineering · Stylesheet
   Ein Stylesheet für alle Seiten. Keine externen Ressourcen.
   Farben aus Logo 1 gemessen (Eisblau #84FCFC/#9CE4FC, Stahlblau #3C84B4,
   Nachtblau #030917). Glut-Orange (#FF9A3C) kommt genau einmal vor: Festpreis-Stempel.
   Radius-Regel: Karten 28/22 px (Doppelrand), Buttons und Chips voll rund, Felder 14 px.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --nacht: #050b16;
  --tiefe: #081221;
  --flaeche: #0c192c;
  --flaeche-hoch: #11223b;
  --linie: rgba(160, 215, 255, 0.09);
  --linie-stark: rgba(160, 215, 255, 0.17);
  --tinte: #e8f1f7;
  --tinte-matt: #a3b6c6;
  --tinte-leise: #8197aa;
  --eis: #8be6ff;
  --eis-hell: #c4f3ff;
  --eis-tief: #2f7fb0;
  --eis-glas: rgba(139, 230, 255, 0.08);
  --glut: #ff9a3c;

  --sans: "Geist", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --r-aussen: 28px;
  --r-innen: 22px;
  --r-feld: 14px;

  --breite: 1240px;
  --rand: clamp(16px, 4vw, 40px);
  --abschnitt: clamp(96px, 12vw, 168px);

  --z-nav: 30;
  --z-menue: 40;
  --z-korn: 50;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fixe Hintergrund-Atmosphäre: zwei weiche Lichtquellen, kein Scroll-Repaint */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 88% -10%, rgba(47, 127, 176, 0.22), transparent 60%),
    radial-gradient(50vw 45vw at -10% 105%, rgba(139, 230, 255, 0.07), transparent 60%),
    linear-gradient(180deg, var(--nacht), #060e1c 60%, var(--nacht));
}
/* Filmkorn, fixiert und ohne Interaktion */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: var(--z-korn); pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
strong { font-weight: 600; color: var(--tinte); }
::selection { background: rgba(139, 230, 255, 0.28); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

:focus-visible {
  outline: 2px solid var(--eis);
  outline-offset: 3px;
  border-radius: 8px;
}

.sprung {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--eis); color: var(--nacht); padding: 10px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: transform 200ms var(--ease-out);
}
.sprung:focus { top: 16px; }

.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.abschnitt { padding-block: var(--abschnitt); position: relative; }

.mono { font-family: var(--mono); font-feature-settings: normal; letter-spacing: 0; }
.leise { color: var(--tinte-matt); }

/* Augenbraue: höchstens eine pro drei Abschnitte */
.augenbraue {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid var(--linie-stark);
  background: rgba(12, 25, 44, 0.6);
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--tinte-matt);
}
.augenbraue img { width: 22px; height: 22px; border-radius: 50%; }

.titel-2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 18ch; }
.titel-3 { font-size: clamp(22px, 2vw, 27px); letter-spacing: -0.025em; line-height: 1.15; }
.einleitung { margin-top: 22px; max-width: 58ch; color: var(--tinte-matt); font-size: clamp(17px, 1.35vw, 19px); }
.kopf { margin-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Buttons: Pille mit eingelassenem Pfeil-Kreis ---------- */
.knopf {
  --k-bg: var(--eis); --k-fg: #04121f; --k-kreis: rgba(4, 18, 31, 0.12);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 24px; min-height: 52px;
  border-radius: 999px; border: 0; cursor: pointer;
  background: var(--k-bg); color: var(--k-fg);
  font: 600 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 40px -12px rgba(139, 230, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 160ms var(--ease-out), box-shadow 300ms var(--ease-out), background-color 200ms ease;
}
.knopf__kreis {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--k-kreis);
  transition: transform 300ms var(--ease-out);
}
.knopf__kreis .icon { width: 18px; height: 18px; }
.knopf:active { transform: scale(0.97); }
.knopf--geist {
  --k-bg: rgba(139, 230, 255, 0.06); --k-fg: var(--tinte); --k-kreis: rgba(139, 230, 255, 0.12);
  box-shadow: inset 0 0 0 1px var(--linie-stark);
}
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { box-shadow: 0 16px 50px -12px rgba(139, 230, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
  .knopf--geist:hover { --k-bg: rgba(139, 230, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(139, 230, 255, 0.35); }
  .knopf:hover .knopf__kreis { transform: translate(2px, -1px) scale(1.06); }
}

/* ---------- Doppelrand: Schale + Kern ---------- */
.schale {
  padding: 6px; border-radius: var(--r-aussen);
  background: linear-gradient(180deg, rgba(160, 215, 255, 0.07), rgba(160, 215, 255, 0.02));
  box-shadow: inset 0 0 0 1px var(--linie);
}
.kern {
  height: 100%;
  border-radius: var(--r-innen);
  background: linear-gradient(180deg, var(--flaeche-hoch), var(--flaeche) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -40px rgba(0, 0, 0, 0.7);
  padding: clamp(24px, 2.6vw, 36px);
  position: relative; overflow: hidden;
}

/* ---------- Navigation: schwebende Insel ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: var(--z-nav);
  transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 24px);
  display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 10px; border-radius: 999px;
  background: rgba(8, 18, 33, 0.66);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--linie-stark), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}
.nav__marke { display: flex; align-items: center; gap: 10px; text-decoration: none; padding-right: 10px; }
.nav__marke img { width: 38px; height: 38px; border-radius: 50%; }
.nav__marke span { font-weight: 600; letter-spacing: -0.02em; font-size: 15px; line-height: 1.1; }
.nav__marke small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--tinte-leise); text-transform: uppercase; font-weight: 400; }
.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-size: 14.5px; color: var(--tinte-matt);
  transition: color 200ms ease, background-color 200ms ease;
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--tinte); background: rgba(139, 230, 255, 0.07); }
.nav .knopf { min-height: 44px; padding: 5px 5px 5px 18px; font-size: 14.5px; gap: 10px; }
.nav .knopf .knopf__kreis { width: 34px; height: 34px; }

.burger {
  display: none; position: relative;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(139, 230, 255, 0.08); color: var(--tinte);
}
.burger span {
  position: absolute; left: 14px; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform 400ms var(--ease-drawer), top 400ms var(--ease-drawer);
}
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

.menue {
  position: fixed; inset: 0; z-index: var(--z-menue);
  padding: 110px var(--rand) 40px;
  background: rgba(5, 11, 22, 0.86);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity 300ms var(--ease-out), visibility 0s linear 300ms;
}
.menue.offen { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease-out); }
.menue a {
  font-size: clamp(30px, 8vw, 44px); font-weight: 600; letter-spacing: -0.035em; text-decoration: none;
  padding: 6px 0; transform: translateY(28px); opacity: 0;
  transition: transform 600ms var(--ease-drawer), opacity 500ms var(--ease-out);
}
.menue.offen a { transform: none; opacity: 1; }
.menue.offen a:nth-child(2) { transition-delay: 50ms; }
.menue.offen a:nth-child(3) { transition-delay: 100ms; }
.menue.offen a:nth-child(4) { transition-delay: 150ms; }
.menue.offen a:nth-child(5) { transition-delay: 200ms; }
.menue.offen a:nth-child(6) { transition-delay: 250ms; }
.menue .knopf { margin-top: 24px; align-self: flex-start; font-size: 17px; letter-spacing: -0.01em; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav { left: 12px; right: 12px; transform: none; width: auto; justify-content: space-between; }
  .nav > .knopf { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100dvh;
  display: grid; align-items: center;
  padding-top: 112px; padding-bottom: 64px;
}
.hero__raster {
  display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
.hero h1 { font-size: clamp(40px, 4.6vw, 66px); letter-spacing: -0.045em; line-height: 1.02; text-wrap: wrap; }
.hero h1 em { display: block; }
.hero h1 em { font-style: normal; color: var(--eis); }
.hero__text { margin-top: 28px; max-width: 44ch; color: var(--tinte-matt); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.buehne { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; }
.buehne canvas { position: absolute; inset: -8%; width: 116% !important; height: 116% !important; }
.buehne__logo {
  position: absolute; inset: 15%; width: 70%; height: 70%;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  animation: schweben 9s var(--ease-in-out) infinite alternate;
}
.buehne__ring {
  position: absolute; inset: 8%; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--linie-stark), 0 0 120px -10px rgba(47, 127, 176, 0.45);
}
.buehne.mit-3d .buehne__ring { opacity: 0; }
@keyframes schweben { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 104px; }
  .hero__raster { grid-template-columns: 1fr; }
  .buehne { justify-self: center; max-width: 440px; order: -1; margin-bottom: -12px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 92px; padding-bottom: 40px; }
  .buehne { max-width: 210px; margin-bottom: -8px; }
  .hero__aktionen { margin-top: 28px; }
  .hero__text { margin-top: 18px; font-size: 16.5px; }
  .hero h1 { font-size: 35px; }
  .augenbraue { margin-bottom: 18px; }
}

/* ---------- Kennzahlenleiste unter dem Hero ---------- */
.leiste {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
}
.leiste > div { padding: 26px clamp(12px, 2vw, 28px); }
.leiste > div + div { border-left: 1px solid var(--linie); }
.leiste b { display: block; font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.leiste span { font-size: 14px; color: var(--tinte-matt); }
@media (max-width: 760px) {
  .leiste { grid-template-columns: 1fr 1fr; }
  .leiste > div:nth-child(3) { border-left: 0; }
  .leiste > div:nth-child(n+3) { border-top: 1px solid var(--linie); }
}

/* ---------- Definition + Vergleichstabelle ---------- */
.abschnitt--eng { padding-bottom: 0; }
.definition { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.definition__antwort { margin-top: 24px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--tinte-matt); max-width: 52ch; }
.definition__antwort strong { color: var(--eis); font-weight: 600; }
.tabelle-kern { padding: clamp(12px, 1.6vw, 22px); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabelle caption { text-align: left; font-family: var(--mono); font-size: 12px; color: var(--tinte-leise); padding: 6px 12px 14px; letter-spacing: 0.04em; }
.tabelle th, .tabelle td { text-align: left; padding: 16px 12px; vertical-align: top; }
.tabelle thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--tinte-leise); padding-top: 4px; padding-bottom: 10px; }
.tabelle tbody tr + tr { border-top: 1px solid var(--linie); }
.tabelle tbody th { font-weight: 600; color: var(--tinte); white-space: nowrap; }
.tabelle td { color: var(--tinte-matt); }
.tabelle td.mono { color: var(--eis-hell); font-size: 13.5px; white-space: nowrap; }
@media (max-width: 900px) {
  .definition { grid-template-columns: 1fr; }
  .tabelle thead { display: none; }
  .tabelle tr { display: grid; grid-template-columns: 1fr; padding: 12px 0; }
  .tabelle th, .tabelle td { padding: 4px 12px; }
}

/* ---------- Leistungen: asymmetrisches Bento ---------- */
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
}
.bento > .schale:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.bento > .schale:nth-child(2) { grid-column: span 5; }
.bento > .schale:nth-child(3) { grid-column: span 5; }
.bento > .schale:nth-child(4) { grid-column: span 6; }
.bento > .schale:nth-child(5) { grid-column: span 6; }
.bento .kern { display: flex; flex-direction: column; gap: 14px; }
.bento p { color: var(--tinte-matt); margin: 0; max-width: 46ch; }
.symbol {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--eis-glas); color: var(--eis);
  box-shadow: inset 0 0 0 1px rgba(139, 230, 255, 0.16);
}
.symbol .icon { width: 24px; height: 24px; }

.kern--raster {
  background:
    linear-gradient(rgba(139, 230, 255, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(139, 230, 255, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, #0f2440, var(--flaeche) 80%);
}
.kern--glut-leise {
  background: radial-gradient(120% 90% at 100% 0%, rgba(47, 127, 176, 0.32), transparent 60%), linear-gradient(180deg, var(--flaeche-hoch), var(--flaeche));
}

/* Einflussranking: echte Komponente, Beispieldaten ausgewiesen */
.ranking { margin-top: auto; padding-top: 18px; display: grid; gap: 14px; }
.ranking__zeile { display: grid; grid-template-columns: minmax(130px, 0.9fr) 2fr auto; gap: 14px; align-items: center; font-size: 14px; }
.ranking__zeile span:first-child { color: var(--tinte-matt); }
.ranking__balken { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--eis-tief), var(--eis)); transform-origin: left; transform: scaleX(var(--w, 0.5)); }
.ranking__zeile .mono { font-size: 13px; color: var(--tinte); }
.ranking__notiz { font-family: var(--mono); font-size: 11.5px; color: var(--tinte-leise); letter-spacing: 0.04em; margin-top: 4px; }
.gezeigt .ranking__balken { animation: wachsen 1100ms var(--ease-out) both; }
.gezeigt .ranking__zeile:nth-child(2) .ranking__balken { animation-delay: 80ms; }
.gezeigt .ranking__zeile:nth-child(3) .ranking__balken { animation-delay: 160ms; }
.gezeigt .ranking__zeile:nth-child(4) .ranking__balken { animation-delay: 240ms; }
.gezeigt .ranking__zeile:nth-child(5) .ranking__balken { animation-delay: 320ms; }
@keyframes wachsen { from { transform: scaleX(0); } }
.w-92 { --w: 0.92; } .w-71 { --w: 0.71; } .w-58 { --w: 0.58; } .w-37 { --w: 0.37; } .w-21 { --w: 0.21; }

/* Ampel mit echter Zustandsbedeutung */
.ampel { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.ampel span {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; background: rgba(5, 11, 22, 0.5); box-shadow: inset 0 0 0 1px var(--linie);
}
.ampel i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.ampel .gruen { background: #5fe0a5; } .ampel .gelb { background: #f2cf5b; } .ampel .rot { background: #ff6b6b; }

.textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--eis); text-decoration: none; font-weight: 500; margin-top: auto; }
.textlink .icon { transition: transform 300ms var(--ease-out); }
.textlink:hover .icon { transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .bento > .schale:nth-child(n) { grid-column: span 12; grid-row: auto; }
}

/* ---------- Pakete ---------- */
.umschalter {
  display: inline-flex; padding: 5px; border-radius: 999px; gap: 4px; position: relative;
  background: rgba(12, 25, 44, 0.7); box-shadow: inset 0 0 0 1px var(--linie-stark);
  margin-bottom: 40px;
}
.umschalter button {
  position: relative; z-index: 1; border: 0; background: transparent; color: var(--tinte-matt);
  font: 500 15px/1 var(--sans); padding: 12px 20px; border-radius: 999px; cursor: pointer;
  transition: color 200ms ease;
}
.umschalter button[aria-pressed="true"] { color: #04121f; }
.umschalter__puck {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--eis);
  transition: transform 350ms var(--ease-drawer), width 350ms var(--ease-drawer);
}
.umschalter small { font-family: var(--mono); font-size: 11px; margin-left: 6px; opacity: 0.8; }

.pakete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.paket .kern { display: flex; flex-direction: column; }
.paket__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.paket__buchstabe { font-family: var(--mono); font-size: 13px; color: var(--tinte-leise); letter-spacing: 0.08em; }
.paket h3 { font-size: 26px; margin-top: 6px; }
.paket__marke {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: rgba(139, 230, 255, 0.12); color: var(--eis);
}
.paket__preis { margin-top: 30px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.paket__preis b { font-size: clamp(40px, 4vw, 54px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.paket__preis span { color: var(--tinte-matt); }
.paket__satz { margin-top: 8px; font-family: var(--mono); font-size: 13px; color: var(--tinte-matt); min-height: 1.6em; }
.paket__fuer { margin: 22px 0 0; color: var(--tinte-matt); }
.paket ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.paket li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.paket li .icon { color: var(--eis); margin-top: 3px; width: 18px; height: 18px; }
.paket .knopf { margin-top: auto; justify-content: space-between; }
.paket--hervor { margin-top: -14px; }
.paket--hervor > .schale, .paket--hervor.schale {
  background: linear-gradient(180deg, rgba(139, 230, 255, 0.35), rgba(139, 230, 255, 0.06));
}
.paket--hervor .kern {
  background: radial-gradient(110% 60% at 50% 0%, rgba(47, 127, 176, 0.35), transparent 70%), linear-gradient(180deg, #132a48, var(--flaeche));
}
.preis-wechsel { transition: opacity 180ms ease, filter 180ms ease; }
.preis-wechsel.wechselt { opacity: 0.2; filter: blur(3px); }
.hinweis { margin-top: 28px; font-size: 14px; color: var(--tinte-leise); max-width: 90ch; }

@media (max-width: 960px) {
  .pakete { grid-template-columns: 1fr; max-width: 520px; }
  .paket--hervor { margin-top: 0; order: -1; }
}

/* ---------- Leistungsumfang: sticky Kopf + gruppierte Liste ---------- */
.umfang { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.umfang__kopf { position: sticky; top: 120px; align-self: start; }
.gruppe + .gruppe { margin-top: 56px; }
.gruppe h3 { font-family: var(--mono); font-size: 13px; text-transform: none; letter-spacing: 0.04em; color: var(--eis); font-weight: 500; padding-bottom: 18px; border-bottom: 1px solid var(--linie-stark); }
.punkte { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; margin-top: 28px; }
.punkt { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.punkt .icon { color: var(--eis); width: 22px; height: 22px; margin-top: 2px; }
.punkt h4 { font-size: 17px; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 6px; }
.punkt p { color: var(--tinte-matt); font-size: 15.5px; margin: 0; }
@media (max-width: 900px) {
  .umfang { grid-template-columns: 1fr; }
  .umfang__kopf { position: static; }
  .punkte { grid-template-columns: 1fr; }
}

/* ---------- Festpreis: das Leistungsverzeichnis (Signature) ---------- */
.festpreis { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.vergleich { margin-top: 40px; display: grid; gap: 12px; }
.vergleich__zeile {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 20px; border-radius: 18px;
  background: rgba(12, 25, 44, 0.55); box-shadow: inset 0 0 0 1px var(--linie);
}
.vergleich__zeile b { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--eis); padding-top: 2px; }
.vergleich__zeile p { margin: 0; color: var(--tinte-matt); font-size: 15.5px; }

.blatt { transform: rotate(1.6deg); transition: transform 700ms var(--ease-drawer); }
.blatt:hover { transform: rotate(0deg); }
.blatt .kern { padding: clamp(24px, 3vw, 42px); background: linear-gradient(180deg, #102340, #0b1829); }
.blatt__kopf { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px dashed var(--linie-stark); }
.blatt__kopf small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--tinte-leise); letter-spacing: 0.08em; text-transform: uppercase; }
.blatt__kopf strong { display: block; margin-top: 6px; font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; }
.stempel {
  flex: none; align-self: flex-start; transform: rotate(-8deg);
  border: 1.5px solid var(--glut); color: var(--glut); border-radius: 12px; padding: 8px 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; line-height: 1.35;
  box-shadow: 0 0 30px -6px rgba(255, 154, 60, 0.45), inset 0 0 18px -8px rgba(255, 154, 60, 0.5);
}
.pos { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--linie); }
.pos__nr { font-family: var(--mono); font-size: 13px; color: var(--tinte-leise); padding-top: 3px; }
.pos h4 { font-size: 16.5px; letter-spacing: -0.01em; line-height: 1.3; }
.pos p { margin: 6px 0 0; font-size: 14.5px; color: var(--tinte-matt); }
.pos__betrag { font-family: var(--mono); font-size: 15px; white-space: nowrap; padding-top: 2px; }
.blatt__summe { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 22px; }
.blatt__summe span { color: var(--tinte-matt); }
.blatt__summe b { font-family: var(--mono); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; color: var(--eis-hell); }
.blatt__fuss { margin-top: 20px; font-size: 13.5px; color: var(--tinte-leise); }
.blatt__fuss p { margin: 0 0 6px; }
@media (max-width: 960px) {
  .festpreis { grid-template-columns: 1fr; }
  .blatt { transform: none; }
}

/* ---------- Ablauf: horizontale Zeitleiste ---------- */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: schritt; }
.ablauf li { position: relative; padding: 0 clamp(14px, 2vw, 28px) 0 0; }
.ablauf__linie { display: flex; align-items: center; gap: 0; margin-bottom: 30px; }
.ablauf__knoten {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--flaeche-hoch); color: var(--eis);
  box-shadow: inset 0 0 0 1px rgba(139, 230, 255, 0.3), 0 0 0 8px rgba(5, 11, 22, 0.9);
}
.ablauf__knoten .icon { width: 22px; height: 22px; }
.ablauf__strich { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(139, 230, 255, 0.45), rgba(139, 230, 255, 0.05)); transform-origin: left; }
.ablauf li:last-child .ablauf__strich { background: transparent; }
.gezeigt .ablauf__strich { animation: wachsen 1400ms var(--ease-out) 200ms both; }
.ablauf h3 { font-size: 24px; letter-spacing: -0.03em; }
.ablauf .mono { font-size: 12.5px; color: var(--tinte-leise); display: block; margin-bottom: 8px; }
.ablauf p { color: var(--tinte-matt); margin-top: 12px; font-size: 15.5px; max-width: 30ch; }
@media (max-width: 900px) {
  .ablauf { grid-template-columns: 1fr; gap: 0; }
  .ablauf li { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 0 0 36px; }
  .ablauf__linie { flex-direction: column; margin: 0; align-self: stretch; }
  .ablauf__strich { width: 1px; height: auto; flex: 1; background: linear-gradient(180deg, rgba(139, 230, 255, 0.45), rgba(139, 230, 255, 0.05)); }
  .gezeigt .ablauf__strich { animation: none; }
}

/* ---------- Datensicherheit ---------- */
.sicher {
  border-radius: 36px; padding: clamp(32px, 6vw, 88px);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(47, 127, 176, 0.28), transparent 60%),
    linear-gradient(160deg, #0d1e36, #08111f);
  box-shadow: inset 0 0 0 1px var(--linie-stark), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative; overflow: hidden;
}
.sicher::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: url("img/emblem-512.webp") center / contain no-repeat; opacity: 0.08; filter: grayscale(0.3);
  pointer-events: none;
}
.sicher h2 { font-size: clamp(34px, 5vw, 66px); max-width: 15ch; }
.sicher__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; margin-top: clamp(48px, 6vw, 72px); position: relative; z-index: 1; }
.sicher__raster h3 { font-size: 18px; letter-spacing: -0.015em; line-height: 1.3; margin: 16px 0 8px; }
.sicher__raster p { color: var(--tinte-matt); font-size: 15.5px; margin: 0; }
.sicher__satz { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--linie-stark); max-width: 70ch; color: var(--tinte); font-size: clamp(17px, 1.4vw, 19px); position: relative; z-index: 1; }
@media (max-width: 900px) { .sicher__raster { grid-template-columns: 1fr; } }

/* ---------- Netzwerk: Link-Zeilen ---------- */
.netz { display: grid; gap: 14px; }
.netz__zeile {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 36px); align-items: center;
  padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-aussen); text-decoration: none;
  background: rgba(12, 25, 44, 0.5); box-shadow: inset 0 0 0 1px var(--linie);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}
.netz__zeichen {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; overflow: hidden;
  background: var(--flaeche-hoch); box-shadow: inset 0 0 0 1px var(--linie-stark);
  font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--eis);
}
.netz__zeichen img { width: 100%; height: 100%; object-fit: cover; }
.netz__zeile h3 { font-size: clamp(22px, 2.2vw, 30px); }
.netz__zeile p { margin: 8px 0 0; color: var(--tinte-matt); font-size: 15.5px; max-width: 62ch; }
.netz__zeile .mono { font-size: 12.5px; color: var(--tinte-leise); }
.netz__pfeil {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--eis);
  box-shadow: inset 0 0 0 1px var(--linie-stark); transition: transform 400ms var(--ease-out), background-color 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .netz__zeile:hover { background: rgba(17, 34, 59, 0.75); box-shadow: inset 0 0 0 1px rgba(139, 230, 255, 0.28); }
  .netz__zeile:hover .netz__pfeil { transform: translate(3px, -3px); background: rgba(139, 230, 255, 0.1); }
}
@media (max-width: 640px) {
  .netz__zeile { grid-template-columns: 56px 1fr; }
  .netz__zeichen { width: 56px; height: 56px; border-radius: 18px; }
  .netz__pfeil { display: none; }
}

/* ---------- FAQ ---------- */
.faq-raster { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--linie-stark); }
.faq details:first-child { border-top: 1px solid var(--linie-stark); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--eis); transition: transform 300ms var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--tinte-matt); margin: 0; padding: 0 0 26px; max-width: 64ch; }
@media (max-width: 900px) { .faq-raster { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 14px; align-items: start; }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feld { display: grid; gap: 8px; }
.feld--breit { grid-column: 1 / -1; }
.feld label { font-size: 14px; font-weight: 500; color: var(--tinte); }
.feld label span { color: var(--tinte-leise); font-weight: 400; }
.feld input, .feld select, .feld textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--tinte);
  background: rgba(5, 11, 22, 0.55); border: 0; border-radius: var(--r-feld);
  padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--linie-stark);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--eis) 50%), linear-gradient(135deg, var(--eis) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.feld select option { background: var(--tiefe); }
.feld input::placeholder, .feld textarea::placeholder { color: #7088a0; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--eis); background: rgba(5, 11, 22, 0.8); }
.feld small { font-size: 13px; color: var(--tinte-leise); }
.einwilligung { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--tinte-matt); }
.einwilligung input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--eis); }
.einwilligung a { color: var(--eis); }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular .knopf { justify-self: start; }
.formular__fehler {
  grid-column: 1 / -1; display: none; padding: 14px 18px; border-radius: var(--r-feld);
  background: rgba(255, 107, 107, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.4); color: #ffc9c9; font-size: 15px;
}
.formular__fehler.sichtbar { display: block; }
.person { display: grid; gap: 18px; }
.person__kopf { display: flex; gap: 16px; align-items: center; }
.person__kopf img { width: 64px; height: 64px; border-radius: 50%; }
.person__kopf b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.person__kopf span { font-size: 14px; color: var(--tinte-matt); }
.person ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.person li a, .person li > span { display: flex; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; color: var(--tinte); font-size: 15.5px; }
.person li .icon { color: var(--eis); }
.person li a:hover { color: var(--eis-hell); }
.person p { color: var(--tinte-matt); font-size: 15px; margin: 0; }
@media (max-width: 960px) {
  .kontakt { grid-template-columns: 1fr; }
  .formular { grid-template-columns: 1fr; }
}

/* ---------- Fußzeile ---------- */
.fuss { padding: 88px 0 48px; border-top: 1px solid var(--linie); margin-top: 40px; }
.fuss__raster { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.fuss__marke { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.fuss__marke img { width: 52px; height: 52px; border-radius: 50%; }
.fuss__marke b { font-size: 18px; letter-spacing: -0.02em; display: block; }
.fuss__marke span { font-size: 13px; color: var(--tinte-leise); }
.fuss h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tinte-leise); margin-bottom: 18px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fuss a { text-decoration: none; color: var(--tinte-matt); font-size: 15px; transition: color 200ms ease; }
.fuss a:hover { color: var(--tinte); }
.fuss address { font-style: normal; color: var(--tinte-matt); font-size: 15px; margin-top: 22px; line-height: 1.7; }
.fuss__unten { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--linie); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--tinte-leise); }
@media (max-width: 900px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .fuss__raster > :first-child { grid-column: 1 / -1; } }

/* ---------- Rechtstexte & Unterseiten ---------- */
.text-seite { padding-top: 150px; padding-bottom: 80px; }
.text-seite h1 { font-size: clamp(38px, 5vw, 62px); margin-bottom: 16px; }
.text-seite .stand { font-family: var(--mono); font-size: 13px; color: var(--tinte-leise); margin-bottom: 56px; }
.prosa { max-width: 72ch; }
.prosa h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 56px 0 16px; letter-spacing: -0.025em; line-height: 1.2; }
.prosa h3 { font-size: 18px; margin: 32px 0 10px; letter-spacing: -0.015em; }
.prosa p, .prosa li { color: var(--tinte-matt); }
.prosa a { color: var(--eis); }
.prosa ul { padding-left: 1.2em; }
.prosa li { margin-bottom: 6px; }
.luecke { background: #fff4d6; border: 1px dashed #c9a227; color: #6b5310; padding: 2px 7px; border-radius: 4px; font-family: var(--mono); font-size: 0.85em; }
.mitte { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 140px var(--rand) 80px; }
.mitte h1 { font-size: clamp(38px, 5vw, 64px); }
.mitte p { color: var(--tinte-matt); max-width: 52ch; margin: 22px auto 36px; }
.mitte img { margin: 0 auto 28px; width: 120px; height: 120px; border-radius: 50%; }

/* ---------- Einblenden beim Scrollen ---------- */
.js .auftauchen { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out); }
.js .auftauchen.gezeigt { opacity: 1; transform: none; filter: none; }
.js .auftauchen.verzoegert-1 { transition-delay: 70ms; }
.js .auftauchen.verzoegert-2 { transition-delay: 140ms; }
.js .auftauchen.verzoegert-3 { transition-delay: 210ms; }
.js .auftauchen.verzoegert-4 { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .auftauchen { opacity: 1; transform: none; filter: none; }
  .blatt { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .menue { background: var(--tiefe); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media print {
  body::before, body::after, .nav, .menue, .buehne, .formular, .burger { display: none !important; }
  body { background: #fff; color: #000; }
  .abschnitt { padding-block: 24px; }
  .kern, .schale, .sicher { background: none !important; box-shadow: none !important; }
  * { color: #000 !important; }
}
