/* personal-wissen.net
   Schriften: Source Serif 4 (Überschriften, Lesetext), Schibsted Grotesk (Navigation, Angaben).
   Farben: Markenblau #006ea4, Akzent #cf4d35, kühle Neutraltöne aus dem Blau abgeleitet. */

@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #fbfcfd;
  --surface: #ffffff;
  --tint: #eef3f6;
  --ink: #10222d;
  --ink-2: #3b4f5b;
  --ink-3: #586c78;
  --line: #d5dee4;
  --line-2: #b7c5ce;
  --blue: #006ea4;
  --blue-dark: #005680;
  --blue-deep: #0b3a55;
  --blue-wash: #e2eff6;
  --accent: #cf4d35;

  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 82rem;
  --gutter: clamp(1.125rem, 4vw, 3rem);
  --gap: clamp(1.25rem, 2.4vw, 2rem);
  --section: clamp(3.25rem, 6.5vw, 5.75rem);
  --radius: 3px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mh: 7.25rem;
  --sticky-top: calc(var(--mh) + 1.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--mh) + 1rem); scrollbar-color: var(--line-2) transparent; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.55 var(--sans); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; hyphenate-limit-chars: 10 4 4;
  caret-color: var(--blue); accent-color: var(--blue);
}
::selection { background: #cbe3f0; color: var(--ink); }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .625rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: .75rem; }
.icon { flex: none; }

/* ------------------------------------------------------------ Kopf */

.masthead { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); transition: transform .32s var(--ease); view-transition-name: masthead; }
.masthead.is-hidden { transform: translateY(-101%); }
.masthead__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; transition: padding .32s var(--ease); }
.masthead__logo { display: block; border-radius: 2px; }
.masthead__logo img { width: auto; height: 3.375rem; transition: height .32s var(--ease); }
.masthead.is-compact .masthead__bar { padding-block: .5rem; }
.masthead.is-compact .masthead__logo img { height: 2.5rem; }
.masthead__service { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.masthead__service > a { padding-block: .375rem; transition: color .2s; }
.masthead__service > a:hover { color: var(--blue); }
.iconbtn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 .875rem; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: .9375rem; font-weight: 500; color: var(--ink); background: var(--surface); transition: border-color .2s, color .2s; }
.iconbtn:hover { border-color: var(--blue); color: var(--blue); }
.iconbtn--menu { display: none; }
.no-js [data-search-open], .no-js .iconbtn--menu { display: none; }

.rubrics { border-top: 1px solid var(--line); }
.rubrics ul { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); overflow-x: auto; scrollbar-width: none; }
.rubrics ul::-webkit-scrollbar { display: none; }
.rubrics a { display: block; padding-block: .8125rem; font-size: .9375rem; font-weight: 500; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: color .2s, box-shadow .2s; }
.rubrics a:hover { color: var(--blue); }
.rubrics a[aria-current] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.progress { display: none; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; }
.is-article .progress { display: block; }

@media (max-width: 61.99em) {
  :root { --mh: 4.25rem; }
  .rubrics, .masthead__service > a { display: none; }
  .iconbtn--menu { display: inline-flex; }
  .masthead__bar { padding-block: .625rem; }
  .masthead__logo img, .masthead.is-compact .masthead__logo img { height: 2.5rem; }
  .masthead.is-compact .masthead__bar { padding-block: .625rem; }
  [data-search-open] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  [data-search-open] { padding: 0 .75rem; }
}

/* ------------------------------------------------------------ Dialoge */

dialog { color: var(--ink); border: 0; padding: 0; }
dialog:focus-visible { outline: 0; }
dialog::backdrop { background: rgb(16 34 45 / .42); }
dialog[open]::backdrop { animation: fade-in .25s ease-out; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes search-in { from { opacity: 0; transform: translateY(-.75rem); } }
@keyframes sheet-in { from { transform: translateX(100%); } }

.search { width: 100%; max-width: none; max-height: min(100dvh, 46rem); margin: 0; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
.search[open] { animation: search-in .28s var(--ease); }
.search__form { display: flex; align-items: center; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.search__form label { color: var(--blue); }
.search__form input { flex: 1; min-width: 0; border: 0; background: none; font: 500 clamp(1.375rem, 1rem + 1.6vw, 2rem)/1.2 var(--serif); color: var(--ink); padding: .375rem 0; outline: 0; }
.search__form input::placeholder { color: var(--ink-3); opacity: 1; }
.search__form input::-webkit-search-cancel-button { display: none; }
.search__body { padding-block: 1.25rem 2.5rem; }
.search__status { font-size: .875rem; color: var(--ink-3); min-height: 1.4rem; }
.search__results { max-width: 54rem; }
.search__results li { border-top: 1px solid var(--line); }
.search__results li:first-child { border-top: 0; }
.search__results a { display: block; padding: 1rem .75rem; margin-inline: -.75rem; border-radius: var(--radius); }
.search__results a:hover, .search__results a:focus-visible { background: var(--tint); }
.search__results strong { display: block; font: 600 1.25rem/1.25 var(--serif); }
.search__results span { display: block; margin-top: .25rem; font-size: .875rem; color: var(--ink-3); }
.search__results p { margin-top: .25rem; font-size: .9375rem; color: var(--ink-2); }
.search__idle { max-width: 28rem; margin-top: .5rem; }
.search__idle[hidden] { display: none; }

.sheet { width: min(100%, 26rem); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; background: var(--paper); padding: 0 var(--gutter) 2rem; overflow-y: auto; overscroll-behavior: contain; }
.sheet[open] { animation: sheet-in .34s var(--ease); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding-block: .625rem; position: sticky; top: 0; background: var(--paper); }
.sheet__head img { height: 2.125rem; width: auto; }
.sheet__service { margin-top: 1.5rem; border-top: 2px solid var(--blue); padding-top: .5rem; }
.sheet__service a { display: block; padding-block: .75rem; font-weight: 500; }

/* ------------------------------------------------------------ Register */

.register__title { font: 600 1rem/1.3 var(--sans); padding-bottom: .625rem; }
.register a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .6875rem; border-top: 1px solid var(--line); font-weight: 500; transition: color .2s; }
.register a:hover { color: var(--blue); }
.register a[aria-current] { color: var(--blue); font-weight: 650; }
.register__num { font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 400; }
.register a[aria-current] .register__num { color: var(--blue); }
.register--sheet a { font: 600 1.375rem/1.2 var(--serif); padding-block: .875rem; }
.register--sheet li:first-child a { border-top: 0; }

/* ------------------------------------------------------------ Gemeinsame Bausteine */

/* Trennpunkte sitzen links vor jedem Eintrag; der Punkt am Zeilenanfang wird weggeschnitten. */
.meta { display: flex; flex-wrap: wrap; row-gap: .125rem; font-size: .875rem; line-height: 1.4; color: var(--ink-3); margin-left: -1.1875rem; clip-path: inset(-.5rem -.5rem -.5rem .8125rem); }
.meta > * { position: relative; margin-left: 1.1875rem; }
.meta > *::before { content: ""; position: absolute; left: -.6875rem; top: calc(50% - 1.5px); width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.rubric { position: relative; z-index: 1; color: var(--blue); font-weight: 600; text-decoration: underline transparent 1px; text-underline-offset: .2em; transition: text-decoration-color .2s; }
.rubric:hover { text-decoration-color: currentColor; }

.more { display: inline-flex; align-items: center; gap: .375rem; font-size: .9375rem; font-weight: 600; color: var(--blue); }
.more .icon { transition: transform .3s var(--ease); }
.more:hover .icon { transform: translateX(.25rem); }
.more--light { color: #fff; }

.button { display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: 0 1.25rem; background: var(--blue); color: #fff; border-radius: var(--radius); font-weight: 600; transition: background .2s; }
.button:hover { background: var(--blue-dark); }

.sec-head { border-top: 2px solid var(--blue); padding-top: .875rem; }
.sec-head__title { font: 600 clamp(1.5rem, 1.25rem + .9vw, 1.875rem)/1.15 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.sec-head__title a { transition: color .2s; }
.sec-head__title a:hover { color: var(--blue); }
.sec-head__desc { margin-top: .75rem; font-size: .9375rem; color: var(--ink-2); max-width: 34rem; }
.sec-head .more { margin-top: 1rem; }

.teaser { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.teaser__media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.teaser__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease); }
.teaser:hover .teaser__media img { transform: scale(1.03); }
.teaser__body { display: flex; flex-direction: column; gap: .5rem; }
.teaser__title { font: 600 1.375rem/1.2 var(--serif); letter-spacing: -.008em; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.teaser__title a { text-decoration: underline transparent 1px; text-underline-offset: .16em; transition: text-decoration-color .25s, color .25s; }
.teaser__title a::after { content: ""; position: absolute; inset: 0; }
.teaser:hover .teaser__title a { text-decoration-color: currentColor; color: var(--blue-dark); }
.teaser__excerpt { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.teaser--text .teaser__title { font-size: 1.1875rem; line-height: 1.3; }
.teaser--text .teaser__excerpt { -webkit-line-clamp: 2; line-clamp: 2; }

.grid { display: grid; gap: var(--gap); }
.stack > * { padding-block: 1.125rem; border-top: 1px solid var(--line); }
.stack > *:last-child { padding-bottom: 0; }

/* ------------------------------------------------------------ Startseite */

.front { display: grid; gap: 2.5rem; padding-top: clamp(1.25rem, 2.6vw, 2rem); }
.teaser--lead .teaser__media img { aspect-ratio: 16 / 9; }
.teaser--lead { gap: clamp(1rem, 2vw, 1.5rem); }
.teaser--lead .teaser__title { font-size: clamp(1.875rem, 1.1rem + 2.5vw, 3.125rem); line-height: 1.06; letter-spacing: -.022em; }
.teaser--lead .teaser__excerpt { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.5; -webkit-line-clamp: 5; line-clamp: 5; }
.front__rail { background: var(--tint); border-top: 2px solid var(--blue); border-radius: 0 0 var(--radius) var(--radius); padding: 1.125rem clamp(1rem, 2vw, 1.5rem) .5rem; align-self: start; }
.rail-title { font: 600 1.375rem/1.2 var(--serif); letter-spacing: -.01em; }
.ranked { counter-reset: rank; margin-top: .5rem; }
.ranked li { counter-increment: rank; position: relative; display: grid; grid-template-columns: 2.25rem 1fr 6.5rem; grid-template-rows: auto 1fr; column-gap: .625rem; row-gap: .25rem; padding-block: 1rem; border-top: 1px solid var(--line-2); }
.ranked__media { grid-column: 3; grid-row: 1 / 3; align-self: start; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.ranked__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease); }
.ranked li:hover .ranked__media img { transform: scale(1.03); }
.ranked li:first-child { border-top: 0; }
.ranked li::before { content: counter(rank); grid-row: 1 / 3; font: 400 2.375rem/.95 var(--serif); font-variant-numeric: lining-nums; color: var(--accent); }
.ranked__link { grid-column: 2; font: 600 1.1875rem/1.3 var(--serif); hyphens: auto; text-decoration: underline transparent 1px; text-underline-offset: .16em; transition: text-decoration-color .25s, color .25s; }
.ranked__link::after { content: ""; position: absolute; inset: 0; }
.ranked li:hover .ranked__link { color: var(--blue-dark); text-decoration-color: currentColor; }
.ranked .rubric { grid-column: 2; justify-self: start; font-size: .875rem; }

.featured { margin-top: var(--section); }

/* Slider: natives Scrollen mit Einrasten, Pfeile als Zusatz */
.slider__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; }
.slider__nav { display: flex; gap: .5rem; }
.no-js .slider__nav { display: none; }
.iconbtn--square { width: 2.75rem; padding: 0; justify-content: center; }
.iconbtn:disabled { opacity: .38; cursor: default; border-color: var(--line); color: var(--ink); }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { scroll-snap-align: start; min-width: 0; }
@media (min-width: 40em) { .slider__track { grid-auto-columns: calc((100% - var(--gap)) / 2); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
@media (min-width: 62em) { .slider__track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); } }

.band { margin-top: var(--section); padding-block: clamp(2.5rem, 5.5vw, 4.5rem); }
.band--tint { background: var(--tint); }
.band--blue { background: var(--blue); color: #fff; }
.band--blue :focus-visible { outline-color: #fff; }
.band--blue ::selection { background: #fff; color: var(--blue-deep); }
.band__grid { display: grid; gap: 2rem; }
.band__title { font: 600 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.1 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.band__desc { margin-top: .75rem; font-size: 1.0625rem; color: #e8f3f9; max-width: 28rem; }
.band .more { margin-top: 1.5rem; }
.band__links { display: grid; align-content: start; }
.band__links a { display: block; padding-block: .8125rem; border-top: 1px solid rgb(255 255 255 / .28); font-weight: 500; text-decoration: underline transparent 1px; text-underline-offset: .2em; transition: text-decoration-color .2s; }
.band__links a:hover { text-decoration-color: #fff; }

.split { margin-top: var(--section); display: grid; gap: 1.75rem var(--gap); }
.band .split { margin-top: 0; }
.rows > .row:first-child { border-top: 0; padding-top: 0; }
.row { position: relative; display: grid; grid-template-columns: 1fr 6.5rem; gap: .875rem 1rem; padding-block: 1.25rem; border-top: 1px solid var(--line); align-items: start; }
.row__date { display: none; font-size: .875rem; color: var(--ink-3); white-space: nowrap; padding-top: .3125rem; }
.row__body { display: flex; flex-direction: column; gap: .4375rem; min-width: 0; }
.row__title { font: 600 clamp(1.1875rem, 1.05rem + .7vw, 1.5rem)/1.2 var(--serif); letter-spacing: -.008em; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.row__title a { text-decoration: underline transparent 1px; text-underline-offset: .16em; transition: text-decoration-color .25s, color .25s; }
.row__title a::after { content: ""; position: absolute; inset: 0; }
.row:hover .row__title a { color: var(--blue-dark); text-decoration-color: currentColor; }
.row__excerpt { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.row__media { grid-column: 2; grid-row: 1; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.row__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.row:not(:has(.row__media)) { grid-template-columns: 1fr; }

.pair { margin-top: var(--section); display: grid; gap: var(--section) 0; }
.column { display: grid; gap: 1.5rem; align-content: start; }
.column .sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; }
.column .sec-head .more { margin-top: 0; }

.wissen { display: grid; gap: 2rem var(--gap); }
.about__text { font-size: 1rem; line-height: 1.65; color: var(--ink-2); columns: 22rem 2; column-gap: clamp(2rem, 4vw, 3.5rem); }
.about__text p { margin-bottom: 1em; }
.about__text h3, .about__text h2 { font: 600 1.25rem/1.25 var(--serif); color: var(--ink); margin: 1.5em 0 .5em; break-after: avoid; }
.about__text h3:first-child, .about__text h2:first-child { margin-top: 0; }
.about__text a { color: var(--blue); text-decoration: underline 1px; text-underline-offset: .18em; }
.about__text a:hover { text-decoration-thickness: 2px; }

@media (min-width: 40em) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .band__links { grid-template-columns: repeat(2, 1fr); column-gap: var(--gap); }
  .row { grid-template-columns: 1fr 11rem; column-gap: 1.75rem; }
  .teaser--feature { flex-direction: row; gap: 1.5rem; }
  .teaser--feature .teaser__media { flex: 0 0 44%; align-self: start; }
  .wissen .teaser--feature { flex-direction: column; }
  .wissen .teaser--feature .teaser__media { flex: none; align-self: stretch; }
  .wissen { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 62em) {
  .front { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .front__lead { grid-column: 1 / 9; }
  .front__rail { grid-column: 9 / 13; }
  .teaser--lead .teaser__body { display: grid; grid-template-columns: 1.45fr 1fr; column-gap: var(--gap); row-gap: .75rem; }
  .teaser--lead .teaser__title { grid-row: 1 / 3; }
  .teaser--lead .teaser__excerpt, .teaser--lead .meta { grid-column: 2; }
  .teaser--lead .meta { align-self: start; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .band__grid { grid-template-columns: 5fr 7fr; column-gap: calc(var(--gap) * 2); align-items: start; }
  .split { grid-template-columns: 3fr 9fr; }
  .split > .sec-head { align-self: start; }
  .row { grid-template-columns: 9.75rem 1fr 14rem; }
  .row__date { display: block; }
  .row__media { grid-column: 3; }
  .row .meta time { display: none; }
  .row:not(:has(.row__media)) { grid-template-columns: 9.75rem 1fr; }
  .pair { grid-template-columns: 1fr 1fr; gap: 0; }
  .pair .column + .column { border-left: 1px solid var(--line); padding-left: calc(var(--gap) * 1.25); }
  .pair .column:first-child { padding-right: calc(var(--gap) * 1.25); }
}

/* ------------------------------------------------------------ Listen-Seiten */

.crumbs ol { display: flex; flex-wrap: wrap; font-size: .875rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-inline: .5rem; color: var(--line-2); }
.crumbs a { text-decoration: underline transparent 1px; text-underline-offset: .2em; transition: color .2s, text-decoration-color .2s; }
.crumbs a:hover { color: var(--blue); text-decoration-color: currentColor; }

.page-head { padding-block: clamp(1.75rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head__title { margin-top: .875rem; font: 600 clamp(2.25rem, 1.5rem + 3.2vw, 4rem)/1.04 var(--serif); letter-spacing: -.025em; text-wrap: balance; hyphens: auto; }
.page-head__desc { margin-top: 1.125rem; font: 400 clamp(1.0625rem, 1rem + .4vw, 1.25rem)/1.5 var(--serif); color: var(--ink-2); max-width: 44rem; }
.page-head__note { margin-top: 1rem; font-size: .875rem; color: var(--ink-3); }

.listing { display: grid; gap: 3rem var(--gap); padding-bottom: var(--section); }
.listing__main { min-width: 0; border-top: 2px solid var(--blue); padding-top: 1.5rem; }
.listing__more { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.teaser--listlead { padding-bottom: 1.75rem; }
.teaser--listlead .teaser__title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); line-height: 1.12; letter-spacing: -.015em; }
.teaser--listlead .teaser__excerpt { font-size: 1rem; -webkit-line-clamp: 4; line-clamp: 4; }
.rows > .teaser--listlead + .row { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.empty { color: var(--ink-2); }
@media (min-width: 40em) {
  .teaser--listlead { flex-direction: row; gap: 1.75rem; align-items: start; }
  .teaser--listlead .teaser__media { flex: 0 0 52%; }
}
@media (min-width: 62em) {
  .listing { grid-template-columns: 9fr 3fr; column-gap: calc(var(--gap) * 2); }
  .listing__side { position: sticky; top: var(--sticky-top); align-self: start; transition: top .32s var(--ease); }
}

.pagination { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9375rem; font-weight: 600; }
.pagination ol { display: flex; gap: .25rem; align-items: center; font-variant-numeric: tabular-nums; }
.pagination ol a { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: .5rem; border-radius: var(--radius); transition: background .2s, color .2s; }
.pagination ol a:hover { background: var(--tint); color: var(--blue); }
.pagination ol a[aria-current] { background: var(--blue); color: #fff; }
.pagination__gap { color: var(--ink-3); padding-inline: .25rem; }
.pagination__step { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.75rem; color: var(--blue); }
.pagination__step .icon { transition: transform .3s var(--ease); }
.pagination__step[rel="next"]:hover .icon { transform: translateX(.25rem); }
.pagination__step[rel="prev"]:hover .icon { transform: translateX(-.25rem); }
@media (max-width: 39.99em) {
  .pagination { flex-wrap: wrap; }
  .pagination ol { order: -1; flex-basis: 100%; justify-content: center; gap: .125rem; }
  .pagination ol a { min-width: 2.25rem; padding-inline: .25rem; }
  .pagination__gap { padding-inline: 0; }
}
.pagejump { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin-top: .75rem; font-size: .875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pagejump ol { display: flex; flex-wrap: wrap; gap: .125rem; }
.pagejump a, .pagejump [aria-current] { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: .375rem; border-radius: var(--radius); }
.pagejump a { color: var(--ink-2); transition: background .2s, color .2s; }
.pagejump a:hover { background: var(--tint); color: var(--blue); }
.pagejump [aria-current] { color: var(--ink); font-weight: 600; }
@media (max-width: 39.99em) { .pagejump { justify-content: center; } }

/* ------------------------------------------------------------ Artikel */

.article { padding-bottom: var(--section); }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.article__head { padding-block: clamp(1.5rem, 3.5vw, 3rem) clamp(1.25rem, 2.5vw, 2rem); }
.article__title { margin-top: .875rem; font: 600 clamp(2rem, 1.25rem + 3vw, 3.5rem)/1.06 var(--serif); letter-spacing: -.024em; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; max-width: 22em; }
.article__figure { margin-inline: calc(var(--gutter) * -1); margin-bottom: 1.5rem; background: var(--tint); }
.article__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; view-transition-name: article-image; }

.facts { display: flex; flex-wrap: wrap; gap: .375rem 1.5rem; font-size: .875rem; padding-block: .875rem; border-block: 1px solid var(--line); }
.facts div { display: flex; gap: .375rem; }
.facts dt { color: var(--ink-3); }
.facts dd { font-weight: 500; }
.facts a { text-decoration: underline 1px var(--line-2); text-underline-offset: .2em; transition: color .2s, text-decoration-color .2s; }
.facts a:hover { color: var(--blue); text-decoration-color: currentColor; }

.toc { margin-top: 1.25rem; font-size: .9375rem; }
.toc summary { font-weight: 600; cursor: pointer; padding-block: .625rem; list-style: none; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: .5rem; height: .5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.toc[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.toc ol { padding-block: .5rem; }
.toc a { display: block; padding-block: .375rem; color: var(--ink-2); line-height: 1.35; transition: color .2s; }
.toc a:hover { color: var(--blue); }
.toc a[aria-current] { color: var(--blue); font-weight: 600; }

.article__body { margin-top: 1.75rem; }
.article__side { margin-top: 3rem; display: grid; gap: 2.25rem; align-content: start; }
.article__foot { margin-top: 3rem; display: grid; gap: 2.5rem; }

.prose { font: 400 clamp(1.0625rem, 1rem + .35vw, 1.1875rem)/1.68 var(--serif); color: var(--ink); max-width: 42.5rem; overflow-wrap: break-word; hyphens: auto; }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-child { font-size: 1.16em; line-height: 1.55; color: var(--ink); }
.prose h2 { font: 600 clamp(1.5rem, 1.3rem + .8vw, 1.875rem)/1.18 var(--serif); letter-spacing: -.014em; margin-top: 2.1em; text-wrap: balance; hyphens: manual; }
.prose h3 { font: 600 1.3125rem/1.25 var(--serif); letter-spacing: -.006em; margin-top: 1.9em; text-wrap: balance; }
.prose h4 { font: 600 1.0625rem/1.3 var(--sans); margin-top: 1.7em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose strong, .prose b { font-weight: 650; }
.prose p, .prose li, .teaser__excerpt, .row__excerpt, .band__desc, .about__text p, .page-head__desc, .sec-head__desc, .sidecard p { text-wrap: pretty; }
.prose a:has(> .button) { text-decoration: none; }
.prose a .button { color: #fff; font-family: var(--sans); font-size: 1rem; }
.prose a { color: var(--blue); text-decoration: underline 1px; text-underline-offset: .18em; transition: color .2s; }
.prose a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); font-variant-numeric: tabular-nums; }
.prose li > ul, .prose li > ol { margin-top: .45em; }
.prose blockquote { padding: .25em 0 .25em 1.25em; border-left: 1px solid var(--line-2); font-style: italic; color: var(--ink-2); }
.prose img { border-radius: var(--radius); }
.prose figure { margin-block: 2em; }
.prose figcaption { margin-top: .625rem; font: 400 .875rem/1.45 var(--sans); color: var(--ink-3); }
.prose small { font: 400 .875rem/1.5 var(--sans); color: var(--ink-3); }
.prose .table-scroll { overflow-x: auto; margin-block: 2em; border-block: 1px solid var(--line-2); }
.prose table { border-collapse: collapse; width: 100%; font: 400 .9375rem/1.45 var(--sans); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6875rem .875rem .6875rem 0; border-top: 1px solid var(--line); }
.prose tr:first-child > * { border-top: 0; }
.prose th { font-weight: 650; }
.prose .embed { position: relative; aspect-ratio: 16 / 9; margin-block: 2em; background: var(--tint); border-radius: var(--radius); overflow: hidden; }
.prose .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .embed--tall { aspect-ratio: auto; height: 62.5rem; max-width: 45.625rem; border: 1px solid var(--line); background: var(--surface); }
@media (min-width: 40em) {
  .prose .float-left { float: left; margin: .35em 1.5em .75em 0; max-width: 45%; }
  .prose .float-right { float: right; margin: .35em 0 .75em 1.5em; max-width: 45%; }
}

.sidecard { border-top: 2px solid var(--blue); padding-top: .875rem; }
.sidecard h2 { font: 600 1.25rem/1.2 var(--serif); }
.sidecard p { margin-top: .5rem; font-size: .9375rem; color: var(--ink-2); }
.sidecard .more { margin-top: .875rem; }
.linklist { margin-top: .625rem; }
.linklist li { border-top: 1px solid var(--line); }
.linklist li:first-child { border-top: 0; }
.linklist a { display: block; padding-block: .6875rem; font-size: .9375rem; font-weight: 500; line-height: 1.35; hyphens: auto; transition: color .2s; }
.linklist a:hover { color: var(--blue); }
.linklist--serif a { font: 600 1.125rem/1.3 var(--serif); padding-block: .8125rem; }

.tags { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.tags__title { font: 600 .875rem/1 var(--sans); color: var(--ink-3); }
.tags ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags a { display: block; padding: .3125rem .6875rem; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: .875rem; font-weight: 500; transition: border-color .2s, color .2s; }
.tags a:hover { border-color: var(--blue); color: var(--blue); }
.related { border-top: 2px solid var(--blue); padding-top: .875rem; }
.related h2 { font: 600 1.375rem/1.2 var(--serif); letter-spacing: -.01em; }

.step { display: grid; gap: 1.25rem var(--gap); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.step__link { display: grid; gap: .375rem; align-content: start; }
.step__label { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; color: var(--ink-3); }
.step__title { font: 600 1.125rem/1.3 var(--serif); hyphens: auto; text-decoration: underline transparent 1px; text-underline-offset: .16em; transition: color .25s, text-decoration-color .25s; }
.step__link:hover .step__title { color: var(--blue-dark); text-decoration-color: currentColor; }
@media (min-width: 40em) {
  .step { grid-template-columns: 1fr 1fr; }
  .step__link--next { text-align: right; justify-items: end; }
}

.more-band { margin-top: 0; }
.more-band .sec-head__title { margin-bottom: 1.75rem; }

/* Häufige Fragen unter dem Text, Bildunterschrift, Hinweis in der Entwurfs-Vorschau (neue Artikel aus dem CMS) */
.prose .faq { margin-top: 2.75em; border-top: 2px solid var(--blue); padding-top: .875rem; }

/* ------------------------------------------------------------ Rechner (src/rechner.js) */

.prose .calc { margin-block: 2.25em 2.75em; border-top: 2px solid var(--blue); padding-top: .875rem; font-family: var(--sans); }
.prose > .calc:first-child { margin-top: 0; }
.prose .calc > .calc__title { margin-top: 0; font-size: clamp(1.375rem, 1.25rem + .5vw, 1.625rem); }
.calc__intro, .calc__fallback { margin-top: .5rem; font: 400 1rem/1.55 var(--sans); color: var(--ink-2); }
.calc__form { display: grid; gap: 1.125rem 1.5rem; margin-top: 1.5rem; }
@media (min-width: 40em) { .calc__form { grid-template-columns: 1fr 1fr; } }
.calc__field { display: flex; flex-direction: column; gap: .375rem; min-width: 0; }
.calc__field[hidden] { display: none; }
.calc__label { font: 500 .9375rem/1.35 var(--sans); color: var(--ink); }
.calc__hint { font: 400 .8125rem/1.45 var(--sans); color: var(--ink-3); text-wrap: pretty; }
.calc__unitwrap { position: relative; display: block; }
.calc__input { width: 100%; height: 2.75rem; padding: 0 .75rem; font: 400 1rem/1 var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); transition: border-color .2s; }
.calc__unitwrap .calc__input { padding-right: 2.25rem; text-align: right; }
.calc__unit { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); font: 400 1rem/1 var(--sans); color: var(--ink-3); pointer-events: none; }
select.calc__input { appearance: none; padding-right: 2.25rem; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23586c78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right .75rem center; }
.calc__input:hover { border-color: var(--ink-3); }
.calc__input:focus-visible { border-color: var(--blue); outline-offset: 2px; }
.calc__field--check { grid-column: 1 / -1; }
.calc__check { display: flex; align-items: center; gap: .625rem; min-height: 2.75rem; font: 500 .9375rem/1.35 var(--sans); cursor: pointer; }
.calc__check input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--blue); flex: none; }
.calc__result { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.calc__main { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.calc__mainlabel { font: 500 1rem/1.4 var(--sans); color: var(--ink-2); }
.calc__mainvalue { font: 600 clamp(2rem, 1.6rem + 1.6vw, 2.75rem)/1 var(--serif); font-feature-settings: "lnum"; letter-spacing: -.02em; color: var(--ink); }
.prose .calc__table { margin-top: 1rem; font-size: .9375rem; }
.prose .calc__table th[scope="row"] { font-weight: 400; color: var(--ink-2); padding-right: 1rem; }
.prose .calc__table td, .prose .calc__table thead th { text-align: right; white-space: nowrap; padding-right: 0; padding-left: 1rem; }
.prose .calc__table thead th { font-weight: 500; color: var(--ink-3); font-size: .875rem; }
.prose .calc__table tr:first-child > * { border-top: 0; }
.prose .calc__table .calc__sum > * { border-top: 1px solid var(--ink); font-weight: 650; color: var(--ink); }
.prose .calc__notes { margin-top: 1rem; padding-left: 0; list-style: none; font: 400 .875rem/1.5 var(--sans); color: var(--ink-3); }
.prose .calc__notes li + li { margin-top: .375rem; }

.prose .faq > h2 { margin-top: 0; font-size: clamp(1.375rem, 1.25rem + .5vw, 1.625rem); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .9375rem; font: 600 1.125rem/1.35 var(--serif); cursor: pointer; list-style: none; hyphens: manual; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: .5rem; height: .5rem; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: translateY(-.2em) rotate(45deg); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: translateY(.1em) rotate(225deg); }
.faq__item summary:hover { color: var(--blue-dark); }
.faq__answer { padding-bottom: 1.125rem; font-size: .94em; color: var(--ink-2); }
.faq__answer > * + * { margin-top: .7em; }
.article__figure figcaption { padding: .5rem var(--gutter) 0; font-size: .8125rem; line-height: 1.4; color: var(--ink-3); background: var(--paper); }
@media (min-width: 62em) { .article__figure figcaption { padding-inline: 0; } }
.preview-note { margin-top: 1rem; padding: .625rem .875rem; background: #fff4d6; color: #5c4300; border-radius: var(--radius); font-size: .9375rem; font-weight: 500; }

@media (min-width: 62em) {
  .article__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); column-gap: calc(var(--gap) * 2); }
  .article__head, .article__figure, .article__rail { grid-column: 1 / -1; }
  .article__figure { margin-inline: 0; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.75rem; }
  .article__body, .article__foot { grid-column: 1; }
  .article__side { grid-column: 2; grid-row: 4 / 6; margin-top: 1.75rem; }
  .article--page .article__side, .article:not(:has(.article__figure)) .article__side { grid-row: 3 / 5; }
}
@media (min-width: 78em) {
  .article__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); column-gap: var(--gap); }
  .article__head { grid-column: 2 / 4; }
  .article__figure { grid-column: 2 / 4; grid-row: 2; }
  .article__rail { grid-column: 1; grid-row: 2 / 5; padding-right: 1rem; }
  .article__body { grid-column: 2; grid-row: 3; }
  .article__side { grid-column: 3; grid-row: 3 / 5; }
  .article__foot { grid-column: 2; grid-row: 4; }
  .article:not(:has(.article__figure)) .article__rail { grid-row: 3 / 5; margin-top: 1.75rem; }
  .facts { display: grid; gap: 0; padding-block: 0; border-bottom: 0; }
  .facts div { justify-content: space-between; gap: 1rem; padding-block: .625rem; border-top: 1px solid var(--line); }
  .facts div:first-child { border-top: 0; }
  .toc { position: sticky; top: var(--sticky-top); margin-top: 2rem; max-height: calc(100dvh - var(--sticky-top) - 1.5rem); overflow-y: auto; scrollbar-width: thin; transition: top .32s var(--ease); }
  .toc summary { pointer-events: none; border-top: 2px solid var(--blue); border-bottom: 0; padding-top: .875rem; }
  .toc summary::after { display: none; }
  .article--page .article__rail { grid-row: 2 / 4; }
  .article--page .article__body { grid-row: 2; margin-top: 0; }
  .article--page .article__side, .article--page:not(:has(.article__figure)) .article__side { grid-row: 2 / 4; margin-top: 0; }
  .article--page .toc { margin-top: 0; }
  .article--datenschutz .article__body, .article--impressum .article__body { grid-column: 2 / 4; }
}

.notfound { display: grid; gap: 2.5rem; padding-bottom: var(--section); max-width: 30rem; margin-left: max(var(--gutter), (100% - var(--max)) / 2); justify-items: start; }
.notfound .register { width: 100%; }

/* ------------------------------------------------------------ Fuß */

.footer { margin-top: 0; background: var(--blue-deep); color: #dce8ef; padding-block: clamp(3rem, 6vw, 5rem) 1.75rem; }
.footer :focus-visible { outline-color: #fff; }
.footer ::selection { background: #fff; color: var(--blue-deep); }
.footer__grid { display: grid; gap: 2.5rem var(--gap); }
.footer__brand img { height: 2.75rem; width: auto; }
.footer__brand p { margin-top: 1.25rem; max-width: 19rem; font: 400 1.125rem/1.4 var(--serif); color: #fff; }
.footer h2 { font: 600 .875rem/1.3 var(--sans); color: #a8c6d8; padding-bottom: .5rem; }
.footer__col a { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5625rem; border-top: 1px solid rgb(255 255 255 / .16); color: #fff; font-size: .9375rem; line-height: 1.35; text-decoration: underline transparent 1px; text-underline-offset: .2em; transition: text-decoration-color .2s; }
.footer__col a:hover { text-decoration-color: #fff; }
.footer .register__num { color: #a8c6d8; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .16); font-size: .875rem; color: #a8c6d8; }
.footer__base a { color: #fff; text-decoration: underline 1px rgb(255 255 255 / .4); text-underline-offset: .2em; }
@media (min-width: 40em) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62em) { .footer__grid { grid-template-columns: 4fr 2.5fr 3.5fr 2.5fr; } }

/* ------------------------------------------------------------ Seitenwechsel */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .16s ease-in both; }
::view-transition-new(root) { animation: vt-in .3s var(--ease) both; }
::view-transition-group(article-image) { animation-duration: .44s; animation-timing-function: var(--ease); }
::view-transition-old(article-image), ::view-transition-new(article-image) { height: 100%; object-fit: cover; overflow: clip; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(.5rem); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .teaser:hover .teaser__media img, .ranked li:hover .ranked__media img { transform: none; }
}

@media print {
  .masthead, .footer, .article__side, .more-band, .step, .toc, dialog { display: none !important; }
  body { background: #fff; }
  .prose { max-width: none; font-size: 11pt; }
}
