@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../Fonts/open-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../Fonts/open-sans-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../Fonts/open-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../Fonts/open-sans-700.woff2") format("woff2"); }
/* Ersatzschrift bis Open Sans geladen ist: Arial auf Breite und Zeilenhoehe von Open Sans gebracht (gemessen je Staerke),
   damit beim Tausch kein Text springt (CLS). Open Sans: Ober-/Unterlaenge 2189/600 von 2048 Einheiten. */
@font-face { font-family: "Open Sans Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 104.55%; ascent-override: 102.23%; descent-override: 28.02%; line-gap-override: 0%; }
@font-face { font-family: "Open Sans Fallback"; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); size-adjust: 100.84%; ascent-override: 106%; descent-override: 29.05%; line-gap-override: 0%; }
@font-face { font-family: "Open Sans Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); size-adjust: 104.33%; ascent-override: 102.45%; descent-override: 28.08%; line-gap-override: 0%; }

:root {
    --color-primary: #0066bb;
    --color-primary-dark: #004f91;
    --color-accent: #00cccb; /* nur dekorativ: 2,0:1 auf Weiß */
    --color-text: #333;
    --color-nav: #003c6f;
    --color-panel: #004a88;
    --color-surface: #fff;
    --color-surface-tint: #eef4fa;
    --color-box: #eaeaea;
    --color-border: #6b7680;
    --color-footer: #003c6f;
    /* 1200 px Inhaltsbreite wie im Original */
    --container: calc(66.667rem + 2 * var(--gutter));
    --gutter: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }

/* 112,5 % ergibt 18 px und respektiert die Schriftgröße im Browser */
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--color-surface);
    color: var(--color-text);
    font-family: "Open Sans", "Open Sans Fallback", Arial, sans-serif;
    line-height: 1.6;
    overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { color: var(--color-primary); font-weight: 600; line-height: 1.25; }

a { color: var(--color-primary); text-underline-offset: .15em; }
a:hover { color: var(--color-primary-dark); }

:focus-visible { outline: 3px solid var(--color-primary-dark); outline-offset: 2px; }
main:focus { outline: none; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
    position: absolute;
    top: -100vh;
    left: var(--gutter);
    z-index: 100;
    padding: .75rem 1rem;
    background: var(--color-primary-dark);
    color: #fff;
}
.skip-link:focus { top: var(--gutter); color: #fff; outline-color: var(--color-primary-dark); }

.site-header { position: relative; background: var(--color-surface); }
.site-header__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem 1rem;
    align-items: center;
    padding-block: .889rem;
}
.site-header__logo { display: block; justify-self: start; }
.site-header__logo img { display: block; width: 13.333rem; }

.menu-toggle {
    position: relative;
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-panel);
    cursor: pointer;
}
.js .menu-toggle { display: block; }
.menu-toggle:hover, .menu-toggle:focus-visible { color: #0082ee; } /* 3,9:1 auf Weiss, fuer Grafik genuegen 3:1 */
.menu-toggle__bars { position: absolute; top: 50%; left: .125rem; width: 2.5rem; height: .222rem; margin-top: -.111rem; background: currentColor; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    content: "";
    transition: top .3s ease-in-out, transform .3s ease-in-out;
}
.menu-toggle__bars::before { top: -.556rem; }
.menu-toggle__bars::after { top: .556rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(135deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 0; transform: rotate(-135deg); }
@media (prefers-reduced-motion: reduce) {
    .menu-toggle__bars::before, .menu-toggle__bars::after { transition: none; }
}

.shortlinks { grid-column: 1 / -1; margin: .583rem 0 2rem; padding-top: .889rem; border-top: 2px solid var(--color-primary); }
.shortlinks__list { display: grid; gap: .667rem; margin: 0; padding: 0; list-style: none; }
.shortlinks__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .444rem;
    min-height: 2.556rem;
    padding: .667rem .889rem;
    border: 1px solid var(--color-primary);
    font-size: .778rem;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .25s ease-in-out;
}
.shortlinks__link:hover, .shortlinks__link:focus-visible { background: var(--color-primary); color: #fff; }
.shortlinks__link::after {
    content: "";
    flex: none;
    width: 1em;
    height: 1em;
    background: currentColor;
    mask: var(--icon) center / contain no-repeat;
}
.shortlinks li:nth-child(1) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 10V7a6 6 0 0 0-12 0v3H4v12h16V10zM8 10V7a4 4 0 0 1 8 0v3z'/%3E%3C/svg%3E"); }
.shortlinks li:nth-child(2) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='7' r='5'/%3E%3Cpath d='M0 22c0-6 4-8 9-8s9 2 9 8zM19 7V4h2v3h3v2h-3v3h-2V9h-3V7z'/%3E%3C/svg%3E"); }
/* Brief fuellt die Flaeche aus wie das Schriftsymbol im Original */
.shortlinks li:nth-child(3) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 3h24v2.4L12 13.2 0 5.4zm0 5 12 7.8L24 8v13H0z'/%3E%3C/svg%3E"); }

@media (max-width: 61.99em) {
    .menu-toggle[aria-expanded="true"] ~ .shortlinks { display: none; }
}

@media (min-width: 48em) {
    .shortlinks__list { grid-auto-flow: column; justify-content: start; gap: 1.333rem; }
}
/* Tablet: Abstaende wie im Original (dort 14-px-Grundschrift); die Buttons bleiben fuer genug Klickflaeche groesser */
@media (min-width: 48em) and (max-width: 61.99em) {
    .shortlinks { padding-top: .611rem; margin-bottom: 1.056rem; }
}

.main-bar { display: none; background: var(--color-nav); }
.main-bar__list, .sub-bar__list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.main-bar__list { margin-inline: -.667rem; }
.main-bar__link {
    display: block;
    padding: .889rem .667rem;
    color: #fff;
    font-size: .889rem;
    letter-spacing: .056rem;
    line-height: 1.25;
    text-decoration: none;
    text-transform: uppercase;
}
.main-bar__link:hover { background: var(--color-primary-dark); color: #fff; }
.main-bar__link.is-active { background: var(--color-primary); color: #fff; }
.main-bar :focus-visible, .sub-bar :focus-visible, .menu-panel :focus-visible { outline-color: #fff; outline-offset: -3px; }

.sub-bar { display: none; background: var(--color-primary); }
.sub-bar__list { margin-inline: -.889rem; }
.sub-bar__link {
    display: block;
    padding: .889rem;
    color: #fff;
    font-size: .889rem;
    line-height: 1.25;
    text-decoration: none;
    text-decoration-thickness: 1px;
    text-underline-offset: .3em;
}
/* wie im Original: unterstrichen nur beim Ueberfahren, die aktive Seite traegt aria-current */
.sub-bar__link:hover, .sub-bar__link:focus-visible { background: none; color: #fff; text-decoration-line: underline; }

@media (min-width: 62em) {
    .main-bar, .sub-bar { display: block; }
    .site-header__top { grid-template-columns: auto minmax(0, 1fr) auto; }
    .shortlinks { grid-column: 2; grid-row: 1; align-self: end; margin: 0; padding-top: 0; border-top: 0; }
    .shortlinks__list { justify-content: center; }
    .menu-toggle { grid-column: 3; }
}
@media (min-width: 78.75em) {
    .main-bar__list { margin-inline: -1.333rem; }
    .main-bar__link { padding-inline: 1.333rem; }
}

/* Bei offenem Menue ueberdeckt das Panel die Leisten wie im Original; alle Punkte stehen auch im Panel */
.site-header:has(.menu-toggle[aria-expanded="true"]) :is(.main-bar, .sub-bar) { display: none; }
.menu-panel { position: absolute; top: 100%; left: 0; z-index: 60; width: 100%; padding-block: 1.333rem 2rem; background: var(--color-panel); color: #fff; }
.js .menu-panel[hidden] { display: none; }
/* Ohne JavaScript steht das Menue offen im Fluss; hidden kommt schon im HTML, damit es mit JS nie kurz aufklappt */
html:not(.js) .menu-panel { position: static; }
html:not(.js) .menu-panel[hidden] { display: block; }
.menu-panel ul { margin: 0; padding: 0; list-style: none; }
.menu-panel a { color: #fff; text-decoration: none; }
.menu-panel a:hover { text-decoration: underline; }
.menu-panel__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.menu-panel__item { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; }
.menu-panel__title {
    flex: 1 1 0;
    min-width: 0;
    padding: .889rem 0;
    font-size: .889rem;
    font-weight: 600;
    letter-spacing: .056rem;
    line-height: 1.25;
    text-transform: uppercase;
}
.menu-panel__toggle {
    position: relative;
    flex: none;
    width: 4.111rem;
    min-height: 2.75rem;
    border: 0;
    border-left: 2px solid #fff;
    background: none;
    color: #fff;
    cursor: pointer;
}
.menu-panel__toggle::before, .menu-panel__toggle::after {
    position: absolute;
    top: 50%;
    right: .889rem;
    width: .889rem;
    height: 2px;
    background: currentColor;
    content: "";
    transform: translateY(-50%);
}
.menu-panel__toggle::after { transform: translateY(-50%) rotate(90deg); }
.menu-panel__toggle[aria-expanded="true"]::after { display: none; }
.menu-panel__sub { flex-basis: 100%; padding: 0 0 .444rem; }
.js .menu-panel__sub { display: none; }
.js .menu-panel__sub.is-open { display: block; }
.menu-panel__sub a { display: block; padding: .667rem 0; font-size: .889rem; line-height: 1.4; }
.menu-panel__sub .news-list-view { margin-bottom: 0; }
.menu-panel__contact { margin-top: 1.333rem; padding-top: 1.333rem; border-top: 2px solid #fff; }
.menu-panel__label { margin: 0 0 1.333rem; font-size: .778rem; font-weight: 600; letter-spacing: .056rem; text-transform: uppercase; }
.menu-panel__contact ul { display: flex; flex-wrap: wrap; gap: .25rem 1.333rem; }
.menu-panel__legal { display: flex; flex-wrap: wrap; gap: .25rem .889rem; }
.menu-panel__contact a, .menu-panel__legal a { display: flex; align-items: center; gap: .667rem; padding: .444rem 0; font-size: .778rem; }
.menu-panel__contact a::before {
    flex: none;
    width: .889rem;
    height: .889rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fff'/%3E%3Crect x='10.5' y='10' width='3' height='8' rx='.5' fill='%23004a88'/%3E%3Ccircle cx='12' cy='6.5' r='1.8' fill='%23004a88'/%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
}
.menu-panel__legal { margin-top: 1.333rem !important; padding-top: 1.333rem !important; border-top: 2px solid #fff; }

@media (min-width: 62em) {
    .menu-panel { padding-top: 3.278rem; }
    .menu-panel__grid { display: block; columns: 4; column-gap: 1.333rem; }
    .menu-panel__item { display: block; margin-bottom: 2.222rem; break-inside: avoid; }
    .menu-panel__toggle { display: none; }
    .js .menu-panel__sub { display: block; }
    .menu-panel__sub { margin-top: .444rem; padding: 0; }
    .menu-panel__sub a { padding: .444rem 0 0; font-size: .8rem; }
    /* Spaltenaufteilung wie im Original: Aktuelles | Ueber uns, Berichte | Fragen, Gruppen | Kinder, Foerdern */
    .menu-panel__item:is(:nth-child(2), :nth-child(4), :nth-child(6)) { break-before: column; }
}
@media (min-width: 78.75em) {
    /* breit: Aktuelles | Ueber uns | Berichte | Fragen, Gruppen | Kinder, Foerdern */
    .menu-panel__grid { columns: 6; }
    .menu-panel__item:nth-child(3) { break-before: column; }
}
/* Offenes Menue: wie im Original nur Kopf und Menue, Inhalt und Footer sind weg (navigation.js setzt .menu-open) */
.menu-open :is(.page-hero, .site-main, .site-footer, .floating-button) { display: none; }
/* Offenes Menue deckt wie im Original den ganzen Bildschirm ab */
.js .menu-panel:not([hidden]) { box-sizing: border-box; min-height: calc(100vh - var(--menu-top, 0px)); min-height: calc(100dvh - var(--menu-top, 0px)); }

/* Schwebe-Buttons wie im Original (48 px, dunkel, duennes Icon); deckend mit weissem Ring statt opacity .8,
   damit sie auch ueber dem Footer erkennbar sind (WCAG 1.4.11) */
.floating-button {
    position: fixed;
    right: .889rem;
    z-index: 40;
    width: 2.667rem;
    height: 2.667rem;
    background: #222;
    color: #fff;
    box-shadow: 0 0 0 1px rgb(255 255 255 / .9);
    transition: background-color .4s ease;
}
.floating-button::after {
    position: absolute;
    inset: .778rem;
    background: currentColor;
    content: "";
    mask: var(--icon) center / contain no-repeat;
}
.floating-button:hover { background: var(--color-primary); color: #fff; }
.floating-button:focus-visible { outline: 3px solid #fff; outline-offset: 0; box-shadow: 0 0 0 6px var(--color-primary-dark); }
.floating-button--contact { bottom: .889rem; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1.75' y='4.75' width='20.5' height='14.5' rx='1.5'/%3E%3Cpath d='m2.5 5.75 9.5 7.25 9.5-7.25'/%3E%3C/svg%3E"); }
.floating-button--top { bottom: 4.444rem; visibility: hidden; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 17 12 7l10 10'/%3E%3C/svg%3E"); }
.floating-button--top.is-visible, html:not(.js) .floating-button--top { visibility: visible; }
@media (min-width: 36em) {
    .floating-button { right: 1.333rem; }
    .floating-button--contact { bottom: 1.333rem; }
    .floating-button--top { bottom: 5.333rem; }
}
@media (prefers-reduced-motion: reduce) {
    .floating-button { transition: none; }
}
body:has(.menu-toggle[aria-expanded="true"]) .floating-button { display: none; }

.site-main { padding-block: 1.5rem 3rem; }
/* Wie im Original sitzen die Brotkrumen direkt unter dem Kopf */
.site-main:has(.breadcrumb) { padding-top: 0; }
/* Ueberschriften fluide wie im Original; h5/h6 normal, h6 auf 18 px angehoben (alt 16 px) */
h1, h2, h3, h4, h5, h6 { line-height: 1.333; overflow-wrap: break-word; }
/* Silbentrennung nur in den grossen Ueberschriften; Firefox trennte "Nürnberg" in Kartentiteln (Rueckmeldung Marion 09.11.) */
h1, h2 { hyphens: auto; }
h3, h4, h5, h6 { hyphens: manual; }
.page-title { margin: 0 0 2.444rem; font-size: clamp(1.444rem, 1.222rem + 1.07vw, 2.222rem); }
.page-title:has(+ .page-subtitle) { margin-bottom: .667rem; }
h2 { margin: 0 0 .444rem; font-size: clamp(1.25rem, 1.178rem + .643vw, 1.778rem); }
h3 { margin: 0 0 .444rem; font-size: clamp(1.222rem, 1.156rem + .429vw, 1.556rem); }
h4 { margin: 0 0 .444rem; font-size: clamp(1.167rem, 1.133rem + .214vw, 1.333rem); }
h5 { margin: 0 0 .444rem; font-size: 1.111rem; font-weight: 400; }
h6 { margin: 0 0 .444rem; font-size: 1rem; font-weight: 400; }
.frame > header > :is(h1, h2, h3, h4, h5, h6):has(+ :is(h2, h3, h4, h5, h6)) { margin-bottom: .222rem; }
.frame > header > :is(h1, h2, h3, h4, h5, h6) + :is(h2, h3, h4, h5, h6) { margin: 0 0 .889rem; font-size: 1rem; font-weight: 400; }
:is(h1, h2, h3, h4, h5, h6) a { text-decoration: none; }
:is(h1, h2, h3, h4, h5, h6) a:hover { text-decoration: underline; }
/* Fett gesetzte Links im Text wie im Original ohne Unterstreichung: Fettdruck unterscheidet sie
   neben der Farbe vom Fliesstext (WCAG 1.4.1, Technik G182) */
.page-body strong > a:only-child, .page-body b > a:only-child { text-decoration: none; }
.page-body strong > a:only-child:hover, .page-body b > a:only-child:hover,
.page-body strong > a:only-child:focus-visible, .page-body b > a:only-child:focus-visible { text-decoration: underline; }

/* Fliesstext wie im Original #666 (5,7:1), Zeilen hoechstens 960 px */
.page-body { color: #666; }
:is(.frame-type-text, .frame-type-textpic, .frame-type-textmedia) :is(header, h2, h3, h4, h5, h6, p, ul, ol) { max-width: 53.333rem; }
p + .c-list { margin-top: .667rem; }
.c-teaser { margin-bottom: .667rem; font-size: 1.022rem; line-height: 1.6; }
@media (min-width: 78.75em) {
    .c-teaser { line-height: 1.8; }
}
.u-text-left { text-align: left; }
.u-text-right { text-align: right; }
.u-text-justify { text-align: justify; }

/* Listen mit blauen Aufzaehlungszeichen */
.page-body ul:not([class]) { margin: 0 0 .667rem .889rem; padding: 0; }
ul.c-list { margin: 0 0 .667rem; padding: 0 0 0 1.333rem; list-style: none; }
ul.c-list > li { position: relative; margin-bottom: .222rem; }
ul.c-list > li::before { position: absolute; left: -1.222rem; color: var(--color-primary); font-size: .889rem; line-height: 1.8; content: "\25CF"; }
ul.c-list--alt-1 > li::before { content: "\25A0"; }
ul.c-list--alt-2 > li::before { content: "\2714"; }
ul.c-list > li > ul { margin: .222rem 0 .444rem; padding-left: 1.333rem; }
ol.c-list { margin: 0 0 .667rem; padding-left: 1.333rem; }
ol.c-list > li { line-height: 1.8; }
ol.c-list > li::marker { color: #222; font-weight: 600; }
p { margin: 0 0 1rem; }
.page-subtitle { margin: 0 0 2.278rem; color: var(--color-primary); font-size: 1rem; font-weight: 400; line-height: 1.333; }
.page-hero .frame { margin: 0; }
.page-hero img { display: block; width: 100%; height: clamp(9rem, 24vw, 22rem); object-fit: cover; }
.page-hero .ce-gallery, .page-hero figure { margin: 0; }
/* <picture> (Partials/Media/Rendering/Image) und die als Tabelle gesetzte figure sonst nur so breit wie ihr Inhalt */
.page-hero picture, .page-hero figure { display: block; }
.page-hero .ce-outer, .page-hero .ce-inner, .page-hero .ce-row, .page-hero .ce-column { float: none; position: static; right: auto; width: 100%; margin: 0; }
.media-text__body { padding: 1rem; background: var(--color-surface); }
@media (max-width: 47.99em) {
    .page-hero img { height: 50vw; } /* Zuschnitt xs (2:1) wie im Original, siehe Partials/Media/Rendering/Image */
}
.page-hero .media-text__media img { height: clamp(11rem, 36vw, 30rem); }
@media (max-width: 47.99em) {
    /* schmal wie im Original der eigene Ausschnitt "xs" (Startseite: Hochformat) in voller Hoehe statt beschnitten */
    .page-hero--home .media-text__media img { width: 100%; height: auto; }
    /* Unterseiten mit geerbtem Startseitenbild (z. B. Suche) wie alle anderen im 2:1-Format */
    .page-hero:not(.page-hero--home) .media-text__media img { width: 100%; height: 50vw; object-fit: cover; }
}
@media (min-width: 48em) {
    .page-hero .media-text__media img { height: clamp(11rem, 31.25vw, 33.333rem); }
}
/* Textbox wie im Original zu 80 % weiss. Kontrast auch ueber schwarzem Bildbereich (Grund #ccc):
   Fliesstext #333 7,9:1, Ueberschrift #0066bb ab 24 px 3,6:1 (grosse Schrift, WCAG 1.4.3) */
@media (min-width: 62em) {
    .page-hero .media-text { position: relative; }
    .page-hero .media-text__body {
        position: absolute;
        top: 50%;
        left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
        width: min(44rem, 66%);
        padding: 1.333rem 1.778rem;
        transform: translateY(-50%);
        background: rgb(255 255 255 / .8);
    }
}
.page-body--with-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 56em) {
    .page-body--with-aside { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
}
.page-body__aside { padding: 1rem; background: var(--color-surface-tint); }

/* Brotkrumen nach dem Original (_nav-breadcrumbs.scss): schmal nur die uebergeordnete
   Seite als Zurueck-Link, breit der ganze Pfad mit Haus-Symbol und Pfeilen */
.breadcrumb { margin-bottom: 1.778rem; font-size: .9rem; }
.breadcrumb ol { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: none; padding-block: .75rem; border-block: 1px solid rgb(153 153 153 / .5); }
.breadcrumb li:nth-last-child(2) { display: block; }
.breadcrumb a,
.breadcrumb [aria-current] { display: flex; align-items: center; line-height: 1.6; }
.breadcrumb a { color: #666; text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb [aria-current] { color: #000; }
.breadcrumb a::before {
    flex: none;
    width: 1em;
    height: 1em;
    margin-inline: .75rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%230066bb'/%3E%3Cpath d='M14 6.5 8.5 12l5.5 5.5' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
}
@media (min-width: 36em) {
    .breadcrumb { margin-bottom: 1.333rem; padding-block: .889rem; }
    .breadcrumb ol { flex-direction: row; flex-wrap: wrap; align-items: center; }
    .breadcrumb li { display: block; padding: 0; border: 0; }
    .breadcrumb a::before { display: none; }
    .breadcrumb li:first-child a::before {
        display: block;
        margin: 0 .75rem 0 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.5 11.5 12 3l10.5 8.5M4.5 9.5V21h5.5v-6.5h4V21h5.5V9.5' fill='none' stroke='%23999' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
    }
    .breadcrumb a::after {
        flex: none;
        width: 1em;
        height: 1em;
        margin-inline: 1rem;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3l9 9-9 9' fill='none' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
        content: "";
    }
}

/* Footer nach dem Original (_footer.scss); Werte in rem auf Basis 18 px umgerechnet (14 px = .778rem, 20 px = 1.111rem) */
.site-footer { background: var(--color-footer); color: #fff; }
.site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6 {
    margin: 0 0 .444rem;
    color: #fff;
    font-size: 1.111rem;
    line-height: 1.333;
}
.site-footer h6 { font-weight: 400; }
.site-footer p, .site-footer li { font-size: .778rem; line-height: 1.6; }
.site-footer p { margin: 0 0 .889rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer figcaption, .site-footer .image-caption { color: #fff; }
.site-footer .frame { margin-block: 0; }
.site-footer__content { padding-top: 1.42rem; }
.site-footer .c-btn { font-size: .889rem; }
.site-footer .frame-space-before-extra-large { padding-top: 1.42rem; }
.site-footer .frame-space-after-extra-large { padding-bottom: 1.42rem; }
.site-footer .frame-space-before-medium { padding-top: .71rem; }
.site-footer__divider { height: 2px; margin: 0; border: 0; background: rgb(255 255 255 / .25); }
.site-footer__legal { padding-block: .667rem; }
.site-footer__row { display: flex; flex-direction: column; }
.site-footer__copy { order: 2; margin: 0 !important; padding-block: .667rem; }
.site-footer__nav { order: 1; margin-bottom: .667rem; }
.site-footer__list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.site-footer__list a { display: block; padding: .667rem 1.333rem .667rem 0; line-height: 1.25; text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; }
@media (min-width: 48em) {
    .site-footer__content { padding-top: 1.778rem; }
    .site-footer .frame-space-before-extra-large { padding-top: 1.778rem; }
    .site-footer .frame-space-after-extra-large { padding-bottom: 1.778rem; }
    .site-footer .frame-space-before-medium { padding-top: .889rem; }
}
@media (min-width: 62em) {
    .site-footer__legal { padding-block: .889rem; }
    .site-footer__row { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.333rem; }
    .site-footer__copy { order: 1; }
    .site-footer__nav { order: 2; margin-bottom: 0; }
    .site-footer__list a { padding: .667rem 0 .667rem 1.333rem; }
}

/* Abstaende ueber die Abstandsklassen wie im Original, unter 1260 px etwas enger */
.frame { --sf: .8; margin-bottom: calc(var(--sf) * 1.333rem); }
@media (min-width: 62em) {
    .frame { --sf: .9; }
}
@media (min-width: 78.75em) {
    .frame { --sf: 1; }
}
.frame-space-before-extra-small { margin-top: calc(var(--sf) * .889rem); }
.frame-space-before-small { margin-top: calc(var(--sf) * 1.333rem); }
.frame-space-before-medium { margin-top: calc(var(--sf) * 1.778rem); }
.frame-space-before-large { margin-top: calc(var(--sf) * 2.667rem); }
.frame-space-before-extra-large { margin-top: calc(var(--sf) * 3.556rem); }
.frame-space-after-extra-small { margin-bottom: calc(var(--sf) * .889rem); }
.frame-space-after-small { margin-bottom: calc(var(--sf) * 1.333rem); }
.frame-space-after-medium { margin-bottom: calc(var(--sf) * 1.778rem); }
.frame-space-after-large { margin-bottom: calc(var(--sf) * 2.667rem); }
.frame-space-after-extra-large { margin-bottom: calc(var(--sf) * 3.556rem); }

.frame-card, .frame-card-outline, .frame-card-linked { padding: .667rem .889rem; }
@media (min-width: 48em) {
    .frame-card, .frame-card-outline, .frame-card-linked { padding: .889rem 1.333rem; }
    /* Drei Karten nebeneinander: Ueberschrift wie im Original kleiner, sonst bricht "DiabetesCamps" auf dem Tablet mitten im Wort */
    :is(.frame-card, .frame-card-outline, .frame-card-linked) h3 { font-size: clamp(1.111rem, .58rem + 1.44vw, 1.556rem); }
}
@media (min-width: 78.75em) {
    .frame-card, .frame-card-outline, .frame-card-linked { padding: 1.333rem; }
}
.frame-card { background: var(--color-box); }
.frame-card-outline { border: 1px solid #ddd; }
.frame-card-linked { border: 1px solid var(--color-primary); }
.frame-card-linked:hover { border-color: var(--color-primary-dark); }
.frame-card > :last-child, .frame-card-outline > :last-child, .frame-card-linked > :last-child { margin-bottom: 0; }
.frame-tinted, .frame-primary {
    padding-block: 2rem;
    box-shadow: 0 0 0 100vmax var(--band);
    background: var(--band);
    clip-path: inset(0 -100vmax);
}
.frame-tinted { --band: var(--color-box); }
.frame-primary { --band: var(--color-primary); color: #fff; }
.frame-primary a, .frame-primary h2, .frame-primary h3, .frame-primary h4, .frame-primary h5, .frame-primary h6 { color: #fff; }
.frame-primary :focus-visible { outline-color: #fff; }
/* Logos im blauen Foerderband: weisser Rahmen um jedes Bild, damit Ministerium und Bezirk gleich gesetzt sind (Marion 09.11., A4) */
.frame-primary .image-embed-item { box-sizing: border-box; padding: 1rem; background: #fff; }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .889rem 1.333rem; }
.grid__column { display: flex; flex-direction: column; min-width: 0; }
.grid__column > .frame:only-child { flex: 1 0 auto; margin-bottom: 0; }
/* Kaesten einer Reihe: Knopf am unteren Rand, egal wie lang der Text davor ist (Marion/Markus 09.11.).
   Ueberschriften und Absaetze haben keinen Aussenabstand oben, deshalb aendert die Flex-Spalte die Abstaende nicht. */
.grid__column > :is(.frame-card, .frame-card-outline, .frame-card-linked):only-child { display: flex; flex-direction: column; }
.grid__column > :is(.frame-card, .frame-card-outline, .frame-card-linked):only-child > p:last-child:has(.c-btn) { margin-top: auto; padding-top: .667rem; }
/* Dasselbe fuer Karten mit Bild oben (Textpic): Bild, Text, Knopf unten */
.grid__column > :is(.frame-card, .frame-card-outline, .frame-card-linked):only-child > .ce-textpic.ce-above,
.grid__column > :is(.frame-card, .frame-card-outline, .frame-card-linked):only-child > .ce-textpic.ce-above > .ce-bodytext { display: flex; flex-direction: column; flex: 1 0 auto; }
.grid__column > :is(.frame-card, .frame-card-outline, .frame-card-linked):only-child > .ce-textpic.ce-above > .ce-bodytext > p:last-child:has(.c-btn) { margin-top: auto; padding-top: .667rem; }
@media (min-width: 48em) {
    .dbb_grid_2, .dbb_grid_4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dbb_grid_3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dbb_grid_1_2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
    .dbb_grid_2_1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}
@media (min-width: 62em) {
    .dbb_grid_4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Drei Karten nebeneinander am Tablet: Text eine Stufe kleiner, damit E-Mail-Adressen und lange Woerter eher in die Spalte passen (Marion 09.11., A7) */
@media (min-width: 48em) and (max-width: 78.74em) {
    .dbb_grid_3 > .grid__column > :is(.frame-card, .frame-card-outline, .frame-card-linked) { font-size: .889rem; }
}

.accordion__item { border-bottom: 2px solid #f7f7f7; }
.accordion__title {
    position: relative;
    display: block;
    min-height: 2.75rem;
    padding: .667rem 1.778rem .667rem 0;
    color: var(--color-primary);
    font-size: 1.333rem;
    font-weight: 400;
    line-height: 1.333;
    cursor: pointer;
    list-style: none;
}
.accordion__title::-webkit-details-marker { display: none; }
.accordion__title::after {
    position: absolute;
    right: 0;
    bottom: .889rem;
    width: .778rem;
    height: .778rem;
    background: currentColor;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.5 7 12 17.5 22.5 7' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.accordion__item[open] > .accordion__title::after {
    background: #004a88;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.5 17 12 6.5 22.5 17' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E");
}
.accordion__body { margin: .667rem 0 1.333rem; padding: .222rem 0 .889rem; }
.accordion__body > .frame:last-child, .accordion__body > .frame:last-child > :last-child { margin-bottom: 0; }


.events { margin-top: 2rem; }
/* Ortsgruppe ohne Termine: Block samt "Aktuell sind keine Eintraege vorhanden" ausblenden (Marion 09.11.) */
.events:has(.no-news-found) { display: none; }
/* ===== News: Listen-Teaser (ersetzt main.css Zeilen 411-436) ===== */
.news-list-view { margin-bottom: 1.5rem; }
.news-item {
    display: flex;
    flex-direction: column;
    gap: .889rem;
    margin-bottom: .889rem;
    padding: 1.333rem;
    background: var(--color-surface);
}
.news-item__image { order: -1; }
.news-item__image img { display: block; width: 100%; height: auto; padding: 4px; border: 1px solid #ddd; }
.news-item__meta { margin: 0 0 .889rem; padding-bottom: .444rem; border-bottom: 1px solid #ddd; }
.news-item__date { font-weight: 700; }
.news-item__category::before { content: "|"; position: relative; top: -2px; margin-inline: .222rem .444rem; }
.news-item__title { margin: 0 0 .444rem; font-size: 1.25rem; font-weight: 600; }
.news-item__title a { text-decoration: none; }
.news-item__title a:hover { text-decoration: underline; }
.news-item__teaser { margin: 0 0 .889rem; color: #666; font-size: .889rem; line-height: 1.6; }
.news-item__teaser p { margin: 0 0 .889rem; }
.news-item__teaser :is(p:empty, br:first-child) { display: none; }
.news-item__teaser > :last-child, .news-item__teaser :last-child > p:last-child { margin-bottom: 0; }
@media (min-width: 36em) {
    .news-item { position: relative; flex-direction: row; gap: 1.333rem; padding: 1.333rem 1.333rem 1.333rem 5.167rem; }
    .news-item::before {
        position: absolute;
        top: 2.45rem;
        left: 1.6rem;
        width: 1.25rem;
        height: 1.25rem;
        border-top: 3px solid var(--color-primary);
        border-right: 3px solid var(--color-primary);
        content: "";
        transform: rotate(45deg);
    }
    .news-item__content { flex: 1 1 0; min-width: 0; }
    .news-item__image { flex: 0 0 8.333rem; order: 1; }
}
/* Terminliste wie im Original: Linie ueber jedem Termin, Datum blau, Titel fett */
.event-item { padding: .9rem 0 1.1rem; border-top: 1px solid #ddd; }
/* schmal Datum immer in eigener Zeile, ab 768 px Datum und Titel nebeneinander (wie im Original) */
.event-item { color: #666; font-size: .889rem; line-height: 1.6; }
.event-item__title { display: flex; flex-direction: column; margin: 0; color: #666; font-size: .889rem; font-weight: 700; line-height: 1.6; }
.event-item .event-item__title time { color: var(--color-primary); font-weight: 400; }
@media (min-width: 48em) {
    .event-item__title { flex-direction: row; flex-wrap: wrap; gap: 0 .5rem; }
    .event-item .event-item__title time::after { margin-left: .5rem; color: #666; content: "|" / ""; }
}
.event-item .event-item__title a { color: inherit; text-decoration: none; }
.event-item .event-item__title a:hover, .event-item .event-item__title a:focus-visible { color: var(--color-primary); text-decoration: underline; }
.event-item__teaser { margin: .45rem 0 0; }

/* Bayern-Karte: Kacheln zentriert, Bezirksnamen ohne Unterstreichung */
.u-text-center { text-align: center; }
.dbb_grid_4 .ce-textpic.ce-center .ce-gallery { display: table; float: none; margin-inline: auto; margin-bottom: .95rem; }
.dbb_grid_4 .ce-textpic.ce-center .ce-outer, .dbb_grid_4 .ce-textpic.ce-center .ce-inner { float: none; right: auto; }
.dbb_grid_4 .ce-bodytext .c-link--internal { text-decoration: none; }
.dbb_grid_4 .ce-bodytext .c-link--internal:hover, .dbb_grid_4 .ce-bodytext .c-link--internal:focus-visible { text-decoration: underline; }

/* Untergruppen auf den Bezirksseiten mit Pfeil statt Punkt */
.frame-type-menu_sitemap_pages ul { margin: .5rem 0 0; padding: 0; list-style: none; }
.frame-type-menu_sitemap_pages li { position: relative; margin-bottom: .35rem; padding-left: 1.333rem; }
.frame-type-menu_sitemap_pages li::before {
    position: absolute;
    top: .55em;
    left: .2rem;
    width: .6rem;
    height: .6rem;
    background: var(--color-primary);
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 3 9 9-9 9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.frame-type-menu_sitemap_pages a { text-decoration: none; }
.frame-type-menu_sitemap_pages a:hover, .frame-type-menu_sitemap_pages a:focus-visible { text-decoration: underline; }


/* ===== News: Seitenzaehlung (ersetzt main.css Zeilen 444-448) ===== */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.news-pagination { margin: 1.5rem 0; }
.f3-widget-paginator { display: flex; flex-wrap: wrap; gap: .667rem 0; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.f3-widget-paginator li { border-bottom: 3px solid #ddd; }
.f3-widget-paginator a,
.f3-widget-paginator [aria-current="page"],
.f3-widget-paginator .f3-widget-paginator__gap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: .25rem .5rem;
    text-decoration: none;
}
.f3-widget-paginator [aria-current="page"] { background: #ddd; color: var(--color-text); }
.f3-widget-paginator .f3-widget-paginator__gap { min-width: 1.5rem; padding-inline: .2rem; color: var(--color-text); font-weight: 400; }
.f3-widget-paginator a:hover { background: var(--color-surface-tint); color: var(--color-primary-dark); text-decoration: underline; }
.f3-widget-paginator a:focus-visible { position: relative; z-index: 1; outline-offset: -3px; }
.f3-widget-paginator .previous a, .f3-widget-paginator .next a { padding-inline: .5rem; }
@media (min-width: 36em) {
    .f3-widget-paginator a,
    .f3-widget-paginator [aria-current="page"] { min-width: 2.75rem; min-height: 2.75rem; padding: .6rem .9rem; }
    .f3-widget-paginator .f3-widget-paginator__gap { min-width: 2rem; min-height: 2.75rem; }
}

/* Formulare nach dem Original (Flat Style, zweispaltig ab 768 px); mit "WCAG" markierte Werte sind fuer Kontrast angehoben */
.form-group, .mb-3, .clearfix { margin-bottom: 1.333rem; }
.form-label, label { display: block; margin-bottom: .222rem; font-weight: 400; }
.form-control, .form-select, input:not([type]), input[type="text"], input[type="email"], input[type="search"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], input[type="date"], select, textarea {
    width: 100%;
    min-height: 2.75rem;
    padding: .444rem;
    border: 1px solid transparent;
    border-bottom-color: #949494; /* WCAG 1.4.11: so hell wie moeglich bei 3:1, alt #ced4da = 1,5:1 */
    border-radius: 0;
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
}
textarea, .form-control.xxlarge { min-height: 9.556rem; background: var(--color-box); resize: vertical; }
select, .form-select {
    appearance: none;
    padding-right: 2.222rem;
    background: var(--color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .444rem center / .889rem;
}
::placeholder { color: #6b7680; opacity: 1; } /* WCAG: 4,6:1 */

@media (min-width: 48em) {
    .frame-type-form_formframework .form-element:not(.form-element-check) { display: grid; grid-template-columns: 1fr 2fr; column-gap: 0; }
    .frame-type-form_formframework .form-element:not(.form-element-check) > .form-label { grid-column: 1; grid-row: 1 / span 3; margin: 0; padding: .444rem .889rem 0 0; }
    .frame-type-form_formframework .form-element:not(.form-element-check) > :not(.form-label) { grid-column: 2; }
}

.form-required, .form-text { color: #666; font-size: .889rem; font-weight: 400; } /* WCAG: alt #999 bzw. #a6a6a6 */
.form-text { display: block; margin-top: .444rem; }

fieldset { min-width: 0; margin: 0 0 1.333rem; padding: 0; border: 0; }
legend { margin: 0 0 .667rem; padding: 0; color: var(--color-text); font-size: .889rem; font-weight: 400; }

.form-check, .form-check-wrapping-label { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .444rem; }
.form-check-input {
    flex: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    margin: .25rem 0 0;
    border: 2px solid #949494; /* WCAG 1.4.11: 3:1, alt rgba(0,0,0,.25) */
    border-radius: .222rem;
    background: var(--color-surface);
}
.form-check-input:checked {
    border-color: var(--color-primary);
    background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' d='m3 8 3.5 3.5L13 4.5'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.form-check-label { margin: 0; font-weight: 400; }
.form-element-check > .form-text, .form-privacy-link { margin: .25rem 0 0 1.85rem; }

/* Fehler am Feld markieren, nicht am Wrapper */
.form-element.is-invalid { border: 0; }
.form-element .is-invalid, .form-element [aria-invalid="true"] { border-color: transparent; border-bottom: 2px solid #b00020; }
.form-element .form-check-input[aria-invalid="true"] { border: 2px solid #b00020; }
.invalid-feedback, .error, .text-danger {
    display: block;
    margin-top: .25rem;
    padding-left: 1.333rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23b00020'/%3E%3Cpath stroke='%23fff' stroke-width='2' d='M8 4v5m0 2v1.5'/%3E%3C/svg%3E") left .2em / .889rem no-repeat;
    color: #b00020; /* WCAG: alt #d9534f = 3,96:1 */
    font-size: .889rem;
    font-weight: 600;
}

.btn, .c-btn, button[type="submit"], input[type="submit"] {
    display: inline-block;
    min-height: 2.75rem;
    padding: .444rem 1.778rem;
    border: 2px solid var(--color-primary);
    border-radius: 0;
    background: var(--color-primary);
    color: #fff;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover, .c-btn:hover, button[type="submit"]:hover, input[type="submit"]:hover { border-color: #002e55; background: #002e55; color: #fff; }
/* Inhalts-Buttons 16 px wie im Original (Bedienelement, kein Fliesstext) */
.c-btn { min-height: 0; padding: .444rem 1.778rem; font-size: .889rem; line-height: 1.333; text-align: center; }
.c-btn--outline { background: transparent; color: var(--color-primary); }
.c-btn--outline:hover { border-color: var(--color-primary-dark); background: transparent; color: var(--color-primary-dark); }
.btn--outline, .btn-outline-primary { background: var(--color-surface); color: var(--color-primary); }
.btn--outline:hover, .btn-outline-primary:hover { background: var(--color-primary); color: #fff; }
.form-actions { display: flex; flex-direction: column; gap: .889rem; margin-top: 1.333rem; }
@media (min-width: 36em) {
    .form-actions { flex-direction: row; justify-content: flex-end; align-items: center; }
}

/* Login */
/* Personen-Symbol hinter der Ueberschrift wie im Original (felogin-message__icon) */
/* Ueberschrift ist h2 (Ueberschriftenfolge), sieht aber aus wie bisher als h3 */
.frame-type-felogin_login > h2 { font-size: clamp(1.222rem, 1.156rem + .429vw, 1.556rem); }
.frame-type-felogin_login > h2::after {
    display: inline-block;
    width: .9em;
    height: .9em;
    margin-left: .6rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%230066bb' d='M224 256a128 128 0 1 0 0-256 128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3 0 498.7 13.3 512 29.7 512h388.6c16.4 0 29.7-13.3 29.7-29.7 0-98.5-79.8-178.3-178.3-178.3h-91.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
    vertical-align: -.05em;
}
.frame-type-felogin_login form { max-width: 33.333rem; }
.frame-type-felogin_login fieldset > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.frame-type-felogin_login fieldset > div { margin-bottom: 1.333rem; }
.frame-type-felogin_login fieldset > div:has(> [type="submit"]) { display: flex; justify-content: flex-end; margin-bottom: 0; }
.frame-type-felogin_login [type="submit"] {
    padding-right: 3rem;
    background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E") no-repeat right 1.333rem center / 1rem;
}
.frame-type-felogin_login [type="submit"]:hover { background-color: #002e55; }
@media (max-width: 35.99em) {
    .frame-type-felogin_login [type="submit"] { width: 100%; }
}

/* Suche */
.tx-indexedsearch-searchbox { padding: 1.333rem 0; }
.tx-indexedsearch-searchbox fieldset { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .444rem; }
.tx-indexedsearch-searchbox legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tx-indexedsearch-searchbox .tx-indexedsearch-form { flex: 1 1 10rem; }
/* Label sichtbar und so gross wie in den uebrigen Formularen (WCAG; alt display:none) */
/* Suchfeld im flachen Formularstil wie Kontakt (Linie unten), Button wie .c-btn */
.tx-indexedsearch-searchbox .tx-indexedsearch-searchbox-button { padding: .444rem 1.778rem; font-size: .889rem; }
.tx-indexedsearch-info-sword { margin-bottom: .889rem; font-size: 1.111rem; }
.tx-indexedsearch-info-sword-word { font-weight: 700; }
div.tx-indexedsearch-browsebox { font-size: 1.111rem; }
ul.tx-indexedsearch-browsebox { margin: 1.778rem 0 2.222rem; padding: .444rem .667rem; background: var(--color-box); list-style: none; font-size: .889rem; }
ul.tx-indexedsearch-browsebox li { display: inline-block; padding-right: 1.333rem; }
ul.tx-indexedsearch-browsebox a[aria-current="page"] { font-weight: 700; }
/* Treffer wie die News-Uebersicht (Partials/Searchresult), Suchwort fett */
.tx-indexedsearch-res .news-item__title a { color: var(--color-primary); }
.tx-indexedsearch-res .news-item__teaser { margin-bottom: 0; }
.tx-indexedsearch-res .tx-indexedsearch-redMarkup { color: #444; font-weight: 700; }
.tx-indexedsearch-path { color: #666; font-size: .889rem; }

/* Text mit Bild: "im Text" fliesst der Text wie im Original auf allen Breiten um das Bild
   (ein Drittel inkl. Abstand, breit ein Viertel); "neben dem Text" schmal Text oben, Bild darunter */
@media (max-width: 39.99em) {
    .ce-textpic.ce-nowrap { display: flex; flex-direction: column; }
    .ce-textpic.ce-nowrap .ce-gallery { float: none; order: 2; margin: 1rem auto 0; max-width: 100%; }
    .ce-textpic.ce-nowrap .ce-bodytext { overflow: visible; }
    .ce-textpic.ce-nowrap .ce-gallery :is(.ce-outer, .ce-inner) { float: none; right: auto; }
}
.ce-textpic.ce-above .ce-gallery, .ce-image.ce-above .ce-gallery { margin-bottom: .889rem; }
.ce-textpic.ce-intext .ce-gallery { width: 33.333%; margin: .444rem 0; }
.ce-textpic.ce-intext.ce-left .ce-gallery { float: left; padding-right: 1.333rem; }
.ce-textpic.ce-intext.ce-right .ce-gallery { float: right; padding-left: 1.333rem; }
.ce-textpic.ce-intext .ce-gallery :is(.ce-outer, .ce-inner, .ce-column) { float: none; right: auto; width: 100%; }
.ce-textpic.ce-intext .ce-gallery figure { display: block; margin: 0; }
.ce-textpic.ce-intext .ce-gallery img { width: 100%; height: auto; }
.ce-textpic.ce-intext .ce-bodytext { overflow: visible; }
@media (min-width: 48em) {
    .ce-textpic.ce-intext .ce-gallery { width: 25%; }
}
/* Bildunterschrift 16 px statt alt 14 px */
/* display: block, sonst bildet die Unterschrift als table-caption ohne Tabelle eine eigene schmale Box und bricht um (Rueckmeldung Verena 08.11.) */
.ce-gallery figcaption, .image-caption { display: block; margin-top: .222rem; color: #666; font-size: .889rem; line-height: 1.6; }
.ce-intext .image-caption { text-align: center; }

/* News-Erweiterung: Datum in ausreichendem Kontrast (Standard #888 auf Weiss reicht nicht) */
.news .footer, .news .footer *, .news .news-list-date, .news .news-list-category, .news .news-list-author, .news .news-related-files-size, .news .news-related span, .news .news-img-caption, .news time { color: var(--color-text); }

/* ===== News: Detailansicht ===== */
.news-single .article { display: grid; grid-template-columns: minmax(0, 1fr); }
.news-single .article .footer { order: 1; margin: 0 0 .889rem; padding: 0 0 .444rem; border-top: 0; border-bottom: 1px solid #ddd; }
.news-single .article .footer p { margin: 0; line-height: 1.6; }
.news-single .article .footer .news-list-date { margin: 0; padding: 0; border: 0; font-weight: 700; }
.news-single .article .footer .news-list-date::after { content: "|"; position: relative; top: -2px; padding-inline: .222rem; }
.news-single .article .footer .news-list-category { margin: 0; padding: 0 0 0 .222rem; border: 0; }
.news-single .article .header { order: 2; padding-bottom: 1.778rem; }
.news-single .article .news-text-wrap { order: 3; }
.news-single .article .news-img-wrap { order: 4; }
.news-single .article .news-backlink-wrap { order: 5; }
.news-single .article .news-related-wrap { order: 6; }
/* Abschnittstitel "Zugehoerige ..." sind h2 (Ueberschriftenfolge), sehen aber weiter aus wie bisher als h4 */
.news-related__title { font-size: clamp(1.167rem, 1.133rem + .214vw, 1.333rem); }
/* Groesse wie .page-title im Original (26 px schmal bis 36 px breit) */
main .news-single .article .header h1 { margin: 0; font-size: clamp(1.444rem, 1.222rem + 1.07vw, 2.222rem); }
main .news-single .article .news-img-wrap { float: none; width: auto; margin: 0 0 1.778rem; background: none; }
.news-single .article .news-img-wrap .outer { margin-bottom: .889rem; }
/* news-basic.css laesst den Bildlink floaten: Bild schrumpft und ragt bei 320 px ueber den Rand */
main .news-single .article .news-img-wrap a { display: block; float: none; }
main .news-single .article .news-img-wrap img { display: block; float: none; width: 100%; height: auto; }
.news-single .article .news-img-caption { margin: .222rem 0 0; text-align: center; }
.news-single .article .news-text-wrap { margin-bottom: 1.778rem; }
.news-single .article .news-backlink-wrap { margin-top: .444rem; }
.news-single .article .news-backlink-wrap a {
    display: inline-flex;
    align-items: center;
    gap: .889rem;
    min-height: 2.75rem;
    padding: .444rem .889rem;
    background: var(--color-primary);
    color: #fff;
    font-size: .889rem;
    font-weight: 600;
    text-decoration: none;
}
.news-single .article .news-backlink-wrap a::before {
    width: .5rem;
    height: .875rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M7 1 1 7l6 6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
    content: "";
}
.news-single .article .news-backlink-wrap a:hover { background: var(--color-primary-dark); color: #fff; }
@media (min-width: 36em) {
    .news-single .article:has(.news-img-wrap) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.778rem; }
    .news-single .article:has(.news-img-wrap) > * { grid-column: 1 / -1; }
    .news-single .article:has(.news-img-wrap) > .news-text-wrap { grid-column: 1; }
    .news-single .article:has(.news-img-wrap) > .news-img-wrap { grid-column: 2; }
}
@media (min-width: 75em) {
    .news-single .article:has(.news-img-wrap) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

/* Tabellen und Downloads */
main table:not(.ce-table) { display: block; max-width: 100%; overflow-x: auto; }
.frame-type-table { overflow-x: auto; }
.ce-table-wrap, .table-responsive { overflow-x: auto; }
table { width: 100%; margin-bottom: .889rem; border-collapse: collapse; }
th, td { padding: .444rem; border: 0; border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; }
th { background: none; font-weight: 400; }
thead th { border-bottom: 2px solid #666; }
.c-table--striped tbody tr:nth-child(odd) > * { background: #f2f2f2; }
th > p:last-child, td > p:last-child { margin-bottom: 0; }
.ce-uploads { margin: 1.333rem 0 0; padding: 0; list-style: none; }
.ce-uploads li { display: flex; gap: .667rem; align-items: flex-start; margin: 0 0 .889rem; padding-bottom: .889rem; border-bottom: 1px solid #ddd; }
.ce-uploads li > a > img { flex: none; width: 8.333rem; height: auto; }
.ce-uploads li > img { display: none; }
/* Dateisymbol je Typ statt des Core-GIFs: PDF rot, Excel gruen, Word blau, PowerPoint orange, sonst grau (Rueckmeldung Verena 08.11.) */
.ce-uploads li:has(> img)::before {
    flex: none;
    width: 1.333rem;
    height: 1.333rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 1h11l5 5v17H4z' fill='%23777777'/%3E%3Cpath d='M15 1v5h5' fill='%23bbbbbb'/%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
}
.ce-uploads li:has(> img[src*="/pdf.gif"])::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 1h11l5 5v17H4z' fill='%23c4161c'/%3E%3Cpath d='M15 1v5h5' fill='%23ee8888'/%3E%3Ctext x='12' y='18' font-family='Arial' font-size='6.5' font-weight='700' fill='%23fff' text-anchor='middle'%3EPDF%3C/text%3E%3C/svg%3E"); }
.ce-uploads li:has(> img[src*="/xls"])::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 1h11l5 5v17H4z' fill='%231d6f42'/%3E%3Cpath d='M15 1v5h5' fill='%238fc9a5'/%3E%3Ctext x='12' y='18' font-family='Arial' font-size='6.5' font-weight='700' fill='%23fff' text-anchor='middle'%3EXLS%3C/text%3E%3C/svg%3E"); }
.ce-uploads li:has(> img[src*="/doc"])::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 1h11l5 5v17H4z' fill='%232b579a'/%3E%3Cpath d='M15 1v5h5' fill='%2396abd0'/%3E%3Ctext x='12' y='18' font-family='Arial' font-size='6.5' font-weight='700' fill='%23fff' text-anchor='middle'%3EDOC%3C/text%3E%3C/svg%3E"); }
.ce-uploads li:has(> img[src*="/ppt"])::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 1h11l5 5v17H4z' fill='%23c55a11'/%3E%3Cpath d='M15 1v5h5' fill='%23e2ad88'/%3E%3Ctext x='12' y='18' font-family='Arial' font-size='6.5' font-weight='700' fill='%23fff' text-anchor='middle'%3EPPT%3C/text%3E%3C/svg%3E"); }
.ce-uploads li:has(> img[src*="/zip.gif"])::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 1h11l5 5v17H4z' fill='%23777777'/%3E%3Cpath d='M15 1v5h5' fill='%23bbbbbb'/%3E%3Ctext x='12' y='18' font-family='Arial' font-size='6.5' font-weight='700' fill='%23fff' text-anchor='middle'%3EZIP%3C/text%3E%3C/svg%3E"); }
.ce-uploads a { text-decoration: none; }
.ce-uploads-fileName { display: block; color: #222; font-size: 1.111rem; font-weight: 400; line-height: 1.2; }
.ce-uploads a:hover .ce-uploads-fileName { color: var(--color-primary); text-decoration: underline; }
.ce-uploads-filesize { display: block; margin-top: .222rem; color: #666; font-size: .889rem; }

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

/* Beirat: Name und Titel von Dr. med. Veronika Hollenrieder nicht umbrechen (Marion 09.11.) */
#c943 strong { white-space: nowrap; }

/* Kontakt erstellen (Seite 271): Druckvorlage fuer das Mitgliederheft */
.kontakt-heft__form fieldset { margin: 0 0 1.5rem; padding: 1rem 1.2rem; border: 1px solid #ddd; }
.kontakt-heft__form legend { padding: 0 .4rem; font-weight: 700; }
.kontakt-heft__field { margin-bottom: .9rem; }
.kontakt-heft__field label { display: block; margin-bottom: .2rem; font-weight: 700; }
.kontakt-heft__hint { font-weight: 400; color: #666; }
.kontakt-heft__field input { max-width: 16rem; padding: .4rem .6rem; border: 1px solid #999; border-radius: 3px; font: inherit; }
.kontakt-heft__region > h2 { margin-top: 3rem; padding-bottom: .4rem; border-bottom: 2px solid var(--color-primary); }
.kontakt-heft__group { margin-bottom: 2.5rem; }
.kontakt-heft__group > h3 { padding-bottom: .3rem; border-bottom: 1px solid #333; }
.kontakt-heft__events h4 { margin: 1.2rem 0 .4rem; }
/* Ueberschriften der uebernommenen Inhaltselemente (Ansprechpartner, Treffen) unter dem Gruppennamen einordnen */
.kontakt-heft__group .frame :is(h2, h3, h4, h5) { margin-top: .8rem; font-size: 1.111rem; }
.kontakt-heft__event { padding: .6rem 0; border-top: 1px solid #ddd; }
.kontakt-heft__event-head { display: flex; flex-wrap: wrap; gap: 0 1rem; margin: 0 0 .3rem; }
.kontakt-heft__event-head time { color: var(--color-primary); }
.kontakt-heft__event-text > :last-child { margin-bottom: 0; }
/* Bausteine der Gruppenseiten ohne Kaesten und Knoepfe, damit der Text in die Druckvorlage passt */
.kontakt-heft .frame-card, .kontakt-heft .frame-card-outline, .kontakt-heft .frame-card-linked { padding: 0; border: 0; background: transparent; }
.kontakt-heft .c-btn:not(.kontakt-heft__form .c-btn) { display: none; }
@media print {
    .site-header, .site-footer, .breadcrumb, .kontakt-heft__form, .kontakt-heft__range { display: none; }
    .kontakt-heft__group { break-inside: avoid; }
}
