/* ==========================================================================
   G-DS Gängler DatenService – Stylesheet 2026
   Farben: Logoblau #40529c, Navy für Flächen, Jubiläumsgelb nur als Akzent.
   Schriften: Systemschriften (schnell, keine externen Server, DSGVO-freundlich).
   ========================================================================== */

:root {
  --navy-950: #121a3d;
  --navy-900: #1b2552;
  --navy-800: #26326b;
  --brand: #40529c;
  --brand-700: #36478a;
  --brand-100: #e2e7f6;
  --brand-50: #f1f3fa;
  --accent: #f2c230;
  --accent-soft: #fff7d6;
  --ink: #141a33;
  --text: #2d3450;
  --muted: #5a6281;
  --line: #e1e5ef;
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --ok: #1f7a4d;
  --error: #a3261c;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(18, 26, 61, .05), 0 10px 28px rgba(18, 26, 61, .07);
  --shadow-lg: 0 24px 60px -24px rgba(18, 26, 61, .35);
  --container: 1180px;
  --header-h: 76px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: 700;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3vw, 3.5rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.4rem); letter-spacing: -.022em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.panel :focus-visible, .footer :focus-visible, .cta :focus-visible, .topbar :focus-visible { outline-color: var(--accent); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 64px, var(--container)); } }

.text-brand { color: var(--brand); }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.35em; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--accent { background: var(--accent); color: var(--navy-950); }
.btn--accent:hover { background: #ffd24d; color: var(--navy-950); }
.btn--light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 650; text-decoration: none; white-space: nowrap;
}
.link-arrow::after {
  content: ""; width: 16px; height: 16px; flex: none;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s ease;
}
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Eyebrow (Parallelogramm wie im Logo) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65em;
  margin: 0 0 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 22px; height: 10px; flex: none;
  background: var(--accent); border-radius: 2px; transform: skewX(-24deg);
}

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: #c3c9e4; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar__links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--accent); }
.topbar .icon { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 767.98px) {
  .topbar__claim, .topbar .hide-sm { display: none; }
  .topbar__links { width: 100%; justify-content: space-between; gap: 12px; }
}

/* ---------- Header & Navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(10px); }
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-weight: 650; cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* mobil zuerst */
.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; align-items: stretch;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 8px 16px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(18, 26, 61, .3);
}
.nav.is-open { display: flex; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.nav__link {
  flex: 1; display: block; padding: 14px 4px;
  color: var(--ink); font-weight: 650; text-decoration: none;
}
.nav__link[data-active] { color: var(--brand); }
.nav__sub-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 8px;
}
.nav__sub-toggle .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { display: none; width: 100%; padding: 0 0 12px 6px; }
.has-sub.is-open > .nav__sub { display: block; }
.nav__sub ul { list-style: none; margin: 0; padding: 0; }
.nav__sub a {
  display: block; padding: 8px 10px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: .97rem;
}
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--brand-50); color: var(--brand); }
.nav__sub-title {
  margin: 10px 10px 4px; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.nav__cta { margin-top: 18px; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 14px;
    max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__item { border: 0; flex-wrap: nowrap; }
  .nav__link {
    flex: none; padding: 10px 12px; border-radius: 8px; font-size: .97rem; position: relative;
  }
  .nav__link:hover { color: var(--brand); background: var(--brand-50); }
  .nav__link[data-active]::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px;
    background: var(--accent); border-radius: 2px; transform: skewX(-24deg);
  }
  .has-sub .nav__link { padding-right: 4px; }
  .nav__sub-toggle { width: 44px; height: 44px; margin-right: 4px; }
  .nav__sub {
    position: absolute; top: calc(100% + 8px); left: 0; width: auto; min-width: 270px;
    padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-lg); z-index: 60;
  }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav__sub--wide { min-width: 600px; left: -12px; }
  .nav__sub--wide .nav__sub-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .nav__cta { margin: 0 0 0 6px; padding: .7em 1.2em; }
}

/* ---------- Brotkrumen ---------- */
.crumbs { background: var(--bg-soft); font-size: .86rem; padding-top: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #a7aec6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(60px, 8vw, 108px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--navy { background: var(--navy-900); color: #cdd3ec; position: relative; overflow: hidden; }
.section--navy h2, .section--navy h3, .section--navy strong { color: #fff; }
.section--navy .eyebrow { color: var(--accent); }
.section--navy a { color: #fff; }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head p:last-child { margin-bottom: 0; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section__head--row > div { max-width: 760px; }
.section__intro { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section--navy .section__intro { color: #b9c0de; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }

/* ---------- Hero Startseite ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(60px, 8vw, 110px);
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 25%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 70% at 75% 25%, #000 0%, transparent 70%);
}
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; } }
.hero h1 { max-width: 15ch; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 40em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; font-size: .93rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { width: 18px; height: 18px; color: var(--brand); }
.stars { display: inline-flex; gap: 1px; color: #e6a700; }
.stars .icon { width: 16px; height: 16px; color: #e6a700; }

.panel {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #d3d8ee;
  border-radius: 22px; padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-lg);
}
.anniv {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 22px; padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.anniv__num {
  padding-right: 20px; border-right: 1px solid rgba(255, 255, 255, .2);
  font-family: var(--font-display); font-size: clamp(3.6rem, 3rem + 2vw, 4.5rem); font-weight: 800;
  line-height: 1; letter-spacing: -.02em; color: var(--accent); font-variant-numeric: lining-nums;
}
.anniv__txt { margin: 6px 0 0; color: #fff; font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.anniv__txt small { display: block; margin-top: 4px; font-size: .95rem; font-weight: 600; letter-spacing: .02em; color: var(--accent); }
.panel__text { position: relative; margin: 0; color: #c9cfe9; }
.spanbar { margin: 24px 0 4px; }
.spanbar__track { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.spanbar__pre { flex: 14; background: rgba(255, 255, 255, .28); }
.spanbar__gds { flex: 20; background: var(--accent); }
.spanbar__labels { position: relative; height: 22px; margin-top: 8px; font-size: .8rem; color: #aeb6d8; font-variant-numeric: tabular-nums; }
.spanbar__labels span { position: absolute; top: 0; }
.spanbar__labels span:nth-child(1) { left: 0; }
.spanbar__labels span:nth-child(2) { left: 41.2%; transform: translateX(-50%); color: #fff; font-weight: 700; }
.spanbar__labels span:nth-child(3) { right: 0; }
.spanbar__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8rem; color: #aeb6d8; margin: 4px 0 0; padding: 0; list-style: none; }
.spanbar__legend li { display: inline-flex; align-items: center; gap: 7px; }
.spanbar__legend li::before { content: ""; width: 14px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
.spanbar__legend li.is-gds::before { background: var(--accent); }

.panel__link { margin-top: 22px; color: var(--accent); }
.panel__link:hover { color: #ffd24d; }

/* ---------- Kundenlogos (Laufband) ---------- */
.logos { padding: 30px 0 34px; background: #fff; border-bottom: 1px solid var(--line); }
.logos__title { margin: 0 0 20px; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.logos__track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; }
.logos__track.is-animated { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: logos-lauf var(--logos-dauer, 40s) linear infinite; }
.logos__viewport:hover .logos__track, .logos__viewport:focus-within .logos__track { animation-play-state: paused; }
.logos__track li { flex: none; padding: 6px 34px; }
.logos__track img { display: block; height: 50px; width: auto; max-width: 210px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .75; transition: filter .25s ease, opacity .25s ease; }
.logos__track li:hover img { filter: none; opacity: 1; }
@keyframes logos-lauf { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos__track.is-animated { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .logos__track [data-kopie] { display: none; }
}
@media (max-width: 600px) { .logos__track li { padding: 4px 22px; } .logos__track img { height: 40px; max-width: 160px; } }

/* ---------- Karten ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card:hover { border-color: #c6cde4; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 12px; background: var(--brand-50); color: var(--brand);
}
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: .45em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card h3 a:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }
.card p { margin: 0; font-size: .98rem; color: var(--muted); }
.card__meta { margin-top: auto; padding-top: 16px; font-size: .84rem; font-weight: 700; color: var(--brand); }
.also { margin: 28px 0 0; color: var(--muted); }
.more__title { margin: 40px 0 14px; font-size: .78rem; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .more { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.more a {
  display: flex; align-items: center; gap: 10px; height: 100%;
  padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); font-weight: 600; font-size: .93rem; line-height: 1.3; text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.more a:hover { border-color: var(--brand); color: var(--brand); }
.more .icon { width: 20px; height: 20px; color: var(--brand); }

.group-title { display: flex; align-items: center; gap: 12px; margin: 56px 0 20px; font-size: 1.35rem; }
.group-title:first-child { margin-top: 0; }

/* ---------- Zahlen ---------- */
.section--navy::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: -140px; width: 520px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0));
  transform: skewX(-24deg);
}
.section--navy > .container { position: relative; }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; margin: 0; overflow: hidden;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px;
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 26px 22px; background: var(--navy-900); }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.3vw, 2.7rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: #fff; }
.stat dt { margin-top: 8px; font-size: .9rem; line-height: 1.4; color: #b4bcdc; }
.stat--hl dd { color: var(--accent); }
/* fünf Kennzahlen: die erste ist auf Handy und Tablet doppelt breit, am PC stehen alle in einer Reihe */
.stat--hl { grid-column: span 2; }
@media (max-width: 639.98px) { .stat { padding: 20px 16px; } }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .stats { grid-template-columns: repeat(5, minmax(0, 1fr)); } .stat--hl { grid-column: auto; } }
.stats-note { display: grid; gap: 16px 40px; margin-top: 36px; align-items: start; }
@media (min-width: 900px) { .stats-note { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.stats-note p { margin: 0; color: #cdd3ec; }
.footnote { margin: 28px 0 0; font-size: .8rem; color: #8f98c0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-block; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .87rem; line-height: 1.3;
}
.section--navy .chip { background: transparent; border-color: rgba(255, 255, 255, .22); color: #e6e9f6; }
.chip--accent { border-color: var(--accent); }

/* ---------- Chronik (vertikal) ---------- */
.chronik { position: relative; list-style: none; margin: 0; padding: 0; }
.chronik::before { content: ""; position: absolute; left: 103px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.chronik li { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 0 32px; padding: 0 0 30px; }
.chronik li::after {
  content: ""; position: absolute; left: 97px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
.chronik li.is-key::after { background: var(--accent); border-color: var(--accent); }
.chronik__year { padding-top: 1px; text-align: right; font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; color: var(--brand); font-variant-numeric: tabular-nums; }
.chronik h3 { margin: 0 0 .25em; font-size: 1.1rem; }
.chronik p { margin: 0; color: var(--muted); }
.chronik__era { margin: 8px 0 26px 120px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 600px) {
  .chronik::before { left: 71px; }
  .chronik li { grid-template-columns: 58px 1fr; gap: 0 26px; }
  .chronik li::after { left: 65px; }
  .chronik__year { font-size: .98rem; }
  .chronik__era { margin-left: 84px; }
}

/* ---------- Merkmale ---------- */
.feature { padding: 4px 0; }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px; background: #fff; color: var(--brand); border: 1px solid var(--line); }
.feature h3 { font-size: 1.12rem; margin-bottom: .35em; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Referenzen ---------- */
.ref {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.ref__tag { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.ref h3 { margin: 0; font-size: 1.1rem; }
.ref p { margin: 0; font-size: .96rem; color: var(--muted); }
.ref__facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; list-style: none; padding-left: 0; }
.ref__facts li { font-size: .78rem; padding: 3px 9px; border-radius: 6px; background: var(--brand-50); color: var(--navy-800); }
.ref__img {
  width: calc(100% + 48px); max-width: none; margin: -24px -24px 8px;
  aspect-ratio: 16 / 9; object-fit: cover; background: var(--brand-50);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.jump {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line);
}
.jump ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.jump a {
  display: inline-block; white-space: nowrap; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none;
}
.jump a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Kundenstimmen ---------- */
.quotes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.quote { margin: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 12px 0 14px; font-size: 1.12rem; line-height: 1.45; font-weight: 600; color: var(--ink); }
.quote figcaption { font-size: .87rem; color: var(--muted); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 32px; }
.rating__score { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.rating .stars .icon { width: 22px; height: 22px; }

/* ---------- Unterseiten ---------- */
.page-hero { background: var(--bg-soft); padding: clamp(26px, 3vw, 40px) 0 clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.3vw, 3.05rem); max-width: 22ch; }
.page-hero .lead { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; max-width: 980px; }
.fact { padding: 15px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.fact span { display: block; margin-top: 2px; font-size: .86rem; color: var(--muted); line-height: 1.4; }

/* Seitenkopf mit Foto: am PC rechts neben dem Text, auf Tablet und Handy unter den Kennzahlen */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.page-hero__img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover;
  border-radius: var(--radius-lg); background: var(--brand-50); box-shadow: var(--shadow);
}
.page-hero__img--oben { object-position: 50% 25%; }
.page-hero__img--unten { object-position: 50% 75%; }
@media (min-width: 1024px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .page-hero__img { aspect-ratio: 4 / 3; }
}

.layout { display: grid; gap: 48px; padding: clamp(44px, 6vw, 80px) 0; }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 72px; } }
.aside { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 1024px) { .aside__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 22px; } }

.prose { max-width: 74ch; min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.85rem); margin: 1.9em 0 .6em; }
.prose h3 { margin: 1.6em 0 .45em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand); }
.prose .chronik, .prose .chips { padding-left: 0; }
.prose .chronik li { margin: 0; }
.prose .chronik h3 { margin: 0 0 .25em; }
.prose img { border-radius: var(--radius); }
.checks { list-style: none; padding: 0 !important; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2340529c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.callout { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--accent-soft); color: var(--ink); }
.callout p:last-child { margin: 0; }
.callout--info { border-color: var(--brand); background: var(--brand-50); }
.callout--alert { border-color: var(--error); background: #fdeeec; }
.callout--alert a { color: var(--error); font-weight: 650; }
.hilfe-notfall { margin: 0 0 36px; }
.prose .spaced > li { margin: .8em 0; }
a[href^="mailto:"], a[href^="tel:"], a[href^="https://wa.me/"] { white-space: nowrap; }
kbd {
  display: inline-block; min-width: 1.7em; padding: .02em .45em;
  font: 650 .84em/1.5 var(--font); text-align: center; color: var(--ink);
  background: #fff; border: 1px solid #c9cfe1; border-bottom-width: 2px; border-radius: 6px;
  white-space: nowrap;
}

.contact-card { padding: 26px; border-radius: 16px; background: var(--navy-900); color: #cfd5ec; }
.contact-card h2 { margin: 0 0 .4em; font-size: 1.2rem; color: #fff; }
.contact-card p { margin: 0 0 14px; font-size: .95rem; }
.contact-list { list-style: none; margin: 0 0 20px; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.contact-list .icon { width: 18px; height: 18px; color: var(--accent); }
.contact-card a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; }
.contact-card a:not(.btn):hover { color: var(--accent); }
.contact-card .small { margin: 12px 0 0; color: #a9b1d4; }

.related { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.related h2 { margin: 0 0 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li + li { border-top: 1px solid var(--line); }
.related a { display: block; padding: 9px 0; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.related a:hover, .related a[aria-current] { color: var(--brand); }

/* ---------- Adresszeile Fernwartung ---------- */
.addr {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
  max-width: 680px; margin: 30px 0 0; padding: 18px 20px;
  background: #fff; border: 2px solid var(--brand); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.addr__bar {
  display: flex; align-items: center; gap: 12px; flex: 1 1 280px; min-width: 0;
  padding: 10px 18px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.05rem); font-weight: 800;
  letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.addr__bar:hover { color: var(--brand); border-color: var(--brand); }
.addr__bar .icon { width: 22px; height: 22px; color: var(--ok); }
.addr__spoken { flex-basis: 100%; margin: 0; font-size: .92rem; color: var(--muted); }
.addr__call { margin: 16px 0 0; color: var(--muted); }
.addr__call a { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; margin: 1em 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table caption { text-align: left; padding: 14px 16px 0; font-weight: 700; color: var(--ink); }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table tbody th { font-weight: 600; color: var(--ink); }

/* ---------- Schritte ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 1.2em 0 1.8em; padding: 0 !important; }
.steps > li { counter-increment: step; position: relative; margin: 0; padding: 20px 22px 20px 78px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before {
  content: counter(step); position: absolute; left: 22px; top: 18px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand); color: #fff; font-weight: 800;
}
.steps h3 { margin: 0 0 .3em; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); }
.steps p + p { margin-top: .6em; }

/* ---------- Aufklapper ---------- */
.acc { margin: 0 0 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; color: var(--brand); }
.acc[open] summary::after { content: "\2013"; }
.acc summary .count { margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.acc__body { padding: 0 18px 14px; }
.acc__body ul { margin: 0; }

/* ---------- Jahreslisten (Kompetenzen) ---------- */
.years { list-style: none; margin: 0 0 1.5em; padding: 0 !important; border-top: 1px solid var(--line); }
.years li { display: grid; grid-template-columns: 128px 1fr; gap: 4px 18px; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.years__y { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .years li { grid-template-columns: 1fr; } }

/* ---------- Grafiken (erklaerende Abbildungen) ---------- */
.fig { margin: 1.8em 0; padding: 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.fig li { margin: 0; }
.fig figcaption { margin: 18px 0 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.page-hero .fig { margin: 32px 0 0; background: #fff; }
@media (max-width: 599.98px) { .fig { padding: 18px 16px; } }
.fig__note { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.fig__note .icon { width: 22px; height: 22px; color: var(--navy-800); }

/* Ablauf: Schritte mit Symbol, am Handy untereinander */
.flow { display: grid; gap: 22px; margin: 0; padding: 0 !important; list-style: none; }
.flow__step { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 0 14px; align-content: center; }
.flow__icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1.5px solid var(--brand); color: var(--brand); }
.flow__icon .icon { width: 22px; height: 22px; }
.flow__title { align-self: end; font-weight: 700; line-height: 1.3; color: var(--ink); }
.flow__text { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: -18px; width: 2px; border-radius: 2px; background: var(--brand-100); }
.flow__next { display: none; }
@media (min-width: 640px) {
  .flow { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; }
  .flow--5 { --n: 5; }
  .flow__step { grid-template-columns: 1fr; justify-items: center; align-content: start; gap: 0; text-align: center; }
  .flow__icon { grid-row: auto; margin-bottom: 12px; }
  .flow__step:not(:last-child)::after { display: none; }
  .flow__next { display: block; position: absolute; top: 11px; right: -20px; width: 24px; height: 24px; color: var(--brand); }
  .flow__next .icon { width: 24px; height: 24px; }
}

/* Angriffswege und Schutzbausteine */
.threats { display: grid; gap: 10px; margin: 0; padding: 0 !important; list-style: none; }
.threats li { display: grid; grid-template-columns: minmax(0, 1fr) 44px auto; align-items: center; }
.threats__risk { display: flex; align-items: center; gap: 10px; font-size: .95rem; line-height: 1.35; color: var(--ink); }
.threats__risk .icon { width: 20px; height: 20px; color: var(--error); }
.threats__stop { position: relative; height: 2px; margin: 0 6px 0 8px; background: var(--error); }
.threats__stop::after { content: ""; position: absolute; right: -1px; top: -7px; width: 3px; height: 16px; border-radius: 2px; background: var(--error); }
.threats__guard { display: flex; align-items: center; gap: 8px; min-width: 150px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--brand); color: var(--navy-800); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.threats__guard .icon { width: 18px; height: 18px; color: var(--brand); }
@media (max-width: 479.98px) {
  .threats li { grid-template-columns: minmax(0, 1fr) 26px auto; }
  .threats__risk .icon { display: none; }
  .threats__guard { min-width: 0; padding: 7px 11px; }
}

/* Zeitstrahl mit Fristen, am Handy senkrecht */
.tline { display: grid; gap: 20px; margin: 0; padding: 0 !important; list-style: none; }
.tline li { position: relative; padding-left: 34px; }
.tline li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.tline li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 26px; bottom: -16px; width: 2px; background: var(--line); }
.tline li.is-hl::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 0 5px var(--accent); }
.tline__date { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; line-height: 1.25; color: var(--ink); }
.tline__title { display: block; margin: 2px 0; color: var(--brand); }
.tline__text { display: block; font-size: .92rem; line-height: 1.5; color: var(--muted); }
@media (min-width: 640px) {
  .tline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .tline li { padding: 34px 0 0; }
  .tline li::before { left: 0; top: 0; }
  .tline li:not(:last-child)::after { left: 24px; right: -16px; top: 6px; bottom: auto; width: auto; height: 2px; }
}

/* Ring-Diagramm mit Legende */
.ring { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.ring__chart { flex: none; width: 150px; height: 150px; }
.ring__track { fill: none; stroke: #c9cfe1; stroke-width: 16; }
.ring__part { fill: none; stroke: var(--brand); stroke-width: 16; }
.ring__big { font: 800 18px var(--font-display); fill: var(--ink); text-anchor: middle; }
.ring__small { font: 600 10.5px var(--font); fill: var(--muted); text-anchor: middle; }
.ring__legend { flex: 1 1 260px; display: grid; gap: 14px; margin: 0; padding: 0 !important; list-style: none; }
.ring__legend li { position: relative; padding-left: 26px; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.ring__legend li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 4px; background: #c9cfe1; }
.ring__legend li.is-main::before { background: var(--brand); }
.ring__legend strong { display: block; color: var(--ink); }
.ring figcaption { flex-basis: 100%; margin-top: 0; }

/* Erfahrungsbalken 1992 bis heute */
.since__list { display: grid; gap: 12px; margin: 0; padding: 0 !important; list-style: none; }
.since__row { display: grid; gap: 6px 16px; align-items: center; }
.since__label { font-size: .93rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.since__label small { font-size: .82rem; font-weight: 600; color: var(--muted); }
.since__track { position: relative; height: 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.since__bar { position: absolute; top: -1px; right: -1px; bottom: -1px; left: var(--from, 0%); border-radius: 999px; background: var(--brand); }
.since__track::after { content: ""; position: absolute; top: -5px; bottom: -5px; left: 41.18%; width: 3px; margin-left: -1px; border-radius: 2px; background: var(--accent); }
.from-1992 { --from: 0%; }
.from-1994 { --from: 5.88%; }
.from-1995 { --from: 8.82%; }
.from-2009 { --from: 50%; }
.from-2014 { --from: 64.71%; }
.from-2017 { --from: 73.53%; }
.from-2020 { --from: 82.35%; }
.from-2022 { --from: 88.24%; }
.since__axis { position: relative; height: 18px; margin-top: 12px; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.since__axis span { position: absolute; top: 0; left: 0; }
.since__axis span:nth-child(2) { left: 41.18%; transform: translateX(-50%); font-weight: 700; color: var(--ink); }
.since__axis span:nth-child(3) { left: auto; right: 0; }
@media (min-width: 640px) {
  .since__row { grid-template-columns: 210px minmax(0, 1fr); }
  .since__axis { margin-left: 226px; }
}

/* Beispiel-Mail (Phishing-Anleitung) */
.maildemo { overflow: hidden; background: #fff; border: 1px solid #d6dbe8; border-radius: 12px; box-shadow: var(--shadow); }
.maildemo__bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.maildemo__bar span { width: 9px; height: 9px; border-radius: 50%; background: #cfd5e5; }
.maildemo__head { margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.maildemo__head div { position: relative; display: flex; align-items: center; gap: 10px; padding: 3px 32px 3px 0; }
.maildemo__head .maildemo__mark { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
@media (max-width: 479.98px) {
  .maildemo__head div { display: block; padding-top: 4px; padding-bottom: 4px; }
  .maildemo__head dt { width: auto; font-size: .78rem; }
}
.maildemo__head dt { flex: none; width: 58px; color: var(--muted); }
.maildemo__head dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; min-width: 0; color: var(--ink); overflow-wrap: anywhere; }
.maildemo__body { padding: 14px 16px 16px; font-size: .95rem; line-height: 1.5; color: var(--text); }
.maildemo__body p { margin: 0 0 12px; }
.maildemo__body p:last-child { margin-bottom: 0; }
.maildemo__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.maildemo__btn { display: inline-block; padding: 8px 18px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700; }
.maildemo__hint { font-size: .82rem; color: var(--muted); }
.maildemo__url { padding: 5px 10px; border-radius: 6px; background: var(--navy-900); color: #fff; font: 500 .82rem/1.35 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.maildemo__mark { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--navy-950); font-size: .78rem; font-weight: 800; line-height: 1; }

/* Netzplan (SVG) */
.netplan { display: block; width: 100%; max-width: 470px; height: auto; margin: 0 auto; }
.netplan .np-box { fill: #fff; stroke: var(--brand); stroke-width: 1.3; }
.netplan .np-box--soft { stroke: #c9cfe1; }
.netplan .np-line { fill: none; stroke: var(--brand); stroke-width: 1.6; }
.netplan .np-vpn { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-dasharray: 4 4; }
.netplan .np-power { fill: none; stroke: #d4a106; stroke-width: 2; stroke-dasharray: 1 5; stroke-linecap: round; }
.netplan .np-icon { color: var(--brand); }
.netplan .np-icon--power { color: #c99700; }
.netplan .np-label { font: 700 13px var(--font); fill: var(--ink); }
.netplan .np-small { font: 600 12.5px var(--font); fill: var(--muted); }
.netplan .np-mid { text-anchor: middle; }

/* ---------- Partner ---------- */
.partner-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.partner { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.partner__logo { display: block; width: 100%; max-width: 220px; height: 36px; margin: 0 0 16px; object-fit: contain; object-position: left center; }
.partner h3 { margin: 0 0 .25em; font-size: 1.1rem; }
.partner__since { display: inline-block; margin-bottom: 10px; padding: 3px 9px; border-radius: 6px; font-size: .78rem; font-weight: 700; background: var(--brand-50); color: var(--navy-800); }
.partner p { margin: 0; font-size: .95rem; color: var(--muted); }
.partner .partner__link { margin-top: 10px; }
.partner__link a { font-weight: 650; }
.partner-box p:last-child { margin-top: 10px; }
.partner-box .btn { margin-top: 4px; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; font-size: .93rem; font-weight: 650; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #c9cfe1; border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(64, 82, 156, .16); }
.field textarea { min-height: 170px; resize: vertical; }
.field .hint { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.req { color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { flex: none; width: 19px; height: 19px; margin-top: .2em; accent-color: var(--brand); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 10px; border: 1px solid #f0c4bf; background: #fdeeec; color: #6f1d16; }
.notice--ok { border-color: #bfe3cf; background: #ecf8f1; color: #14523a; }
.form-card { padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.address-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }
.address-card h2 { font-size: 1.2rem; }
.address-card address { font-style: normal; margin-bottom: 18px; }
.address-card .contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.address-card .contact-list a:hover { color: var(--brand); }
.address-card .contact-list .icon { color: var(--brand); }

/* ---------- CTA-Band ---------- */
.cta { position: relative; overflow: hidden; background: var(--brand); color: #e3e7f7; }
.cta::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: -60px; width: 46%; min-width: 280px;
  background: var(--navy-900); opacity: .4; transform: skewX(-24deg); transform-origin: bottom; pointer-events: none;
}
.cta__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px; padding: 56px 0; }
.cta h2 { margin: 0 0 .3em; color: #fff; }
.cta p { margin: 0; max-width: 46em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #a9b1d3; font-size: .95rem; }
.footer__grid { display: grid; gap: 40px 32px; padding: 68px 0 44px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer__brand img { width: 150px; margin-bottom: 18px; }
.footer__brand p { max-width: 30em; }
.footer h2 { margin: 0 0 14px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a { color: #dfe3f3; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer address { font-style: normal; margin-bottom: 12px; }
.footer__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: .85rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__bottom li { margin: 0; }

/* ---------- Beiträge ---------- */
.post-meta { color: var(--muted); font-size: .92rem; margin: 0 0 6px; }
.prose { overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: .5em; font-size: .88rem; color: var(--muted); }
.prose img { height: auto; }
.post-image { margin-top: 0 !important; }
.post-image img { width: 100%; border-radius: var(--radius-lg); }

/* ---------- 404 ---------- */
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 900; font-style: italic; line-height: 1; color: var(--brand-100); margin: 0 0 8px; letter-spacing: -.04em; }

/* ---------- Handy: erster Bildschirm kompakt, Inhalt darunter angeschnitten ---------- */
@media (max-width: 599.98px) {
  :root { --header-h: 64px; }
  .brand img { height: 42px; }
  .hide-xs { display: none; }

  .hero { padding: 22px 0 44px; }
  .hero__grid { gap: 28px; }
  .hero .eyebrow { margin-bottom: .7rem; }
  .hero h1 { font-size: 2rem; margin-bottom: .4em; }
  .lead { font-size: 1.05rem; line-height: 1.55; }
  .hero__actions { flex-wrap: wrap; gap: 10px; margin: 20px 0; }
  .hero__actions .btn { flex: 1 1 auto; padding: .82em 1em; }
  .hero__actions .btn--primary .icon { display: none; }
  .trust { gap: 8px 16px; font-size: .88rem; }

  .crumbs { padding-top: 14px; }
  .page-hero { padding: 16px 0 30px; }
  .page-hero h1 { font-size: 1.85rem; }
  h1 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 4 4; overflow-wrap: break-word; }
  .page-hero .fig { margin-top: 22px; }
  .page-hero__grid { gap: 22px; }
  .page-hero__img { aspect-ratio: 16 / 9; border-radius: var(--radius); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
  .fact { padding: 11px 13px; }
  .fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .fact strong { font-size: 1.12rem; }
  .fact span { font-size: .8rem; }

  .card:has(> .card__icon) { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 14px; align-items: center; padding: 18px; }
  .card:has(> .card__icon) > :not(.card__icon):not(h3) { grid-column: 1 / -1; }
  .card:has(> .card__icon) .card__icon { width: 40px; height: 40px; margin: 0; }
  .card:has(> .card__icon) .card__icon .icon { width: 22px; height: 22px; }
  .card:has(> .card__icon) h3 { margin: 0; }
  .card:has(> .card__icon) p { margin-top: 10px; }
}

/* ---------- Druck ---------- */
@media print {
  .topbar, .header, .cta, .footer, .aside, .crumbs, .jump { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .page-hero, .section--soft { background: none; border: 0; }
  a { color: #000; }
}
