/* Öffentliche Website – Grundgestaltung. Farben kommen aus den Einstellungen (:root im <head>). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/Inter-Regular.woff) format('woff'); }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/Inter-Italic.woff) format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/Inter-Medium.woff) format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/Inter-SemiBold.woff) format('woff'); }
@font-face { font-family: 'Inter Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/InterDisplay-SemiBold.woff) format('woff'); }

:root {
  --surface: #ffffff;
  --f-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-head: 'Inter Display', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --w-narrow: 640px; --w-normal: 760px; --w-wide: 1140px;
  --radius: 6px;
  --gap: clamp(1.4rem, 3vw, 2.2rem);
  --band: clamp(3rem, 7vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
main { flex: 1; padding-bottom: var(--band); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius); z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Kopfzeile ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 20; }
.head-in { max-width: calc(var(--w-wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { max-height: 42px; width: auto; }
.brand-name { font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 8px 12px; color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; border-radius: var(--radius); }
.site-nav a:hover { color: var(--ink); background: var(--soft); }
.site-nav a[aria-current="page"], .site-nav .is-active > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-nav a[aria-current="page"]:hover { background: none; }
.has-sub { display: flex; align-items: center; }
.sub-toggle { display: none; }
.site-nav .sub {
  list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; right: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 32px -12px rgba(20, 30, 34, .25);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub a { padding: 8px 12px; border-radius: 4px; box-shadow: none; }
.site-nav .sub a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.has-sub > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }

.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: .9rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; } .nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; box-shadow: 0 16px 24px -16px rgba(20, 30, 34, .2); }
  .js .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li:last-child { border-bottom: 0; }
  .site-nav a { padding: 14px 4px; font-size: 1.05rem; color: var(--ink); border-radius: 0; }
  .site-nav a:hover { background: none; color: var(--accent); }
  .site-nav a[aria-current="page"], .site-nav .is-active > a { box-shadow: none; color: var(--accent); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .has-sub > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--muted); cursor: pointer; }
  .sub-toggle span { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] span { transform: translateY(2px) rotate(-135deg); }
  .site-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 8px 12px; width: 100%; display: none; }
  .js .site-nav .sub.open, .site-nav .is-active > .sub { display: block; }
  .site-nav .sub a { padding: 10px 4px; font-size: 1rem; color: var(--muted); }
  .site-nav .sub a[aria-current="page"] { background: none; }
}

/* ---------- Blöcke ---------- */
.b { padding: 0 var(--gutter); margin: var(--gap) 0; }
.b-in { max-width: var(--w-normal); margin: 0 auto; }
.w-narrow > .b-in { max-width: var(--w-narrow); }
.w-wide > .b-in { max-width: var(--w-wide); }
.w-full > .b-in { max-width: none; }
.b-image.w-full, .b-gallery.w-full, .b-video.w-full { padding-inline: 0; }
.b-image.w-full figcaption, .b-gallery.w-full figcaption, .b-video.w-full figcaption { padding-inline: var(--gutter); }

.bg-soft, .bg-accent, .bg-dark { margin: 0; padding-block: var(--band); }
main > .b:first-child.bg-none:not(.b-hero) { margin-top: var(--band); }
main > .b-hero:first-child.w-full { margin-top: 0; }
main > .b-hero:first-child:not(.w-full) { margin-top: clamp(1rem, 3vw, 2rem); }
main > .b-heading:first-child.bg-none { margin-top: clamp(2.5rem, 7vw, 5rem); }
.bg-soft { background: var(--soft); }
.bg-accent { background: var(--accent); color: #fff; }
.bg-dark { background: var(--dark); color: #e6ecee; }
.bg-accent a:not(.btn), .bg-dark a:not(.btn) { color: inherit; }
.bg-accent .kicker, .bg-dark .kicker { color: inherit; opacity: .75; }
.bg-accent .hd, .bg-dark .hd { color: inherit; }
.bg-soft + .bg-soft, .bg-accent + .bg-accent, .bg-dark + .bg-dark { padding-top: 0; }
.bg-soft + .bg-none, .bg-accent + .bg-none, .bg-dark + .bg-none { margin-top: var(--band); }

.al-center { text-align: center; }
.al-center .btns { justify-content: center; }
.al-center .prose ul, .al-center .prose ol { text-align: left; display: inline-block; }
.al-center .fig img { margin-inline: auto; }

/* Überschriften und Text */
.hd { font-family: var(--f-head); font-weight: 600; letter-spacing: -.022em; line-height: 1.12; margin: 0; color: var(--ink); text-wrap: balance; }
.hd-1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.03em; line-height: 1.05; }
.hd-2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
.hd-3 { font-size: clamp(1.25rem, 2vw, 1.45rem); letter-spacing: -.012em; }
.kicker { margin: 0 0 .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.b-heading + .b-text, .b-heading + .b-downloads, .b-heading + .b-audio, .b-heading + .b-gallery, .b-heading + .b-cards { margin-top: calc(var(--gap) * -.35); }

.prose { text-wrap: pretty; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; letter-spacing: -.012em; line-height: 1.25; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 1.05rem; font-weight: 600; margin: 1.5em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin: .25em 0; }
.prose li::marker { color: var(--accent); }
.bg-accent .prose li::marker, .bg-dark .prose li::marker { color: inherit; }
.prose blockquote { margin: 1.4em 0; padding-left: 1.1em; border-left: 3px solid var(--accent-line); color: var(--muted); }
.prose strong { font-weight: 600; }
.bg-dark .prose blockquote, .bg-accent .prose blockquote { color: inherit; opacity: .85; }

/* Titelbereich */
.b-hero { margin-top: 0; }
.b-hero.w-full { padding: 0; }
.b-hero.bg-soft, .b-hero.bg-accent, .b-hero.bg-dark { padding-block: 0; }
.hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.hero.h-klein { min-height: clamp(220px, 30vh, 320px); }
.hero.h-normal { min-height: clamp(320px, 52vh, 560px); }
.hero.h-hoch { min-height: clamp(420px, 82vh, 900px); }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: calc(var(--w-wide) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter); }
.w-full .hero-in { padding-inline: var(--gutter); }
.b-hero:not(.w-full) .hero { border-radius: 10px; }
.b-hero:not(.w-full) .hero-in { padding-inline: clamp(1.5rem, 5vw, 3.5rem); }
.b-hero:not(.w-full).bg-none .hero { background: var(--soft); }
.hero-title { font-family: var(--f-head); font-weight: 600; font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.035em; line-height: 1; margin: 0; max-width: 16ch; text-wrap: balance; }
.hero-sub { margin-top: 1.1rem; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; max-width: 40ch; color: var(--muted); }
.hero-sub p { margin: 0 0 .6em; } .hero-sub p:last-child { margin: 0; }
.hero .btns { margin-top: 1.8rem; }
.al-center .hero { justify-content: center; text-align: center; }
.al-center .hero-title, .al-center .hero-sub { margin-inline: auto; }
.bg-accent .hero-sub, .bg-dark .hero-sub { color: inherit; opacity: .85; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 20, 23, .78) 0%, rgba(12, 20, 23, .35) 45%, rgba(12, 20, 23, .1) 100%); }
.hero.has-img { color: #fff; }
.hero.has-img .hero-sub { color: rgba(255, 255, 255, .88); }

/* Bilder */
.fig { margin: 0; }
.fig img { border-radius: var(--radius); }
.fig img.round { border-radius: 50%; aspect-ratio: 1; object-fit: cover; max-width: min(100%, 320px); }
.w-full .fig img:not(.round) { border-radius: 0; width: 100%; }
figcaption { margin-top: .6rem; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.bg-accent figcaption, .bg-dark figcaption { color: inherit; opacity: .75; }
.zoom { display: block; cursor: zoom-in; }

/* Bild + Text */
.it { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.it-media img { border-radius: var(--radius); width: 100%; }
.it-body .hd { margin-bottom: .8rem; }
.it-body .btns { margin-top: 1.4rem; }
@media (min-width: 760px) {
  .it { grid-template-columns: 1fr 1fr; }
  .it.r-1-2 { grid-template-columns: 1fr 2fr; }
  .it.r-2-1 { grid-template-columns: 2fr 1fr; }
  .it-right .it-media { order: 2; }
  .it-right.r-1-2 { grid-template-columns: 2fr 1fr; }
  .it-right.r-2-1 { grid-template-columns: 1fr 2fr; }
  .it.no-img { grid-template-columns: 1fr; }
}

/* Galerie */
.gal { display: grid; gap: clamp(.5rem, 1.2vw, .9rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gal.cols-3 { grid-template-columns: repeat(3, 1fr); } .gal.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 500px) and (max-width: 699px) { .gal.cols-3, .gal.cols-4 { grid-template-columns: repeat(3, 1fr); } }
.gal figure { margin: 0; }
.gal img { border-radius: 4px; width: 100%; }
.gal.crop img { aspect-ratio: 4 / 3; object-fit: cover; }
.gal:not(.crop) { display: block; columns: 2; column-gap: clamp(.5rem, 1.2vw, .9rem); }
@media (min-width: 700px) { .gal:not(.crop).cols-3 { columns: 3; } .gal:not(.crop).cols-4 { columns: 4; } }
.gal:not(.crop) figure { break-inside: avoid; margin-bottom: clamp(.5rem, 1.2vw, .9rem); }
.gal figcaption { margin-top: .35rem; font-size: .82rem; }
.w-full .gal img { border-radius: 0; }

/* Kacheln */
.cards { display: grid; gap: clamp(.8rem, 2vw, 1.4rem); grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } .cards.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: var(--ink); text-decoration: none; text-align: left; }
a.card { transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { color: var(--ink); border-color: var(--accent-line); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(20, 30, 34, .35); }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 1.2rem 1.3rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; letter-spacing: -.012em; line-height: 1.25; margin: 0 0 .45rem; }
.card p { margin: 0 0 .7em; color: var(--muted); font-size: .97rem; line-height: 1.55; }
.card p:last-of-type { margin-bottom: 0; }
.card-more { margin-top: auto; padding-top: .9rem; font-size: .9rem; font-weight: 600; color: var(--accent); }
.bg-dark .card, .bg-accent .card { color: var(--ink); }

/* Downloads */
.b-downloads .hd, .b-audio .hd { margin-bottom: 1.1rem; }
.dl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dl li { border-bottom: 1px solid var(--line); }
.dl-item { display: flex; align-items: center; gap: 16px; padding: 14px 8px; color: var(--ink); text-decoration: none; text-align: left; border-radius: 4px; }
.dl-item:hover { background: var(--soft); color: var(--ink); }
.dl-ext { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: .7rem; font-weight: 600; letter-spacing: .04em; }
.dl-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dl-name { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.dl-meta { font-size: .85rem; color: var(--muted); }
.dl-go { flex: none; font-size: .9rem; font-weight: 600; color: var(--accent); }
.dl-go::after { content: ' ↓'; }
@media (max-width: 520px) { .dl-go { font-size: 0; } .dl-go::after { font-size: 1.1rem; content: '↓'; } }
.bg-dark .dl, .bg-dark .dl li, .bg-accent .dl, .bg-accent .dl li { border-color: rgba(255, 255, 255, .18); }
.bg-dark .dl-item, .bg-accent .dl-item, .bg-dark .dl-go, .bg-accent .dl-go, .bg-dark .dl-meta, .bg-accent .dl-meta { color: inherit; }
.bg-dark .dl-item:hover, .bg-accent .dl-item:hover { background: rgba(255, 255, 255, .08); }
.bg-dark .dl-ext, .bg-accent .dl-ext { background: rgba(255, 255, 255, .14); color: inherit; }

/* Audio */
.tracks { display: grid; gap: 10px; text-align: left; }
.track { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; color: var(--ink); }
.track-info { display: flex; flex-direction: column; margin-bottom: 8px; }
.track-title { font-weight: 600; line-height: 1.35; }
.track-note { font-size: .88rem; color: var(--muted); }
.track audio { width: 100%; }
.player { display: flex; align-items: center; gap: 14px; }
.player .track-info { flex: 1; min-width: 0; margin: 0; }
.track.enhanced { padding: 12px 16px 12px 12px; }
.play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.play:hover { background: var(--accent-hover); }
.play svg { width: 18px; height: 18px; }
.seek-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.seek { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) var(--p, 0%), var(--line) var(--p, 0%)); cursor: pointer; margin: 0; }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--accent); }
.seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
.time { flex: none; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }
.track.is-playing { border-color: var(--accent-line); }

/* Video */
.vid { margin: 0; }
.vid video { width: 100%; border-radius: var(--radius); background: #0d1417; }
.w-full .vid video { border-radius: 0; }
.yt { position: relative; aspect-ratio: 16 / 9; background: var(--dark); color: #e6ecee; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; text-align: center; }
.yt-in { padding: 24px; max-width: 460px; }
.yt-title { font-family: var(--f-head); font-weight: 600; font-size: 1.25rem; margin: 0 0 .4rem; }
.yt-note { font-size: .88rem; opacity: .8; margin: 0 0 1.2rem; line-height: 1.5; }
.yt-note a { color: inherit; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border-radius: var(--radius); font: inherit; font-size: .98rem; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-secondary:hover { color: var(--accent); }
.bg-accent .btn-primary, .bg-dark .btn-primary, .hero.has-img .btn-primary { background: #fff; color: var(--ink); }
.bg-accent .btn-primary:hover, .bg-dark .btn-primary:hover, .hero.has-img .btn-primary:hover { background: var(--accent-soft); color: var(--ink); }
.bg-accent .btn-secondary, .bg-dark .btn-secondary, .hero.has-img .btn-secondary { color: #fff; }
.bg-accent .btn-secondary:hover, .bg-dark .btn-secondary:hover, .hero.has-img .btn-secondary:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Zitat, Linie, Abstand */
.quote { margin: 0; padding-left: clamp(1rem, 3vw, 1.6rem); border-left: 3px solid var(--accent); }
.quote p { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.3; letter-spacing: -.018em; margin: 0 0 .5em; text-wrap: balance; }
.quote cite { display: block; font-style: normal; font-size: .9rem; color: var(--muted); margin-top: .8rem; }
.al-center .quote { border-left: 0; padding-left: 0; }
.bg-accent .quote, .bg-dark .quote { border-color: currentColor; }
.bg-accent .quote cite, .bg-dark .quote cite { color: inherit; opacity: .75; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.b-spacer, .b-divider { margin-block: calc(var(--gap) * .5); }
.space { height: 0; }
.space.s-s { height: .5rem; } .space.s-m { height: 2.5rem; } .space.s-l { height: 5rem; } .space.s-xl { height: 9rem; }

/* 404 */
.notfound .btns { margin-top: 1.6rem; }
.notfound .hd { margin-bottom: 1rem; }

/* ---------- Fußzeile ---------- */
.site-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot-in { max-width: calc(var(--w-wide) + 2 * var(--gutter)); margin: 0 auto; padding: 2.2rem var(--gutter) 2.6rem; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; }
.foot-text { flex-basis: 100%; color: var(--ink); line-height: 1.55; }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.copy { margin: 0 0 0 auto; }
@media (max-width: 520px) { .copy { margin: 0; flex-basis: 100%; } }

/* ---------- Für angemeldete Nutzer ---------- */
.edit-bar { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; gap: 2px; background: #182024; border-radius: 999px; padding: 4px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.edit-bar a { color: #fff; text-decoration: none; font-size: .85rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.edit-bar a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.draft-note { background: #fff4d6; color: #5e4500; text-align: center; font-size: .88rem; font-weight: 500; padding: 8px 16px; }

/* Vorschau im Editor */
[data-block] { cursor: pointer; position: relative; }
[data-block]:hover { outline: 2px dashed var(--accent-line); outline-offset: -2px; }
[data-block].is-selected { outline: 2px solid var(--accent); outline-offset: -2px; }
.is-hidden { opacity: .35; }
.empty-block { margin: 0; padding: 22px; border: 1.5px dashed var(--line); border-radius: 8px; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- Großansicht ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(10, 15, 17, .94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: rgba(255, 255, 255, .8); font-size: .9rem; padding: 0 70px; }
.lb button { position: absolute; background: rgba(255, 255, 255, .08); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, .18); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 24px; left: 20px; color: rgba(255, 255, 255, .6); font-size: .85rem; font-variant-numeric: tabular-nums; }
html.lb-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .site-head, .site-foot, .edit-bar, .draft-note { display: none; } body { background: #fff; } }
