:root {
  --cream: var(--wp--preset--color--cream); --c2: var(--wp--preset--color--c-2, #EEE7D8); --c3: var(--wp--preset--color--c-3, #DDD4C0);
  --blue: var(--wp--preset--color--blue); --blue-h: var(--wp--preset--color--blue-h); --blue-l: var(--wp--preset--color--blue-l);
  --ink: var(--wp--preset--color--ink); --dim: var(--wp--preset--color--dim); --surface: var(--wp--preset--color--surface);
  /* Etwas dunkler als --dim: für kleinen Text, damit er auf Creme gut lesbar bleibt. */
  --dim-text: #655F56;
  --titel: var(--wp--preset--font-family--titel);
  /* Gestaltungsraster: drei Rundungen, eine Linie, zwei Schatten, ein Feldmaß, eine Bewegung. */
  --rund: 20px; --r-m: 16px; --r-s: 12px; --linie: #EAE3D2;
  --schatten-1: 0 1px 2px rgb(27 63 110 / .05), 0 4px 16px rgb(27 63 110 / .05);
  --schatten-2: 0 2px 4px rgb(27 63 110 / .06), 0 18px 48px rgb(27 63 110 / .1);
  --feld: 3.1rem; --weich: .25s cubic-bezier(.2, .8, .2, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { overflow-x: clip; }
.wp-site-blocks > * { margin-block: 0; }
:focus-visible { outline: 3px solid var(--blue-h); outline-offset: 3px; }
.nbb-breite { width: min(1240px, 100% - 2 * clamp(1rem, 3vw, 2rem)); margin-inline: auto; box-sizing: border-box; }

/* Kopf */
.nbb-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .nbb-header { top: 32px; }
.nbb-kopfzeile { background: #fff; border-bottom: 1px solid var(--linie, #EAE3D2); padding: .6rem clamp(1rem, 3vw, 2rem); margin: 0; }
.nbb-kopfzeile__reihe { gap: 1.25rem; max-width: 1240px; margin-inline: auto; }
.nbb-logo { display: block; flex: 0 0 auto; margin-right: auto; }
.nbb-logo img { display: block; width: 138px; height: auto; }
.nbb-kopfzeile__reihe > * { margin: 0; }
.nbb-menue { font-weight: 600; font-size: 1rem; gap: 1.6rem !important; }
.nbb-menue a { color: var(--ink); }
.nbb-menue .wp-block-navigation__container > li > a:hover { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nbb-menue .wp-block-navigation__submenu-container { min-width: 17rem !important; border: 0 !important; box-shadow: 0 20px 48px rgb(18 17 23 / .18); border-radius: var(--r-m, 16px); padding: .5rem !important; }
.nbb-menue .wp-block-navigation__submenu-container a { border-radius: 8px; }
.nbb-menue .wp-block-navigation__submenu-container a:hover { background: var(--blue-l); }
@media (max-width: 1179px) {
  .nbb-menue .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .nbb-menue .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .nbb-kopfzeile__reihe > nav { order: 3; }
}
@media (max-width: 420px) { .nbb-kopf-cta { display: none; } .nbb-logo img { width: 126px; } }

/* Buttons */
.nbb-btn { display: inline-flex; align-items: center; gap: .5em; background: var(--blue); color: #fff !important; border: 1.5px solid var(--blue); border-radius: 999px; padding: .75em 1.4em; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.nbb-btn::after { content: "→"; }
.nbb-btn:hover { background: var(--blue-h); border-color: var(--blue-h); }
.nbb-btn--klein { font-size: .9375rem; padding: .55em 1.15em; }
.nbb-btn--hell { background: var(--cream); border-color: var(--cream); color: var(--blue) !important; }
.nbb-btn--hell:hover { background: #fff; border-color: #fff; }
.nbb-btn--glas { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .55); backdrop-filter: blur(8px); }
.nbb-btn--glas:hover { background: #fff; border-color: #fff; color: var(--blue) !important; }
.nbb-btn--rand { background: transparent; border-color: var(--blue); color: var(--blue) !important; }
.nbb-btn--rand:hover { background: var(--blue); color: #fff !important; }

/* Hero */
.nbb-hero { margin: 0; padding: clamp(.5rem, 1.2vw, 1rem); }
.nbb-hero__rahmen { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(34rem, 82vh, 48rem); border-radius: var(--rund); overflow: hidden; background: var(--blue); }
.nbb-hero__rahmen > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.nbb-hero__rahmen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(11 28 52 / .96) 0%, rgb(14 35 64 / .66) 40%, rgb(14 35 64 / 0) 74%); }
.nbb-hero__text { width: 100%; padding: clamp(1.25rem, 4vw, 3.5rem); padding-bottom: clamp(3rem, 5vw, 3.5rem); color: #fff; }
.nbb-hero h1 { color: #fff; font-size: clamp(2.6rem, 6.6vw, 5.75rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; max-width: 12.5ch; margin: 0 0 1.5rem; }
.nbb-hero h1 em { font-style: normal; color: var(--c3); }
.nbb-hero__unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 3rem; }
.nbb-hero__unten p { margin: 0; max-width: 30rem; font-size: var(--wp--preset--font-size--gross); line-height: 1.4; }
.nbb-aktionen { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 700px) { .nbb-hero__rahmen > img { object-position: 30% 0; } }
.nbb-hero__credit { position: absolute; right: 1.25rem; bottom: .6rem; font-size: .75rem; color: rgb(255 255 255 / .75); }

/* Zahlen */
.nbb-zahlen { margin: 0; padding-top: clamp(.5rem, 1.5vw, 1.25rem); }
.nbb-zahlen ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.nbb-zahlen li { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; border-radius: var(--rund); padding: 1.75rem 2rem; }
.nbb-zahlen strong { font-family: var(--titel); font-weight: 700; font-size: clamp(2.75rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -.035em; }
.nbb-zahlen span { font-weight: 600; line-height: 1.35; }
.f-blau { background: var(--blue); color: #fff; } .f-sand { background: var(--c2); color: var(--blue); } .f-eis { background: var(--blue-l); color: var(--blue); }
@media (max-width: 700px) {
  .nbb-zahlen ul { grid-template-columns: 1fr; gap: .5rem; }
  .nbb-zahlen li { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.25rem; padding: 1.1rem 1.25rem; }
  .nbb-zahlen strong { min-width: 6.5rem; font-size: 2.5rem; }
}

/* Abschnitte */
.nbb-abschnitt { padding-block: var(--wp--preset--spacing--60); margin: 0; }
.nbb-abschnitt h2 { margin: 0; }
.nbb-titelreihe { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; }
.nbb-vorspann { margin: .75rem 0 0; color: var(--dim-text); max-width: 34rem; }
.nbb-abschnitt--sand { background: var(--c2); }

/* Bühnen */
.nbb-suche { flex: 0 1 22rem; }
.nbb-suche input { width: 100%; box-sizing: border-box; font: inherit; background: #fff; color: var(--ink); border: 1.5px solid var(--c3); border-radius: 999px; padding: .65rem 1.25rem; }
.nbb-buehnen { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .75rem; }
.nbb-buehnen li[hidden] { display: none; }
.nbb-buehnen a { display: flex; align-items: center; gap: 1rem; height: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--r-m, 16px); padding: .75rem 1rem .75rem .75rem; text-decoration: none; color: var(--ink); transition: background-color .15s, color .15s; }
.nbb-buehnen a:hover, .nbb-buehnen a:focus-visible { background: var(--blue); border-color: var(--blue); color: #fff; }
.nbb-buehnen__logo { flex: 0 0 5.5rem; display: grid; place-items: center; height: 4.75rem; background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--r-s, 12px); padding: .35rem; box-sizing: border-box; }
.nbb-buehnen__logo { overflow: hidden; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.nbb-buehnen__logo img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.nbb-buehnen__text { display: flex; flex-direction: column; min-width: 0; }
.nbb-buehnen strong { font-family: var(--titel); font-size: 1.125rem; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; hyphens: auto; }
.nbb-buehnen__text span { font-size: .875rem; line-height: 1.35; opacity: .75; margin-top: .2rem; }
@media (max-width: 600px) {
  .nbb-buehnen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .nbb-buehnen a { flex-direction: column; align-items: stretch; gap: .6rem; padding: .6rem; }
  .nbb-buehnen__logo { flex-basis: auto; height: 4.25rem; }
  .nbb-buehnen strong { font-size: 1.05rem; }
  .nbb-buehnen__text span { display: none; }
}

/* Kacheln */
.nbb-bento { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 1rem; margin-top: 2.5rem; }
.nbb-kachel { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 17rem; border-radius: var(--rund); overflow: hidden; text-decoration: none; color: #fff !important; }
.nbb-kachel--gross { grid-row: span 2; min-height: 26rem; }
.nbb-kachel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nbb-kachel:hover img { transform: scale(1.04); }
.nbb-kachel:not(.nbb-kachel--farbe)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(11 28 52 / .96) 8%, rgb(14 35 64 / .62) 45%, rgb(14 35 64 / 0) 80%); }
.nbb-kachel--farbe { background: var(--blue); }
.nbb-kachel__text { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.75rem; }
.nbb-kachel strong { font-family: var(--titel); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; hyphens: auto; }
.nbb-kachel__text > span { max-width: 28rem; line-height: 1.45; }
.nbb-kachel em { font-style: normal; font-weight: 600; margin-top: .5rem; background: var(--cream); color: var(--blue); border-radius: 999px; padding: .35rem 1rem; }
.nbb-kachel em::after { content: " →"; }
.nbb-kachel:hover em { background: #fff; }
@media (max-width: 800px) { .nbb-bento { grid-template-columns: 1fr; } .nbb-kachel--gross { grid-row: auto; min-height: 22rem; } }

/* Beitragskarten */
.nbb-karten { gap: 1rem !important; margin-block: 2.5rem 0 !important; }
.nbb-karten > li { background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--rund); overflow: hidden; padding: 0 1.5rem 1.5rem; }
.nbb-karten > li > * { margin-block: .75rem 0; }
.nbb-karten .wp-block-post-featured-image { margin: 0 -1.5rem 1.25rem; }
.nbb-karten .wp-block-post-featured-image img { width: 100%; }
.nbb-karten > li > :first-child:not(.wp-block-post-featured-image) { padding-top: 1.5rem; margin-top: 0; }
.nbb-karten .wp-block-post-date { display: inline-block; font-size: .8125rem; font-weight: 600; color: var(--blue); background: var(--blue-l); border-radius: 999px; padding: .2rem .75rem; }
.nbb-karten > li > .wp-block-post-date:first-child { margin-top: 1.5rem; padding-top: .2rem; }
.nbb-karten .wp-block-post-title { font-size: 1.3rem; line-height: 1.3; hyphens: auto; }
.nbb-karten .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.nbb-karten .wp-block-post-title a:hover { color: var(--blue); }
.nbb-karten .wp-block-post-excerpt { color: var(--dim-text); font-size: 1rem; }
@media (max-width: 900px) { .nbb-karten.is-layout-grid { grid-template-columns: 1fr !important; } }

/* Kulturerbe, Förderer */
.nbb-erbe { background: var(--blue); color: #fff; padding-block: var(--wp--preset--spacing--60); margin: 0; }
.nbb-erbe__reihe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2.5rem; }
.nbb-erbe__reihe > div { flex: 1 1 24rem; max-width: 42rem; }
.nbb-erbe h2 { color: #fff; margin-top: 0; }
.nbb-erbe__logo { flex: 0 1 26rem; min-width: 0; width: 26rem; max-width: 100%; height: auto; box-sizing: border-box; background: #fff; border-radius: var(--rund); padding: 1.75rem; }
.nbb-foerderer { background: #fff; text-align: center; padding: 2.5rem 1rem; margin: 0; }
.nbb-foerderer p { margin: 0 0 1.25rem; font-size: .9375rem; color: var(--dim-text); }
.nbb-foerderer div { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 3rem; }
.nbb-foerderer img { height: 4rem; width: auto; max-width: 100%; object-fit: contain; }

/* Unterseiten */
.nbb-seitenkopf { background: var(--blue); color: #fff; padding-block: clamp(2.5rem, 7vw, 5.5rem); margin: 0; }
.nbb-seitenkopf :is(h1, a, .wp-block-post-date) { color: #fff; }
.nbb-seitenkopf h1 { margin-block: .5rem; hyphens: auto; max-width: 20ch; }
.nbb-seitenkopf h1::after { content: ""; display: block; width: 5rem; height: .5rem; border-radius: 9px; background: var(--c3); margin-top: 1.25rem; }
.nbb-inhalt { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); margin: 0; }
.nbb-inhalt img { max-width: 100%; height: auto; border-radius: var(--r-s, 12px); }

/* Fuß */
.nbb-fuss { background: var(--ink); color: #c9c3b8; padding-block: 4rem 1.5rem; font-size: 1rem; }
.nbb-fuss__gross { font-family: var(--titel); font-weight: 700; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.15; letter-spacing: -.03em; color: var(--c3); margin-block: 0 3rem; }
.nbb-fuss :is(h2, h3) { color: #fff; font-size: 1.2rem; margin-top: 0; }
.nbb-fuss a { color: #fff; }
.nbb-fuss ul { list-style: none; padding: 0; }
.nbb-fuss__spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 2rem; }
.nbb-fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; border-top: 1px solid rgb(255 255 255 / .15); margin-top: 2rem; padding-top: 1.25rem; font-size: .9375rem; }

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

/* Geöffnetes Handymenü: linksbündig, Untermenüs ohne Kartenoptik */
.nbb-menue .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.nbb-menue .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__container, .wp-block-navigation-item) { align-items: flex-start !important; text-align: left; }
.nbb-menue .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li > .wp-block-navigation-item__content { font-family: var(--titel); font-size: 1.35rem; font-weight: 700; }
.nbb-menue .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; min-width: 0 !important; padding: .25rem 0 0 1rem !important; font-weight: 500; }

/* Ohne Ligaturen: bei Plus Jakarta Sans verschluckt „fi“ sonst optisch den i-Punkt. */
body { font-variant-ligatures: no-common-ligatures; }
@media (max-width: 700px) {
  .nbb-hero__text { padding-bottom: 3.75rem; }
  .nbb-hero__credit { left: 1.25rem; font-size: .6875rem; line-height: 1.4; }
}

/* ── Seitenleiste ────────────────────────────────────── */
.nbb-layout { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: var(--wp--preset--spacing--60); }
.nbb-leiste { position: sticky; top: 7rem; align-self: start; }
.admin-bar .nbb-leiste { top: 9rem; }
.nbb-leiste nav p { margin: 0 0 .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim-text); }
.nbb-leiste ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--c2, #EEE7D8); }
.nbb-leiste nav a { display: block; margin-left: -2px; border-left: 2px solid transparent; padding: .4rem .9rem; font-size: .9375rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.nbb-leiste nav a:hover { color: var(--blue); background: var(--blue-l); }
.nbb-leiste nav a[aria-current] { border-left-color: var(--blue); color: var(--blue); font-weight: 700; }
.nbb-leiste__kasten { margin-top: 1.75rem; background: var(--blue-l); border-radius: var(--r-m, 16px); padding: 1.25rem; font-size: .9375rem; line-height: 1.5; }
.nbb-leiste__kasten p { margin: .35rem 0 .9rem; }
@media (max-width: 960px) {
  .nbb-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: 0; }
  .nbb-leiste { top: 82px; z-index: 20; max-height: none; overflow: visible; margin-inline: calc(50% - 50vw); background: var(--cream); border-bottom: 1px solid var(--linie, #EAE3D2); }
  .admin-bar .nbb-leiste { top: 114px; }
  .nbb-leiste nav p, .nbb-leiste__kasten { display: none; }
  .nbb-leiste ul { display: flex; gap: .4rem; overflow-x: auto; border: 0; padding: .65rem 1rem; scrollbar-width: none; }
  .nbb-leiste nav a { white-space: nowrap; margin: 0; border: 1px solid #DDD4C0; border-radius: 999px; background: #fff; padding: .35rem .9rem; }
  .nbb-leiste nav a[aria-current] { background: var(--blue); border-color: var(--blue); color: #fff; }
}

/* ── Inhaltsbausteine ────────────────────────────────── */
.nbb-spalte > section { scroll-margin-top: 7.5rem; padding-bottom: 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid #DDD4C0; }
@media (max-width: 960px) { .nbb-spalte > section { scroll-margin-top: 9.5rem; } }
.nbb-spalte > section:last-child { border: 0; margin: 0; padding: 0; }
.nbb-spalte h2 { margin: 0 0 1.25rem; font-size: clamp(1.6rem, 3vw, 2.15rem); hyphens: auto; }
.nbb-spalte h3 { margin: 2rem 0 .75rem; }
.nbb-spalte figure { margin: 1.5rem 0; }
.nbb-spalte figure img { display: block; max-width: 100%; height: auto; border-radius: var(--r-m, 16px); }
.nbb-spalte figcaption, .nbb-quelle { margin-top: .5rem; font-size: .8125rem; line-height: 1.5; color: var(--dim-text); }
.nbb-gross { font-size: var(--wp--preset--font-size--gross); line-height: 1.6; }
.nbb-motto { margin: -.5rem 0 1rem; font-size: 1.5rem; font-weight: 700; color: var(--blue); }
.nbb-portrait img { width: 11rem; }
.nbb-hochbild { width: min(100%, 24rem); }

.nbb-fakten, .nbb-karten2, .nbb-chips, .nbb-dateien, .nbb-schritte, .nbb-zeit, .nbb-chronik, .nbb-galerie, .nbb-orte { list-style: none; padding: 0; margin: 1.5rem 0; }
.nbb-fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .75rem; }
.nbb-fakten li { background: var(--blue-l); border-radius: var(--r-m, 16px); padding: 1.25rem; }
.nbb-fakten strong { display: block; font-size: 2rem; line-height: 1.2; color: var(--blue); letter-spacing: -.02em; }
.nbb-fakten span { font-size: .9375rem; line-height: 1.45; display: block; }

.nbb-karten2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .75rem; }
.nbb-karten2 li { display: flex; flex-direction: column; gap: .35rem; background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--r-m, 16px); padding: 1.25rem; }
.nbb-karten2 small, .nbb-team small, .nbb-kontakt small { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-h); }
.nbb-karten2 strong { font-size: 1.125rem; line-height: 1.35; color: var(--blue); }
.nbb-karten2 span { font-size: .9375rem; line-height: 1.55; }

.nbb-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.nbb-chips li { background: #EEE7D8; border-radius: 999px; padding: .35rem 1rem; font-size: .9375rem; font-weight: 500; }

.nbb-dateien { display: grid; gap: .5rem; }
.nbb-dateien a { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--r-m, 16px); padding: .85rem 1rem; text-decoration: none; color: var(--ink); }
.nbb-dateien a:hover { border-color: var(--blue); background: var(--blue-l); }
.nbb-dateien a > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.nbb-dateien small { color: var(--dim-text); font-size: .8125rem; }
.nbb-datei__typ { flex: 0 0 auto; background: var(--blue); color: #fff; border-radius: 8px; padding: .5rem .55rem; font-size: .6875rem; font-weight: 700; letter-spacing: .05em; }

.nbb-schritte { counter-reset: schritt; display: grid; gap: .75rem; }
.nbb-schritte li { counter-increment: schritt; display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1rem; background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--r-m, 16px); padding: 1.25rem; }
.nbb-schritte li::before { content: counter(schritt); grid-row: span 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; }
.nbb-schritte strong { color: var(--blue); font-size: 1.125rem; }
.nbb-schritte span { font-size: 1rem; line-height: 1.6; }

.nbb-klapp { background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--r-m, 16px); margin: 1.25rem 0; }
.nbb-klapp summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; color: var(--blue); }
.nbb-klapp > div { padding: 0 1.25rem 1rem; }
.nbb-klapp--galerie { background: none; border: 0; }
.nbb-klapp--galerie > summary { display: inline-block; list-style: none; border: 1.5px solid var(--blue); border-radius: 999px; padding: .65rem 1.4rem; }
.nbb-klapp--galerie > div { padding: 0; }

.nbb-zeit { border-left: 2px solid #DDD4C0; margin-left: .4rem; }
.nbb-zeit > li { position: relative; padding: 0 0 1.75rem 1.75rem; }
.nbb-zeit > li:last-child { padding-bottom: 0; }
.nbb-zeit > li::before { content: ""; position: absolute; left: -8px; top: .4rem; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--cream); }
.nbb-zeit b { display: block; font-size: 1.35rem; line-height: 1.3; color: var(--blue); }
.nbb-zeit p { margin: .35rem 0 0; }

.nbb-podest { display: grid; gap: 1rem; }
.nbb-podest article { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--rund); overflow: hidden; }
.nbb-podest img { width: 100%; height: 100%; min-height: 13rem; object-fit: cover; }
.nbb-podest article > div { padding: 1.25rem 1.5rem; }
.nbb-podest h3 { margin: .6rem 0 .4rem; }
.nbb-podest p { margin: 0; font-size: .9375rem; line-height: 1.6; }
.nbb-platz { background: var(--blue); color: #fff; border-radius: 999px; padding: .25rem .85rem; font-size: .8125rem; font-weight: 700; }
@media (max-width: 640px) { .nbb-podest article { grid-template-columns: 1fr; } .nbb-podest img { aspect-ratio: 3 / 2; height: auto; min-height: 0; } }

.nbb-spalte .nbb-suche { display: block; max-width: 26rem; }
.nbb-spalte .nbb-suche[hidden], .nbb-chronik li[hidden] { display: none; }
.nbb-chronik > li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-top: 1px solid #DDD4C0; }
.nbb-chronik__jahr strong { display: block; font-size: 1.6rem; line-height: 1.2; color: var(--blue); }
.nbb-chronik__jahr span { font-size: .8125rem; color: var(--dim-text); line-height: 1.4; display: block; }
.nbb-chronik p { margin: 0 0 .75rem; line-height: 1.5; }
.nbb-chronik p:last-child { margin: 0; }
.nbb-rang { display: grid; grid-template-columns: 1.75rem 1fr; }
.nbb-rang > span:first-child { font-weight: 700; color: var(--blue); }
.nbb-rang small { display: block; font-size: .8125rem; color: var(--dim-text); }
@media (max-width: 600px) { .nbb-chronik > li { grid-template-columns: 1fr; gap: .5rem; } .nbb-chronik__jahr { display: flex; align-items: baseline; gap: .75rem; } }

.nbb-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 10rem), 1fr)); gap: .5rem; }
.nbb-galerie a { display: block; }
.nbb-galerie img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-s, 12px); background: #EEE7D8; }
.nbb-lupe { width: 100vw; height: 100dvh; max-width: none; max-height: none; box-sizing: border-box; border: 0; padding: 3.5rem 1rem 4.5rem; background: rgb(12 12 13 / .96); }
.nbb-lupe img { width: 100%; height: 100%; object-fit: contain; }
.nbb-lupe button { position: absolute; background: var(--cream); color: var(--blue); border: 0; border-radius: 999px; font: inherit; font-weight: 700; padding: .5rem 1.1rem; cursor: pointer; }
.nbb-lupe [data-zu] { top: .75rem; right: 1rem; } .nbb-lupe [data-vor] { bottom: 1rem; right: 1rem; } .nbb-lupe [data-zurueck] { bottom: 1rem; left: 1rem; }

.nbb-orte { display: grid; gap: .4rem; }
.nbb-orte :is(a, div) { display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--r-m, 16px); padding: .75rem 1.1rem; text-decoration: none; color: var(--ink); }
.nbb-orte a:hover { border-color: var(--blue); background: var(--blue-l); }
.nbb-orte b { font-size: 1.2rem; color: var(--blue); }
.nbb-orte span { display: flex; flex-direction: column; line-height: 1.35; }
.nbb-orte small { color: var(--dim-text); font-size: .8125rem; }
.nbb-orte em { font-style: normal; font-weight: 700; font-size: .875rem; color: var(--blue); white-space: nowrap; }

.nbb-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.nbb-team article { background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--rund); overflow: hidden; }
.nbb-team img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.nbb-team article > div { padding: 1rem 1.25rem 1.25rem; }
.nbb-team h3 { margin: .35rem 0 .5rem; font-size: 1.2rem; }
.nbb-team address { font-style: normal; font-size: .875rem; line-height: 1.55; color: var(--dim-text); }
.nbb-team p { display: flex; flex-wrap: wrap; gap: .4rem; margin: .85rem 0 0; }
.nbb-team p a { background: var(--blue-l); border-radius: 999px; padding: .3rem .85rem; font-size: .875rem; font-weight: 700; text-decoration: none; }
.nbb-team p a:hover { background: var(--blue); color: #fff; }

.nbb-kontakt { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; background: var(--blue-l); border-radius: var(--rund); padding: 1.75rem; }
.nbb-kontakt h3 { margin: .35rem 0; }
.nbb-kontakt address { font-style: normal; }
.nbb-kontakt > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.nbb-kontakt .nbb-btn { overflow-wrap: anywhere; }

.nbb-monate { list-style: none; padding: 0; margin: .75rem 0 1.25rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .4rem; }
.nbb-monate a { display: block; text-align: center; background: #fff; border: 1px solid var(--linie, #EAE3D2); border-radius: var(--r-s, 12px); padding: .55rem; text-decoration: none; font-size: .9375rem; font-weight: 600; }
.nbb-monate a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.nbb-team__ohne { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; background: var(--blue-l); color: var(--blue); font-size: 3rem; font-weight: 700; }
.nbb-pkopf .nbb-aktionen { margin-top: 1.75rem; }

.nbb-seminare { padding-block: var(--wp--preset--spacing--60); }

/* ═══ Gestaltungsregeln für alle Seiten (nach den Apple-Prinzipien: Klarheit, ruhige Tiefe, direkte Rückmeldung) ═══ */

/* Schrift: Laufweite und Zeilenabstand nach Größe */
body { line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2 { text-wrap: balance; }
h1 { letter-spacing: -.032em; line-height: 1.08; }
h2 { letter-spacing: -.024em; }
h3, h4 { letter-spacing: -.012em; line-height: 1.3; }
p, li, figcaption { text-wrap: pretty; }
time, .nbb-chronik__jahr, .nbb-orte b, .nbb-zahlen strong, .wp-block-post-date { font-variant-numeric: tabular-nums; }

/* Kopfzeile als durchscheinendes Material. Auf ::before, damit das Handymenü nicht eingesperrt wird. */
.nbb-kopfzeile { position: relative; background: transparent; border-bottom-color: rgb(27 63 110 / .1); }
.nbb-kopfzeile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(255 255 255 / .95); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.nbb-menue { gap: .35rem !important; }
.nbb-menue .wp-block-navigation__container > li > a { padding: .45rem .75rem; border-radius: 999px; transition: background-color var(--weich), color var(--weich); }
.nbb-menue .wp-block-navigation__container > li > a:hover { text-decoration: none; background: var(--blue-l); color: var(--blue); }
.nbb-menue .wp-block-navigation__container > li > a[aria-current] { background: var(--blue-l); color: var(--blue); }

/* Direkte Rückmeldung beim Drücken */
:is(.nbb-btn, .nbb-buehnen a, .nbb-dateien a, .nbb-orte a, .nbb-monate a, .nbb-kachel, .nbb-leiste nav a, .nbb-lupe button, .nbbs-karte) { -webkit-tap-highlight-color: transparent; transition: transform var(--weich), background-color var(--weich), border-color var(--weich), color var(--weich), box-shadow var(--weich); }
:is(.nbb-btn, .nbb-buehnen a, .nbb-dateien a, .nbb-orte a, .nbb-monate a, .nbb-leiste nav a, .nbb-lupe button):active { transform: scale(.97); transition-duration: .08s; }
.nbb-kachel:active, .nbbs-karte:active { transform: scale(.99); transition-duration: .08s; }

/* Knöpfe: gleiche Höhe; der Pfeil nur bei Links, die weiterführen */
.nbb-btn { min-height: 2.9rem; box-sizing: border-box; justify-content: center; }
.nbb-btn--klein { min-height: 2.4rem; }
button.nbb-btn::after { content: none; }
@media (pointer: coarse) { .nbb-btn--klein, .nbb-lupe button { min-height: 2.75rem; } }

/* Felder */
.nbb-suche input { height: var(--feld); border: 1px solid #cfc6b3; border-radius: var(--r-s); padding-inline: 1rem; }
.nbb-suche input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }

/* Karten: eine Optik */
:is(.nbb-karten2 li, .nbb-schritte li, .nbb-team article, .nbb-podest article, .nbb-karten > li, .nbb-klapp, .nbb-buehnen a, .nbb-dateien a, .nbb-orte :is(a, div)) { box-shadow: var(--schatten-1); }
.nbb-klapp--galerie { box-shadow: none; }
:is(.nbb-dateien a, .nbb-orte a):hover { box-shadow: var(--schatten-2); }

/* Seitenleiste: ruhige Auswahlfläche statt Linie */
@media (min-width: 961px) {
  .nbb-leiste ul { border: 0; display: grid; gap: 2px; }
  .nbb-leiste nav a { margin: 0; border: 0; border-radius: var(--r-s); padding: .5rem .85rem; }
  .nbb-leiste nav a[aria-current] { background: var(--blue-l); }
}
@media (max-width: 960px) {
  .nbb-leiste { background: rgb(250 247 239 / .96); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
  .nbb-leiste nav a { padding-block: .5rem; }
}

/* Aufklappen: ein Zeichen, das sich dreht */
.nbb-klapp:not(.nbb-klapp--galerie) > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; min-height: 3.25rem; box-sizing: border-box; }
.nbb-klapp > summary::-webkit-details-marker { display: none; }
.nbb-klapp:not(.nbb-klapp--galerie) > summary::after { content: ""; flex: none; width: .55rem; height: .55rem; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform var(--weich); }
.nbb-klapp:not(.nbb-klapp--galerie)[open] > summary::after { transform: rotate(225deg); }

/* Ein Seitenkopf für alle Seiten, auf demselben Raster wie der Inhalt */
.nbb-seitenkopf { padding-block: clamp(2.25rem, 5vw, 4rem); padding-inline: 0 !important; }
.nbb-seitenkopf > * { width: min(1240px, 100% - 2 * clamp(1rem, 3vw, 2rem)); max-width: none !important; margin-inline: auto !important; box-sizing: border-box; }
.nbb-seitenkopf h1 { margin-block: 0; max-width: none; font-size: clamp(2.25rem, 5vw, 3.75rem); }
.nbb-seitenkopf h1::after { content: none; }
.nbb-seitenkopf .nbb-meta { margin-top: 1rem; gap: .25rem 1.25rem; color: #e4ebf5; font-weight: 600; }
.nbb-seitenkopf .nbb-meta > * { margin: 0; }
.nbb-inhalt { padding-inline: 0 !important; padding-block: var(--wp--preset--spacing--60); width: min(1240px, 100% - 2 * clamp(1rem, 3vw, 2rem)); margin-inline: auto !important; max-width: none; }
.nbb-inhalt > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.nbb-inhalt .wp-block-post-content > :not(.alignwide):not(.alignfull) { max-width: 46rem !important; margin-left: 0 !important; }
.nbb-inhalt > .wp-block-post-featured-image { max-width: 46rem !important; margin: 0 0 2rem; }
.nbb-inhalt .wp-block-post-content { padding-inline: 0 !important; }

/* Beitragskarten: ganze Karte klickbar */
.nbb-karten > li { position: relative; transition: box-shadow var(--weich), border-color var(--weich); }
.nbb-karten > li:hover { border-color: var(--blue); box-shadow: var(--schatten-2); }
.nbb-karten .wp-block-post-title { font-size: 1.25rem !important; }
.nbb-karten .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.nbb-karten .wp-block-post-excerpt { font-size: .95rem; line-height: 1.6; }
.nbb-karten .wp-block-post-excerpt__more-link { display: none; }

/* Fußzeile: Unterstreichung erst bei Berührung */
.nbb-fuss a { text-decoration: none; }
.nbb-fuss a:hover { text-decoration: underline; text-underline-offset: .25em; }

@media (prefers-reduced-motion: reduce) { :is(*, *::before, *::after) { animation: none !important; } *:active { transform: none !important; } }
@media (prefers-reduced-transparency: reduce) { .nbb-kopfzeile::before, .nbb-leiste { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --linie: #8d8575; --dim-text: #3f3a33; } .nbb-kopfzeile::before { background: #fff; } }
.nbbs-kopf h1 { hyphens: manual; overflow-wrap: break-word; font-size: clamp(2rem, 5vw, 3.75rem); }
/* Die Online-Ausgabe des Zedels ist zweispaltig und braucht mehr als die Lesebreite. */
.nbb-inhalt .wp-block-post-content > .nbbz-web { max-width: 70rem !important; }
.nbb-menue .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li > .wp-block-navigation-item__content { margin-left: -.75rem; padding: .4rem .75rem; }

/* ═══ Seitenkopf: abgerundete Karte, mit Foto oder Farbverlauf ═══ */
.nbb-pkopf { margin: 0; padding: clamp(.5rem, 1.2vw, 1rem); }
.nbb-kopfkarte { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 15rem; overflow: hidden; border-radius: var(--rund); color: #fff;
  background: radial-gradient(60rem 30rem at 100% 0%, #35639f 0%, transparent 60%), radial-gradient(40rem 24rem at 80% 130%, #2a5590 0%, transparent 70%), var(--blue); }
.hat-bild .nbb-kopfkarte { min-height: clamp(20rem, 46vh, 27rem); }
.nbb-kopfkarte__bild { position: absolute; z-index: -2; top: 0; right: 0; width: 68%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hat-bild .nbb-kopfkarte::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 32%, rgb(27 63 110 / .78) 48%, rgb(27 63 110 / .12) 78%, rgb(27 63 110 / 0) 100%); }
.nbb-kopfkarte__text { width: min(1240px, 100%); margin-inline: auto; box-sizing: border-box; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem); }
.nbb-kopfkarte h1 { color: #fff; margin: 0; max-width: 18ch; font-size: clamp(2.25rem, 5vw, 3.75rem); overflow-wrap: break-word; }
.hat-bild .nbb-kopfkarte h1, .hat-bild .nbb-kopfkarte p { max-width: min(34rem, 100%); }
.nbb-kopfkarte p { margin: 1rem 0 0; max-width: 36rem; font-size: var(--wp--preset--font-size--gross); line-height: 1.5; color: #e4ebf5; }
.nbb-kopfkarte:not(.hat-bild) h1 { max-width: 24ch; }
.nbb-pfad { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; font-size: .8125rem; font-weight: 700; }
.nbb-pfad a { color: #fff !important; text-decoration: none; background: rgb(255 255 255 / .14); border-radius: 999px; padding: .3rem .8rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color var(--weich); }
.nbb-pfad a:hover { background: rgb(255 255 255 / .28); }
.nbb-kopfmeta { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.25rem 0 0; }
.nbb-kopfmeta li { border: 1px solid rgb(255 255 255 / .3); border-radius: 999px; padding: .3rem .9rem; font-size: .875rem; font-weight: 600; }
.nbb-kopfkarte .nbb-aktionen { margin-top: 1.5rem; }
@media (max-width: 760px) {
  .hat-bild .nbb-kopfkarte { min-height: 26rem; }
  .nbb-kopfkarte__bild { width: 100%; height: 70%; }
  .hat-bild .nbb-kopfkarte::after { background: linear-gradient(to top, var(--blue) 34%, rgb(27 63 110 / .82) 52%, rgb(27 63 110 / .1) 80%); }
}

/* ═══ Zwei Spalten: Inhalt und Randspalte ═══ */
.nbb-zwei { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; padding-block: clamp(1.5rem, 4vw, 3rem) var(--wp--preset--spacing--60); }
.nbb-zwei--links { grid-template-columns: 17rem minmax(0, 1fr); }
.nbb-zwei__haupt, .nbb-zwei__rand { min-width: 0; }
.nbb-zwei__haupt { display: grid; gap: 1rem; }
.nbb-zwei__rand { display: grid; gap: 1rem; position: sticky; top: 7rem; }
.admin-bar .nbb-zwei__rand { top: 9rem; }
.nbb-zwei__rand .nbb-leiste__kasten { margin: 0; }
.nbb-zwei__rand .nbb-leiste__kasten strong { display: block; }
.nbb-kasten--weiss { background: #fff !important; border: 1px solid var(--linie); box-shadow: var(--schatten-1); }
@media (max-width: 960px) {
  .nbb-zwei, .nbb-zwei--links { grid-template-columns: minmax(0, 1fr); }
  .nbb-zwei__rand { position: static; order: 2; }
}

.nbb-blatt, .nbb-rubriken, .nbb-teilen, .nbb-mehr, .nbb-suchform { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); box-shadow: var(--schatten-1); }
.nbb-blatt { padding: clamp(1.25rem, 3.5vw, 2.5rem); margin: 0; scroll-margin-top: 7.5rem; overflow-wrap: break-word; }
.nbb-blatt > :first-child { margin-top: 0; } .nbb-blatt > :last-child { margin-bottom: 0; }
.nbb-blatt h2 { font-size: 1.4rem; margin: 0 0 .75rem; }
.nbb-blatt img { max-width: 100%; height: auto; border-radius: var(--r-s); }
.nbb-artikel > * { max-width: 44rem; margin-inline: auto; }
.nbb-artikel > .alignwide, .nbb-artikel > .alignfull, .nbb-artikel > [class*="wp-block-stackable"], .nbb-artikel > .stk-block { max-width: 100%; }
.nbb-artikel > p:first-of-type { font-size: 1.125rem; }
.nbb-artikel figure { margin-block: 1.5rem; }
.nbb-artikel figcaption { font-size: .8125rem; color: var(--dim-text); margin-top: .4rem; }

.nbb-rubriken, .nbb-teilen, .nbb-mehr, .nbb-suchform { padding: 1rem; }
.nbb-rubriken p, .nbb-teilen p, .nbb-mehr p, .nbb-suchform label { display: block; margin: 0 0 .5rem; padding-inline: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim-text); }
.nbb-rubriken ul, .nbb-mehr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nbb-rubriken a { display: flex; justify-content: space-between; gap: .75rem; align-items: center; border-radius: var(--r-s); padding: .45rem .65rem; font-size: .9375rem; line-height: 1.35; color: var(--ink); text-decoration: none; transition: background-color var(--weich), color var(--weich); }
.nbb-rubriken a:hover, .nbb-rubriken a[aria-current] { background: var(--blue-l); color: var(--blue); }
.nbb-rubriken a[aria-current] { font-weight: 700; }
.nbb-rubriken small { color: var(--dim-text); font-variant-numeric: tabular-nums; }
.nbb-suchform input { width: 100%; box-sizing: border-box; height: var(--feld); font: inherit; border: 1px solid #cfc6b3; border-radius: var(--r-s); padding-inline: 1rem; background: var(--cream); }
.nbb-teilen { display: flex; flex-wrap: wrap; gap: .5rem; }
.nbb-teilen p { width: 100%; margin: 0; }
.nbb-teilen :is(a, button) { flex: 1; font: inherit; font-size: .875rem; font-weight: 700; text-align: center; white-space: nowrap; cursor: pointer; background: var(--blue-l); color: var(--blue); border: 0; border-radius: 999px; padding: .55rem .8rem; text-decoration: none; }
.nbb-mehr a { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .75rem; align-items: center; border-radius: var(--r-s); padding: .4rem; text-decoration: none; color: var(--ink); }
.nbb-mehr a:hover { background: var(--blue-l); }
.nbb-mehr a > img, .nbb-mehr a > span[aria-hidden] { width: 4rem; height: 4rem; object-fit: cover; border-radius: var(--r-s); }
.nbb-mehr a > span[aria-hidden] { display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: .75rem; }
.nbb-mehr a > span:last-child { display: grid; gap: .15rem; }
.nbb-mehr strong { font-size: .875rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nbb-mehr small { font-size: .75rem; color: var(--dim-text); }

/* Meldungskarten */
.nbb-meldungen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.nbb-meldung { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); box-shadow: var(--schatten-1); transition: box-shadow var(--weich), border-color var(--weich), transform var(--weich); }
.nbb-meldung:hover { border-color: var(--blue); box-shadow: var(--schatten-2); }
.nbb-meldung:active { transform: scale(.99); }
.nbb-meldung__bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue); display: grid; place-items: center; }
.nbb-meldung__bild img { grid-area: 1 / 1; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 25%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.nbb-meldung__bild { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.nbb-meldung:hover .nbb-meldung__bild img { transform: scale(1.04); }
.nbb-meldung__bild span { color: #fff; font-weight: 800; font-size: 1.5rem; letter-spacing: .08em; justify-self: center; }
.nbb-meldung__text { padding: 1.1rem 1.25rem 1.35rem; }
.nbb-meldung__meta { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center; margin: 0 0 .6rem; font-size: .8125rem; color: var(--dim-text); }
.nbb-meldung__meta span { background: var(--blue-l); color: var(--blue); font-weight: 700; border-radius: 999px; padding: .15rem .7rem; }
.nbb-meldung h2 { margin: 0 0 .5rem; font-size: 1.2rem; line-height: 1.3; hyphens: auto; }
.nbb-meldung h2 a { color: var(--ink); text-decoration: none; }
.nbb-meldung h2 a::after { content: ""; position: absolute; inset: 0; }
.nbb-meldung__text > p:last-child { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--dim-text); }
.nbb-meldung--gross h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (min-width: 761px) { .nbb-meldung--gross { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; } .nbb-meldung--gross .nbb-meldung__bild { aspect-ratio: auto; height: 100%; min-height: 22rem; } .nbb-meldung--gross .nbb-meldung__text { padding: 2rem; } }

.nbb-blaettern { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 1rem; }
.nbb-blaettern .page-numbers { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .6rem; box-sizing: border-box; background: #fff; border: 1px solid var(--linie); border-radius: 999px; text-decoration: none; font-weight: 700; }
.nbb-blaettern .current { background: var(--blue); border-color: var(--blue); color: #fff; }
.nbb-blaettern .dots { background: none; border: 0; }
.nbb-weiter { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.nbb-weiter a { display: grid; gap: .25rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--r-m); padding: 1rem 1.25rem; text-decoration: none; color: var(--ink); line-height: 1.35; }
.nbb-weiter a:hover { border-color: var(--blue); }
.nbb-weiter a:last-child { text-align: right; }
.nbb-weiter small { font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
@media (max-width: 600px) { .nbb-weiter { grid-template-columns: 1fr; } }

/* Aktuelle Zedel-Ausgabe */
.nbb-ausgabe { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.5rem; box-shadow: var(--schatten-1); }
.nbb-ausgabe__titel { aspect-ratio: 210 / 297; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--cream); border: 1px solid var(--linie); border-radius: var(--r-s); box-shadow: var(--schatten-2); color: var(--blue); transform: rotate(-2deg); }
.nbb-ausgabe__titel span { font-weight: 600; font-size: 1.1rem; } .nbb-ausgabe__titel b { font-size: 2.4rem; letter-spacing: -.03em; line-height: 1; } .nbb-ausgabe__titel small { margin-top: 1rem; font-weight: 700; font-size: .8125rem; border-top: 2px solid var(--blue); padding-top: .5rem; }
@media (max-width: 600px) { .nbb-ausgabe { grid-template-columns: 1fr; } .nbb-ausgabe__titel { width: 10rem; justify-self: center; } }
.nbb-kopfkarte h1 { hyphens: auto; hyphenate-limit-chars: 14 5 5; }
@media (max-width: 480px) { .nbb-kopfkarte h1 { font-size: 2rem; } }
.nbb-blatt h2 + p { margin-top: 0; }

/* ═══ Lesbarkeit: Die Schrift hat sehr schmale Wortabstände ═══ */
body { word-spacing: .07em; }
h1, h2, h3, h4, .nbb-meldung h2, .nbb-hero h1 { word-spacing: .1em; }
h1, .nbb-hero h1 { letter-spacing: -.018em; }
h2 { letter-spacing: -.012em; }
h3, h4 { letter-spacing: 0; }
.nbb-artikel p, .nbb-artikel li { font-size: 1.0625rem !important; line-height: 1.75; }
.nbb-artikel > p:first-of-type { font-size: 1.125rem !important; }
.nbb-artikel .nbbz-termin p { line-height: 1.55; }
.nbb-artikel figcaption { font-size: .8125rem; }

/* ═══ Menüknopf: zwei Striche, die an Ort und Stelle zum X werden ═══ */
.nbb-menue :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) { position: relative; width: 44px; height: 44px; padding: 0; margin: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 999px; }
.nbb-menue :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) svg { display: none; }
.nbb-menue :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close)::before,
.nbb-menue :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close)::after { content: ""; position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.nbb-menue .wp-block-navigation__responsive-container-open::before { transform: translateY(-4px); }
.nbb-menue .wp-block-navigation__responsive-container-open::after { transform: translateY(4px); }
.nbb-menue .wp-block-navigation__responsive-container-close { z-index: 5; }
.nbb-menue .wp-block-navigation__responsive-container-close::before { transform: rotate(45deg); }
.nbb-menue .wp-block-navigation__responsive-container-close::after { transform: rotate(-45deg); }
.nbb-menue .is-menu-open .wp-block-navigation__responsive-container-close::before { animation: nbb-x-oben .38s cubic-bezier(.3, .8, .25, 1) both; }
.nbb-menue .is-menu-open .wp-block-navigation__responsive-container-close::after { animation: nbb-x-unten .38s cubic-bezier(.3, .8, .25, 1) both; }
.nbb-menue .wp-block-navigation__responsive-container-open.geht-zurueck::before { animation: nbb-x-oben .32s cubic-bezier(.3, .8, .25, 1) reverse both; }
.nbb-menue .wp-block-navigation__responsive-container-open.geht-zurueck::after { animation: nbb-x-unten .32s cubic-bezier(.3, .8, .25, 1) reverse both; }
/* Erst zusammenlaufen, dann drehen. */
@keyframes nbb-x-oben { 0% { transform: translateY(-4px) rotate(0); } 45% { transform: translateY(0) rotate(0); } 100% { transform: translateY(0) rotate(45deg); } }
@keyframes nbb-x-unten { 0% { transform: translateY(4px) rotate(0); } 45% { transform: translateY(0) rotate(0); } 100% { transform: translateY(0) rotate(-45deg); } }
/* Das Menü blendet nur ein, ohne zu verrutschen, damit das X stillsteht. */
.nbb-menue .wp-block-navigation__responsive-container.is-menu-open { animation: nbb-blende .22s ease both; }
@keyframes nbb-blende { from { opacity: 0; } to { opacity: 1; } }
.nbb-kopf-cta { white-space: nowrap; }
@media (max-width: 460px) { .nbb-kopf-cta.nbb-btn { padding-inline: .8rem; font-size: .875rem; } }

/* Video erst nach Klick */
.nbb-video { aspect-ratio: 16 / 9; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; align-items: center; gap: .75rem 1.25rem; padding: 1.25rem; border-radius: 16px; background: var(--blue-l, #EAF0F8); text-align: center; }
.nbb-video p { flex-basis: 100%; margin: 0; font-size: .9375rem !important; line-height: 1.5; }
.nbb-video p strong { display: block; font-size: 1.125rem; }
.nbb-video--da { padding: 0; background: #000; overflow: hidden; }
.nbb-video iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 520px) { .nbb-video { aspect-ratio: auto; } .nbb-video--da { aspect-ratio: 16 / 9; } }
