/* Tickerdesign (Vorlage: Magazin-Theme mit farbiger Laufzeile und dunkler Menüleiste von Pinterest, gemeinsame Vorlage seit 19.11.2026).
   Original: entwuerfe/magazin-designs/_tickerdesign/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.td-seite (Startseite) und body.td-unterseite; .td-build = Seite eines Build-Magazins. */
.td-seite {
  /* Grundwerte; jedes Magazin überschreibt sie am Dateiende */
  --td-dunkel: #2b2b2b; --td-schwarz: #111; --td-akzent: #f26522; --td-akzent-text: #b8470f; --td-auf-akzent: #fff;
  --td-tinte: #1b1b1b; --td-tinte-2: #3d3d3d; --td-grau: #5f5f5f; --td-linie: #e4e4e4; --td-flaeche: #f4f4f4;
  --td-titel-schrift: var(--sans, var(--lauf, system-ui)); --td-ui: var(--sans, var(--lauf, system-ui)); --td-text-schrift: var(--sans, var(--lauf, system-ui));
  --td-logo-hoehe: 56px;
  background: #fff; color: var(--td-tinte);
}
/* Build-Magazine haben keine Grundregel für Bilder: ohne height:auto gilt height=900 aus dem HTML */
.td-seite img { height: auto; max-width: 100%; }
.td-seite .nur-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.td-seite .nur-sr:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; color: #000; padding: 8px 12px; }
.td-bahn { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }

/* Kleinteile */
.td-rubrik { display: inline-block; font-family: var(--td-ui); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--td-akzent-text); line-height: 1.3; }
.td-datum { display: inline-block; font-family: var(--td-ui); font-size: 12.5px; color: var(--td-grau); line-height: 1.4; }
.td-knopf { display: inline-flex; align-items: center; justify-content: center; background: var(--td-akzent); color: var(--td-auf-akzent) !important; font-family: var(--td-ui);
  font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; padding: 10px 16px; border-radius: 2px; text-decoration: none; white-space: nowrap; }
.td-knopf:hover { filter: brightness(1.08); }
.td-knopf--gross { font-size: 14.5px; padding: 14px 24px; }
/* Überschrift mit farbigem Balken links und feiner Linie */
.td-blockkopf, .td-seite .td-gross { position: relative; font-family: var(--td-ui); font-size: 16px; font-weight: 800; color: var(--td-tinte); margin: 0 0 14px;
  padding: 0 0 8px 12px; border-bottom: 1px solid var(--td-linie); line-height: 1.3; text-transform: none; letter-spacing: 0; scroll-margin-top: 20px; }
.td-blockkopf::before, .td-seite .td-gross::before { content: ""; position: absolute; left: 0; top: 2px; height: 1.1em; width: 4px; background: var(--td-akzent); }

/* Leiste oben, Kopf, Menüleiste, Laufzeile */
.td-topbar { background: var(--td-schwarz); font-family: var(--td-ui); font-size: 12px; }
.td-topbar__in { display: flex; align-items: center; min-height: 30px; }
.td-topbar__links { display: flex; gap: 18px; }
.td-topbar__links a { color: rgba(255,255,255,.88); text-decoration: none; }
.td-topbar__links a:hover { color: #fff; text-decoration: underline; }
.td-kopf { background: #fff; position: relative; z-index: 60; }
.td-kopf__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.td-marke { display: flex; align-items: center; gap: 16px; min-width: 0; }
.td-logo { margin: 0; line-height: 0; flex: none; }
.td-logo a { display: inline-block; }
.td-logo img { display: block; height: var(--td-logo-hoehe); width: auto; max-width: 100%; }
.td-marke__zeile { font-family: var(--td-ui); font-size: 13px; color: var(--td-grau); border-left: 1px solid var(--td-linie); padding-left: 16px; max-width: 220px; line-height: 1.35; }
.td-navleiste { background: var(--td-dunkel); }
.td-navleiste__in { display: flex; align-items: stretch; gap: 10px; min-height: 46px; }
.td-nav { display: flex; flex-wrap: wrap; flex: 1 1 auto; }
.td-nav__link { display: flex; align-items: center; padding: 0 15px; font-family: var(--td-ui); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; text-decoration: none; }
.td-nav__link:hover { background: rgba(255,255,255,.1); color: #fff; }
.td-nav__link[aria-current="page"] { background: var(--td-akzent); color: var(--td-auf-akzent); }
.td-nav__aktion { margin-left: auto; }
.td-navleiste__suche { display: flex; align-items: center; justify-content: center; width: 44px; color: #fff; }
.td-menueknopf { display: none; width: 44px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer; }
.td-menueknopf span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: transform .25s, opacity .2s; }
.td-menueknopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.td-menueknopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.td-menueknopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.td-mobil { display: none; }
.td-ticker { background: var(--td-akzent); color: var(--td-auf-akzent); }
.td-ticker__in { display: flex; align-items: center; gap: 14px; min-height: 36px; }
.td-ticker__marke { flex: none; background: var(--td-schwarz); color: #fff; font-family: var(--td-ui); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; }
.td-ticker__text { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--td-ui); font-size: 13.5px; font-weight: 600; }
.td-ticker__text a { color: var(--td-auf-akzent); text-decoration: none; }
.td-ticker__text a + a::before { content: "•"; margin: 0 12px; opacity: .7; }
.td-ticker__text a:hover { text-decoration: underline; }

/* Werbeflächen */
.td-werbung { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.td-werbung__hinweis { font-family: var(--td-ui); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--td-grau); line-height: 1.4; }
.td-werbung__link { display: block; max-width: 100%; transition: opacity .2s; }
.td-werbung__link:hover { opacity: .92; }
.td-werbung img { display: block; width: 100%; height: auto; }
.td-werbung--kopf { flex: 0 1 728px; align-items: flex-end; }
.td-werbung--kopf .td-werbung__link { width: 728px; }
.td-werbung--breit { margin: 10px 0 44px; }
.td-werbung--breit .td-werbung__link { width: 970px; }
.td-werbung--quadrat .td-werbung__link { width: 300px; }
.td-werbung--im-text { margin: 28px 0 32px; }
.td-werbung--im-text .td-werbung__link { width: 100%; }

/* Oben: Aufmacher und Themenblöcke links, Seitenleiste rechts */
.td-oben { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-top: 24px; padding-bottom: 34px; align-items: start; }
.td-oben__haupt { min-width: 0; }
.td-aufmacher { position: relative; margin: 0 0 30px; }
.td-aufmacher__bildlink { display: block; }
.td-aufmacher img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.td-aufmacher__text { position: relative; margin: -64px 0 0 18px; max-width: min(600px, calc(100% - 36px)); background: #141414; padding: 14px 18px 14px;
  display: flex; flex-direction: column; gap: 6px; border-left: 4px solid var(--td-akzent); }
.td-aufmacher__text .td-rubrik { color: var(--td-akzent-hell, #fff); }
.td-aufmacher__titel { font-family: var(--td-titel-schrift); font-weight: 800; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.22; color: #fff; margin: 0; text-transform: none;
  overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 13 5 5; }
.td-aufmacher__titel a { color: #fff; text-decoration: none; }
.td-aufmacher__titel a::after { content: ""; position: absolute; inset: 0; }
.td-aufmacher__text p { font-family: var(--td-text-schrift); font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.88); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.td-aufmacher .td-datum { color: rgba(255,255,255,.8); }
.td-bloecke { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.td-block { min-width: 0; }
.td-block .td-karte h3 { font-size: 15.5px; }
.td-block .td-karte__anriss { -webkit-line-clamp: 3; }

/* Listen */
.td-zeilen { list-style: none; margin: 12px 0 0; padding: 0; }
.td-zeile { border-top: 1px dashed #cfcfcf; }
.td-zeile a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 0; text-decoration: none; }
.td-zeile a:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.td-zeile img { display: block; width: 64px; aspect-ratio: 1; object-fit: cover; }
.td-zeile__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.td-zeile__titel { font-family: var(--td-titel-schrift); font-weight: 700; font-size: 13px; line-height: 1.3; color: var(--td-tinte);
  overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 13 5 5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.td-zeile a:hover .td-zeile__titel { color: var(--td-akzent-text); }

/* Karten */
.td-karte { display: flex; flex-direction: column; min-width: 0; }
.td-seite .td-karte { padding: 0; border: 0; margin: 0; background: none; border-radius: 0; box-shadow: none; transform: none; }
.td-seite .td-karte.eintrag { display: flex; flex-direction: column; text-align: left; gap: 0; grid-template-columns: none; align-items: stretch; }
.td-seite .td-karte.eintrag + .td-karte.eintrag, .td-seite .td-karte.eintrag:first-child { border-top: 0; padding-top: 0; }
.td-seite .td-karte.eintrag > a { order: 0; display: block; padding: 0; background: none; border-radius: 0; grid-template-columns: none; transform: none; transition: none; }
.td-seite .td-karte img { margin: 0; }
.td-karte__bildlink { display: block; margin-bottom: 10px; overflow: hidden; }
.td-karte__bildlink img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.td-karte:hover .td-karte__bildlink img { transform: scale(1.03); }
.td-karte__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.td-seite .td-karte h3 { font-family: var(--td-titel-schrift); font-weight: 800; font-size: 16px; line-height: 1.28; margin: 0; letter-spacing: 0;
  overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 13 5 5; text-transform: none; }
.td-seite .td-karte h3 a { color: var(--td-tinte); text-decoration: none; }
.td-seite .td-karte h3 a:hover { color: var(--td-akzent-text); }
.td-karte__anriss { font-family: var(--td-text-schrift); font-size: 13.5px; line-height: 1.55; color: var(--td-tinte-2); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.td-karte__meta { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.td-karte--ohne-bild { border-top: 3px solid var(--td-akzent) !important; padding-top: 12px !important; }

/* Seitenleiste */
.td-seitenleiste { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.td-kasten { min-width: 0; }
.td-kasten__kopf { margin: 0; background: var(--td-akzent); color: var(--td-auf-akzent); font-family: var(--td-ui); font-size: 13px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 9px 12px; line-height: 1.3; }
.td-kasten--neu { border: 1px solid var(--td-linie); }
.td-neu { list-style: none; margin: 0; padding: 4px 12px 6px; }
.td-neu li { border-bottom: 1px solid var(--td-linie); }
.td-neu li:last-child { border-bottom: 0; }
.td-neu a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 0; text-decoration: none; }
.td-neu a:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.td-neu img { display: block; width: 64px; aspect-ratio: 1; object-fit: cover; }
.td-neu__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.td-neu__titel { font-family: var(--td-titel-schrift); font-weight: 700; font-size: 13px; line-height: 1.3; color: var(--td-tinte);
  overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 13 5 5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.td-neu a:hover .td-neu__titel { color: var(--td-akzent-text); }
.td-kasten--aufruf { background: var(--td-dunkel); color: #fff; padding: 20px; border-top: 4px solid var(--td-akzent); }
.td-kasten--aufruf .td-rubrik { color: var(--td-akzent-hell, #fff); }
.td-kasten__titel { font-family: var(--td-titel-schrift); font-weight: 800; font-size: 19px; line-height: 1.25; color: #fff; margin: 8px 0 10px; text-transform: none; }
.td-kasten--aufruf p { font-family: var(--td-text-schrift); font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.88); margin: 0 0 14px; }

/* Alle Beiträge */
.td-abschnitt { padding-bottom: 44px; }
.td-abschnitt__kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.td-abschnitt__kopf .td-blockkopf { flex: 1 1 auto; margin: 0; }
.td-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.td-suche { margin: 0; }
.td-suche input { width: 230px; max-width: 100%; box-sizing: border-box; font-family: var(--td-ui); font-size: 13.5px; color: var(--td-tinte); background: #fff;
  border: 1px solid #c8c8c8; padding: 7px 10px; }
.td-suche input::placeholder { color: var(--td-grau); }
.td-suche input:focus { outline: 2px solid var(--td-akzent); outline-offset: 1px; }
.td-raster [hidden] { display: none !important; }

/* Aufruf */
.td-aufruf { background: var(--td-dunkel); color: #fff; border-top: 5px solid var(--td-akzent); }
.td-aufruf__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 36px; padding-bottom: 36px; }
.td-aufruf__label { display: block; font-family: var(--td-ui); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--td-akzent-hell, #fff); }
.td-aufruf__titel { font-family: var(--td-titel-schrift); font-weight: 800; font-size: clamp(22px, 2.4vw, 29px); line-height: 1.2; color: #fff; margin: 6px 0 8px; text-transform: none; }
.td-aufruf p { font-family: var(--td-text-schrift); font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.88); margin: 0; max-width: 62ch; }

/* Alte Teile der Magazine angleichen */
.td-seite .eintrag:first-child { border-top: 0; }
.td-seite .footer, .td-seite .fuss { border-top: 5px solid var(--td-akzent); }

/* Unterseiten (Build-Magazine: article-hero, article-body, article-aside) */
.td-unterseite .article-aside.td-seitenleiste { position: static; }
.td-unterseite .td-unten { margin: 10px auto 40px; }
.td-unterseite .td-unten .td-abschnitt { padding-bottom: 0; }
.td-unterseite .td-raster--weiter { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.td-unterseite .beitragskopf__meta, .td-unterseite .beitragskopf__meta *, .td-unterseite .article-hero__meta, .td-unterseite .article-hero__meta * { color: var(--td-grau); }
.td-unterseite figure figcaption { color: var(--td-grau); }
.td-unterseite .article-body__inner a:not([class]), .td-unterseite .page-body__inner a:not([class]) { color: var(--td-akzent-text); }
.td-unterseite .lp-aufruf a:not([class]) { color: inherit; text-decoration: underline; }

/* Breiten */
@media (max-width: 1099px) {
  .td-oben { grid-template-columns: minmax(0, 1fr); }
  .td-seitenleiste { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .td-seitenleiste .td-kasten--aufruf { grid-column: 1 / -1; }
  .td-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 979px) {
  .td-werbung--kopf, .td-marke__zeile { display: none; }
}
@media (max-width: 899px) {
  .td-nav, .td-navleiste__suche { display: none; }
  .td-menueknopf { display: block; margin-left: -10px; }
  .td-navleiste__in { min-height: 46px; }
  .td-kopf__in { padding-top: 12px; padding-bottom: 12px; }
  .td-logo img { height: calc(var(--td-logo-hoehe) * .75); }
  .td-mobil.offen { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--td-dunkel);
    border-bottom: 4px solid var(--td-akzent); padding: 4px 24px 14px; z-index: 80; }
  .td-mobil a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-family: var(--td-ui); font-size: 14.5px; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: #fff; text-decoration: none; }
  .td-mobil a:last-child { border-bottom: 0; color: var(--td-akzent-hell, #fff); }
  .td-bloecke { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .td-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .td-aufruf__in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .td-unterseite .td-raster--weiter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .td-bahn { padding-left: 16px; padding-right: 16px; }
  .td-mobil.offen { padding: 4px 16px 14px; }
  .td-topbar { display: none; }
  .td-oben { padding-top: 16px; }
  .td-aufmacher__text { margin: 0; max-width: none; }
  .td-build .article-hero:not(:has(.wrap)), .td-build .page-hero:not(:has(.wrap)) { padding-left: 16px; padding-right: 16px; }
  .td-bloecke, .td-raster, .td-unterseite .td-raster--weiter { grid-template-columns: minmax(0, 1fr); }
  .td-seitenleiste { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .td-seitenleiste .td-werbung { justify-self: center; }
  .td-abschnitt__kopf { align-items: stretch; flex-direction: column; }
  .td-suche input { width: 100%; }
  .td-werbung--breit .td-werbung__link { width: 300px; }
}


/* Farben und Schrift dieses Magazins (aus scripts/design.json) */
.td-seite {
  --td-dunkel: #1c1c1c;
  --td-schwarz: #000000;
  --td-akzent: #b8902c;
  --td-akzent-text: #7f611a;
  --td-auf-akzent: #141414;
  --td-akzent-hell: #e0c06a;
  --td-tinte: #1c1c1c;
  --td-tinte-2: #3a3a3a;
  --td-grau: #5e5e5e;
  --td-linie: #e5e0d2;
  --td-flaeche: #faf8f3;
  --td-logo-hoehe: 46px;
}
@media (max-width: 639px) { .footer__brand img { max-width: calc(100% - 36px); height: auto; } }
.kicker, .article-hero__kicker, .page-hero__kicker { color: #7a5c18; }
