/* Darstellung der CMS-Bloecke (Website) - nur Klassen, keine Inline-Stile (CSP style-src 'self') */
.cms-inhalt { padding: 2rem 1rem 3rem; max-width: 960px; margin: 0 auto; }
.cms-inhalt > section, .cms-inhalt > figure, #cms-zusatz section, #cms-zusatz figure { margin: 0 0 2.5rem; }
.cms-hero { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; padding: 2rem 0; }
@media (min-width: 800px) { .cms-hero { grid-template-columns: 3fr 2fr; } }
.cms-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 1rem; }
.cms-lead { font-size: 1.15rem; line-height: 1.6; }
.cms-aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.cms-hero-bild img, .cms-bild img { width: 100%; height: auto; border-radius: 12px; object-fit: cover; display: block; }
.cms-bild { margin: 0; }
.cms-bild.breit { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.cms-bild figcaption, .cms-video figcaption { font-size: .9rem; opacity: .8; margin-top: .5rem; }
.cms-credit { display: block; font-size: .75rem; opacity: .7; }
.cms-video video { width: 100%; max-height: 70vh; border-radius: 12px; background: #000; }
.cms-raster { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cms-karte { border: 1px solid rgba(127,127,127,.25); border-radius: 12px; padding: 1.25rem; }
.cms-icon { font-size: 1.6rem; margin-bottom: .5rem; }
.cms-faq details, .cms-download details, .cms-transkript { border: 1px solid rgba(127,127,127,.25); border-radius: 10px; padding: .75rem 1rem; margin: .5rem 0; }
.cms-faq summary, .cms-download summary, .cms-transkript summary { cursor: pointer; font-weight: 600; }
.cms-cta { text-align: center; padding: 2rem 1rem; border-radius: 16px; background: rgba(0,122,255,.08); }
.cms-download { border: 1px solid rgba(127,127,127,.25); border-radius: 12px; padding: 1.25rem; }
.cms-pruefsumme code { word-break: break-all; font-size: .8rem; }
.cms-dokumente ul { padding-left: 1.2rem; }
.cms-hinweise { position: relative; z-index: 50; }
.cms-hinweis { padding: .75rem 1rem; border-bottom: 1px solid rgba(0,0,0,.1); font-size: .95rem; }
.cms-hinweis p { margin: .25rem 0 0; }
.cms-hinweis.stoerung { background: #ffe5e5; color: #5c0000; }
.cms-hinweis.wartung { background: #fff4d6; color: #4a3500; }
.cms-hinweis.info { background: #e6f0ff; color: #0b2a5b; }
#cms-zusatz[hidden] { display: none; }
#cms-zusatz { padding: 2rem 0; }
.rechtsseite .cms-text h2 { margin-top: 1.5rem; }

/* Sprachumschalter DE/EN/ES (Website, Rechtsseiten) – 44 px Zielgroesse, aktuelle Sprache fett */
.sprachwahl { display: flex; justify-content: flex-end; gap: 0.25rem; padding: 0.25rem 1rem; font-size: 0.95rem; }
.sprachwahl a { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-width: 44px; min-height: 44px; text-decoration: underline; text-underline-offset: 2px; color: inherit; }
.sprachwahl a[aria-current="page"] { font-weight: 700; text-decoration: none; }
.sprachwahl a:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.sprachwahl a[href*="/de/"]::before { content: "🇩🇪"; font-size: 1.1em; }
.sprachwahl a[href*="/en/"]::before { content: "🇬🇧"; font-size: 1.1em; }
.sprachwahl a[href*="/es/"]::before { content: "🇪🇸"; font-size: 1.1em; }
.sprachwahl a[href="/"]::before { content: "🇩🇪"; font-size: 1.1em; }
.sprachwahl a[href="/en/"]::before { content: "🇬🇧"; font-size: 1.1em; }
.sprachwahl a[href="/es/"]::before { content: "🇪🇸"; font-size: 1.1em; }
.sprachwahl a[href="/handy"]::before { content: "🇩🇪"; font-size: 1.1em; }
.sprachwahl a[href="/en/handy"]::before { content: "🇬🇧"; font-size: 1.1em; }
.sprachwahl a[href="/es/handy"]::before { content: "🇪🇸"; font-size: 1.1em; }
.sprachwahl a[href="/anleitung"]::before { content: "🇩🇪"; font-size: 1.1em; }
.sprachwahl a[href="/en/anleitung"]::before { content: "🇬🇧"; font-size: 1.1em; }
.sprachwahl a[href="/es/anleitung"]::before { content: "🇪🇸"; font-size: 1.1em; }

/* Installations-Seite /handy */
.hd-qr { max-width: 220px; margin: 0.5rem 0; }
.hd-qr svg { width: 100%; height: auto; background: #fff; padding: 8px; border-radius: 8px; }
.btn-link { background: none; border: 0; padding: 0.25rem 0; min-height: 44px; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
[data-plattform] ol, [data-plattform] ul { padding-left: 1.3em; }

/* Anleitung mit Bildern (/anleitung) */
.anl-toc { margin: 0.75rem 0 1.25rem; line-height: 1.9; }
.anl-schritte { padding-left: 1.4em; }
.anl-schritte > li { margin: 0 0 1.5rem; }
.anl-fig { margin: 0.25rem 0 0; }
.anl-fig img { display: block; width: 100%; max-width: 340px; height: auto; border: 1px solid rgba(0,0,0,.12); border-radius: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.08); background: #fff; }
.anl-fig a { display: inline-block; }
.anl-fig figcaption { margin-top: 0.6rem; max-width: 60ch; }
.anl-hilfe dt { font-weight: 600; margin-top: 0.9rem; }
.anl-hilfe dd { margin: 0.2rem 0 0; }
.anl h3 { margin-top: 1.25rem; }

/* Hilfe / haeufige Fragen (/hilfe) */
.hf-suche { margin: 0.75rem 0 0.25rem; }
.hf-label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.hf-suche input { width: 100%; min-height: 44px; font: inherit; padding: 0.55rem 0.75rem; border: 1px solid rgba(0,0,0,.25); border-radius: 10px; }
.hf-gruppe h2 { margin-top: 1.4rem; }
.hf-frage { border-top: 1px solid rgba(0,0,0,.1); padding: 0.2rem 0; }
.hf-frage summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.hf-antwort { padding: 0 0 0.6rem; }
