/* Klarhalt – Inhaltsseiten (Rechner, Ratgeber, Bundesländer). Baut auf style.css auf. */

/* ── Kopfzeile auf Inhaltsseiten ─────────────────────── */
.site-header nav a[aria-current="page"] { color: var(--navy) !important; box-shadow: inset 0 -2px 0 var(--apricot); }
.site-header .menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; cursor: pointer; background: #EEF2FC; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); position: relative; transition: transform .25s, background .25s; }
.menu summary span::before, .menu summary span::after { content: ""; position: absolute; left: 0; }
.menu summary span::before { top: -6px; }
.menu summary span::after { top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: 54px; width: 240px; background: var(--white); border-radius: 20px; padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); display: grid; }
.menu[open] .menu-panel { animation: menu-in .45s cubic-bezier(.4, 0, .2, 1); transform-origin: top right; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
/* On the blue homepage header the button sits on colour */
.site-header:not(.light) .menu summary { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.site-header:not(.light) .menu summary span, .site-header:not(.light) .menu summary span::before, .site-header:not(.light) .menu summary span::after { background: var(--white); }
.site-header:not(.light) .menu[open] summary span { background: transparent; }
.menu-panel a { padding: 12px 14px; border-radius: 12px; font-weight: 700; color: var(--navy); text-decoration: none; }
.menu-panel a:hover { background: var(--paper); }

/* ── Seitenkopf ──────────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(700px 380px at 92% 0%, rgba(255, 194, 61, .22), transparent 60%),
    radial-gradient(600px 420px at 0% 100%, rgba(255, 133, 88, .16), transparent 60%),
    linear-gradient(160deg, var(--blue-1) 0%, #2A4FC2 50%, var(--blue-2) 100%);
  padding: 124px 0 96px;
}
.page-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 64px; background: var(--white); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.04em; margin: 18px 0 16px; max-width: 900px; }
.page-hero h1 em { font-style: normal; color: var(--apricot-soft); }
.page-hero .lead { font-size: 19px; color: rgba(255, 255, 255, .86); max-width: 720px; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; font-weight: 600; }
.crumbs li { color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; margin: 0 9px; color: rgba(255, 255, 255, .4); }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.hero-facts li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); }
.hero-facts b { color: var(--sun); }
/* Jump link below the hero facts (e.g. to #zahlbetraege) */
.hero-jump { margin: 18px 0 0; }
.hero-jump a { font-weight: 800; font-size: 15.5px; color: var(--sun); text-decoration: underline 2px rgba(255, 194, 61, .45); text-underline-offset: 5px; transition: text-decoration-color .3s; }
.hero-jump a:hover { text-decoration-color: var(--sun); }
.hero-jump a svg { vertical-align: -3px; margin-left: 6px; }

/* ── Inhalt + Seitenleiste ───────────────────────────── */
.page-body { padding: 36px 0 110px; }
.page-body > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.page-body.no-side > .wrap { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.side { position: sticky; top: 100px; display: grid; gap: 18px; }
.toc { background: var(--paper); border-radius: 22px; padding: 22px 22px 18px; }
.toc h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.35; transition: background .5s var(--ease-soft), color .5s var(--ease-soft), box-shadow .5s var(--ease-soft); }
.toc a::before { content: counter(toc); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); color: var(--blue); font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.toc a:hover, .toc a.on { background: var(--white); color: var(--blue); }
/* current section (site.js sets .on while scrolling): filled number and a soft frame */
.toc a::before { transition: background .5s var(--ease-soft), color .5s var(--ease-soft); }
.toc a.on { box-shadow: 0 8px 20px -14px rgba(14, 26, 69, .45), inset 0 0 0 1px #D6E0FA; }
.toc a.on::before { background: var(--blue); color: var(--white); box-shadow: none; }
.side-cta { display: grid; gap: 6px; padding: 24px; border-radius: 22px; color: var(--white); text-decoration: none; background: radial-gradient(260px 160px at 100% 0, rgba(255, 194, 61, .3), transparent 70%), linear-gradient(150deg, var(--blue-1), var(--blue-2)); box-shadow: var(--shadow-md); transition: transform .2s; }
.side-cta:hover { transform: translateY(-3px); }
.side-cta .kicker { color: var(--sun); margin: 0; }
.side-cta b { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.side-cta span { font-size: 14px; color: rgba(255, 255, 255, .82); }
.side-cta .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 800; color: var(--white); font-size: 15px; }

/* ── Fließtext ───────────────────────────────────────── */
.prose { min-width: 0; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--navy); letter-spacing: -.03em; margin-top: 56px; scroll-margin-top: 100px; }
.prose h3 { font-size: 21px; color: var(--navy); letter-spacing: -.015em; margin-top: 34px; }
.prose h2 + p, .prose h3 + p { margin-top: 12px; }
.prose p, .prose li { color: #3A4566; }
.prose p.intro { font-size: 19px; color: var(--ink); }
.prose a:not(.btn):not(.store):not(.related-card):not(.calc-link) { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul:not([class]) li { position: relative; padding-left: 30px; }
.prose ul:not([class]) li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 4px #FFE9DF; }
.prose ol:not([class]) { counter-reset: n; }
.prose ol:not([class]) li { position: relative; padding-left: 40px; counter-increment: n; }
.prose ol:not([class]) li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: #EAF0FF; color: var(--blue); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.prose strong { color: var(--ink); }
.prose .muted, .muted { color: var(--muted); font-size: 15px; }

.note-private { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 18px; background: #F2F5FD; color: var(--blue-2); box-shadow: inset 0 0 0 1px #DCE4F8; }
.note-private svg { flex: none; margin-top: 2px; color: var(--blue); }
.note-private p { font-size: 14.5px; line-height: 1.55; color: #3A4566; }
.note-private b { color: var(--navy); }

.callout { padding: 20px 22px 20px 58px; border-radius: 20px; position: relative; background: #EEF3FF; box-shadow: inset 0 0 0 1px #D7E1FA; }
.callout::before { content: "i"; position: absolute; left: 20px; top: 20px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 800; font-size: 14px; display: grid; place-items: center; font-family: Georgia, serif; font-style: italic; }
.callout.warm { background: #FFF5E6; box-shadow: inset 0 0 0 1px #FBE3BC; }
.callout.warm::before { content: "!"; background: #E59A12; font-family: inherit; font-style: normal; }
.callout p + p { margin-top: 8px; }
.callout b { color: var(--navy); }

/* Kennzahlen */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.figures div { padding: 18px 18px 16px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.figures b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.figures span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.figures .hot { background: linear-gradient(150deg, #FFF1E8, #FFE4D6); box-shadow: inset 0 0 0 1px #FFD3BE; }
.figures .hot b { color: var(--apricot-dark); }

/* Tabellen */
.table-scroll { overflow-x: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); background: var(--white); -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 3px solid #9DB6F5; }
table.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
table.data caption { text-align: left; padding: 16px 18px 4px; font-size: 14px; color: var(--muted); caption-side: top; }
table.data th, table.data td { padding: 11px 14px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
table.data th:first-child, table.data td:first-child { text-align: left; position: sticky; left: 0; background: inherit; }
table.data thead th { background: var(--paper); color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .02em; vertical-align: bottom; white-space: normal; }
table.data thead th:first-child { background: var(--paper); z-index: 2; }
table.data th.was, table.data td.was { text-align: left; white-space: normal; min-width: 150px; }
table.data thead th small { display: block; font-weight: 600; color: var(--muted); letter-spacing: 0; }
table.data tbody tr { background: var(--white); }
table.data tbody tr:nth-child(even) { background: #FAFBFE; }
table.data tbody tr:hover { background: #F1F5FF; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.grp { font-weight: 800; color: var(--navy); }
table.data td.grp small { display: block; font-weight: 600; color: var(--muted); font-size: 13px; }
table.data .pct { color: var(--muted); }
table.data.left td, table.data.left th { text-align: left; white-space: normal; }
table.data.left td:first-child { font-weight: 700; color: var(--navy); min-width: 150px; }
table.data.umbruch-rechts td:last-child { white-space: normal; min-width: 170px; }
table.data.compact th, table.data.compact td { padding: 11px 9px; font-size: 14px; }
table.data.left.compact td { vertical-align: top; }
table.data.compact thead th { font-size: 12.5px; vertical-align: bottom; }
table.data.compact td:first-child { min-width: 118px; }
table.data.compact td small { font-size: 12px; line-height: 1.35; }
table.data .yes { color: var(--green); font-weight: 700; }
table.data .no { color: #B4472A; font-weight: 700; }
.table-note { font-size: 14px; color: var(--muted); margin-top: 10px !important; }

/* Rechenbeispiel */
.example { border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); overflow: hidden; }
.example-head { padding: 18px 22px; background: linear-gradient(150deg, #FFF6EC, #FFEBDD); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.example-head b { font-size: 17px; color: var(--navy); }
.example-head span { font-size: 14px; color: var(--muted); }
.example ol.steps-list { list-style: none; margin: 0; padding: 8px 22px; counter-reset: s; }
.example ol.steps-list li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px dashed var(--line); counter-increment: s; }
.example ol.steps-list li:last-child { border-bottom: 0; }
.example ol.steps-list li span { color: #3A4566; }
.example ol.steps-list li b { white-space: nowrap; color: var(--navy); font-variant-numeric: tabular-nums; }
.example .result { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 18px 22px; background: var(--navy); color: var(--white); }
.example .result b { font-size: 26px; letter-spacing: -.02em; color: var(--sun); font-variant-numeric: tabular-nums; }

/* Kasten-Raster (z. B. Bundesländer) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.calc-link { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; background: var(--white); text-decoration: none; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; }
.calc-link:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #C9D5F5, var(--shadow-md); }
.calc-link b { font-size: 16px; }
.calc-link span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }

/* Quellen */
.sources { margin-top: 56px !important; padding: 26px 26px 22px; border-radius: 24px; background: var(--paper); }
.sources h2 { font-size: 20px !important; margin: 0 0 12px !important; }
.sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sources li { display: grid; gap: 1px; padding-left: 26px; position: relative; font-size: 15px; }
.sources li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5BD3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7M21 3l-9 9M19 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E") center / contain no-repeat; }
.sources li a { font-weight: 700; color: var(--blue); text-decoration: none; }
.sources li a:hover { text-decoration: underline; }
.sources li span { color: var(--muted); font-size: 13.5px; }

/* FAQ im Fließtext */
.faq-inline { background: none; margin-top: 56px !important; }
.faq-inline .faq-list { margin: 16px 0 0; max-width: none; }
.faq-inline summary { font-size: 17px; }

/* App-Hinweis */
.app-cta { display: flex; gap: 22px; align-items: flex-start; padding: 28px; border-radius: 26px; color: var(--white); background: radial-gradient(420px 220px at 100% 0, rgba(255, 194, 61, .25), transparent 70%), linear-gradient(150deg, #24438F, var(--navy)); margin-top: 48px !important; }
.app-cta > img { border-radius: 18px; flex: none; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); }
.app-cta h3 { color: var(--white); font-size: 22px; margin: 0 0 6px; }
.app-cta p { color: rgba(255, 255, 255, .82); }
/* "amtlichen Quellen" in the notice box: bold blue link to the source list; anchors stop below the fixed header */
.note-private a.src-link { color: var(--blue); font-weight: 800; text-decoration: none; box-shadow: inset 0 -2px 0 rgba(47, 91, 211, .28); transition: box-shadow .4s, color .4s; }
.note-private a.src-link:hover { color: var(--blue-2); box-shadow: inset 0 -2px 0 rgba(47, 91, 211, .7); }
#quellen, .prose h2 { scroll-margin-top: 104px; }
.sources-group + .sources-group { margin-top: 36px; }
.sources-group > p { margin: 6px 0 14px; color: var(--muted); }
.sources-group li span a { font-weight: 600; }

/* Pills with an orange dot centred next to the text. `.prose .app-cta` outranks the bullet rule of running text
   (.prose ul:not([class]) li), which otherwise put the dot top-left and stretched every pill to full width. */
.prose .app-cta ul, .app-cta ul { list-style: none; padding: 0; margin: 14px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.prose .app-cta ul li, .app-cta li {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--white);
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.prose .app-cta ul li::before, .app-cta li::before {
  content: ""; position: static; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--apricot); box-shadow: 0 0 0 3px rgba(255, 133, 88, .28);
}
.app-cta .stores { gap: 26px 14px; }
.app-cta .store img { height: 52px; }
.app-cta .store img.badge-ios { height: 40px; margin: 6px 0; }

/* Short app note near the top of every guide page (lib.mjs appHint); button switches like the header button */
.app-hint { display: flex; align-items: center; gap: 16px; margin: 32px 0 0 !important; padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, #FFF4EC, #FFFFFF 70%); box-shadow: inset 0 0 0 1px #FFD9C4; }
.app-hint > img { border-radius: 12px; flex: none; box-shadow: 0 8px 18px -10px rgba(14, 26, 69, .5); }
.prose .app-hint p { margin: 0; flex: 1; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.app-hint .btn { flex: none; white-space: nowrap; padding: 10px 18px; font-size: 14.5px; gap: 8px; }

/* Weiterlesen */
.related { margin-top: 56px !important; }
.related-title { font-size: 20px !important; margin: 0 0 14px !important; }
.related > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 18px; text-decoration: none; color: var(--navy); font-weight: 700; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s, color .2s; }
.related-card:hover { transform: translateY(-2px); color: var(--blue); box-shadow: inset 0 0 0 1px #C9D5F5, var(--shadow-md); }
.related-card svg { flex: none; color: var(--apricot-dark); }

/* Ratgeber-Übersicht */
.hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hub a { display: grid; gap: 8px; padding: 26px; border-radius: 24px; text-decoration: none; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; }
.hub a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #C9D5F5, var(--shadow-md); }
.hub .kicker { margin: 0; }
.hub b { font-size: 21px; color: var(--navy); letter-spacing: -.02em; line-height: 1.25; }
.hub span:last-child { color: var(--muted); font-size: 15px; }
.hub a.feat { grid-column: 1 / -1; color: var(--white); background: radial-gradient(500px 240px at 100% 0, rgba(255, 194, 61, .28), transparent 70%), linear-gradient(150deg, var(--blue-1), var(--blue-2)); box-shadow: var(--shadow-md); }
.hub a.feat b { color: var(--white); font-size: 26px; }
.hub a.feat span:last-child { color: rgba(255, 255, 255, .85); }
.hub a.feat .kicker { color: var(--sun); }

/* Fuß mit vier Spalten */
footer .wrap.cols-4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; }

@media (max-width: 800px) {
  table.data.compact th, table.data.compact td { padding: 10px 7px; }
}
@media (max-width: 1180px) {
  .page-body > .wrap { grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; }
}
@media (max-width: 1040px) {
  .page-body > .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .side { position: static; }
  .side .toc { display: none; }
  footer .wrap.cols-4 { grid-template-columns: 1fr 1fr; }
}
/* Up to tablet / phone in landscape the text links give way to the menu, so nothing runs into the logo */
@media (max-width: 1060px) {
  .site-header nav a:not(.btn) { display: none; }
  .site-header .menu { display: block; }
  .site-header .wrap { gap: 10px; }
  .site-header nav { gap: 10px; margin-left: auto; }
}
@media (max-width: 720px) {
  /* Phones: only logo and menu; "App laden" lives in the menu */
  .site-header nav .btn { display: none; }
  .page-hero { padding: 104px 0 76px; }
  .page-hero .lead { font-size: 17px; }
  .prose h2 { margin-top: 44px; }
  .related > div, .hub { grid-template-columns: 1fr; }
  .app-cta { flex-direction: column; padding: 24px 20px; }
  .app-hint { flex-wrap: wrap; padding: 16px; }
  .app-hint > img { width: 40px; height: 40px; }
  .prose .app-hint p { flex-basis: calc(100% - 56px); font-size: 15px; }
  .app-hint .btn { margin-left: 56px; }
  .example .result b { font-size: 22px; }
  table.data { font-size: 14px; }
  table.data th, table.data td { padding: 10px 11px; }
  footer .wrap.cols-4 { grid-template-columns: 1fr; }
}
.example .result small { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); }

.site-header .btn { white-space: nowrap; }
.page-hero .eyebrow { flex-wrap: wrap; row-gap: 6px; }
.page-hero .eyebrow b { white-space: nowrap; }
@media (max-width: 520px) {
  .page .site-header nav .btn { display: none; }
  .menu-panel a.menu-app { color: var(--apricot-dark); }
}
/* Phones: tables with a header row become one card per row (site.js copies the column titles into data-label and
   adds .cards). The first cell is the card title, the values sit below in a grid, each with its label. */
@media (max-width: 720px) {
  .table-scroll:has(table.cards) { overflow: visible; }
  table.data.cards, table.data.cards tbody, table.data.cards tr, table.data.cards td { display: block; }
  table.data.cards thead { display: none; }
  table.data.cards caption { display: block; padding: 16px 18px 6px; white-space: normal; }
  table.data.cards tr { display: grid; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 12px 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  table.data.cards tr:last-child { border-bottom: 0; }
  table.data.cards td { position: static; padding: 0; border: 0; text-align: left; white-space: normal; background: none; min-width: 0; }
  table.data.cards td::before { content: attr(data-label); display: block; margin-bottom: 2px; hyphens: manual; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
  table.data.cards td:first-child { grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 16px; font-weight: 800; color: var(--navy); }
  table.data.cards td:first-child::before { display: none; }
  table.data.cards td.was { grid-column: 1 / -1; }
  table.data.cards td.num-head:first-child::before { display: inline; content: attr(data-label) " "; margin: 0; font-size: inherit; font-weight: inherit; color: inherit; }
  table.data.cards td:first-child small { display: inline; font-size: 14px; }
  table.data.cards td.grp:first-child { font-size: 16px; }
}
@media (max-width: 720px) {
  table.data.left:not(:has(thead)), table.data.left:not(:has(thead)) tbody, table.data.left:not(:has(thead)) tr, table.data.left:not(:has(thead)) td { display: block; }
  table.data.left:not(:has(thead)) thead { display: none; }
  table.data.left:not(:has(thead)) tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.data.left:not(:has(thead)) tr:last-child { border-bottom: 0; }
  table.data.left:not(:has(thead)) td { padding: 0; border: 0; position: static; }
  table.data.left:not(:has(thead)) td:first-child { margin-bottom: 4px; min-width: 0; }
  table.data.left:not(:has(thead)) td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); }
}

/* Startseite: Online-Bereich und zweiter Hero-Button */
.online { background: var(--white); }
.online .hub { max-width: 980px; margin: 0 auto; }
.hero .btn-calc { padding: 15px 22px; font-size: 16px; }
@media (max-width: 720px) { .hero .btn-calc { width: 100%; justify-content: center; max-width: 340px; } }

/* Kleingedrucktes in Tabellenzellen (z. B. „gilt in …“) */
table.data td small, table.data th[scope="row"] small { display: block; font-weight: 600; color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; white-space: normal; }
table.data:not(.left) td:first-child { min-width: 160px; white-space: normal; }

/* „So prüfen wir unsere Inhalte“ */
.callout.quality { padding-left: 58px; }
.callout.quality h2 { font-size: 22px !important; margin: 0 0 8px !important; }
.callout.quality p + p { margin-top: 10px; }
.callout.quality::before { content: "✓"; font-family: inherit; font-style: normal; background: var(--green); }

