/*
 * Grundstile der Core-Blöcke im Frontend. Farben, Schriften und Breiten kommen aus den
 * Design-Tokens des Themes (--cms-color-*, --cms-font-*, --cms-size-*); Themes ergänzen
 * oder überschreiben in ihrem eigenen CSS.
 */

.cms-content > * + * {
    margin-top: 1.25em;
}

.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

.cms-heading { font-family: var(--cms-font-heading, inherit); line-height: 1.25; }

.cms-list ul,
.cms-list ol,
.cms-markdown ul,
.cms-markdown ol { padding-left: 1.5em; }

.cms-list li + li { margin-top: 0.25em; }

.cms-quote {
    margin-inline: 0;
    padding-left: 1.25em;
    border-left: 3px solid var(--cms-color-primary, currentColor);
}

.cms-quote cite {
    display: block;
    margin-top: 0.5em;
    color: var(--cms-color-muted, inherit);
    font-size: 0.875em;
    font-style: normal;
}

.cms-code,
.cms-markdown pre {
    overflow-x: auto;
    padding: 1em;
    border-radius: var(--cms-size-radius, 0.5rem);
    background: var(--cms-color-surface, #f5f5f5);
    font-family: var(--cms-font-mono, monospace);
    font-size: 0.875em;
}

.cms-image,
.cms-gallery,
.cms-table,
.cms-embed { margin-inline: 0; }

.cms-image img,
.cms-gallery img {
    max-width: 100%;
    height: auto;
}

.cms-image.has-text-align-center img { margin-inline: auto; }
.cms-image.has-text-align-right img { margin-left: auto; }

.cms-image figcaption,
.cms-gallery figcaption,
.cms-table figcaption,
.cms-embed figcaption {
    margin-top: 0.5em;
    color: var(--cms-color-muted, inherit);
    font-size: 0.875em;
}

/* Copyright aus der Mediathek, hinter der Bildunterschrift. */
.cms-credit {
    display: block;
    font-size: 0.875em;
}

.cms-gallery {
    display: grid;
    grid-template-columns: repeat(var(--cms-gallery-columns, 3), minmax(0, 1fr));
    gap: 0.75rem;
}

.cms-gallery-item { margin: 0; }
.cms-gallery-item img { display: block; width: 100%; }
.cms-gallery.is-cropped .cms-gallery-item img { aspect-ratio: 1; object-fit: cover; }

@media (max-width: 600px) {
    /* Ohne eigene Spaltenzahl für Smartphones höchstens zwei Spalten. */
    .cms-gallery:not([class*='cms-m-cols-']) { grid-template-columns: repeat(min(2, var(--cms-gallery-columns, 3)), minmax(0, 1fr)); }
}

.cms-button-link {
    display: inline-block;
    padding: 0.625em 1.25em;
    border: 2px solid var(--cms-color-primary, currentColor);
    border-radius: var(--cms-size-radius, 0.5rem);
    background: var(--cms-color-primary, currentColor);
    color: var(--cms-color-primary-contrast, #fff);
    font-weight: 600;
    text-decoration: none;
}

.cms-button-link.is-style-outline {
    background: transparent;
    color: var(--cms-color-primary, currentColor);
}

.cms-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cms-columns.is-vertically-aligned-center { align-items: center; }
.cms-columns.is-vertically-aligned-bottom { align-items: flex-end; }

.cms-column {
    flex: 1 1 0;
    min-width: 0;
}

.cms-column > * + *,
.cms-group > * + * { margin-top: 1.25em; }

@media (max-width: 781px) {
    .cms-columns.is-stacked-on-mobile { flex-direction: column; grid-template-columns: minmax(0, 1fr); }
    .cms-columns.is-stacked-on-mobile > .cms-column { flex-basis: auto !important; }
}

.cms-separator {
    width: 6rem;
    margin-inline: auto;
    border: 0;
    border-top: 1px solid var(--cms-color-border, currentColor);
}

.cms-separator.is-style-wide { width: 100%; }

.cms-separator.is-style-dots {
    width: auto;
    border: 0;
    text-align: center;
}

.cms-separator.is-style-dots::before {
    content: '···';
    color: var(--cms-color-muted, inherit);
    font-size: 1.5em;
    letter-spacing: 1em;
}

.cms-table { overflow-x: auto; }

.cms-table table,
.cms-markdown table {
    width: 100%;
    border-collapse: collapse;
}

.cms-table th,
.cms-table td,
.cms-markdown th,
.cms-markdown td {
    padding: 0.5em 0.75em;
    border: 1px solid var(--cms-color-border, currentColor);
    text-align: left;
    vertical-align: top;
}

.cms-table th,
.cms-markdown th { background: var(--cms-color-surface, transparent); }

.cms-table.is-striped tbody tr:nth-child(even) td { background: var(--cms-color-surface, transparent); }

.cms-embed-placeholder {
    display: grid;
    gap: 0.75em;
    justify-items: start;
    padding: 1.5em;
    border: 1px dashed var(--cms-color-border, currentColor);
    border-radius: var(--cms-size-radius, 0.5rem);
    background: var(--cms-color-surface, transparent);
}

/* Auf farbigen Flächen (Darstellung → Hintergrund) übernehmen Umriss-Buttons die Textfarbe. */
.has-background .cms-button-link.is-style-outline {
    border-color: currentColor;
    color: inherit;
}

/* Kommentare; Farben und Abstände aus dem Theme, wenn es sie anbietet. */
.cms-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cms-comments {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--cms-color-border, #e2e8f0);
}

.cms-comment {
    display: grid;
    gap: 0.5rem;
    overflow-wrap: anywhere;
}

.cms-comment.is-reply {
    margin-top: 0.75rem;
    margin-left: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--cms-color-border, #e2e8f0);
}

.cms-comment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.625rem;
}

.cms-comment-head time,
.cms-comments-hint {
    color: var(--cms-color-muted, inherit);
    font-size: 0.875em;
}

.cms-comment-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--cms-color-surface, #f1f5f9);
    font-size: 0.8125rem;
    font-weight: 600;
}

.cms-comment-staff {
    padding: 0 0.5rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.75em;
}

.cms-comment-reply {
    font-size: 0.875em;
}

.cms-comment-form {
    display: grid;
    gap: 0.875rem;
}

.cms-comment-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.cms-comment-form input:not([type='hidden']),
.cms-comment-form textarea {
    width: 100%;
    padding: 0.5rem 0.625rem;
    border: 1px solid var(--cms-color-border, #cbd5e1);
    border-radius: 0.375rem;
    background: transparent;
    color: inherit;
    font: inherit;
}

.cms-comment-form button {
    padding: 0.5rem 1.25rem;
    border: 0;
    border-radius: 0.375rem;
    background: var(--cms-color-primary, #1d4ed8);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.cms-comments-notice {
    padding: 0.625rem 0.875rem;
    border-radius: 0.375rem;
    background: var(--cms-color-surface, #f1f5f9);
}

.cms-comments-error {
    display: block;
    margin-top: 0.25rem;
    color: #b91c1c;
    font-size: 0.875em;
}

/* Breiten der Gruppe: volle Breite bricht aus der Inhaltsspalte aus. */
body { overflow-x: clip; }

.cms-group.is-width-full {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.cms-group.is-width-wide {
    --cms-wide: calc(min(var(--cms-size-wide, 72rem), 100vw) - 2 * var(--cms-size-gutter, 1.25rem));
    width: var(--cms-wide);
    max-width: var(--cms-wide);
    margin-inline: calc((100% - var(--cms-wide)) / 2);
}

.cms-group-inner { margin-inline: auto; padding-inline: var(--cms-size-gutter, 1.25rem); }
.cms-group-inner.is-content { max-width: calc(var(--cms-size-content, 44rem) + 2 * var(--cms-size-gutter, 1.25rem)); }
.cms-group-inner.is-wide { max-width: var(--cms-size-wide, 72rem); }
.cms-group-inner > * + * { margin-top: 1.25em; }
.cms-group > .cms-group-inner + .cms-group-link { margin: 0; }

/* Mit Flex oder Grid regelt gap die Abstände der inneren Blöcke. */
.cms-group.has-layout > * + *,
.cms-group.has-layout > .cms-group-inner > * + * { margin-top: 0; }
.cms-group.has-layout > .cms-group-link { margin: 0; }

.cms-content > .is-width-full + .is-width-full { margin-top: 0; }

/* Ganze Gruppe verlinkt: unsichtbarer Link über die Fläche. */
.cms-group.has-link { position: relative; }
.cms-group-link { position: absolute; inset: 0; z-index: 1; }

.cms-icon { line-height: 0; }
.cms-icon svg { display: inline-block; }

.cms-shape { line-height: 0; }
.cms-shape.is-flipped svg { transform: scaleY(-1); }
.cms-shape svg { display: block; }

.cms-accordion { display: grid; gap: 0.5rem; }

.cms-accordion-item {
    border: 1px solid var(--cms-color-border, #e2e8f0);
    border-radius: var(--cms-size-radius, 0.5rem);
}

.cms-accordion-item > summary {
    padding: 0.75rem 1rem;
    font-weight: 600;
    cursor: pointer;
}

.cms-accordion-content { padding: 0 1rem 1rem; }
.cms-accordion-content > * + * { margin-top: 0.75em; }

.cms-tabs-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cms-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    border-bottom: 1px solid var(--cms-color-border, #e2e8f0);
}

.cms-tabs-nav > label {
    padding: 0.5rem 0.25rem;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.cms-tabs-panels { padding-top: 1rem; }
.cms-tabs-panels > .cms-tab { display: none; }
.cms-tab > * + * { margin-top: 1em; }
.cms-tabs-input:nth-of-type(1):checked ~ .cms-tabs-panels > :nth-child(1){display:block}
.cms-tabs-input:nth-of-type(1):checked ~ .cms-tabs-nav > :nth-child(1){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(1):focus-visible ~ .cms-tabs-nav > :nth-child(1){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(2):checked ~ .cms-tabs-panels > :nth-child(2){display:block}
.cms-tabs-input:nth-of-type(2):checked ~ .cms-tabs-nav > :nth-child(2){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(2):focus-visible ~ .cms-tabs-nav > :nth-child(2){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(3):checked ~ .cms-tabs-panels > :nth-child(3){display:block}
.cms-tabs-input:nth-of-type(3):checked ~ .cms-tabs-nav > :nth-child(3){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(3):focus-visible ~ .cms-tabs-nav > :nth-child(3){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(4):checked ~ .cms-tabs-panels > :nth-child(4){display:block}
.cms-tabs-input:nth-of-type(4):checked ~ .cms-tabs-nav > :nth-child(4){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(4):focus-visible ~ .cms-tabs-nav > :nth-child(4){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(5):checked ~ .cms-tabs-panels > :nth-child(5){display:block}
.cms-tabs-input:nth-of-type(5):checked ~ .cms-tabs-nav > :nth-child(5){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(5):focus-visible ~ .cms-tabs-nav > :nth-child(5){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(6):checked ~ .cms-tabs-panels > :nth-child(6){display:block}
.cms-tabs-input:nth-of-type(6):checked ~ .cms-tabs-nav > :nth-child(6){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(6):focus-visible ~ .cms-tabs-nav > :nth-child(6){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(7):checked ~ .cms-tabs-panels > :nth-child(7){display:block}
.cms-tabs-input:nth-of-type(7):checked ~ .cms-tabs-nav > :nth-child(7){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(7):focus-visible ~ .cms-tabs-nav > :nth-child(7){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(8):checked ~ .cms-tabs-panels > :nth-child(8){display:block}
.cms-tabs-input:nth-of-type(8):checked ~ .cms-tabs-nav > :nth-child(8){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(8):focus-visible ~ .cms-tabs-nav > :nth-child(8){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(9):checked ~ .cms-tabs-panels > :nth-child(9){display:block}
.cms-tabs-input:nth-of-type(9):checked ~ .cms-tabs-nav > :nth-child(9){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(9):focus-visible ~ .cms-tabs-nav > :nth-child(9){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(10):checked ~ .cms-tabs-panels > :nth-child(10){display:block}
.cms-tabs-input:nth-of-type(10):checked ~ .cms-tabs-nav > :nth-child(10){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(10):focus-visible ~ .cms-tabs-nav > :nth-child(10){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(11):checked ~ .cms-tabs-panels > :nth-child(11){display:block}
.cms-tabs-input:nth-of-type(11):checked ~ .cms-tabs-nav > :nth-child(11){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(11):focus-visible ~ .cms-tabs-nav > :nth-child(11){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}
.cms-tabs-input:nth-of-type(12):checked ~ .cms-tabs-panels > :nth-child(12){display:block}
.cms-tabs-input:nth-of-type(12):checked ~ .cms-tabs-nav > :nth-child(12){border-bottom-color:var(--cms-color-primary,#1d4ed8);font-weight:600}
.cms-tabs-input:nth-of-type(12):focus-visible ~ .cms-tabs-nav > :nth-child(12){outline:2px solid var(--cms-color-primary,#1d4ed8);outline-offset:2px}

.cms-query {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.cms-query-card { display: grid; gap: 0.5rem; align-content: start; }
.cms-query-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--cms-size-radius, 0.5rem); }
.cms-query-title { font-size: 1.25rem; }
.cms-query-date { color: var(--cms-color-muted, inherit); font-size: 0.875em; }

@media (width <= 640px) {
    .cms-query { grid-template-columns: minmax(0, 1fr); }
}

/* Formulare; Farben und Abstände aus dem Theme. */
.cms-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cms-form-field { grid-column: 1 / -1; min-width: 0; }
.cms-form-field.is-half { grid-column: auto; }

.cms-form-field > label:not(.cms-form-choice),
.cms-form-field legend {
    display: block;
    margin-bottom: 0.25rem;
    padding: 0;
    font-weight: 600;
}

.cms-form-field fieldset { margin: 0; padding: 0; border: 0; }

.cms-form-field input:not([type='checkbox'], [type='radio']),
.cms-form-field textarea,
.cms-form-field select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--cms-color-border, #cbd5e1);
    border-radius: var(--cms-size-radius, 0.375rem);
    background: var(--cms-color-background, #fff);
    color: var(--cms-color-text, inherit);
    font: inherit;
}

.cms-form-field.has-error input:not([type='checkbox'], [type='radio']),
.cms-form-field.has-error textarea,
.cms-form-field.has-error select { border-color: #b91c1c; }

.cms-form-choice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.cms-form-choice input { flex: none; margin-top: 0.35em; accent-color: var(--cms-color-primary, currentColor); }

.cms-form-help,
.cms-form-error {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
}

.cms-form-help { color: var(--cms-color-muted, inherit); }
.cms-form-error { color: #b91c1c; }
.cms-form-turnstile { margin-top: var(--cms-space-m, 1.5rem); min-height: 65px; }

.cms-form-actions {
    display: flex;
    flex-flow: row-reverse wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.cms-form-progress { margin-bottom: 1.25rem; }
.cms-form-progress p { margin-bottom: 0.375rem; font-weight: 600; }
.cms-form-progress progress { display: block; width: 100%; height: 0.5rem; accent-color: var(--cms-color-primary, currentColor); }
button.cms-button-link { cursor: pointer; font: inherit; font-weight: 600; }
button.cms-button-link:disabled { cursor: not-allowed; opacity: 0.6; }

.cms-form-success {
    padding: 1rem 1.25rem;
    border: 1px solid var(--cms-color-primary, currentColor);
    border-radius: var(--cms-size-radius, 0.5rem);
}

@media (max-width: 640px) {
    .cms-form-field.is-half { grid-column: 1 / -1; }
}

/* HTML-Sitemap */
.cms-sitemap h2 { margin-top: 1.5rem; font-size: 1.25rem; }
.cms-sitemap ul { padding-left: 1.25rem; }
.cms-sitemap li + li { margin-top: 0.25rem; }
.cms-sitemap time { margin-left: 0.5rem; color: var(--cms-color-muted, inherit); font-size: 0.875em; }

/* Breadcrumbs, Inhaltsverzeichnis, Anleitung, Kontaktdaten */
.cms-breadcrumbs { font-size: 0.875em; color: var(--cms-color-muted, inherit); }
.cms-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; padding: 0; list-style: none; }
.cms-breadcrumbs li { display: inline-flex; gap: 0.5rem; }

.cms-toc { padding: 1rem 1.25rem; border: 1px solid var(--cms-color-border, #e2e8f0); border-radius: var(--cms-size-radius, 0.5rem); }
.cms-toc-title { margin-bottom: 0.5rem; font-weight: 600; }
.cms-toc ul, .cms-toc ol { margin: 0; padding-left: 1.25rem; }
.cms-toc li + li { margin-top: 0.25rem; }
.cms-toc .is-level-3 { margin-left: 1rem; }
.cms-toc .is-level-4 { margin-left: 2rem; }

.cms-howto-time { color: var(--cms-color-muted, inherit); font-size: 0.875em; }
.cms-howto-steps { display: grid; gap: 1rem; margin: 0.75rem 0 0; padding-left: 1.5rem; }
.cms-howto-step-title { margin-bottom: 0.25rem; font-size: 1.125em; }
.cms-howto-step-content > * + * { margin-top: 0.75em; }

.cms-contact-info > * + * { margin-top: 0.5rem; }
.cms-contact-info address { font-style: normal; }
.cms-contact-name { font-weight: 600; }
.cms-contact-hours { display: grid; grid-template-columns: auto 1fr; gap: 0.125rem 1rem; margin: 0; }
.cms-contact-hours dd { margin: 0; }

/* Einwilligung; Farben und Abstände aus dem Theme, wenn es sie anbietet. */
.cms-embed-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--cms-size-radius, 0.5rem);
}

.cms-consent {
    position: fixed;
    inset-inline: 1rem;
    bottom: 1rem;
    z-index: 1000;
    max-width: 40rem;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    margin-inline: auto;
    padding: 1.25rem;
    border: 1px solid var(--cms-color-border, currentColor);
    border-radius: var(--cms-size-radius, 0.5rem);
    background: var(--cms-color-background, #fff);
    color: var(--cms-color-text, #111);
    box-shadow: 0 16px 40px rgb(0 0 0 / 0.16);
}

.cms-consent[hidden] { display: none; }

.cms-consent p,
.cms-consent-dialog p { margin: 0 0 0.75em; }

.cms-consent-title {
    font-size: 1.125em;
    font-weight: 600;
}

.cms-consent-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.cms-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

/* Alle Wahlmöglichkeiten sehen gleich aus: Ablehnen darf nicht schwerer sein als Zustimmen. */
.cms-consent-button {
    flex: 1 1 auto;
    padding: 0.6em 1em;
    border: 1px solid currentColor;
    border-radius: var(--cms-size-radius, 0.5rem);
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.cms-consent-button:hover { background: var(--cms-color-surface, rgb(0 0 0 / 0.05)); }

.cms-consent-dialog {
    width: min(40rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 1.25rem;
    border: 1px solid var(--cms-color-border, currentColor);
    border-radius: var(--cms-size-radius, 0.5rem);
    background: var(--cms-color-background, #fff);
    color: var(--cms-color-text, #111);
}

.cms-consent-dialog::backdrop { background: rgb(0 0 0 / 0.5); }

.cms-consent-group {
    margin: 0 0 1em;
    padding: 0.75em 1em;
    border: 1px solid var(--cms-color-border, currentColor);
    border-radius: var(--cms-size-radius, 0.5rem);
}

.cms-consent-group legend {
    padding-inline: 0.25em;
    font-weight: 600;
}

.cms-consent-muted {
    color: var(--cms-color-muted, inherit);
    font-size: 0.875em;
}

.cms-consent-service { margin-top: 0.5em; }

.cms-consent-service details {
    margin-inline-start: 1.5em;
    font-size: 0.875em;
}

.cms-consent-link {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.cms-consent-link[hidden],
[data-cms-embed-load][hidden] { display: none; }

/* Suche */
.cms-search { display: grid; gap: 0.5em; }
.cms-search-row { display: flex; flex-wrap: wrap; gap: 0.5em; }
.cms-search-row input {
    flex: 1 1 14em;
    min-width: 0;
    padding: 0.6em 0.8em;
    border: 1px solid var(--cms-color-border, currentColor);
    border-radius: var(--cms-size-radius, 0.5rem);
    background: var(--cms-color-background, #fff);
    color: inherit;
    font: inherit;
}
.cms-search-row button { cursor: pointer; font: inherit; }
.is-search mark { background: var(--cms-color-surface, #ff0); color: inherit; font-weight: 600; }
