/* ==========================================================================
   Leitstand: Theme von www.seo-manager.info und allen 17 Subs im SEO CMS (T2, 30.10.2026)
   Grundlage: design/assets/leitstand.css (Muster D1, freigegeben als E1). Diese Datei ist die CMS-Fassung:
   - Themenfarbe je Host kommt als Variablen aus mandanten.php (ls_head_filter), die [data-host]-Blöcke bleiben Rückfall
   - Logo-Zeichen sind SVG-Symbole je Host (E23) statt zwei Buchstaben
   - Altklassen des Bestands stehen in leitstand-alt.css
   ========================================================================== */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/manrope-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/manrope-800.woff2') format('woff2'); }

:root {
    /* Nachtblau der Subs (dunkle Flächen: Leiste, Kopf, Startbereich, Bänder, Fuß) */
    --ls-nacht: #0a0e14;
    --ls-nacht-2: #111821;
    --ls-nacht-3: #161e2a;
    --ls-nacht-linie: #2a3544;
    --ls-nacht-text: #e8edf2;
    --ls-nacht-text-2: #9aa5b5;     /* 7,8:1 auf --ls-nacht */

    /* helle Lesefläche */
    --ls-papier: #ffffff;
    --ls-grund: #f4f6f8;
    --ls-grund-2: #e9edf2;
    --ls-linie: #dde3ea;
    --ls-tinte: #1a2130;            /* 16:1 auf weiß */
    --ls-tinte-2: #4a5568;          /* 7,5:1 auf weiß */

    /* Themenfarbe: Standard ist die Hauptseite (Indigo) */
    --ls-thema: #4338ca;            /* Flächen mit weißer Schrift, Links auf hell */
    --ls-thema-hell: #a5b4fc;       /* Akzente und Text auf dunkel */
    --ls-thema-tint: #eef0fc;       /* zarte Fläche auf hell */

    --ls-schrift: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ls-breite: 1200px;
    --ls-lesebreite: 800px;
    --ls-seitenspalte: 280px;
    --ls-rand: 16px;
    --ls-radius: 14px;
    --ls-radius-klein: 8px;
    --ls-schatten: 0 1px 2px rgba(10, 14, 20, .06), 0 10px 30px rgba(10, 14, 20, .08);
}

/* Themenfarbe je Host (Strategie Abschnitt 4), Kontraste geprüft mit design/_werkzeug/kontrast.py */
[data-host="local"]       { --ls-thema: #0e7490; --ls-thema-hell: #67e8f9; --ls-thema-tint: #e6f5f8; }
[data-host="glossar"],
[data-host="faq"]         { --ls-thema: #b45309; --ls-thema-hell: #fcd34d; --ls-thema-tint: #fdf4e3; }
[data-host="seo-cms"]     { --ls-thema: #6d28d9; --ls-thema-hell: #c4b5fd; --ls-thema-tint: #f2edfc; }
[data-host="wpseo"],
[data-host="wpwebmaster"],
[data-host="wphosting"]   { --ls-thema: #1d5fa8; --ls-thema-hell: #93c5fd; --ls-thema-tint: #e9f1fa; }
[data-host="jseo"],
[data-host="jwebmaster"],
[data-host="jhosting"],
[data-host="jupdate"]     { --ls-thema: #c2410c; --ls-thema-hell: #fdba74; --ls-thema-tint: #fcefe8; }
[data-host="sw"]          { --ls-thema: #1e3a8a; --ls-thema-hell: #a3c4f3; --ls-thema-tint: #e8edf8; }
[data-host="notdienst"]   { --ls-thema: #b91c1c; --ls-thema-hell: #fca5a5; --ls-thema-tint: #fcecec; }
[data-host="gratis"]      { --ls-thema: #15803d; --ls-thema-hell: #86efac; --ls-thema-tint: #e8f5ec; }
[data-host="smm"]         { --ls-thema: #0659d6; --ls-thema-hell: #bfdbfe; --ls-thema-tint: #e7effc; }
[data-host="l-u"]         { --ls-thema: #047857; --ls-thema-hell: #6ee7b7; --ls-thema-tint: #e5f4ee; }
[data-host="media"]       { --ls-thema: #be185d; --ls-thema-hell: #f9a8d4; --ls-thema-tint: #fbe9f1; }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--ls-schrift);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ls-tinte);
    background: var(--ls-papier);
    font-feature-settings: "ss01";
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1.1em; }
a { color: var(--ls-thema); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ls-thema); outline-offset: 3px; border-radius: 4px; }
.ls-dunkel :focus-visible, .ls-leiste :focus-visible, .ls-kopf :focus-visible, .ls-start :focus-visible,
.ls-band :focus-visible, .ls-fuss :focus-visible { outline-color: var(--ls-thema-hell); }
.ls-nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ls-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 16px; background: var(--ls-thema); color: #fff; font-weight: 700; border-radius: var(--ls-radius-klein); }
.ls-skip:focus { left: 12px; }
.ls-rahmen { max-width: var(--ls-breite); margin: 0 auto; padding: 0 var(--ls-rand); }
@media (min-width: 720px) { :root { --ls-rand: 24px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Leiste über dem Kopf ---------- */
.ls-leiste { background: var(--ls-nacht); color: var(--ls-nacht-text-2); font-size: 13.5px; border-bottom: 1px solid var(--ls-nacht-linie); }
.ls-leiste .ls-rahmen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.ls-leiste a { color: var(--ls-nacht-text); text-decoration: none; font-weight: 600; }
.ls-leiste a:hover { color: var(--ls-thema-hell); }
.ls-leiste__portal { display: inline-flex; align-items: center; gap: 8px; }
.ls-leiste__punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--ls-thema-hell); flex: none; }
.ls-leiste__rechts { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ls-leiste__tel { font-variant-numeric: tabular-nums; }

/* ---------- Kopf ---------- */
.ls-kopf { background: var(--ls-nacht); color: var(--ls-nacht-text); }
.ls-kopf .ls-rahmen { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.ls-marke { display: inline-flex; align-items: center; gap: 12px; color: var(--ls-nacht-text); text-decoration: none; }
.ls-marke:hover { color: #fff; }
.ls-zeichen { display: block; flex: none; width: 40px; height: 40px; border-radius: 9px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22), 0 0 0 1px rgba(255, 255, 255, .08); }
.ls-zeichen--klein { width: 28px; height: 28px; border-radius: 7px; }
.ls-marke__name { display: block; font-weight: 800; font-size: 18px; line-height: 1.1; letter-spacing: -.01em; }
.ls-marke__sub { display: block; font-size: 12.5px; color: var(--ls-nacht-text-2); font-weight: 600; }
.ls-nav { display: none; }
.ls-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.ls-nav a { display: block; padding: 8px 12px; border-radius: var(--ls-radius-klein); color: var(--ls-nacht-text); text-decoration: none; font-weight: 600; font-size: 15px; }
.ls-nav a:hover { background: var(--ls-nacht-3); }
.ls-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--ls-thema-hell); border-radius: 0; }
.ls-nav__knopf { margin-left: 8px; }
/* Mobil: Menü ohne JavaScript über <details> */
.ls-menue { position: relative; }
.ls-menue > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--ls-nacht-linie); border-radius: var(--ls-radius-klein); font-weight: 700; font-size: 15px; color: var(--ls-nacht-text); }
.ls-menue > summary::-webkit-details-marker { display: none; }
.ls-menue > summary::before { content: ""; width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; box-shadow: inset 0 4px 0 -2px transparent; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.ls-menue[open] > summary { background: var(--ls-nacht-3); }
.ls-menue ul { list-style: none; margin: 0; padding: 8px 0 0; }
.ls-menue__liste { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(300px, calc(100vw - 32px)); padding: 10px; background: var(--ls-nacht-2); border: 1px solid var(--ls-nacht-linie); border-radius: var(--ls-radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.ls-menue__liste a { display: block; padding: 11px 12px; color: var(--ls-nacht-text); text-decoration: none; font-weight: 600; border-radius: var(--ls-radius-klein); }
.ls-menue__liste a:hover { background: var(--ls-nacht-3); }
@media (min-width: 980px) {
    .ls-nav { display: flex; align-items: center; }
    .ls-menue { display: none; }
}

/* ---------- Startbereich (dunkel, mit Messraster) ---------- */
.ls-start {
    position: relative; overflow: hidden;
    background-color: var(--ls-nacht);
    background-image:
        radial-gradient(70% 90% at 88% -10%, color-mix(in srgb, var(--ls-thema) 42%, transparent), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
    color: var(--ls-nacht-text);
    padding: 40px 0 56px;
    border-top: 1px solid var(--ls-nacht-linie);
}
.ls-start::after { /* Kennlinie am unteren Rand in der Themenfarbe */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--ls-thema) 0, var(--ls-thema-hell) 45%, transparent 100%);
}
.ls-start__raster { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) {
    .ls-start { padding: 64px 0 80px; }
    .ls-start__raster--bild { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
}
.ls-pfad { font-size: 14px; color: var(--ls-nacht-text-2); margin-bottom: 18px; }
.ls-pfad ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; }
.ls-pfad li + li::before { content: "/"; margin: 0 10px; color: var(--ls-nacht-linie); }
.ls-pfad a { color: var(--ls-nacht-text); text-decoration: none; }
.ls-pfad a:hover { text-decoration: underline; }
.ls-dach { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ls-thema-hell); }
.ls-dach::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.ls-start h1 { font-size: clamp(2.05rem, 5.2vw, 3.6rem); color: #fff; margin-bottom: 18px; letter-spacing: -.025em; }
.ls-start h1 em { font-style: normal; color: var(--ls-thema-hell); }
.ls-start__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ls-nacht-text); max-width: 40em; margin-bottom: 26px; }
.ls-start__punkte { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; color: var(--ls-nacht-text); }
.ls-start__punkte li { position: relative; padding-left: 26px; }
.ls-start__punkte li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--ls-thema-hell); border-bottom: 2px solid var(--ls-thema-hell); transform: rotate(-45deg); }
.ls-aktionen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ls-start__bild { position: relative; margin: 0; }
.ls-start__bild img { border-radius: var(--ls-radius); border: 1px solid var(--ls-nacht-linie); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ls-start__bild figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ls-nacht-text-2); }

/* ---------- Knöpfe ---------- */
.ls-knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--ls-thema);
    background: var(--ls-thema); color: #fff; font: inherit; font-weight: 800; font-size: 16px; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.ls-knopf:hover { background: color-mix(in srgb, var(--ls-thema) 82%, #000); border-color: color-mix(in srgb, var(--ls-thema) 82%, #000); text-decoration: none; }
.ls-knopf::after { content: "→"; font-weight: 700; }
.ls-knopf--still::after { content: none; }
.ls-knopf--rand { background: transparent; color: var(--ls-thema); }
.ls-knopf--rand:hover { background: var(--ls-thema-tint); color: var(--ls-thema); }
.ls-dunkel .ls-knopf--rand, .ls-start .ls-knopf--rand, .ls-band .ls-knopf--rand { border-color: var(--ls-nacht-linie); color: var(--ls-nacht-text); }
.ls-dunkel .ls-knopf--rand:hover, .ls-start .ls-knopf--rand:hover, .ls-band .ls-knopf--rand:hover { border-color: var(--ls-thema-hell); background: transparent; color: #fff; }
.ls-knopf--tel { font-variant-numeric: tabular-nums; }
.ls-knopf--tel::after { content: none; }
.ls-knopf--tel::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url('zeichen/telefon.svg') center / contain no-repeat; mask: url('zeichen/telefon.svg') center / contain no-repeat; }

/* ---------- Messkarten ---------- */
.ls-messreihe { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .ls-messreihe { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ls-messreihe--3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ls-mess {
    position: relative; padding: 16px 16px 14px; border-radius: 12px;
    background: rgba(17, 24, 33, .88); border: 1px solid var(--ls-nacht-linie);
    color: var(--ls-nacht-text);
}
.ls-mess::before { content: ""; position: absolute; left: 16px; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--ls-thema-hell); }
.ls-mess__name { display: block; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ls-nacht-text-2); margin-bottom: 6px; }
.ls-mess__wert { display: block; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.ls-mess__einheit { font-size: .55em; font-weight: 700; color: var(--ls-nacht-text-2); margin-left: 3px; letter-spacing: 0; }
.ls-mess__quelle { display: block; margin-top: 6px; font-size: 12px; color: var(--ls-nacht-text-2); }
.ls-mess__quelle a { color: var(--ls-nacht-text-2); }
/* helle Messkarten im Text (z. B. Ortsdaten) */
.ls-messreihe--hell .ls-mess { background: var(--ls-papier); border-color: var(--ls-linie); color: var(--ls-tinte); box-shadow: var(--ls-schatten); }
.ls-messreihe--hell .ls-mess::before { background: var(--ls-thema); }
.ls-messreihe--hell .ls-mess__name, .ls-messreihe--hell .ls-mess__einheit, .ls-messreihe--hell .ls-mess__quelle { color: var(--ls-tinte-2); }
.ls-messreihe--hell .ls-mess__wert { color: var(--ls-tinte); }
.ls-start .ls-messreihe { margin-top: 36px; }

/* ---------- Vertrauensleiste ---------- */
.ls-vertrauen { background: var(--ls-grund); border-bottom: 1px solid var(--ls-linie); }
.ls-vertrauen ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--ls-tinte-2); }
.ls-vertrauen li { display: inline-flex; align-items: center; gap: 8px; }
.ls-vertrauen li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ls-thema); transform: rotate(45deg); }
.ls-vertrauen a { color: var(--ls-tinte); }
.ls-vertrauen strong { color: var(--ls-tinte); font-weight: 800; }

/* ---------- Seitenaufbau: Lesespalte um 800 px, Seitenspalte schmal ---------- */
.ls-haupt { padding: 48px 0 24px; }
.ls-seite { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) {
    .ls-seite { grid-template-columns: minmax(0, var(--ls-lesebreite)) var(--ls-seitenspalte); gap: 56px; justify-content: center; }
    .ls-seite--voll { grid-template-columns: minmax(0, 1fr); }
}
.ls-text { max-width: var(--ls-lesebreite); }
@media (min-width: 1100px) { .ls-text { font-size: 19px; } }
.ls-text > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.9em; padding-top: 14px; position: relative; }
.ls-text > h2::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--ls-thema); }
.ls-text > h2:first-child { margin-top: 0; }
.ls-text h3 { font-size: 1.2em; margin-top: 1.5em; }
.ls-text ul, .ls-text ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.ls-text li { margin-bottom: .45em; }
.ls-text li::marker { color: var(--ls-thema); }
.ls-einstieg { font-size: 1.12em; color: var(--ls-tinte); }
.ls-stand { font-size: 14px; color: var(--ls-tinte-2); }

/* Bilder im Text */
.ls-bild { margin: 2em 0; }
.ls-bild img { width: 100%; border-radius: var(--ls-radius); aspect-ratio: 3 / 2; object-fit: cover; background: var(--ls-grund-2); }
.ls-bild figcaption, .ls-karte-bild figcaption { margin-top: 8px; font-size: 14px; color: var(--ls-tinte-2); }
.ls-bild--breit img { aspect-ratio: 16 / 8; }

/* Seitenspalte: statisch, nichts schwebt */
.ls-spalte { display: grid; gap: 20px; align-content: start; }
.ls-kasten { padding: 20px; border-radius: var(--ls-radius); background: var(--ls-grund); border: 1px solid var(--ls-linie); font-size: 15.5px; }
.ls-kasten h2, .ls-kasten h3 { font-size: 17px; margin-bottom: 10px; }
.ls-kasten ul { list-style: none; margin: 0; padding: 0; }
.ls-kasten li + li { border-top: 1px solid var(--ls-linie); }
.ls-kasten li a { display: block; padding: 8px 0; text-decoration: none; font-weight: 600; color: var(--ls-tinte); }
.ls-kasten li a:hover { color: var(--ls-thema); }
.ls-kasten--dunkel { background: var(--ls-nacht); border-color: var(--ls-nacht-linie); color: var(--ls-nacht-text); }
.ls-kasten--dunkel h2, .ls-kasten--dunkel h3 { color: #fff; }
.ls-kasten--dunkel p { color: var(--ls-nacht-text-2); }
.ls-kasten--dunkel .ls-knopf { width: 100%; }
.ls-kasten--dunkel a:not(.ls-knopf) { color: var(--ls-thema-hell); }

/* ---------- Handlungsband (nach dem zweiten Abschnitt und am Seitenende) ---------- */
.ls-band {
    margin: 2.4em 0; padding: 28px; border-radius: 18px;
    background: var(--ls-nacht);
    background-image: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--ls-thema) 38%, transparent), transparent 65%);
    color: var(--ls-nacht-text); font-size: 17px;
}
.ls-band h2, .ls-band h3 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 0 0 8px; padding: 0; }
.ls-band h2::before { content: none; }
.ls-band p { color: var(--ls-nacht-text); margin-bottom: 18px; }
.ls-band__wege { display: grid; gap: 12px; margin-top: 6px; }
@media (min-width: 720px) { .ls-band__wege { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ls-weg { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--ls-nacht-linie); border-radius: 12px; background: rgba(22, 30, 42, .7); color: var(--ls-nacht-text); text-decoration: none; }
.ls-weg:hover { border-color: var(--ls-thema-hell); }
.ls-weg__name { font-weight: 800; color: #fff; }
.ls-weg__info { font-size: 14px; color: var(--ls-nacht-text-2); }
.ls-weg--haupt { background: var(--ls-thema); border-color: var(--ls-thema); }
.ls-weg--haupt .ls-weg__info { color: #fff; opacity: .92; }
.ls-weg--haupt:hover { border-color: #fff; }
.ls-band--voll { border-radius: 0; margin: 0; padding: 56px 0; }
.ls-band--voll .ls-rahmen > * { max-width: 980px; }

/* ---------- Abschnitte über die ganze Breite ---------- */
.ls-abschnitt { padding: 56px 0; }
.ls-abschnitt--grau { background: var(--ls-grund); }
.ls-abschnitt__kopf { max-width: 760px; margin-bottom: 28px; }
.ls-abschnitt__kopf h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.ls-abschnitt__kopf p { color: var(--ls-tinte-2); font-size: 18px; }

/* ---------- Karten mit Bild ---------- */
.ls-karten { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); list-style: none; margin: 0; padding: 0; }
.ls-karte { position: relative; display: flex; flex-direction: column; border-radius: var(--ls-radius); overflow: hidden; background: var(--ls-papier); border: 1px solid var(--ls-linie); box-shadow: var(--ls-schatten); transition: transform .15s, box-shadow .15s; }
.ls-karte:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(10, 14, 20, .06), 0 16px 40px rgba(10, 14, 20, .12); }
.ls-karte__bild { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--ls-grund-2); }
.ls-karte__ersatz { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--ls-nacht); background-image: radial-gradient(70% 100% at 100% 0%, color-mix(in srgb, var(--ls-thema) 45%, transparent), transparent 70%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: auto, 24px 24px, 24px 24px; color: var(--ls-thema-hell); font-weight: 800; font-size: 28px; }
.ls-karte__inhalt { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.ls-karte__dach { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ls-thema); }
.ls-karte h3 { font-size: 19px; margin: 0; }
.ls-karte h3 a { color: var(--ls-tinte); text-decoration: none; }
.ls-karte h3 a::after { content: ""; position: absolute; inset: 0; } /* ganze Karte klickbar */
.ls-karte h3 a:focus-visible { outline: none; }
.ls-karte:focus-within { outline: 3px solid var(--ls-thema); outline-offset: 3px; }
.ls-karte p { margin: 0; color: var(--ls-tinte-2); font-size: 15.5px; }
.ls-karte__mehr { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; color: var(--ls-thema); }

/* ---------- Schritte ---------- */
.ls-schritte { list-style: none; counter-reset: schritt; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .ls-schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ls-schritte li { counter-increment: schritt; padding: 20px; border-radius: var(--ls-radius); background: var(--ls-papier); border: 1px solid var(--ls-linie); }
.ls-schritte li::before { content: "0" counter(schritt); display: block; font-weight: 800; font-size: 14px; letter-spacing: .08em; color: var(--ls-thema); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.ls-schritte strong { display: block; font-size: 18px; margin-bottom: 4px; }
.ls-schritte span { color: var(--ls-tinte-2); font-size: 15.5px; }
.ls-text .ls-schritte { grid-template-columns: minmax(0, 1fr); }
.ls-text .ls-schritte, .ls-text .ls-messreihe, .ls-text .ls-karten, .ls-text .ls-abc { padding-left: 0; }
@media (min-width: 720px) { .ls-text .ls-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Schichten-Grafik (gezeichnet, ohne Bilddatei) ---------- */
.ls-schichten { margin: 2em 0; }
.ls-schichten ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ls-schichten li { padding: 16px 18px; border-radius: 12px; border-left: 6px solid var(--ls-thema); background: var(--ls-thema-tint); }
.ls-schichten li:nth-child(2) { margin-left: 4%; }
.ls-schichten li:nth-child(3) { margin-left: 8%; }
.ls-schichten strong { display: block; }
.ls-schichten span { color: var(--ls-tinte-2); font-size: .92em; }
.ls-schichten figcaption { margin-top: 10px; font-size: 14px; color: var(--ls-tinte-2); }

/* ---------- Hinweise und Kästen im Text ---------- */
.ls-kurz { margin: 0 0 1.6em; padding: 20px 22px; border-radius: var(--ls-radius); background: var(--ls-thema-tint); border: 1px solid color-mix(in srgb, var(--ls-thema) 25%, transparent); }
.ls-kurz__name { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ls-thema); margin-bottom: 6px; }
.ls-kurz p:last-child { margin-bottom: 0; }
.ls-haken { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.ls-haken li { position: relative; padding-left: 30px; }
.ls-haken li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--ls-thema); border-bottom: 2.5px solid var(--ls-thema); transform: rotate(-45deg); }
.ls-grenze { padding: 16px 18px; border-radius: 12px; background: var(--ls-grund); border-left: 4px solid var(--ls-tinte-2); }
.ls-jan { display: grid; gap: 16px; align-items: center; margin: 2.2em 0; padding: 20px; border-radius: var(--ls-radius); border: 1px dashed color-mix(in srgb, #be185d 55%, transparent); background: #fbe9f1; color: var(--ls-tinte); }
@media (min-width: 640px) { .ls-jan { grid-template-columns: auto 1fr auto; } }
.ls-jan__zeichen { width: 48px; height: 48px; border-radius: 12px; background: #be185d; color: #fff; display: grid; place-items: center; font-weight: 800; }
.ls-jan p { margin: 0; font-size: .95em; }
.ls-jan strong { display: block; font-size: 1.05em; }
.ls-jan a { color: #9d174d; font-weight: 800; }

/* ---------- Faktenliste (Ort) ---------- */
.ls-fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 0 10px; }
.ls-fakten div { padding: 14px 16px; border-radius: 12px; background: var(--ls-papier); border: 1px solid var(--ls-linie); position: relative; }
.ls-fakten div::before { content: ""; position: absolute; left: 16px; top: 0; width: 24px; height: 3px; background: var(--ls-thema); border-radius: 0 0 3px 3px; }
.ls-fakten dt { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ls-tinte-2); }
.ls-fakten dd { margin: 4px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.ls-fakten dd small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ls-tinte-2); letter-spacing: 0; }
.ls-quelle { font-size: 14px; color: var(--ls-tinte-2); }

/* gezeichnete Karte Einzugsgebiet */
.ls-gebiet { margin: 2em 0; padding: 18px; border-radius: var(--ls-radius); background: var(--ls-grund); border: 1px solid var(--ls-linie); }
.ls-gebiet svg { width: 100%; }
.ls-gebiet figcaption { margin-top: 8px; font-size: 14px; color: var(--ls-tinte-2); }

/* Nachbarorte und Listen als Kacheln */
.ls-kacheln { list-style: none; padding: 0 !important; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ls-kacheln a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--ls-linie); background: var(--ls-papier); text-decoration: none; color: var(--ls-tinte); font-weight: 700; font-size: 16px; }
.ls-kacheln a:hover { border-color: var(--ls-thema); color: var(--ls-thema); }
.ls-kacheln span { color: var(--ls-tinte-2); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Fachportale als Kacheln mit Logo-Zeichen */
.ls-portalkacheln { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.ls-portalkacheln a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ls-linie); background: var(--ls-papier); color: var(--ls-tinte); text-decoration: none; }
.ls-portalkacheln a:hover { border-color: var(--ls-tinte-2); box-shadow: var(--ls-schatten); }
.ls-portalkacheln strong { display: block; font-size: 16px; }
.ls-portalkacheln small { display: block; color: var(--ls-tinte-2); font-size: 13.5px; line-height: 1.35; }

/* Häufige Fragen ohne JavaScript */
.ls-fragen details { border-bottom: 1px solid var(--ls-linie); }
.ls-fragen summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 800; position: relative; list-style: none; }
.ls-fragen summary::-webkit-details-marker { display: none; }
.ls-fragen summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--ls-thema); font-weight: 700; }
.ls-fragen details[open] summary::after { content: "\2212"; }
.ls-fragen details > div { padding: 0 0 16px; color: var(--ls-tinte); }

/* Preistabelle */
.ls-tabelle { width: 100%; border-collapse: collapse; font-size: .95em; margin: 0 0 1em; }
.ls-tabelle th, .ls-tabelle td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--ls-linie); vertical-align: top; }
.ls-tabelle th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ls-tinte-2); }
.ls-tabelle td.ls-zahl, .ls-tabelle th.ls-zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ls-tabelle tbody tr:hover { background: var(--ls-grund); }
.ls-tabelle small { display: block; color: var(--ls-tinte-2); }
.ls-tabelle-rahmen { overflow-x: auto; }

/* Personenplatzhalter (echtes Foto folgt) */
.ls-person { display: grid; gap: 18px; align-items: center; padding: 20px; border-radius: var(--ls-radius); background: var(--ls-grund); border: 1px solid var(--ls-linie); }
@media (min-width: 640px) { .ls-person { grid-template-columns: 140px 1fr; } }
.ls-person__foto { width: 140px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 12px; background: repeating-linear-gradient(135deg, var(--ls-grund-2) 0 10px, var(--ls-papier) 10px 20px); border: 2px dashed var(--ls-linie); color: var(--ls-tinte-2); font-size: 13px; font-weight: 700; }
.ls-person h2, .ls-person h3 { margin-bottom: 4px; font-size: 22px; }
.ls-person p { margin-bottom: 6px; }

/* Formular ohne JavaScript */
.ls-form { display: grid; gap: 14px; }
.ls-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.ls-form input, .ls-form textarea, .ls-form select { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #8794a6; background: #fff; color: var(--ls-tinte); width: 100%; }
.ls-form input:focus, .ls-form textarea:focus, .ls-form select:focus { outline: 3px solid color-mix(in srgb, var(--ls-thema) 45%, transparent); border-color: var(--ls-thema); }
.ls-form__zwei { display: grid; gap: 14px; }
@media (min-width: 640px) { .ls-form__zwei { grid-template-columns: 1fr 1fr; } }
.ls-form__hinweis { font-size: 14px; color: var(--ls-tinte-2); margin: 0; }
.ls-dunkel .ls-form label { color: var(--ls-nacht-text); }
.ls-dunkel .ls-form__hinweis { color: var(--ls-nacht-text-2); }
.ls-dunkel .ls-form__hinweis a { color: var(--ls-thema-hell); }

/* Glossar-Fenster beim Überfahren oder Antippen eines Fachbegriffs */
.ls-begriff { text-decoration: underline dotted; text-decoration-color: var(--ls-thema); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: help; border-radius: 2px; }
.ls-begriff:focus-visible { outline: 2px solid var(--ls-thema); outline-offset: 2px; }
.ls-begriff-fenster { position: absolute; z-index: 40; max-width: 340px; padding: 14px 16px; background: var(--ls-nacht); color: var(--ls-nacht-text); border: 1px solid var(--ls-nacht-linie); border-top: 3px solid var(--ls-thema-hell); border-radius: 10px; box-shadow: 0 20px 50px rgba(10, 14, 20, .35); font-size: 15px; line-height: 1.5; }
.ls-begriff-fenster strong { display: block; color: #fff; margin-bottom: 4px; font-size: 16px; }
.ls-begriff-fenster a { display: inline-block; margin-top: 8px; color: var(--ls-thema-hell); font-weight: 700; font-size: 14px; }

/* Glossar: Buchstabenleiste */
.ls-abc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ls-kasten .ls-abc li { border: 0; }
.ls-abc a { display: inline-grid; place-items: center; min-width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--ls-linie); text-decoration: none; font-weight: 800; color: var(--ls-tinte); background: var(--ls-papier); }
.ls-abc a:hover { border-color: var(--ls-thema); color: var(--ls-thema); }

/* Autor und Prüfung */
.ls-autor { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--ls-radius); border: 1px solid var(--ls-linie); margin-top: 2em; font-size: .92em; }
.ls-autor__zeichen { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ls-nacht); color: var(--ls-thema-hell); font-weight: 800; }
.ls-autor p { margin: 0 0 6px; color: var(--ls-tinte-2); }
.ls-autor strong { color: var(--ls-tinte); }

/* ---------- Fuß ---------- */
.ls-fuss { background: var(--ls-nacht); color: var(--ls-nacht-text-2); font-size: 15px; padding: 56px 0 28px; margin-top: 56px; border-top: 3px solid var(--ls-thema); }
main:has(> .ls-band--voll:last-child) + .ls-fuss { margin-top: 0; }
.ls-fuss h2 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.ls-fuss a { color: var(--ls-nacht-text); text-decoration: none; }
.ls-fuss a:hover { color: var(--ls-thema-hell); text-decoration: underline; }
.ls-fuss__raster { display: grid; gap: 32px; }
@media (min-width: 900px) { .ls-fuss__raster { grid-template-columns: 1.3fr 2fr 1fr; gap: 48px; } }
.ls-fuss ul { list-style: none; margin: 0; padding: 0; }
.ls-fuss li { margin-bottom: 8px; }
.ls-portale { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; }
.ls-portale a { display: flex; align-items: center; gap: 10px; }
.ls-portale small { display: block; color: var(--ls-nacht-text-2); font-size: 12.5px; line-height: 1.3; }
.ls-fuss__unten { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ls-nacht-linie); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }
.ls-fuss__unten ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ls-fuss__unten li { margin: 0; }
.ls-siegel { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--ls-nacht-linie); border-radius: 10px; color: var(--ls-nacht-text); font-size: 13.5px; line-height: 1.35; }
.ls-siegel::before { content: ""; width: 22px; height: 26px; flex: none; background: var(--ls-thema-hell); -webkit-mask: url('zeichen/schild.svg') center / contain no-repeat; mask: url('zeichen/schild.svg') center / contain no-repeat; }

/* ==========================================================================
   CMS-Ergänzungen (T2): Seitenkopf der Artikel, Seitenspalte, Formular, Glossar-Fenster des CMS,
   Bausteine der Kurzcodes (sm-*), die in neuen Texten vorkommen
   ========================================================================== */
.ls-main { display: block; }
.ls-start--seite { padding: 32px 0 44px; }
.ls-start--seite h1 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); }
@media (min-width: 980px) { .ls-start--seite { padding: 44px 0 56px; } }
.ls-start__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 22px 0 0; padding: 0; font-size: 14px; color: var(--ls-nacht-text-2); }
.ls-start__meta a { color: var(--ls-nacht-text); }
.ls-start .ls-start__bild figcaption { color: var(--ls-nacht-text-2); }
.ls-start figure.ls-start__bild img { width: 100%; }
.ls-start .ls-messreihe { margin-top: 32px; }
.ls-messreihe--sub .ls-mess__wert { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.ls-leiste__zeit { color: var(--ls-nacht-text-2); font-weight: 600; }
@media (max-width: 560px) { .ls-leiste__zeit { display: none; } .ls-leiste__portal { font-size: 12.5px; } }
.ls-marke .ls-zeichen { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.ls-marke__sub { max-width: 30ch; }

/* Lesespalte */
.ls-text--breit { max-width: none; }
.ls-text img { border-radius: var(--ls-radius-klein); }
.ls-text table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .92em; }
.ls-text th, .ls-text td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--ls-linie); vertical-align: top; }
.ls-text th { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--ls-tinte-2); }
.ls-text code { font-size: .88em; padding: 1px 5px; border-radius: 5px; background: var(--ls-grund-2); }
.ls-text blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--ls-thema); color: var(--ls-tinte); }
.ls-text hr { border: 0; border-top: 1px solid var(--ls-linie); margin: 2em 0; }
.ls-text mark { background: var(--ls-thema-tint); color: inherit; padding: 0 3px; border-radius: 3px; }
.ls-band__titel { scroll-margin-top: 16px; }
.ls-band--ende { margin-bottom: 1.6em; }
.ls-band .ls-form { margin-top: 8px; }
.ls-band .ls-form textarea { resize: vertical; }
.ls-band .ls-form .ls-knopf { justify-self: start; }
.ls-band .ls-form__hinweis a { color: var(--ls-thema-hell); }
.ls-falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ls-fragen-block { margin: 2.2em 0; }
.ls-fragen-block > h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.ls-stand { margin-top: 2em; }
.ls-start-ende { padding-top: 24px; }
.ls-start-ende > .ls-text { max-width: var(--ls-lesebreite); }

/* Seitenspalte */
.ls-kasten__tel { margin: 12px 0 0 !important; font-size: 14.5px; }
.ls-kasten--toc li a { font-weight: 600; font-size: 15px; }
@media (max-width: 1099px) { .ls-spalte { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); } }

/* Karten: Zeichen des Hosts auf der Ersatzfläche, Zeile unten */
.ls-karte__zeichen { width: 56px; height: 56px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 10px 30px rgba(0, 0, 0, .35); }
.ls-karte__meta { font-size: 13.5px; color: var(--ls-tinte-2); }
.ls-karte img.ls-karte__bild { display: block; }

/* Jan: Zeichen von media im Kasten */
.ls-jan__zeichen { display: block; width: 48px; height: 48px; }
.ls-jan__svg { width: 48px; height: 48px; border-radius: 12px; }
.ls-jan .ls-knopf { min-height: 44px; border-color: #be185d; color: #9d174d; }
.ls-jan .ls-knopf:hover { background: #fff; color: #9d174d; }

/* Portalkacheln und Fuß mit Logo-Zeichen */
.ls-portalkacheln .ls-zeichen, .ls-portale .ls-zeichen--klein { box-shadow: none; }
.ls-fuss__klein { display: block; font-size: 13px; color: var(--ls-nacht-text-2); }
.ls-portale a[aria-current="page"] { color: #fff; font-weight: 700; }

/* Bilder aus dem CMS (sm_figure) */
.sm-bild { margin: 2em 0; }
.sm-bild img { width: 100%; height: auto; border-radius: var(--ls-radius); background: var(--ls-grund-2); }
.sm-bild figcaption { margin-top: 8px; font-size: 14px; color: var(--ls-tinte-2); }
.sm-ki { white-space: nowrap; }
.sm-bild--portrait { max-width: 360px; }

/* Glossar-Fenster des CMS (abbr.sm-begriff, seomanager.js) im Leitstand-Stil */
abbr.sm-begriff { text-decoration: underline dotted; text-decoration-color: var(--ls-thema); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: help; border-radius: 2px; }
abbr.sm-begriff:focus-visible { outline: 2px solid var(--ls-thema); outline-offset: 2px; }
.sm-begriff-fenster { position: absolute; z-index: 40; display: block; max-width: 340px; padding: 14px 16px; background: var(--ls-nacht); color: var(--ls-nacht-text); border: 1px solid var(--ls-nacht-linie); border-top: 3px solid var(--ls-thema-hell); border-radius: 10px; box-shadow: 0 20px 50px rgba(10, 14, 20, .35); font-size: 15px; line-height: 1.5; }
.sm-begriff-fenster strong { display: block; color: #fff; margin-bottom: 4px; font-size: 16px; }
.sm-begriff-fenster a { display: inline-block; margin-top: 8px; color: var(--ls-thema-hell); font-weight: 700; font-size: 14px; }

/* Bausteine der Kurzcodes (neue Texte der Wellen) */
.sm-kasten { margin: 1.8em 0; padding: 20px 22px; border-radius: var(--ls-radius); background: var(--ls-thema-tint); border: 1px solid color-mix(in srgb, var(--ls-thema) 25%, transparent); }
.sm-kasten-titel { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ls-thema); margin: 0 0 6px; }
.sm-kasten p:last-child { margin-bottom: 0; }
.sm-quellen { margin-top: 2.4em; padding-top: 16px; border-top: 1px solid var(--ls-linie); font-size: 15px; }
.sm-quellen ol { padding-left: 1.4em; }
.sm-q { font-size: .75em; vertical-align: super; line-height: 0; }
.sm-tabelle-rahmen { overflow-x: auto; margin: 0 0 1.4em; }
.sm-tabelle { width: 100%; border-collapse: collapse; }
.sm-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; background: var(--ls-thema); color: #fff; font-weight: 800; text-decoration: none; }
.sm-btn:hover { background: color-mix(in srgb, var(--ls-thema) 82%, #000); }
.sm-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; }
.sm-chip { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ls-linie); background: var(--ls-papier); font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ls-tinte); }
.sm-karten-raster { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); list-style: none; margin: 0 0 1.6em; padding: 0 !important; }
.sm-karte > a { display: flex; flex-direction: column; height: 100%; border-radius: var(--ls-radius); overflow: hidden; background: var(--ls-papier); border: 1px solid var(--ls-linie); box-shadow: var(--ls-schatten); text-decoration: none; color: var(--ls-tinte); }
.sm-karte-bild { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ls-nacht); }
.sm-karte-bild--leer { display: grid; place-items: center; background: var(--ls-nacht) radial-gradient(70% 100% at 100% 0%, color-mix(in srgb, var(--ls-thema) 45%, transparent), transparent 70%); }
.sm-karte-inhalt { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.sm-karte-titel { font-weight: 800; font-size: 18px; line-height: 1.25; }
.sm-karte-text, .sm-karte-meta { font-size: 15px; color: var(--ls-tinte-2); }
.sm-marker { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ls-thema); }
.sm-suchseite-form input { font: inherit; font-size: 17px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #8794a6; width: 100%; max-width: 560px; }
.sm-suchseite-ergebnis { list-style: none; padding: 0 !important; }
.sm-suche-treffer[hidden] { display: none; }
.sr-only, .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Druck: Rahmen weglassen */
@media print {
    .ls-leiste, .ls-kopf, .ls-spalte, .ls-band, .ls-fuss, .ls-jan, .ls-aktionen { display: none !important; }
    .ls-start { background: none; color: #000; padding: 0; }
    .ls-start h1, .ls-start__lead { color: #000; }
}

/* Seiten aus Vorlagen des Kerns (Autorenübersicht): ruhiger Rahmen im Leitstand, bis der Seitenplan sie ersetzt */
main#main:not(.ls-main) { display: block; max-width: var(--ls-breite); margin: 0 auto; padding: 40px var(--ls-rand) 56px; }
main#main:not(.ls-main) h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
main#main:not(.ls-main) .page-hero { margin: 0 0 32px; padding: 32px; border-radius: 18px; background: var(--ls-nacht); color: var(--ls-nacht-text); }
main#main:not(.ls-main) .page-hero h1 { color: #fff; }
main#main:not(.ls-main) .page-hero-foto img, main#main:not(.ls-main) img { max-width: 160px; border-radius: 50%; }
main#main:not(.ls-main) .post-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); margin-top: 24px; }
main#main:not(.ls-main) .post-card, main#main:not(.ls-main) .sidebar-card { padding: 20px; border-radius: var(--ls-radius); border: 1px solid var(--ls-linie); box-shadow: var(--ls-schatten); }
main#main:not(.ls-main) .post-cat, main#main:not(.ls-main) .meta-pill, main#main:not(.ls-main) .au-tag { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; border-radius: 999px; background: var(--ls-thema-tint); font-size: 13px; font-weight: 700; }
main#main:not(.ls-main) .post-emoji { display: none; }
