/* ==========================================================================
   IT-Service Nagel – style.css
   Designkonzept: "Leiterplatte" – Platinen-Blau, Kupfer als seltener Akzent,
   scharfe Kanten, Passermarken, abgeschrägte Buttons.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Farben */
  --substrat:      #050a16;   /* Seitenhintergrund, Platinen-Substrat */
  --platine:       #0a1730;   /* Karten, Flächen */
  --platine-hoch:  #0e2247;   /* hervorgehobene Flächen */
  --linie:         #16345f;   /* Hairlines, Rahmen */
  --linie-hell:    #1e4a85;   /* Rahmen bei Hover */
  --signal:        #2e9bff;   /* Primärakzent */
  --leuchten:      #6fe3ff;   /* Glow, Pulse */
  --kupfer:        #e9a44a;   /* seltener Warmakzent */
  --text:          #a9bcd8;   /* Fließtext */
  --text-hell:     #e8f1ff;   /* Überschriften */
  --text-leise:    #6d84a6;   /* Meta, Captions */
  --warn:          #ff6b6b;

  /* Typografie */
  --display: "Chakra Petch", "Segoe UI", sans-serif;
  --body:    "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", "Consolas", monospace;

  /* Maße */
  --breite:    1180px;
  --breite-eng: 760px;
  --kopfhoehe: 72px;
  --cut:       14px;         /* Abschrägung */

  /* Bewegung */
  --schnell: 160ms cubic-bezier(.4, 0, .2, 1);
  --ruhig:   420ms cubic-bezier(.16, .84, .44, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopfhoehe) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--substrat);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Feines Blueprint-Raster über der gesamten Seite */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(46, 155, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 155, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
}

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

a {
  color: var(--signal);
  text-decoration: none;
  transition: color var(--schnell);
}
a:hover { color: var(--leuchten); }

:focus-visible {
  outline: 2px solid var(--leuchten);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Typografie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--text-hell);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.fuehrung {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--text);
  max-width: 62ch;
}

/* Eyebrow im Mono-Stil – die Auszeichnung der Seite */
.marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px;
}
.marke::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.akzent { color: var(--signal); }

.mono-klein {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-leise);
}

/* --------------------------------------------------------------------------
   4. Layout-Gerüst
   -------------------------------------------------------------------------- */
.huelle {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.abschnitt {
  padding: clamp(64px, 9vw, 118px) 0;
  position: relative;
  z-index: 1;
}
.abschnitt--schmal { padding: clamp(44px, 6vw, 72px) 0; }

.trennlinie { border-top: 1px solid var(--linie); }

.kopfzeile-block {
  max-width: 720px;
  margin-bottom: clamp(38px, 5vw, 60px);
}

.raster {
  display: grid;
  gap: 20px;
}
.raster--2 { grid-template-columns: repeat(2, 1fr); }
.raster--3 { grid-template-columns: repeat(3, 1fr); }
.raster--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .raster--3, .raster--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .raster--2, .raster--3, .raster--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   5. Kopfzeile & Navigation
   -------------------------------------------------------------------------- */
.kopf {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--kopfhoehe);
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--schnell), border-color var(--schnell), backdrop-filter var(--schnell);
}
.kopf.ist-gescrollt {
  background: rgba(5, 10, 22, .88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--linie);
}

.kopf__inhalt {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: .01em;
  color: var(--text-hell);
  white-space: nowrap;
}
.logo:hover { color: var(--text-hell); }
.logo__zeichen {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid var(--linie-hell);
  display: grid;
  place-items: center;
  color: var(--signal);
  background: rgba(46, 155, 255, .07);
}
.logo__zeichen svg { width: 17px; height: 17px; }
.logo em {
  font-style: normal;
  color: var(--signal);
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  padding: 9px 14px;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--text);
}
.nav__link:hover { color: var(--text-hell); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--schnell);
}
.nav__link:hover::after,
.nav__link.ist-aktiv::after { transform: scaleX(1); }
.nav__link.ist-aktiv { color: var(--text-hell); }

.kopf__aktion { margin-left: 8px; }

.nav-schalter {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--linie);
  background: transparent;
  color: var(--text-hell);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-schalter span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background var(--schnell);
}
.nav-schalter span::before,
.nav-schalter span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform var(--schnell);
}
.nav-schalter span::before { top: -6px; }
.nav-schalter span::after  { top: 6px; }
.nav-schalter[aria-expanded="true"] span { background: transparent; }
.nav-schalter[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-schalter[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-schalter { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--kopfhoehe); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 10, 22, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--linie);
    padding: 12px 24px 24px;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--schnell), transform var(--schnell), visibility var(--schnell);
  }
  .nav.ist-offen { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link {
    padding: 14px 0;
    font-size: .95rem;
    border-bottom: 1px solid rgba(22, 52, 95, .6);
  }
  .nav__link::after { left: 0; right: 0; bottom: 0; }
  .kopf__aktion { margin: 18px 0 0; }
  .kopf__aktion .knopf { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   6. Knöpfe – abgeschrägte Ecke als Signatur
   -------------------------------------------------------------------------- */
.knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--mono);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background var(--schnell), color var(--schnell), box-shadow var(--schnell), transform var(--schnell);
}
.knopf:active { transform: translateY(1px); }

.knopf--voll {
  background: var(--signal);
  color: #04101f;
  box-shadow: 0 0 0 rgba(46, 155, 255, 0);
}
.knopf--voll:hover {
  background: var(--leuchten);
  color: #04101f;
  box-shadow: 0 8px 34px rgba(46, 155, 255, .32);
}

.knopf--linie {
  background: rgba(46, 155, 255, .06);
  color: var(--text-hell);
  box-shadow: inset 0 0 0 1px var(--linie-hell);
}
.knopf--linie:hover {
  background: rgba(46, 155, 255, .14);
  color: var(--text-hell);
  box-shadow: inset 0 0 0 1px var(--signal);
}

.knopf-gruppe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.pfeil-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pfeil-link svg { width: 14px; height: 14px; transition: transform var(--schnell); }
.pfeil-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   7. Karten & Passermarken
   -------------------------------------------------------------------------- */
.karte {
  position: relative;
  background: var(--platine);
  border: 1px solid var(--linie);
  padding: 30px 26px;
  transition: border-color var(--ruhig), background var(--ruhig), transform var(--ruhig);
}
/* Passermarken: L-Winkel oben links & unten rechts */
.karte::before,
.karte::after {
  content: "";
  position: absolute;
  width: 11px; height: 11px;
  opacity: 0;
  transition: opacity var(--ruhig);
  pointer-events: none;
}
.karte::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--signal);
  border-left: 1px solid var(--signal);
}
.karte::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--signal);
  border-right: 1px solid var(--signal);
}
.karte:hover {
  border-color: var(--linie-hell);
  background: var(--platine-hoch);
  transform: translateY(-3px);
}
.karte:hover::before,
.karte:hover::after { opacity: 1; }

.karte__symbol {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--linie-hell);
  color: var(--signal);
  margin-bottom: 20px;
  background: rgba(46, 155, 255, .06);
  transition: box-shadow var(--ruhig), color var(--ruhig);
}
.karte__symbol svg { width: 21px; height: 21px; }
.karte:hover .karte__symbol {
  color: var(--leuchten);
  box-shadow: 0 0 22px rgba(46, 155, 255, .3);
}
.karte h3 { margin-bottom: .45em; }
.karte p { font-size: .95rem; color: var(--text); }

.karte__liste {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: .9rem;
}
.karte__liste li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 7px;
  color: var(--text);
}
.karte__liste li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 1px;
  background: var(--signal);
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--kopfhoehe) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(56px, 8vw, 100px);
  overflow: hidden;
}

.hero__gitter {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__text { max-width: 620px; }
.hero h1 { margin-bottom: .38em; }
.hero h1 .zeile { display: block; }

.hero__leinwand {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 1px solid var(--linie);
  background:
    radial-gradient(circle at 50% 50%, rgba(46, 155, 255, .10), transparent 68%),
    var(--platine);
}
.hero__leinwand canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__leinwand::after {
  content: "SIGNALNETZ";
  position: absolute;
  bottom: 10px; right: 12px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .22em;
  color: var(--text-leise);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__gitter { grid-template-columns: 1fr; }
  .hero__leinwand { aspect-ratio: 16 / 10; order: -1; }
}

/* Statusband unter dem Hero */
.band {
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  background: rgba(10, 23, 48, .55);
}
.band__inhalt {
  display: flex;
  flex-wrap: wrap;
}
.band__punkt {
  flex: 1 1 200px;
  padding: 22px 24px;
  border-right: 1px solid var(--linie);
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 11px;
}
.band__punkt:last-child { border-right: 0; }
.band__punkt svg { width: 15px; height: 15px; color: var(--signal); flex: 0 0 15px; }
@media (max-width: 700px) {
  .band__punkt { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--linie); }
  .band__punkt:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   9. Ablauf – nummerierte Folge (Reihenfolge trägt hier Information)
   -------------------------------------------------------------------------- */
.schritt {
  position: relative;
  padding: 28px 0 0;
  border-top: 1px solid var(--linie);
}
.schritt__nr {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--signal);
  display: block;
  margin-bottom: 14px;
}
.schritt h3 { font-size: 1.12rem; margin-bottom: .4em; }
.schritt p { font-size: .93rem; }
.schritt::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 34px; height: 3px;
  background: var(--signal);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   10. Referenzen
   -------------------------------------------------------------------------- */
.stimme {
  position: relative;
  background: var(--platine);
  border: 1px solid var(--linie);
  border-left: 2px solid var(--signal);
  padding: 28px 26px;
  transition: border-color var(--ruhig), transform var(--ruhig);
}
.stimme:hover { transform: translateY(-3px); border-color: var(--linie-hell); border-left-color: var(--leuchten); }
.stimme blockquote {
  margin: 0 0 20px;
  font-size: 1rem;
  color: var(--text-hell);
  line-height: 1.6;
}
.stimme figcaption {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-leise);
}

/* --------------------------------------------------------------------------
   11. Preise
   -------------------------------------------------------------------------- */
.tarif {
  position: relative;
  background: var(--platine);
  border: 1px solid var(--linie);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--ruhig), transform var(--ruhig);
}
.tarif:hover { border-color: var(--linie-hell); transform: translateY(-3px); }

.tarif__name {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px;
}
.tarif__preis {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-hell);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.tarif__preis small {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-leise);
}
.tarif__notiz {
  font-size: .82rem;
  color: var(--text-leise);
  margin: 10px 0 24px;
}
.tarif__liste {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: .93rem;
  flex: 1;
}
.tarif__liste li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.tarif__liste li::before {
  content: "";
  position: absolute;
  left: 0; top: .48em;
  width: 6px; height: 6px;
  border: 1px solid var(--signal);
  background: rgba(46, 155, 255, .25);
}
.tarif .knopf { justify-content: center; }

/* Kupfer als einziger Warmakzent – nur hier */
.tarif--empfohlen {
  border-color: var(--kupfer);
  background: linear-gradient(180deg, rgba(233, 164, 74, .07), transparent 45%), var(--platine);
}
.tarif--empfohlen .tarif__name { color: var(--kupfer); }
.tarif--empfohlen .tarif__liste li::before {
  border-color: var(--kupfer);
  background: rgba(233, 164, 74, .25);
}
.tarif--empfohlen .knopf--voll { background: var(--kupfer); }
.tarif--empfohlen .knopf--voll:hover {
  background: #f5b866;
  box-shadow: 0 8px 34px rgba(233, 164, 74, .3);
}
.tarif__fahne {
  position: absolute;
  top: -1px; right: -1px;
  background: var(--kupfer);
  color: #14100a;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
}

/* --------------------------------------------------------------------------
   12. Detail-Leistungen (Wechselseiten-Layout)
   -------------------------------------------------------------------------- */
.leistung {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: 42px 0;
  border-top: 1px solid var(--linie);
  align-items: start;
}
.leistung__marke {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
  padding-top: 6px;
}
.leistung h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.leistung__punkte {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 26px;
  font-size: .92rem;
}
.leistung__punkte li {
  position: relative;
  padding-left: 20px;
}
.leistung__punkte li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 7px; height: 1px;
  background: var(--signal);
}
@media (max-width: 760px) {
  .leistung { grid-template-columns: 1fr; gap: 14px; }
  .leistung__punkte { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   13. Datenblatt (Über mich)
   -------------------------------------------------------------------------- */
.datenblatt {
  border: 1px solid var(--linie);
  background: var(--platine);
}
.datenblatt__zeile {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--linie);
  font-size: .93rem;
}
.datenblatt__zeile:last-child { border-bottom: 0; }
.datenblatt__zeile dt {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-leise);
  padding-top: 3px;
}
.datenblatt__zeile dd { margin: 0; color: var(--text-hell); }
@media (max-width: 620px) {
  .datenblatt__zeile { grid-template-columns: 1fr; gap: 5px; }
}

.merkmale {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.merkmale li {
  position: relative;
  padding-left: 26px;
  font-size: .96rem;
}
.merkmale li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 9px; height: 9px;
  border: 1px solid var(--signal);
  background: rgba(46, 155, 255, .2);
}

/* --------------------------------------------------------------------------
   14. Formular
   -------------------------------------------------------------------------- */
.kontakt-gitter {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .kontakt-gitter { grid-template-columns: 1fr; } }

.formular {
  background: var(--platine);
  border: 1px solid var(--linie);
  padding: clamp(24px, 3.5vw, 38px);
}
.feld-reihe {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 560px) { .feld-reihe { grid-template-columns: 1fr; } }

.feld { margin-bottom: 18px; }
.feld label {
  display: block;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-bottom: 8px;
}
.feld input,
.feld select,
.feld textarea {
  width: 100%;
  background: rgba(5, 10, 22, .7);
  border: 1px solid var(--linie);
  color: var(--text-hell);
  font-family: var(--body);
  font-size: .97rem;
  padding: 12px 14px;
  transition: border-color var(--schnell), box-shadow var(--schnell);
}
.feld textarea { resize: vertical; min-height: 148px; }
.feld input::placeholder,
.feld textarea::placeholder { color: #4c6284; }
.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(46, 155, 255, .14);
}
.feld input[aria-invalid="true"],
.feld textarea[aria-invalid="true"] { border-color: var(--warn); }

.feld__fehler {
  display: block;
  font-family: var(--mono);
  font-size: .73rem;
  letter-spacing: .04em;
  color: var(--warn);
  margin-top: 7px;
  min-height: 1em;
  text-transform: none;
}

.zustimmung {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .87rem;
  color: var(--text);
  margin: 6px 0 24px;
  line-height: 1.5;
}
.zustimmung input {
  width: 17px; height: 17px;
  flex: 0 0 17px;
  margin-top: 2px;
  accent-color: var(--signal);
}

.formular__rueckmeldung {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--signal);
  background: rgba(46, 155, 255, .08);
  font-size: .9rem;
  color: var(--text-hell);
  display: none;
}
.formular__rueckmeldung.ist-sichtbar { display: block; }
.formular__rueckmeldung.ist-fehler {
  border-left-color: var(--warn);
  background: rgba(255, 107, 107, .08);
}

/* Honigtopf gegen Spam-Bots – für Menschen unsichtbar */
.honigtopf {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.kontaktdaten {
  border: 1px solid var(--linie);
  background: var(--platine);
}
.kontaktdaten__eintrag {
  padding: 20px 24px;
  border-bottom: 1px solid var(--linie);
}
.kontaktdaten__eintrag:last-child { border-bottom: 0; }
.kontaktdaten__eintrag span {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-bottom: 7px;
}
.kontaktdaten__eintrag strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--text-hell);
}

/* --------------------------------------------------------------------------
   15. Seitenkopf (Unterseiten) & Aufruf-Band
   -------------------------------------------------------------------------- */
.seitenkopf {
  padding-top: calc(var(--kopfhoehe) + clamp(50px, 7vw, 84px));
  padding-bottom: clamp(38px, 5vw, 60px);
  border-bottom: 1px solid var(--linie);
  position: relative;
}
.seitenkopf h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.seitenkopf .fuehrung { margin-top: 4px; }

.aufruf {
  border: 1px solid var(--linie);
  background:
    radial-gradient(ellipse 70% 130% at 15% 0%, rgba(46, 155, 255, .15), transparent 62%),
    var(--platine);
  padding: clamp(36px, 5vw, 62px);
  text-align: center;
}
.aufruf h2 { margin-bottom: .35em; }
.aufruf .fuehrung { margin: 0 auto; }
.aufruf .knopf-gruppe { justify-content: center; }

/* --------------------------------------------------------------------------
   16. Rechtstexte
   -------------------------------------------------------------------------- */
.rechtstext { max-width: var(--breite-eng); }
.rechtstext h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--linie);
}
.rechtstext h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.rechtstext h3 { font-size: 1.05rem; margin-top: 1.6em; }
.rechtstext p, .rechtstext li { font-size: .96rem; }
.rechtstext ul { padding-left: 20px; }
.rechtstext li { margin-bottom: 6px; }

.hinweis {
  border: 1px dashed var(--kupfer);
  background: rgba(233, 164, 74, .07);
  padding: 18px 22px;
  margin-bottom: 38px;
  font-size: .9rem;
  color: var(--text-hell);
}
.hinweis strong { color: var(--kupfer); }

/* --------------------------------------------------------------------------
   17. Fußzeile
   -------------------------------------------------------------------------- */
.fuss {
  border-top: 1px solid var(--linie);
  background: rgba(10, 23, 48, .4);
  padding: 56px 0 0;
  position: relative;
  z-index: 1;
}
.fuss__gitter {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
@media (max-width: 760px) { .fuss__gitter { grid-template-columns: 1fr; gap: 30px; } }

.fuss h4 {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-bottom: 16px;
}
.fuss__liste { list-style: none; padding: 0; margin: 0; }
.fuss__liste li { margin-bottom: 9px; font-size: .93rem; }
.fuss__liste a { color: var(--text); }
.fuss__liste a:hover { color: var(--signal); }
.fuss__text { font-size: .93rem; max-width: 38ch; }

.fuss__unten {
  border-top: 1px solid var(--linie);
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--text-leise);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.status__punkt {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(46, 155, 255, .55);
  animation: puls 2.6s ease-out infinite;
}
@keyframes puls {
  0%   { box-shadow: 0 0 0 0 rgba(46, 155, 255, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(46, 155, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 155, 255, 0); }
}

/* --------------------------------------------------------------------------
   18. Scroll-Einblendung
   -------------------------------------------------------------------------- */
.js .zeigen {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--ruhig), transform var(--ruhig);
}
.js .zeigen.ist-sichtbar {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   19. Barrierefreiheit
   -------------------------------------------------------------------------- */
.nur-fuer-screenreader {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprung-link {
  position: absolute;
  top: -70px; left: 16px;
  z-index: 200;
  background: var(--signal);
  color: #04101f;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: .8rem;
  transition: top var(--schnell);
}
.sprung-link:focus { top: 12px; color: #04101f; }

/* --------------------------------------------------------------------------
   20. Scroll-Fortschritt in der Kopfzeile
   -------------------------------------------------------------------------- */
.fortschritt {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--signal), var(--leuchten));
  box-shadow: 0 0 12px rgba(46, 155, 255, .7);
  will-change: transform;
  z-index: 2;
}
/* kleiner Leuchtkopf am vorderen Ende des Balkens */
.fortschritt::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--leuchten);
  transform: translate(50%, -50%);
  box-shadow: 0 0 10px 2px rgba(111, 227, 255, .8);
}

/* --------------------------------------------------------------------------
   21. Bild-Platzhalter im Platinen-Look
       <div class="bild-platzhalter" data-format="16:9" data-text="Werkstatt">
       Seitenverhältnis über --verh (z. B. 4/5, 16/9, 1/1).
   -------------------------------------------------------------------------- */
.bild-platzhalter {
  --verh: 16 / 9;
  position: relative;
  aspect-ratio: var(--verh);
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--linie);
  background:
    linear-gradient(rgba(46, 155, 255, .05) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(46, 155, 255, .05) 1px, transparent 1px) 0 0 / 28px 100%,
    radial-gradient(circle at 50% 45%, rgba(46, 155, 255, .12), transparent 70%),
    var(--platine);
  display: grid;
  place-items: center;
  color: var(--text-leise);
  transition: border-color var(--ruhig);
}
.bild-platzhalter:hover { border-color: var(--linie-hell); }

/* Passermarken in allen vier Ecken */
.bild-platzhalter::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(46, 155, 255, .28);
  pointer-events: none;
}
/* wandernde Scanlinie */
.bild-platzhalter::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(46, 155, 255, .16), transparent);
  transform: translateY(-100%);
  animation: scan 4.4s cubic-bezier(.5, 0, .5, 1) infinite;
  pointer-events: none;
}
@keyframes scan {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(230%); }
  100% { transform: translateY(230%); }
}

.bild-platzhalter__kern {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
}
.bild-platzhalter__kern svg {
  width: 34px; height: 34px;
  color: var(--signal);
  opacity: .8;
  animation: schweben 3.6s ease-in-out infinite;
}
.bild-platzhalter__marke {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bild-platzhalter__marke b {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 3px;
}
/* Format-Etikett unten rechts */
.bild-platzhalter__format {
  position: absolute;
  right: 10px; bottom: 8px;
  z-index: 1;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .16em;
  color: var(--text-leise);
}
@keyframes schweben {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* runder Avatar-Platzhalter für Referenzen */
.avatar-platzhalter {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  border: 1px solid var(--linie-hell);
  background: radial-gradient(circle at 50% 40%, rgba(46, 155, 255, .2), var(--platine-hoch));
  display: grid;
  place-items: center;
  color: var(--signal);
}
.avatar-platzhalter svg { width: 20px; height: 20px; }

.stimme__kopf {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   22. Hosting-Punkte als CMD-Baum (tree)
   -------------------------------------------------------------------------- */
.tarif__baum {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-family: var(--mono);
  font-size: .86rem;
  flex: 1;
}
.tarif__baum-wurzel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-hell);
  margin-bottom: 4px;
  font-size: .82rem;
  letter-spacing: .04em;
}
.tarif__baum-wurzel::before {
  content: "";
  width: 9px; height: 9px;
  border: 1px solid var(--signal);
  background: rgba(46, 155, 255, .3);
}
.tarif__baum li {
  position: relative;
  padding: 5px 0 5px 30px;
  color: var(--text);
}
/* senkrechte Leitung */
.tarif__baum li::before {
  content: "";
  position: absolute;
  left: 5px; top: 0;
  width: 1px; height: 100%;
  background: var(--linie-hell);
}
.tarif__baum li:last-child::before { height: 15px; }
/* Abzweig zum Eintrag */
.tarif__baum li::after {
  content: "";
  position: absolute;
  left: 5px; top: 15px;
  width: 15px; height: 1px;
  background: var(--linie-hell);
}
.tarif__baum li span {
  position: relative;
  transition: color var(--schnell);
}
/* kleiner Signalpunkt am Abzweig, leuchtet beim Überfahren der Karte */
.tarif__baum li span::before {
  content: "";
  position: absolute;
  left: -19px; top: .52em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--signal);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(46, 155, 255, .5);
}
.tarif:hover .tarif__baum li span { color: var(--text-hell); }
.tarif:hover .tarif__baum li span::before {
  animation: knotenpuls 1.6s ease-out infinite;
}
@keyframes knotenpuls {
  0%   { box-shadow: 0 0 0 0 rgba(46, 155, 255, .5); }
  70%  { box-shadow: 0 0 0 6px rgba(46, 155, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 155, 255, 0); }
}
.tarif--empfohlen .tarif__baum-wurzel::before { border-color: var(--kupfer); background: rgba(233, 164, 74, .3); }
.tarif--empfohlen .tarif__baum li span::before { background: var(--kupfer); }
.tarif--empfohlen:hover .tarif__baum li span::before {
  animation: knotenpuls-kupfer 1.6s ease-out infinite;
}
@keyframes knotenpuls-kupfer {
  0%   { box-shadow: 0 0 0 0 rgba(233, 164, 74, .5); }
  70%  { box-shadow: 0 0 0 6px rgba(233, 164, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 164, 74, 0); }
}

/* --------------------------------------------------------------------------
   23. Ruhige Puls- und Leuchteffekte
   -------------------------------------------------------------------------- */
/* Leistungssymbole atmen dezent im Ruhezustand */
.karte__symbol {
  animation: symbolatmen 4.5s ease-in-out infinite;
}
@keyframes symbolatmen {
  0%, 100% { box-shadow: 0 0 0 rgba(46, 155, 255, 0); }
  50%      { box-shadow: 0 0 18px rgba(46, 155, 255, .16); }
}
/* Karten laufen leicht zeitversetzt, damit es lebendig wirkt */
.raster--3 .karte:nth-child(2) .karte__symbol,
.raster--4 .karte:nth-child(2) .karte__symbol { animation-delay: .6s; }
.raster--3 .karte:nth-child(3) .karte__symbol,
.raster--4 .karte:nth-child(3) .karte__symbol { animation-delay: 1.2s; }
.raster--3 .karte:nth-child(4) .karte__symbol,
.raster--4 .karte:nth-child(4) .karte__symbol { animation-delay: 1.8s; }
.raster--3 .karte:nth-child(5) .karte__symbol { animation-delay: 2.4s; }
.raster--3 .karte:nth-child(6) .karte__symbol { animation-delay: 3s; }

/* Buttons bekommen einen wandernden Lichtstreif */
.knopf--voll {
  position: relative;
  overflow: hidden;
}
.knopf--voll::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-18deg);
  animation: streif 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes streif {
  0%, 100% { left: -60%; }
  45%, 55% { left: 130%; }
}

/* empfohlenes Paket bekommt einen sanft pulsierenden Rahmen */
.tarif--empfohlen {
  animation: rahmenpuls 3.4s ease-in-out infinite;
}
@keyframes rahmenpuls {
  0%, 100% { box-shadow: 0 0 0 rgba(233, 164, 74, 0); }
  50%      { box-shadow: 0 0 26px rgba(233, 164, 74, .18); }
}

/* Bandsymbole blinken kurz nacheinander wie Statusleuchten */
.band__punkt svg { animation: leuchte 3.2s ease-in-out infinite; }
.band__punkt:nth-child(2) svg { animation-delay: .5s; }
.band__punkt:nth-child(3) svg { animation-delay: 1s; }
.band__punkt:nth-child(4) svg { animation-delay: 1.5s; }
@keyframes leuchte {
  0%, 100% { opacity: .55; filter: drop-shadow(0 0 0 rgba(46, 155, 255, 0)); }
  50%      { opacity: 1;   filter: drop-shadow(0 0 5px rgba(46, 155, 255, .7)); }
}

/* der Rahmen der Hero-Leinwand bekommt eine laufende Ecke */
.hero__leinwand {
  animation: rahmenglut 5s ease-in-out infinite;
}
@keyframes rahmenglut {
  0%, 100% { border-color: var(--linie); }
  50%      { border-color: var(--linie-hell); }
}

/* Marken-Eyebrow: die kleine Linie pulsiert */
.marke::before { animation: markenlinie 2.8s ease-in-out infinite; }
@keyframes markenlinie {
  0%, 100% { opacity: .4; width: 26px; }
  50%      { opacity: 1;  width: 34px; }
}

/* --------------------------------------------------------------------------
   24. Ladescreen – Boot-Sequenz beim Seitenaufruf
       Nur sichtbar, wenn JavaScript läuft (html.js). Ohne JS bleibt er
       ausgeblendet, damit niemand ausgesperrt wird.
   -------------------------------------------------------------------------- */
.ladeschirm { display: none; }

.js .ladeschirm {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 24px;
  background: var(--substrat);
  background-image:
    linear-gradient(to right, rgba(46, 155, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 155, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  transition: opacity .6s ease, visibility .6s ease;
}
.js .ladeschirm.ist-fertig {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* pulsierendes Logo-Zeichen */
.ladeschirm__zeichen {
  width: 60px; height: 60px;
  border: 1px solid var(--linie-hell);
  display: grid;
  place-items: center;
  color: var(--signal);
  background: rgba(46, 155, 255, .06);
  animation: ladepuls 1.5s ease-in-out infinite;
}
.ladeschirm__zeichen svg { width: 30px; height: 30px; }
@keyframes ladepuls {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 155, 255, .4); border-color: var(--linie-hell); }
  50%      { box-shadow: 0 0 26px 2px rgba(46, 155, 255, .35); border-color: var(--signal); }
}

/* Terminal-Ausgabe */
.ladeschirm__terminal {
  width: 100%;
  max-width: 380px;
  min-height: 132px;
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.9;
  color: var(--text);
}
.ladeschirm__zeile {
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
.ladeschirm__zeile.ist-da { opacity: 1; transform: none; }
.ladeschirm__zeile span:first-child { color: var(--signal); }
.ladeschirm__zeile b {
  margin-left: auto;
  font-weight: 500;
  color: var(--leuchten);
  letter-spacing: .08em;
}

/* Fortschrittsbalken des Ladescreens */
.ladeschirm__balken {
  width: 100%;
  max-width: 380px;
  height: 3px;
  background: var(--linie);
  overflow: hidden;
}
.ladeschirm__balken i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--signal), var(--leuchten));
  box-shadow: 0 0 12px rgba(46, 155, 255, .7);
  transition: width .3s ease;
}
.ladeschirm__prozent {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--text-leise);
  text-transform: uppercase;
}

/* verhindert Scrollen, solange der Ladescreen liegt */
body.laedt { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .zeigen { opacity: 1; transform: none; }
  .bild-platzhalter__kern svg { animation: none; }
  .ladeschirm__zeichen { animation: none; }
}