/* =========================================================
   PatchNet – Stylesheet (gilt für index, impressum, datenschutz)
   Farben, Schrift und Abstände nur in :root ändern.
   ========================================================= */

:root {
  /* ---------- Farben ---------- */
  --weiss: #ffffff;
  --grau-hell: #f5f6f7;          /* abgesetzte Abschnitte */
  --grau-linie: #e4e7ea;         /* sehr dezente Linien */
  --text: #1c2228;               /* Anthrazit */
  --text-leise: #5a646d;
  --text-sehr-leise: #8a939b;
  --blau: #1a5fb4;               /* PatchNet-Blau (Links, Buttons) */
  --blau-dunkel: #134886;
  --status: #2f9e62;             /* Grün NUR für Status / online */
  --dunkel: #1c2228;             /* Kontakt + Fußzeile */
  --dunkel-leise: #a9b3bb;

  /* Patchfeld */
  --panel: #2a3137;
  --buchse: #161b1f;
  --led-aus: #47525a;

  /* Kabelfarben – bewusst entsättigt */
  --kabel-1: #5b80a8;  /* IT-Support */
  --kabel-2: #b09a70;  /* WLAN & Netzwerk */
  --kabel-3: #5f8c8e;  /* Smart Home */
  --kabel-4: #857f9f;  /* NAS & Datensicherung */
  --kabel-5: #a07a62;  /* Netzwerk-Check */

  /* ---------- Schrift (nur Systemschriften, nichts von fremden Servern) ---------- */
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --groesse-basis: 1.0625rem;
  --groesse-klein: 0.9375rem;
  --groesse-mini: 0.8125rem;
  --groesse-h3: 1.1875rem;
  --groesse-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --groesse-h1: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);

  /* ---------- Abstände & Maße ---------- */
  --rand: clamp(1.25rem, 4vw, 2.5rem);          /* Seitenrand links/rechts */
  --abschnitt: clamp(4.5rem, 3rem + 6vw, 8rem); /* Abstand oben/unten je Abschnitt */
  --breite-inhalt: 72rem;
  --breite-text: 36rem;
  --radius: 6px;
  --radius-karte: 12px;
  --port: 2.25rem;              /* Größe der Port-Nummern */
  --karte-innen: clamp(1.25rem, 1rem + 1vw, 2rem);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--schrift);
  font-size: var(--groesse-basis);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--groesse-h1); letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: var(--groesse-h2); letter-spacing: -0.025em; }
h3 { font-size: var(--groesse-h3); letter-spacing: -0.01em; }

p { margin: 0; max-width: var(--breite-text); }

a { color: var(--blau); text-underline-offset: 0.18em; }
a:hover { color: var(--blau-dunkel); }

:focus-visible {
  outline: 2px solid var(--blau);
  outline-offset: 3px;
  border-radius: 3px;
}
.knopf:focus-visible,
.anfrage-weg:focus-visible { outline-offset: 2px; box-shadow: 0 0 0 5px rgba(26, 95, 180, 0.15); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--grau { background: var(--grau-hell); }

.abschnitt-kopf { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.abschnitt-kopf p {
  margin-top: 1rem;
  color: var(--text-leise);
  font-size: 1.125rem;
}

/* ---------- Buttons ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--blau);
  border-radius: var(--radius);
  background: var(--blau);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
}
.knopf:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: #fff; }
.knopf:active { transform: translateY(1px); }
.knopf--leise {
  background: transparent;
  border-color: #cfd5da;
  color: var(--text);
}
.knopf--leise:hover { background: var(--grau-hell); border-color: #b9c1c7; color: var(--text); }
.knopf--klein { min-height: 2.25rem; padding: 0.4rem 0.9rem; font-size: var(--groesse-klein); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(28, 34, 40, 0.06);
  padding-top: env(safe-area-inset-top, 0px);
}
@supports (backdrop-filter: blur(1px)) {
  .kopf { background: rgba(255, 255, 255, 0.8); backdrop-filter: saturate(1.4) blur(14px); }
}
@media (min-width: 48rem) {
  .kopf { position: sticky; top: 0; }
}
.kopf-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4rem;
}
.logo { display: block; line-height: 0; text-decoration: none; }
.logo img { height: 3rem; width: auto; } /* Logo-Höhe hier anpassen */

.nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a:not(.knopf) {
  color: var(--text-leise);
  font-size: var(--groesse-klein);
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:not(.knopf):hover { color: var(--text); }
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .nav ul { gap: 1.25rem; }
}

.menue-knopf {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.6rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius);
}
.menue-knopf span,
.menue-knopf span::before,
.menue-knopf span::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s, background-color 0.25s;
}
.menue-knopf span { position: relative; }
.menue-knopf span::before,
.menue-knopf span::after { content: ""; position: absolute; left: 0; }
.menue-knopf span::before { top: -6px; }
.menue-knopf span::after { top: 6px; }
.menue-knopf[aria-expanded="true"] span { background: transparent; }
.menue-knopf[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Navigation (nur mit JS eingeklappt) */
@media (max-width: 47.99rem) {
  .js .menue-knopf { display: inline-flex; }
  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--weiss);
    box-shadow: 0 12px 24px rgba(28, 34, 40, 0.08);
    border-top: 1px solid var(--grau-linie);
    display: none;
  }
  .js .nav.offen { display: block; }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--rand) 1.25rem;
  }
  .nav a:not(.knopf) {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.0625rem;
    color: var(--text);
    border-bottom: 1px solid var(--grau-linie);
  }
  .nav li:last-child { margin-top: 1rem; }
  .nav .knopf { width: 100%; min-height: 3rem; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 1.25rem; padding: 0; }
  html:not(.js) .kopf-innen { flex-wrap: wrap; padding-block: 0.75rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) 5.5rem; }
.hero-raster {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 56rem) {
  .hero-raster { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}
.hero-text { animation: einblenden-hoch 0.8s ease-out both; }
.hero-text h1 { max-width: 11ch; }
.hero-unterzeile {
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  color: var(--text);
  line-height: 1.5;
}
.hero-detail {
  margin-top: 1rem;
  color: var(--text-leise);
  font-size: var(--groesse-klein);
  max-width: 32rem;
}
.aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
/* Aufklappbare Kontaktwege unter "Anfrage stellen" */
.anfrage-wege {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 32rem;
  margin-top: 1rem;
  animation: einblenden-hoch 0.3s ease-out;
}
.anfrage-wege[hidden] { display: none; }
.anfrage-weg {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #cfd5da;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.anfrage-weg:hover { border-color: var(--blau); background: #f4f8fd; color: var(--text); }
.anfrage-titel { font-weight: 600; }
.anfrage-detail { font-size: var(--groesse-mini); color: var(--text-leise); overflow-wrap: anywhere; }
@media (max-width: 29.99rem) {
  .anfrage-wege { grid-template-columns: 1fr; }
}

.hero-hinweis {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--groesse-mini);
  color: var(--text-sehr-leise);
}
@media (max-width: 29.99rem) {
  .aktionen .knopf { flex: 1 1 100%; }
}

/* Patchfeld – liegt über der Kabel-Ebene, damit die Stecker die Kabelanfänge verdecken */
.hero-grafik {
  position: relative;
  z-index: 2;
  animation: einblenden 1s 0.15s ease-out both;
}
.hero-grafik svg { width: 100%; max-width: 28rem; margin-inline: auto; }
.panel { fill: var(--panel); }
.panel-loch { fill: var(--weiss); opacity: 0.9; }
.buchse { fill: var(--buchse); }
.port-label {
  fill: #8e9aa3;
  font: 600 10px var(--schrift);
  text-anchor: middle;
}
.stecker { fill: var(--k); }
.stecker-glanz { fill: rgba(255, 255, 255, 0.22); }
.leitung { fill: none; stroke: var(--k); stroke-width: 5; stroke-linecap: round; }
.js .hero-grafik .leitung { display: none; } /* mit JS übernimmt die Kabel-Ebene */

.led { fill: var(--led-aus); transition: fill 0.4s; }
.online .led { fill: var(--status); }

.kabel-1 { --k: var(--kabel-1); }
.kabel-2 { --k: var(--kabel-2); }
.kabel-3 { --k: var(--kabel-3); }
.kabel-4 { --k: var(--kabel-4); }
.kabel-5 { --k: var(--kabel-5); }

/* ---------- Kabel-Ebene (per JS über die Seite gelegt) ---------- */
.kabel-layer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.kabel-layer path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.kabel-layer .bahn { stroke: var(--k); }
.kabel-layer .pakete {
  stroke: rgba(255, 255, 255, 0.75);
  stroke-dasharray: 2 20;
  opacity: 0;
  transition: opacity 0.6s;
}
.kabel-layer .online .pakete { opacity: 1; animation: daten-fluss 2.4s linear infinite; }

/* ---------- Leistungen ---------- */
.leistungen {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.leistung {
  display: grid;
  grid-template-columns: var(--port) 1fr;
  column-gap: 1.25rem;
  align-content: start;
  padding: var(--karte-innen);
  background: var(--weiss);
  border-radius: var(--radius-karte);
  box-shadow: 0 1px 2px rgba(28, 34, 40, 0.04);
}
.leistung > * { grid-column: 2; }
.leistung .port-nr { grid-column: 1; grid-row: 1 / span 4; }
.leistung h3 { margin-top: 0.3rem; }
.leistung-text p { margin-top: 0.6rem; color: var(--text-leise); }
.leistung-text ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--groesse-klein);
  color: var(--text-leise);
}
.leistung-text li {
  position: relative;
  padding-left: 1rem;
  margin-top: 0.4rem;
}
.leistung-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--k);
}

/* Port-Nummer: liegt über den durchlaufenden Kabeln */
.port-nr {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--port);
  height: var(--port);
  border: 1.5px solid var(--k);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--text);
  font-size: var(--groesse-klein);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.5s, color 0.5s;
}
/* kleiner Status-Punkt: grün = verbunden */
.port-nr::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--weiss);
  border-radius: 50%;
  background: var(--status);
  transition: transform 0.4s, opacity 0.4s;
}
.js .leistung:not(.verbunden) .port-nr { border-color: #d6dbdf; color: var(--text-sehr-leise); }
.js .leistung:not(.verbunden) .port-nr::after { opacity: 0; transform: scale(0.4); }

/* Überschrift einrücken, solange die Kabel links an den Karten entlanglaufen (Mobil/Tablet) */
@media (max-width: 63.99rem) {
  .leistungen-kopf { padding-left: calc(var(--karte-innen) + var(--port) + 1.25rem); }
}

/* Desktop: vier Karten nebeneinander, Nummer oben */
@media (min-width: 64rem) {
  .leistungen-kopf { max-width: 45%; }
  .leistungen { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .leistung { grid-template-columns: 1fr; }
  .leistung > *,
  .leistung .port-nr { grid-column: 1; grid-row: auto; }
  .leistung h3 { margin-top: 1.75rem; }
  .leistung-text p { font-size: 1rem; }
}

/* Netzwerk-Check (Port 5) – eigenes Angebot, bewusst abgesetzt */
.zusatz { margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.zusatz .leistung { background: transparent; box-shadow: none; border: 1px solid #dde1e5; }
.zusatz-label {
  margin-top: 0;
  font-size: var(--groesse-mini);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--k);
}
.leistung-text .zusatz-hinweis {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grau-linie);
  font-size: var(--groesse-mini);
  color: var(--text-sehr-leise);
}
.zusatz .leistung h3 { margin-top: 0.25rem; }
@media (min-width: 64rem) {
  .zusatz .leistung {
    grid-template-columns: var(--port) minmax(14rem, 1fr) 1.2fr;
    column-gap: 2rem;
    align-items: start;
  }
  .zusatz .leistung .port-nr { grid-column: 1; grid-row: 1 / span 3; }
  .zusatz .zusatz-label,
  .zusatz .leistung h3 { grid-column: 2; }
  .zusatz .leistung h3 { margin-top: 0.25rem; }
  .zusatz .leistung-text { grid-column: 3; grid-row: 1 / span 3; }
  .zusatz .leistung-text p { margin-top: 0; }
}

/* ---------- Ablauf ---------- */
.ablauf {
  display: grid;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: schritt;
}
@media (min-width: 40rem) {
  .ablauf { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (min-width: 64rem) {
  .ablauf { grid-template-columns: repeat(4, 1fr); }
}
.ablauf li { counter-increment: schritt; }
.ablauf li::before {
  content: counter(schritt, decimal-leading-zero);
  display: block;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--grau-linie);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--blau);
  font-variant-numeric: tabular-nums;
}
.ablauf p { margin-top: 0.75rem; color: var(--text-leise); }
.ablauf li:nth-child(2) { transition-delay: 0.1s; }
.ablauf li:nth-child(3) { transition-delay: 0.2s; }
.ablauf li:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Zuhause und im Betrieb ---------- */
.zielgruppen { display: grid; gap: 1rem; }
@media (min-width: 48rem) {
  .zielgruppen { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
.zielgruppe {
  display: flex;
  flex-direction: column;
  padding: var(--karte-innen);
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius-karte);
}
.zielgruppe ul {
  flex: 1;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-leise);
}
.zielgruppe li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--grau-linie);
}
.zielgruppe li:last-child { border-bottom: 0; }
.zielgruppe-link {
  align-self: flex-start;
  margin-top: 1.25rem;
  padding-block: 0.4rem;
  font-weight: 600;
  font-size: var(--groesse-klein);
  text-decoration: none;
}
.zielgruppe-link::after { content: " →"; }
.zielgruppe-link:hover { text-decoration: underline; }

/* ---------- Häufige Fragen ---------- */
.fragen { max-width: 48rem; border-top: 1px solid #d9dee2; }
.fragen details { border-bottom: 1px solid #d9dee2; }
.fragen summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding-block: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 1px solid #cfd5da;
  border-radius: var(--radius);
  color: var(--text-leise);
  font-weight: 500;
  transition: transform 0.2s, background-color 0.2s;
}
.fragen summary:hover::after { background: var(--weiss); }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { padding-bottom: 1.25rem; color: var(--text-leise); }

/* ---------- Über mich ---------- */
.ueber-raster { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 48rem) {
  .ueber-text { max-width: 48rem; } /* einspaltig, ohne Foto */
}
.ueber-text h2 { margin-bottom: 1.5rem; }
.ueber-text p + p { margin-top: 1rem; }
.ueber-text p { color: var(--text-leise); }
.ueber-text p:first-of-type { color: var(--text); font-size: 1.125rem; }

.fakten {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--grau-linie);
}
@media (min-width: 36rem) {
  .fakten { grid-template-columns: repeat(2, 1fr); }
}
.fakten dt { font-size: var(--groesse-mini); color: var(--text-sehr-leise); }
.fakten dd { margin: 0.3rem 0 0; font-weight: 550; }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--dunkel); color: #fff; }
.kontakt h2 { max-width: 16ch; }
.kontakt p { color: var(--dunkel-leise); margin-top: 1.25rem; font-size: 1.125rem; }
.kontakt-wege {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 48rem) {
  .kontakt-wege { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
}
.kontakt-art { display: block; font-size: var(--groesse-mini); color: var(--dunkel-leise); }
.kontakt-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: #fff;
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.3s;
}
.kontakt-link:hover { color: #fff; background-size: 100% 1px; }
.kontakt-info { display: block; margin-top: 0.6rem; font-size: var(--groesse-klein); color: var(--dunkel-leise); }
.kontakt :focus-visible { outline-color: #fff; }

/* ---------- Fußzeile ---------- */
.fuss {
  background: var(--dunkel);
  color: var(--dunkel-leise);
  font-size: var(--groesse-mini);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.fuss .container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fuss-logo { height: 2.5rem; width: auto; align-self: flex-start; } /* weißes Logo im Fußbereich */
@media (min-width: 40rem) {
  .fuss .container { flex-direction: row; justify-content: space-between; align-items: center; }
  .fuss-logo { align-self: center; margin-right: auto; }
}
.fuss ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.fuss a { display: inline-block; padding-block: 0.5rem; color: var(--dunkel-leise); text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss :focus-visible { outline-color: #fff; }

/* ---------- Einblenden beim Scrollen ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.js .reveal.sichtbar { opacity: 1; transform: none; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.zurueck {
  color: var(--text-leise);
  font-size: var(--groesse-klein);
  text-decoration: none;
}
.zurueck:hover { color: var(--text); }

.rechtstext { padding-block: clamp(3rem, 2rem + 4vw, 5rem) var(--abschnitt); }
.rechtstext .container { max-width: calc(46rem + 2 * var(--rand)); }
.rechtstext { overflow-wrap: break-word; hyphens: auto; }
.rechtstext h1 {
  font-size: clamp(1.9rem, 1.4rem + 2.5vw, 3.25rem);
  margin-bottom: 2.5rem;
}
.rechtstext h2 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin: 2.75rem 0 0.75rem;
}
.rechtstext p { color: var(--text-leise); }
.rechtstext p + p { margin-top: 0.75rem; }
/* ---------- Keyframes ---------- */
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
@keyframes einblenden-hoch { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes daten-fluss { to { stroke-dashoffset: -22; } }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .kabel-layer .pakete { display: none; }
}
