/* ==========================================================================
   Wogeno Mogelsberg – Stylesheet
   Leicht, luftig, organisch: Papier, dünne Tuschelinien, weiche Formen.
   Farben & Schriften stehen hier oben als Variablen.
   ========================================================================== */
:root {
  --paper: #f3ecdd;          /* Papier */
  --paper-2: #ebe2cf;
  --sage: #d8dcc3;           /* Farbfelder: Salbei, Rosé, Ocker */
  --blush: #e7d5c8;
  --ochre: #e9dbb6;
  --ink: #33312b;            /* Tusche */
  --ink-2: #57544b;
  --muted: #86817a;
  --line: rgba(51, 49, 43, .45);
  --line-soft: rgba(51, 49, 43, .16);
  --forest: #3f6b48;         /* Links */
  --clay: #b8623a;           /* kleiner Akzent (Stern, Anmerkungen) */
  --gold: #d1a04a;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1120px;
  --grain-blend: multiply; --grain-opacity: .07;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1f1c18; --paper-2: #29251f;
    --sage: #2d3329; --blush: #3a2f2b; --ochre: #3a3326;
    --ink: #efe7d6; --ink-2: #cfc6b3; --muted: #9d968a;
    --line: rgba(239, 231, 214, .5); --line-soft: rgba(239, 231, 214, .16);
    --forest: #a9cf82; --clay: #e29a72; --gold: #e0b465;
    --grain-blend: overlay; --grain-opacity: .06;
  }
}

/* ---- Basis --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: var(--grain-opacity); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, var(--forest) 50%, transparent); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 350; line-height: 1.15; letter-spacing: -.005em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 450; }
h1 em, h2 em, .hero h1 em { font-style: italic; font-weight: 300; color: var(--forest); }
p, ul, ol, blockquote, figure, table { margin: 0 0 1.15em; }
hr { border: 0; height: 18px; margin: 3rem 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='18' viewBox='0 0 160 18'%3E%3Cpath d='M0 6 C20 1 30 11 50 6 S80 1 100 6 S130 11 160 6' fill='none' stroke='%2386817a' stroke-width='1'/%3E%3Cpath d='M0 13 C20 8 30 18 50 13 S80 8 100 13 S130 18 160 13' fill='none' stroke='%2386817a' stroke-width='1' opacity='.7'/%3E%3C/svg%3E") no-repeat left center; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .92em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ochre); color: #33312b; padding: .6rem 1rem; z-index: 1001; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* Anmerkung (kleine kursive Zeile über Titeln) */
.eyebrow { font-family: var(--serif); font-style: italic; font-weight: 350; font-size: 1.1rem; color: var(--clay); margin: 0 0 .5rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.dot { opacity: .5; padding: 0 .15em; }
.lead { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 300; line-height: 1.5; color: var(--ink-2); max-width: 50ch; }
.quiet { color: var(--muted); }
.meta { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---- Ruhige Knöpfe: umkringelte Worte ----------------------------------- */
.button, .cta a, .hero-cta a, .more {
  display: inline-block; padding: .45rem 1.2rem .5rem; font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.2;
  color: var(--ink); text-decoration: none; border: 1.5px solid var(--line);
  border-radius: 48% 52% 45% 55% / 60% 45% 55% 40%; transition: border-color .2s, background .2s, transform .2s;
}
.button:hover, .cta a:hover, .hero-cta a:hover, .more:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ochre) 60%, transparent); transform: rotate(-1deg); }
.button.ghost { border-style: dashed; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin: 1.4rem 0 2rem; }
.cta p { margin: 0; display: contents; }

/* ---- Organische Bildformen ---------------------------------------------- */
.blob, .card-img, .hero-photo img, .page-hero img, .gallery img, .prose figure img, .prose-wide figure img, .news-cover img {
  border-radius: 30% 22% 34% 20% / 24% 34% 22% 30%; object-fit: cover;
}
.gallery figure:nth-child(3n+2) img, .card:nth-child(3n+2) .card-img { border-radius: 22% 32% 20% 30% / 32% 22% 34% 24%; }
.gallery figure:nth-child(3n) img, .card:nth-child(3n) .card-img { border-radius: 26% 26% 20% 34% / 20% 30% 24% 32%; }
.page-hero img, .news-cover img { border-radius: 18% 30% 22% 26% / 30% 20% 32% 22%; }
.hero-photo img { border-radius: 34% 26% 40% 24% / 28% 38% 24% 36%; }
figure { position: relative; }
figcaption { font-family: var(--serif); font-style: italic; font-size: .98rem; color: var(--muted); margin-top: .7rem; text-align: center; }
figcaption:empty { display: none; }

/* Torn-edge Farbfelder */
.field { position: relative; padding: 2.5rem clamp(1.4rem, 4vw, 3.5rem); margin: 3rem 0; background: var(--sage);
  clip-path: polygon(0 1.5%, 2% 0, 18% .6%, 38% 0, 60% 1%, 82% .3%, 98% 0, 100% 2%, 99.6% 28%, 100% 62%, 99.4% 98%, 97.5% 100%, 72% 99.2%, 46% 100%, 22% 99.3%, 2.5% 100%, 0 98%, .5% 64%, 0 30%); }
.field.blush { background: var(--blush); }
.field.ochre { background: var(--ochre); }
.field > :last-child { margin-bottom: 0; }

/* ---- Kopf ---------------------------------------------------------------- */
.site-header { background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.5rem; }
.brand img { width: auto; height: 2.7rem; }
@media (prefers-color-scheme: dark) { .brand img { filter: drop-shadow(0 0 1px rgba(255,255,255,.5)); } }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; align-items: center; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: .4rem 0; color: var(--ink-2); text-decoration: none; font-family: var(--serif); font-weight: 400; font-size: 1rem; position: relative; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); }
.site-nav a.active::after { content: ""; position: absolute; left: -.4rem; right: -.4rem; top: 0; bottom: 0; border: 1.3px solid var(--line); border-radius: 48% 52% 45% 55% / 60% 45% 55% 40%; transform: rotate(-1.5deg); pointer-events: none; }
.site-nav .sub-toggle { position: absolute; right: -1.2rem; top: 50%; translate: 0 -50%; width: 1.2rem; height: 1.4rem; border: 0; background: none; cursor: pointer; color: var(--muted); display: none; }
.site-nav .sub-toggle::before { content: "▾"; }
.site-nav .sub { position: absolute; left: -.6rem; top: calc(100% + .2rem); min-width: 12rem; background: var(--paper); border: 1px solid var(--line-soft); padding: .6rem 1rem; display: none; flex-direction: column; gap: .05rem; z-index: 5; }
.site-nav .sub a { font-family: var(--sans); font-size: .95rem; padding: .3rem 0; }
.site-nav .sub a.active::after { display: none; }
.site-nav .sub a.active { text-decoration: underline; text-decoration-color: var(--clay); }
.site-nav li:hover > .sub, .site-nav li:focus-within > .sub, .site-nav li.open > .sub { display: flex; }
.menu-toggle { display: none; align-items: center; gap: .6rem; background: none; border: 1.3px solid var(--line); color: var(--ink); border-radius: 48% 52% 45% 55% / 60% 45% 55% 40%; padding: .35rem .95rem .4rem; font: italic 1rem var(--serif); cursor: pointer; }
.menu-icon { display: inline-flex; flex-direction: column; gap: 4px; width: 16px; }
.menu-icon i { display: block; height: 1.5px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-open .menu-icon i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .menu-icon i:nth-child(2) { opacity: 0; }
.nav-open .menu-icon i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 920px) {
  .site-header { position: relative; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line-soft); padding: .4rem 1.25rem 1.4rem; z-index: 40; }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: .7rem 0; font-size: 1.2rem; border-bottom: 1px solid var(--line-soft); }
  .site-nav a.active::after { display: none; }
  .site-nav a.active { text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: .3em; }
  .site-nav .sub-toggle { display: block; right: .2rem; width: 2.6rem; height: 2.6rem; font-size: 1.4rem; }
  .site-nav .sub { position: static; display: none; border: 0; padding: .2rem 0 .6rem 1.2rem; }
  .site-nav .sub a { font-size: 1.05rem; border: 0; }
  .site-nav li:hover > .sub, .site-nav li:focus-within > .sub { display: none; }
  .site-nav li.open > .sub { display: flex; }
}

/* ---- Der Faden (dünne Linie, die die Seite hinunterläuft) ---------------- */
main { position: relative; }
.thread { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; color: var(--line); opacity: .7; }
.thread path { stroke: currentColor; fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
@media (max-width: 700px) { .thread { display: none; } }
.sketch { color: var(--ink-2); fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.sketch path, .sketch circle, .sketch line { vector-effect: non-scaling-stroke; }

/* ---- Hero (Startseite) --------------------------------------------------- */
.hero { position: relative; padding: 3rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } .hero { padding: 1.5rem 0 3rem; } }
.hero-content { position: relative; padding-top: 9rem; }
@media (max-width: 860px) { .hero-content { padding-top: 8rem; } }
.hero-sun { position: absolute; left: -.5rem; top: 0; width: 110px; color: var(--ink-2); }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 15ch; margin-bottom: .5em; }
.hero-text { font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 46ch; color: var(--ink-2); margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem 1rem; }
.hero-photo { margin: 0; position: relative; justify-self: end; width: 100%; max-width: 540px; }
@media (max-width: 860px) { .hero-photo { justify-self: stretch; max-width: none; } }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; }
.hero-photo::before { content: ""; position: absolute; inset: -.9rem -.9rem 2.4rem -.7rem; border: 1.2px solid var(--line); border-radius: 34% 26% 40% 24% / 28% 38% 24% 36%; transform: rotate(-2.5deg); pointer-events: none; }
.hero-photo figcaption { text-align: right; padding-right: .5rem; }
.hero-scene { width: min(440px, 100%); margin-top: 3rem; color: var(--ink-2); opacity: .85; }

/* ---- Startseite ---------------------------------------------------------- */
.home-content > h2 { margin-top: 4rem; max-width: 26ch; }
.home-content > h2:first-child { margin-top: 1.5rem; }
.home-content > p { max-width: 64ch; font-size: 1.05rem; }
.home-content > h2 + p { font-family: var(--serif); font-weight: 300; font-size: 1.35rem; line-height: 1.45; color: var(--ink-2); }

/* Steckbrief */
.steckbrief { margin: 2.5rem 0 0; padding: 2rem clamp(1.4rem, 4vw, 3rem); background: var(--sage); max-width: 64rem;
  clip-path: polygon(0 1.5%, 2% 0, 18% .6%, 38% 0, 60% 1%, 82% .3%, 98% 0, 100% 2%, 99.6% 28%, 100% 62%, 99.4% 98%, 97.5% 100%, 72% 99.2%, 46% 100%, 22% 99.3%, 2.5% 100%, 0 98%, .5% 64%, 0 30%);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: .6rem 3rem; }
.steckbrief div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem; align-items: baseline; padding: .45rem 0; border-bottom: 1px dotted var(--line); }
.steckbrief dt { font-family: var(--serif); font-style: italic; color: var(--ink-2); }
.steckbrief dd { margin: 0; font-size: .96rem; }

/* News-Liste (Startseite und Archiv) */
.home-news { margin: 4rem 0 1rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.section-head h2 { margin: 0; }
.section-head .eyebrow { margin-bottom: .3rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 2.4rem 2.2rem; margin: 1.5rem 0 2.5rem; }
.card { position: relative; display: flex; flex-direction: column; }
.card-img { width: 100%; aspect-ratio: 4 / 3; background: var(--paper-2); transition: transform .3s ease; }
.card-link:hover .card-img { transform: rotate(-1.5deg) scale(1.01); }
.card-img-empty { position: relative; background: var(--ochre); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 112'%3E%3Cpath d='M50 5 L39 28 L45 27 L31 52 L39 50 L22 78 L46 73 L47 106 L54 106 L54 73 L79 78 L61 50 L69 52 L56 27 L62 28 Z M47 92 l-7 -5 M54 86 l6 -4' fill='none' stroke='%2357544b' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: auto 45%; }
.card-body { padding: 1rem .2rem 0; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.card h3 { font-size: 1.3rem; margin: 0 0 .2rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; }
.card-link:hover h3 a { text-decoration: underline; text-decoration-color: var(--line); }
.card p { margin: 0 0 .4rem; color: var(--ink-2); font-size: .96rem; }
.card p:last-child { margin-bottom: 0; }
.card .meta { margin-bottom: .2rem; }
.card ul { padding-left: 1.1rem; margin: .2rem 0 .4rem; }
.card .cta { margin: .6rem 0 0; }
/* Notizen (Startseite: Komm vorbei) – weiche Farbfelder */
.cards.notizen { gap: 1.8rem; }
.cards.notizen .card { padding: 1.8rem 1.6rem 1.6rem; background: var(--ochre);
  clip-path: polygon(0 2%, 3% 0, 25% 1%, 50% 0, 75% 1.2%, 97% 0, 100% 2.5%, 99.4% 40%, 100% 70%, 99.2% 98%, 96% 100%, 70% 99%, 45% 100%, 20% 99%, 3% 100%, 0 97%, .7% 60%, 0 30%); }
.cards.notizen .card:nth-child(3n+2) { background: var(--sage); }
.cards.notizen .card:nth-child(3n) { background: var(--blush); }
.cards.notizen .card-body { padding: 0; }
.cards.notizen h3 { font-style: italic; font-weight: 350; font-size: 1.5rem; }
/* schlichte Textspalten */
.cards.plain { gap: 1.6rem 2.5rem; }
.cards.plain .card { padding-top: .9rem; border-top: 1px solid var(--line); }
.cards.plain .card-body { padding: 0; }
.cards.plain h3 { font-size: 1.2rem; }
.cards.plain h3 a { text-decoration: underline; text-decoration-color: var(--line-soft); }
/* Rundgang – Liste mit kleinen Bildern */
.cards.rundgang { display: block; margin: 1.5rem 0 2.5rem; max-width: 60rem; }
.cards.rundgang .card { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.6rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px dotted var(--line); }
.cards.rundgang .card-img { width: 6.5rem; height: 6.5rem; aspect-ratio: 1; border-radius: 46% 54% 50% 50% / 52% 44% 56% 48%; }
.cards.rundgang .card-body { padding: 0; }
.cards.rundgang h3 { font-size: 1.45rem; margin: 0 0 .15rem; font-weight: 350; }
.cards.rundgang .card p { font-size: .98rem; }
@media (max-width: 520px) { .cards.rundgang .card { grid-template-columns: 4.5rem 1fr; gap: 1rem; } .cards.rundgang .card-img { width: 4.5rem; height: 4.5rem; } }

/* ---- Seiten -------------------------------------------------------------- */
.page-header { padding: 3rem 0 1rem; max-width: 62rem; }
.page-header h1 { margin-bottom: .5rem; }
.page-hero { margin: 1.5rem 0 2.5rem; max-width: 58rem; }
.page-hero img { width: 100%; aspect-ratio: 2 / 1; }
.subnav { margin: .5rem 0 2.5rem; font-family: var(--serif); font-style: italic; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 0; }
.subnav li + li::before { content: "·"; color: var(--muted); padding: 0 .75rem; }
.subnav a { color: var(--ink-2); text-decoration: none; }
.subnav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-soft); }
.subnav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: .3em; }
.prose { max-width: 68ch; padding-bottom: 4rem; }
.prose-wide { max-width: none; padding-bottom: 4rem; }
.prose h2, .prose-wide h2 { margin-top: 2.6em; }
.prose h3, .prose-wide h3 { margin-top: 1.8em; }
.prose > p:first-child { font-size: 1.08rem; }
.prose figure, .prose-wide figure { margin: 2.2rem 0; }
.prose figure img, .prose-wide figure img { width: 100%; }
.prose .cards, .prose-wide .cards { margin-top: 1.4rem; }
.prose .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
blockquote { border-left: 1.5px solid var(--line); padding: .2rem 0 .2rem 1.2rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 300; color: var(--ink-2); }
.note { position: relative; background: var(--ochre); padding: 1.5rem 1.7rem; margin: 2rem 0;
  clip-path: polygon(0 2%, 3% 0, 25% 1%, 50% 0, 75% 1.2%, 97% 0, 100% 2.5%, 99.4% 40%, 100% 70%, 99.2% 98%, 96% 100%, 70% 99%, 45% 100%, 20% 99%, 3% 100%, 0 97%, .7% 60%, 0 30%); }
.note.green { background: var(--sage); }
.note.clay { background: var(--blush); }
.note > :last-child { margin-bottom: 0; }
.note h3 { margin-top: 0; }
.files { list-style: none; padding: 0; margin: 1rem 0 1.5rem; max-width: 40rem; }
.files li { border-bottom: 1px dotted var(--line); }
.files li a { display: flex; align-items: center; gap: .9rem; padding: .6rem .2rem; text-decoration: none; color: var(--ink); }
.files li a:hover { text-decoration: underline; text-decoration-color: var(--line-soft); }
.files li a::before { content: "pdf"; font-family: var(--serif); font-style: italic; font-size: .85rem; color: var(--muted); border: 1.2px solid var(--line); padding: .05rem .5rem .1rem; border-radius: 48% 52% 45% 55% / 60% 45% 55% 40%; flex: none; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2rem 3rem; }
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; margin: 0; }
th, td { text-align: left; padding: .5rem .8rem; border-bottom: 1px dotted var(--line); white-space: nowrap; }
th { font-weight: 700; border-bottom: 1px solid var(--line); }

/* ---- Galerie ------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 2rem 1.8rem; margin: 2rem 0 3rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; transition: transform .3s ease; }
.gallery a:hover img { transform: rotate(-1.5deg) scale(1.02); }
.gallery.large { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.gallery.large img { aspect-ratio: 3 / 2; }
.zoom { cursor: zoom-in; display: block; }

/* ---- News ---------------------------------------------------------------- */
.yearnav { margin: 0 0 1.5rem; }
.yearnav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; font-family: var(--serif); font-style: italic; }
.yearnav a { color: var(--ink-2); text-decoration-color: var(--line-soft); }
.year-block { scroll-margin-top: 2rem; }
.year { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ink-2); margin: 3.5rem 0 .5rem; display: flex; align-items: center; gap: 1.2rem; }
.year::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.news-item .page-header { padding-bottom: .5rem; }
.news-cover { max-width: 56rem; margin: 1.5rem 0 2.5rem !important; }
.news-cover img { max-height: 620px; }
.pager { display: flex; justify-content: space-between; gap: 1.5rem; margin: 3rem 0 4rem; font-family: var(--serif); flex-wrap: wrap; }
.pager a { color: var(--ink); text-decoration: none; max-width: 45%; }
.pager a span { display: block; font-style: italic; font-size: .95rem; color: var(--muted); margin-bottom: .1rem; }
.pager a:hover { text-decoration: underline; text-decoration-color: var(--line-soft); }
.pager .next { text-align: right; margin-left: auto; }
.pager .prev span::before { content: "← "; }
.pager .next span::after { content: " →"; }

.sketch-row { width: min(520px, 100%); margin: 2.5rem 0 2rem; opacity: .85; }

/* ---- Lightbox ------------------------------------------------------------ */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(35, 32, 26, .94); display: grid; place-items: center; padding: 3rem 1rem; }
.lightbox img { max-width: min(96vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(243,236,221,.1); color: #f3ecdd; border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(243,236,221,.25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-caption { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; text-align: center; color: rgba(243,236,221,.9); margin: 0; font-family: var(--serif); font-style: italic; }
.lightbox-open { overflow: hidden; }

/* ---- Fuss ---------------------------------------------------------------- */
.site-footer { position: relative; margin-top: 5rem; color: var(--ink-2); }
.footer-firs { display: block; width: 100%; height: clamp(50px, 8vw, 120px); margin-bottom: -2px; color: var(--ink-2); opacity: .75; }
.footer-body { padding: 2.5rem 0 2rem; position: relative; background: var(--sage);
  clip-path: polygon(0 1.5%, 4% .5%, 20% 1.2%, 40% 0, 60% 1%, 80% .3%, 97% .8%, 100% 1.5%, 100% 100%, 0 100%); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 1rem 0 2.5rem; position: relative; max-width: 46rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h2 { font-size: 1.1rem; font-style: italic; margin-bottom: .6rem; }
.site-footer p { font-size: .95rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.footer-links li { margin-bottom: .35rem; }
.footer-links a, .footer-contact a { color: var(--ink); text-decoration-color: var(--line-soft); }
.signoff { font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-weight: 300; color: var(--ink); margin: 1.2rem 0 0; }
.footer-bottom { border-top: 1px dotted var(--line); padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; font-size: .85rem; position: relative; }
.footer-bottom p { margin: 0; }

/* ---- Druck --------------------------------------------------------------- */
@media print {
  body::before, .site-header, .site-footer, .hero-sun, .thread, .lightbox, .pager, .subnav, .yearnav { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a { color: #000; }
  img { border-radius: 0 !important; }
}
