/* =========================================================
   HK:net Relaunch – Startseite
   Marke: Dunkelblau #415864, Türkis #10c6e8, Carme + Open Sans
   ========================================================= */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ----------
   Carme und Open Sans: SIL Open Font License 1.1 */
@font-face {
  font-family: "Carme";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/carme-latin-v2.woff2") format("woff2");
  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: "Open Sans";
  font-style: normal;
  font-weight: 300 800;           /* variable Schrift: 400 und 600 in einer Datei */
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  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: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blau: #415864;
  --blau-tief: #2f424c;
  --blau-nacht: #24343c;
  --tuerkis: #10c6e8;
  --tuerkis-hell: #2ccff0;
  --tuerkis-gedrueckt: #0eb2d1;
  --tuerkis-text: #0b2c36;     /* dunkle Schrift auf Türkis */
  --tuerkis-schrift: #087a93; /* Türkis für kleine Schrift auf Weiß/Grau: Kontrast ≥ 4,5:1 (WCAG AA) */
  --text: #1f1f1f;
  --text-leise: #5b6b73;
  --grund: #f8f8f8;
  --weiss: #ffffff;
  --linie: #e3e7ea;

  --breite: 72rem;
  --rand: 1rem;
  --kopf-hoehe: 5rem;
  --radius: .375rem;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf-hoehe) + 1rem);
}
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 100%/1.6 "Open Sans", system-ui, sans-serif;
}
body.menue-offen { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.inner {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Knöpfe (überall gleich) ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  padding: .75rem 1.375rem;
  border: 0;
  border-radius: var(--radius);
  font: 600 1rem/1.2 "Open Sans", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 120ms ease-out, transform 100ms ease-out, box-shadow 120ms ease-out;
}
.knopf svg { width: 1.1em; height: 1.1em; flex: none; }
.knopf-haupt {
  background: var(--tuerkis);
  color: var(--tuerkis-text);
  box-shadow: 0 1px 2px rgba(15, 40, 50, .12), 0 4px 12px rgba(16, 198, 232, .25);
}
.knopf-neben {
  background: var(--weiss);
  color: var(--blau-tief);
  box-shadow: inset 0 0 0 1.5px var(--linie);
}
.knopf-klein { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .9375rem; }
@media (hover: hover) {
  .knopf-haupt:hover { background: var(--tuerkis-hell); }
  .knopf-neben:hover { box-shadow: inset 0 0 0 1.5px var(--blau); }
}
.knopf:active { transform: scale(.97); }
.knopf-haupt:active { background: var(--tuerkis-gedrueckt); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }

/* ---------- Kontaktleiste ganz oben ---------- */
.meta {
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
  font-size: .875rem;
}
.meta .inner { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; }
.meta .firma { color: var(--text-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta .firma strong { font-weight: 600; color: var(--blau-tief); }
.meta .kontakte { display: flex; gap: 1.5rem; flex: none; }
@media (max-width: 1000px) { .meta .adresse { display: none; } }   /* knapp: nur der Firmenname */
.meta a {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 2.25rem;
  text-decoration: none;
  color: var(--blau-tief);
}
.meta svg { width: 1rem; height: 1rem; color: var(--tuerkis-gedrueckt); }
@media (hover: hover) { .meta a:hover { text-decoration: underline; text-underline-offset: .2em; } }
.meta a:active { color: var(--blau); opacity: .7; }

/* Sanftes Gleiten zu #kontakt – nur wenn Bewegung erwünscht ist */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Kopf (bleibt beim Scrollen oben) ---------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 248, 248, .86);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  transition: box-shadow 200ms ease-out;
}
.kopf.gescrollt { box-shadow: 0 1px 0 var(--linie), 0 6px 20px rgba(20, 40, 50, .06); }
.kopf .inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--kopf-hoehe);
}
.logo img { height: 3rem; width: auto; display: block; }
.hauptmenue { display: flex; align-items: center; gap: .25rem; }
.hauptmenue a.link {
  font-family: Carme, sans-serif;
  font-size: 1.0625rem;
  color: var(--blau-tief);
  text-decoration: none;
  padding: .6rem .8rem;
  border-radius: var(--radius);
  transition: background-color 120ms ease-out;
}
@media (hover: hover) { .hauptmenue a.link:hover { background: rgba(65, 88, 100, .07); } }
.hauptmenue a.link:active { background: rgba(65, 88, 100, .12); }
.hauptmenue .knopf { margin-left: .75rem; }

.kopf-handy { display: none; align-items: center; gap: .25rem; }
.symbolknopf {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: var(--radius);
  background: transparent;
  color: var(--blau-tief);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 100ms ease-out, transform 100ms ease-out;
}
.symbolknopf svg { width: 1.5rem; height: 1.5rem; }
.symbolknopf:active { background: rgba(65, 88, 100, .12); transform: scale(.94); }
.symbolknopf.anrufen { color: var(--tuerkis-text); background: var(--tuerkis); }
.symbolknopf.anrufen:active { background: var(--tuerkis-gedrueckt); }

/* ---------- Handy-Menü (klappt vom Menüknopf aus auf) ---------- */
.menue-blatt {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.menue-blatt.offen { display: block; }
.menue-blatt .abdunkeln {
  position: absolute; inset: 0;
  background: rgba(20, 32, 38, .35);
  opacity: 0;
  transition: opacity 200ms ease-out;
}
.menue-blatt .flaeche {
  position: absolute;
  top: .5rem; right: .5rem; left: .5rem;
  background: var(--weiss);
  border-radius: .75rem;
  box-shadow: 0 20px 50px rgba(20, 40, 50, .25);
  padding: .5rem 0 1rem;
  transform-origin: top right;          /* wächst aus dem Menüknopf */
  transform: scale(.96) translateY(-.5rem);
  opacity: 0;
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), opacity 160ms ease-out;
}
.menue-blatt.sichtbar .abdunkeln { opacity: 1; }
.menue-blatt.sichtbar .flaeche { transform: none; opacity: 1; }
.menue-blatt .kopfzeile {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 .5rem 0 1.25rem; min-height: 3.5rem;
  font-family: Carme, sans-serif; color: var(--text-leise);
}
.menue-blatt nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  font-family: Carme, sans-serif;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--blau-tief);
  text-decoration: none;
  border-top: 1px solid var(--linie);
}
.menue-blatt nav a:active { background: rgba(65, 88, 100, .07); }
.menue-blatt nav a svg { width: 1.1rem; height: 1.1rem; color: var(--text-leise); }
.menue-blatt .kontaktwege { display: grid; gap: .6rem; padding: 1rem 1.25rem 0; }

/* ---------- Startbereich ---------- */
.hero {
  position: relative;
  overflow: hidden;
  /* Skyline vor Himmel – wie bei den Illustrationen auf der Unternehmen-Seite */
  background:
    url("../img/skyline-duesseldorf.webp?v=1") center bottom / 100% auto no-repeat,
    radial-gradient(55% 60% at 75% 15%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #dff5fb 0%, #f4fbfd 65%, #ffffff 100%);
  background-color: var(--weiss);
}
.hero .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding-top: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(9rem, 16vw, 13rem);
}
.hero h1 {
  margin: 0;
  font-family: Carme, sans-serif;
  font-weight: 400;
  color: var(--blau);
  font-size: clamp(2.375rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero .kern {
  margin: 1rem 0 0;
  font-family: Carme, sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--blau-tief);
}
.hero .kern strong {
  font-weight: 400;
  background: linear-gradient(transparent 62%, rgba(16, 198, 232, .38) 62%);
  padding: 0 .1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.punkte {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: grid; gap: .4rem;
  color: var(--text-leise);
}
.punkte li { display: flex; gap: .6rem; align-items: baseline; }
.punkte li::before {
  content: ""; flex: none;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--tuerkis);
  transform: translateY(-.1em);
}
.aktionen { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero .hinweis { margin: .9rem 0 0; font-size: .875rem; color: var(--text-leise); }
.hero .bild img { width: 100%; height: auto; display: block; }

/* Großer Bildschirm: Techniker steht frei rechts vor der Skyline
   und wächst mit der Fensterbreite mit */
@media (min-width: 761px) {
  .hero {
    min-height: clamp(30rem, 40vw, 52rem);
    display: flex; align-items: flex-start;
  }
  .hero .inner {
    width: 100%;
    grid-template-columns: minmax(0, min(34rem, calc(50vw - 3rem)));
    padding-bottom: clamp(8rem, 14vw, 16rem);
  }
  .hero .bild {
    position: absolute;
    /* beginnt immer rechts neben der Textspalte, nie darüber */
    left: max(
      calc(50% - 3rem),
      calc(max(0px, (100% - var(--breite)) / 2) + var(--rand) + min(34rem, 50vw - 3rem) + 1rem)
    );
    /* Kabeltrommel steht auf der Grundlinie der Skyline:
       Grundlinie = 5,9 % der Skyline-Höhe über dem Rand, Skyline-Höhe = Breite × 801/2400 */
    bottom: calc(100vw * 0.0161);
    width: clamp(25rem, 50vw, 72rem);
    margin: 0;
    pointer-events: none;
  }
}

/* ---------- Abschnitte allgemein ---------- */
.abschnitt { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.abschnitt-titel {
  margin: 0 0 .5rem;
  font-family: Carme, sans-serif; font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--blau);
}
.abschnitt-intro { margin: 0 0 2.5rem; color: var(--text-leise); max-width: 40rem; }

/* ---------- Leistungen (Punkt 4) ---------- */
.leistungen { background: var(--grund); }
.gruppe {
  margin: 0 0 .5rem;
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--tuerkis-schrift);
}

/* Glasfaser – das Hauptprodukt, deutlich hervorgehoben */
.glasfaser-karte {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--weiss);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(20, 40, 50, .05), 0 10px 30px rgba(20, 40, 50, .07);
  border-top: 4px solid var(--tuerkis);
}
.glasfaser-karte h3 {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 .75rem;
  font-family: Carme, sans-serif; font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1; letter-spacing: -0.015em;
  color: var(--blau);
}
.glasfaser-karte h3 .symbol { width: 2.25rem; height: 2.25rem; flex: none; }
.glasfaser-karte p { margin: 0 0 1.5rem; max-width: 36rem; }
.gk-fakten {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .75rem;
}
.gk-fakten li {
  display: flex; flex-direction: column; gap: .1rem;
  padding: 1rem 1.25rem;
  background: var(--grund);
  border-radius: .625rem;
}
.gk-fakten strong {
  font-family: Carme, sans-serif; font-weight: 400;
  font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--blau);
}
.gk-fakten span { font-size: .9375rem; color: var(--text-leise); }

/* Gruppen mit Karten */
.gruppe-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.gruppe-titel {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 0 1.25rem;
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-leise);
}
.gruppe-titel::after { content: ""; flex: 1; height: 1px; background: var(--linie); }

.karten { display: grid; gap: 1.25rem; }
.karten.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.karten.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Die ganze Karte ist klickbar – reagiert sofort beim Drücken */
.karte {
  display: flex; flex-direction: column;
  padding: 1.5rem;
  background: var(--weiss);
  border-radius: .75rem;
  box-shadow: inset 0 0 0 1px var(--linie);
  text-decoration: none;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 150ms ease-out, transform 100ms ease-out;
}
.karte .symbol { width: 2.25rem; height: 2.25rem; color: var(--blau); }
.karte h4 {
  margin: .875rem 0 .5rem;
  font-family: Carme, sans-serif; font-weight: 400;
  font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.005em;
  color: var(--blau-tief);
}
.karte p { margin: 0 0 1.25rem; font-size: .9375rem; flex: 1; }
.karte .mehr {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .9375rem;
  color: var(--blau-tief);
}
.karte .mehr svg {
  width: 1rem; height: 1rem; color: var(--tuerkis-gedrueckt);
  transition: transform 150ms ease-out;
}
@media (hover: hover) {
  .karte:hover {
    box-shadow: inset 0 0 0 1px var(--linie), 0 8px 24px rgba(20, 40, 50, .08);
  }
  .karte:hover .mehr svg { transform: translateX(3px); }
}
.karte:active { transform: scale(.985); box-shadow: inset 0 0 0 1.5px var(--tuerkis); }

/* ---------- Zahlen (Punkt 5): stehen sofort fest, kein Hochzählen ---------- */
.zahlen { background: var(--weiss); }
.zahlen .abschnitt-titel { text-align: center; }
.zahlen dl {
  margin: 2.5rem auto 0;
  max-width: 56rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
}
.zahlen dl > div {
  display: flex; flex-direction: column; gap: .5rem;
  padding: .5rem 1rem;
}
.zahlen dl > div + div { border-left: 1px solid var(--linie); }
.zahlen dt { order: 2; color: var(--text-leise); font-size: 1rem; }
.zahlen dd {
  order: 1; margin: 0;
  font-family: Carme, sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--blau);
}

/* ---------- Kontaktbereich ---------- */
.kontakt { background: var(--blau-tief); color: #fff; }
.kontakt .inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem; align-items: center;
}
.kontakt .abschnitt-titel { color: #fff; }
.kontakt p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 32rem; }
.kontakt .wege { display: grid; gap: .75rem; }
.kontakt .weg {
  display: flex; align-items: center; gap: 1rem;
  min-height: 4rem;
  padding: .75rem 1.25rem;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  color: #fff; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 120ms ease-out, transform 100ms ease-out;
}
.kontakt .weg svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--tuerkis); }
.kontakt .weg small { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.kontakt .weg strong { font-weight: 600; font-size: 1.0625rem; }
@media (hover: hover) { .kontakt .weg:hover { background: rgba(255, 255, 255, .11); } }
.kontakt .weg:active { background: rgba(255, 255, 255, .16); transform: scale(.985); }
.kontakt .weg.haupt { background: var(--tuerkis); color: var(--tuerkis-text); box-shadow: none; }
.kontakt .weg.haupt svg { color: var(--tuerkis-text); }
.kontakt .weg.haupt small { color: rgba(11, 44, 54, .75); }
.kontakt .weg.haupt:active { background: var(--tuerkis-gedrueckt); }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--blau-nacht); color: rgba(255, 255, 255, .78); font-size: .9375rem; }
.fuss .inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .5rem 2rem; padding-top: 1.25rem; padding-bottom: 1.25rem;
}
.fuss nav { display: flex; flex-wrap: wrap; gap: 0 .5rem; }
.fuss a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .5rem;
  color: #fff; text-decoration: none;
}
@media (hover: hover) { .fuss a:hover { text-decoration: underline; text-underline-offset: .2em; } }
.fuss a:active { opacity: .65; }
.logo { -webkit-tap-highlight-color: transparent; transition: opacity 100ms ease-out; }
.logo:active { opacity: .7; }

/* =========================================================
   Unterseiten
   ========================================================= */
main > section { background: var(--grund); }   /* heller Grund als Standard */
.hauptmenue a.link.aktiv { color: var(--blau); box-shadow: inset 0 -2px 0 var(--tuerkis); border-radius: 0; }

/* Seitenkopf (kleiner als der Startbereich) */
.seitenkopf { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.seitenkopf .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem; align-items: center;
  padding-top: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}
.seitenkopf h1 {
  margin: 0;
  font-family: Carme, sans-serif; font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.06; letter-spacing: -0.02em;
  color: var(--blau);
  text-wrap: balance;
}
.seitenkopf .kern {
  margin: .875rem 0 0;
  font-family: Carme, sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.3; color: var(--blau-tief);
}
.seitenkopf .bild img { width: 100%; display: block; }

.brotkrumen {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  margin-bottom: 1rem;
  font-size: .875rem; color: var(--text-leise);
}
.brotkrumen a { color: var(--text-leise); text-decoration: none; padding: .25rem 0; }
@media (hover: hover) { .brotkrumen a:hover { color: var(--blau); text-decoration: underline; text-underline-offset: .2em; } }
.brotkrumen [aria-current] { color: var(--blau-tief); font-weight: 600; }

/* Zweispaltige Abschnitte */
.zweispaltig {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.zweispaltig p { margin: 0 0 1rem; max-width: 36rem; }

/* Liste mit Haken */
.hakenliste {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .25rem;
}
.hakenliste li {
  position: relative;
  padding: .85rem 1rem .85rem 3rem;
  background: var(--weiss);
  border-radius: .625rem;
  box-shadow: inset 0 0 0 1px var(--linie);
}
.hakenliste li::before {
  content: "";
  position: absolute; left: 1rem; top: 1.05rem;
  width: 1.375rem; height: 1.375rem;
  border-radius: 50%;
  /* zart getönter Kreis mit feinem, abgerundetem Haken */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a93ad' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.4 2.7 2.7L14.2 7'/%3E%3C/svg%3E") center / 82% no-repeat,
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 60%),
    rgba(16, 198, 232, .16);
  box-shadow: inset 0 0 0 1px rgba(16, 198, 232, .35);
}
.hakenliste.kompakt { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .5rem; }
.hakenliste.kompakt li { background: var(--grund); box-shadow: none; }

/* Bandbreiten */
.bandbreiten { background: var(--weiss); }
.tarife {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.tarif {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.5rem;
  border-radius: .875rem;
  background: var(--grund);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.tarif.hervor {
  background: var(--weiss);
  box-shadow: inset 0 0 0 2px var(--tuerkis), 0 10px 30px rgba(16, 198, 232, .15);
}
.tarif-wert {
  margin: 0;
  font-family: Carme, sans-serif;
  font-size: 1.25rem; line-height: 1.1;
  color: var(--blau-tief);
}
.tarif-wert strong {
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--blau);
}
.tarif-zusatz { margin: .35rem 0 1.5rem; color: var(--text-leise); font-size: .9375rem; flex: 1; }
.tarif .knopf { width: 100%; }
.tarif.individuell .tarif-wert strong { font-size: clamp(2rem, 3.2vw, 2.5rem); }

.inklusive { margin-top: 2rem; }
.inklusive h3 {
  margin: 0 0 1rem;
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-leise);
}

/* Anfrage + Formular */
.anfrage { background: var(--grund); }
.weg-tel {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: .25rem;
  font-family: Carme, sans-serif; font-size: 1.5rem;
  color: var(--blau); text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 100ms ease-out;
}
.weg-tel svg { width: 1.4rem; height: 1.4rem; color: var(--tuerkis-gedrueckt); }
.weg-tel:active { opacity: .65; }

.formular {
  display: grid; gap: 1.1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--weiss);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(20, 40, 50, .05), 0 10px 30px rgba(20, 40, 50, .07);
}
.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.feld { display: grid; gap: .35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.feld label, .feld legend { font-weight: 600; font-size: .9375rem; color: var(--blau-tief); padding: 0; }
.pflicht { color: var(--tuerkis-schrift); }
.feld input[type="text"], .feld input[type="email"], .feld input[type="tel"], .feld textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .9rem;
  font: inherit; font-size: 1rem;  /* 16px: kein Zoomen auf dem iPhone */
  color: var(--text);
  background: var(--weiss);
  border: 1.5px solid #cfd6da;
  border-radius: var(--radius);
  transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
}
.feld textarea { resize: vertical; min-height: 7rem; }
.feld input:focus, .feld textarea:focus {
  outline: none;
  border-color: var(--tuerkis-gedrueckt);
  box-shadow: 0 0 0 3px rgba(16, 198, 232, .25);
}
.hat-fehler input, .hat-fehler textarea { border-color: #c2412d; }
.fehler { margin: 0; font-size: .875rem; color: #b13a28; }

.wahl-optionen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-top: .35rem; }
.wahl-optionen label { position: relative; font-weight: 400; cursor: pointer; }
.wahl-optionen input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl-optionen span {
  display: flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .5rem;
  text-align: center; font-size: .9375rem;
  border: 1.5px solid #cfd6da;
  border-radius: var(--radius);
  background: var(--weiss);
  -webkit-tap-highlight-color: transparent;
  transition: border-color 120ms ease-out, background-color 120ms ease-out, transform 100ms ease-out;
}
.wahl-optionen label:active span { transform: scale(.97); }
.wahl-optionen input:checked + span {
  border-color: var(--tuerkis-gedrueckt);
  background: rgba(16, 198, 232, .12);
  color: var(--tuerkis-text);
  font-weight: 600;
}
.wahl-optionen input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }
.hat-fehler .wahl-optionen span { border-color: #c2412d; }

.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hinweis-klein { margin: 0; font-size: .8125rem; color: var(--text-leise); }
.formular .knopf { justify-self: start; min-width: 12rem; }
.formular-meldung { margin: 0; font-weight: 600; }
.formular-meldung.ok { color: #1d6b4f; }
.formular-meldung.ok.gross {
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  position: relative;
  background: #e8f6f0; border-radius: .625rem;
  font-size: 1.0625rem; outline: none;
}
.formular-meldung.ok.gross::before {
  content: ""; position: absolute; left: 1.1rem; top: 1.3rem;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: #1d6b4f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 10.5 3 3 6-7'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.formular-meldung.fehlertext { color: #b13a28; }
.formular .knopf:disabled { opacity: .7; cursor: progress; transform: none; }
.danke { min-height: 50vh; }
.formular [hidden] { display: none !important; }

/* Auswahlliste im Formular */
.feld select {
  width: 100%; min-height: 3rem;
  padding: .7rem 2.5rem .7rem .9rem;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23415864' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E") no-repeat right .8rem center / 1.1rem;
  border: 1.5px solid #cfd6da; border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
  transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
}
.feld select:focus { outline: none; border-color: var(--tuerkis-gedrueckt); box-shadow: 0 0 0 3px rgba(16, 198, 232, .25); }
.hat-fehler select { border-color: #c2412d; }
.formular-titel {
  margin: 0;
  font-family: Carme, sans-serif; font-weight: 400;
  font-size: 1.5rem; letter-spacing: -0.01em; color: var(--blau);
}

/* Kontaktseite */
.seitenkopf.schmal .inner { grid-template-columns: 1fr; }
.kontaktdaten { display: grid; gap: 1.25rem; }
.karte-kontakt {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: .75rem;
  background: var(--tuerkis); color: var(--tuerkis-text);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 120ms ease-out, transform 100ms ease-out;
}
.karte-kontakt svg { width: 1.6rem; height: 1.6rem; flex: none; }
.karte-kontakt small { display: block; font-size: .8125rem; opacity: .8; }
.karte-kontakt strong { font-family: Carme, sans-serif; font-weight: 400; font-size: 1.625rem; letter-spacing: -0.01em; }
@media (hover: hover) { .karte-kontakt:hover { background: var(--tuerkis-hell); } }
.karte-kontakt:active { background: var(--tuerkis-gedrueckt); transform: scale(.985); }

.mailwege {
  list-style: none; margin: 0; padding: 0;
  background: var(--weiss); border-radius: .75rem;
  box-shadow: inset 0 0 0 1px var(--linie);
}
.mailwege li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .25rem 1rem;
  padding: .9rem 1.25rem;
}
.mailwege li + li { border-top: 1px solid var(--linie); }
.mw-thema { color: var(--text-leise); font-size: .9375rem; }
.mailwege a {
  font-weight: 600; color: var(--blau-tief); text-decoration: none;
  padding: .25rem 0;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .mailwege a:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--tuerkis); } }
.mailwege a:active { opacity: .65; }

.anschrift h2 {
  margin: 0 0 .35rem;
  font-family: Carme, sans-serif; font-weight: 400; font-size: 1.375rem; color: var(--blau);
}
.anschrift p { margin: 0 0 .25rem; }
.anschrift .leise { color: var(--text-leise); font-size: .9375rem; }

.karte-box {
  border-radius: .75rem; overflow: hidden;
  background: var(--weiss);
  box-shadow: inset 0 0 0 1px var(--linie);
  aspect-ratio: 16 / 10;
}
.karte-box iframe { display: block; width: 100%; height: 100%; border: 0; }
.karte-platzhalter {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  padding: 1.25rem; text-align: center;
  background: linear-gradient(135deg, #eef3f5, #f8fafb);
}
.karte-platzhalter svg { width: 2rem; height: 2rem; color: var(--blau); }
.karte-platzhalter p { margin: 0; max-width: 24rem; font-size: .875rem; color: var(--text-leise); }
.karte-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }

/* Rechtstexte (Impressum, Datenschutz, AGB) */
.recht { background: var(--weiss); }
.rechtstext { max-width: 46rem; font-size: 1rem; line-height: 1.7; }
.rechtstext h2 {
  margin: 2.5rem 0 .75rem;
  font-family: Carme, sans-serif; font-weight: 400;
  font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.005em;
  color: var(--blau);
  scroll-margin-top: calc(var(--kopf-hoehe) + 1rem);
}
.rechtstext > h2:first-child, .rechtstext > p:first-child + h2 { margin-top: 0; }
.rechtstext p { margin: 0 0 1rem; }
.rechtstext ul, .rechtstext ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.rechtstext li { margin-bottom: .4rem; }
.rechtstext li > p { margin: .5rem 0 0; }
.rechtstext a { color: var(--blau-tief); text-decoration-color: var(--tuerkis); text-underline-offset: .2em; overflow-wrap: anywhere; }
.rechtstext a:active { opacity: .65; }
.rechtstext .inhalt {
  margin: 0 0 2.5rem; padding: 1.25rem 1.5rem;
  background: var(--grund); border-radius: .75rem;
}
.rechtstext .inhalt h2 { margin: 0 0 .5rem; font-size: 1.125rem; }
.rechtstext .inhalt ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.rechtstext .inhalt a { display: inline-block; padding: .3rem 0; text-decoration: none; }
@media (hover: hover) { .rechtstext .inhalt a:hover { text-decoration: underline; } }
.entwurf-hinweis-recht {
  padding: .9rem 1.1rem; border-radius: .625rem;
  background: #fff6e0; box-shadow: inset 0 0 0 1px #f0d9a0;
  font-size: .9375rem;
}

/* Bild + Text (Unternehmen, Service) */
.bildtext.weiss { background: var(--weiss); }
.zweispaltig.mittig { align-items: center; }
.zweispaltig.umgekehrt > :first-child { order: 2; }
.foto { margin: 0; border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(20, 40, 50, .1); aspect-ratio: 3 / 2; }
.foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Illustrationen statt Fotos */
.foto.illu { display: grid; place-items: end center; }
.foto.illu img { object-fit: contain; }

/* Über uns: Rheinturm und Brücke vor hellem Himmel */
.foto.illu-skyline {
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #dff5fb 0%, #f4fbfd 65%, #ffffff 100%);
}
.foto.illu-skyline { position: relative; }
.foto.illu-skyline img {
  position: absolute;
  left: 4%; top: 6%;
  width: 92%; height: 87%;           /* unten 7 % Luft: Bodenlinie wird nicht angeschnitten */
  object-fit: contain; object-position: center bottom;
}

/* Technik: Techniker auf der Straße, darüber Himmel – im Stil der Skyline */
.foto.illu-technik {
  position: relative;
  background:
    url("../img/strasse-technik.svg?v=5") center bottom / 100% 100% no-repeat,   /* Gehweg, Bordstein, Straße */
    radial-gradient(60% 50% at 30% 18%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #dff5fb 0%, #f4fbfd 70%, #ffffff 100%);
}
.foto.illu-technik img {
  position: absolute; z-index: 1;
  left: 4%; bottom: 20%;                 /* steht auf dem Gehweg */
  width: 92%; height: auto;
  filter: drop-shadow(0 10px 6px rgba(30, 40, 45, .18));   /* Schatten auf dem Gehweg */
}

.support-wege { display: grid; gap: .75rem; margin-top: 1.5rem; max-width: 26rem; }
.karte-kontakt.neben { background: var(--weiss); color: var(--blau-tief); box-shadow: inset 0 0 0 1.5px var(--linie); }
.karte-kontakt.neben svg { color: var(--tuerkis-gedrueckt); }
@media (hover: hover) { .karte-kontakt.neben:hover { background: var(--weiss); box-shadow: inset 0 0 0 1.5px var(--blau); } }
.karte-kontakt.neben:active { background: var(--grund); }
.karte-kontakt strong { overflow-wrap: anywhere; }

.werkzeuge { background: var(--weiss); }
.werkzeug-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.werkzeug {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1rem; background: var(--grund);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.werkzeug h2 { margin: 0 0 .35rem; font-family: Carme, sans-serif; font-weight: 400; font-size: 1.5rem; color: var(--blau); }
.werkzeug p { margin: 0 0 1.25rem; color: var(--text-leise); }
.werkzeug-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; }

@media (max-width: 760px) {
  .zweispaltig.umgekehrt > :first-child { order: 0; }
  .werkzeug-raster { grid-template-columns: 1fr; }
  .werkzeug-knoepfe .knopf { width: 100%; }
}

/* Bildplatzhalter (echte Bilder folgen) */
.bild-platzhalter {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  aspect-ratio: 16 / 10;
  padding: 1rem; text-align: center;
  border-radius: 1rem;
  border: 2px dashed #b9c7cd;
  background:
    repeating-linear-gradient(135deg, rgba(65, 88, 100, .035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #f4fbfd, #e6f4f8);
  color: var(--text-leise);
}
.bild-platzhalter span {
  font-family: Carme, sans-serif; font-size: 1.125rem; color: var(--blau);
}
.bild-platzhalter span::before {
  content: ""; display: block; width: 2.5rem; height: 2.5rem; margin: 0 auto .5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23415864' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .7;
}
.bild-platzhalter small { font-size: .875rem; max-width: 22rem; }
.seitenkopf .bild-platzhalter { width: 100%; }

/* Bausteine: Text und Bild im Wechsel */
.bausteine { background: var(--weiss); }
.baustein {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.baustein.umgekehrt > :first-child { order: 2; }
.baustein h3 {
  margin: 0 0 .75rem;
  font-family: Carme, sans-serif; font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.01em;
  color: var(--blau);
}
.baustein p:not(.gruppe) { margin: 0; max-width: 34rem; }

/* Karten ohne Link (nur Information) */
.karten.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2rem; }
.karte.statisch { cursor: default; }
.karte.statisch h3 {
  margin: .875rem 0 .5rem;
  font-family: Carme, sans-serif; font-weight: 400;
  font-size: 1.25rem; line-height: 1.2; color: var(--blau-tief);
}
.karte.statisch p { margin: 0; flex: none; }
@media (hover: hover) { .karte.statisch:hover { box-shadow: inset 0 0 0 1px var(--linie); } }
.karte.statisch:active { transform: none; box-shadow: inset 0 0 0 1px var(--linie); }

/* Aufklappbare Funktionsliste */
.funktionen.weiss { background: var(--weiss); }
.aufklapp-liste {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem; align-items: start;
}
.aufklapp-liste details {
  border-radius: .75rem;
  background: var(--grund);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.aufklapp-liste summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.25rem; padding: .75rem 1.25rem;
  font-family: Carme, sans-serif; font-size: 1.1875rem; color: var(--blau-tief);
  cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: .75rem;
  transition: background-color 120ms ease-out;
}
.aufklapp-liste summary::-webkit-details-marker { display: none; }
.aufklapp-liste summary::after {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230eb2d1' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M10 4v12M4 10h12'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 160ms ease-out;
}
.aufklapp-liste details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) { .aufklapp-liste summary:hover { background: rgba(65, 88, 100, .05); } }
.aufklapp-liste summary:active { background: rgba(65, 88, 100, .09); }
.aufklapp-liste ul { margin: 0; padding: 0 1.25rem 1.1rem 2.5rem; display: grid; gap: .35rem; font-size: .9375rem; }

@media (max-width: 960px) {
  .karten.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .baustein { grid-template-columns: 1fr; gap: 1.25rem; }
  .baustein.umgekehrt > :first-child { order: 0; }
  .karten.vier, .aufklapp-liste { grid-template-columns: 1fr; }
  .seitenkopf .bild-platzhalter { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aufklapp-liste summary::after { transition: none; }
}

/* SIP-Trunks: Vorteile-Leiste, Preise (Platzhalter), Funktionen, FAQ */
.kurzvorteile { background: var(--weiss); padding: clamp(1.5rem, 4vw, 2.5rem) 0; border-bottom: 1px solid var(--linie); }
.vorteil-leiste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.vorteil-leiste li { display: flex; flex-direction: column; gap: .2rem; padding: .25rem 1rem; }
.vorteil-leiste li + li { border-left: 1px solid var(--linie); }
.vorteil-leiste strong { font-family: Carme, sans-serif; font-weight: 400; font-size: 1.5rem; line-height: 1.15; color: var(--blau); }
.vorteil-leiste span { font-size: .9375rem; color: var(--text-leise); }

.tarif-preis { margin: .9rem 0 1.25rem; font-size: .9375rem; color: var(--text-leise); flex: 1; }
.tarif-preis small { display: block; font-size: .8125rem; margin-top: .15rem; }
.preis-platzhalter {
  display: inline-block; padding: .05rem .45rem; border-radius: .35rem;
  background: #fff3cd; box-shadow: inset 0 0 0 1px #f0d9a0;
  font-family: Carme, sans-serif; font-size: 1.125rem; color: var(--blau-tief);
}
.tarif-preis .preis-platzhalter { font-size: 1.375rem; margin-right: .25rem; }
.preis-hinweis { margin: 1.25rem 0 0; font-size: .9375rem; color: var(--text-leise); }
.preis-hinweis .preis-platzhalter { font-size: .9375rem; font-family: inherit; }

.funktions-raster { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.funktions-raster li { padding: 1.25rem 1.5rem; background: var(--weiss); border-radius: .75rem; box-shadow: inset 0 0 0 1px var(--linie); }
.funktions-raster h3 { margin: 0 0 .35rem; font-family: Carme, sans-serif; font-weight: 400; font-size: 1.1875rem; color: var(--blau-tief); }
.funktions-raster p { margin: 0; font-size: .9375rem; }

.aufklapp-liste.einspaltig { grid-template-columns: 1fr; max-width: 48rem; }
.aufklapp-liste details > p { margin: 0; padding: 0 1.25rem 1.1rem; font-size: .9375rem; max-width: 42rem; }

@media (max-width: 960px) {
  .vorteil-leiste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vorteil-leiste li:nth-child(3) { border-left: 0; }
  .funktions-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .funktions-raster { grid-template-columns: 1fr; }
  .tarif:has(.tarif-preis) { flex-direction: column; align-items: stretch; }
  .tarif:has(.tarif-preis) .tarif-preis { margin: .5rem 0 1rem; }
  .vorteil-leiste li { padding: .25rem .5rem; }
  .vorteil-leiste strong { font-size: 1.25rem; }
}

/* Lösungsseiten */
.seiten-symbol {
  justify-self: center;
  display: grid; place-items: center;
  width: clamp(9rem, 18vw, 13rem); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e6f8fc, #d3eef5);
  color: var(--blau);
}
.seiten-symbol svg { width: 48%; height: 48%; }

.tarife.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 60rem; }
.tarif-name {
  margin: 0 0 .35rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--tuerkis-schrift);
}
.tarif-merkmale {
  list-style: none; margin: 1rem 0 1.5rem; padding: 0;
  display: grid; gap: .5rem; flex: 1; width: 100%;
  font-size: .9375rem;
}
.tarif-merkmale li { padding-top: .5rem; border-top: 1px solid var(--linie); }
.tarife.drei .tarif-wert { margin-bottom: 1.25rem; }
.tarife.drei .tarif-merkmale + .knopf { margin-top: auto; }
.tarife.drei .tarif-wert + .knopf { margin-top: auto; }

.partner { background: var(--weiss); border-top: 1px solid var(--linie); padding: clamp(2rem, 5vw, 3rem) 0; }
.partner-zeile { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.partner-zeile img { width: 11rem; height: auto; }
.partner-zeile p { margin: 0; max-width: 36rem; color: var(--text-leise); }
.partner-zeile a { color: var(--blau-tief); font-weight: 600; text-decoration-color: var(--tuerkis); text-underline-offset: .2em; }
.partner-titel { margin: 0 0 .25rem; font-family: Carme, sans-serif; font-weight: 400; font-size: 1.375rem; color: var(--blau); }

.volumen { background: var(--weiss); }
.volumen .abschnitt-titel { margin: 0; }

.standorte { background: var(--weiss); }
.standort-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.standort {
  padding: 1.5rem;
  border-radius: .75rem;
  background: var(--grund);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.ort-marke {
  display: inline-block; margin: 0 0 .75rem;
  padding: .2rem .6rem; border-radius: 99px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(16, 198, 232, .14); color: var(--tuerkis-text);
}
.standort h3 { margin: 0 0 .5rem; font-family: Carme, sans-serif; font-weight: 400; font-size: 1.25rem; color: var(--blau-tief); }
.standort p { margin: 0; font-size: .9375rem; }

@media (max-width: 960px) {
  .tarife { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tarife.drei { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .seiten-symbol { display: none; }
  .tarife.drei { grid-template-columns: 1fr; }
  .tarife.drei .tarif { flex-direction: column; align-items: stretch; }
  .partner-zeile { gap: 1rem; }
}
@media (max-width: 760px) {
  .seitenkopf .inner, .zweispaltig { grid-template-columns: minmax(0, 1fr); }
  .seitenkopf .bild { max-width: 24rem; justify-self: center; margin: 0 calc(var(--rand) * -1); }
  .tarife { grid-template-columns: 1fr; }
  .tarif { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: .75rem; padding: 1.25rem; }
  .tarif-zusatz { margin: 0 0 1rem; flex: 1 1 auto; }
  .feldreihe { grid-template-columns: 1fr; }
  .wahl-optionen { grid-template-columns: 1fr 1fr; }
  .formular .knopf { justify-self: stretch; min-height: 3.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wahl-optionen label:active span { transform: none; }
}

/* ---------- Entwurfs-Hinweis ---------- */
.entwurf {
  position: fixed; left: .75rem; bottom: .75rem; z-index: 40;
  background: var(--blau-tief); color: #fff;
  font-size: .75rem; padding: .35rem .6rem; border-radius: .3rem; opacity: .85;
  pointer-events: none;
}
body:has(.entwurf) .fuss { padding-bottom: 2.5rem; } /* Entwurfs-Hinweis verdeckt nichts */

/* =========================================================
   Tablet / Handy
   ========================================================= */
@media (max-width: 960px) {
  .karten.drei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glasfaser-karte { grid-template-columns: 1fr; gap: 1.75rem; }
  .gk-fakten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kontakt .inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --kopf-hoehe: 4rem; }
  /* Handy: nur der Firmenname – Telefon sitzt direkt im Kopf */
  .meta .kontakte { display: none; }
  .meta .inner { justify-content: flex-start; min-height: 2rem; }
  .meta .firma { font-size: .8125rem; }
  .hauptmenue { display: none; }
  .kopf-handy { display: flex; }
  .logo img { height: 2.25rem; }

  /* Schmal: Ausschnitt rechts mit Rheinturm und Rheinkniebrücke zeigen */
  .hero { background-size: max(100%, 40rem) auto, auto, auto; background-position: 100% bottom, 0 0, 0 0; }
  .hero .inner { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 1.5rem; }   /* Platz, damit die Turmspitze den Text nicht berührt */
  .aktionen { flex-direction: column; align-items: stretch; }
  .aktionen .knopf { min-height: 3.25rem; }
  .hero .bild {
    margin: 0 calc(var(--rand) * -1);
    /* Kabeltrommel auf der Grundlinie der (hier mind. 40rem breiten) Skyline */
    margin-bottom: calc(max(100vw, 40rem) * 0.0150 - 1.5rem);
    max-width: 26rem; justify-self: center;
  }

  .karten.zwei, .karten.drei, .gk-fakten { grid-template-columns: 1fr; }
  .gk-fakten { gap: .5rem; }
  .gk-fakten li { flex-direction: row; align-items: baseline; gap: .6rem; padding: .75rem 1rem; }
  .gk-fakten strong { font-size: 1.25rem; white-space: nowrap; flex: none; }
  .glasfaser-karte .knopf { width: 100%; min-height: 3.25rem; }
  .zahlen dl { grid-template-columns: 1fr; }
  .zahlen dl > div { padding: 1.25rem 0; }
  .zahlen dl > div + div { border-left: 0; border-top: 1px solid var(--linie); }
  .kontakt .weg { min-height: 4.25rem; }
  .fuss .inner { flex-direction: column; align-items: flex-start; }
  .fuss nav { margin-left: -.5rem; }
}

/* =========================================================
   Rücksicht auf Einstellungen
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .knopf, .symbolknopf, .kontakt .weg, .karte { transition: background-color 120ms linear, box-shadow 120ms linear; }
  .knopf:active, .symbolknopf:active, .kontakt .weg:active, .karte:active { transform: none; }
  .karte:hover .mehr svg { transform: none; }
  .menue-blatt .flaeche { transform: none; transition: opacity 150ms linear; }
}
@media (prefers-reduced-transparency: reduce) {
  .kopf { background: var(--grund); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .knopf-neben { box-shadow: inset 0 0 0 2px var(--blau-tief); }
  .punkte li, .hero .hinweis, .abschnitt-intro { color: var(--text); }
  .kopf { background: var(--grund); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* =========================================================
   Apple-Feinschliff (überschreibt die Grundwerte oben)
   1. Pill-Knöpfe   2. Flächen statt Linien, große Radien   3. Größere Schrift, mehr Luft
   ========================================================= */
:root {
  --grund: #f5f5f7;                 /* Apples helles Grau für Flächen */
  --rund-karte: 1.375rem;           /* 22 px */
  --rund-gross: 1.75rem;            /* 28 px */
  --schatten-weich: 0 2px 6px rgba(20, 30, 40, .04), 0 12px 32px rgba(20, 30, 40, .07);
}

/* ---- 3. Schrift und Weißraum ---- */
body { font-size: 1.0625rem; line-height: 1.6; }
.abschnitt { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.abschnitt-titel {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.08; letter-spacing: -0.022em;
  margin-bottom: .75rem;
}
.abschnitt-intro { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.5; max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.hero h1 { font-size: clamp(2.5rem, 6.6vw, 4.75rem); line-height: 1.03; letter-spacing: -0.025em; }
.hero .kern { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.seitenkopf h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; }
.seitenkopf .kern { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.seitenkopf { border-bottom: 0; }
.seitenkopf .inner { padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 6vw, 4.5rem); }
.karte p, .standort p, .funktions-raster p, .leistung p { font-size: 1rem; }
.baustein h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.018em; }

/* ---- 1. Pill-Knöpfe ---- */
.knopf, .knopf-klein { border-radius: 999px; }
.knopf { padding: .8rem 1.6rem; }
.knopf-klein { padding: .55rem 1.2rem; }
.knopf-neben { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(47, 66, 76, .28); }
.hero .knopf-neben, .tarif .knopf-neben, .formular .knopf-neben { background: var(--weiss); }
@media (hover: hover) { .knopf-neben:hover { box-shadow: inset 0 0 0 1.5px var(--blau-tief); background: var(--weiss); } }
.symbolknopf { border-radius: 50%; }
.wahl-optionen span { border-radius: 999px; }

/* ---- 2. Flächen statt Linien, große Radien ---- */
.karte {
  border-radius: var(--rund-karte);
  box-shadow: none;
  background: var(--weiss);
}
@media (hover: hover) { .karte:hover { box-shadow: var(--schatten-weich); } }
.karte:active { box-shadow: var(--schatten-weich); }
.karte.statisch:hover, .karte.statisch:active { box-shadow: none; }

.glasfaser-karte { border-top: 0; border-radius: var(--rund-gross); box-shadow: var(--schatten-weich); }
.gk-fakten li { border-radius: 1rem; }

.tarif { border-radius: var(--rund-karte); box-shadow: none; }
.tarif.hervor { box-shadow: inset 0 0 0 2px var(--tuerkis), var(--schatten-weich); }

.hakenliste { gap: .5rem; }
.hakenliste li { border-radius: 1rem; box-shadow: none; }
.vorteile .hakenliste li, .anfrage .hakenliste li { background: var(--weiss); }

.standort, .werkzeug { border-radius: var(--rund-karte); box-shadow: none; }
.funktions-raster li { border-radius: var(--rund-karte); box-shadow: none; }
.aufklapp-liste details { border-radius: 1.125rem; box-shadow: none; }
.aufklapp-liste summary { border-radius: 1.125rem; }
.mailwege { border-radius: var(--rund-karte); box-shadow: none; }
.mailwege li + li { border-top-color: rgba(0, 0, 0, .06); }
.karte-kontakt { border-radius: var(--rund-karte); }
.karte-kontakt.neben { box-shadow: none; background: var(--weiss); }
.kontakt .weg { border-radius: 1.125rem; }

.formular { border-radius: var(--rund-gross); box-shadow: var(--schatten-weich); }
.foto, .karte-box { border-radius: var(--rund-gross); }
.bild-platzhalter { border-radius: var(--rund-gross); }
.menue-blatt .flaeche { border-radius: 1.25rem; }

/* Abschnitte: Flächen im Wechsel statt Linien */
.zahlen dl > div + div { border-left-color: rgba(0, 0, 0, .07); }
.vorteil-leiste li + li { border-left-color: rgba(0, 0, 0, .07); }
.kurzvorteile, .partner { border: 0; }

@media (max-width: 760px) {
  .zahlen dl > div + div { border-top-color: rgba(0, 0, 0, .07); }
  .knopf { padding: .8rem 1.3rem; }
}

/* =========================================================
   Seitennavigation (Produktseiten) – Milchglas-Leiste unter dem Kopf
   ========================================================= */
.subnav {
  position: sticky;
  top: var(--kopf-hoehe);
  z-index: 45;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.subnav .inner { display: flex; align-items: center; gap: 1.5rem; min-height: 3.25rem; }
.subnav-titel {
  font-family: Carme, sans-serif; font-size: 1.3125rem; letter-spacing: -0.01em;
  color: var(--blau-tief); text-decoration: none; white-space: nowrap;
}
.subnav-links { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: .25rem; }
.subnav-links a {
  display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 .75rem;
  border-radius: 999px;
  font-size: .875rem; color: var(--text-leise); text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 120ms ease-out, background-color 120ms ease-out;
}
@media (hover: hover) { .subnav-links a:hover { color: var(--blau-tief); } }
.subnav-links a:active { background: rgba(65, 88, 100, .08); }
.subnav-links a.aktiv { color: var(--blau-tief); background: rgba(65, 88, 100, .07); }
.knopf-mini { min-height: 2rem; padding: .35rem .95rem; font-size: .8125rem; }

/* Kopf ohne eigenen Schatten, wenn die Leiste darunter klebt */
body:has(.subnav) .kopf.gescrollt { box-shadow: none; }
/* Sprungziele landen unterhalb von Kopf + Leiste */
html:has(.subnav) { scroll-padding-top: calc(var(--kopf-hoehe) + 3.25rem + 1rem); }

@media (max-width: 960px) {
  .subnav-links { display: none; }          /* schmal: nur Titel + Anfragen */
  .subnav .knopf-mini { margin-left: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .subnav { background: var(--weiss); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Hauptnavigation: runde Hover-/Aktiv-Flächen statt eckiger Kästen und Unterstrich */
.hauptmenue a.link { border-radius: 999px; padding: .5rem .95rem; }
.hauptmenue a.link.aktiv { box-shadow: none; border-radius: 999px; background: rgba(65, 88, 100, .08); color: var(--blau-tief); }
.menue-blatt nav a { border-radius: 0; }
.menue-blatt .kopfzeile .symbolknopf { border-radius: 50%; }

/* =========================================================
   Startseite: „in Zahlen“ – große Verlaufszahlen auf Kacheln
   ========================================================= */
.zahlen { background: var(--weiss); }
.zahlen .abschnitt-titel { text-align: center; margin-bottom: 0; }
.zahlen dl {
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  max-width: 64rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.25rem);
}
.zahlen dl > div,
.zahlen dl > div + div {
  border: 0;
  padding: clamp(1.75rem, 4vw, 2.75rem) 1.25rem;
  border-radius: var(--rund-gross);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(16, 198, 232, .10), transparent 60%),
    var(--grund);
  align-items: center;
  gap: .75rem;
}
.zahlen dd {
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: .95;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--blau) 0%, var(--tuerkis-gedrueckt) 55%, var(--tuerkis) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.zahlen dt {
  font-size: 1.0625rem; font-weight: 600;
  color: var(--blau-tief);
  letter-spacing: -0.005em;
}
@media (max-width: 760px) {
  .zahlen dl { grid-template-columns: 1fr; }
  .zahlen dl > div, .zahlen dl > div + div { border-top: 0; padding: 1.5rem 1.25rem; }
  .zahlen dd { font-size: 4rem; }
}
@media (prefers-contrast: more) {
  .zahlen dd { background: none; color: var(--blau); }
}

/* Nachjustierung: Zahlen ohne Verläufe, kompaktere Abstände zwischen Abschnitten */
.zahlen dl > div,
.zahlen dl > div + div { background: var(--grund); }
.zahlen dd { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blau); }
.abschnitt { padding: clamp(3rem, 6vw, 5rem) 0; }

/* =========================================================
   Wärme: Gelb aus der Skyline als sparsamer Akzent, wärmeres Grau
   ========================================================= */
:root {
  --gelb: #fff779;          /* Gelb der Bäume in der Skyline */
  --grund: #f6f5f1;         /* minimal wärmeres Grau statt kühlem #f5f5f7 */
}
/* 1. Kernaussage wie mit dem Textmarker angestrichen */
.hero .kern strong { background: linear-gradient(transparent 58%, rgba(255, 247, 121, .9) 58%, rgba(255, 247, 121, .9) 92%, transparent 92%); }
/* 4. Symbole im dunklen Kontaktband leuchten warm */
.kontakt .weg:not(.haupt) svg { color: var(--gelb); }

/* =========================================================
   Kleine Bäume aus der Skyline-Welt als Akzent (Test: Startseite)
   ========================================================= */
.leistungen .inner { position: relative; }
.leistungen .inner::after {
  content: ""; position: absolute; pointer-events: none;
  top: .25rem; right: var(--rand);
  width: clamp(7rem, 12vw, 10rem); aspect-ratio: 180 / 110;
  background: url("../img/baeume.svg?v=2") center bottom / contain no-repeat;
}
.kontakt { position: relative; }
.kontakt::before {
  content: ""; position: absolute; pointer-events: none;
  right: max(var(--rand), calc((100% - var(--breite)) / 2 + 3rem));
  bottom: calc(100% - .4rem);                 /* Bäume stehen auf der Oberkante des Bandes */
  width: clamp(7rem, 11vw, 9.5rem); aspect-ratio: 180 / 110;
  background: url("../img/baeume.svg?v=2") center bottom / contain no-repeat;
  transform: scaleX(-1);                      /* gespiegelt, damit es nicht doppelt wirkt */
}
@media (max-width: 760px) {
  .leistungen .inner::after { width: 5.5rem; top: 0; }
  .kontakt::before { width: 6rem; right: var(--rand); }
}

/* Kopf und Seitenleiste im warmen Grau, Hover/Aktiv in passend warmem Ton */
.kopf { background: rgba(246, 245, 241, .88); }
.subnav { background: rgba(250, 249, 246, .82); }
@media (hover: hover) {
  .hauptmenue a.link:hover { background: rgba(110, 96, 60, .08); }
  .subnav-links a:hover { background: rgba(110, 96, 60, .06); }
}
.hauptmenue a.link:active { background: rgba(110, 96, 60, .13); }
.hauptmenue a.link.aktiv { background: rgba(110, 96, 60, .09); }
.subnav-links a.aktiv { background: rgba(110, 96, 60, .08); }
.subnav-links a:active { background: rgba(110, 96, 60, .12); }
@media (prefers-reduced-transparency: reduce) {
  .kopf { background: var(--grund); }
  .subnav { background: #faf9f6; }
}

/* =========================================================
   Unterseiten: kleine Bäume stehen auf der Oberkante des Footers
   (statt auf dem Kontaktband). Startseite unverändert.
   ========================================================= */
body:not(:has(.hero)) .kontakt::before { display: none; }
body:not(:has(.hero)) .fuss { position: relative; }
body:not(:has(.hero)) .fuss::before {
  content: ""; position: absolute; pointer-events: none;
  right: max(var(--rand), calc((100% - var(--breite)) / 2 + 3rem));
  bottom: calc(100% - .4rem);
  width: clamp(7rem, 11vw, 9.5rem); aspect-ratio: 200 / 130;
  background: url("../img/baeume.svg?v=2") center bottom / contain no-repeat;
  transform: scaleX(-1);
}
@media (max-width: 760px) {
  body:not(:has(.hero)) .fuss::before { width: 6rem; right: var(--rand); }
}
/* Bäume: oben neben „Unsere Lösungen“ entfernt; immer auf dem Kontaktband.
   Seiten ohne Kontaktband zeigen sie auf dem Footer. */
.leistungen .inner::after { display: none; }
body:not(:has(.hero)) .kontakt::before { display: block; }
body:has(.kontakt) .fuss::before { display: none; }

/* =========================================================
   Startseite: Techniker läuft beim Laden einmal ins Bild und bleibt stehen
   (keine Endlosschleife; bei „Bewegung reduzieren“ keine Animation)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hero .bild img {
    transform-origin: 50% 100%;
    animation: techniker-laeuft 1.8s cubic-bezier(.22, .8, .3, 1) .35s both;
  }
}
@keyframes techniker-laeuft {
  0%   { transform: translateX(14%)   translateY(0)     rotate(0deg);   opacity: 0; }
  12%  { opacity: 1; }
  20%  { transform: translateX(10.5%) translateY(-1.6%) rotate(-.6deg); }
  35%  { transform: translateX(7%)    translateY(0)     rotate(0deg); }
  50%  { transform: translateX(4.2%)  translateY(-1.2%) rotate(-.4deg); }
  65%  { transform: translateX(2%)    translateY(0)     rotate(0deg); }
  80%  { transform: translateX(.7%)   translateY(-.6%)  rotate(-.2deg); }
  100% { transform: none; opacity: 1; }
}

/* Techniker schräg ansetzen wie auf der bisherigen Website (15°).
   Drehpunkt = Auflagepunkt der Kabelrolle, damit sie auf der Grundlinie bleibt.
   Die Lauf-Animation sitzt auf dem Container, damit der Weg waagerecht bleibt. */
.hero .bild img { transform: rotate(15deg); transform-origin: 8.7% 98.5%; animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero .bild {
    transform-origin: 8.7% 98.5%;
    animation: techniker-laeuft 1.8s cubic-bezier(.22, .8, .3, 1) .35s both;
  }
}

/* Feinschliff Techniker: minimal höher, Ruheposition etwas weiter zur Mitte,
   Lauf beginnt weiter außen (von außerhalb des rechten Rands) */
.hero .bild img { transform: translateY(-2.5%) rotate(15deg); }
@media (min-width: 1000px) {
  .hero .bild {
    left: max(calc(50% - 6rem), calc(max(0px, (100% - var(--breite)) / 2) + var(--rand) + min(34rem, 50vw - 3rem) - 2rem));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .bild { animation: techniker-laeuft-weit 2.6s cubic-bezier(.25, .7, .3, 1) .3s both; }
}
@keyframes techniker-laeuft-weit {
  0%   { transform: translateX(75%)  translateY(0);     opacity: 0; }
  8%   { opacity: 1; }
  15%  { transform: translateX(60%)  translateY(-1.6%); }
  28%  { transform: translateX(44%)  translateY(0); }
  41%  { transform: translateX(30%)  translateY(-1.4%); }
  54%  { transform: translateX(18%)  translateY(0); }
  67%  { transform: translateX(9%)   translateY(-1%); }
  80%  { transform: translateX(3.5%) translateY(0); }
  90%  { transform: translateX(1%)   translateY(-.4%); }
  100% { transform: none; opacity: 1; }
}
/* mittlere Breiten: etwas mehr Abstand zur Textspalte (Hand berührt sonst den Hinweistext) */
@media (min-width: 761px) and (max-width: 999px) {
  .hero .bild { left: calc(max(calc(50% - 3rem), calc(var(--rand) + min(34rem, 50vw - 3rem) + 1rem)) + 2.5rem); }
}

/* Techniker noch etwas weiter zur Mitte (ab 1000px) */
@media (min-width: 1000px) {
  .hero .bild {
    left: max(calc(50% - 9rem), calc(max(0px, (100% - var(--breite)) / 2) + var(--rand) + min(34rem, 50vw - 3rem) - 5rem));
  }
}

/* Kontaktleiste an die Hauptnavigation andocken: gleicher Hintergrund, keine Trennlinie */
.meta { background: rgba(246, 245, 241, .88); border-bottom: 0; }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .meta { background: var(--grund); }
}
/* Hinweiszeile im Hero schmaler umbrechen, damit die Figur Platz hat */
@media (min-width: 761px) { .hero .hinweis { max-width: 21rem; } }

/* Techniker noch etwas weiter zur Mitte (ab 1000px), Hinweiszeile entsprechend schmaler */
@media (min-width: 1000px) {
  .hero .bild {
    left: max(calc(50% - 12rem), calc(max(0px, (100% - var(--breite)) / 2) + var(--rand) + min(34rem, 50vw - 3rem) - 8rem));
  }
  .hero .hinweis { max-width: 17rem; }
}

/* Kontaktleiste bleibt beim Scrollen oben – Navigation dockt direkt darunter an */
:root { --meta-hoehe: 2.25rem; }
@media (max-width: 760px) { :root { --meta-hoehe: 2rem; } }
html { scroll-padding-top: calc(var(--meta-hoehe) + var(--kopf-hoehe) + 1rem); }
html:has(.subnav) { scroll-padding-top: calc(var(--meta-hoehe) + var(--kopf-hoehe) + 3.25rem + 1rem); }
.meta {
  position: sticky; top: 0; z-index: 51;
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
}
.meta .inner { height: var(--meta-hoehe); min-height: 0; }
.kopf { top: var(--meta-hoehe); }
.subnav { top: calc(var(--meta-hoehe) + var(--kopf-hoehe)); }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .meta { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (min-width: 1000px) { .hero .hinweis { max-width: 19.5rem; text-wrap: balance; } }

/* Unternehmen › Technik: Figur wie auf der Startseite um 15° neigen,
   Drehpunkt = Kabelrolle (bleibt auf dem Gehweg); etwas schmaler, damit rechts nichts abgeschnitten wird */
.foto.illu-technik img {
  width: 85%;
  transform: rotate(15deg);
  transform-origin: 8.7% 98.5%;
}
/* Figur nach rechts, damit das Kabelende über den Bildrand hinausläuft */
.foto.illu-technik img { left: 13%; }

/* Mehr Luft vor dem Kontaktband (bzw. Footer), damit die Bäume freier stehen */
.abschnitt:has(+ .kontakt),
body:not(:has(.kontakt)) main > .abschnitt:last-child {
  padding-bottom: calc(clamp(3rem, 6vw, 5rem) + clamp(2rem, 4vw, 3.5rem));
}

/* Feine Trennlinie zwischen Kontaktleiste und Hauptnavigation (innerhalb der Leistenhöhe) */
.meta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--linie);
  pointer-events: none;
}

/* Produktboxen: Schatten schon im Ruhezustand (wie die Netz-Box),
   Hover/Druck als Farbwechsel ins Markenblau */
.karte:not(.statisch) {
  box-shadow: var(--schatten-weich);
  transition: background-color 200ms ease-out, box-shadow 200ms ease-out, transform 100ms ease-out;
}
.karte:not(.statisch) h4, .karte:not(.statisch) p, .karte:not(.statisch) .mehr,
.karte:not(.statisch) .symbol, .karte:not(.statisch) .mehr svg { transition: color 200ms ease-out; }
@media (hover: hover) {
  .karte:not(.statisch):hover { background: var(--blau); box-shadow: var(--schatten-weich); }
}
.karte:not(.statisch):active { background: var(--blau-tief); box-shadow: var(--schatten-weich); }
@media (hover: hover) {
  .karte:not(.statisch):hover h4, .karte:not(.statisch):hover p, .karte:not(.statisch):hover .mehr { color: var(--weiss); }
  .karte:not(.statisch):hover .symbol, .karte:not(.statisch):hover .mehr svg { color: var(--tuerkis); }
}
.karte:not(.statisch):active h4, .karte:not(.statisch):active p, .karte:not(.statisch):active .mehr { color: var(--weiss); }
.karte:not(.statisch):active .symbol, .karte:not(.statisch):active .mehr svg { color: var(--tuerkis); }

/* Unternehmen › Über uns: Skyline bei gleicher Höhe ca. 15 % breiter ziehen,
   damit links und rechts weniger Leerraum bleibt */
.foto.illu-skyline img {
  left: 50%; transform: translateX(-50%);
  width: auto; max-width: 98%;
  aspect-ratio: 1187 / 801;           /* 1032 × 1,15 */
  object-fit: fill;
}

/* Unternehmen › ISO/IEC 27001 */
.zertifikat-karte {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--weiss);
  border-radius: var(--rund-gross);
  box-shadow: var(--schatten-weich);
}
.zertifikat-karte .abschnitt-titel { margin: 0 0 1rem; }
.zk-text > p:not(.ort-marke) { margin: 0 0 1.5rem; max-width: 40rem; }
.zk-fakten {
  display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: .75rem 2.5rem;
  justify-content: start; margin: 0 0 1.75rem;
}
.zk-fakten dt { font-size: .8125rem; color: var(--text-leise); margin: 0 0 .15rem; }
.zk-fakten dd { margin: 0; font-weight: 600; color: var(--blau-tief); }
.zertifikat-karte .knopf { display: inline-flex; align-items: center; gap: .5rem; }
.zertifikat-karte .knopf svg { width: 1.1rem; height: 1.1rem; flex: none; }
.zk-format { font-weight: 400; opacity: .75; }
.zk-siegel { text-align: center; width: clamp(8rem, 14vw, 11rem); }
.zk-siegel svg { width: 100%; height: auto; display: block; }
.zk-siegel p { margin: .75rem 0 0; font-size: .875rem; color: var(--text-leise); line-height: 1.3; }
.zk-siegel strong { display: block; font-family: Carme, sans-serif; font-weight: 400; font-size: 1.25rem; color: var(--blau-tief); }
@media (max-width: 760px) {
  .zertifikat-karte { grid-template-columns: 1fr; }
  .zk-siegel { order: -1; width: 6.5rem; text-align: left; }
  .zk-fakten { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .zk-siegel { width: 4rem; }
  .zk-siegel p { display: none; }
  .zertifikat-karte { gap: 1rem; }
}
@media (max-width: 760px) {
  .zertifikat-karte .knopf { width: 100%; justify-content: center; white-space: nowrap; }
  .zk-format { display: none; }
}
.zk-siegel strong { white-space: nowrap; }

/* Unternehmen › Points of Presence: Boxen mit weichem Schatten wie die übrigen Karten */
.standort { background: var(--weiss); box-shadow: var(--schatten-weich); }

/* Startseite › in Zahlen: Titel linksbündig, Kacheln in Breite und Abstand wie die Produktboxen, mit Schatten */
.zahlen .abschnitt-titel { text-align: left; }
.zahlen dl { max-width: none; margin-left: 0; margin-right: 0; gap: 1.25rem; }
.zahlen dl > div,
.zahlen dl > div + div { background: var(--weiss); box-shadow: var(--schatten-weich); border-radius: var(--rund-karte); }

/* Footer: Hinweis ISO/IEC 27001 mit Link zum Abschnitt auf der Unternehmen-Seite */
.fuss .fuss-iso { gap: .45rem; margin-right: auto; color: rgba(255, 255, 255, .92); }
.fuss .fuss-iso svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--tuerkis); }
@media (max-width: 760px) { .fuss .fuss-iso { margin-left: -.5rem; } }

/* Skyline im Hero zurücknehmen (wie auf der bisherigen Website): nur die Skyline wird transparent,
   Himmel und Techniker bleiben kräftig. Deckkraft hier zentral einstellbar. */
:root { --skyline-deckkraft: .5; }
.hero {
  isolation: isolate;
  background:
    radial-gradient(55% 60% at 75% 15%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #dff5fb 0%, #f4fbfd 65%, #ffffff 100%);
  background-color: var(--weiss);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/skyline-duesseldorf.webp?v=1") center bottom / 100% auto no-repeat;
  opacity: var(--skyline-deckkraft);
}
@media (max-width: 760px) {
  .hero { background-size: auto, auto; background-position: 0 0, 0 0; }
  .hero::before { background-size: max(100%, 40rem) auto; background-position: 100% bottom; }
}

/* Unternavigation (Lösungsseiten) leicht absetzen: etwas dunklerer Warmton, feine Linien oben und unten,
   aktiver Abschnitt in Markenblau */
.subnav {
  background: rgba(236, 234, 226, .9);
  box-shadow: inset 0 1px 0 var(--linie), 0 1px 0 rgba(0, 0, 0, .07);
}
.subnav-links a { color: var(--blau-tief); }
@media (hover: hover) { .subnav-links a:hover { background: rgba(65, 88, 100, .10); color: var(--blau-tief); } }
.subnav-links a.aktiv { background: var(--blau); color: var(--weiss); }
.subnav-links a.aktiv:active { background: var(--blau-tief); }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .subnav { background: #ecebe3; }
}

/* Glasfaser › Netz: AON statt GPON/XGS-PON */
.netz { background: linear-gradient(180deg, #e6f6fb 0%, #f3fafc 100%); }
.netz .abschnitt-titel { max-width: 46rem; }
.netz-vergleich { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.netz-karte { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--rund-gross); }
.netz-karte.aon { background: var(--weiss); box-shadow: inset 0 0 0 2px var(--tuerkis), var(--schatten-weich); }
.netz-karte.pon { background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(65, 88, 100, .12); }
.netz-art {
  display: inline-block; margin: 0 0 .6rem; padding: .2rem .6rem; border-radius: 99px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}
.aon .netz-art { background: rgba(16, 198, 232, .14); color: var(--tuerkis-text); }
.pon .netz-art { background: rgba(65, 88, 100, .08); color: var(--text-leise); }
.netz-karte h3 { margin: 0 0 1rem; font-family: Carme, sans-serif; font-weight: 400; font-size: 1.5rem; color: var(--blau-tief); }
.pon h3 { color: var(--text-leise); }
.netz-schema { display: block; width: 100%; max-width: 22rem; height: auto; margin: 0 0 1.25rem; }
.netz-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.netz-liste li { position: relative; padding-left: 1.9rem; font-size: .9875rem; line-height: 1.5; }
.netz-liste li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; }
.aon .netz-liste li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a93ad' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.4 2.7 2.7L14.2 7'/%3E%3C/svg%3E") center / 85% no-repeat, rgba(16, 198, 232, .16);
}
.pon .netz-liste li { color: var(--text-leise); }
.pon .netz-liste li::before { width: .45rem; height: .45rem; left: .4rem; top: .55rem; background: #8a989f; }
@media (max-width: 760px) { .netz-vergleich { grid-template-columns: 1fr; } }

/* Glasfaser › Übersicht: Merkmale als eine ruhige Karte mit Symbolen (statt Einzelkästchen) */
.merkmal-liste {
  list-style: none; margin: 0; padding: .5rem clamp(1.25rem, 3vw, 2rem);
  background: var(--weiss); border-radius: var(--rund-gross); box-shadow: var(--schatten-weich);
}
.merkmal-liste li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0; line-height: 1.45; color: var(--blau-tief);
}
.merkmal-liste li + li { border-top: 1px solid var(--linie); }
.m-icon {
  flex: none; display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(16, 198, 232, .13);
}
.m-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: #0a93ad; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Glasfaser › „In jedem Anschluss enthalten“: gleiche Merkmal-Karte, am Bildschirm nebeneinander */
.m-icon svg text { fill: #0a93ad; stroke: none; font: 700 11.5px "Open Sans", sans-serif; letter-spacing: -.02em; }
@media (min-width: 1000px) {
  .merkmal-liste.quer { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 1.5rem 0; }
  .merkmal-liste.quer li {
    flex-direction: column; align-items: flex-start; gap: .75rem;
    padding: 0 1.5rem; font-size: .9375rem;
  }
  .merkmal-liste.quer li + li { border-top: 0; border-left: 1px solid var(--linie); }
}

/* Glasfaser › Seitenkopf: Techniker wie auf der Startseite 15° geneigt, größer, Kabel läuft rechts aus dem Bild */
.seitenkopf:has(img[src*="techniker-glasfaser"]) {
  overflow: hidden;
  background: radial-gradient(42% 75% at 78% 55%, rgba(16, 198, 232, .12), transparent 70%), var(--weiss);
}
.seitenkopf .bild img[src*="techniker-glasfaser"] {
  width: 128%; max-width: none;
  transform: rotate(15deg); transform-origin: 8.7% 98.5%;
}
@media (max-width: 760px) {
  .seitenkopf .bild img[src*="techniker-glasfaser"] { width: 112%; }
}
@media (min-width: 761px) {
  /* Bildspalte bis zum rechten Fensterrand verlängern und die Figur dort verankern,
     damit das Kabel bei jeder Breite aus dem Bild läuft */
  .seitenkopf .bild:has(img[src*="techniker-glasfaser"]) {
    display: flex; justify-content: flex-end;
    margin-right: calc(-1 * (max(0px, (100vw - var(--breite)) / 2) + var(--rand)));
  }
  .seitenkopf .bild img[src*="techniker-glasfaser"] {
    width: clamp(26rem, 46vw, 58rem); flex: none;
    margin-right: -4%;
  }
}
/* Querliste: so viele gleich breite Spalten wie Punkte (Glasfaser 5, SIP Trunks 3) */
@media (min-width: 1000px) {
  .merkmal-liste.quer { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
/* Glasfaser › Seitenkopf: Figur etwas weiter nach links */
@media (min-width: 761px) {
  .seitenkopf .bild img[src*="techniker-glasfaser"] { margin-right: 6%; }
}
/* Glasfaser › Seitenkopf: Figur über der Merkmal-Karte darunter ausrichten (an der Inhaltsspalte statt am Fensterrand);
   das Kabelende läuft weich aus, damit es bei keiner Breite abgeschnitten wirkt */
@media (min-width: 761px) {
  .seitenkopf .bild:has(img[src*="techniker-glasfaser"]) { display: block; margin-right: 0; }
  .seitenkopf .bild img[src*="techniker-glasfaser"] {
    width: 125%; margin: 0 0 0 -2%;
    -webkit-mask-image: linear-gradient(to right, #000 78%, transparent 96%);
    mask-image: linear-gradient(to right, #000 78%, transparent 96%);
  }
}
@media (min-width: 761px) {
  .seitenkopf .bild img[src*="techniker-glasfaser"] { margin-left: -16%; }
}
/* Seitenkopf-Figur: wieder etwas größer, dadurch etwas weiter rechts */
@media (min-width: 761px) {
  .seitenkopf .bild img[src*="techniker-glasfaser"] { width: 140%; margin-left: -15%; }
}

/* ---------- News ---------- */
.news-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; max-width: 52rem; }
.news-karte {
  display: block; padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--weiss); border-radius: var(--rund-karte); box-shadow: var(--schatten-weich);
  color: var(--text); text-decoration: none;
  transition: background-color 200ms ease-out;
}
.news-karte h2 { margin: .5rem 0 .6rem; font-family: Carme, sans-serif; font-weight: 400; font-size: clamp(1.375rem, 2.4vw, 1.75rem); color: var(--blau-tief); }
.news-karte p { margin: 0 0 1rem; }
.news-karte .mehr { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9375rem; color: var(--blau-tief); }
.news-karte .mehr svg { width: 1rem; height: 1rem; color: var(--tuerkis-gedrueckt); transition: transform 150ms ease-out; }
@media (hover: hover) {
  .news-karte:hover { background: var(--blau); }
  .news-karte:hover h2, .news-karte:hover p, .news-karte:hover .mehr, .news-karte:hover .news-meta { color: var(--weiss); }
  .news-karte:hover .mehr svg { color: var(--tuerkis); transform: translateX(3px); }
}
.news-karte:active { background: var(--blau-tief); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0; font-size: .875rem; color: var(--text-leise); }
.seitenkopf .news-meta { margin-bottom: .75rem; }
.news-status {
  display: inline-block; padding: .15rem .6rem; border-radius: 99px;
  font-size: .75rem; font-weight: 600; letter-spacing: .03em;
  background: rgba(16, 198, 232, .14); color: var(--tuerkis-text);
}

/* Detailseite */
.artikel-spalte { max-width: 46rem; }
.artikel-spalte .abschnitt-titel { margin-top: 0; }
.artikel-spalte .abschnitt-titel + .artikel-text, .verlauf + .abschnitt-titel { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.verlauf + .abschnitt-titel { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.verlauf { list-style: none; margin: 0; padding: 0; position: relative; }
.verlauf::before { content: ""; position: absolute; left: .45rem; top: .6rem; bottom: .6rem; width: 2px; background: var(--linie); }
.verlauf li { position: relative; padding: 0 0 1.5rem 2.25rem; }
.verlauf li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--weiss); box-shadow: inset 0 0 0 2px var(--tuerkis-gedrueckt);
}
.verlauf li.aktuell::before { background: var(--tuerkis); box-shadow: 0 0 0 4px rgba(16, 198, 232, .2); }
.verlauf time { display: block; font-size: .875rem; font-weight: 600; color: var(--blau-tief); margin-bottom: .35rem; }
.verlauf-text p { margin: 0 0 .75rem; }
.verlauf li.aktuell .verlauf-text {
  padding: 1.25rem 1.5rem; background: var(--weiss); border-radius: var(--rund-karte); box-shadow: var(--schatten-weich);
}
.verlauf li.aktuell .verlauf-text p:last-child, .verlauf-text p:last-child { margin-bottom: 0; }
.artikel-text p { margin: 0 0 1rem; }
.artikel-text .knopf { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.artikel-text .knopf svg { width: 1rem; height: 1rem; }
.zurueck { margin: 2.5rem 0 0; }
.zurueck a { color: var(--blau-tief); font-weight: 600; text-decoration: none; }
@media (hover: hover) { .zurueck a:hover { text-decoration: underline; text-underline-offset: .2em; } }

/* News: hervorgehobener Hinweis (z. B. „Unsere Systeme“) */
.news-hinweis {
  margin: clamp(2rem, 4vw, 2.75rem) 0;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  background: var(--weiss); border-radius: var(--rund-karte);
  box-shadow: inset 4px 0 0 var(--tuerkis), var(--schatten-weich);
}
.news-hinweis h2 { margin: 0 0 .6rem; font-family: Carme, sans-serif; font-weight: 400; font-size: 1.5rem; color: var(--blau-tief); }
.news-hinweis p { margin: 0; }
.news-artikel .artikel-text + .abschnitt-titel, .news-hinweis + .abschnitt-titel { margin-top: clamp(2rem, 4vw, 2.75rem); }
.news-artikel .abschnitt-titel { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .75rem; }

/* Hauptnavigation: Kontakt als normaler Link, News ganz rechts mit Hinweis-Punkt bei neuer Meldung */
.hauptmenue a.news-link { position: relative; }
.hauptmenue a.news-link.neu::after {
  content: ""; position: absolute; top: .35rem; right: .45rem;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--tuerkis); box-shadow: 0 0 0 2px rgba(246, 245, 241, .95);
}
.menue-blatt nav a.news-link.neu::after {
  content: ""; order: 1; margin: 0 auto 0 .5rem;
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--tuerkis);
}
.menue-blatt nav a.news-link svg { order: 2; }
@media (prefers-reduced-motion: no-preference) {
  .hauptmenue a.news-link.neu::after { animation: news-punkt 2.4s ease-out 1s 2; }
}
@keyframes news-punkt {
  0% { box-shadow: 0 0 0 2px rgba(246, 245, 241, .95), 0 0 0 2px rgba(16, 198, 232, .5); }
  70% { box-shadow: 0 0 0 2px rgba(246, 245, 241, .95), 0 0 0 9px rgba(16, 198, 232, 0); }
  100% { box-shadow: 0 0 0 2px rgba(246, 245, 241, .95), 0 0 0 9px rgba(16, 198, 232, 0); }
}

/* Service: Support-Illustration vor Himmel (wie Unternehmen › Über uns) */
.foto.illu-service {
  background:
    radial-gradient(60% 55% at 72% 18%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #dff5fb 0%, #f4fbfd 65%, #ffffff 100%);
}
.foto.illu-service img { width: 100%; height: auto; display: block; object-fit: contain; }
/* Service-Illustration: originale Skyline (Turm + Brücke) rechts, gezeichnetes Headset links davor */
.foto.illu-service { position: relative; display: block; }
.foto.illu-service img.stadt {
  position: absolute; right: 2%; bottom: 5%;
  width: auto; height: 80%; object-fit: contain;
}
.foto.illu-service img.headset {
  position: absolute; z-index: 1; left: 3%; bottom: 3%;
  width: 46%; height: auto; object-fit: contain;
}
/* Headset höher und frei vor dem Himmel, ohne die Häuser zu überdecken */
.foto.illu-service img.headset { left: 2%; bottom: 30%; width: 34%; }

/* =========================================================
   Konsistenz-Durchgang: alle Kästen/Karten weiß mit weichem Schatten und gleichem Radius
   ========================================================= */
/* Preis-/Bandbreiten-Kacheln (Glasfaser, SIP Trunks, Webhosting) */
.tarif { background: var(--weiss); box-shadow: var(--schatten-weich); }
.tarif.hervor { box-shadow: inset 0 0 0 2px var(--tuerkis), var(--schatten-weich); }
/* Service: Remote Verbindung / Speedtest */
.werkzeug { background: var(--weiss); box-shadow: var(--schatten-weich); border-radius: var(--rund-karte); }
/* Aufklapp-Listen (Cloud PBX Funktionen, SIP Trunks FAQ) */
.aufklapp-liste details { background: var(--weiss); box-shadow: var(--schatten-weich); border-radius: var(--rund-karte); }
.aufklapp-liste summary { border-radius: var(--rund-karte); }
/* Cloud PBX: statische Vorteilskarten */
.karte.statisch, .karte.statisch:hover, .karte.statisch:active { box-shadow: var(--schatten-weich); }
/* SIP Trunks: Funktionskacheln und Kurzvorteile */
.funktions-raster li { box-shadow: var(--schatten-weich); border-radius: var(--rund-karte); }
.vorteil-leiste {
  background: var(--weiss); border-radius: var(--rund-gross); box-shadow: var(--schatten-weich);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(.75rem, 2vw, 1.25rem);
}
/* Kontakt: Mail-Liste und Kontaktkacheln */
.mailwege { box-shadow: var(--schatten-weich); }
.karte-kontakt, .karte-kontakt.neben { box-shadow: var(--schatten-weich); }
@media (hover: hover) { .karte-kontakt.neben:hover { box-shadow: inset 0 0 0 1.5px var(--blau), var(--schatten-weich); } }
/* Datenschutz: Inhaltsverzeichnis */
.rechtstext .inhalt { background: var(--weiss); box-shadow: var(--schatten-weich); border-radius: var(--rund-karte); }
.netz-karte.pon { box-shadow: inset 0 0 0 1px rgba(65, 88, 100, .12), var(--schatten-weich); }
.karte-box { box-shadow: var(--schatten-weich); }
/* News-Übersicht: mehr Luft zwischen den Meldungen */
.news-liste { gap: clamp(1.75rem, 3.5vw, 2.5rem); }

/* Seitenkopf mit Produktbild (Cloud PBX) */
.seitenkopf-bild { margin: 0; }
.seitenkopf-bild img { display: block; width: 100%; height: auto; }
@media (min-width: 761px) { .seitenkopf-bild { margin-right: calc(-1 * clamp(0rem, 3vw, 2.5rem)); } }
@media (min-width: 1000px) {
  .seitenkopf-bild { margin-right: 0; }
  .seitenkopf-bild img { width: 118%; max-width: none; }
  .seitenkopf:has(.seitenkopf-bild) { overflow: hidden; }
}

/* Cloud PBX: Produktbilder (Screenshot im Laptop) in den Bausteinen */
.produkt-bild { margin: 0; }
.produkt-bild img { display: block; width: 100%; height: auto; }

/* Glasfaser › Netz: Begriffserklärung unter der Kartenüberschrift */
.netz-def { margin: -.4rem 0 1.25rem; font-size: .9375rem; line-height: 1.5; color: var(--text-leise); }
.netz-def strong { font-weight: 600; color: var(--blau-tief); }
.pon .netz-def strong { color: var(--text-leise); }

/* SIP-Tarife: echte Preise */
.tarif-preis .preis { font-family: Carme, sans-serif; font-size: 1.375rem; color: var(--blau-tief); margin-right: .25rem; }

/* SIP-Trunks: Volumentarife SIP Volumen */
.volumen .zweispaltig + .inner { margin-top: clamp(2rem, 4vw, 3rem); }
.volumen-tabelle {
  background: var(--weiss); border-radius: var(--rund-karte); box-shadow: var(--schatten-weich);
  overflow: hidden; border: 1px solid var(--linie);
}
.volumen-tabelle table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.volumen-tabelle th, .volumen-tabelle td { padding: .8rem 1.25rem; text-align: right; white-space: nowrap; }
.volumen-tabelle th:first-child { text-align: left; }
.volumen-tabelle thead th {
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-leise); background: var(--grund); border-bottom: 1px solid var(--linie);
}
.volumen-tabelle tbody tr + tr { border-top: 1px solid var(--linie); }
.volumen-tabelle tbody th { font-family: Carme, sans-serif; font-weight: 400; font-size: 1rem; color: var(--blau); }
.volumen-tabelle tbody td:last-child { font-family: Carme, sans-serif; font-size: 1.0625rem; color: var(--blau-tief); }
.volumen-tabelle tbody tr:hover { background: rgba(16, 198, 232, .06); }
@media (max-width: 560px) {
  .volumen-tabelle th, .volumen-tabelle td { padding: .7rem .55rem; }
  .volumen-tabelle th:first-child { padding-left: .9rem; }
  .volumen-tabelle th:last-child, .volumen-tabelle td:last-child { padding-right: .9rem; }
  .volumen-tabelle table { font-size: .8125rem; }
  .volumen-tabelle tbody th { font-size: .875rem; }
  .volumen-tabelle tbody td:last-child { font-size: .9375rem; }
  .volumen-tabelle thead th { font-size: .6875rem; letter-spacing: .03em; }
}
.volumen-tabelle .schmal { display: none; }
@media (max-width: 560px) {
  .volumen-tabelle .breit { display: none; }
  .volumen-tabelle .schmal { display: inline; }
}
@media (max-width: 560px) {
  .volumen-tabelle thead th { white-space: normal; vertical-align: bottom; line-height: 1.3; }
  .volumen-tabelle thead th:not(:first-child) .schmal { display: block; }
}
@media (max-width: 360px) {
  .volumen-tabelle th, .volumen-tabelle td { padding-left: .4rem; padding-right: .4rem; }
  .volumen-tabelle th:first-child { padding-left: .7rem; }
  .volumen-tabelle th:last-child, .volumen-tabelle td:last-child { padding-right: .7rem; }
}


/* SIP-Trunks: Volumentarife im Grundton wie der Übersicht-Abschnitt, Rufnummern-Abschnitt bleibt weiß */
#volumen { background: var(--grund); }
.rufnummern { background: var(--weiss); }

/* Häufige Fragen: mehr Luft zwischen Überschrift und erster Frage */
.abschnitt-titel + .aufklapp-liste { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.abschnitt-intro + .aufklapp-liste { margin-top: clamp(1.5rem, 3vw, 2rem); }
/* Aufgeklappte Antwort: mehr Abstand zur Frage */
.aufklapp-liste details > p { padding-top: .6rem; padding-bottom: 1.4rem; line-height: 1.65; }
.aufklapp-liste details > ul { padding-top: .6rem; padding-bottom: 1.4rem; }

/* Cloud PBX: Editionen im Vergleich */
.editionen { background: var(--grund); }
.editionen-tabelle th, .editionen-tabelle td { white-space: normal; }
.editionen-tabelle thead th:not(:first-child), .editionen-tabelle td { text-align: center; width: 8.5rem; }
.editionen-tabelle tbody th { font-size: 1rem; line-height: 1.35; }
.editionen-tabelle .ed-detail { display: block; font-family: "Open Sans", sans-serif; font-size: .8125rem; color: var(--text-leise); margin-top: .2rem; line-height: 1.45; }
.editionen-tabelle .ed-ja { width: 1.375rem; height: 1.375rem; fill: none; stroke: var(--tuerkis-gedrueckt, #0aa5c2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.editionen-tabelle .ed-nein { color: var(--text-leise); font-size: 1.125rem; }
.editionen-tabelle tr.ed-gruppe th {
  font-family: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blau); background: rgba(16, 198, 232, .08); padding-top: .65rem; padding-bottom: .65rem; text-align: left;
}
.editionen-tabelle tbody tr.ed-gruppe:hover { background: none; }
@media (max-width: 560px) {
  .editionen-tabelle thead th:not(:first-child), .editionen-tabelle td { width: 4.75rem; }
  .editionen-tabelle tbody th { font-size: .875rem; }
  .editionen-tabelle .ed-detail { font-size: .75rem; }
  .editionen-tabelle thead th { white-space: normal; }
}
@media (max-width: 360px) {
  .editionen-tabelle thead th:not(:first-child), .editionen-tabelle td { width: 3.6rem; }
  .editionen-tabelle thead th { letter-spacing: 0; font-size: .625rem; }
}
.editionen-tabelle tbody th { hyphens: auto; overflow-wrap: break-word; }

/* Cloud PBX: Preisrechner – dunkel abgesetzt */
.preisrechner {
  background: radial-gradient(120% 90% at 85% 10%, rgba(16, 198, 232, .22), transparent 55%), linear-gradient(160deg, var(--blau-tief), var(--blau-nacht));
  color: #fff;
}
.pr-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pr-marke { display: inline-block; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 999px; background: var(--tuerkis); color: var(--tuerkis-text); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.preisrechner .abschnitt-titel { color: #fff; margin-top: 0; }
.pr-text > p { color: rgba(255, 255, 255, .82); max-width: 34rem; }
.pr-staffel { list-style: none; margin: 1.75rem 0 1.25rem; padding: 0; max-width: 26rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.pr-staffel li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .75rem; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: .9375rem; color: rgba(255, 255, 255, .78); border-radius: .5rem; transition: background-color 150ms ease-out, color 150ms ease-out; }
.pr-staffel li.aktiv { background: rgba(16, 198, 232, .16); color: #fff; border-bottom-color: transparent; }
.pr-staffel .pr-sp { font-family: Carme, sans-serif; font-variant-numeric: tabular-nums; color: #fff; }
.pr-staffel li.aktiv .pr-sp { color: var(--tuerkis-hell); }
.pr-text .pr-fuss { font-size: .8125rem; color: rgba(255, 255, 255, .65); }
.pr-fuss a { color: var(--tuerkis-hell); }

.pr-karte { background: var(--weiss); color: var(--text); border-radius: var(--rund-gross); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.pr-edition { border: 0; margin: 0 0 1.5rem; padding: .3rem; display: grid; grid-template-columns: 1fr 1fr; background: var(--grund); border-radius: 999px; }
.pr-edition legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pr-edition label { position: relative; cursor: pointer; }
.pr-edition input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pr-edition span { display: block; text-align: center; padding: .6rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9375rem; color: var(--text-leise); transition: background-color 150ms ease-out, color 150ms ease-out; }
.pr-edition input:checked + span { background: var(--blau-tief); color: #fff; box-shadow: 0 2px 8px rgba(36, 52, 60, .25); }
.pr-edition input:focus-visible + span { outline: 2px solid var(--tuerkis); outline-offset: 2px; }

.pr-feld > label { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-leise); margin-bottom: .6rem; }
.pr-stepper { display: grid; grid-template-columns: 3rem 1fr 3rem; border: 1px solid var(--linie); border-radius: 1rem; overflow: hidden; }
.pr-stepper button { border: 0; background: var(--grund); font-size: 1.5rem; color: var(--blau-tief); cursor: pointer; }
.pr-stepper button:hover { background: #ecebe5; }
.pr-stepper input { border: 0; text-align: center; font-family: Carme, sans-serif; font-size: 1.75rem; color: var(--blau-tief); padding: .45rem 0; width: 100%; min-width: 0; -moz-appearance: textfield; }
.pr-stepper input::-webkit-outer-spin-button, .pr-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pr-stepper input:focus { outline: none; background: rgba(16, 198, 232, .06); }

#pr-regler, #sr-regler { -webkit-appearance: none; appearance: none; width: 100%; height: .375rem; margin: 1.25rem 0 .4rem; border-radius: 999px; background: linear-gradient(to right, var(--tuerkis) var(--pr-anteil, 18%), var(--linie) var(--pr-anteil, 18%)); cursor: pointer; }
#pr-regler::-webkit-slider-thumb, #sr-regler::-webkit-slider-thumb { -webkit-appearance: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; border: 3px solid var(--tuerkis); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
#pr-regler::-moz-range-thumb, #sr-regler::-moz-range-thumb { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; border: 3px solid var(--tuerkis); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
#pr-regler:focus-visible, #sr-regler:focus-visible { outline: 2px solid var(--tuerkis); outline-offset: 4px; }
.pr-skala { display: flex; justify-content: space-between; font-size: .75rem; color: var(--text-leise); }

.pr-ergebnis, .pr-individuell { margin: 1.5rem 0 1.25rem; padding: 1.25rem 1.25rem 1.1rem; border-radius: 1.125rem; background: linear-gradient(135deg, rgba(16, 198, 232, .12), rgba(16, 198, 232, .04)); text-align: center; }
.pr-ergebnis[hidden], .pr-individuell[hidden] { display: none; }
.pr-label { margin: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-leise); }
.pr-betrag { margin: .2rem 0 .1rem; font-family: Carme, sans-serif; font-size: clamp(2.5rem, 6vw, 3.25rem); line-height: 1.1; color: var(--blau-tief); font-variant-numeric: tabular-nums; }
.pr-betrag-text { font-size: clamp(1.625rem, 4vw, 2rem); }
.pr-je { margin: 0; font-size: .875rem; color: var(--text-leise); }
.pr-tipp { margin: .75rem 0 0; font-size: .8125rem; font-weight: 600; color: #08758a; }
.pr-anfrage { display: flex; justify-content: center; width: 100%; }
.pr-hinweis { margin: .6rem 0 0; text-align: center; font-size: .75rem; color: var(--text-leise); }
@media (max-width: 860px) {
  .pr-raster { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pr-staffel li, .pr-edition span { transition: none; } }

/* Cloud PBX: Partner-/Betriebsblock aufgewertet */
.partner-gross { padding: clamp(3rem, 6vw, 5rem) 0; }
.partner-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.partner-raster .abschnitt-titel { margin-top: 0; }
.partner-raster p { color: var(--text); max-width: 38rem; margin: 0 0 1rem; }
.partner-raster a { color: var(--blau-tief); font-weight: 600; text-decoration-color: var(--tuerkis); text-underline-offset: .2em; }
.partner-logo { margin: 0; justify-self: end; width: 100%; padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem); background: var(--grund); border-radius: var(--rund-gross); box-shadow: var(--schatten-weich); text-align: center; }
.partner-logo img { width: 100%; max-width: 16rem; height: auto; display: block; margin: 0 auto; }
.partner-logo figcaption { margin-top: 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); }
@media (max-width: 760px) {
  .partner-raster { grid-template-columns: 1fr; }
  .partner-logo { justify-self: stretch; }
  .partner-logo img { max-width: 13rem; }
}

/* Cloud PBX: Automatisierung grau, damit sie sich von „Alles in einer Lösung“ absetzt */
#automatisierung { background: var(--grund); }

/* Unternavigation: viele Einträge passen bei mittlerer Breite – sonst horizontal scrollbar statt Überlauf */
.subnav-links { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links li { flex: 0 0 auto; }
.subnav-titel, .subnav .knopf-mini { flex: 0 0 auto; }
@media (max-width: 1200px) {
  .subnav .inner { gap: 1rem; }
  .subnav-links a { padding: 0 .55rem; }
}

/* SIP-Trunks: Sparrechner (nutzt die Preisrechner-Gestaltung) */
.sr-schritte { list-style: none; margin: 1.75rem 0 1.25rem; padding: 0; display: grid; gap: .75rem; max-width: 30rem; }
.sr-schritte li { position: relative; padding-left: 1.75rem; color: rgba(255, 255, 255, .82); font-size: .9375rem; }
.sr-schritte li::before { content: ""; position: absolute; left: 0; top: .45em; width: .75rem; height: .75rem; border-radius: 50%; background: var(--tuerkis); box-shadow: 0 0 0 4px rgba(16, 198, 232, .2); }
.sr-schritte strong { color: #fff; font-weight: 600; }
.sr-raster { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.25rem; }
.sr-feld label { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-leise); margin-bottom: .45rem; }
.sr-feld input { width: 100%; border: 1px solid var(--linie); border-radius: .875rem; padding: .6rem .8rem; font-family: Carme, sans-serif; font-size: 1.25rem; color: var(--blau-tief); background: #fff; -moz-appearance: textfield; }
.sr-feld input::-webkit-outer-spin-button, .sr-feld input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sr-feld input:focus { outline: 2px solid var(--tuerkis); outline-offset: 1px; border-color: transparent; }
.sr-feld small { display: block; margin-top: .3rem; font-size: .75rem; color: var(--text-leise); }
.sr-bisher { margin-top: 1rem; }
.sr-euro { display: flex; align-items: center; gap: .6rem; }
.sr-euro input { flex: 1 1 auto; min-width: 0; }
.sr-euro span { flex: 0 0 auto; font-size: .8125rem; color: var(--text-leise); }
.sr-aufstellung { margin: .9rem 0 0; padding-top: .75rem; border-top: 1px solid rgba(47, 66, 76, .12); text-align: left; font-size: .8125rem; display: grid; gap: .35rem; }
.sr-aufstellung > div { display: flex; justify-content: space-between; gap: 1rem; }
.sr-aufstellung > div[hidden] { display: none; }
.sr-aufstellung dt { color: var(--text-leise); }
.sr-aufstellung dd { margin: 0; color: var(--blau-tief); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr-spar { margin: .9rem 0 0; padding: .7rem .8rem; border-radius: .875rem; background: var(--tuerkis); color: var(--tuerkis-text); font-size: .9375rem; }
.sr-spar strong { font-family: Carme, sans-serif; font-weight: 400; font-size: 1.25rem; }
.sr-spar span { display: block; font-size: .8125rem; margin-top: .1rem; }
.sr-spar.neutral { background: rgba(47, 66, 76, .08); color: var(--blau-tief); }
@media (max-width: 420px) { .sr-raster { grid-template-columns: 1fr; } }

/* SIP-Trunks: Rufnummern grau, folgende Abschnitte im Wechsel */
#rufnummern { background: var(--grund); }
#rufnummern ~ #funktionen { background: var(--weiss); }
#rufnummern ~ #fragen { background: var(--grund); }
#rufnummern ~ #anfrage { background: var(--weiss); }
#rufnummern .volumen-tabelle tbody th { white-space: normal; }

/* Preisrechner IaaS/Cloud */
.cr-zeile { display: grid; grid-template-columns: 1fr auto; align-items: baseline; margin-top: 1.1rem; }
.cr-zeile label { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-leise); }
.cr-zeile output { font-family: Carme, sans-serif; font-size: 1.25rem; color: var(--blau-tief); font-variant-numeric: tabular-nums; }
.cr-zeile input[type="range"] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: .375rem; margin: .6rem 0 0; border-radius: 999px; background: linear-gradient(to right, var(--tuerkis) var(--pr-anteil, 18%), var(--linie) var(--pr-anteil, 18%)); cursor: pointer; }
.cr-zeile input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; border: 3px solid var(--tuerkis); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.cr-zeile input[type="range"]::-moz-range-thumb { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; border: 3px solid var(--tuerkis); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.cr-zeile input[type="range"]:focus-visible { outline: 2px solid var(--tuerkis); outline-offset: 4px; }
.cr-netz { margin-top: 1.25rem; }
.cr-netz select { width: 100%; border: 1px solid var(--linie); border-radius: .875rem; padding: .65rem .8rem; font: inherit; font-size: .9375rem; color: var(--blau-tief); background: #fff; }
.cr-netz select:focus { outline: 2px solid var(--tuerkis); outline-offset: 1px; border-color: transparent; }
.cr-option { display: flex; align-items: flex-start; gap: .6rem; margin-top: 1rem; font-size: .9375rem; color: var(--blau-tief); cursor: pointer; }
.cr-option[hidden] { display: none; }
.cr-option input { width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: var(--blau-tief); flex: 0 0 auto; }
.cr-option small { display: block; font-size: .75rem; color: var(--text-leise); }

/* IaaS/Cloud: Traffic & Backup */
.traffic-backup { background: var(--weiss); }
.inkl-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.inkl-karte { background: var(--weiss); border-radius: var(--rund-karte); box-shadow: var(--schatten-weich); padding: clamp(1.5rem, 3vw, 2rem); }
.inkl-icon { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 50%; background: rgba(16, 198, 232, .14); color: var(--blau-tief); }
.inkl-icon svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.inkl-zahl { margin: 1rem 0 .15rem; font-family: Carme, sans-serif; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; color: var(--blau-tief); }
.inkl-karte h3 { margin: 0 0 .6rem; font-size: 1rem; font-weight: 600; color: var(--blau); }
.inkl-karte > p:last-child { margin: 0; font-size: .9375rem; }
.inkl-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .9375rem; }
.inkl-liste li { position: relative; padding-left: 1.5rem; }
.inkl-liste li::before { content: ""; position: absolute; left: .1rem; top: .35em; width: .45rem; height: .8rem; border: solid var(--tuerkis); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@media (max-width: 960px) { .inkl-raster { grid-template-columns: 1fr; max-width: 36rem; } }
.cr-erstes { margin-top: 0; }
@media (max-width: 960px) { .subnav-titel { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
@media (max-width: 360px) { .subnav-titel { font-size: 1rem; } }
.pr-karte > .cr-zeile:first-child { margin-top: 0; }
@media (min-width: 761px) {
  .merkmal-liste.liste-zwei { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .merkmal-liste.liste-zwei li:nth-child(2) { border-top: 0; }
}
.tarife.drei.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
@media (max-width: 1100px) { .tarife.drei.vier { grid-template-columns: 1fr 1fr; max-width: 48rem; } }
@media (max-width: 760px) { .tarife.drei.vier { grid-template-columns: 1fr; } }
.tarif-merkmale li.tarif-ideal { color: var(--blau); font-weight: 600; }
.tarife.drei .tarif-preis { flex: 0 0 auto; }
.tarife.drei.breit { max-width: none; }
/* Webhosting: hervorgehobenes Paket dunkelblau */
.tarif.dunkel { background: var(--blau-tief); box-shadow: 0 16px 40px rgba(36, 52, 60, .28); color: rgba(255, 255, 255, .85); }
.tarif.dunkel .tarif-name { color: var(--tuerkis-hell); }
.tarif.dunkel .tarif-wert, .tarif.dunkel .tarif-wert strong, .tarif.dunkel .tarif-preis .preis { color: #fff; }
.tarif.dunkel .tarif-preis { color: rgba(255, 255, 255, .7); }
.tarif.dunkel .tarif-merkmale li { border-top-color: rgba(255, 255, 255, .16); }
.tarif.dunkel .tarif-merkmale li.tarif-ideal { color: var(--tuerkis-hell); }
/* Webhosting: Domain-Preise */
.domains { background: var(--weiss); }
.tld-raster { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .75rem; }
.tld-raster li { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem; background: var(--grund); border-radius: var(--rund-karte); }
.tld-raster .tld { font-family: Carme, sans-serif; font-size: 1.5rem; line-height: 1.1; color: var(--blau-tief); }
.tld-raster .tld-preis { font-size: .9375rem; color: var(--text-leise); font-variant-numeric: tabular-nums; }
.tld-raster .tld-weitere { grid-column: span 2; background: rgba(16, 198, 232, .12); }
@media (max-width: 420px) { .tld-raster { grid-template-columns: 1fr 1fr; } }
/* Fußbereich: B2B-Preishinweis */
.fuss .fuss-b2b { display: block; padding-top: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.fuss .fuss-b2b p { margin: 0; padding: 1rem 0 1.25rem; font-size: .8125rem; line-height: 1.55; color: rgba(255, 255, 255, .6); max-width: 60rem; }
.tarif.dunkel .tarif-zusatz { color: rgba(255, 255, 255, .7); }
.tarife .tarif-zusatz + .tarif-preis { margin-top: -.75rem; }
/* Glasfaser: In jedem Anschluss enthalten */
.anschluss-inkl { background: var(--grund); }
.anschluss-inkl ~ .anfrage { background: var(--weiss); }
.inkl-icon svg text { fill: currentColor; stroke: none; font: 700 11.5px "Open Sans", sans-serif; letter-spacing: -.02em; }
@media (min-width: 961px) { .anschluss-inkl .inkl-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 561px) and (max-width: 960px) { .anschluss-inkl .inkl-raster { grid-template-columns: 1fr 1fr; max-width: none; } }
/* AGB: Stand und Download */
.rechtstext .agb-stand { font-weight: 600; color: var(--blau-tief); }
.rechtstext .agb-download { margin: 1.25rem 0 2rem; }
.rechtstext .agb-download:last-child { margin: 2.5rem 0 0; }
.rechtstext li > ul { margin: .5rem 0 .25rem; padding-left: 1.25rem; list-style: disc; }
.rechtstext li > ul li { margin: .2rem 0; }
/* Startseite/Lösungen: Glasfaser-Karte dunkelblau */
.glasfaser-karte { background: radial-gradient(120% 120% at 100% 0%, rgba(16, 198, 232, .18), transparent 55%), var(--blau-tief); box-shadow: 0 20px 50px rgba(36, 52, 60, .28); color: rgba(255, 255, 255, .85); }
.glasfaser-karte .gruppe { color: var(--tuerkis-hell); }
.glasfaser-karte h3 { color: #fff; }
.glasfaser-karte h3 .symbol { color: var(--gelb); }
.glasfaser-karte .gk-fakten li { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.glasfaser-karte .gk-fakten strong { color: #fff; }
.glasfaser-karte .gk-fakten span { color: rgba(255, 255, 255, .7); }
/* Kontaktseite: eigene Karte (map.hk-net.de) */
.karte-gross { position: relative; height: clamp(18rem, 42vw, 28rem); margin-bottom: clamp(2rem, 4vw, 3rem); overflow: hidden; border-radius: var(--rund-gross); background: #e8ecee; box-shadow: var(--schatten-weich); isolation: isolate; }
.karte-kacheln { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.karte-gross.zieht .karte-kacheln { cursor: grabbing; }
.karte-kacheln img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.karte-marker { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; }
.karte-marker svg { position: absolute; left: -16px; top: -42px; width: 32px; height: 42px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.karte-marker path { fill: var(--blau-tief); }
.karte-marker circle { fill: var(--tuerkis); }
.karte-marker span { position: absolute; left: 22px; top: -38px; white-space: nowrap; padding: .3rem .65rem; border-radius: 999px; background: var(--blau-tief); color: #fff; font-size: .8125rem; font-weight: 600; box-shadow: 0 3px 10px rgba(0, 0, 0, .2); }
.karte-steuerung { position: absolute; right: 1rem; top: 1rem; z-index: 3; display: flex; flex-direction: column; border-radius: .875rem; overflow: hidden; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.karte-steuerung button { width: 2.75rem; height: 2.75rem; border: 0; background: #fff; color: var(--blau-tief); font: 400 1.5rem/1 Carme, sans-serif; cursor: pointer; display: grid; place-items: center; }
.karte-steuerung button + button { border-top: 1px solid var(--linie); }
.karte-steuerung button:disabled { color: var(--linie); cursor: default; }
.karte-steuerung button:focus-visible { outline: 2px solid var(--tuerkis); outline-offset: -2px; }
.karte-steuerung svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (hover: hover) { .karte-steuerung button:not(:disabled):hover { background: var(--grund); } }
.karte-quelle { position: absolute; right: 0; bottom: 0; z-index: 3; margin: 0; padding: .2rem .6rem; border-top-left-radius: .5rem; background: rgba(255, 255, 255, .85); font-size: .75rem; color: var(--text-leise); }
.karte-quelle a { color: inherit; }
@media (max-width: 560px) { .karte-steuerung { right: auto; left: .75rem; top: .75rem; } }
/* Karte: weicher Stil in Markenblau (Graustufen + Farbton) */
.karte-kacheln { filter: grayscale(1) contrast(.9) brightness(1.1); }
.karte-gross::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--blau); mix-blend-mode: color; opacity: .55; }
/* Kontaktseite: Anschrift als Kachel */
.kontaktdaten .anschrift { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--weiss); border-radius: var(--rund-karte); box-shadow: var(--schatten-weich); }
.kontaktdaten .anschrift h2 { margin: 0 0 .15rem; font-size: 1.25rem; }
.kontaktdaten .anschrift p { margin: 0; line-height: 1.5; color: var(--blau-tief); }
/* Unternehmen: Hintergründe abwechselnd (nach zwei Bild-Text-Abschnitten) */
.bildtext.weiss + .standorte { background: var(--grund); }
.bildtext.weiss + .standorte + .zertifikat { background: var(--weiss); }

/* ---------- Sprachumschalter (Kopfzeile) und Übersetzungshinweis ---------- */
/* Telefon, E-Mail und Umschalter rechts; Umschalter endet bündig mit dem Text des letzten Menüpunkts */
.meta .kontakte { margin-left: auto; }
.meta .sprache { flex: none; font-weight: 600; padding-left: 1.5rem; border-left: 1px solid var(--linie); margin-right: .95rem; }
@media (max-width: 760px) {
  .meta .sprache { margin-left: auto; margin-right: 0; padding-left: 0; border-left: 0; font-size: .8125rem; min-height: 2rem; }
}
.rechtstext .hinweis-sprache {
  display: flex; gap: .7rem; align-items: flex-start;
  margin: 0 0 2.25rem;
  padding: .9rem 1.1rem;
  background: var(--grund);
  border-radius: var(--rund-karte, .75rem);
  font-size: .9375rem; line-height: 1.55;
  color: var(--text-leise);
}
.rechtstext .hinweis-sprache svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; color: var(--tuerkis-gedrueckt); }
.rechtstext .hinweis-sprache strong { color: var(--blau-tief); font-weight: 600; }
.rechtstext .hinweis-sprache a { color: var(--blau-tief); font-weight: 600; }
/* Datenschutz: Widerspruch gegen die Besucherstatistik (Matomo-Opt-out) */
.rechtstext .statistik-widerspruch { margin: .75rem 0 0; padding: .9rem 1.1rem; background: var(--grund); border-radius: var(--rund-karte, .75rem); }
.rechtstext .statistik-widerspruch p { margin: 0 0 .5rem; }
.rechtstext .statistik-widerspruch p:last-child { margin: 0; }
.rechtstext .statistik-widerspruch label { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; color: var(--blau-tief); cursor: pointer; }

/* ---------- Startseite: Kennzahlen als Kartenreihe (wie „Planbare Kosten“ / „In jedem Anschluss enthalten“) ---------- */
.kennzahlen { background: var(--weiss); }
.kennzahlen .abschnitt-titel { text-align: left; }
.kz-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3rem); }
.kz-raster .inkl-zahl { font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.1; }
.kz-raster .inkl-karte:last-child .inkl-zahl { font-size: clamp(1.35rem, 2.1vw, 1.7rem); min-height: 1.53em; display: flex; align-items: flex-end; }
.kz-raster .inkl-karte h3 { margin-bottom: .25rem; }
.kz-raster .inkl-karte > p:last-child { color: var(--text-leise); }
.kz-raster a { color: var(--blau-tief); font-weight: 600; text-decoration: none; }
.kz-raster a svg { display: inline-block; vertical-align: -.12em; margin-left: .2rem; width: .95rem; height: .95rem; color: var(--tuerkis-gedrueckt); transition: transform 120ms ease-out; }
@media (hover: hover) { .kz-raster a:hover { text-decoration: underline; text-underline-offset: .2em; } .kz-raster a:hover svg { transform: translateX(2px); } }
.kz-nw { white-space: nowrap; }
@media (max-width: 960px) { .kz-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 560px) {
  .kz-raster { gap: .75rem; }
  .kz-raster .inkl-karte { padding: 1.1rem; }
  .kz-raster .inkl-zahl { margin-top: .75rem; }
  .kz-raster .inkl-karte:last-child .inkl-zahl { font-size: 1.15rem; }
  .kz-raster .inkl-karte > p:last-child { font-size: .875rem; }
}

/* Startseite: Skyline etwas tiefer setzen (mehr Luft unter Text und Buttons), Form unverändert */
@media (min-width: 961px) {
  .hero { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
}

/* Zwei Einleitungsabsätze hintereinander: normaler Absatzabstand statt Abschnittsabstand */
.abschnitt-intro:has(+ .abschnitt-intro) { margin-bottom: 1rem; }

/* ---------- Barrierefreiheit ---------- */
/* Plakette „Preisrechner/Sparrechner“: dunkle Schrift auf Türkis (statt Weiß, Kontrast ≥ 4,5:1) */
.preisrechner .pr-marke { color: var(--tuerkis-text); }
/* „Zum Inhalt springen“: unsichtbar, erscheint beim ersten Tab-Druck */
.sprunglink {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  padding: .7rem 1.1rem; border-radius: var(--radius);
  background: var(--blau-tief); color: #fff; font-weight: 600; text-decoration: none;
  transition: top 120ms ease-out;
}
.sprunglink:focus { top: 1rem; }
main:focus { outline: none; }
/* Preislisten (Cloud PBX): Auslandspreise und Sonderrufnummern aus der Datenbank */
.preisliste { background: var(--grund); }
.preis-suche { max-width: 24rem; margin: 0 0 1.25rem; }
.preis-suche label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .4rem; color: var(--blau-tief); }
.preis-suche input {
  width: 100%; font: inherit; padding: .7rem .9rem; border: 1px solid var(--linie); border-radius: .6rem;
  background: var(--weiss); color: var(--text);
}
.preis-suche input:focus { outline: 2px solid var(--tuerkis); outline-offset: 1px; border-color: var(--tuerkis); }
.preis-tabelle tbody td:last-child { font-family: inherit; font-size: inherit; color: inherit; }
.preis-tabelle td .einheit { color: var(--text-leise); font-size: .8125rem; }
.preis-tabelle tbody th { white-space: normal; }
.preis-leer { margin: 1rem 0 0; color: var(--text-leise); }
.preis-weiter { margin: 1.5rem 0 0; }
.preis-weiter a { font-weight: 600; }
@media (max-width: 560px) { .preis-tabelle td .einheit { display: block; font-size: .75rem; } }
/* SIP-Trunks: Verweis auf Preisliste Ausland und Sonderrufnummern */
.preis-verweis {
  margin-top: 1.75rem; padding: 1.25rem 1.5rem; background: var(--weiss); border-radius: .875rem;
  box-shadow: inset 0 0 0 2px var(--tuerkis), var(--schatten-weich);  /* wie hervorgehobene Tarif-Kachel (.tarif.hervor) */
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
}
.preis-verweis p { margin: 0; }
.preis-verweis .aktionen { margin-top: 0; }
