/* Froschperspektiven – öffentliche Seite. Schriften lokal (Barlow, Lora; SIL OFL). */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #f6f4ee;
  --paper-2: #efece3;
  --card: #fbfaf6;
  --ink: #1d211e;
  --ink-2: #4a514b;
  --muted: #6c716a;
  --rule: #d9d4c6;
  --rule-strong: #1d211e;
  --pond: #2e5a45;
  --pond-dark: #1f4232;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --narrow: 720px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--pond); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--pond); outline-offset: 3px; border-radius: 2px; }
::selection { background: #cfe0c9; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gap), var(--narrow)); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: var(--paper); padding: .5rem .9rem; z-index: 10; }
.skip:focus { top: 1rem; }
.label { font: 600 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.plain { list-style: none; margin: 0; padding: 0; }

/* ---------- Kopf ---------- */
.masthead { border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--paper) 92%, white); position: sticky; top: 0; z-index: 5; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font: 700 1.45rem/1 var(--sans); letter-spacing: -.01em; text-decoration: none; }
.wordmark-mark { width: 1.6rem; height: 1.6rem; background: url("../img/frosch.svg") center/contain no-repeat; }

.nav { position: relative; }
.nav summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .55rem; font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: .6rem .2rem; }
.nav summary::-webkit-details-marker { display: none; }
.nav-burger, .nav-burger::before, .nav-burger::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s; }
.nav-burger { position: relative; }
.nav-burger::before, .nav-burger::after { content: ""; position: absolute; left: 0; }
.nav-burger::before { top: -6px; } .nav-burger::after { top: 6px; }
.nav[open] .nav-burger { background: transparent; }
.nav[open] .nav-burger::before { transform: translateY(6px) rotate(45deg); }
.nav[open] .nav-burger::after { transform: translateY(-6px) rotate(-45deg); }
.nav nav { position: absolute; right: 0; top: calc(100% + .9rem); width: min(86vw, 320px); background: var(--card); border: 1px solid var(--rule); box-shadow: 0 18px 40px -20px rgba(20, 30, 20, .35); padding: 1rem 1.25rem 1.25rem; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a { display: block; padding: .55rem 0; font: 500 1.05rem/1.3 var(--sans); text-decoration: none; border-bottom: 1px solid var(--rule); }
.nav li a[aria-current] { color: var(--pond); }
.nav-search { margin-top: 1rem; }
.nav-search input, .search-inline input, .search-big input {
  width: 100%; font: inherit; color: inherit; background: var(--paper); border: 1px solid var(--rule); border-radius: 0; padding: .6rem .75rem;
}

.nav-desktop { display: none; }
@media (min-width: 980px) {
  .nav { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 1.6rem; }
  .nav-desktop ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.35rem; }
  .nav-desktop li a { display: block; padding: .3rem 0; font: 500 .98rem/1.3 var(--sans); text-decoration: none; color: var(--ink-2); }
  .nav-desktop li a:hover, .nav-desktop li a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--pond); }
  .nav-desktop .nav-search { margin: 0; width: 9.5rem; }
  .nav-desktop .nav-search input { padding: .4rem .6rem; font-size: .9rem; }
}

/* Kopfbild der Unterseiten (Frosch-Zeichnung), wie im bisherigen Theme rechts oben */
.inner-mark { position: relative; height: 0; }
.inner-mark img { position: absolute; right: 0; top: 1.75rem; width: auto; height: 150px; mix-blend-mode: multiply; }
@media (max-width: 1180px) {
  .inner-mark { height: auto; display: flex; justify-content: flex-end; padding-top: 1rem; }
  .inner-mark img { position: static; height: 96px; }
  .inner-mark + .article, .inner-mark + .listing, .inner-mark + .article.page { padding-top: .5rem; }
}

/* ---------- Startseite ---------- */
.hero { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.hero-figure { margin: 0 auto; max-width: 860px; }
.hero-figure img { width: 100%; mix-blend-mode: multiply; }
.hero-figure figcaption { text-align: center; font: italic .85rem/1.4 var(--serif); color: var(--muted); margin-top: .4rem; }
.hero-text { max-width: 700px; margin: clamp(1.5rem, 4vw, 2.5rem) auto 0; text-align: center; }
.hero-title { font: 400 italic clamp(1.9rem, 4.4vw, 3rem)/1.12 var(--serif); letter-spacing: -.01em; margin: 0 0 1.1rem; text-wrap: balance; }
.hero-motto { font: 500 .95rem/1.5 var(--sans); letter-spacing: .04em; color: var(--pond-dark); margin: 0 0 .7rem; }
.hero-intro { font: 1.08rem/1.65 var(--serif); color: var(--ink-2); margin: 0; }

.lead { padding: clamp(2rem, 5vw, 3.25rem) 0 .5rem; }
.lead-card { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
@media (min-width: 760px) { .lead-card { grid-template-columns: 5fr 7fr; } }
.lead-img { display: block; background: var(--paper-2); aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--rule); }
.lead-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s ease; }
.lead-card:hover .lead-img img { transform: scale(1.025); }
.lead-title { font: 600 clamp(1.6rem, 3.2vw, 2.35rem)/1.12 var(--sans); letter-spacing: -.015em; margin: .3rem 0 .8rem; }
.lead-title a { text-decoration: none; }
.lead-teaser { font: 1.06rem/1.65 var(--serif); color: var(--ink-2); margin: 0 0 1rem; }
.kicker { font: 600 .75rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.kicker a { color: var(--pond); text-decoration: none; }
.more { font: 600 .82rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--pond); padding-bottom: .2rem; }

.boxes { display: grid; gap: 0; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 860px) { .boxes { grid-template-columns: repeat(3, 1fr); } .box + .box { border-left: 1px solid var(--rule); } }
.box { padding: 1.5rem clamp(0rem, 2vw, 1.75rem) 1.75rem; border-top: 2px solid var(--rule-strong); display: flex; flex-direction: column; }
.box:first-child { padding-left: 0; } .box:last-child { padding-right: 0; }
@media (max-width: 859px) { .box { padding-inline: 0; } }
.box-title { font: 600 1.05rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.1rem; }
.box-title a { text-decoration: none; }
.box-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.box-list li + li { border-top: 1px solid var(--rule); }
.box-list a { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; align-items: center; padding: .8rem 0; text-decoration: none; }
.box-thumb { width: 64px; height: 64px; background: var(--paper-2); overflow: hidden; border: 1px solid var(--rule); }
.box-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .25s; }
.box-list a:hover img { filter: none; }
.box-text { display: flex; flex-direction: column; gap: .2rem; }
.box-post { font: 500 1rem/1.3 var(--sans); }
.box-list a:hover .box-post { color: var(--pond); }
.box-text time { font-size: .8rem; color: var(--muted); }
.box-empty { color: var(--muted); font-style: italic; }
.box-all { margin-top: auto; align-self: flex-start; font: 600 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--pond); }
.box-all::after { content: " →"; }

/* ---------- Listen ---------- */
.listing { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.page-head { border-bottom: 2px solid var(--rule-strong); padding-bottom: 1.5rem; margin-bottom: .5rem; }
.page-head h1 { font: 600 clamp(2rem, 4.5vw, 3rem)/1.1 var(--sans); letter-spacing: -.02em; margin: 0; }
.page-intro { font: 1.05rem/1.6 var(--serif); color: var(--ink-2); margin: .8rem 0 0; }
.item { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .item { grid-template-columns: 140px 1fr; gap: 1.75rem; } }
.item-img { display: block; aspect-ratio: 1; background: var(--paper-2); border: 1px solid var(--rule); overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.item-title { font: 600 clamp(1.2rem, 2.4vw, 1.5rem)/1.2 var(--sans); margin: .35rem 0 .5rem; letter-spacing: -.01em; }
.item-title a { text-decoration: none; }
.item-teaser { font: .98rem/1.6 var(--serif); color: var(--ink-2); margin: 0; }
.pager { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; font: 500 .95rem var(--sans); color: var(--muted); }
.empty { color: var(--muted); padding: 2rem 0; }
.search-big { display: flex; gap: .5rem; margin-top: 1.25rem; }
.search-big input { font-size: 1.1rem; padding: .75rem .9rem; background: var(--card); }
.search-big button, .search-inline button { font: 600 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); border: 0; padding: 0 1.1rem; cursor: pointer; }
.search-big button:hover, .search-inline button:hover { background: var(--pond); }

/* ---------- Artikel ---------- */
.article { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.article-head { margin-inline: auto; text-align: left; }
.article-title { font: 600 clamp(2rem, 5vw, 3.2rem)/1.08 var(--sans); letter-spacing: -.022em; margin: .7rem 0 .8rem; text-wrap: balance; }
.article-sub { font: italic 1.3rem/1.45 var(--serif); color: var(--ink-2); margin: 0 0 .8rem; }
.byline { font: 500 .95rem var(--sans); color: var(--muted); margin: 0; padding-bottom: 1.6rem; border-bottom: 1px solid var(--rule); }
.article-figure { margin: 2rem auto 0; max-width: 900px; }
.article-figure img { margin-inline: auto; max-height: 70vh; width: auto; mix-blend-mode: multiply; }
.article-figure figcaption { font: .85rem/1.5 var(--sans); color: var(--muted); text-align: center; margin-top: .5rem; }
.page .article-title { margin-top: 0; }
.page .article-head { border-bottom: 2px solid var(--rule-strong); padding-bottom: 1.2rem; }

.prose { margin-inline: auto; padding-top: 2rem; font: 400 1.16rem/1.75 var(--serif); color: #232823; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--sans); line-height: 1.2; letter-spacing: -.01em; margin: 2.1em 0 .6em; hyphens: manual; }
.prose h2 { font-size: 1.55rem; font-weight: 600; }
.prose h3 { font-size: 1.25rem; font-weight: 600; }
.prose h4 { font-size: 1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.prose a { color: var(--pond-dark); }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.4em; border-left: 3px solid var(--pond); font-style: italic; color: var(--ink-2); }
.prose blockquote cite { display: block; font: normal .85rem var(--sans); color: var(--muted); margin-top: .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img { margin: 1.6em auto; mix-blend-mode: multiply; }
.prose figure { margin: 1.8em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font: .85rem/1.5 var(--sans); color: var(--muted); text-align: center; margin-top: .55rem; }
.prose img.alignnone, .prose .alignnone img { margin-left: 0; }
.prose .alignleft { float: left; margin: .35em 1.5em 1em 0; max-width: 45%; }
.prose .alignright { float: right; margin: .35em 0 1em 1.5em; max-width: 45%; }
.prose .aligncenter, .prose .has-text-align-center { text-align: center; margin-inline: auto; }
.prose .has-text-align-right { text-align: right; }
.prose hr { border: 0; text-align: center; margin: 2.5em 0; }
.prose hr::before { content: "∗ ∗ ∗"; letter-spacing: .8em; color: var(--muted); }
.prose sup { font-size: .7em; line-height: 0; }
.prose sup a { text-decoration: none; font-family: var(--sans); font-weight: 600; }
.prose table { border-collapse: collapse; width: 100%; font: .95rem/1.5 var(--sans); }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: .5rem .6rem; text-align: left; vertical-align: top; }
.prose pre { background: var(--paper-2); padding: 1rem; overflow-x: auto; font-size: .9rem; }
.prose::after { content: ""; display: block; clear: both; }
@media (max-width: 600px) { .prose { font-size: 1.07rem; } .prose .alignleft, .prose .alignright { float: none; max-width: 100%; margin: 1.2em auto; } }

.yt { position: relative; aspect-ratio: 16 / 9; background: #1d211e url("../img/play.svg") center/72px no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .5rem; padding: 1.25rem; margin: 1.6em 0; color: #e9e6dd; }
.yt-btn { font: 600 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--paper); color: var(--ink); border: 0; padding: .7rem 1.1rem; cursor: pointer; }
.yt-hint { font: .78rem/1.4 var(--sans); text-align: center; opacity: .8; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.article-foot { margin-inline: auto; margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--rule-strong); }
.tags { font: .95rem var(--sans); color: var(--muted); margin: 0 0 1.75rem; }
.tags a { color: var(--pond); }
.taglist { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.taglist a { display: inline-block; font: 500 .82rem/1 var(--sans); padding: .45rem .6rem; border: 1px solid var(--rule); background: var(--card); text-decoration: none; color: var(--ink-2); }
.taglist a:hover { border-color: var(--pond); color: var(--pond); }
.prevnext { display: grid; gap: 1rem; }
@media (min-width: 640px) { .prevnext { grid-template-columns: 1fr 1fr; } .pn-prev { text-align: right; } }
.prevnext a { display: block; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--rule); text-decoration: none; font: 500 1.02rem/1.35 var(--sans); }
.prevnext a:hover { border-color: var(--pond); }
.prevnext .label { display: block; margin-bottom: .35rem; }

.preview-bar { background: #f1d98a; color: #3d3410; text-align: center; font: 600 .85rem var(--sans); padding: .55rem 1rem; }
.notfound .page-head { border: 0; }
.notfound p a.more { display: inline-block; margin-top: 1.5rem; }

/* ---------- Fuß ---------- */
.colophon { background: var(--ink); color: #d8d6cd; padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; font-size: .95rem; }
.colophon a { color: #f1efe7; text-decoration-color: rgba(241, 239, 231, .35); }
.colophon a:hover { color: #b9d6b0; }
.colophon .label { color: #9fa59c; }
.colophon-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .colophon-grid { grid-template-columns: 1fr 1fr 1.2fr; } }
.colophon li { padding: .2rem 0; }
.colophon .count { color: #8d938a; font-size: .8rem; margin-left: .2rem; }
.months { columns: 2; }
.search-inline { display: flex; gap: .4rem; margin-bottom: 1.2rem; }
.colophon .search-inline input { background: #2a2f2b; border-color: #414840; color: #f1efe7; }
.colophon .search-inline button { background: #f1efe7; color: var(--ink); }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.colophon-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; border-top: 1px solid #3a403b; margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: #9fa59c; }
.colophon-base a + a { margin-left: 1.1rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .masthead, .colophon, .prevnext, .yt { display: none; }
  body { background: #fff; }
  .prose { font-size: 11pt; }
}
