/* ==========================================================
   Gottesdienstbausteine – Oberfläche
   Farben und Schrift nach Markenhandbuch Bistum Limburg (07/2026):
   Primär-Orange #E74011 (Mittel #F08C70, Hell #F7BDAB),
   Akzent Anthrazit #404040 / Sand #E1D9C8, Systemschrift Roboto.
   Orange trägt Marke und Akzente; Text und Schaltflächen laufen
   über Anthrazit, damit alle Kontraste WCAG AA erfüllen.
   ========================================================== */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --orange: #E74011;
  --orange-mid: #F08C70;
  --orange-light: #F7BDAB;
  --ink: #1d1d1b;
  --anthracite: #404040;
  --muted: #5e5e5e;
  --sand: #E1D9C8;
  --sand-soft: #F5F1EA;
  --line: #d9d3c7;
  --paper: #ffffff;
  --bg: #fbfaf7;
  --danger: #a3121f;
  --ok-bg: #A6D9BA;
  --info-bg: #A6D6ED;
  --warn-bg: #FAD9A6;
  --err-bg: #F0A8B2;
  /* Jubiläumsfarben (aus dem Logo „200 Jahre Bistum Limburg“) */
  --j-lila: #A91680;
  --j-gelb: #F19301;
  --j-rot: #D30826;
  --j-orange: #E74211;
  --j-mittel: #F18D71;
  --j-hell: #F7BCAB;
  --j-gruen: #019339;
  --j-blau: #0188CC;
  --j-band: linear-gradient(90deg, var(--j-lila) 0 14%, var(--j-gelb) 14% 28%, var(--j-orange) 28% 46%, var(--j-rot) 46% 58%, var(--j-mittel) 58% 72%, var(--j-gruen) 72% 86%, var(--j-blau) 86% 100%);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06);
  --wrap: 72rem;
  --font: "Roboto", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -.01em; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.hint { color: var(--muted); font-size: .875rem; font-weight: 400; }
.hp { position: absolute; left: -9999px; }
.inline { display: inline; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: .35rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .wrap { padding: 0 1.5rem; } }
.main { flex: 1; padding-top: 2rem; padding-bottom: 4rem; }
.narrow { max-width: 34rem; }

/* ---------- Kopf ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; display: block; height: 6px; background: var(--j-band); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { height: 3.5rem; width: auto; flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__site { font-size: 1.1875rem; font-weight: 700; }
.brand__org { font-size: .8125rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-top: .1rem; }

.nav-toggle { display: none; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.main-nav ul { display: flex; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a, .linklike { color: var(--ink); text-decoration: none; font-weight: 500; padding: .35rem 0; border-bottom: 3px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--orange-light); color: var(--ink); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.main-nav__user { display: flex; align-items: center; gap: 1rem; padding-left: 1.25rem; border-left: 1px solid var(--line); }
.user-link { color: var(--muted) !important; font-weight: 400 !important; }
.linklike { background: none; border: 0; border-bottom: 3px solid transparent; font: inherit; font-weight: 500; cursor: pointer; padding: .35rem 0; }
.linklike:hover { color: var(--orange); }

@media (max-width: 56rem) {
  .nav-toggle { display: inline-flex; font: inherit; font-weight: 500; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem .8rem; cursor: pointer; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: .5rem; padding-bottom: .5rem; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav__user { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: .5rem; width: 100%; }
}

/* ---------- Fuß ---------- */
.site-footer { background: var(--anthracite); color: #fff; font-size: .9375rem; }
.site-footer__band { height: 6px; background: var(--j-band); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.site-footer__about p { margin: 0; }
.site-footer__motto { font-size: 1.125rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .35rem !important; font-weight: 400; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer a { color: #fff; }

/* ---------- Überschriftenbereich ---------- */
.page-head { margin-bottom: 1.75rem; }
.page-head--row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.page-head--row h1 { margin-bottom: 0; }
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--anthracite); margin-bottom: .4rem; display: flex; align-items: center; gap: .5rem; }
.eyebrow::before { content: ""; width: 1.25rem; height: 3px; background: var(--orange); }
.lead { font-size: 1.1875rem; color: var(--anthracite); max-width: 44rem; }
.crumbs { font-size: .9375rem; margin-bottom: .75rem; color: var(--muted); }

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: inherit; font-size: 1rem; font-weight: 500; line-height: 1.2;
  padding: .65rem 1.1rem; border-radius: var(--radius);
  border: 2px solid var(--anthracite); background: var(--paper); color: var(--ink);
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--sand-soft); color: var(--ink); }
.btn--primary { background: var(--anthracite); color: #fff; }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--quiet { border-color: transparent; background: transparent; text-decoration: underline; text-decoration-color: var(--orange); }
.btn--quiet:hover { background: transparent; color: var(--orange); }
.btn--danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn--danger:hover { background: #7d0d17; color: #fff; }
.btn--danger-quiet { color: var(--danger); }
.btn--small { padding: .35rem .7rem; font-size: .875rem; }
.btn--large { padding: .85rem 1.4rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--icon { padding: .25rem .55rem; border-width: 1px; font-size: .9375rem; }

/* ---------- Karten, Panels, Hinweise ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.panel__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--anthracite); margin-bottom: .85rem; }
.panel--status { border-top: 4px solid var(--orange); }
.panel--status form { margin-bottom: .6rem; }
.note { background: var(--sand-soft); border-left: 4px solid var(--sand); padding: 1.25rem 1.5rem; margin-top: 2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.note__title { font-size: 1.0625rem; }
.empty { text-align: center; padding: 2.5rem 1.5rem; }

.alert { padding: .85rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; border-left: 5px solid var(--anthracite); background: var(--sand-soft); }
.alert--success { background: #e6f4ec; border-left-color: #009338; }
.alert--error { background: #fbe9eb; border-left-color: var(--danger); }
.alert--info { background: #e8f3fa; border-left-color: #0887CC; }

.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .8125rem; font-weight: 500; background: #ececec; color: var(--ink); white-space: nowrap; }
.badge--unbestaetigt, .badge--rueckfrage { background: var(--warn-bg); }
.badge--eingereicht { background: var(--info-bg); }
.badge--in_pruefung { background: var(--orange-light); }
.badge--freigabe { background: #E0ADD4; }
.badge--veroeffentlicht { background: var(--ok-bg); }
.badge--angenommen { background: #9BC3AA; }
.badge--abgelehnt { background: var(--err-bg); }
.tag { display: inline-block; font-size: .75rem; font-weight: 500; padding: .05rem .45rem; border: 1px solid var(--line); border-radius: 3px; color: var(--anthracite); background: var(--sand-soft); vertical-align: middle; }

/* ---------- Formulare ---------- */
.form .field, .field { margin-bottom: 1.1rem; }
label, legend { font-weight: 500; }
.field > label { display: block; margin-bottom: .3rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .6rem .7rem; border: 1px solid #8f8a80; border-radius: var(--radius); background: #fff;
}
textarea { resize: vertical; line-height: 1.55; }
.textarea--long { min-height: 18rem; font-size: 1.0625rem; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--orange-light); outline-offset: 0; border-color: var(--orange); }
[aria-invalid="true"] { border-color: var(--danger) !important; background: #fff8f8; }
.field__error { color: var(--danger); font-size: .9375rem; font-weight: 500; margin: .35rem 0 0; }
.field--check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.field--check input { margin-top: .3rem; flex: none; width: 1.1rem; height: 1.1rem; accent-color: var(--anthracite); }
.field--inline { display: flex; flex-direction: column; margin-bottom: 0; }
.field--inline label { font-size: .875rem; margin-bottom: .2rem; }
.input--short { max-width: 6rem; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.25rem; }
.form--row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.form--row select { width: auto; flex: 1 1 10rem; }
.check-inline { display: inline-flex; align-items: center; gap: .35rem; font-weight: 400; }
.fieldset { border: 0; padding: 0; margin: 1.25rem 0 0; }
.fieldset legend { margin-bottom: .5rem; }

.form--submission { max-width: 50rem; }
.form-section { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; }
.form-section__title { display: flex; align-items: center; gap: .65rem; font-size: 1.25rem; margin-bottom: 1.1rem; }
.step { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--orange); color: #fff; font-size: 1rem; font-weight: 700; flex: none; }
.form__actions--sticky { position: sticky; bottom: 0; background: var(--bg); padding: 1rem 0; margin-top: 0; border-top: 1px solid var(--line); z-index: 2; }

.grid-2 { display: grid; gap: 0 1.25rem; }
@media (min-width: 40rem) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.checks { border: 0; padding: 0; margin: 0 0 1rem; }
.checks legend { margin-bottom: .4rem; }
.checks label { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; padding: .15rem 0; }
.checks input { margin-top: .35rem; accent-color: var(--anthracite); flex: none; }
.taxo-grid { display: grid; gap: .5rem 2rem; }
@media (min-width: 40rem) { .taxo-grid { grid-template-columns: 1fr 1fr; } }

.parts { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.part { position: relative; border: 1px solid var(--line); border-left: 4px solid var(--orange-mid); border-radius: var(--radius); padding: 1rem 1.1rem .25rem; background: var(--sand-soft); margin: 0; }
.part__legend { font-weight: 700; padding: 0 .35rem; background: var(--sand-soft); }
.part__tools { position: absolute; top: .5rem; right: .6rem; display: flex; gap: .3rem; }
.part:first-child [data-part-up], .part:last-child [data-part-down] { visibility: hidden; }

/* ---------- Tabellen, Tabs, Filter ---------- */
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--anthracite); background: var(--sand-soft); }
.table tr:last-child td { border-bottom: 0; }
.table td a { font-weight: 500; }
.table input { padding: .35rem .5rem; }

.tabs { display: flex; gap: .25rem 1.25rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.tabs a { text-decoration: none; padding: .5rem 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 500; color: var(--anthracite); }
.tabs a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--ink); }
.count { display: inline-block; min-width: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--sand); font-size: .75rem; text-align: center; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.pills a { text-decoration: none; padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .9375rem; }
.pills a[aria-current="page"] { background: var(--anthracite); color: #fff; border-color: var(--anthracite); }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.filters .field--inline { min-width: 10rem; }

/* ---------- Layouts ---------- */
.layout-side { display: grid; gap: 1.5rem; }
@media (min-width: 60rem) {
  .layout-side { grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; }
}
.layout-filter { display: grid; gap: 1.5rem; }
@media (min-width: 60rem) {
  .layout-filter { grid-template-columns: 17rem minmax(0, 1fr); align-items: start; }
  .filterbar { position: sticky; top: 1rem; }
}
.filterbar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.filterbar .field { margin-bottom: .85rem; }
.filterbar label { font-size: .9375rem; }
.result-count { color: var(--muted); margin-bottom: .75rem; }
.pager { display: flex; gap: 1.5rem; justify-content: center; align-items: center; margin-top: 1.5rem; }

/* ---------- Start ---------- */
.hero { display: grid; gap: 2rem; align-items: center; padding: 1rem 0 2.5rem; }
@media (min-width: 52rem) { .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; } }
.hero .lead + .lead { margin-top: -.25rem; }
.hero__logo { position: relative; }
.hero__logo img { display: block; width: 100%; height: auto; max-width: 34rem; margin: 0 auto; }
@media (max-width: 51.99rem) { .hero__logo { order: -1; } .hero__logo img { max-width: 22rem; margin: 0; } }
.hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero__facet { aspect-ratio: 1; max-width: 20rem; width: 100%; justify-self: center; background:
  conic-gradient(from 45deg at 50% 50%, var(--orange) 0 25%, var(--orange-mid) 0 50%, var(--orange) 0 75%, var(--orange-light) 0);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@media (max-width: 51.99rem) { .hero__facet { display: none; } }
.steps__list { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 44rem) { .steps__list { grid-template-columns: repeat(3, 1fr); } }
.steps__list li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 4rem; position: relative; }
.steps__list li::before { content: counter(s); position: absolute; left: 1.1rem; top: 1.15rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--j-lila); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps__list li:nth-child(2)::before { background: var(--j-orange); }
.steps__list li:nth-child(3)::before { background: var(--j-blau); }
.steps__list strong { display: block; }
.steps__list span { color: var(--anthracite); font-size: .9375rem; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }

.choice-grid { display: grid; gap: 1.25rem; }
@media (min-width: 44rem) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { border-top: 4px solid var(--orange); display: flex; flex-direction: column; }
.choice p:last-of-type { flex: 1; }
.choice__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Kacheln ---------- */
.tiles { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .tiles:not(.tiles--list) { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; position: relative; transition: border-color .15s; }
.tile:hover { border-color: var(--orange); }
.tile__type { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--anthracite); margin-bottom: .35rem; }
.tile__title { font-size: 1.1875rem; margin-bottom: .5rem; }
.tile__title a { text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; }
.tile__text { color: var(--anthracite); font-size: .9688rem; flex: 1; }
.tile__meta { color: var(--muted); font-size: .875rem; margin: 0; }

/* ---------- Dokumentansicht ---------- */
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); margin-bottom: 1.25rem; }
.reading { max-width: 48rem; }
.doc__summary { font-size: 1.125rem; color: var(--anthracite); border-left: 4px solid var(--orange); padding-left: 1rem; margin-bottom: 1.75rem; }
.doc__summary p:last-child { margin-bottom: 0; }
.liturgy { font-size: 1.125rem; line-height: 1.7; max-width: 40rem; }
.doc__parts { list-style: none; padding: 0; margin: 0; }
.doc-part { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.doc-part:first-child { border-top: 0; padding-top: 0; }
.doc-part__type { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--anthracite); margin-bottom: .3rem; }
.doc-part__title { font-size: 1.25rem; }
.doc-part__ref { background: var(--sand-soft); padding: 1rem 1.25rem; border-radius: var(--radius); }
.doc-part__reftitle { font-weight: 500; }
.doc__notes { margin-top: 1.75rem; padding: 1.25rem; background: var(--sand-soft); border-radius: var(--radius); }
.doc__notes h2 { font-size: 1.0625rem; }
.doc__notes p:last-child { margin-bottom: 0; }
.meta { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .5rem 1.5rem; font-size: .9375rem; }
@media (min-width: 40rem) { .meta:not(.meta--compact) { grid-template-columns: repeat(2, 1fr); } }
.meta dt { font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--anthracite); }
.meta dd { margin: 0; }
.meta--compact { margin-top: 1rem; padding-top: .75rem; }

/* ---------- Nachrichten, Verlauf ---------- */
.thread { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.msg { padding: .75rem 1rem; border-radius: var(--radius); background: var(--sand-soft); border-left: 4px solid var(--sand); }
.msg--redaktion { background: #fff4ef; border-left-color: var(--orange-mid); }
.msg--intern { background: #f1f1f1; border-left-color: #9a9a9a; }
.msg--system { background: transparent; border-left-color: var(--line); font-size: .9375rem; color: var(--anthracite); }
.msg__head { font-size: .875rem; margin-bottom: .25rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: baseline; }
.msg__body p:last-child { margin-bottom: 0; }
.log { list-style: none; padding: 0; margin: 0; font-size: .9063rem; }
.log li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.log li:last-child { border-bottom: 0; }

details.action { margin-bottom: .6rem; }
details.action > summary { list-style: none; }
details.action > summary::-webkit-details-marker { display: none; }
details.action[open] > summary { margin-bottom: .75rem; }
details.action form { background: var(--sand-soft); padding: 1rem; border-radius: var(--radius); }
.action--danger { margin-top: .5rem; font-size: .9375rem; }
.action--danger summary { color: var(--danger); cursor: pointer; }

.debug { background: #222; color: #eee; padding: 1rem; overflow-x: auto; font-size: .875rem; }

/* ---------- Druck ---------- */
@media print {
  body { border-top: 0; background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .noprint, .crumbs, .skip { display: none !important; }
  .doc { border: 0; padding: 0; }
  .main { padding: 0; }
  a { text-decoration: none; }
}

/* ---------- Link zum Kopieren ---------- */
.copyrow { display: flex; gap: .5rem; }
.copyrow input { flex: 1; min-width: 0; font-size: .9375rem; background: var(--sand-soft); }
.linkbox { border-left: 5px solid var(--orange); margin-bottom: 1.5rem; }
.linkbox h2 { font-size: 1.125rem; }

/* ---------- Einrichtung ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .is-ok span[aria-hidden] { color: #00702a; font-weight: 700; }
.checklist .is-fail { color: var(--danger); font-weight: 500; }
code { font-size: .9em; background: var(--sand-soft); padding: .1rem .3rem; border-radius: 3px; }

/* ---------- Jubiläum: Abschnitte und Motto ---------- */
.section { margin-bottom: 3rem; }
.section__title { font-size: 1.625rem; }
.section__intro { color: var(--anthracite); max-width: 44rem; }
.motto__grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 52rem) { .motto__grid { grid-template-columns: repeat(3, 1fr); } }
.motto__card { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.25rem; }
.motto__card::after { content: ""; position: absolute; top: 0; right: 0; width: 4.5rem; height: 4.5rem; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.motto__card::before { content: ""; position: absolute; top: 0; right: 2.25rem; width: 2.25rem; height: 2.25rem; clip-path: polygon(0 0, 100% 0, 100% 100%); z-index: 1; }
.motto__card h3 { font-size: 1.375rem; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; padding-right: 3.5rem; margin-bottom: .75rem; }
.motto__card h3 strong { font-weight: 700; }
.motto__card p { color: var(--anthracite); margin: 0; }
.motto__card--1 { border-top: 4px solid var(--j-lila); }
.motto__card--1::after { background: var(--j-lila); }
.motto__card--1::before { background: var(--j-gelb); }
.motto__card--2 { border-top: 4px solid var(--j-orange); }
.motto__card--2::after { background: var(--j-orange); }
.motto__card--2::before { background: var(--j-rot); }
.motto__card--3 { border-top: 4px solid var(--j-blau); }
.motto__card--3::after { background: var(--j-blau); }
.motto__card--3::before { background: var(--j-gruen); }
