/* Design-Tokens der use Group Website. Markenrichtung A „Präzision“: Tinte und Papier, Blau nur als Signal.
   Farbwerte aus use-ui/tokens.css. Nur hier stehen Farben, Schriften, Radien und Breiten. */
:root {
  --ink: #070707; --paper: #FFFFFF; --wash: #F5F5F7; --wash-2: #EEF1F6;
  --line: #E6EAF0; --muted: #5D6572;
  --signal: #2F7BD8; --signal-text: #2670CC; --signal-soft: #EAF3FF;
  --ok: #2D8F6F; --warn: #D89B2F; --bad: #C8453B;
  --night: #070B12;
  --btn-bg: #070707; --btn-fg: #FFFFFF;
  --shadow: 0 1px 2px rgba(15,28,48,.06), 0 8px 24px rgba(15,28,48,.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --r: 14px; --r-sm: 10px; --wrap: 1160px;
  /* Abschlusskasten: immer dunkel, in hell und dunkel gleich */
  --cta-fg: #E6E9EF; --cta-titel: #fff; --cta-text: #9FB0C7; --cta-knopf-bg: #fff; --cta-knopf-fg: #070707;
  --cta-linie: rgba(255,255,255,.25); --cta-hover: rgba(255,255,255,.08);
  /* Grund hinter Kundenlogos im dunklen Modus */
  --logo-grund: #fff;
  --logo-ink: block; --logo-white: none;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E6E9EF; --paper: #0F1115; --wash: #14171D; --wash-2: #1B1F27;
    --line: #2A2F3A; --muted: #9AA3B2;
    --signal: #5B8CFF; --signal-text: #7FB2FF; --signal-soft: rgba(91,140,255,.14);
    --ok: #3FB96B; --warn: #E0A63A; --bad: #E0574F;
    --btn-bg: #E6E9EF; --btn-fg: #0F1115;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    --logo-ink: none; --logo-white: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #E6E9EF; --paper: #0F1115; --wash: #14171D; --wash-2: #1B1F27;
  --line: #2A2F3A; --muted: #9AA3B2;
  --signal: #5B8CFF; --signal-text: #7FB2FF; --signal-soft: rgba(91,140,255,.14);
  --ok: #3FB96B; --warn: #E0A63A; --bad: #E0574F;
  --btn-bg: #E6E9EF; --btn-fg: #0F1115;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  --logo-ink: none; --logo-white: block;
  color-scheme: dark;
}


/* hidden blendet immer aus, auch wenn eine Klasse display setzt (News-Filter zeigte sonst weiter alle Beiträge, 09.11.2026) */
[hidden] { display: none !important; }
/* Komponenten der use Group Website. Nur Variablen aus tokens.css, keine Farbwerte, keine Texte. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Sprungmarken: Ziel landet unter dem festen Kopf (64 px) mit Luft, auf allen Breiten */
:root { --kopf-hoehe: 64px; --sprung-luft: 24px; }
[id], section, h1, h2, h3 { scroll-margin-top: calc(var(--kopf-hoehe) + var(--sprung-luft)); }
body { margin: 0; font-family: var(--font); background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--signal-text); text-underline-offset: 3px; }
h1, h2, h3, h4 { overflow-wrap: break-word; line-height: 1.15; letter-spacing: -.022em; margin: 0 0 .55em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 24ch; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
small, .small { font-size: .875rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow .name { text-transform: none; letter-spacing: 0; font-size: 1.15em; font-weight: 700; color: var(--ink); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--signal); }

/* Entwurfsband */
.draftbar { background: var(--wash-2); color: var(--muted); font-size: 12.5px; text-align: center; padding: 6px 16px; border-bottom: 1px solid var(--line); }
.draftbar a { color: inherit; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: var(--kopf-hoehe); }
.brand { display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.brand img { height: 22px; width: auto; }
.brand .ink { display: var(--logo-ink); } .brand .white { display: var(--logo-white); }
.nav { display: flex; gap: 2px; margin-left: 4px; }
.nav > div { position: relative; }
.nav a.top-link, .nav button { font: inherit; font-size: 14px; color: var(--ink); background: none; border: 0; text-decoration: none; padding: 8px 10px; min-height: 44px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav a.top-link:hover, .nav button:hover, .nav > div:focus-within > button { background: var(--wash); }
.nav [aria-current="page"], .nav .is-current > button { font-weight: 600; }
.nav button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; opacity: .6; }
.drop { position: absolute; top: 100%; left: 0; min-width: 300px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: none; }
.nav > div:hover .drop, .nav > div:focus-within .drop { display: block; }
.drop a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.drop a span { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 2px; }
.drop a:hover, .drop a[aria-current="page"] { background: var(--wash); }
.top-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
/* Im Kopf schrumpft nichts: sonst schob sich der Menüpunkt useOS über „use Group“ (Markus 09.11.2026). Der große Knopf erscheint im Kopf erst, wenn alles nebeneinander passt. */
.brand, .nav > div, .top-actions > * { flex-shrink: 0; }
@media (max-width: 1240px) { .top .btn-cta { display: none; } }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; display: inline-grid; place-items: center; font-size: 16px; }
.menu-btn { display: none; }
.mobile-nav { display: none; }
@media (max-width: 1080px) {
  .nav, .top .btn-cta { display: none; }
  .menu-btn { display: inline-grid; }
  .mobile-nav[data-open="true"] { display: block; border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100vh - 64px); overflow-y: auto; padding-bottom: 16px; }
  .mobile-nav .grp { padding: 14px 16px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
  .mobile-nav a { display: block; padding: 11px 16px; color: var(--ink); text-decoration: none; font-size: 17px; }
  .mobile-nav a[aria-current="page"] { font-weight: 600; }
  .mobile-nav .btn { margin: 16px 16px 0; display: block; text-align: center; }
}

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 550; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--wash); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.arrow::after { content: " →"; }

/* Abschnitte */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.wash { background: var(--wash); }
section + section.wash, section.wash + section { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 40px; max-width: 760px; }
@media (max-width: 700px) { section { padding: 60px 0; } }

.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.page-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Raster und Karten */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
section.wash .card { background: var(--paper); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .k { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; margin-bottom: 14px; display: block; }
a.card { text-decoration: none; color: var(--ink); transition: border-color .15s; display: block; }
a.card:hover { border-color: var(--muted); }
a.card .more { color: var(--signal-text); font-size: 15px; font-weight: 550; margin-top: 12px; display: inline-block; }

.problem { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.problem:last-child { border-bottom: 1px solid var(--line); }
.problem h3 { margin: 0; }
.problem .how { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 700px) { .problem { grid-template-columns: 1fr; gap: 8px; } }

.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 9px 0 9px 22px; position: relative; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 6px; height: 6px; border-radius: 2px; background: var(--signal); }


.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps > div { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps > div::before { content: "0" counter(s); font-family: var(--mono); font-size: 13px; color: var(--muted); display: block; margin-bottom: 10px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }
.facts .v { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.facts p { color: var(--muted); margin: 0; }

.quote { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; max-width: 30ch; }

.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 70ch; }

.cta { background: var(--night); color: var(--cta-fg); border-radius: 20px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: var(--cta-titel); margin: 0 0 .3em; }
.cta p { color: var(--cta-text); margin: 0; }
.cta .btn-primary { background: var(--cta-knopf-bg); color: var(--cta-knopf-fg); }
.cta .btn-ghost { color: var(--cta-titel); border-color: var(--cta-linie); }
.cta .btn-ghost:hover { background: var(--cta-hover); }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 32px 24px; } }


/* Wortmarke useOS (Richtung A) */
.wm { display: inline-flex; align-items: baseline; gap: 1px; font-weight: 500; letter-spacing: -.035em; color: var(--ink); }
.wm b { font-weight: 650; }
.wm::before { content: ""; width: .32em; height: .32em; border-radius: 2px; background: var(--signal); margin-right: .22em; align-self: center; }

/* Platzhalter für Bilder und Videos */
.ph { border: 1.5px dashed var(--line); border-radius: var(--r); background: repeating-linear-gradient(135deg, var(--wash) 0 14px, var(--paper) 14px 28px); padding: 22px; color: var(--muted); font-size: 14px; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; }
.ph b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; }

/* Wortmarke use im Fließtext, in Größe und Linie der Schrift */
.wortmarke { display: inline-block; height: .62em; vertical-align: baseline; margin: 0 .04em; }
.wortmarke img { height: 100%; width: auto; }
.wortmarke .ink { display: var(--logo-ink); } .wortmarke .white { display: var(--logo-white); }

/* Video 16:9 */
.video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); background: var(--ink); }
.video-leer { position: relative; border: 1.5px dashed var(--line); background: repeating-linear-gradient(135deg, var(--wash) 0 14px, var(--paper) 14px 28px); }
.video-leer .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--ink); }
.video-leer .play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--paper); }

/* Logo-Animation im Einstieg: u und e gleiten herein, das s zieht sich in die Mitte. Einmalig, unter 1,5 s. */
.logo-anim { display: block; height: 40px; width: auto; margin-bottom: 40px; fill: var(--ink); overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .logo-anim .u { animation: la-u .7s cubic-bezier(.2,.8,.2,1) both; }
  .logo-anim .e { animation: la-e .7s .05s cubic-bezier(.2,.8,.2,1) both; }
  .logo-anim .s { transform-box: fill-box; transform-origin: 50% 50%; animation: la-s 1.1s .25s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes la-u { from { opacity: 0; transform: translateX(-40px); } }
  @keyframes la-e { from { opacity: 0; transform: translateX(40px); } }
  @keyframes la-s { 0% { opacity: 0; transform: translateY(-70%) rotate(-180deg) scale(.4); } 55% { opacity: 1; } 100% { transform: none; } }
}

/* Wortmarke als eigener Moment (Über uns) */
.logo-anim.logo-gross { height: clamp(64px, 9vw, 104px); margin: 8px 0 28px; }
.js .logo-gross:not(.sichtbar) path { animation-play-state: paused; }

/* Stimmen von Kunden: dezent unter dem Logoband, bei mehreren im Wechsel */
/* Eigene Dachzeile über den Zitaten, mit Abstand zum Logoband */
.stimmen-wrap { margin-top: 44px; }
.stimmen-wrap .sec-head { margin-bottom: 0; }
/* Stimmen: ohne Bewegung (WCAG 2.2.2). Ab Tablet zwei gleich hohe Karten nebeneinander, auf dem Handy untereinander */
.stimmen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; max-width: 960px; margin: 28px auto 0; align-items: stretch; }
.stimme { margin: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.stimme blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); font-style: italic; }
.stimme figcaption { font-size: 14px; color: var(--muted); }

/* Einstiegsfilm mit Einblendungen */
.film { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-texte span { position: absolute; left: 24px; right: 24px; bottom: 22px; color: var(--cta-titel); font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-shadow: 0 2px 18px var(--night); opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }
.film-texte span.an { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .film-texte { display: none; } }

/* YouTube im Einstieg mit Zwei-Klick-Lösung */
.yt { margin: 0; }
.yt-start, .yt iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); overflow: hidden; background: var(--ink); cursor: pointer; padding: 0; }
.yt-start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-start .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); }
.yt-start .play::after { content: ""; position: absolute; left: 31px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--ink); }
.yt-start .yt-titel { position: absolute; left: 16px; bottom: 14px; right: 16px; text-align: left; color: var(--paper); font-weight: 600; font-size: 15px; }
.yt figcaption { margin-top: 10px; }

/* Gezeichnete Grafiken (Mobilitätsanalyse) */
.grafik { margin: 0; }
.ag { display: block; width: 100%; height: auto; font-family: var(--font); }
.ag-grund { fill: var(--wash); }
.ag-feld { fill: var(--paper); opacity: .7; } .ag-feld2 { opacity: .45; }
.ag-see { fill: var(--signal-soft); }
.ag-bahn-grund { stroke: var(--muted); stroke-width: 7; fill: none; } .ag-bahn { stroke: var(--wash); stroke-width: 3; stroke-dasharray: 14 12; fill: none; }
.ag-strasse { stroke: var(--paper); stroke-width: 16; fill: none; stroke-linecap: round; } .ag-strasse2 { stroke-width: 9; }
.ag-ort { fill: var(--line); }
.ag-strom { fill: none; stroke: var(--signal); stroke-linecap: round; } .ag-strom1 { stroke-width: 7; } .ag-strom2 { stroke-width: 5; opacity: .8; } .ag-strom3 { stroke-width: 3; opacity: .65; }
.ag-pfeil { fill: var(--signal); }
.ag-knoten { fill: var(--ink); } .ag-halt { fill: var(--paper); stroke: var(--ink); stroke-width: 4; } .ag-ziel { fill: var(--paper); stroke: var(--signal); stroke-width: 4; }
.ag-pin { fill: var(--ink); } .ag-pin-n { fill: var(--paper); font-size: 20px; font-weight: 700; }
.ag-etikett { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; }
.ag-t1 { fill: var(--ink); font-size: 22px; font-weight: 650; } .ag-t2 { fill: var(--muted); font-size: 17px; } .ag-hervor { fill: var(--signal-text); font-weight: 650; }
.ag-strom-text { fill: var(--signal-text); font-weight: 600; }
.ag-symbol-grund { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; } .ag-symbol { fill: var(--signal); } .ag-symbol .ag-strich-w { stroke: var(--signal); stroke-width: 2; fill: none; }
.ag-profil { fill: var(--signal-soft); } .ag-profil-linie { fill: none; stroke: var(--ink); stroke-width: 4; } .ag-profil-steil { fill: none; stroke: var(--signal); stroke-width: 8; stroke-linecap: round; }
.kacheln .kachel { padding: 14px 14px 20px; } .kachel .ag { border-radius: 12px; margin-bottom: 16px; } .kachel h3, .kachel p { padding: 0 8px; }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.g4 { grid-template-columns: 1fr; } }

/* Formular: Honeypot unsichtbar für Menschen, Fehlermeldung */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-fehler { color: var(--bad); font-weight: 550; margin: 0; }

/* Magazinseite mit Lightbox */
.seitenbild { margin: 20px 0 0; max-width: 260px; }
.seitenbild-knopf { display: block; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); cursor: zoom-in; overflow: hidden; }
.seitenbild-knopf img { display: block; width: 100%; height: auto; }
.seitenbild figcaption { margin-top: 8px; }
.lightbox { padding: 0; border: 0; border-radius: var(--r); width: min(920px, 96vw); max-height: 94vh; background: var(--paper); }
.lightbox::backdrop { background: color-mix(in srgb, var(--night) 82%, transparent); }
.lightbox-innen { max-height: 94vh; overflow: auto; touch-action: pan-x pan-y pinch-zoom; }
.lightbox-innen img { display: block; width: 100%; height: auto; }
.lightbox-zu { position: absolute; top: 12px; right: 12px; margin: 0; }

/* Suche in den häufigen Fragen */
.faqsuche { max-width: 640px; }
.faqsuche-label { display: block; font-weight: 600; margin-bottom: 8px; }
.faqsuche input { font: inherit; font-size: 17px; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); }
.faqsuche-leer { margin: 14px 0 0; }

/* News */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.post .meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; font-family: var(--mono); }
/* Beiträge als Karten: Bild oder Infografik oben, ganze Karte ist der Link */
.post { padding: 0; overflow: hidden; display: flex; }
.post-link { display: flex; flex-direction: column; width: 100%; color: var(--ink); text-decoration: none; }
.post-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.post-bild { aspect-ratio: 16 / 9; overflow: hidden; background: var(--wash); border-bottom: 1px solid var(--line); }
.post-bild img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.post-text { padding: 22px 24px 24px; }
.post-text h3 { margin-bottom: .45em; }
.news-raster .post-text p.muted { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-formate { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.post-formate span { font-size: 12.5px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.post-gross { margin-bottom: 28px; }
.post-gross .post-link { display: grid; grid-template-columns: 1.15fr 1fr; }
.post-gross .post-bild { aspect-ratio: auto; min-height: 320px; max-height: 460px; border-bottom: 0; border-right: 1px solid var(--line); background: var(--paper); }
.post-gross .post-bild img { object-fit: contain; object-position: top center; padding: 12px; }
.post-gross .post-text { padding: 36px; align-self: center; }
.post-gross h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
@media (max-width: 860px) { .post-gross .post-link { grid-template-columns: 1fr; } .post-gross .post-bild { aspect-ratio: 16 / 9; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); } .post-gross .post-text { padding: 22px 24px 24px; } }
.news-raster .post { height: 100%; }
/* Filter auf dem Handy: waagerecht scrollbar im Rahmen */
@media (max-width: 600px) { .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; } .filters button { flex: none; } }

/* Beitragsseite */
.wrap.schmal { max-width: 780px; }
.post-meta { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.beitrag .page-hero h1 { max-width: 22ch; }
.kern { background: var(--wash); border-radius: var(--r); padding: 24px 26px 14px; margin-bottom: 32px; }
.kern h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.kern .list li { border-bottom-color: var(--line); }
.infografik { margin: 0 0 36px; }
.infografik img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); display: block; background: var(--paper); }
.infografik figcaption { margin-top: 8px; }
.audio { margin: 0 0 32px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); }
.audio figcaption { margin-bottom: 10px; }
.audio audio { width: 100%; }
.beitrag-text h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 1.6em; }
.beitrag-text p { font-size: 18px; line-height: 1.7; }
.quellen { padding-left: 22px; font-size: 16px; }
.quellen li { margin: 0; overflow-wrap: anywhere; }
.quellen a { display: inline-block; padding: 11px 0; min-height: 44px; }
.teilen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Formular */
form.f { display: grid; gap: 16px; }
.f label { display: grid; gap: 6px; font-size: 14px; font-weight: 550; }
.f input, .f select, .f textarea { font: inherit; font-size: 16px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; }
.f input, .f select { min-height: 44px; }
.f textarea { min-height: 120px; resize: vertical; }
.f .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .f .two { grid-template-columns: 1fr; } }
.form-ok { display: none; }
.form-ok[data-show="true"] { display: block; }

/* Tabelle (intern) */
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
table.t code { font-size: 12.5px; word-break: break-all; }
@media (max-width: 700px) {
  table.t thead { display: none; }
  table.t tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.t td { display: block; border: 0; padding: 4px 0; }
  table.t td::before { content: attr(data-l); display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
}

/* Fuß */
.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 15px; background: var(--wash); }
.foot .cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > div:first-child { grid-column: 1 / -1; } }
.foot h4, .foot .foot-titel { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.foot a { display: block; color: var(--ink); text-decoration: none; padding: 4px 0; }
.foot a:hover { text-decoration: underline; }
.foot .mission { max-width: 34ch; color: var(--muted); margin-top: 14px; }
.foot .legal { margin-top: 40px; color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot img { height: 22px; width: auto; }
.foot .ink { display: var(--logo-ink); } .foot .white { display: var(--logo-white); }

/* KI-Avatar (Konzept) */
.avatar-ph { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px dashed var(--muted); border-radius: 999px; padding: 6px 8px 6px 6px; font-size: 12.5px; color: var(--muted); box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.avatar-ph svg { width: 40px; height: 40px; flex: none; }
.avatar-ph button { border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
@media (max-width: 600px) { .avatar-ph span { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Angebot Mobilitätsanalyse */
.offer { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
@media (max-width: 640px) { .offer { grid-template-columns: 1fr; } }


/* Rechtstexte (Impressum, Datenschutz, AGB): ruhiger Lesetext */
.rechtstext { max-width: 75ch; }
.rechtstext h2 { font-size: 21px; margin: 36px 0 10px; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext p { margin: 0 0 14px; overflow-wrap: anywhere; }
.rechtstext .list { margin: 0 0 14px; }

/* Überschriften für Gliederung und Screenreader, ohne sichtbare Wirkung */
.unsichtbar { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.foot .foot-titel { max-width: none; line-height: 1.15; margin-top: 0; }
.card h3.klein-titel { font-size: 1rem; letter-spacing: 0; margin-bottom: .55em; }

/* Einstieg Hilfe zur App im Kopf: schlicht, für Fahrende */
.top-hilfe { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; margin-right: 6px; }
.top-hilfe:hover, .top-hilfe[aria-current] { color: var(--ink); }
@media (max-width: 900px) { .top-hilfe { display: none; } }

/* Echte Fotos */
.foto { margin: 0; }
.foto img { display: block; width: 100%; height: auto; border-radius: var(--r); object-fit: cover; }

/* Logoband: ruhig, einheitliche Höhe, in Graustufen */
.laufband { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, var(--ink) 8%, var(--ink) 92%, transparent); mask-image: linear-gradient(90deg, transparent, var(--ink) 8%, var(--ink) 92%, transparent); }
.laufband-spur { display: flex; width: max-content; animation: laufband 45s linear infinite; }
.laufband:hover .laufband-spur { animation-play-state: paused; }
@keyframes laufband { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .laufband-spur { animation: none; width: auto; flex-wrap: wrap; justify-content: center; } .laufband-spur .logos[aria-hidden] { display: none; } .laufband { -webkit-mask-image: none; mask-image: none; } }
.logos { list-style: none; margin: 0; padding: 0 28px; display: flex; gap: 56px; align-items: center; flex: none; }
.laufband-spur .logos { padding: 0 28px 0 0; }
@media (prefers-reduced-motion: reduce) { .laufband-spur .logos { flex-wrap: wrap; justify-content: center; padding: 0 16px; gap: 28px 48px; } }
.logos img { height: 52px; width: auto; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; transition: filter .25s, opacity .25s; }
.logos img:hover { filter: none; opacity: 1; }
:root[data-theme="dark"] .logos img { mix-blend-mode: normal; background: var(--logo-grund); padding: 6px 10px; border-radius: 8px; opacity: .9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logos img { mix-blend-mode: normal; background: var(--logo-grund); padding: 6px 10px; border-radius: 8px; opacity: .9; } }

/* Handy und Tablet: Tippziele mindestens 44 px, Beschriftungen in Formularen 16 px (UX-Test 07.11.2026) */
@media (max-width: 1080px), (pointer: coarse) {
  .foot a { display: flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0; }
  .btn, .filters button { min-height: 44px; }
  .more { display: inline-flex; align-items: center; min-height: 44px; }
  /* Links im Text: größere Trefferfläche ohne Zeilenabstand zu ändern (Innenabstand bei Inline-Elementen) */
  .crumbs a, .rechtstext a, .card p a, figcaption a, main p > a:only-child { padding-block: 14px; }
  .crumbs a { display: inline-block; min-width: 44px; padding-block: 12px; margin-block: -12px; }
  .icon-btn { width: 44px; height: 44px; }
  .brand { min-height: 44px; }
  .faq summary { min-height: 44px; align-items: center; }
  .f label { font-size: 16px; }
}

/* Sprachumschalter DE | EN: im Kopf ab 901 px, darunter im Menü. Tippflächen 44 px */
.sprachen { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; color: var(--muted); }
.sprachen a, .sprachen .sprache-an { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 6px; border-radius: 8px; color: var(--muted); text-decoration: none; }
.sprachen a:hover { color: var(--ink); background: var(--wash); }
.sprachen .sprache-an { color: var(--ink); font-weight: 600; }
.sprachen-mobil { display: none; }
@media (max-width: 900px) { .top-actions .sprachen { display: none; } .mobile-nav .sprachen-mobil { display: flex; padding: 4px 10px; } .mobile-nav .sprachen-mobil a { display: inline-flex; padding: 0 6px; } }
