/* Personalblatt – Gestaltung im Stil einer Wirtschaftszeitung.
   Farben und Schriften zentral als Variablen; keine externen Ressourcen (DSGVO). */
:root {
  --ink: #141414;
  --ink-2: #4a4a4a;
  --ink-3: #6f6f6f;
  --paper: #ffffff;
  --paper-2: #f6f4ef;
  --rule: #dcd8d0;
  --brand: #0b2a3c;
  --accent: #b4321f;
  --serif: "Iowan Old Style", "Charter", "Georgia", "Cambria", "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.hp { position: absolute; left: -9999px; }

.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 2px; padding: 10px 18px; font: 600 15px var(--sans); cursor: pointer; }
.btn:hover { background: #962716; color: #fff; }
.btn-small { padding: 4px 12px; font-size: 13px; }

/* Kopf */
.topbar { border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 12px; }
.topbar-links { display: flex; gap: 18px; align-items: center; }
.topbar-links a:not(.btn) { color: var(--ink-2); }
.masthead { text-align: center; padding: 22px 0 14px; }
.logo { font: 700 clamp(40px, 7vw, 68px)/1 var(--serif); letter-spacing: -0.02em; color: var(--brand); }
.logo:hover { color: var(--brand); }
.claim { margin: 8px 0 0; font: 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.mainnav { border-top: 3px solid var(--brand); border-bottom: 1px solid var(--rule); background: #fff; position: sticky; top: 0; z-index: 5; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.mainnav li a { display: block; padding: 11px 13px; font: 600 14px var(--sans); color: var(--ink); }
.mainnav li a[aria-current] { box-shadow: inset 0 -3px var(--accent); }
.nav-toggle { display: none; }
.ticker { background: var(--paper-2); border-bottom: 1px solid var(--rule); font-size: 14px; }
.ticker-in { display: flex; align-items: center; gap: 14px; min-height: 40px; overflow: hidden; }
.ticker-label { flex: none; background: var(--accent); color: #fff; font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; }
.ticker-track { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-track a { margin-right: 26px; }
.ticker-track time { color: var(--accent); font-weight: 600; margin-right: 6px; }

main { padding-top: 26px; padding-bottom: 40px; }

/* Typo-Bausteine */
.kicker { margin: 0 0 4px; font: 700 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--c, var(--accent)); }
.headline { margin: 0 0 8px; font: 700 21px/1.22 var(--serif); letter-spacing: -0.005em; }
.headline-s { font-size: 18px; }
.teaser { margin: 0 0 8px; color: var(--ink-2); font: 16px/1.5 var(--serif); }
.meta { font-size: 13px; color: var(--ink-3); }
.meta-rubric { font-weight: 600; color: var(--ink-2); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 16px; padding-top: 10px; border-top: 3px solid var(--c, var(--brand)); font: 700 14px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.section-title .more { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--ink-3); }

/* Bilder / grafische Titelkarte */
.card-img, .list-img, .hero { display: block; overflow: hidden; background: var(--paper-2); }
.card-img img, .list-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.02); }
.cover { position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--c); color: #fff; overflow: hidden;
  background-image: linear-gradient(135deg, rgba(255,255,255,.07) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.07) 75%, transparent 75%);
  background-size: 14px 14px; }
.cover::after { content: ""; position: absolute; inset: 12% 8% auto auto; width: 38%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.25); border-radius: 50%; }
.cover-rubric { position: absolute; left: 7%; top: 9%; font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cover-kicker { position: absolute; left: 7%; bottom: 9%; right: 7%; font: 700 clamp(18px, 3.2vw, 34px)/1.1 var(--serif); }
.card-s .cover-kicker, .list-img .cover-kicker { font-size: 20px; }

/* Startseite */
.front { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
.card-xl .card-img { margin-bottom: 14px; }
.card-xl .headline { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; }
.card-xl .teaser { font-size: 19px; }
.card-m .card-img, .card-s .card-img { margin-bottom: 10px; }
.card-s .headline { font-size: 17px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.latest ol { list-style: none; margin: 0; padding: 0; }
.latest li { display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--rule); font: 600 15px/1.35 var(--serif); }
.latest li time { font: 600 12px/1.9 var(--sans); color: var(--accent); }
.latest li .kicker { display: inline; font-size: 11px; }
.band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 34px 0; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.rubric-section { margin: 40px 0; }
.rubric-section .section-title a:first-child { color: var(--c); }
.rubric-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
.rubric-list { list-style: none; margin: 0; padding: 0; }
.rubric-list li { padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--rule); }
.rubric-list li:last-child { border-bottom: 0; }

/* Newsletter */
.nl-box { background: var(--brand); color: #fff; padding: 28px clamp(18px, 4vw, 40px); margin: 36px 0; }
.nl-box h2 { margin: 0 0 8px; font: 700 clamp(24px, 3vw, 32px)/1.15 var(--serif); }
.nl-box p { margin: 0 0 16px; max-width: 640px; color: #d6dee4; }
.nl-eyebrow { font: 700 12px var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; color: #f0a594 !important; margin-bottom: 6px !important; }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.nl-form input[type=email] { flex: 1 1 260px; padding: 11px 12px; border: 0; border-radius: 2px; font: 16px var(--sans); }
.nl-consent { flex-basis: 100%; font-size: 13px; color: #c3ced6; }
.nl-consent a { text-decoration: underline; }
.nl-msg { flex-basis: 100%; margin: 0 !important; font-weight: 600; color: #fff !important; }
.nl-compact { margin-top: 40px; }

/* Listen */
.page-head { border-bottom: 3px solid var(--c, var(--brand)); margin-bottom: 24px; padding-bottom: 12px; }
.page-head h1 { margin: 0 0 4px; font: 700 clamp(30px, 4vw, 44px)/1.1 var(--serif); color: var(--c, var(--ink)); }
.page-head p { margin: 0; color: var(--ink-2); }
.list-item { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.list-item .headline { font-size: 23px; }
.pager { display: flex; justify-content: space-between; gap: 12px; padding: 24px 0; font-weight: 600; }
.archive { list-style: none; padding: 0; columns: 3 220px; }
.archive li { padding: 6px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.archive span { color: var(--ink-3); font-size: 13px; }
.empty { padding: 40px 0; color: var(--ink-3); }

/* Artikel */
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.article { max-width: 760px; }
.article-head h1 { margin: 0 0 14px; font: 700 clamp(30px, 4.2vw, 46px)/1.1 var(--serif); letter-spacing: -0.01em; }
.lead { margin: 0 0 14px; font: 600 20px/1.45 var(--serif); }
.byline { margin: 0 0 20px; font-size: 14px; color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.hero { margin: 0 0 24px; }
.hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero figcaption { padding: 6px 0; font-size: 12px; color: var(--ink-3); background: #fff; }
.hero figcaption a { text-decoration: underline; }
.facts { float: right; width: 280px; margin: 4px 0 18px 26px; padding: 16px 18px; background: var(--paper-2); border-top: 3px solid var(--c); }
.facts h2 { margin: 0 0 8px; font: 700 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.facts ul { margin: 0; padding-left: 18px; font-size: 15px; }
.facts li { margin-bottom: 6px; }
.article-body { font: 19px/1.65 var(--serif); }
.article-body p { margin: 0 0 1.1em; }
.article-body h2 { clear: both; margin: 1.6em 0 .5em; font: 700 24px/1.25 var(--serif); }
.article-body ul, .article-body ol { padding-left: 1.2em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote { margin: 1.2em 0; padding-left: 18px; border-left: 3px solid var(--c); font-style: italic; color: var(--ink-2); }
.article-foot { clear: both; margin-top: 30px; border-top: 1px solid var(--rule); padding-top: 18px; }
.sources h2 { margin: 0 0 8px; font: 700 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.sources ul { margin: 0 0 16px; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.sources a { text-decoration: underline; }
.ai-note { font-size: 13px; color: var(--ink-3); background: var(--paper-2); padding: 10px 12px; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; border: 1px solid var(--rule); padding: 2px 10px; border-radius: 20px; }
.share { display: flex; gap: 14px; font-size: 14px; font-weight: 600; margin-top: 12px; }
.share span { color: var(--ink-3); font-weight: 400; }
.related { margin-top: 48px; }
.article-side .latest { position: sticky; top: 64px; }

.narrow { max-width: 760px; }
.prose { font: 18px/1.6 var(--serif); }
.prose h1 { font: 700 40px/1.1 var(--serif); }
.prose h2 { font: 700 22px var(--serif); margin-top: 1.4em; }
.prose a { text-decoration: underline; }
.notice { background: #fff4d6; padding: 10px 14px; font: 14px var(--sans); }
.status { padding: 14px 18px; margin-bottom: 10px; background: #e7f3ea; border-left: 4px solid #2f7a45; font-weight: 600; }
.status.err { background: #fbe9e7; border-color: var(--accent); }
.search-form input { width: 100%; padding: 14px; font: 20px var(--serif); border: 2px solid var(--brand); }
.search-count { color: var(--ink-3); }

.ad { margin: 24px 0; padding: 10px; border: 1px solid var(--rule); }
.ad-label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }

/* Fuß */
.footer { background: var(--brand); color: #c9d3da; padding: 40px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer h3 { color: #fff; font: 700 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer a:hover { color: #fff; }
.logo-footer { color: #fff; font-size: 34px; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 16px; font-size: 13px; }

/* Tablet */
@media (max-width: 1000px) {
  .front, .article-layout { grid-template-columns: 1fr; }
  .article-side { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Telefon */
@media (max-width: 700px) {
  .topbar-date { display: none; }
  .topbar-in { justify-content: flex-end; }
  .masthead { padding: 14px 0 10px; }
  .claim { font-size: 11px; }
  .nav-toggle { display: block; width: 100%; padding: 10px 0; background: none; border: 0; font: 700 14px var(--sans); text-align: left; }
  .nav-toggle::after { content: " ▾"; }
  .mainnav ul { display: none; flex-direction: column; padding-bottom: 8px; }
  .mainnav ul.open { display: flex; }
  .mainnav li a { padding: 8px 0; }
  .grid-3, .band, .rubric-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .list-item { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .list-item .headline { font-size: 18px; }
  .list-item .teaser { display: none; }
  .list-img .cover-kicker { display: none; }
  .facts { float: none; width: auto; margin: 0 0 20px; }
  .article-body { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Cookie-Einwilligung */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 3px solid var(--brand); box-shadow: 0 -6px 24px rgba(0,0,0,.12); font-size: 14px; }
.consent-in { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.consent-in p { margin: 0 0 4px; }
.consent-h { font: 700 16px var(--serif); }
.consent-in a { text-decoration: underline; }
.consent-btns { display: flex; gap: 10px; flex: none; }
.btn-ghost { background: var(--brand); }
.btn-ghost:hover { background: #163f58; }
@media (max-width: 700px) { .consent-in { flex-direction: column; align-items: stretch; } .consent-btns > * { flex: 1; } }

/* FAQ */
.faq { clear: both; margin-top: 32px; }
.faq h2 { font: 700 24px var(--serif); margin: 0 0 12px; }
.faq details { border-top: 1px solid var(--rule); padding: 12px 0; }
.faq summary { cursor: pointer; font: 700 18px/1.35 var(--serif); }
.faq details p { margin: 8px 0 0; font: 17px/1.6 var(--serif); color: var(--ink-2); }
.byline a { text-decoration: underline; }

/* Organigramm */
.org { margin: 28px 0 40px; }
.org-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; position: relative; padding: 18px 0; }
.org-row + .org-row::before { content: ""; position: absolute; top: 0; left: 50%; height: 18px; border-left: 2px solid var(--rule); }
.org-box { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--c, var(--brand)); padding: 12px 14px; width: 210px; font-size: 14px; }
.org-box strong { display: block; font: 700 16px/1.25 var(--serif); margin-bottom: 4px; }
.org-box span { color: var(--ink-3); }
.org-label { text-align: center; font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 0; }
.badge { display: inline-block; font: 700 10px var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--paper-2); color: var(--ink-2); padding: 2px 6px; margin-top: 6px; }

/* Werben */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 20px 0 32px; }
.format { border: 1px solid var(--rule); border-top: 3px solid var(--accent); padding: 16px; }
.format h3 { margin: 0 0 6px; font: 700 19px var(--serif); }
.format p { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }
.format .price { font-weight: 700; }
.ad-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; }
.ad-form label { display: flex; flex-direction: column; gap: 4px; font: 600 14px var(--sans); }
.ad-form .full { grid-column: 1 / -1; }
.ad-form input, .ad-form select, .ad-form textarea { font: 16px var(--sans); padding: 10px; border: 1px solid #b9b4aa; border-radius: 2px; }
.ad-form .check { flex-direction: row; font-weight: 400; gap: 8px; align-items: flex-start; }
@media (max-width: 700px) { .ad-form { grid-template-columns: 1fr; } }
.latest li { grid-template-columns: 72px 1fr; }

/* Plus */
.plus-badge, .eil-badge { display: inline-block; font: 700 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 3px 5px; border-radius: 2px; vertical-align: 1px; color: #fff; }
.plus-badge { background: #8a6d1d; }
.eil-badge { background: var(--accent); }
.topbar-plus { font-weight: 700; color: #8a6d1d !important; }
.mainnav .nav-plus { color: #8a6d1d; }
.plus-offer { border: 2px solid #8a6d1d; background: #fbf7ec; padding: 24px clamp(16px, 4vw, 34px); margin: 24px 0; }
.plus-offer h2 { margin: 0 0 12px; font: 700 clamp(24px, 3vw, 30px)/1.15 var(--serif); }
.plus-eyebrow { margin: 0 0 6px; font: 700 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8a6d1d; }
.plus-benefits { margin: 0 0 14px; padding-left: 20px; font: 17px/1.5 var(--serif); }
.plus-benefits li { margin-bottom: 4px; }
.plus-price { font-size: 15px; margin: 0 0 12px; }
.plus-price strong { font: 700 26px var(--serif); }
.plus-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; max-width: 640px; }
.plus-consent a { text-decoration: underline; }
.plus-consent-missing { color: var(--accent); font-weight: 600; }
.btn-plus { background: #8a6d1d; font-size: 16px; padding: 12px 22px; }
.btn-plus:hover { background: #6f5716; }
.btn-plus[aria-disabled="true"] { opacity: .55; }
.plus-login { margin: 14px 0 0; font-size: 14px; }
.plus-login a { text-decoration: underline; font-weight: 600; }
.paywall { position: relative; margin-top: -60px; padding-top: 60px; background: linear-gradient(rgba(255,255,255,0), #fff 60px); }
.plus-content { border-top: 3px solid #8a6d1d; padding-top: 16px; }
.plus-form { max-width: 520px; }
.plus-form input { border: 1px solid #b9b4aa !important; }
.plus-form .nl-msg { color: var(--ink) !important; }

/* Werbeflächen */
.ad { text-align: center; }
.ad-billboard { margin: 20px 0 4px; }
.ad-house { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 90px;
  background: repeating-linear-gradient(45deg, #faf8f4, #faf8f4 10px, #f3f0ea 10px, #f3f0ea 20px); color: var(--ink-2);
  text-decoration: none; font: 600 15px var(--sans); padding: 14px; }
.ad-house small { font-weight: 400; color: var(--ink-3); }
.ad-house:hover strong { text-decoration: underline; }
.ad-billboard .ad-house { min-height: 120px; }
.ad-sidebar .ad-house { min-height: 250px; }
.ad-live { display: block; }
.ad-live img { display: block; width: 100%; height: auto; margin: 0 auto; }
.ad-sidebar .ad-live img { max-width: 300px; }
.ad-billboard .ad-live img { max-width: 970px; }
.ad-in_article, .ad-in_feed { max-width: 760px; margin-left: auto; margin-right: auto; }
.article-body .ad { margin: 28px 0; }

/* Mediadaten */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 20px 0 14px; }
.slot { border: 1px solid var(--rule); border-top: 3px solid var(--accent); padding: 16px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.slot h3 { margin: 4px 0 0; font: 700 20px var(--serif); }
.slot p { margin: 0; color: var(--ink-2); font-size: 15px; }
.slot-price { margin-top: auto !important; padding-top: 8px; }
.slot-price strong { font: 700 24px var(--serif); color: var(--ink); }
.slot-price span { font-size: 13px; color: var(--ink-3); }
.slot .btn { align-self: flex-start; margin-top: 6px; }
.btn-line { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn-line:hover { background: var(--brand); color: #fff; }
.slot-map { position: relative; height: 92px; border: 1px solid var(--rule); background: #f7f5f0; display: grid;
  grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 5px; padding: 6px; }
.slot-map i { background: #e4dfd5; display: block; }
.slot-map i:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.slot-map i:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
.slot-map i:nth-child(3) { grid-column: 1 / 3; grid-row: 3; }
.slot-map b { position: absolute; background: var(--accent); opacity: .85; }
.slot-map-billboard b { left: 6px; top: 36%; width: 62%; height: 14%; }
.slot-map-sidebar b { right: 6px; top: 6px; width: 30%; height: 40%; }
.slot-map-in_article b { left: 18%; top: 44%; width: 64%; height: 12%; }
.slot-map-in_feed b { left: 6px; bottom: 6px; width: calc(100% - 12px); height: 16%; }
.slot-map-newsletter b { left: 30%; top: 28%; width: 40%; height: 26%; }
.slot-map-advertorial b { left: 6px; top: 6px; width: 62%; height: 58%; }
.ad-total { margin: 0; font: 600 15px var(--sans); color: var(--brand); }
.ad-form input[type=file] { padding: 8px; background: #fff; }

/* Organigramm als Baum */
.org-tree { margin: 24px 0 28px; }
.org-top { display: flex; justify-content: center; position: relative; padding-bottom: 22px; }
.org-top::after { content: ""; position: absolute; bottom: 0; left: 50%; height: 22px; border-left: 2px solid var(--rule); }
.org-person { width: min(420px, 100%); text-align: center; border-top-color: var(--brand); }
.org-person em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--ink-2); }
.org-divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 2px solid var(--rule); padding-top: 4px; }
.org-division { display: flex; flex-direction: column; align-items: stretch; }
.org-division .org-label { margin: 10px 0 8px; }
.org-tree .org-box { width: auto; display: flex; flex-direction: column; gap: 3px; }
.org-tree .org-box .badge { align-self: flex-start; margin-top: 4px; }
.org-lead { border-top-color: var(--accent); background: #fbfaf7; }
.org-units { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--rule); display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.org-units .org-box { position: relative; }
.org-units .org-box::before { content: ""; position: absolute; left: -18px; top: 22px; width: 16px; border-top: 2px solid var(--rule); }
.table-wrap { overflow-x: auto; }
.decisions { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 18px; }
.decisions th, .decisions td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.decisions th { font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 900px) { .org-divisions { grid-template-columns: 1fr; border-top: 0; } .org-top::after { display: none; } }
.ad-badge { display: inline-block; font: 700 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 3px 5px; border: 1px solid var(--ink-3); color: var(--ink-3); vertical-align: 1px; }
.sponsored-note { background: var(--paper-2); padding: 8px 12px; font: 14px var(--sans); color: var(--ink-2); }

/* Smartphone & Tablet: lange deutsche Wörter umbrechen, nie seitlich scrollen */
body { overflow-wrap: break-word; }
h1, h2, h3, .headline, .kicker, .slot h3, .org-box strong { hyphens: auto; -webkit-hyphens: auto; }
main, .page { overflow-x: clip; }
img, video, iframe { max-width: 100%; }
@media (max-width: 600px) {
  .slots { grid-template-columns: 1fr; }
  .decisions { font-size: 14px; }
  .decisions th:nth-child(3), .decisions td:nth-child(3) { display: none; }
  .ad-billboard .ad-house { min-height: 90px; }
  .ad-sidebar .ad-house { min-height: 160px; }
  .org-units { padding-left: 12px; }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .slots { grid-template-columns: repeat(2, 1fr); }
}

/* Kopfzeile auf Smartphones (z. B. iPhone 16 Pro, 402 px): nichts abschneiden */
@media (max-width: 600px) {
  .topbar-in { justify-content: space-between; padding-left: 12px; padding-right: 12px; }
  .topbar-links { gap: 12px; min-width: 0; max-width: 100%; }
  .topbar-links a[href="/archiv/"] { display: none; }
  .topbar-links .btn-small { padding: 4px 9px; }
}
@media (max-width: 360px) {
  .topbar-links a[href="/werben/"] { display: none; }
}

/* Interne Verlinkung */
.read-also { border-left: 3px solid var(--accent); padding: 6px 0 6px 14px; margin: 22px 0; font: 600 16px/1.4 var(--sans); }
.read-also span { display: block; font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.read-also a { color: var(--ink); }
.tags a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); }
.topic-list { columns: 3 220px; list-style: none; padding: 0; margin: 20px 0 40px; }
.topic-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.article-body a { color: var(--brand); text-decoration: underline; }

/* Werbeplätze mit festem Format (Seitenverhältnis aus config.yaml: --ar) */
.ad-frame { position: relative; aspect-ratio: var(--ar, 4 / 1); width: 100%; overflow: hidden; background: #f3f0ea; }
.ad-sidebar .ad-frame { max-width: 300px; margin: 0 auto; }
.ad-in_article .ad-frame, .ad-in_feed .ad-frame { max-width: 728px; margin: 0 auto; }
.ad-billboard .ad-frame { max-width: 970px; margin: 0 auto; }
.ad-frame > a, .ad-frame > .ad-live { position: absolute; inset: 0; }
.ad-live img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-book { display: block; margin: 5px auto 0; font: 700 11px var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); text-align: right; text-decoration: none; }
.ad-sidebar .ad-book { max-width: 300px; }
.ad-in_article .ad-book, .ad-in_feed .ad-book { max-width: 728px; }
.ad-book:hover { color: var(--accent); }

/* Eigenanzeigen */
.hausad { display: flex; text-align: left; text-decoration: none; color: #fff; background: var(--hc, var(--brand)); }
.hausad[hidden] { display: none; }
.hausad-img { flex: 0 0 42%; position: relative; overflow: hidden; }
.hausad-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hausad-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 12px 18px; }
.hausad-brand { font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hausad strong { font: 700 22px/1.2 var(--serif); color: #fff; }
.hausad-text { font: 14px/1.4 var(--sans); color: rgba(255,255,255,.88); }
.hausad-cta { align-self: flex-start; margin-top: 4px; background: #fff; color: var(--hc, var(--brand)); font: 700 13px var(--sans); padding: 6px 12px; border-radius: 2px; }
.hausad:hover .hausad-cta { text-decoration: underline; }
/* Medium Rectangle 300×250: Bild oben, Text unten */
.ad-sidebar .hausad { flex-direction: column; }
.ad-sidebar .hausad-img { flex: 0 0 46%; }
.ad-sidebar .hausad-body { padding: 10px 14px; gap: 3px; }
.ad-sidebar .hausad strong { font-size: 17px; }
.ad-sidebar .hausad-text { display: none; }
.ad-sidebar .hausad-noimg .hausad-text { display: block; }
/* Banner 728×90: eine Zeile */
.ad-in_article .hausad-img, .ad-in_feed .hausad-img { flex-basis: 22%; }
.ad-in_article .hausad-body, .ad-in_feed .hausad-body { flex-direction: row; align-items: center; gap: 14px; padding: 6px 14px; }
.ad-in_article .hausad-brand, .ad-in_feed .hausad-brand, .ad-in_article .hausad-text, .ad-in_feed .hausad-text { display: none; }
.ad-in_article .hausad strong, .ad-in_feed .hausad strong { font-size: 17px; flex: 1; }
.ad-in_article .hausad-cta, .ad-in_feed .hausad-cta { align-self: center; margin: 0; white-space: nowrap; }
@media (max-width: 760px) {
  .ad-billboard .hausad-text { display: none; }
  .ad-billboard .hausad strong { font-size: 16px; }
  .ad-billboard .hausad-body { padding: 8px 12px; gap: 3px; }
  .ad-billboard .hausad-cta { font-size: 11px; padding: 4px 8px; }
  .ad-billboard .hausad-brand { display: none; }
  .ad-in_article .hausad strong, .ad-in_feed .hausad strong { font-size: 12px; line-height: 1.2; }
  .ad-in_article .hausad-cta, .ad-in_feed .hausad-cta { font-size: 10px; padding: 3px 6px; }
  .ad-in_article .hausad-body, .ad-in_feed .hausad-body { padding: 4px 8px; gap: 8px; }
}

/* Arbeitsmarkt in Zahlen (Startseite) */
.am-box { margin: 26px 0 0; }
.am-hero { margin: 4px 0 0; font: 15px var(--sans); color: var(--ink-2); }
.am-hero strong { display: block; font: 700 34px/1.1 var(--serif); color: #1d4f7a; }
.am-sub { margin: 4px 0 8px; font: 13px var(--sans); color: var(--ink-3); }
.am-down { color: #2f6b3a; font-weight: 700; }
.am-up { color: var(--accent); font-weight: 700; }
.am-chart { position: relative; }
.am-svg { width: 100%; height: auto; display: block; overflow: visible; }
.am-grid { stroke: #eceae4; stroke-width: 1; }
.am-axis { font: 10px var(--sans); fill: #8a8f96; }
.am-line { fill: none; stroke: #1d4f7a; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.am-dot { fill: #1d4f7a; stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity .15s; }
.am-pt:hover .am-dot, .am-pt:focus .am-dot, .am-dot.am-last { opacity: 1; }
.am-last { fill: #1d4f7a; }
.am-hit { fill: transparent; cursor: pointer; }
.am-pt:hover .am-dot, .am-pt:focus .am-dot { r: 5.5; }
.am-pt:focus { outline: none; }
.am-tip { position: absolute; transform: translate(-50%, -115%); background: var(--ink); color: #fff; font: 12px/1.35 var(--sans); padding: 6px 8px; border-radius: 3px; white-space: nowrap; pointer-events: none; z-index: 2; }
.am-table summary { cursor: pointer; font: 600 13px var(--sans); color: var(--brand); margin: 6px 0; }
.am-table table { width: 100%; border-collapse: collapse; font: 13px var(--sans); }
.am-table td, .am-table th { padding: 4px 6px; border-bottom: 1px solid var(--rule); text-align: right; }
.am-table td:first-child, .am-table th:first-child { text-align: left; }
.am-src { font: 12px var(--sans); color: var(--ink-3); margin: 8px 0 0; }

/* Börsenband unter der Laufzeile „Neueste“: dunkelblau, weiße Schrift, läuft von rechts nach links */
.mkt { background: var(--brand); color: #fff; border-bottom: 1px solid #06192a; }
.mkt-in { display: flex; align-items: center; gap: 14px; height: 46px; overflow: hidden; }
.mkt-label { flex: none; background: #e7c66b; color: var(--brand); font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; }
.mkt-track { flex: 1; min-width: 0; height: 46px; overflow: hidden; }
.mkt-load { all: unset; display: block; width: 100%; height: 46px; line-height: 46px; cursor: pointer; color: rgba(255,255,255,.85); font: 13px/46px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkt-load u { color: #fff; }
.mkt .tradingview-widget-container { height: 46px; }
.mkt .tradingview-widget-copyright { display: none; }
.format-hint { margin: -4px 0 0; font: 14px/1.45 var(--sans); background: var(--paper-2); padding: 10px 12px; border-left: 3px solid var(--accent); }
.formats-table { width: 100%; border-collapse: collapse; font: 14px var(--sans); margin: 6px 0 14px; }
.formats-table th, .formats-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--rule); }
.formats-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.partner-box { border: 1px solid var(--rule); border-left: 3px solid var(--accent); padding: 12px 14px; display: grid; gap: 10px; margin: 0; }
.partner-box legend { font: 700 15px var(--serif); padding: 0 6px; }
.partner-box label { display: flex; flex-direction: column; gap: 4px; font: 600 14px var(--sans); }
.plus-promo { background: #fff6da; border-left: 3px solid #8a6d1d; padding: 8px 12px; font: 14px/1.45 var(--sans); margin: 0 0 8px; }
.plus-promo strong { color: #8a6d1d; }

/* Autorenkasten unter jedem Artikel */
.author-box { display: flex; gap: 14px; align-items: flex-start; border-top: 3px solid var(--c, var(--brand)); background: var(--paper-2); padding: 14px 16px; margin: 22px 0 8px; }
.author-mark { flex: none; width: 46px; height: 46px; border-radius: 4px; }
.author-box p { margin: 0 0 4px; }
.author-name { font: 700 16px var(--serif); }
.author-name a { color: var(--ink); text-decoration: none; }
.author-desc { font: 14px/1.5 var(--sans); color: var(--ink-2); }
.author-resp { font: 12px var(--sans); color: var(--ink-3); }
.page-title { font: 700 32px/1.15 var(--serif); margin: 18px 0 12px; }
@media (max-width: 600px) { .topbar-links .btn-small { min-height: 32px; display: inline-flex; align-items: center; } .topbar-links a:not(.btn) { padding: 8px 0; } }
