/* Bühnendesign (Vorlage: Nachrichten-Theme „4News“, nur Stil-Vorbild; gemeinsame Vorlage seit 19.11.2026).
   Original: entwuerfe/magazin-designs/_buehnendesign/startseite.css. Nicht im Magazin bearbeiten:
   einrichten.py baut die Datei aus dieser Vorlage plus den Farben aus scripts/design.json neu.
   Gilt für body.bd-seite (Startseite) und body.bd-unterseite. */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/oswald-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.bd-seite {
  /* Grundwerte; jedes Magazin überschreibt sie am Dateiende */
  --bd-dunkel: #141414; --bd-akzent: #e53935; --bd-akzent-text: #c62828; --bd-schild-grund: #c62828; --bd-schild-schrift: #fff;
  --bd-grau: #5f6368; --bd-linie: #e3e3e3; --bd-flaeche: #f2f3f4; --bd-tinte: #161616; --bd-tinte-2: #3b3f44;
  --bd-titel: "Oswald", "Arial Narrow", Arial, sans-serif; --bd-text: Georgia, serif; --bd-logo-hoehe: 56px;
  background: #fff; color: var(--bd-tinte);
}
.bd-bahn { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* Kleinteile */
.bd-schild { display: inline-block; background: var(--bd-schild-grund); color: var(--bd-schild-schrift); font-family: var(--bd-titel); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; padding: 3px 8px 2px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-sizing: border-box; }
.bd-meta { font-family: var(--bd-text); font-size: 13px; color: var(--bd-grau); line-height: 1.45; }
.bd-knopf { display: inline-flex; align-items: center; justify-content: center; background: var(--bd-dunkel); color: #fff !important; font-family: var(--bd-titel);
  font-size: 15px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; padding: 11px 20px; text-decoration: none; border: 0; transition: background .2s; }
.bd-knopf:hover { background: var(--bd-akzent-text); }
.bd-blockkopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--bd-linie); margin-bottom: 20px; }
.bd-blockkopf h2 { position: relative; font-family: var(--bd-titel); font-size: 22px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  color: var(--bd-tinte); margin: 0; padding: 0 0 8px; line-height: 1.2; }
.bd-blockkopf h2::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--bd-akzent); }
.bd-blockkopf__mehr { font-family: var(--bd-titel); font-size: 14px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--bd-akzent-text);
  text-decoration: none; padding-bottom: 9px; white-space: nowrap; }
.bd-blockkopf__mehr:hover { text-decoration: underline; }

/* Dunkle Leiste oben */
.bd-leiste-oben { background: var(--bd-dunkel); color: #fff; font-family: var(--bd-text); font-size: 13.5px; }
.bd-leiste-oben__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.bd-leiste-oben__links { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bd-leiste-oben__marke { flex: none; background: var(--bd-schild-grund); color: var(--bd-schild-schrift); font-family: var(--bd-titel); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px 2px; }
.bd-leiste-oben__meldung { color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
a.bd-leiste-oben__meldung:hover { text-decoration: underline; }
.bd-leiste-oben__rechts { display: flex; gap: 20px; flex: none; }
.bd-leiste-oben__rechts a { color: #fff; text-decoration: none; opacity: .92; }
.bd-leiste-oben__rechts a:hover { text-decoration: underline; opacity: 1; }

/* Kopf und Menüleiste */
.bd-kopf { background: #fff; position: relative; z-index: 60; }
.bd-kopf__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.bd-kopf__marke { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bd-kopf__logo { display: inline-flex; text-decoration: none; }
.bd-kopf__logo svg { display: block; height: var(--bd-logo-hoehe); width: auto; max-width: 100%; }
.bd-kopf__zeile { font-family: var(--bd-text); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bd-grau); margin: 0; line-height: 1.4; }
.bd-kopf__aktion { flex: none; background: var(--bd-dunkel); color: #fff; font-family: var(--bd-titel); font-size: 15px; font-weight: 500; letter-spacing: .05em;
  text-transform: uppercase; padding: 11px 20px; text-decoration: none; transition: background .2s; }
.bd-kopf__aktion:hover { background: var(--bd-akzent-text); color: #fff; }
.bd-kopf__knopf { display: none; width: 48px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; margin-right: -8px; }
.bd-kopf__knopf span { display: block; width: 24px; height: 2px; background: var(--bd-tinte); margin: 5px auto; transition: transform .25s, opacity .2s; }
.bd-kopf__knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bd-kopf__knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bd-kopf__knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.bd-menue { border-top: 1px solid var(--bd-linie); border-bottom: 1px solid var(--bd-linie); background: #fff; }
.bd-menue__in { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 34px; }
.bd-menue a { font-family: var(--bd-titel); font-size: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--bd-tinte); text-decoration: none;
  padding: 15px 0 12px; border-bottom: 3px solid transparent; }
.bd-menue a:hover, .bd-menue a[aria-current="page"] { color: var(--bd-akzent-text); border-bottom-color: var(--bd-akzent); }
.bd-seite .bd-mobil { display: none; }

/* Werbeflächen */
.bd-werbung { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.bd-werbung__hinweis { display: block; font-family: var(--bd-text); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bd-grau); line-height: 1.4; }
.bd-werbung__link { display: block; max-width: 100%; transition: opacity .2s; }
.bd-werbung__link:hover { opacity: .92; }
.bd-werbung img { display: block; width: 100%; height: auto; }
.bd-werbung--quadrat .bd-werbung__link, .bd-werbung--hoch .bd-werbung__link { width: 300px; }
.bd-werbung--im-text { margin: 28px 0 32px; }
.bd-werbung--im-text .bd-werbung__link { width: 728px; }

/* Bühne aus Bildkacheln */
.bd-buehne { padding-top: 22px; }
.bd-buehne__oben { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 4px; height: 430px; }
.bd-buehne__oben--allein { grid-template-columns: minmax(0, 1fr); height: 480px; }
.bd-buehne__unten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; height: 250px; margin-top: 4px; }
.bd-kachel { position: relative; overflow: hidden; background: var(--bd-dunkel); margin: 0; min-height: 0; }
.bd-kachel__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; transition: transform .6s ease; transform-origin: 0% 50%; }
.bd-kachel:hover .bd-kachel__bild { transform: scale(1.04); }
.bd-kachel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 36%, rgba(0,0,0,.32) 72%, rgba(0,0,0,.22) 100%); pointer-events: none; }
.bd-kachel__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.bd-kachel .bd-meta { color: rgba(255,255,255,.88); }
.bd-kachel__titel { font-family: var(--bd-titel); font-weight: 600; font-size: 21px; line-height: 1.22; margin: 0; text-shadow: 0 1px 6px rgba(0,0,0,.6);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bd-kachel--gross .bd-kachel__titel { font-size: clamp(24px, 2.6vw, 34px); }
.bd-kachel__titel a { color: #fff; text-decoration: none; }
.bd-kachel__titel a::after { content: ""; position: absolute; inset: 0; }
.bd-kachel__titel a:hover { text-decoration: underline; }

/* Spalten */
.bd-spalten { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-top: 38px; padding-bottom: 20px; }
.bd-hauptspalte { min-width: 0; }
.bd-seitenleiste { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.bd-block { margin-bottom: 42px; }

/* Ausgewählte Beiträge: hohe Kachel + Liste */
.bd-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.bd-kachel--hoch { min-height: 440px; }
.bd-top__liste { display: flex; flex-direction: column; gap: 16px; }
.bd-zeile { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: start; margin: 0; }
.bd-zeile__bildlink { display: block; }
.bd-zeile img { display: block; width: 116px; aspect-ratio: 3 / 2; object-fit: cover; }
.bd-zeile__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bd-zeile h3 { font-family: var(--bd-titel); font-weight: 500; font-size: 16.5px; line-height: 1.28; margin: 0; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bd-zeile h3 a { color: var(--bd-tinte); text-decoration: none; }
.bd-zeile h3 a:hover { color: var(--bd-akzent-text); }

/* Graue Box „Im Fokus“ */
.bd-fokus { background: var(--bd-flaeche); padding: 22px 24px 26px; border-top: 3px solid var(--bd-akzent); }
.bd-fokus .bd-blockkopf { border-bottom-color: #d5d8dc; }
.bd-fokus__haupt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; margin: 0 0 24px; }
.bd-fokus__bildlink { position: relative; display: block; }
.bd-fokus__bildlink img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bd-fokus__bildlink .bd-schild { position: absolute; top: 10px; left: 10px; }
.bd-fokus__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.bd-fokus__text h3 { font-family: var(--bd-titel); font-weight: 600; font-size: 24px; line-height: 1.22; margin: 0; overflow-wrap: anywhere; }
.bd-fokus__text h3 a { color: var(--bd-tinte); text-decoration: none; }
.bd-fokus__text h3 a:hover { color: var(--bd-akzent-text); }
.bd-fokus__text p { font-family: var(--bd-text); font-size: 15px; line-height: 1.6; color: var(--bd-tinte-2); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bd-fokus__klein { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }

/* Karten „Alle Beiträge“ und „Weitere Beiträge“ (heben alte .eintrag-Regeln der Magazine auf) */
.bd-alle, .bd-weitere__karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
.bd-seite .bd-karte, .bd-seite .bd-karte.eintrag:first-child { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0;
  background: none; color: inherit; border-radius: 0; box-shadow: none; grid-column: auto; grid-template-columns: none; }
/* Alte Startseiten-Regeln der Magazine (.eintrag:first-child als Titelgeschichte, :nth-child-Raster) gelten hier nicht */
.bd-seite .bd-alle > .bd-karte.eintrag { grid-column: auto; grid-row: auto; display: flex; flex-direction: column; grid-template-columns: none; gap: 7px;
  margin: 0; padding: 0; border: 0; background: none; color: inherit; align-items: stretch; }
.bd-seite .bd-alle > .bd-karte.eintrag > * { order: 0; }
.bd-seite .bd-alle > .bd-karte.eintrag img { aspect-ratio: 16 / 9; object-fit: cover; margin: 0; border: 0; }
.bd-seite .bd-alle > .bd-karte.eintrag h3 { font-size: 18px; line-height: 1.28; margin: 0; letter-spacing: 0; padding: 0; border: 0; font-weight: 500; }
.bd-karte__bildlink { position: relative; display: block; margin-bottom: 4px; order: 0; }
.bd-seite .bd-karte img.bd-karte__bild, .bd-seite .bd-karte.eintrag:first-child > a img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 0; border-radius: 0; background: var(--bd-flaeche); margin: 0; }
.bd-karte__bildlink .bd-schild { position: absolute; top: 10px; left: 10px; }
.bd-seite .bd-alle .bd-karte h3, .bd-seite .bd-weitere .bd-karte h3 { font-family: var(--bd-titel); font-weight: 500; font-size: 18px; line-height: 1.28; letter-spacing: 0; margin: 0; overflow-wrap: anywhere; order: 0; }
.bd-seite .bd-karte h3 a { color: var(--bd-tinte); text-decoration: none; }
.bd-seite .bd-karte h3 a:hover { color: var(--bd-akzent-text); text-decoration: none; }

/* Seitenkästen */
.bd-kasten { border: 1px solid var(--bd-linie); padding: 18px 20px 20px; min-width: 0; background: #fff; }
.bd-kasten .bd-blockkopf { margin-bottom: 16px; }
.bd-kasten .bd-blockkopf h2 { font-size: 19px; }
.bd-kasten p { font-family: var(--bd-text); font-size: 15px; line-height: 1.6; color: var(--bd-tinte-2); margin: 0 0 16px; }
.bd-kasten--aufruf { background: var(--bd-flaeche); border-top: 3px solid var(--bd-akzent); }
.bd-kasten__label { display: block; font-family: var(--bd-titel); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--bd-akzent-text); margin-bottom: 6px; }
.bd-kasten__titel { font-family: var(--bd-titel); font-weight: 600; font-size: 22px; line-height: 1.22; color: var(--bd-tinte); margin: 0 0 10px; }
.bd-neu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bd-neu li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: start; }
.bd-neu__bild img { display: block; width: 88px; aspect-ratio: 3 / 2; object-fit: cover; }
.bd-neu__titel { display: block; font-family: var(--bd-titel); font-weight: 500; font-size: 15.5px; line-height: 1.28; color: var(--bd-tinte); text-decoration: none; margin-top: 2px; overflow-wrap: anywhere; }
.bd-neu__titel:hover { color: var(--bd-akzent-text); }

/* Unterseiten */
.bd-unterseite main#inhalt { box-sizing: border-box; }
.bd-unterseite .beitragskopf { max-width: none; }
.bd-unterseite .beitragskopf h1 { font-family: var(--bd-titel); font-weight: 600; letter-spacing: 0; line-height: 1.15; }
.bd-unterseite .beitragskopf .marke, .bd-unterseite .beitragskopf .pille { display: inline-block; background: var(--bd-schild-grund); color: var(--bd-schild-schrift); border-radius: 0; padding: 3px 9px 2px;
  font-family: var(--bd-titel); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.bd-unterseite .grossbild { border-radius: 0; }
.bd-unterseite .spalte { position: static; display: flex; flex-direction: column; gap: 28px; }
.bd-unterseite .bd-unten { margin: 40px 0 10px; }
.bd-unterseite .bd-weitere__karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 941px) { .bd-unterseite .koerper { grid-template-columns: minmax(0, 1fr) 300px; } }

/* Breiten */
@media (max-width: 1099px) {
  .bd-spalten { grid-template-columns: minmax(0, 1fr); }
  .bd-seitenleiste { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; justify-items: center; }
  .bd-seitenleiste .bd-kasten { justify-self: stretch; }
}
@media (max-width: 899px) {
  .bd-leiste-oben__rechts, .bd-kopf__aktion, .bd-menue { display: none; }
  .bd-kopf { position: sticky; top: 0; border-bottom: 3px solid var(--bd-akzent); }
  .bd-kopf__in { padding-top: 10px; padding-bottom: 10px; gap: 16px; }
  .bd-kopf__zeile { display: none; }
  .bd-kopf h1.bd-kopf__zeile { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bd-kopf__logo svg { height: calc(var(--bd-logo-hoehe) * .78); }
  .bd-kopf__knopf { display: block; }
  .bd-seite .bd-mobil.offen { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 3px solid var(--bd-akzent); box-shadow: 0 12px 24px -12px rgba(0,0,0,.25); padding: 6px 24px 14px; }
  .bd-mobil a { padding: 13px 0; border-bottom: 1px solid var(--bd-linie); font-family: var(--bd-titel); font-size: 17px; font-weight: 500; letter-spacing: .04em;
    text-transform: uppercase; color: var(--bd-tinte); text-decoration: none; }
  .bd-mobil a:last-child { border-bottom: 0; color: var(--bd-akzent-text); }
  .bd-mobil a[aria-current="page"] { color: var(--bd-akzent-text); }
  .bd-buehne { padding-bottom: 10px; }
  .bd-buehne__oben { grid-template-columns: minmax(0, 1fr); height: auto; gap: 14px; }
  .bd-buehne__unten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: auto; gap: 14px; margin-top: 14px; }
  .bd-buehne__unten .bd-kachel:last-child { grid-column: 1 / -1; }
  /* Titel unter dem Bild auf dunklem Grund: die Titelbilder tragen eigenen Text */
  .bd-kachel { display: flex; flex-direction: column; aspect-ratio: auto; min-height: 0; }
  .bd-kachel::after { display: none; }
  .bd-kachel__bild { position: static; height: auto; aspect-ratio: 16 / 9; object-position: 50% 50%; }
  .bd-kachel:hover .bd-kachel__bild { transform: none; }
  .bd-kachel__text { position: static; flex: 1; background: var(--bd-dunkel); }
  .bd-kachel__titel { text-shadow: none; }
  .bd-top { grid-template-columns: minmax(0, 1fr); }
  .bd-kachel--hoch { min-height: 0; }
  .bd-fokus__haupt { grid-template-columns: minmax(0, 1fr); }
  .bd-alle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-werbung--im-text .bd-werbung__link { width: 100%; }
}
@media (max-width: 639px) {
  .bd-bahn { padding: 0 16px; }
  .bd-seite .bd-mobil.offen { padding: 6px 16px 14px; }
  .bd-leiste-oben { font-size: 12.5px; }
  .bd-buehne { padding-top: 12px; }
  .bd-buehne__unten { grid-template-columns: minmax(0, 1fr); }
  .bd-buehne__unten .bd-kachel:last-child { grid-column: auto; }
  .bd-kachel__text { padding: 14px 16px; }
  .bd-kachel__titel { font-size: 19px; }
  .bd-kachel--gross .bd-kachel__titel { font-size: 22px; }
  .bd-fokus { padding: 18px 16px 20px; }
  .bd-fokus__klein, .bd-alle, .bd-weitere__karten, .bd-unterseite .bd-weitere__karten { grid-template-columns: minmax(0, 1fr); }
  .bd-zeile { grid-template-columns: 100px minmax(0, 1fr); }
  .bd-zeile img { width: 100px; }
  .bd-seitenleiste { grid-template-columns: minmax(0, 1fr); }
}


/* Farben und Schrift dieses Magazins (aus scripts/design.json) */
.bd-seite {
  --bd-dunkel: #1f3549;
  --bd-akzent: #de5b33;
  --bd-akzent-text: #b5441d;
  --bd-schild-grund: #a83c18;
  --bd-schild-schrift: #ffffff;
  --bd-grau: #4a5d70;
  --bd-linie: #d6dfe8;
  --bd-flaeche: #eef2f6;
  --bd-tinte: #1f3549;
  --bd-tinte-2: #3c4f63;
  --bd-text: var(--text);
  --bd-logo-hoehe: 70px;
}
