/* =========================================================
   EGroupware – Static Site Stylesheet
   Design system + components. No frameworks, no webfonts.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --brand-50:  #eef6fd;
  --brand-100: #d7e9fa;
  --brand-200: #b0d3f4;
  --brand-300: #7bb6ea;
  --brand-400: #4193dc;
  --brand-500: #1a73b8;
  --brand-600: #0b5fa5;
  --brand-700: #094c85;
  --brand-800: #0a3d68;
  --brand-900: #0b3151;

  --accent-400: #2fd0bd;
  --accent-500: #10b3a3;
  --accent-600: #0b8f84;

  /* Neutrals */
  --n-0:   #ffffff;
  --n-25:  #fbfcfe;
  --n-50:  #f5f7fa;
  --n-100: #eef1f6;
  --n-200: #e0e5ee;
  --n-300: #c6cedb;
  --n-400: #94a0b4;
  --n-500: #6b7789;
  --n-600: #4d586a;
  --n-700: #38414f;
  --n-800: #232a35;
  --n-900: #151a22;
  --n-950: #0d1117;

  /* Semantic (light) */
  --bg:            var(--n-0);
  --bg-soft:       var(--n-50);
  --bg-elevated:   var(--n-0);
  --bg-inverse:    var(--brand-900);
  --text:          var(--n-800);
  --text-soft:     var(--n-600);
  --text-muted:    #566173;   /* 6,3:1 auf Weiss (vorher n-500 mit 4,5:1) */
  --text-inverse:  #ffffff;
  --border:        #cfd6e0;   /* Kachelraender im Hellmodus sichtbar (vorher n-200) */
  --border-strong: #aab4c4;
  --border-hover:  #7d899d;
  --card-bg:       #f3f5f8;   /* Kacheln leicht grau auf weisser Seite */
  --primary:       var(--brand-600);
  --primary-hover: var(--brand-700);
  --primary-soft:  var(--brand-50);
  --ring:          color-mix(in srgb, var(--brand-500) 45%, transparent);

  --shadow-sm: 0 1px 2px rgba(11, 49, 81, .06), 0 1px 3px rgba(11, 49, 81, .05);
  --shadow-md: 0 4px 10px rgba(11, 49, 81, .06), 0 12px 28px rgba(11, 49, 81, .07);
  --shadow-lg: 0 8px 20px rgba(11, 49, 81, .08), 0 28px 60px rgba(11, 49, 81, .10);

  /* Shape & rhythm */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  --header-h: 72px;
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);

  /* Type scale (fluid) */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   clamp(1.125rem, 0.4vw + 1.05rem, 1.25rem);
  --fs-h4:   clamp(1.125rem, 0.5vw + 1rem, 1.3rem);
  --fs-h3:   clamp(1.35rem, 1vw + 1.05rem, 1.75rem);
  --fs-h2:   clamp(1.75rem, 2vw + 1.1rem, 2.6rem);
  --fs-h1:   clamp(2.2rem, 3.6vw + 1.1rem, 3.75rem);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  color-scheme: light;
}

/* Dark palette: system preference, unless the user picked light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            var(--n-950);
    --bg-soft:       #111823;
    --bg-elevated:   #161e2a;
    --bg-inverse:    #060b12;
    --text:          #e8edf5;
    --text-soft:     #b3bfd0;
    --text-muted:    #8c9ab0;
    --border:        #263141;
    --border-strong: #33415a;
    --border-hover:  #4b5d78;
    --card-bg:       #161e2a;
    --primary:       var(--brand-300);
    --primary-hover: var(--brand-200);
    --primary-soft:  #14243a;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 6px 16px rgba(0,0,0,.45);
    --shadow-lg: 0 14px 44px rgba(0,0,0,.55);
    color-scheme: dark;
  }
}
/* Dark palette: explicit user choice */
:root[data-theme="dark"] {
  --bg:            var(--n-950);
  --bg-soft:       #111823;
  --bg-elevated:   #161e2a;
  --bg-inverse:    #060b12;
  --text:          #e8edf5;
  --text-soft:     #b3bfd0;
  --text-muted:    #8c9ab0;
  --border:        #263141;
  --border-strong: #33415a;
  --border-hover:  #4b5d78;
  --card-bg:       #161e2a;
  --primary:       var(--brand-300);
  --primary-hover: var(--brand-200);
  --primary-soft:  #14243a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 6px 16px rgba(0,0,0,.45);
  --shadow-lg: 0 14px 44px rgba(0,0,0,.55);
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font);
  -webkit-tap-highlight-color: color-mix(in srgb, var(--brand-500) 18%, transparent);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
/* Eigene display-Regeln (z. B. .module { display: grid }) schlagen sonst das
   hidden-Attribut aus dem Browser-Stylesheet. */
[hidden] { display: none !important; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
button, input, select, textarea { font: inherit; color: inherit; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Worttrennung (Regel in .claude/CLAUDE.md): keine automatische Silbentrennung.
   Getrennt wird nur an &shy; in zusammengesetzten Woertern (gesetzt per
   .claude/tools/trennstellen.pl); gleichmaessiger Umbruch in Ueberschriften */
h1, h2, h3, h4 {
  line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--text);
  overflow-wrap: break-word; hyphens: manual; text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.028em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: -0.015em; }

p, li, dd, dt, td, th, figcaption, summary, label {
  overflow-wrap: break-word; hyphens: manual;
}
p, li { color: var(--text-soft); }
strong { color: var(--text); font-weight: 650; }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-md) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary);
  background: var(--primary-soft); padding: .4rem .8rem;
  border-radius: var(--r-full); margin-bottom: 1rem;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lg); margin-top: .9rem; }

.lead { font-size: var(--fs-lg); color: var(--text-soft); }

/* ---------- 4. Buttons ---------- */
.btn {
  touch-action: manipulation;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: var(--r-full);
  font-weight: 620; font-size: var(--fs-sm); letter-spacing: .01em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease,
              border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--bg-soft); color: var(--text); border-color: var(--primary); }

.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.24); color: #fff; }

.btn--solid-light { background: #fff; color: var(--brand-700); }
.btn--solid-light:hover { background: var(--brand-50); color: var(--brand-800); }

.btn--sm { padding: .55rem 1.05rem; font-size: var(--fs-xs); }
.btn--lg { padding: .95rem 1.9rem; font-size: var(--fs-base); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 620; font-size: var(--fs-sm); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.nav {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none;
  min-height: 44px; }
.brand img { height: 37px; width: auto; }
@media (max-width: 520px) { .brand img { height: 30px; } }
/* Two artwork variants so the wordmark keeps its colours in both themes. */
.brand-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-light { display: none; }
  :root:not([data-theme="light"]) .brand-dark { display: block; }
}
:root[data-theme="dark"] .brand-light { display: none; }
:root[data-theme="dark"] .brand-dark { display: block; }
:root[data-theme="light"] .brand-light { display: block; }
:root[data-theme="light"] .brand-dark { display: none; }

.nav-links {
  display: flex; align-items: center; gap: .2rem;
  list-style: none; padding: 0; margin: 0 auto 0 1.5rem;
}
.nav-links a {
  display: block; padding: .5rem .8rem; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 560; color: var(--text-soft); white-space: nowrap;
  text-decoration: none; transition: color .15s ease, background-color .15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--primary); font-weight: 650; }
.nav-links .btn--primary { color: #fff; }
.nav-links .btn--primary:hover { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.nav-cta { display: none; }

/* ---------- Untermenue ---------- */
/* Grundsatz: Ohne JavaScript oeffnet es beim Darueberfahren und beim Tabben.
   Mit JavaScript kommt der Klick dazu, damit es auf Touch-Geraeten geht. */
.nav-has-sub { position: relative; }
.nav-top { display: flex; align-items: center; }
/* Auf dem Desktop kostet ein eigener Knopf zu viel Breite – dort markiert
   ein Zeichen hinter dem Linktext, dass es weitergeht, und das Menue oeffnet
   beim Darueberfahren. Der Knopf bleibt fuers mobile Menue. */
.nav-sub__toggle {
  display: none; align-items: center; justify-content: center;
  width: 26px; height: 32px; padding: 0; margin-left: -.45rem;
  background: none; border: 0; cursor: pointer; color: var(--text-muted);
}
.nav-sub__toggle svg { width: 15px; height: 15px; transition: transform .15s ease; }
.nav-has-sub[data-open="true"] .nav-sub__toggle svg { transform: rotate(180deg); }
.nav-sub__toggle:hover { color: var(--primary); }
@media (min-width: 961px) {
  .nav-has-sub > .nav-top > a::after {
    content: "\25BE"; font-size: .7em; margin-left: .3em;
    color: var(--text-muted); vertical-align: .08em;
  }
  .nav-has-sub:hover > .nav-top > a::after { color: var(--primary); }
}
@media (max-width: 960px) { .nav-sub__toggle { display: inline-flex; } }

.nav-sub {
  position: absolute; top: 100%; left: 0; z-index: 60;
  display: none; gap: 1.5rem; padding: 1.1rem 1.25rem;
  min-width: 15rem;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg, 0 18px 45px rgba(11,49,81,.17));
}
.nav-sub--wide { gap: 2rem; }
.nav-has-sub:hover > .nav-sub,
.nav-has-sub:focus-within > .nav-sub,
.nav-has-sub[data-open="true"] > .nav-sub { display: flex; }
/* am rechten Rand nicht aus dem Bild laufen */
.nav-links > li:nth-last-child(-n+4) .nav-sub { left: auto; right: 0; }
.nav-sub__col { min-width: 12rem; }
.nav-sub__head {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text-muted);
  margin: 0 0 .5rem .8rem;
}
.nav-sub ul { list-style: none; margin: 0; padding: 0; }
.nav-sub a {
  display: flex; align-items: center; gap: .6rem;
  padding: .42rem .8rem; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 520; color: var(--text-soft);
  white-space: nowrap; text-decoration: none;
}
/* Die App-Symbole aus EGroupware, dieselben wie auf den Modulkarten. */
.nav-sub__icon { width: 18px; height: 18px; flex: none; display: block; }
.nav-sub__icon--line { display: inline-flex; color: var(--text-muted); }
.nav-sub__icon--line svg { width: 17px; height: 17px; }
.nav-sub a:hover .nav-sub__icon--line { color: var(--primary); }
.nav-sub a:hover { background: var(--bg-soft); color: var(--text); }
.nav-sub a[aria-current="page"] { color: var(--primary); font-weight: 650; }

@media (max-width: 960px) {
  /* Im Overlay-Menue wird aus dem Ausklapper eine Liste untereinander. */
  .nav-has-sub { position: static; }
  .nav-top { justify-content: space-between; }
  .nav-sub__toggle { width: 44px; height: 44px; margin-left: 0; }
  .nav-sub {
    position: static; flex-direction: column; gap: .4rem;
    border: 0; box-shadow: none; background: transparent;
    padding: .2rem 0 .6rem .9rem; min-width: 0;
    border-left: 2px solid var(--border);
    margin-left: .8rem;
  }
  .nav-has-sub:hover > .nav-sub, .nav-has-sub:focus-within > .nav-sub { display: none; }
  .nav-has-sub[data-open="true"] > .nav-sub { display: flex; }
  /* Ohne JavaScript gibt es keinen Umschalter – dann alles offen zeigen */
  html:not(.js) .nav-sub { display: flex; }
  html:not(.js) .nav-sub__toggle { display: none !important; }
  .nav-sub a { padding: .5rem .6rem; font-size: 1rem; white-space: normal; }
  .nav-sub__head { margin-left: .6rem; margin-top: .4rem; }
}

/* Mit den Menuepunkten "News" und "KI" sind es neun Eintraege. Zwischen 960 und 1520 px
   wird es eng, deshalb ruecken Abstaende und Schrift dort zusammen und der
   Knopf im Kopf entfaellt – im Hero steht ohnehin derselbe Aufruf. */
@media (min-width: 961px) and (max-width: 1519px) {
  .nav-links { margin-left: .9rem; gap: 0; }
  .nav-links a { padding: .5rem .55rem; font-size: var(--fs-xs); }
  .nav-actions > .btn { display: none; }
  .nav { gap: .6rem; }
}
@media (min-width: 1280px) and (max-width: 1420px) {
  .nav-links { margin-left: 1rem; gap: 0; }
  .nav-links a { padding: .5rem .65rem; }
}

.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: var(--r-full); overflow: hidden; }
.lang-switch a {
  display: grid; place-items: center; min-height: 38px; min-width: 40px;
  padding: 0 .7rem; font-size: var(--fs-xs); font-weight: 700;
  text-decoration: none; color: var(--text-muted); letter-spacing: .04em;
}
.lang-switch a[aria-current="true"] { background: var(--primary); color: #fff; }

.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--r-full);
  background: transparent; cursor: pointer; color: var(--text-soft);
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.theme-toggle svg { width: 18px; height: 18px; }

/* Icon state for both switches (header button and menu entry).
   The icon shows the theme you would switch TO. */
.i-moon { display: block; }
.i-sun  { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-moon { display: none; }
  :root:not([data-theme="light"]) .i-sun  { display: block; }
}
:root[data-theme="dark"]  .i-moon { display: none; }
:root[data-theme="dark"]  .i-sun  { display: block; }
:root[data-theme="light"] .i-moon { display: block; }
:root[data-theme="light"] .i-sun  { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; place-items: center;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: transparent; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: .15rem;
    margin: 0; padding: 1rem 1.25rem 1.5rem;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .75rem .8rem; font-size: 1.0625rem; }
  .nav-actions { margin-left: auto; }
  .nav-cta { display: block; margin-top: .75rem; }
  .nav-cta .btn { width: 100%; }
}
@media (max-width: 720px) {
  .nav-actions > .btn { display: none; }
  .nav-actions > .theme-toggle { display: none; }
}

/* ---------- 5b. Mobile refinements ---------- */
.nav-theme { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .lang-switch a { min-height: 42px; min-width: 44px; }
  .crumbs a, .footer-bottom a, .link-arrow { display: inline-block; padding-block: .5rem; }
  .site-footer ul a { padding: .65rem 0; }
  body.nav-open { overflow: hidden; }

  /* the theme switch moves into the menu, where there is room for a label */
  .nav-theme { display: block; margin-top: .5rem; padding-top: .75rem;
    border-top: 1px solid var(--border); }
  .nav-theme .theme-toggle-inline {
    display: flex; align-items: center; gap: .6rem; width: 100%;
    min-height: 48px; padding: .5rem .8rem; border: 0; border-radius: var(--r-sm);
    background: transparent; color: var(--text-soft); font-size: 1.0625rem;
    font-weight: 560; cursor: pointer; text-align: left;
  }
  .nav-theme .theme-toggle-inline:hover { background: var(--bg-soft); color: var(--text); }
  .nav-theme svg { width: 20px; height: 20px; flex: none; }
}

@media (max-width: 620px) {
  /* stats read better as a 2x2 block than as a tall column */
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.25rem .9rem; }
  .stat dd { font-size: 1.7rem; }

  /* full-width buttons are easier to hit with a thumb */
  .btn-row > .btn { flex: 1 1 100%; }
  .hero .btn-row, .cta-band .btn-row { gap: .7rem; }

  .section-head { margin-bottom: 1.75rem; }
  .card { padding: 1.25rem; }
  .cta-band { padding: 2rem 1.35rem; }
  .price { padding: 1.5rem 1.25rem; }
  .panel { padding: 1rem; }
  .panel .mini-grid { grid-template-columns: 1fr 1fr; gap: .55rem; }
}

@media (max-width: 400px) {
  .wrap, .wrap-narrow { width: min(100% - 1.75rem, var(--wrap)); }
  .brand img { height: 25px; }
  .nav-actions { gap: .35rem; }
  .nav { gap: .5rem; }
  .lang-switch a { min-width: 33px; padding: 0 .4rem; }
  .panel .mini-grid { grid-template-columns: 1fr; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem);
  background:
    radial-gradient(1100px 520px at 82% -10%, color-mix(in srgb, var(--accent-500) 20%, transparent), transparent 62%),
    radial-gradient(900px 480px at 8% 0%, color-mix(in srgb, var(--brand-400) 26%, transparent), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 62px 62px;
  opacity: .35;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
}
.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { max-width: 34rem; margin-bottom: 1.8rem; }

.hero-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-xs); font-weight: 600; color: var(--text-soft);
  background: var(--bg); border: 1px solid var(--border);
  padding: .4rem .8rem; border-radius: var(--r-full);
}
.pill svg { width: 14px; height: 14px; color: var(--accent-600); flex: none; }

/* ---------- 6b. Produkt-Screenshots ---------- */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; }

/* Freigestellte Perspektiv-Screenshots stehen sonst kantenlos auf Weiß –
   der Schlagschatten hebt sie vom Hintergrund ab. */
.shot:not(.shot--framed) img {
  filter: drop-shadow(0 16px 30px rgba(11, 49, 81, .18));
}
.hero-shot { position: relative; }
.hero-shot .shot img {
  filter: drop-shadow(0 20px 38px rgba(11, 49, 81, .20));
}

/* Rechteckige Screenshots bekommen Rahmen und Schatten. */
.shot--framed img {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-elevated);
}

@media (max-width: 900px) {
  .hero-shot { max-width: 620px; margin-inline: auto; }
}

/* ---------- 7. Cards & grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(285px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }

.card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(1.35rem, 2.2vw, 1.85rem);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-hover); }
.card h3, .card h4 { margin-bottom: .55rem; font-size: var(--fs-h4); }
.card p { font-size: var(--fs-sm); }

.icon-badge {
  width: 46px; height: 46px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--primary-soft); color: var(--primary);
}
.icon-badge svg { width: 22px; height: 22px; }
/* Die echten App-Icons bringen eigene Farben mit und brauchen darum
   in beiden Farbschemata einen hellen Untergrund. */
.icon-badge--app { background: #fff; border: 1px solid var(--border); padding: 0; }
.icon-badge--app img { width: 26px; height: 26px; }
:root[data-theme="dark"] .icon-badge--app { background: #f4f7fb; border-color: transparent; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-badge--app { background: #f4f7fb; border-color: transparent; }
}
.section--dark .icon-badge--app { background: #fff; border-color: transparent; }
.module .icon-badge--app img { width: 24px; height: 24px; }
.icon-badge--accent { background: color-mix(in srgb, var(--accent-500) 15%, transparent); color: var(--accent-600); }

.check-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: var(--fs-sm); }
.check-list li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; margin-top: .18rem;
  background: color-mix(in srgb, var(--accent-500) 18%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8f84' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}

/* ---------- 7b. Referenz-Leiste unter dem Hero ---------- */
.logo-strip {
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.logo-strip__label {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
  text-align: center; margin-bottom: 1.25rem;
}
/* Gleichmäßiges Raster statt Flow – die Logos haben sehr unterschiedliche
   Seitenverhältnisse, feste Zellen beruhigen die Reihe. */
.logo-strip__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 180px)); justify-content: center;
}
.logo-strip__list li {
  display: grid; place-items: center; min-height: 68px; padding: .6rem .8rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
}
/* Viele Originallogos haben einen weißen Hintergrund – die weiße Kachel
   fängt das auf, statt graue Kästen auf der Seite zu hinterlassen. */
.logo-strip__list img {
  max-height: 40px; max-width: 100%; width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1); opacity: .72;
  transition: filter .2s ease, opacity .2s ease;
}
.logo-strip__list li:hover img { filter: none; opacity: 1; }

@media (max-width: 620px) {
  .logo-strip__list { grid-template-columns: repeat(auto-fit, minmax(min(104px, 100%), 1fr)); gap: .5rem; }
  .logo-strip__list li { min-height: 54px; padding: .45rem .55rem; }
  .logo-strip__list img { max-height: 30px; }
}

/* ---------- 7c. Dunkle Kontrast-Sektion ---------- */
.section--dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 88% 0%, color-mix(in srgb, var(--accent-500) 26%, transparent), transparent 62%),
    radial-gradient(760px 420px at 6% 100%, color-mix(in srgb, var(--brand-500) 40%, transparent), transparent 60%),
    linear-gradient(160deg, var(--brand-800), var(--brand-900) 60%, #08283f);
}
.section--dark > * { position: relative; z-index: 1; }
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p,
.section--dark li { color: rgba(255, 255, 255, .78); }
.section--dark .eyebrow { color: #9fe3d9; background: rgba(255, 255, 255, .1); }
.section--dark .card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  backdrop-filter: blur(2px);
}
.section--dark .card--hover:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.section--dark .icon-badge { background: rgba(255, 255, 255, .12); color: #9fe3d9; }

/* ---------- 7d. Vertrauens-Band ---------- */
.badge-band {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid; gap: 1.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr));
}
.badge { display: grid; grid-template-columns: 40px 1fr; gap: .85rem; align-items: start; }
.badge__icon {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .12); color: #9fe3d9;
}
.badge__icon svg { width: 20px; height: 20px; }
.badge b { display: block; color: #fff; font-size: var(--fs-sm); font-weight: 680; }
.badge span span { display: block; font-size: var(--fs-xs); color: rgba(255, 255, 255, .68); }

/* ---------- 12b. Kennzahl in der Kundenstimme ---------- */
.quote-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.quote-metric {
  font-size: var(--fs-xs); font-weight: 750; letter-spacing: -.01em;
  color: var(--primary); background: var(--primary-soft);
  padding: .3rem .7rem; border-radius: var(--r-full);
}

/* ---------- 8. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--bg-elevated); padding: 1.6rem 1.4rem; text-align: center; }
.stat dt { font-size: var(--fs-xs); font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); margin-top: .35rem; }
.stat dd { margin: 0; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 750; letter-spacing: -.03em;
  color: var(--primary); line-height: 1.1; }

/* ---------- 9. Split feature rows ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split--flip > :first-child { order: 2; }
@media (max-width: 720px) { .split--flip > :first-child { order: 0; } }

.panel {
  border-radius: var(--r-xl); border: 1px solid var(--border); padding: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(600px 300px at 20% 0%, color-mix(in srgb, var(--brand-400) 14%, transparent), transparent 70%),
    var(--bg-soft);
}
.panel .mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.mini {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: .95rem; display: grid; gap: .45rem;
}
.mini svg { width: 20px; height: 20px; color: var(--primary); }
.mini b { font-size: var(--fs-sm); color: var(--text); font-weight: 650; }
.mini span { font-size: var(--fs-xs); color: var(--text-muted); }

/* ---------- 10. Modules grid (features) ---------- */
.module {
  display: grid; grid-template-columns: 42px 1fr; gap: .95rem; align-items: start;
  padding: 1.1rem; border: 1px solid var(--border); border-radius: var(--r-lg);
  /* Die kleinen Modulkarten stehen auf weissem Grund und heben sich durch ein
     sehr leichtes Grau ab. Liegt die Karte in einer grauen Sektion (Startseite),
     dreht sich das Verhaeltnis. */
  background: var(--bg-soft); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.section--soft .module { background: var(--bg-elevated); }
.module:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.module .icon-badge { width: 42px; height: 42px; margin: 0;
  background: #fff; border: 1px solid var(--border); }
.module h3 { font-size: 1rem; margin-bottom: .3rem; letter-spacing: -.01em; }
/* Karten mit eigener Unterseite: der Link liegt auf der Ueberschrift und deckt
   per ::before die ganze Karte ab. Der Pfeil sitzt als runder Knopf oben rechts. */
.module--link, .card--link { position: relative; }
.module--link h3, .card--link :is(h2, h3) { padding-right: 2.2rem; }
.module h3 a { color: var(--text); text-decoration: none; }
.module--link:hover h3 a, .card--link:hover :is(h2, h3) a { color: var(--primary); }
.card--link :is(h2, h3) a { color: var(--text); text-decoration: none; }
.card--link :is(h2, h3) a:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 3px; }
.module h3 a:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 3px; }
.module--link h3 a::before, .card--link :is(h2, h3) a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.module--link h3 a::after, .card--link :is(h2, h3) a::after {
  content: ""; position: absolute; top: .95rem; right: .95rem;
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg-elevated) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.module--link:hover h3 a::after, .card--link:hover :is(h2, h3) a::after {
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat;
  border-color: var(--primary); transform: translateX(2px);
}
.module p { font-size: var(--fs-sm); margin: 0; }

/* ---------- 9c. Funktionskarten auf Modul- und Nebenseiten ---------- */
/* Mehrere Abschnitte ohne Bild stehen als Raster nebeneinander statt als
   Folge fast leerer Baender. Das Symbol kommt aus der Ueberschrift. */
/* Einzelner Textabschnitt direkt hinter dem Seitenkopf: knapper gesetzt,
   er ist faktisch eine zweite Einleitung. */
.section--knapp { padding-block: clamp(1.8rem, 3vw, 2.6rem); }

.feature { gap: .55rem; }
.feature .icon-badge { margin-bottom: .35rem; }
.feature h2 { font-size: 1.1rem; line-height: 1.3; }
.feature p { font-size: var(--fs-sm); color: var(--text-soft); }
.feature .check-list { font-size: var(--fs-sm); }
.feature .check-list li { gap: .5rem; }
.feature .link-list { margin-top: auto; padding-top: .6rem; }

/* ---------- 10a. Preisseite: Vertrauensleiste, Umstieg, Tarifberater ---------- */
/* Vier Antworten auf die vier haeufigsten Einwaende, direkt unter dem
   Anreisser – bevor die erste Zahl kommt. */
.trust-bar {
  display: grid; gap: .9rem 1.6rem; margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
}
.trust-bar { list-style: none; padding: 0; }
/* Farbiger Strich vor jedem Punkt wie bei den Benachrichtigungen */
.trust-bar li { display: grid; gap: .1rem; border-left: 3px solid var(--primary); padding: .15rem 0 .15rem .8rem; }
.trust-bar strong { font-size: var(--fs-sm); }
.trust-bar span { font-size: var(--fs-xs); color: var(--text-soft); }

/* Sechs Werkzeuge oben, ein Arbeitsbereich unten. */
.umstieg { display: grid; gap: 1.1rem; justify-items: center; text-align: center; }
.umstieg__head { font-size: var(--fs-sm); font-weight: 650; color: var(--text-muted);
  margin-bottom: .7rem; }
.umstieg__pfeil { font-size: 1.6rem; color: var(--primary); line-height: 1; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  max-width: 54rem; list-style: none; padding: 0; margin: 0; }
.chip-list li {
  font-size: var(--fs-sm); padding: .4rem .8rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-elevated);
  color: var(--text-muted);
}
.chip-list--voll li {
  border-color: transparent; background: var(--primary-soft); color: var(--primary);
  font-weight: 600;
}

/* Tarifberater. Ohne JavaScript bleibt der ganze Abschnitt weg – die
   Tarifuebersicht darunter beantwortet die Frage dann eben von Hand. */
.nur-mit-js { display: none; }
.js .nur-mit-js { display: block; }
/* Tarifberater. Er beantwortet die eine Frage, mit der Leute auf die
   Tarifseite kommen – deshalb startet die Seite damit, gleich unter der
   Ueberschrift, nicht in einem Band weiter unten.

   Die Form folgt dem Agenturentwurf: Fragen untereinander, Nummer vor der
   Frage, Antworten als helle Blaukacheln, die Empfehlung darunter in einem
   eigenen Farbton. Blau ist auf dieser Seite die Farbe der Auswahl; waere
   die Empfehlung auch blau, ginge sie darin unter. */
:root {
  --gold-bg:     #fffaf0;
  --gold-border: #e3b23c;
  --gold-text:   #8a6116;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gold-bg:     #241d10;
    --gold-border: #7d6120;
    --gold-text:   #e9c25f;
  }
}
:root[data-theme="dark"] {
  --gold-bg:     #241d10;
  --gold-border: #7d6120;
  --gold-text:   #e9c25f;
}

.preis-hero { padding-bottom: clamp(2rem, 4vw, 3rem); }
.preis-hero h1 { margin-bottom: .6rem; }
.preis-hero .lead { max-width: 40rem; margin-top: .4rem; }
.preis-hero__berater { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.preis-hero .trust-bar { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

.finder-karte {
  max-width: 960px;
  border: 1px solid var(--border-strong); border-radius: var(--r-xl);
  background: var(--bg-elevated); box-shadow: var(--shadow-lg);
  padding: clamp(1.3rem, 3vw, 2.25rem);
}
.finder-karte__kopf { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.finder-karte__kopf h2 { margin: 0; letter-spacing: -.03em; }
.finder-karte__kopf p { margin: .5rem 0 0; font-size: var(--fs-lg); color: var(--text-soft); }

.finder { display: grid; gap: clamp(1rem, 2vw, 1.4rem); }
.finder__frage { border: 0; padding: 0; margin: 0; }
.finder__frage legend {
  display: block; padding: 0; margin-bottom: .6rem;
  font-weight: 650; font-size: var(--fs-base); color: var(--text);
}
/* Nummer als Teil der Zeile, nicht als Abzeichen davor: Die Frage bleibt
   dadurch die Hauptsache und die Zeile faengt links buendig an. */
.finder__nr { color: var(--primary); font-weight: 750; margin-right: .4rem; }

.finder__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.finder__opt {
  font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
  text-align: left; padding: .65rem 1.1rem; border-radius: var(--r-md);
  border: 1px solid var(--border-strong); background: var(--bg); color: var(--text);
  transition: border-color .15s ease, background .15s ease, color .15s ease,
              box-shadow .15s ease;
}
.finder__opt:hover { border-color: var(--primary); color: var(--primary); }
/* Gewaehlt: helles Blau mit blauer Schrift. Eine gefuellte dunkle Kachel
   sieht aus wie ein Knopf, den man noch druecken soll – genau verkehrt
   herum fuer etwas, das bereits ausgewaehlt ist. */
.finder__opt[aria-pressed="true"] {
  background: var(--primary-soft); border-color: var(--primary);
  color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary);
}

/* Empfehlung: volle Breite unter den Fragen, eigener Farbton. */
.finder__ergebnis {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--gold-border); border-radius: var(--r-lg);
  background: var(--gold-bg);
}
.finder__label {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold-text); font-weight: 700; margin: 0;
}
.finder__warte p { margin: .5rem 0 0; font-size: var(--fs-sm); color: var(--text-muted); }
.finder__tarif {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem;
  margin: .45rem 0 .5rem;
}
.finder__tarif > span:first-child {
  font-size: var(--fs-h3); font-weight: 750; letter-spacing: -.02em; color: var(--text);
}
.finder__tarif .amount { font-size: var(--fs-lg); font-weight: 650; color: var(--text-soft); }
.finder__treffer > p { font-size: var(--fs-sm); margin: 0; }
.finder__treffer .btn-row { flex-wrap: wrap; }
.finder__hinweis { margin-top: clamp(1rem, 2vw, 1.4rem); }

/* Netto-Hinweis direkt am Preis statt nur im Kleingedruckten. */
.price-vat { display: block; font-size: var(--fs-xs); color: var(--text-muted);
  margin-top: -.2rem; }

.card--beispiel { border-left: 4px solid var(--primary); }
.vergleich td:first-child { white-space: normal; color: var(--text-muted); }
.vergleich td:last-child { font-weight: 550; }
.vergleich th:last-child { color: var(--primary); }


/* ---------- 10c. Testversion anfordern ---------- */
/* Formular links, Ablauf rechts. Vier Felder, mehr braucht es nicht –
   angelegt wird die Instanz ohnehin von Hand. */
.trial-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
@media (max-width: 860px) { .trial-grid { grid-template-columns: 1fr; } }
.trial-form { gap: 1rem; padding: clamp(1.4rem, 3vw, 2rem); }
.trial-form .btn { justify-self: start; }
.trial-form h2 { font-size: 1.3rem; }
.trial-form .desc { color: var(--text-muted); font-size: var(--fs-sm); margin-top: -.4rem; }
.trial-form__instanz { display: flex; gap: .5rem; flex-wrap: wrap; }
.trial-form__instanz input { flex: 2 1 11rem; min-width: 0; }
.trial-form__instanz select { flex: 0 1 9.5rem; min-width: 0; }
.field__hint { font-size: var(--fs-xs); color: var(--text-muted); margin-top: .35rem; }

.schritte { list-style: none; counter-reset: schritt; padding: 0; margin: 1rem 0 0;
  display: grid; gap: 1.1rem; }
.schritte li {
  counter-increment: schritt; display: grid; gap: .2rem;
  padding-left: 3rem; position: relative;
}
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: -.1rem;
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  border-radius: 50%; font-weight: 700; font-size: var(--fs-sm);
  color: var(--primary); background: var(--primary-soft);
}
.schritte strong { font-size: var(--fs-base); }
.schritte span { font-size: var(--fs-sm); color: var(--text-soft); }

/* ---------- 10b. Modulfilter (Funktionsseite) ---------- */
/* Ohne JavaScript nützt die Leiste nichts – dann bleiben einfach alle Module
   sichtbar und die Bedienelemente verborgen. */
.module-filter { display: none; }
.js .module-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem;
  margin-bottom: 1rem;
}
.module-filter__search { position: relative; flex: 1 1 260px; max-width: 360px; }
.module-filter__icon {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-muted); pointer-events: none;
}
.module-filter__icon svg { width: 18px; height: 18px; }
.module-filter__search input {
  width: 100%; padding: .72rem 1rem .72rem 2.6rem;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-full);
  background: var(--bg-elevated); color: var(--text);
  font-size: var(--fs-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.module-filter__search input:focus {
  border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--ring);
}
.module-filter__search input::-webkit-search-cancel-button { cursor: pointer; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 40px; padding: .4rem .9rem; cursor: pointer;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-full);
  background: var(--bg-elevated); color: var(--text-soft);
  font-size: var(--fs-sm); font-weight: 620; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { color: var(--text); border-color: var(--primary); }
.chip.is-active {
  background: var(--brand-600); border-color: var(--brand-600); color: #fff;
}
.chip__count {
  font-size: var(--fs-xs); font-weight: 700;
  padding: .05rem .45rem; border-radius: var(--r-full);
  background: var(--bg-soft); color: var(--text-muted);
}
.chip.is-active .chip__count { background: rgba(255, 255, 255, .22); color: #fff; }

.module-filter__desc { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: .5rem; }

/* Bereichs-Etikett auf der Modulkarte – zeigt die Zugehörigkeit auch dann,
   wenn gerade "alle" gefiltert ist. */
.module__cat {
  display: inline-block; margin-top: .6rem;
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: .03em;
  color: var(--text-muted); background: var(--bg);
  border: 1px solid var(--border); padding: .18rem .55rem; border-radius: var(--r-full);
}
.section--soft .module__cat { background: var(--bg-soft); }

.module-empty {
  text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1rem;
  border: 1px dashed var(--border-strong); border-radius: var(--r-lg);
  margin-top: 1rem;
}
.module-empty h3 { font-size: var(--fs-h4); margin-bottom: .4rem; }
.module-empty p { font-size: var(--fs-sm); }

@media (max-width: 620px) {
  .js .module-filter { gap: .75rem; }
  .module-filter__search { max-width: none; flex: 1 1 100%; }
  .chips { gap: .4rem; }
  .chip { font-size: var(--fs-xs); padding: .35rem .7rem; }
}

/* ---------- 11. Pricing ---------- */
.price-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); align-items: start; }
.price {
  position: relative; background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.price--featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.price--featured::before {
  content: attr(data-badge); position: absolute; top: -.75rem; left: 1.5rem;
  background: var(--primary); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  padding: .25rem .75rem; border-radius: var(--r-full);
}
.price h3 { font-size: 1.2rem; }
.price .amount { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 750; letter-spacing: -.03em; color: var(--text); line-height: 1.1; }
.price .amount small { font-size: var(--fs-sm); font-weight: 550; color: var(--text-muted); letter-spacing: 0; }
.price .desc { font-size: var(--fs-sm); min-height: 3rem; }
.price .btn { width: 100%; }
.price .check-list { margin-top: auto; }
.price-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 1.5rem; }

.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  /* shadows hint that the table scrolls sideways on narrow screens */
  background:
    linear-gradient(to right, var(--bg-elevated) 28%, transparent),
    linear-gradient(to left,  var(--bg-elevated) 28%, transparent) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(11,49,81,.14), transparent),
    radial-gradient(farthest-side at 100% 50%, rgba(11,49,81,.14), transparent) 100% 0;
  background-repeat: no-repeat;
  background-size: 44px 100%, 44px 100%, 15px 100%, 15px 100%;
  background-attachment: local, local, scroll, scroll;
}
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: var(--fs-sm); }
th, td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); }
thead th { background: var(--bg-soft); font-weight: 680; color: var(--text); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td:not(:first-child) { color: var(--text-soft); }

/* ---------- 12. Testimonials ---------- */
.quote {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem;
}
.quote-tag {
  align-self: center; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-600); background: color-mix(in srgb, var(--accent-500) 14%, transparent);
  padding: .3rem .7rem; border-radius: var(--r-full); margin-bottom: -.35rem;
}
.quote-grid .quote { min-height: 100%; }
.quote blockquote {
  margin: 0; font-size: var(--fs-base); color: var(--text); line-height: 1.6;
  font-weight: 480;
}
.quote blockquote::before { content: "„"; }
.quote blockquote::after { content: "“"; }
html[lang="en"] .quote blockquote::before { content: "\201C"; }
html[lang="en"] .quote blockquote::after { content: "\201D"; }
.quote footer { display: grid; gap: .1rem; margin-top: auto; }
.quote cite { font-style: normal; font-weight: 650; font-size: var(--fs-sm); color: var(--text); }
.quote .org { font-size: var(--fs-xs); color: var(--text-muted); }


/* ---------- 12d. Kundenstimmen ---------- */
/* Uebersicht: Anreisser statt Textwand, jede Stimme mit eigener Seite. */
.stimme { gap: .9rem; }
.stimme blockquote { margin: 0; font-size: var(--fs-sm); color: var(--text-soft);
  line-height: 1.65; }
.stimme blockquote::before { content: "„"; }
.stimme blockquote::after { content: "“"; }
html[lang="en"] .stimme blockquote::before { content: "\201C"; }
html[lang="en"] .stimme blockquote::after { content: "\201D"; }
.stimme footer { display: grid; gap: .1rem; margin-top: auto; }
.stimme cite { font-style: normal; font-weight: 650; font-size: var(--fs-sm); }
.stimme .org { font-size: var(--fs-xs); color: var(--text-muted); }
.stimme__logo-box { height: 42px; display: flex; align-items: center; }
.stimme__logo { max-height: 42px; width: auto; max-width: 160px; object-fit: contain; }
.stimme__logo-box--gross { height: 64px; margin-bottom: 1rem; }
.stimme__logo-box--gross .stimme__logo { max-height: 64px; max-width: 220px; }
.stimme__mehr { font-size: var(--fs-sm); font-weight: 650; color: var(--primary);
  text-decoration: none; }
.stimme__mehr:hover { text-decoration: underline; }

/* Einzelseite */
.page-hero--knapp { padding-block: clamp(2rem, 4vw, 3rem); }
.stimme__text p + p { margin-top: 1.1rem; }
.fakten { display: grid; gap: .8rem 1.6rem; margin: 0 0 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  padding: 1.2rem 1.4rem; border: 1px solid var(--border);
  border-radius: var(--r-lg); background: var(--bg-soft); }
.fakten dt { font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.fakten dd { margin: .15rem 0 0; font-size: var(--fs-sm); }

/* ---------- 12b. Definitionsabschnitt + Faktenkasten ---------- */
/* Kurzer, faktischer Block. Suchmaschinen und KI-Assistenten ziehen genau
   solche Absaetze und Schluessel-Wert-Paare heraus. */
.lead-sm { font-size: calc(var(--fs-base) * 1.06); color: var(--text-soft); line-height: 1.65; }
.muted { font-size: var(--fs-sm); color: var(--text-muted); }
.muted a { color: var(--primary); font-weight: 600; }
.muted a:hover { text-decoration: underline; }
.facts-h3 { font-size: var(--fs-base); letter-spacing: -.01em; }
.facts { display: grid; gap: 0; margin: 0; }
.facts .fact {
  display: grid; grid-template-columns: minmax(min(9.5rem, 42%), auto) 1fr;
  gap: .5rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border);
}
.facts .fact:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-size: var(--fs-sm); color: var(--text-muted); }
.facts dd { margin: 0; font-size: var(--fs-sm); color: var(--text); font-weight: 580; }
@media (max-width: 420px) {
  .facts .fact { grid-template-columns: 1fr; gap: .1rem; }
}

/* Vergleichstabelle: erste Spalte ist eine Zeilenueberschrift, die eigene
   Spalte wird hervorgehoben. */
table.compare { min-width: 680px; }
table.compare tbody th {
  text-align: left; font-weight: 620; color: var(--text);
  background: var(--bg-soft); white-space: normal; min-width: 11rem;
}
/* Auf schmalen Schirmen scrollt die Tabelle seitlich – die Zeilen-Ueberschrift
   bleibt stehen, sonst weiss man nach zwei Spalten nicht mehr, worum es geht. */
table.compare tbody th, table.compare thead th:first-child {
  position: sticky; left: 0; z-index: 1;
  box-shadow: 1px 0 0 var(--border);
}
table.compare thead th:first-child { background: var(--bg-soft); }
table.compare td:first-of-type { color: var(--text); font-weight: 560; }
table.compare thead th:nth-child(2) { color: var(--primary); }

/* ---------- 12c. Blog, Modulseiten, Nebenseiten ---------- */
/* Brotkrumen: zeigen die Einordnung und liefern Google den Pfad. */
.crumbs { font-size: var(--fs-sm); color: var(--text-muted); display: flex;
  flex-wrap: wrap; gap: .4rem; align-items: center; }
.crumbs a { color: var(--primary); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

.post-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}
.post-card {
  display: flex; flex-direction: column; gap: .6rem;
  /* Das Archiv zeigt alle Beitraege auf einer Seite, damit Suche und Filter
     ueber den ganzen Bestand gehen. Damit das Zeichnen trotzdem billig
     bleibt, rendert der Browser nur, was in Sichtweite ist. */
  content-visibility: auto; contain-intrinsic-size: auto 210px;
  padding: 1.3rem; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg-elevated); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { border-color: var(--primary); transform: translateY(-2px);
  box-shadow: var(--shadow-md); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center;
  font-size: var(--fs-xs); color: var(--text-muted); }
.post-card__cat {
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-600); background: color-mix(in srgb, var(--accent-500) 14%, transparent);
  padding: .22rem .6rem; border-radius: var(--r-full);
}
.post-card h2 { font-size: 1.1rem; line-height: 1.35; letter-spacing: -.01em; margin: 0; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--primary); text-decoration: underline; }
.post-card p { font-size: var(--fs-sm); color: var(--text-soft); margin: 0; }

.post__meta { font-size: var(--fs-sm); color: var(--text-muted); margin-top: .5rem; }
/* Fliesstext eines Beitrags, nicht Landingpage: die Ueberschriften duerfen
   deutlich kleiner sein als in den Marketingabschnitten. */
.post h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.post .prose h2 { font-size: var(--fs-h3); margin-top: 2.2rem; }
.post .prose h3 { font-size: 1.08rem; margin-top: 1.6rem; }
.post .prose ul { margin: 1rem 0; padding-left: 1.3rem; }
.post .prose li { margin-bottom: .4rem; }
.post .prose blockquote {
  margin: 1.4rem 0; padding: .2rem 0 .2rem 1.2rem;
  border-left: 3px solid var(--brand-500); color: var(--text); font-weight: 480;
}
.post .prose blockquote cite { display: block; margin-top: .5rem; font-style: normal;
  font-size: var(--fs-sm); color: var(--text-muted); font-weight: 600; }

/* Querverweise am Fuss einer Modulseite */
.sibling-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sibling-list a {
  display: inline-block; padding: .45rem .9rem; font-size: var(--fs-sm); font-weight: 600;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-full);
  color: var(--text-soft); background: var(--bg-elevated);
}
.sibling-list a:hover { color: var(--text); border-color: var(--primary); }

/* Linkliste auf Nebenseiten (Download, Tutorials …) */
.link-list { display: grid; gap: .5rem; }
.link-list a {
  display: block; padding: .75rem 1rem; font-size: var(--fs-sm); font-weight: 600;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg-elevated); color: var(--primary);
  overflow-wrap: anywhere;
}
.link-list a:hover { border-color: var(--primary); }
.link-list a::after { content: " \2192"; color: var(--text-muted); }
/* PDFs als solche kennzeichnen – man soll vor dem Klick wissen, was kommt. */
.link-list__pdf::after { content: " (PDF) \2193" !important; }

/* ---------- 12d. Video mit Vorschaltbild ---------- */
/* Der Player wird erst nach einem Klick geladen – vorher geht keine
   Anfrage an YouTube oder Vimeo. */
.video { margin: 1.8rem 0; }
.video__cover, .video__frame {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
  border-radius: var(--r-lg); overflow: hidden;
}
.video__cover {
  position: relative; cursor: pointer; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; padding: 1rem;
  background: linear-gradient(135deg, var(--brand-700, #0b3151), var(--brand-500, #0b5fa5));
  transition: filter .15s ease;
}
.video__cover:hover { filter: brightness(1.12); }
.video__cover:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.video__play svg { width: 54px; height: 54px; stroke-width: 1.4; }
.video__label { font-size: var(--fs-sm); font-weight: 640; letter-spacing: .01em; }
.video__hint {
  font-size: var(--fs-xs); color: var(--text-muted); margin-top: .6rem;
  display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline;
}
/* Ausweg, falls der Player nicht spielt – gesperrtes Video, Regionssperre
   oder die Bot-Abfrage von YouTube. */
.video__direct { color: var(--primary); font-weight: 600; white-space: nowrap; }
.video__direct:hover { text-decoration: underline; }

/* Beitragsbild und Vorschaubild in der Uebersicht */
.post__figure { margin: 1.6rem 0 0; }
.post__image { width: 100%; height: auto; border-radius: var(--r-lg); display: block; }
/* Screenshot im zweispaltigen Abschnitt einer uebernommenen Seite */
.shot__img { width: 100%; height: auto; display: block; border-radius: var(--r-lg); }
.post-card__thumb { display: block; margin: -1.3rem -1.3rem .2rem; }
.post-card__img {
  width: 100%; height: 170px; object-fit: cover; display: block;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* ---------- 13. FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg-elevated); overflow: hidden;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.25rem;
  font-weight: 640; font-size: var(--fs-base); display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--primary);
  transition: transform .2s ease; flex: none; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.25rem 1.25rem; font-size: var(--fs-sm); }

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  background:
    radial-gradient(700px 350px at 85% 0%, color-mix(in srgb, var(--accent-500) 45%, transparent), transparent 65%),
    linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: .8rem; }
.cta-band p { color: rgba(255,255,255,.85); font-size: var(--fs-lg); max-width: 38rem; margin: 0 auto 1.8rem; }

/* ---------- 15. Contact form ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 620; color: var(--text); }
.field .req { color: #c2410c; }
.field input, .field select, .field textarea {
  padding: .8rem .95rem; border: 1.5px solid var(--border-strong); border-radius: var(--r-md);
  background: var(--bg); color: var(--text); width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--ring);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }
.checkbox { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; font-size: var(--fs-sm); }
.checkbox input { width: 24px; height: 24px; margin-top: .05rem; accent-color: var(--brand-600); }
.checkbox { cursor: pointer; padding: .35rem 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-aside { display: grid; gap: 1rem; align-content: start; }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: .85rem; align-items: start; }
.contact-item svg { width: 20px; height: 20px; color: var(--primary); }
.contact-item b { display: block; font-size: var(--fs-sm); color: var(--text); }
.contact-item span, .contact-item a { font-size: var(--fs-sm); color: var(--text-soft); }
.contact-item .contact-val { display: block; color: var(--text); font-weight: 600; }
.contact-item .contact-val a { color: var(--primary); font-weight: 600; word-break: break-word; }
.contact-item .contact-val a:hover { text-decoration: underline; }
.contact-item .contact-note { display: block; margin-top: .15rem; }

/* ---------- 15a. Rückmeldung nach dem Absenden ---------- */
.form-status {
  margin-top: 1rem; padding: .85rem 1.1rem; border-radius: var(--r-md);
  font-size: var(--fs-sm); border: 1px solid transparent;
}
.form-status--ok {
  color: var(--accent-600); background: color-mix(in srgb, var(--accent-500) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent-500) 35%, transparent);
}
.form-status--error {
  color: #b4400f; background: color-mix(in srgb, #c2410c 10%, transparent);
  border-color: color-mix(in srgb, #c2410c 30%, transparent);
}

/* ---------- 15b. Newsletter-Haken im Anfrageformular ---------- */
/* Der Hinweis zum Double-Opt-in steht unter der Checkbox und ist auf die
   Textspalte des Labels eingerueckt. */
.hint--indent { margin-top: .35rem; padding-left: 1.85rem; }

/* ---------- 16. Page hero (subpages) ---------- */
.page-hero {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  background:
    radial-gradient(800px 340px at 85% -30%, color-mix(in srgb, var(--accent-500) 16%, transparent), transparent 65%),
    radial-gradient(700px 320px at 5% -20%, color-mix(in srgb, var(--brand-400) 20%, transparent), transparent 62%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero .lead { max-width: 46rem; margin-top: 1rem; }
.crumbs { font-size: var(--fs-xs); color: var(--text-soft); margin-bottom: .9rem; }
.crumbs a { color: var(--text-soft); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }

/* Seitenkopf mit Produktbild (Kontaktseite) */
.page-hero--split { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.page-hero__grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .page-hero--split .hero-shot { max-width: 560px; }
}

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--bg-inverse); color: rgba(255,255,255,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer .footer-h { color: #fff; font-weight: 700; font-size: var(--fs-sm); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 620px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .15rem; }
.site-footer ul a { display: inline-block; padding: .45rem 0; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; font-size: var(--fs-sm); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { color: rgba(255,255,255,.62); font-size: var(--fs-sm); }
.footer-brand { display: inline-block; margin-bottom: 1rem; padding: .3rem 0; text-decoration: none; }
.footer-brand img { height: 34px; width: auto; }
.footer-bottom {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.15rem; }

/* ---------- 17b. Teamkarten mit Portrait ---------- */
.person { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; }
.person__photo {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--border); background: var(--bg-soft);
}
.person__initials {
  display: grid; place-items: center; font-weight: 700; font-size: 1.15rem;
  color: var(--primary); background: var(--primary-soft); border-color: transparent;
  letter-spacing: .02em;
}
.person h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.person__role { color: var(--primary); font-weight: 650; font-size: var(--fs-sm); margin-bottom: .35rem; }
.person p { font-size: var(--fs-sm); }
@media (max-width: 480px) { .person { grid-template-columns: 56px 1fr; }
  .person__photo { width: 56px; height: 56px; } }

/* ---------- 17c. Siegel im Vertrauens-Band ---------- */
.seal-row {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.5rem 2.75rem;
}
.seal {
  display: grid; place-items: center; padding: .7rem 1.1rem;
  background: #fff; border-radius: var(--r-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.seal img { max-height: 46px; width: auto; }
@media (max-width: 620px) {
  .seal { padding: .5rem .8rem; }
  .seal img { max-height: 34px; }
  .seal-row { gap: 1rem 1.25rem; }
}

/* ---------- 18. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 19. Utilities ---------- */
.center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; } .mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.75rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.9rem; }
.prose ul { padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose a { color: var(--primary); }

/* Tabellen aus uebernommenen Beitraegen (Zeittafeln, Versionsuebersichten).
   Der Rahmen erlaubt waagerechtes Scrollen: auf dem Telefon passt eine
   zweispaltige Zeittafel sonst nicht, und die ganze Seite bekaeme einen
   waagerechten Balken. */
.table-wrap { overflow-x: auto; margin-top: 1.4rem;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg-elevated); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.data-table th, .data-table td { padding: .7rem .9rem; text-align: left;
  vertical-align: top; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { font-weight: 600; background: var(--bg-soft); }
.data-table td:first-child { white-space: nowrap; color: var(--text-muted);
  font-variant-numeric: tabular-nums; }
.data-table code { font-size: .92em; }

/* Konsolenbefehle */
.codeblock { overflow-x: auto; margin-top: 1.2rem; padding: 1rem 1.1rem;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg-soft); font-size: var(--fs-sm); line-height: 1.55;
  white-space: pre; -webkit-overflow-scrolling: touch; }
.codeblock code { background: none; padding: 0; }

/* Impressum und Datenschutz: langer Fliesstext mit vier Ebenen. Die
   Ueberschriften brauchen deutlichere Abstufung als anderswo, sonst
   verliert man in 70 Zwischenueberschriften die Orientierung. */
.prose--legal { max-width: 68ch; }
.prose--legal h2 { font-size: var(--fs-h3); margin-top: 3rem;
  padding-top: 1.6rem; border-top: 1px solid var(--border); }
.prose--legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose--legal h3 { font-size: 1.15rem; margin-top: 2.1rem; }
.prose--legal h4 { font-size: 1rem; margin-top: 1.6rem; color: var(--text-muted); }
.prose--legal p, .prose--legal li { font-size: var(--fs-sm); }
.prose--legal a { overflow-wrap: anywhere; }

/* ---------- 20. Layout-Entwurf: Startseite 1 und Kalender 1 ---------- */
/* Die Formensprache stammt aus einem Agentur-Mockup, die Farben und das Logo
   bleiben unsere. Alles hier ist auf .alt-* und .draft-bar begrenzt, damit
   keine bestehende Seite davon beruehrt wird.

   Drei Unterschiede zum bisherigen Layout, und nur diese drei:
     1. engerer Abschnittsrhythmus (--alt-y statt --section-y)
     2. Screenshots sitzen auf einer getoenten Flaeche statt frei im Weissraum
     3. Inhalte stehen in Kacheln, nicht in Baendern mit schmaler Textspalte */

:root { --alt-y: clamp(2.75rem, 5.5vw, 4.75rem); }

/* Hinweisleiste: welche der beiden Fassungen sehe ich gerade? */
.draft-bar {
  background: var(--primary-soft);
  border-bottom: 1px solid var(--border);
  padding-block: .6rem;
  font-size: var(--fs-sm);
}
.draft-bar .wrap {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
}
.draft-bar__tag {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #fff; background: var(--primary);
  padding: .25rem .6rem; border-radius: var(--r-full); flex: none;
}
.draft-bar p { margin: 0; color: var(--text-soft); }
.draft-bar a { font-weight: 650; }

/* -- Kopfbereich ---------------------------------------------------- */
.alt-hero {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 5rem) 0;
  background:
    radial-gradient(900px 420px at 50% -20%, color-mix(in srgb, var(--brand-400) 22%, transparent), transparent 65%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.alt-hero__text { max-width: 56rem; text-align: center; }
.alt-hero__text h1 { margin-bottom: 1rem; letter-spacing: -.035em; }
.alt-hero__text .lead { margin-inline: auto; max-width: 44rem; margin-bottom: 1.75rem; }
.alt-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary);
  background: var(--bg); border: 1px solid var(--border-strong);
  padding: .4rem .9rem; border-radius: var(--r-full); margin-bottom: 1.25rem;
}

/* Belege einzeilig unter den Schaltflaechen – kurz, nicht als Kartenreihe. */
.alt-proof {
  list-style: none; padding: 0; margin: 1.75rem 0 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem 1.6rem;
}
.alt-proof li {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--text-soft);
}
.alt-proof svg { width: 17px; height: 17px; color: var(--primary); flex: none; }

/* Der Screenshot ragt in den naechsten Abschnitt hinein. Das haelt den Kopf
   flach und zeigt das Produkt trotzdem gross. */
.alt-hero__stage { margin-top: clamp(2rem, 4vw, 3rem); }
.alt-hero__stage .alt-stage { margin-bottom: calc(-1 * var(--alt-ueberstand)); }
:root { --alt-ueberstand: clamp(1.5rem, 4vw, 3.5rem); }
/* Die Referenzleiste macht oben Platz fuer den ueberstehenden Screenshot,
   sonst liegt die Karte auf der Zeile "Im Einsatz bei". */
.logo-strip--alt { padding-top: calc(var(--alt-ueberstand) + 1.75rem); }

.alt-hero--split { padding-bottom: clamp(2rem, 4vw, 3rem); }
.alt-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
}
.alt-hero__grid h1 { margin: .9rem 0 .9rem; letter-spacing: -.03em; }
.alt-hero__grid .lead { max-width: 34rem; margin-bottom: 1.6rem; }
@media (max-width: 900px) { .alt-hero__grid { grid-template-columns: 1fr; } }

/* Sprungmarken auf die Faehigkeiten weiter unten */
.alt-jump {
  list-style: none; padding: 0; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid var(--border); padding-top: 1.25rem;
}
.alt-jump a {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600;
  color: var(--text-soft); text-decoration: none;
  background: var(--bg); border: 1px solid var(--border);
  padding: .4rem .8rem; border-radius: var(--r-full);
}
.alt-jump a:hover { border-color: var(--primary); color: var(--primary); }

/* -- Abschnitte ----------------------------------------------------- */
.alt-section { padding-block: var(--alt-y); }
.alt-section--soft { background: var(--bg-soft); border-block: 1px solid var(--border); }

.alt-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.alt-head h2 { margin: .5rem 0 0; letter-spacing: -.025em; }
.alt-head p { margin: .85rem 0 0; color: var(--text-soft); font-size: var(--fs-lg); }
.alt-head .check-list { margin-top: 1.1rem; }

/* -- Anwendungskacheln ---------------------------------------------- */
.alt-tiles {
  display: grid; gap: .75rem;
  /* 250px statt 210px: bei 1180px Breite ergibt das vier Spalten und damit
     vier volle Reihen fuer 16 Anwendungen – keine einzelne Kachel am Ende. */
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
}
.alt-tile {
  display: grid; gap: .35rem; align-content: start;
  padding: 1.15rem 1.1rem 1.2rem;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg-elevated); color: inherit; text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
a.alt-tile:hover {
  border-color: var(--primary); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.alt-tile__icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: var(--r-md); background: var(--primary-soft);
  margin-bottom: .55rem;
}
.alt-tile__icon img { width: 32px; height: 32px; }
.alt-tile__icon svg { width: 22px; height: 22px; color: var(--primary); }
.alt-tile__name { font-weight: 650; font-size: var(--fs-base); letter-spacing: -.01em; }
.alt-tile__text { font-size: var(--fs-sm); color: var(--text-muted); }
a.alt-tile:hover .alt-tile__name { color: var(--primary); }

/* -- Kennzahlenband -------------------------------------------------- */
.alt-figures {
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.alt-figures__list {
  margin: 0; display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  text-align: center;
}
.alt-figures__list dd {
  margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 750;
  letter-spacing: -.03em; color: var(--primary); line-height: 1.1;
}
.alt-figures__list dt {
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-muted); margin-top: .3rem;
}

/* -- Wechselabschnitt ------------------------------------------------ */
.alt-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
}
.alt-row h2 { letter-spacing: -.025em; }
.alt-row--flip > :first-child { order: 2; }
@media (max-width: 720px) { .alt-row--flip > :first-child { order: 0; } }

/* -- Flaeche fuer Screenshots ---------------------------------------- */
.alt-stage {
  border-radius: var(--r-xl); border: 1px solid var(--border);
  padding: clamp(.85rem, 2vw, 1.5rem);
  background:
    radial-gradient(700px 320px at 25% 0%, color-mix(in srgb, var(--brand-400) 15%, transparent), transparent 72%),
    var(--bg-soft);
}
.alt-section--soft .alt-stage, .alt-hero .alt-stage { background:
    radial-gradient(700px 320px at 25% 0%, color-mix(in srgb, var(--brand-400) 12%, transparent), transparent 72%),
    var(--bg-elevated); }
.alt-stage .shot { margin: 0; }
.alt-stage img { width: 100%; height: auto; display: block; border-radius: var(--r-lg); }
.alt-stage__img { filter: drop-shadow(0 16px 32px rgba(11, 49, 81, .18)); }
.alt-stage--wide { max-width: 1060px; margin-inline: auto; }
.alt-shots {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
}

/* -- Karten ---------------------------------------------------------- */
.alt-cards {
  display: grid; gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
}
.alt-cards--wide { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.alt-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg-elevated); box-shadow: var(--shadow-sm);
}
.alt-section--soft .alt-card { background: var(--bg); }
.alt-card__icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r-md); background: var(--primary-soft); margin-bottom: .9rem;
}
.alt-card__icon svg { width: 22px; height: 22px; color: var(--primary); }
.alt-card h2, .alt-card h3 {
  font-size: var(--fs-h4); margin: 0 0 .5rem; letter-spacing: -.015em;
}
.alt-card p { margin: 0; font-size: var(--fs-sm); color: var(--text-soft); }
.alt-card .check-list { font-size: var(--fs-sm); margin-top: .9rem; }

/* -- Dunkles Themenband ---------------------------------------------- */
.alt-band {
  padding-block: var(--alt-y);
  background:
    radial-gradient(800px 400px at 85% 0%, color-mix(in srgb, var(--brand-500) 55%, transparent), transparent 70%),
    var(--bg-inverse);
  color: #fff;
}
.alt-band__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.alt-band h2 { color: #fff; letter-spacing: -.025em; }
.alt-band .eyebrow { color: var(--accent-400); }
.alt-band p { color: rgba(255, 255, 255, .86); }
/* Die Grundregel faerbt `li` direkt; eine Farbe am `ul` wuerde vererbt und
   damit ueberschrieben. Deshalb hier ebenfalls auf dem `li`. */
.check-list--light li { color: rgba(255, 255, 255, .92); }
/* Der Haken der hellen Liste ist dunkelgruen – auf dem dunklen Band waere er
   kaum zu sehen. Hier derselbe Haken in Weiss. */
.check-list--light li::before {
  background-color: rgba(255, 255, 255, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* -- Kundenstimmen --------------------------------------------------- */
.alt-quotes {
  display: grid; gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.alt-quote {
  margin: 0; padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.alt-quote blockquote {
  margin: 0; padding: 0; border: 0; font-size: var(--fs-base);
  color: var(--text); quotes: "\201C" "\201D";
}
/* Deutsche Seiten bekommen deutsche Anfuehrungszeichen – die Sprache steht
   im html-Element, also kann das die Stilvorlage entscheiden. */
:lang(de) .alt-quote blockquote { quotes: "\201E" "\201C"; }
.alt-quote blockquote::before { content: open-quote; color: var(--primary); }
.alt-quote blockquote::after { content: close-quote; color: var(--primary); }
.alt-quote figcaption { margin-top: auto; font-size: var(--fs-sm); }
.alt-quote cite { font-style: normal; font-weight: 650; display: block; color: var(--text); }
.alt-quote figcaption span { color: var(--text-muted); }

/* -- Statusseite (de/status, en/status) ------------------------------ */
/* Farben fuer Betriebszustand und Meldungsarten (seitenweit nutzbar). Die Optik folgt den
   EGroupware-Benachrichtigungen: Kopfleiste, Badges in Grossbuchstaben,
   gelbe Markierung fuer Stoerungen, gruene Box fuer Updates. */
:root {
  --st-ok: #1e6b3e;     --st-ok-bg: #dcf1e4;
  --st-warn: #7a5600;   --st-warn-bg: #fdf3d6;  --st-warn-bar: #e0a12a;
  --st-err: #a8261c;    --st-err-bg: #fbe3e0;   --st-err-bar: #d9443a;
  --st-info: #094c85;   --st-info-bg: #e1ecf8;
  --st-head: #e8eef5;   --st-note-bg: #f1f4f7;  --st-note-bar: #2e7d4f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --st-ok: #7fd6a2;   --st-ok-bg: #12301f;
    --st-warn: #f2c66b; --st-warn-bg: #2e2510;  --st-warn-bar: #d39a2a;
    --st-err: #ff9b91;  --st-err-bg: #3a1714;   --st-err-bar: #e0574d;
    --st-info: #9cc7f0; --st-info-bg: #14243a;
    --st-head: #1b2635; --st-note-bg: #151e2a;  --st-note-bar: #4caf78;
  }
}
:root[data-theme="dark"] {
  --st-ok: #7fd6a2;   --st-ok-bg: #12301f;
  --st-warn: #f2c66b; --st-warn-bg: #2e2510;  --st-warn-bar: #d39a2a;
  --st-err: #ff9b91;  --st-err-bg: #3a1714;   --st-err-bar: #e0574d;
  --st-info: #9cc7f0; --st-info-bg: #14243a;
  --st-head: #1b2635; --st-note-bg: #151e2a;  --st-note-bar: #4caf78;
}

.st-badge {
  display: inline-block; flex: none; white-space: nowrap;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; line-height: 1.2;
  padding: .3rem .55rem; border-radius: 4px; border: 1px solid transparent;
}
.st-badge--ok       { background: var(--st-ok-bg);   color: var(--st-ok); }
.st-badge--warn     { background: var(--st-warn-bg); color: var(--st-warn); border-color: var(--st-warn-bar); }
.st-badge--err      { background: var(--st-err-bg);  color: var(--st-err); border-color: var(--st-err-bar); }
.st-badge--stoerung { background: transparent; color: var(--st-warn); border-color: var(--st-warn-bar); }
.st-badge--wartung  { background: var(--st-info-bg); color: var(--st-info); }
.st-badge--update   { background: var(--st-ok-bg);   color: var(--st-ok); }

/* Aktueller Status: Karte mit Kopfleiste, eine Zeile pro Dienst */
.status-board {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg-elevated); overflow: hidden; box-shadow: var(--shadow-sm);
}
.status-board__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .25rem 1rem; padding: 1rem 1.25rem;
  background: var(--st-head); border-bottom: 1px solid var(--border);
}
.status-board__head h2 { font-size: var(--fs-h4); margin: 0; }
.status-board__stand { font-size: var(--fs-sm); color: var(--text-muted); }
.status-board__list { list-style: none; margin: 0; padding: 0 1.25rem; }
.status-board__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--border);
}
.status-board__list li:last-child { border-bottom: 0; }
.status-board__svc { font-weight: 600; }
.status-note { margin-top: 1rem; font-size: var(--fs-sm); color: var(--text-soft); }

/* Legende und Jahresgruppen */
.status-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 0 1.5rem; }
.status-legend div { display: flex; align-items: center; gap: .5rem; }
.status-legend dt, .status-legend dd { margin: 0; font-size: var(--fs-sm); color: var(--text-soft); }

.status-history { display: grid; gap: .75rem; }
.status-year {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg-elevated); overflow: hidden;
}
.status-year summary {
  cursor: pointer; list-style: none; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
  font-weight: 700; font-size: var(--fs-lg); color: var(--text);
}
.status-year summary::-webkit-details-marker { display: none; }
.status-year summary::after {
  content: "+"; margin-left: auto; font-size: 1.4rem; font-weight: 400;
  color: var(--primary); line-height: 1; transition: transform .2s ease;
}
.status-year[open] summary::after { transform: rotate(45deg); }
.status-year__count { font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted); }
.status-year__list { display: grid; gap: 1rem; padding: 0 1.25rem 1.25rem; }

/* Einzelne Meldung: Kopfleiste wie in der Ticket-Benachrichtigung */
.incident {
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--bg); overflow: hidden;
}
.incident__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: .8rem 1rem; background: var(--st-head); border-bottom: 1px solid var(--border);
}
.incident__head h3 { margin: 0; font-size: var(--fs-base); line-height: 1.4; }
.incident__body { padding: .9rem 1rem 1rem; font-size: var(--fs-sm); }
.incident__body > * + * { margin-top: .6rem; }
.incident__body ul, .incident__body ol { padding-left: 1.25rem; }
.incident__body em { color: var(--text-soft); }
.incident__body a { overflow-wrap: anywhere; }

.incident--stoerung .incident__head { box-shadow: inset 4px 0 0 var(--st-warn-bar); }
.incident--wartung .incident__head  { box-shadow: inset 4px 0 0 var(--st-info); }
/* Updates haengen eingerueckt am Vorfall, als gruene Kommentar-Box */
.incident--update {
  margin-left: clamp(.75rem, 3vw, 2rem); border: 0; border-left: 4px solid var(--st-note-bar);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--st-note-bg);
}
.incident--update .incident__head { background: transparent; border-bottom: 0; padding-bottom: 0; }

@media (max-width: 560px) {
  .incident__head { flex-direction: column; gap: .5rem; }
}

/* Farbiger Punkt vor jedem Dienst. Die Farbe folgt dem Badge in derselben
   Zeile, beim Umstellen muss also nur das Badge geaendert werden. Ohne
   :has()-Unterstuetzung bleibt der Punkt grau, das Badge sagt es trotzdem. */
.status-board__svc { display: inline-flex; align-items: center; gap: .65rem; }
.status-board__svc::before {
  content: ""; flex: none; width: .75rem; height: .75rem; border-radius: 50%;
  background: var(--text-muted);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--text-muted) 18%, transparent);
}
.status-board__list li:has(.st-badge--ok) .status-board__svc::before {
  background: #2e9d5b; box-shadow: 0 0 0 4px color-mix(in srgb, #2e9d5b 20%, transparent);
}
.status-board__list li:has(.st-badge--warn) .status-board__svc::before {
  background: #e0a12a; box-shadow: 0 0 0 4px color-mix(in srgb, #e0a12a 22%, transparent);
}
.status-board__list li:has(.st-badge--err) .status-board__svc::before {
  background: #d9443a; box-shadow: 0 0 0 4px color-mix(in srgb, #d9443a 22%, transparent);
}

/* EGroupware-Zeichen vor dem Seitentitel: wer ueber status.egroupware.org
   direkt hier landet, sieht sofort, auf wessen Seite er ist. */
.status-hero__title { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.25rem); }
.status-hero__title img { width: clamp(44px, 6vw, 64px); height: auto; flex: none; }
.status-hero__title h1 { margin: 0; }

/* -- Faktencheck (de/digitale-souveraenitaet, en/digital-sovereignty) - */
/* Je Annahme eine Karte wie in der EGroupware-Benachrichtigung: Kopfleiste
   mit Nummer, die Annahme als gelb markierte Zeile, der Fakt als gruene Box,
   darunter was EGroupware dazu beitraegt. */
.factcheck { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.fc-card {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg-elevated); overflow: hidden; box-shadow: var(--shadow-sm);
}
.fc-card__head {
  display: flex; align-items: baseline; gap: .75rem; padding: .85rem 1.25rem;
  background: var(--st-head); border-bottom: 1px solid var(--border);
}
.fc-card__nr { font-weight: 800; color: var(--primary); }
.fc-card__head h3 { margin: 0; font-size: var(--fs-base); }
.fc-card__body { display: grid; gap: .9rem; padding: 1.1rem 1.25rem 1.25rem; }
.fc-claim {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 1rem; background: var(--st-warn-bg); border-left: 4px solid var(--st-warn-bar);
}
.fc-claim q { font-size: var(--fs-lg); font-weight: 650; color: var(--text); }
.fc-fact {
  padding: .85rem 1rem; background: var(--st-note-bg);
  border-left: 4px solid var(--st-note-bar); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.fc-fact__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; }
.fc-fact__head strong { font-size: var(--fs-sm); }
.fc-fact p, .fc-help p { margin: 0; font-size: var(--fs-sm); }
.fc-help { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: .4rem 1.25rem; padding: 0 .25rem; }
.fc-help__label { font-weight: 700; color: var(--primary); font-size: var(--fs-sm); }
@media (max-width: 640px) {
  .fc-claim { flex-direction: column; align-items: flex-start; }
  .fc-help { grid-template-columns: 1fr; }
}

/* Faktencheck: kleine Ueberschriften "Annahme", "Fakt", "Unsere Sicht", damit
   Aussage, nachpruefbarer Sachverhalt und unsere Position klar getrennt sind. */
.fc-label {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--st-warn);
}
.fc-label--ok   { color: var(--st-ok); }
.fc-label--info { color: var(--primary); }
.fc-claim__text { display: grid; gap: .2rem; }
.fc-help { grid-template-columns: 1fr; gap: .2rem; }
.fc-help__title { margin: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--text); }
.fc-legend {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 0 1.25rem;
  font-size: var(--fs-sm); color: var(--text-soft);
}
.fc-legend > span { display: inline-flex; align-items: baseline; gap: .45rem; }

/* -- Presseseite (de/presse, en/press) ------------------------------- */
.press-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.press-nav .chip { text-decoration: none; }
.press-contact { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: center; }
.press-contact--wide { grid-template-columns: 140px 1fr; }
.press-contact__photo {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 20%;
  border-radius: 50%; border: 3px solid var(--bg-elevated); box-shadow: var(--shadow-sm);
}
.press-contact__name { font-weight: 700; font-size: var(--fs-lg); margin: 0; }
.press-contact__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-weight: 600; }
.press-contact address { font-style: normal; color: var(--text-soft); font-size: var(--fs-sm); }
@media (max-width: 520px) { .press-contact, .press-contact--wide { grid-template-columns: 72px 1fr; } }

/* Logo-Kacheln: Vorschau auf passendem Grund, darunter die Formate */
.asset-card {
  border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-elevated); display: flex; flex-direction: column;
}
.asset-card__preview {
  display: grid; place-items: center; height: 150px; padding: 1.25rem 1.5rem;
  background: #fff; border-bottom: 1px solid var(--border);
}
.asset-card__preview--dark { background: #0b3151; }
.asset-card__preview img { max-width: 100%; max-height: 64px; width: auto; height: auto; }
.asset-card__preview img.asset-card__icon { max-height: 72px; }
.asset-card__body { padding: 1rem 1.25rem 1.25rem; display: grid; gap: .6rem; }
.asset-card__body h3, .asset-card__body h4 { margin: 0; font-size: var(--fs-base); }
.asset-card__dl, .gallery__item figcaption a, .person-card figcaption a { margin: 0; }
.asset-card__dl { display: flex; flex-wrap: wrap; gap: .5rem; }
.asset-card__dl a, .gallery__item figcaption a, .person-card figcaption a {
  display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); font-weight: 650;
  text-decoration: none; color: var(--primary);
}
.asset-card__dl a {
  padding: .35rem .7rem; border: 1px solid var(--border-strong); border-radius: var(--r-full);
}
.asset-card__dl a:hover { border-color: var(--primary); background: var(--primary-soft); }
.asset-card__dl a::before, .gallery__item figcaption a::before, .person-card figcaption a::before { content: "↓"; }

/* Screenshot-Galerie */
.gallery-h { font-size: var(--fs-h4); margin: 2rem 0 1rem; }
.gallery {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
}
.gallery--mobile { grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); }
.gallery__item { margin: 0; display: grid; gap: .5rem; }
.gallery__item > a {
  display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--bg-soft);
}
.gallery--mobile .gallery__item > a { aspect-ratio: 850 / 1600; }
.gallery__item img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.gallery__item > a:hover img { transform: scale(1.03); }
.gallery__item figcaption { display: grid; gap: .15rem; font-size: var(--fs-sm); color: var(--text); font-weight: 600; }

/* Fotos der Geschaeftsfuehrung */
.person-card {
  margin: 0; display: grid; grid-template-columns: 160px 1fr; gap: 1.25rem; align-items: center;
  border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-elevated); padding: 1rem;
}
.person-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-sm); }
.person-card figcaption { display: grid; gap: .3rem; }
.person-card figcaption span { color: var(--text-soft); font-size: var(--fs-sm); }

.press-more { margin-top: 1rem; border-top: 1px solid var(--border); padding-top: .75rem; }
.press-more summary { cursor: pointer; font-weight: 650; color: var(--primary); font-size: var(--fs-sm); }
.press-more .facts { margin-top: .75rem; }

.rocketchat-widget { color-scheme: light;}

/* Knopf "Text kopieren" braucht JavaScript */
html:not(.js) [data-copy] { display: none; }

/* Links im dunklen Band: Standard-Linkfarbe waere dort kaum lesbar */
.section--dark .link-arrow, .section--dark .prose a, .section--dark p a { color: var(--accent-400); }
.section--dark .link-arrow:hover, .section--dark p a:hover { color: #fff; }

/* Logoleiste: helle Original-Logos (z. B. KDSZ in Hellblau) werden in Graustufen
   zu blass – etwas abdunkeln. Beim Hover erscheint wie ueblich das Original. */
.logo-strip__list img[src$="kdsz-bayern.webp"] { filter: grayscale(1) brightness(.6); }
/* Nordenham ist ein JPEG mit weissem Grund: Kontrast statt Abdunkeln, damit Weiss weiss bleibt */
.logo-strip__list img[src$="stadt-nordenham.jpg"] { filter: grayscale(1) brightness(.8) contrast(1.8); opacity: .85; }

/* -- Siegel unter einem Abschnittskopf (links, etwas groesser) ---- */
.seal-row--start { justify-content: flex-start; margin-top: 1.75rem; }
.seal-row--start .seal { padding: .85rem 1.3rem; }
.seal-row--start .seal img { max-height: 64px; }
@media (max-width: 620px) {
  .seal-row--start .seal img { max-height: 50px; }
}

/* -- Social-Media-Icons im Footer (ersetzen die doppelten Rechtliches-Links) ---- */
.footer-social { display: flex; flex-wrap: wrap; gap: .25rem; }
.footer-bottom .footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border-radius: var(--r-sm);
  color: rgba(255,255,255,.72);
}
.footer-bottom .footer-social a:hover,
.footer-bottom .footer-social a:focus-visible { color: #fff; background: rgba(255,255,255,.1); }
.footer-social svg { width: 26px; height: 26px; fill: currentColor; }
a.seal { transition: transform .15s ease, box-shadow .15s ease; }
a.seal:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
a.seal:focus-visible { outline: 2px solid var(--accent-400); outline-offset: 3px; }

/* -- Seitenstil "Kapitel mit Akzenten" (Standard seit 06.11.2026) ----
   Ein Hintergrund, Weissraum, Labels mit Akzentstrich; Abschnitte als Kapitel
   (Kopf links mitlaufend, Linie dazwischen); Farbakzente aus den
   Benachrichtigungen (Kopfleisten, blaue Vergleichsspalte, gruene Kommentar-Boxen).
   Ueberschriften und Abschnittskoepfe durchgaengig linksbuendig. */

/* ---- Grundlage (A) ---- */
.section--soft { background: transparent; }
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

.eyebrow {
  background: none; padding: 0; border-radius: 0; gap: .75rem;
  color: var(--text-muted); letter-spacing: .14em;
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--primary);
}
.section--dark .eyebrow { color: rgba(255, 255, 255, .75); }
.section--dark .eyebrow::before { background: var(--accent-400); }

/* Linie zwischen den Kapiteln, nur so breit wie der Inhalt und genau in der Mitte:
   kein Abstand oben am Abschnitt, dafuer derselbe Abstand unter der Linie. */
main > .section:not(.section--dark):not(.section--tight):not(:first-of-type) > :is(.wrap, .wrap-narrow) {
  border-top: 1px solid var(--chapter-line); padding-top: clamp(3rem, 6vw, 5rem);
}
/* Nach dem dunklen Band keine Linie (eigener Abstand reicht) */
main > .section.section--dark + .section:not(.section--dark):not(.section--tight) > :is(.wrap, .wrap-narrow) { border-top: 0; padding-top: 0; }

/* Logoleiste: Label wie die Kapitel-Labels, keine durchgehende Linie */
.logo-strip { border-bottom: 0; padding-block: clamp(2.5rem, 5vw, 3.5rem) 1rem; }
.logo-strip__label {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  color: var(--text-muted); letter-spacing: .14em; margin-bottom: 1.5rem;
}
.logo-strip__label::before {
  content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--primary);
}

/* ---- Kapitel (C): Kopf links mitlaufend, Inhalt rechts ----
   Nur bei linksbuendigen Abschnittskoepfen und nicht bei breiten Tabellen. */
@media (min-width: 960px) {
  .section > .wrap:has(> .section-head:not(.center)):not(:has(.table-wrap, .price)) {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
    column-gap: clamp(2rem, 4vw, 4rem); align-items: start;
  }
  .section > .wrap:has(> .section-head:not(.center)):not(:has(.table-wrap, .price)) > .section-head {
    position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0;
  }
  .section > .wrap:has(> .section-head:not(.center)):not(:has(.table-wrap, .price)) > :not(.section-head) { grid-column: 2; }
  .section > .wrap:has(> .section-head:not(.center)):not(:has(.table-wrap, .price)) > .section-head h2 {
    font-size: clamp(1.6rem, 1.2vw + 1.1rem, 2.2rem);
  }
  .section > .wrap:has(> .section-head:not(.center)):not(:has(.table-wrap, .price)) .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- Farbakzente (D) ---- */
/* Kennzahlen: ohne Kasten, linksbuendig; Akzentlinie links verbindet Zahl und Bezeichnung */
.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem);
  background: none; border: 0; border-radius: 0; overflow: visible;
}
.stats .stat {
  background: none; text-align: left; padding: .2rem 0 .3rem 1.1rem;
  border-left: 3px solid var(--primary);
}
.stats .stat dd { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
.stats .stat dt {
  margin-top: .3rem; font-size: var(--fs-sm); font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--text-soft);
}
@media (max-width: 560px) {
  .stats .stat { padding-left: .7rem; }
  .stats .stat dd { font-size: 1.55rem; }
  .stats .stat dt { font-size: var(--fs-xs); }
}

/* "EGroupware auf einen Blick": Karte mit Kopfleiste und Label-Wert-Zeilen */
#was-ist-egroupware .panel {
  padding: 0; overflow: hidden; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: none;
}
#was-ist-egroupware .panel .facts-h3 {
  margin: 0; padding: .9rem 1.25rem; background: var(--st-head);
  border-bottom: 1px solid var(--border); font-size: var(--fs-base);
}
#was-ist-egroupware .panel .facts { margin: 0; padding: .25rem 1.25rem .75rem; }

/* Vergleich: EGroupware-Spalte in Markenblau (Gelb bleibt fuer Achtung/Geaendert) */
.compare thead th { background: var(--st-head); }
.compare tr > :nth-child(2) {
  background: var(--brand-100); box-shadow: inset 4px 0 0 var(--brand-700); font-weight: 600;
}
.compare thead th:nth-child(2) { color: var(--text); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .compare tr > :nth-child(2) { background: var(--primary-soft); box-shadow: inset 4px 0 0 var(--primary); }
}
:root[data-theme="dark"] .compare tr > :nth-child(2) { background: var(--primary-soft); box-shadow: inset 4px 0 0 var(--primary); }

/* Kundenstimmen als Kommentar-Boxen, Kapitel-Strich in Gruen */
#kundenstimmen .eyebrow::before { background: var(--st-note-bar); }
.quote {
  background: var(--st-note-bg); border: 0; border-left: 4px solid var(--st-note-bar);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.quote-tag {
  align-self: flex-start; border-radius: 4px; letter-spacing: .06em;
  background: var(--bg-elevated); color: var(--text-soft); border: 1px solid var(--border-strong);
}
.quote-metric { border-radius: 4px; background: var(--st-ok-bg); color: var(--st-ok); }

/* FAQ: geoeffnete Frage bekommt die Kopfleiste */
.faq details[open] summary { background: var(--st-head); border-bottom: 1px solid var(--border); }
.faq details[open] .faq-body { padding-top: 1rem; }

/* ---- Einheitliche Einleitungstexte ----
   Der erste Absatz nach einer Abschnittsueberschrift hat immer dieselbe Groesse,
   egal ob Abschnittskopf, zweispaltiger Abschnitt oder Abschluss-Band. */
main .section h2 + p,
main .section h2 + .lead-sm,
main .section .section-head p {
  font-size: var(--fs-lg); line-height: 1.6; margin-top: .9rem;
}
main > .section:not(.section--dark):not(.section--tight):not(:first-of-type) { padding-top: 0; }
main > .section--dark + .section { padding-top: clamp(3rem, 6vw, 5rem) !important; }

/* Einleitungstexte unter Ueberschriften ebenfalls nicht trennen */
main .section h2 + p,
main .section h2 + .lead-sm,
main .section .section-head p { hyphens: manual; }

/* Farbe der Kapitel-Linie: kraeftiger als die normalen Rahmen */
:root { --chapter-line: color-mix(in srgb, var(--n-400) 60%, var(--n-300)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --chapter-line: #4d5d78; }
}
:root[data-theme="dark"] { --chapter-line: #4d5d78; }

/* Merkmale im Kopfbereich: ruhige Zeile statt Pillen-Rahmen,
   Icon in Akzentfarbe, duenne Linie darueber trennt sie von den Buttons. */
.hero-pills {
  display: grid; grid-template-columns: repeat(2, max-content);
  gap: .7rem 2.5rem; margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border); max-width: 36rem;
}
.hero-pills .pill {
  background: none; border: 0; padding: 0; border-radius: 0;
  font-size: var(--fs-sm); color: var(--text-soft); white-space: nowrap; gap: .45rem;
}
.hero-pills .pill svg { width: 17px; height: 17px; color: var(--primary); }
/* Einleitung im Kopfbereich nicht trennen */
.hero .lead { hyphens: manual; }
@media (max-width: 420px) { .hero-pills { grid-template-columns: 1fr; } }

/* Ueberschriften durchgaengig links: auch bisher zentrierte Abschnittskoepfe,
   die Logoleiste und die FAQ (dort Spalte schmal, aber an der linken Kante). */
.section-head.center { margin-inline: 0; text-align: left; }
.btn-row.center { justify-content: flex-start; }
.logo-strip__label { justify-content: flex-start; text-align: left; }
.logo-strip__list { justify-content: start; }
main > .section:not(.post) > .wrap-narrow { width: min(100% - 2.5rem, var(--wrap)); }
main > .section:not(.post) > .wrap-narrow > * { max-width: var(--wrap-narrow); }
@media (max-width: 400px) { main > .section:not(.post) > .wrap-narrow { width: min(100% - 1.75rem, var(--wrap)); } }

/* Direkt unter einem Seitenkopf keine Kapitel-Linie, normaler Abstand */
main > :is(.hero, .page-hero, .crumbs) + .section > :is(.wrap, .wrap-narrow) { border-top: 0 !important; padding-top: 0 !important; }
main > :is(.hero, .page-hero, .crumbs) + .section { padding-top: clamp(3rem, 6vw, 5rem) !important; }
/* Abschluss-Baender bleiben zentriert */
.cta-band .btn-row.center { justify-content: center; }
/* Zwischenueberschriften innerhalb eines Abschnitts ebenfalls links */
main .section .wrap > h2.center { text-align: left; }

/* -- Vergleichstabelle auf dem Handy als Karten ----
   Statt seitlich zu scrollen: je Kriterium eine Karte mit Kopfleiste,
   darunter die drei Anbieter (Name aus data-label der Zelle). */
@media (max-width: 640px) {
  .table-wrap:has(> table.compare) { overflow: visible; border: 0; border-radius: 0; background: none; }
  table.compare, table.compare tbody, table.compare tr, table.compare tbody th, table.compare td {
    display: block; min-width: 0; width: auto;
  }
  table.compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.compare tr {
    border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--bg-elevated);
  }
  table.compare tr + tr { margin-top: .75rem; }
  table.compare tbody th {
    position: static; box-shadow: none; min-width: 0;
    background: var(--st-head); padding: .7rem 1rem; border-bottom: 1px solid var(--border);
  }
  table.compare td {
    display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; align-items: baseline;
    padding: .6rem 1rem; border-bottom: 1px solid var(--border);
  }
  table.compare tr td:last-child { border-bottom: 0; }
  table.compare td::before {
    content: attr(data-label); font-size: var(--fs-xs); font-weight: 650; color: var(--text-muted);
  }
}
@media (max-width: 380px) {
  table.compare td { grid-template-columns: 1fr; gap: .15rem; }
}

/* -- Vergleichstabelle ohne hervorgehobene Spalte (z. B. Cloud vs. eigener Server) ----
   Alle Anbieter-Spalten sehen gleich aus. */
.compare.compare--neutral tbody td { background: none !important; box-shadow: none !important; font-weight: inherit; color: var(--text-soft); }
.compare.compare--neutral thead th:nth-child(2) { background: var(--st-head) !important; box-shadow: none !important; color: var(--text); }

/* -- Preiskarten: zweiter Button (z. B. Bestellen + Testen) mit Abstand ---- */
.price .btn + .btn { margin-top: .5rem; }

/* -- Links im Fliesstext nicht ueber zwei Zeilen umbrechen ----
   Passt ein Link nicht mehr in die Zeile, beginnt er als Ganzes in der naechsten.
   Nur wenn er laenger als eine ganze Zeile ist, bricht er in sich um. */
main :is(p, li, dd, dt, td, th, figcaption, small) a:not(.btn) { display: inline-block; }

/* -- Partnerkarten (Technologie- und Integrationspartner) ---- */
.partner-jump { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.partner-jump .chip { text-decoration: none; }
main section[id] { scroll-margin-top: calc(var(--header-h, 72px) + 1rem); }

.partner {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.partner:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); }
/* Logos bringen eigene Farben mit und stehen darum in beiden Farbschemata auf hellem Grund */
.partner__logo {
  display: grid; place-items: center; height: 112px; padding: 1.1rem 1.5rem;
  background: #fff; border-bottom: 1px solid var(--border);
}
.partner__logo img { max-width: 78%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
:root[data-theme="dark"] .partner__logo { background: #f4f7fb; border-color: transparent; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .partner__logo { background: #f4f7fb; border-color: transparent; }
}
.partner__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.35rem 1.35rem; }
.partner__meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.partner h3 { font-size: var(--fs-h4); margin: 0; letter-spacing: -.015em; }
.partner__firm { margin: .2rem 0 .7rem; font-size: var(--fs-xs); color: var(--text-muted); }
.partner__body > p:not(.partner__firm):not(.partner__links) { margin: 0; font-size: var(--fs-sm); color: var(--text-soft); }
.partner__links {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center;
  margin: auto 0 0; padding-top: 1rem; font-size: var(--fs-sm);
}
.partner__ext { color: var(--text-muted); text-decoration: none; }
.partner__ext::after { content: " \2197"; }
.partner__ext:hover { color: var(--primary); }
/* Neutrales Kategorie-Badge (blau), z. B. fuer Partnerkategorien */
.st-badge--info { background: var(--st-info-bg); color: var(--st-info); }

/* -- Abschnittskopf bei nur einer Kartenreihe ---- */
/* Steht rechts nur ein Raster mit hoechstens zwei Karten (eine Reihe), bleibt der Kopf
   stehen statt mitzulaufen - sonst rutscht er beim Scrollen nur ein kleines Stueck. */
@media (min-width: 960px) {
  .section > .wrap:has(> .section-head:not(.center)):has(> .grid):not(:has(> :nth-child(3))):not(:has(> .grid > :nth-child(3))) > .section-head {
    position: static;
  }
}

/* -- Seitenkopf: Eyebrow statt Brotkrumen ---- */
/* Statt "Start > Seite" steht oben im Seitenkopf der blaue Strich mit dem Seitennamen
   (wie auf der Startseite). Unterseiten verlinken dort ihre Uebersichtsseite. */
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* -- Kacheln: Hover-Regel ---- */
/* Ganze Kachel ist ein Link (card--link, module--link, post-card, alt-tile): blauer Rand,
   leicht anheben, Schatten. Kacheln ohne eigenes Ziel (card--hover, partner) bekommen nur
   ein kraeftigeres Grau (--border-hover), damit nichts klickbar wirkt, was es nicht ist. */
.card--link:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* -- Kontrast im Hellmodus: Kacheln leicht grau ---- */
/* Im Dunkelmodus heben sich Kacheln durch ihren helleren Grund ab. Im Hellmodus bleibt
   die Seite weiss und die Kacheln bekommen ein leichtes Grau (--card-bg) plus Rand und
   kleinen Schatten. Textfarben sind auf --card-bg mindestens 5,5:1. */
.card, .price, .partner, .alt-card, .fc-card, .asset-card, .post-card, .alt-tile, .module,
.section--soft .module {
  background-color: var(--card-bg);
}
.card, .price, .partner, .alt-card, .fc-card, .asset-card { box-shadow: var(--shadow-sm); }

/* -- Highlight auf Funktionsseiten ---- */
/* Ein herausgestelltes Merkmal pro Anwendung, im Stil der Benachrichtigungen:
   farbige Leiste links, Badge oben (NEU = gruen, BESONDERS = blau), Text links, Bild rechts. */
.app-highlight {
  display: grid; gap: 1.5rem 2.5rem; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  padding: clamp(1.25rem, 2.6vw, 2rem);
  background: var(--card-bg); border: 1px solid var(--border);
  border-left: 4px solid var(--primary); border-radius: 0 var(--r-lg) var(--r-lg) 0;
  box-shadow: var(--shadow-sm);
}
.app-highlight--neu { border-left-color: var(--st-ok); }
.app-highlight__head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .7rem; }
.app-highlight__head small { font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; }
.app-highlight h2 { font-size: var(--fs-h3); margin: 0 0 .6rem; }
.app-highlight p { margin: 0; }
.app-highlight p + p { margin-top: 1rem; }
.app-highlight .shot { margin: 0; }
@media (max-width: 820px) { .app-highlight { grid-template-columns: 1fr; } }

/* "Passt dazu" als kleine Modulkarten: Symbol, Name, ein Satz */
.related-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }
/* Drei Kernpunkte im Seitenkopf nebeneinander statt 2 + 1 */
@media (min-width: 641px) { .page-hero .trust-bar--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related-grid .module h3 { font-size: var(--fs-base); margin-bottom: .25rem; }
.app-highlight--text { grid-template-columns: 1fr; }
.app-highlight--text > div { max-width: 62rem; }

/* -- KI in der Hauptnavigation ---- */
/* Kleines NEU-Badge im Stil der Benachrichtigungen (gruen wie st-badge--update) */
.nav-badge {
  display: inline-block; margin-left: .3rem; padding: .1rem .35rem; border-radius: 4px;
  font-size: .62rem; font-weight: 700; letter-spacing: .05em; line-height: 1.2; vertical-align: .1em;
  background: var(--st-ok-bg); color: var(--st-ok);
}
/* Bei knapper Breite entfaellt "Start" in der Leiste – das Logo fuehrt ebenfalls zur Startseite */
@media (min-width: 961px) and (max-width: 1199px) { .nav-links > li:first-child { display: none; } }
/* Karte ueber die volle Rasterbreite, z. B. als fuenfte Karte unter einem 2er-Raster */
.grid > .card--wide { grid-column: 1 / -1; }

/* -- Neu-Hinweis in Karten ---- */
/* Eine Neuerung steht immer in eigener Zeile: kleine gruene Box wie die NEU-Meldungen
   der Benachrichtigungen, mit Badge vorneweg. */
.card-new {
  margin-top: .75rem; padding: .5rem .7rem; font-size: var(--fs-sm);
  background: var(--st-ok-bg); border-left: 3px solid var(--st-ok); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.card-new .st-badge { margin-right: .35rem; padding: .15rem .4rem; font-size: .65rem; vertical-align: .1em; background: transparent; border-color: var(--st-ok); }

/* Faktencheck in voller Breite: ab 900px steht der Fakt links und
   "So hilft EGroupware" rechts, die Annahme laeuft ueber beide Spalten.
   So bleibt die Zeilenlaenge lesbar, obwohl die Karten breit sind. */
@media (min-width: 900px) {
  .fc-card__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: .9rem 1.5rem; }
  .fc-claim { grid-column: 1 / -1; }
  .fc-help { padding: .85rem 0 0; }
}

/* Frage-Antwort-Liste (Checkliste): feste, gleich breite Spalten,
   damit lange Fragen die Antwortspalte nicht zusammendruecken. */
.facts--qa .fact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 420px) { .facts--qa .fact { grid-template-columns: 1fr; } }

/* Vergleich CE/EPL: Gruppenzeilen gliedern die lange Tabelle in Bereiche,
   die beiden Editions-Spalten sind gleich breit. */
.compare--editions tbody th { width: 46%; }
.compare--editions td { width: 27%; }
.compare .compare-group th {
  background: var(--st-head); color: var(--primary); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding-top: 1rem;
}
@media (max-width: 640px) {
  table.compare tr.compare-group { border: 0; background: none; margin-top: 1.75rem; }
  table.compare tr.compare-group th { background: none; border: 0; padding: 0 0 .25rem; }
  .compare--editions tbody th, .compare--editions td { width: auto; }
}
@media (max-width: 640px) {
  table.compare.compare--editions td { display: flex; gap: .4rem; align-items: baseline; }
  table.compare.compare--editions td::before { flex: 0 0 8.5rem; margin-right: .35rem; }
}
@media (max-width: 380px) {
  table.compare.compare--editions td { flex-wrap: wrap; }
  table.compare.compare--editions td::before { flex-basis: 100%; }
}
.compare .cmp-yes { color: var(--st-ok); font-weight: 800; }

/* Vergleich CE/EPL: gemeinsame Basis als Haekchenliste ueber der Tabelle */
.both-editions { margin-bottom: 1.5rem; }
@media (min-width: 761px) {
  .check-list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}

/* News: Newsletter-Anmeldung im Kopfbereich, aufklappbar */
.nl-signup { max-width: 40rem; }
.nl-signup > summary { list-style: none; cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; }
.nl-signup > summary::-webkit-details-marker { display: none; }
.nl-signup > summary::after { content: "+"; font-weight: 700; transition: transform .2s; }
.nl-signup[open] > summary::after { transform: rotate(45deg); }
.nl-signup__body {
  margin-top: 1rem; padding: clamp(1rem, 2.5vw, 1.5rem); background: var(--card-bg);
  border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.nl-signup__body > p { margin: 0 0 1rem; font-size: var(--fs-sm); color: var(--text-soft); }

/* Testversion: Formular als Raster (Abstaende), Domain-Auswahl nicht abschneiden */
.trial-form { display: grid; }
.trial-form__instanz select { flex: 0 0 11.5rem; }

/* EPL-Kennzeichnung oben rechts auf Karten; neben dem runden Pfeil verschoben */
.card:has(> .card-epl) { position: relative; }
.card > .card-epl { position: absolute; top: 1.1rem; right: 1rem; }
.card--link > .card-epl { right: 3.4rem; }

/* Hochformat-Bild (z. B. Broschuere) nicht ueber die ganze Spalte ziehen */
.shot--portrait { max-width: 16rem; margin-inline: auto; }

/* Vier Karten immer als 2 x 2, nie 3 + 1 */
@media (min-width: 641px) { .grid.grid--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Wichtiger Hinweis im Kopfbereich (Warnfarbe statt NEU-Gruen) */
.card-new--warn { background: var(--st-warn-bg); border-left-color: var(--st-warn-bar); max-width: 46rem; }

/* Haekchenliste ohne Raster: Text, Links und Hervorhebungen fliessen in einer
   Zeile weiter, statt einzeln in die schmale Haekchen-Spalte zu rutschen. */
.check-list li { display: block; position: relative; padding-left: calc(20px + .7rem); }
.check-list li::before { position: absolute; left: 0; top: 0; }
.feature .check-list li { padding-left: calc(20px + .5rem); }

/* Logo-Leiste: Logos verlinken auf Kundenstimme bzw. Anwenderbericht */
.logo-strip__list li:has(> a) { padding: 0; }
.logo-strip__list li > a { display: grid; place-items: center; width: 100%; height: 100%; min-height: inherit; padding: .6rem .8rem; border-radius: inherit; }
.logo-strip__list li > a:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.logo-strip__list li:focus-within img { filter: none; opacity: 1; }
@media (max-width: 640px) { .logo-strip__list li > a { padding: .45rem .55rem; } }

/* Logos groesser und besser lesbar */
.logo-strip__list li { min-height: 88px; }
.logo-strip__list img { max-height: 56px; }
@media (max-width: 640px) {
  .logo-strip__list li { min-height: 68px; }
  .logo-strip__list img { max-height: 40px; }
}
@media (min-width: 641px) { .logo-strip__list { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }

/* Logo-Leiste immer in vollen, zentrierten Reihen: 6 nebeneinander, darunter 3 x 2 */
.logo-strip__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.logo-strip__list li { flex: 0 0 calc((100% - 5 * .75rem) / 6); }
@media (max-width: 900px) { .logo-strip__list li { flex-basis: calc((100% - 2 * .75rem) / 3); } }
@media (max-width: 640px) {
  .logo-strip__list { gap: .5rem; }
  .logo-strip__list li { flex-basis: calc((100% - 2 * .5rem) / 3); }
}

/* Optische Korrektur einzelner Logos: Nordenham ist sehr klein und hoch,
   Jena sehr breit mit blassen Streifen links – beide wirken sonst versetzt. */
.logo-strip__list img[src*="stadt-nordenham"] { max-height: 68px; }
.logo-strip__list img[src*="kommunale-immobilien-jena"] { max-width: 82%; transform: translateX(4%); }
@media (max-width: 640px) { .logo-strip__list img[src*="stadt-nordenham"] { max-height: 50px; } }
.logo-strip__list li > a { place-content: center; }

/* Logo-Leiste: Hinweis beim Ueberfahren bzw. bei Tastaturfokus */
.logo-strip__list li { position: relative; }
.logo-strip__list li > a[data-tip]::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px);
  transform: translate(-50%, 4px); white-space: nowrap; pointer-events: none;
  padding: .35rem .6rem; border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 600;
  background: var(--text); color: var(--bg); box-shadow: var(--shadow-sm);
  opacity: 0; transition: opacity .15s ease, transform .15s ease; z-index: 5;
}
.logo-strip__list li > a[data-tip]:hover::after,
.logo-strip__list li > a[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .logo-strip__list li > a[data-tip]::after { display: none; } }

/* Kundenstimmen: Branche als flacher blauer Tag (wie die gruene Kennzahl),
   ohne Rahmen – wirkt nicht mehr wie ein Button */
.quote-tag { background: var(--st-info-bg); color: var(--st-info); border: 0; }

/* -- Ueberschrift als kleines Label (h2 im Stil von .eyebrow) ---- */
h2.eyebrow { font-family: inherit; font-size: var(--fs-xs); font-weight: 700; line-height: 1.4; letter-spacing: .14em; margin: 0 0 1rem; }
.section-head:has(> h2.eyebrow:only-child) { margin-bottom: 1.25rem; }

/* -- Modulfilter: "Alles anzeigen" und Kategorien fliessen direkt hinter der Suche weiter ---- */
.js .module-filter:has(> .chip) { gap: .6rem .5rem; }
.js .module-filter:has(> .chip) .chips { display: contents; }
.js .module-filter:has(> .chip) .module-filter__search { margin-right: 0; }

/* -- Bereichs-Etikett auf Modulkarten: flacher blauer Tag wie die Branche
      bei den Kundenstimmen ---- */
.module__cat, .section--soft .module__cat {
  background: var(--st-info-bg); color: var(--st-info); border: 0;
  border-radius: 4px; padding: .22rem .6rem; font-weight: 700; letter-spacing: .04em;
}
/* Suchfeld so hoch wie die Filter-Knoepfe (40px) */
.module-filter__search input { height: 40px; padding-block: 0; }

/* -- Ueber uns: OSBA-Mitgliedschaft unter den Werten ---- */
.osba-box { margin-top: 1.25rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.osba-box .seal { flex: 0 0 auto; box-shadow: none; border: 1px solid var(--border); }
.osba-box > div { flex: 1 1 22rem; }
.osba-box h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.osba-box p { font-size: var(--fs-sm); margin: 0; }
.osba-box p + p { margin-top: .6rem; }

/* Seitenkopf ohne Bild kompakter, damit die Inhalte frueher sichtbar sind */
.page-hero:not(.page-hero--split) { padding-block: clamp(2rem, 4vw, 3rem); }
.page-hero:not(.page-hero--split) .eyebrow { margin-bottom: .75rem; }
.page-hero:not(.page-hero--split) .lead { margin-top: .75rem; }

/* Kundenstimmen-Seite: Anwenderberichte 2er-Raster oben, Profile 3er-Raster darunter */
.quote-grid--cases { grid-template-columns: 1fr; }
.quote-grid--cases blockquote { font-size: 1.1rem; }
.quote-grid--page { grid-template-columns: 1fr; margin-top: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 640px) {
  .quote-grid--cases, .quote-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .quote-grid--page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Kachel-Teaser (News, Tutorials) sind keine Einleitungstexte */
main .section .post-card h2 + p { font-size: var(--fs-sm); line-height: 1.6; margin-top: 0; }

/* Rechtstexte: erster Absatz nach Ueberschrift ist kein Einleitungstext */
main .section .prose--legal h2 + p { font-size: var(--fs-sm); line-height: inherit; margin-top: .9rem; }

/* -- Archivhinweis in alten Beitraegen ---- */
.post__archive { display: flex; gap: .6rem; align-items: baseline; margin-top: 1rem;
  padding: .65rem .9rem; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg-soft); font-size: var(--fs-sm); color: var(--text-soft); }
.post__archive .st-badge { flex: none; }

/* -- Gleich hohe Kacheln im Preisraster (z. B. Support-Kanaele) ---- */
.price-grid--even { align-items: stretch; }
.price-grid--even .check-list { margin-top: 0; }

/* -- Icons ohne Hintergrund (KI-Seite), 25 % groesser ---- */
.icon-badge--plain { width: auto; height: auto; background: none; border-radius: 0; place-items: start; }
.icon-badge--plain svg { width: 27.5px; height: 27.5px; }

/* -- App-Icons ohne Hintergrund (Modulkarten Startseite), 25 % groesser.
      Im Dunkelmodus bleibt eine helle Kachel, sonst sind dunkle App-Icons
      (E-Rechnung, CRM, Aufgaben) auf der dunklen Karte kaum zu sehen ---- */
.module:has(> .icon-badge--bare) { grid-template-columns: 30px 1fr; }
.module .icon-badge--bare { width: 30px; height: auto; background: none; border: 0; border-radius: 0; }
.module .icon-badge--bare img { width: 30px; height: 30px; }
:root[data-theme="dark"] .module:has(> .icon-badge--bare) { grid-template-columns: 42px 1fr; }
:root[data-theme="dark"] .module .icon-badge--bare { width: 42px; height: 42px; background: #f4f7fb; border-radius: var(--r-md); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .module:has(> .icon-badge--bare) { grid-template-columns: 42px 1fr; }
  :root:not([data-theme="light"]) .module .icon-badge--bare { width: 42px; height: 42px; background: #f4f7fb; border-radius: var(--r-md); }
}

/* -- Logoleiste: Logos immer farbig; beim Ueberfahren wird nur der Rand blau ---- */
.logo-strip__list img,
.logo-strip__list img[src$="kdsz-bayern.webp"],
.logo-strip__list img[src$="stadt-nordenham.jpg"] { filter: none; opacity: 1; }
.logo-strip__list li { transition: border-color .2s ease; }
.logo-strip__list li:has(> a):hover,
.logo-strip__list li:has(> a:focus-visible) { border-color: var(--primary); }

/* -- Screenshot-Treppe: drei flache Screenshots versetzt uebereinander
      (Startseite, Kontakt). Hinten oben rechts, vorne unten links ---- */
.shot-stack { position: relative; margin: 0; aspect-ratio: 1080 / 790; }
.shot-stack img {
  position: absolute; width: 80%; height: auto; border-radius: 10px;
  border: 1px solid var(--border); background: #fff;
  box-shadow: 0 2px 6px rgba(11, 49, 81, .08), 0 22px 44px rgba(11, 49, 81, .20);
}
.shot-stack img:nth-child(1) { top: 0;   right: 0; }
.shot-stack img:nth-child(2) { top: 19%; right: 10%; }
.shot-stack img:nth-child(3) { top: 38%; right: 20%; }
/* Gespiegelte Treppe (zweites Bild auf der Startseite): hinten oben links, vorne unten rechts */
.shot-stack--flip img:nth-child(1) { right: auto; left: 0; }
.shot-stack--flip img:nth-child(2) { right: auto; left: 10%; }
.shot-stack--flip img:nth-child(3) { right: auto; left: 20%; }

/* -- App-Icons ohne Hintergrund auf groesseren Karten (z. B. Synchronisation),
      25 % groesser; im Dunkelmodus helle Kachel wie bei den Modulkarten ---- */
.card > .icon-badge--bare { width: auto; height: auto; background: none; border: 0; border-radius: 0; place-items: start; }
.card > .icon-badge--bare img { width: 32px; height: 32px; }
:root[data-theme="dark"] .card > .icon-badge--bare { width: 46px; height: 46px; background: #f4f7fb; border-radius: var(--r-md); place-items: center; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .card > .icon-badge--bare { width: 46px; height: 46px; background: #f4f7fb; border-radius: var(--r-md); place-items: center; }
}

/* -- Linien-Icons ohne Kaestchen neben App-Icons (Modulkarten, gemischte Kartenraster),
      gleich gross wie die App-Icons ---- */
.module:has(> .icon-badge--plain) { grid-template-columns: 30px 1fr; }
.module .icon-badge--plain { width: 30px; height: auto; margin: 0; background: none; border: 0; border-radius: 0; }
.module .icon-badge--plain svg { width: 30px; height: 30px; }
:root[data-theme="dark"] .module:has(> .icon-badge--plain) { grid-template-columns: 42px 1fr; }
:root[data-theme="dark"] .module .icon-badge--plain { width: 42px; height: 42px; place-items: center; background: #f4f7fb; border-radius: var(--r-md); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .module:has(> .icon-badge--plain) { grid-template-columns: 42px 1fr; }
  :root:not([data-theme="light"]) .module .icon-badge--plain { width: 42px; height: 42px; place-items: center; background: #f4f7fb; border-radius: var(--r-md); }
}
.grid:has(.icon-badge--bare) .card > .icon-badge--plain svg { width: 32px; height: 32px; }

/* -- Tarifberater als Schritt-fuer-Schritt-Assistent (per JS aktiviert):
      eine Frage pro Schritt, Fortschritt oben, Zurueck unten ---- */
.finder-karte--wizard .finder__nr { display: none; }
.finder-karte--wizard .finder__frage legend { font-size: var(--fs-lg); margin-bottom: .9rem; }
.finder-karte--wizard .finder__opt { font-size: var(--fs-base); padding: .8rem 1.25rem; }
.finder-karte--wizard .finder__ergebnis { margin-top: 0; }
.finder-karte--wizard .finder__ergebnis:focus, .finder-karte--wizard .finder__frage:focus { outline: none; }
.finder-karte--wizard .finder__warte { display: none; }
.finder__fort { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.finder__schritt { margin: 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.finder__balken { list-style: none; margin: 0; padding: 0; display: flex; gap: .35rem; flex: 1; max-width: 12rem; }
.finder__balken li { flex: 1; height: 4px; border-radius: 2px; background: var(--border); }
.finder__balken li.is-fertig, .finder__balken li.is-aktiv { background: var(--primary); }
.finder__balken li.is-aktiv { opacity: .45; }
.finder__nav { display: flex; gap: 1.25rem; margin-top: 1rem; }
.finder__zurueck { font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--primary);
  background: none; border: 0; padding: .25rem 0; cursor: pointer; }
.finder__zurueck:hover { text-decoration: underline; }
.finder__zurueck[hidden] { display: none; }
/* Linien-Icons ohne Kaestchen gelten seitenweit, auch in dunklen Baendern */
.section--dark .icon-badge--plain, .icon-badge--accent.icon-badge--plain { background: none; }

/* -- Karte in einem Panel (Startseite, E-Rechnung): kein eigener Kasten,
      der Inhalt steht direkt auf dem blaeulichen Panel ---- */
.panel > .card { background: none; border: 0; box-shadow: none; padding: 0; }

/* -- Tarifberater-Assistent: Empfehlung in hellblauem Kasten statt gelb,
      mit mehr Luft zwischen Knoepfen und Link ---- */
.finder-karte--wizard .finder__ergebnis {
  background: var(--st-info-bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 1.9rem);
}
.finder-karte--wizard .finder__label { color: var(--primary); }
.finder-karte--wizard .finder__tarif { margin: .6rem 0 .75rem; }
.finder-karte--wizard .finder__treffer .btn-row { margin-top: 1.4rem; }
.finder-karte--wizard .finder__treffer .btn-row + p { margin-top: 1.25rem; }
/* Im Dunkelmodus heller als die Karte, damit die Empfehlung heraussticht */
:root[data-theme="dark"] .finder-karte--wizard .finder__ergebnis { background: #1d3557; border-color: #33557f; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .finder-karte--wizard .finder__ergebnis { background: #1d3557; border-color: #33557f; }
}

/* -- Video-Vorschaubild ---- */
/* Lokal gespeichertes YouTube-Vorschaubild statt blauer Flaeche. Erst der
   Klick laedt den Player – bis dahin geht keine Anfrage an YouTube. */
.video__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.video__cover:has(.video__poster)::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11, 49, 81, .15), rgba(11, 49, 81, .55));
  transition: background .15s ease;
}
.video__cover:has(.video__poster):hover::after {
  background: linear-gradient(180deg, rgba(11, 49, 81, .05), rgba(11, 49, 81, .4));
}
.video__cover:has(.video__poster):hover { filter: none; }
.video__cover .video__play, .video__cover .video__label {
  position: relative; z-index: 2; text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}
.video__cover:has(.video__poster) .video__play {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: rgba(11, 49, 81, .72); box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
  transition: background .15s ease, transform .15s ease;
}
.video__cover:has(.video__poster):hover .video__play { background: var(--primary); transform: scale(1.06); }
.video__cover:has(.video__poster) .video__label {
  background: rgba(11, 49, 81, .72); padding: .2rem .7rem; border-radius: 999px; text-shadow: none;
}

/* -- Live-Chat-Knopf (Rocket.Chat erst auf Klick) ---- */
/* Gleiche Lage, Groesse und Farbe wie der Knopf im Rocket.Chat-Widget,
   damit beim Nachladen nichts springt. */
.livechat-start {
  position: fixed; right: 16px; bottom: 16px; z-index: 12344;
  width: 54px; height: 54px; padding: 0; border: 0; border-radius: 4px;
  display: grid; place-items: center; cursor: pointer;
  background: #c1272d; color: #fff; box-shadow: 0 7px 16px rgba(0, 0, 0, .1);
  transition: filter .15s ease;
}
.livechat-start:hover { filter: brightness(1.1); }
.livechat-start:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.livechat-start svg { width: 24px; height: 24px; }
.livechat-start[aria-busy] { cursor: progress; opacity: .85; }
@media print { .livechat-start { display: none; } }
