/* Trachtenverein Wasentegernbach – Website
   Papier, Loden, Kronen-Gold und Schild-Rot. Schrift: Alegreya (Überschriften) und Alegreya Sans. */

:root {
  --paper: #f5f0e6;
  --paper-2: #ebe3d3;
  --paper-3: #e2d8c4;
  --ink: #1e1b16;
  --ink-2: #463f35;
  --muted: #7a7062;
  --line: #d6ccb8;
  --loden: #2f4836;
  --loden-2: #3e5d46;
  --loden-dark: #1d2d22;
  --red: #a3302a;
  --red-dark: #82241f;
  --gold: #c08d2e;
  --gold-soft: #e9d4a4;
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  /* Kreuzstich-Band wie auf einer gestickten Borte */
  --stitch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16' shape-rendering='crispEdges'%3E%3Cg fill='%23a3302a'%3E%3Crect x='22' y='2' width='4' height='2'/%3E%3Crect x='20' y='4' width='8' height='2'/%3E%3Crect x='18' y='6' width='4' height='4'/%3E%3Crect x='26' y='6' width='4' height='4'/%3E%3Crect x='20' y='10' width='8' height='2'/%3E%3Crect x='22' y='12' width='4' height='2'/%3E%3C/g%3E%3Crect x='22' y='6' width='4' height='4' fill='%232f4836'/%3E%3Cg fill='%23c08d2e'%3E%3Crect x='4' y='7' width='2' height='2'/%3E%3Crect x='10' y='7' width='2' height='2'/%3E%3Crect x='36' y='7' width='2' height='2'/%3E%3Crect x='42' y='7' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }

.kicker { font: 700 .8rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; display: block; }
.stitch { height: 16px; background: var(--stitch) center / 48px 16px repeat-x; border: 0; margin: 0; opacity: .9; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hinweisleiste ---------- */
.notice { background: var(--loden-dark); color: #efe9dc; font-size: .92rem; }
.notice a { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 9px var(--gutter); text-decoration: none; text-align: center; }
.notice a:hover { color: var(--gold-soft); }
.notice b { color: var(--gold-soft); font-weight: 700; letter-spacing: .04em; }

/* ---------- Kopf ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 58px; height: auto; }
.brand span { display: grid; line-height: 1.05; }
.brand small { white-space: nowrap; font: 700 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.brand strong { font: 800 1.32rem/1.05 var(--serif); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 4px; font-size: 1.02rem; }
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--red); margin-top: 2px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1 var(--sans); letter-spacing: .02em; padding: 14px 22px; border-radius: 3px; text-decoration: none; border: 1.5px solid currentColor; cursor: pointer; background: none; color: inherit; }
.btn.solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn.solid:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--loden-dark); }
.btn.gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--loden-dark); }
.btn:not(.solid):not(.gold):hover { color: var(--red); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.nav .btn { padding: 10px 16px; margin-left: 10px; }
.menu-btn { display: none; font: 700 .95rem var(--sans); background: none; border: 1.5px solid var(--ink); border-radius: 3px; padding: 9px 14px; cursor: pointer; color: var(--ink); }
@media (max-width: 1020px) {
  .menu-btn { display: inline-block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--paper); flex-direction: column; align-items: stretch; padding: 92px 28px 28px; gap: 0; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; box-shadow: -20px 0 60px rgba(30, 27, 22, .18); border-left: 1px solid var(--line); }
  .nav a { font: 700 1.5rem/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 22px 0 0; justify-content: center; font: 700 1.05rem var(--sans); border-bottom: 1.5px solid var(--red); }
  body.menu-open .nav { transform: none; visibility: visible; transition: transform .25s ease; }
  /* Unschärfe-Filter würde das feste Menü auf die Kopfzeile begrenzen */
  .site-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  body.menu-open .head-in > .menu-btn { visibility: hidden; }
  .nav-close { position: absolute; top: 24px; right: 24px; }
}
@media (min-width: 1021px) { .nav-close { display: none; } }
.scrim { position: fixed; inset: 0; background: rgba(30, 27, 22, .35); z-index: 39; opacity: 0; pointer-events: none; transition: opacity .25s; }
body.menu-open .scrim { opacity: 1; pointer-events: auto; }

/* ---------- Startseite: Einstieg ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .98; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--loden); }
.hero .lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink-2); max-width: 34em; margin: 26px 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.flag { margin: 0; justify-self: center; max-width: 440px; width: 100%; }
.flag .frame { background: var(--paper-2); padding: 14px; transform: rotate(-1.6deg); box-shadow: 0 1px 0 var(--line), 0 24px 50px -24px rgba(30, 27, 22, .45); }
.flag img { width: 100%; }
.flag figcaption { font: italic 500 1.05rem/1.4 var(--serif); color: var(--ink-2); margin-top: 20px; padding-left: 6px; }
.flag figcaption span { display: block; font: 400 .85rem var(--sans); font-style: normal; color: var(--muted); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .flag { max-width: 340px; justify-self: start; }
}

.pano { position: relative; margin: 0; }
.pano img { width: 100%; height: clamp(260px, 44vw, 600px); object-fit: cover; object-position: 50% 55%; }
.pano figcaption { font-size: .9rem; color: var(--muted); padding: 10px var(--gutter) 0; max-width: var(--wrap); margin-inline: auto; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); }
.facts div { padding: 22px 20px 20px 0; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 22px; }
.facts b { display: block; font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--serif); color: var(--loden); margin-bottom: 8px; }
.facts span { color: var(--ink-2); font-size: 1rem; line-height: 1.4; display: block; }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.section { padding: clamp(56px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.section-head p { color: var(--ink-2); margin: 0; max-width: 38em; }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Theater-Block ---------- */
.stage { background: var(--loden-dark); color: #efe9dc; position: relative; }
.stage .stitch { position: absolute; left: 0; right: 0; top: 0; }
.stage-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.stage .kicker { color: var(--gold); }
.stage h2 { font-size: clamp(3rem, 7vw, 5.8rem); font-style: italic; font-weight: 700; color: #fbf6ea; line-height: .95; }
.stage h2 small { display: block; font: 700 .9rem/1.2 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #b9c4b7; margin-top: 18px; }
.stage .intro { color: #d3d9cf; margin: 26px 0 30px; max-width: 32em; }
.stage figure { margin: 0; }
.stage figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.stage figcaption { font-size: .88rem; color: #a9b4a6; margin-top: 10px; }
.dates { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid rgba(239, 233, 220, .22); }
.dates li { display: grid; grid-template-columns: 5.2rem 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed rgba(239, 233, 220, .28); }
.dates .d { font: 800 1.9rem/1 var(--serif); color: var(--gold-soft); }
.dates .d small { font: 500 .95rem var(--sans); color: #b9c4b7; margin-left: 4px; }
.dates .w { font-weight: 500; }
.dates .t { font-variant-numeric: tabular-nums; color: #d3d9cf; }
.stage .actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.stage .phone { color: #d3d9cf; font-size: 1rem; line-height: 1.45; }
.stage .phone a { color: #fbf6ea; font-weight: 700; white-space: nowrap; }
@media (max-width: 860px) { .stage-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Grußwort ---------- */
.quote { text-align: left; }
.quote blockquote { margin: 0; font: italic 500 clamp(1.6rem, 3.2vw, 2.5rem)/1.25 var(--serif); color: var(--ink); text-wrap: balance; }
.quote blockquote::before { content: "„"; display: block; font: 800 5rem/0.6 var(--serif); color: var(--red); margin-bottom: 14px; font-style: normal; }
.quote .sig { margin-top: 28px; display: flex; gap: 16px; align-items: center; color: var(--ink-2); }
.quote .sig b { font: 700 1.1rem var(--serif); color: var(--ink); display: block; }
.quote .sig::before { content: ""; width: 48px; height: 1px; background: var(--ink); }

/* ---------- Gruppen ---------- */
.groups { display: grid; gap: clamp(48px, 7vw, 96px); }
.group { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.group:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.group:nth-child(even) figure { order: 2; }
.group figure { margin: 0; }
.group img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.group .no { font: italic 500 1.1rem var(--serif); color: var(--red); display: block; margin-bottom: 10px; }
.group h3 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.group p { color: var(--ink-2); }
.more { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; border-bottom: 1.5px solid var(--red); padding-bottom: 2px; }
@media (max-width: 860px) {
  .group, .group:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .group:nth-child(even) figure { order: 0; }
}
.minis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(56px, 8vw, 96px); padding-top: 32px; border-top: 1px solid var(--ink); }
.mini { text-decoration: none; display: grid; gap: 12px; align-content: start; }
.mini img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; filter: saturate(.92); transition: filter .2s; }
.mini:hover img { filter: saturate(1.05); }
.mini h3 { font-size: 1.45rem; }
.mini p { font-size: 1rem; color: var(--ink-2); margin: 0; line-height: 1.5; }
@media (max-width: 960px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .minis { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Aktuelles ---------- */
.news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.news article { display: grid; gap: 14px; align-content: start; }
.news img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.news time { font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.news h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.news h3 a { text-decoration: none; }
.news p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .news { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Chronik-Teaser ---------- */
.paper2 { background: var(--paper-2); }
.since { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.since figure { margin: 0; justify-self: center; }
.since figure img { width: min(100%, 420px); border: 12px solid #fbf8f1; box-shadow: 0 18px 40px -22px rgba(30, 27, 22, .5); filter: sepia(.25); transform: rotate(1.2deg); }
.since figcaption { font: italic 1rem var(--serif); color: var(--muted); margin-top: 16px; max-width: 420px; }
.since .year { font: 800 clamp(4.5rem, 12vw, 9rem)/.85 var(--serif); color: var(--loden); letter-spacing: -.03em; display: block; margin-bottom: 18px; }
.since h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }
.since p { color: var(--ink-2); }
@media (max-width: 860px) { .since { grid-template-columns: minmax(0, 1fr); } .since figure { justify-self: start; } }

/* ---------- Besuch / Kontakt ---------- */
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.visit > div { padding: 26px 28px 8px 0; }
.visit > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.visit h3 { font-size: 1.5rem; margin-bottom: 12px; }
.visit p { color: var(--ink-2); font-size: 1.05rem; }
@media (max-width: 860px) {
  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Fuß ---------- */
.site-foot { background: var(--loden-dark); color: #d9dccf; margin-top: clamp(56px, 9vw, 120px); position: relative; }
.site-foot .stitch { position: absolute; top: 0; left: 0; right: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 40px; padding: 72px 0 40px; }
.foot-brand { display: flex; gap: 18px; align-items: flex-start; }
.foot-brand img { width: 92px; flex: none; }
.foot-brand strong { font: 800 1.4rem/1.15 var(--serif); color: #fbf6ea; display: block; margin-bottom: 8px; }
.foot-brand p { font-size: .98rem; color: #b9c0b1; margin: 0; }
.site-foot h4 { font: 700 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--gold-soft); }
.foot-base { border-top: 1px solid rgba(217, 220, 207, .18); padding: 18px 0 28px; font-size: .88rem; color: #9ea596; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Unterseiten ---------- */
.page-head { padding: clamp(44px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.02em; line-height: 1; }
.page-head .lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 40em; margin: 22px 0 0; }
.banner { margin: 0 0 clamp(40px, 6vw, 72px); }
.banner img { width: 100%; height: clamp(220px, 34vw, 480px); object-fit: cover; }
.banner figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }

.prose { font-size: 1.15rem; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.45rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.prose .lede { font: italic 500 1.4rem/1.45 var(--serif); color: var(--ink); }

.split { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: 108px; display: grid; gap: 2px; font-size: 1rem; border-top: 1px solid var(--ink); padding-top: 14px; }
.toc a { text-decoration: none; padding: 5px 0; color: var(--ink-2); }
.toc a:hover { color: var(--red); }
@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px 16px; }
}

.block { padding-top: 8px; margin-bottom: clamp(56px, 8vw, 96px); }
.block > header { display: flex; gap: 16px; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: 26px; }
.block > header .no { font: italic 500 1.05rem var(--serif); color: var(--red); }
.block > header h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.block figure { margin: 0 0 26px; }
.block figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.block figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.block p { color: var(--ink-2); }
.contact-line { font-size: 1rem; background: var(--paper-2); padding: 14px 18px; border-left: 3px solid var(--loden); margin-top: 8px; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 32px; margin: 0; }
.people div { border-top: 1px solid var(--line); padding: 14px 0; }
.people dt { font: 700 .76rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.people dd { margin: 0; font: 700 1.2rem/1.3 var(--serif); }
.people dd + dd { font: 400 1.05rem var(--sans); }

/* Chronik */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 40px; padding: 0 0 clamp(36px, 5vw, 56px); position: relative; }
.timeline .yr { font: 800 clamp(2.2rem, 4vw, 3.1rem)/1 var(--serif); color: var(--loden); position: sticky; top: 110px; align-self: start; }
.timeline .yr small { display: block; font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-top: 8px; }
.timeline .txt { border-left: 1px solid var(--line); padding-left: 40px; position: relative; }
.timeline .txt::before { content: ""; position: absolute; left: -6px; top: 10px; width: 11px; height: 11px; background: var(--red); transform: rotate(45deg); }
.timeline h3 { font-size: 1.6rem; margin-bottom: 14px; }
.timeline p { color: var(--ink-2); }
.timeline figure { margin: 22px 0; max-width: 460px; }
.timeline figure img { filter: sepia(.2); border: 10px solid #fbf8f1; box-shadow: 0 14px 30px -20px rgba(30, 27, 22, .5); }
.timeline figcaption { font: italic 1rem var(--serif); color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) {
  .timeline > li { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .timeline .yr { position: static; }
  .timeline .txt { padding-left: 24px; }
}

/* Termine */
.cal { display: grid; gap: clamp(36px, 5vw, 56px); }
.cal h2 { font-size: 1.9rem; border-top: 1px solid var(--ink); padding-top: 16px; margin-bottom: 8px; }
.cal ul { list-style: none; margin: 0; padding: 0; }
.cal li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cal .d { font: 800 2rem/1 var(--serif); color: var(--loden); }
.cal .d small { display: block; font: 500 .85rem var(--sans); color: var(--muted); margin-top: 4px; }
.cal .e { font-weight: 700; font-size: 1.2rem; }
.cal .e span { display: block; font-weight: 400; color: var(--ink-2); font-size: 1rem; }
.cal .tag { font: 700 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); border: 1px solid currentColor; padding: 4px 8px; border-radius: 2px; text-decoration: none; white-space: nowrap; }
@media (max-width: 600px) { .cal li { grid-template-columns: 5rem minmax(0, 1fr); } .cal .tag { grid-column: 2; justify-self: start; } }

/* Tabellen (Wann leg i wos o) */
.table-wrap { overflow-x: auto; margin: 18px 0 40px; border-top: 1px solid var(--ink); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; min-width: 620px; }
th, td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 .76rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
td:first-child { font-weight: 700; color: var(--ink); }
td { color: var(--ink-2); }
td.x { color: var(--loden); font-weight: 800; }

/* Aktuelles-Seite */
.posts { display: grid; gap: clamp(64px, 9vw, 112px); }
.post { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.post > time { font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--ink); padding-top: 16px; align-self: start; position: sticky; top: 110px; }
.post h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 20px; }
.post h3 { font-size: 1.45rem; margin: 1.6em 0 .5em; }
.post p { color: var(--ink-2); }
.post .imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 26px 0; }
.post .imgs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.post figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 860px) { .post { grid-template-columns: minmax(0, 1fr); } .post > time { position: static; } }

.legal h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.legal p, .legal li { color: var(--ink-2); font-size: 1.05rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-head, .notice, .site-foot, .menu-btn { display: none; } body { background: #fff; } }

@media (max-width: 520px) {
  .brand small { font-size: .6rem; letter-spacing: .12em; }
  .brand img { width: 48px; }
  .notice { font-size: .82rem; }
}
