/* Preysinggarten – Gestaltung „Plaudertasse“ (Viertelzeitung), seit 24.11.2026.
   Schriften liegen selbst gehostet unter /schriften/ (OFL, Lizenzen daneben); @font-face steht in schriften.css. */
@import url(/assets/schriften.css);

:root {
  --papier: #F6F3EC;
  --papier-tief: #EDE8DC;
  --tinte: #161616;
  --text: #24211E;
  --grau: #5C5750;
  --linie: #CFC8BA;
  --rot: #B3261E;
  --rot-hell: #F0A49E;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --titel: "Playfair Display", Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --breite: 1240px;
  --rand: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(18px, 1.05rem + .25vw, 20px);
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tinte); text-decoration-color: var(--rot); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rot); }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }
::selection { background: #F3D9D6; }

/* Sprache: Deutsch ist voreingestellt, Englisch per Umschalter (assets/seite.js) */
html[data-sprache="de"] body [lang="en"] { display: none !important; }
html[data-sprache="en"] body [lang="de"] { display: none !important; }

.sprungmarke { position: absolute; left: -9999px; top: 0; background: var(--tinte); color: var(--papier); padding: 12px 16px; z-index: 10; }
.sprungmarke:focus { left: 16px; top: 16px; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

/* ---------- Kopfzeile ---------- */
.dachzeile {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px;
  padding: 6px 0;
  font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grau);
}
.dachzeile a { color: var(--grau); text-decoration: none; }
.dachzeile a:hover { color: var(--rot); }
.dachzeile-rechts { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.sprachwahl { display: flex; }
.sprachwahl button {
  font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer;
  border: 0; background: transparent; color: var(--grau);
  min-height: 44px; padding: 10px 10px;
}
.sprachwahl button[aria-pressed="true"] {
  color: var(--tinte); text-decoration: underline; text-decoration-color: var(--rot);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.sprachwahl button:hover { color: var(--rot); }

.zeitungskopf { border-top: 4px solid var(--tinte); border-bottom: 1px solid var(--tinte); padding: 28px 0 22px; text-align: center; }
.zeitungskopf .name {
  margin: 0; font-family: var(--titel); font-weight: 900;
  font-size: clamp(46px, 10vw, 128px); line-height: .95; letter-spacing: -.02em; color: var(--tinte);
}
.zeitungskopf .name a { color: inherit; text-decoration: none; }
.zeitungskopf .motto {
  margin: 14px auto 0; max-width: 46em;
  font-family: var(--titel); font-style: italic; font-weight: 700; font-size: clamp(17px, 1.9vw, 23px); line-height: 1.35;
}
.zeitungskopf .unterzeile { margin: 10px auto 0; max-width: 46em; font-size: 17px; color: var(--grau); }
.zeitungskopf .hinweis {
  display: inline-block; margin: 14px 0 0; padding: 4px 12px; border: 1px solid var(--linie);
  font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grau);
}
.zeitungskopf.klein { padding: 18px 0 14px; }
.zeitungskopf.klein .name { font-size: clamp(40px, 7vw, 72px); }

.rubriken {
  border-bottom: 3px double var(--tinte);
  display: flex; justify-content: center; gap: 0 28px;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.rubriken::-webkit-scrollbar { display: none; }
.rubriken a { text-decoration: none; padding: 12px 0; display: inline-block; }
@media (max-width: 760px) { .rubriken { justify-content: flex-start; gap: 0 20px; } }

/* ---------- Blatt: Text + Seitenleiste ---------- */
.blatt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 48px 0 24px; }
@media (min-width: 1040px) {
  .blatt { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
  .leiste { border-left: 1px solid var(--linie); padding-left: 32px; }
}
@media (min-width: 1040px) and (min-height: 780px) {
  .leiste-innen { position: sticky; top: 24px; }
}

.spitzmarke {
  margin: 0 0 10px; font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rot);
}
.kapitel h2 {
  margin: 0; font-family: var(--titel); font-weight: 900; color: var(--tinte);
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.01em;
  text-wrap: balance;
}
.vorspann { margin: 18px 0 28px; font-size: clamp(20px, 1.2rem + .4vw, 24px); line-height: 1.45; font-style: italic; color: #3A3632; max-width: 36em; }
.kapitel + .kapitel { margin-top: 72px; padding-top: 48px; border-top: 3px double var(--tinte); }

.text { max-width: 36em; }
.text p { margin: 0 0 1em; hyphens: auto; -webkit-hyphens: auto; }
.text.initiale > p:first-child::first-letter {
  font-family: var(--titel); font-weight: 900; float: left;
  font-size: 4.1em; line-height: .82; padding: 6px 10px 0 0; color: var(--tinte);
}
.text em { font-style: italic; }
.text strong { font-weight: 600; }
.absatz-hervor { font-family: var(--titel); font-weight: 700; font-size: 1.25em; color: var(--tinte); }

.zitat {
  margin: 32px 0; padding: 18px 0; border-top: 1px solid var(--tinte); border-bottom: 1px solid var(--tinte); max-width: 36em;
}
.zitat p { margin: 0; font-family: var(--titel); font-style: italic; font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; color: var(--tinte); }
.zitat.rot p { color: var(--rot); }
.ausruf { font-family: var(--titel); font-weight: 900; letter-spacing: .02em; font-size: 1.15em; color: var(--rot); overflow-wrap: anywhere; }

/* Bilder */
figure { margin: 0; }
figcaption {
  padding: 8px 0; border-bottom: 1px solid var(--linie);
  font-family: var(--sans); font-size: 13px; line-height: 1.45; color: var(--grau);
}
.aufmacher { margin: 0 0 32px; }
.aufmacher img { width: 100%; aspect-ratio: 1500 / 709; object-fit: cover; }
.bildpaar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0 32px; max-width: 46em; }
@media (max-width: 560px) { .bildpaar { grid-template-columns: minmax(0, 1fr); } }
.bildpaar img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.bild-breit { margin: 28px 0 32px; max-width: 46em; }
.bild-breit img { width: 100%; }
.bild-rechts { margin: 6px 0 24px; }
.bild-rechts img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 700px) {
  .bild-rechts { float: right; width: min(42%, 320px); margin: 8px 0 20px 28px; }
}
.kapitel::after { content: ""; display: block; clear: both; }

.weiter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--rot); text-decoration: none;
}
.weiter:hover { text-decoration: underline; }

/* Seitenleiste */
.leiste h2 {
  margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--tinte);
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tinte);
}
.inhalt { list-style: none; margin: 0 0 36px; padding: 0; }
.inhalt li { border-bottom: 1px solid var(--linie); }
.inhalt a { display: flex; gap: 14px; padding: 12px 0; text-decoration: none; }
.inhalt .nr { font-family: var(--titel); font-weight: 900; font-size: 24px; line-height: 1.05; color: var(--rot); min-width: 34px; }
.inhalt .titel { display: block; font-family: var(--titel); font-weight: 700; font-size: 19px; line-height: 1.2; }
.inhalt .unter { display: block; font-size: 15px; line-height: 1.4; color: var(--grau); }
.inhalt a:hover .titel { color: var(--rot); }

.kasten { background: var(--tinte); color: var(--papier); padding: 26px; margin-bottom: 28px; }
.kasten .marke { margin: 0 0 10px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rot-hell); }
.kasten .spruch { margin: 0; font-family: var(--titel); font-style: italic; font-weight: 700; font-size: 27px; line-height: 1.18; }
.kasten .wer { margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: var(--linie); }
.kasten a { color: var(--papier); }

.instagram {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; text-decoration: none;
}
.instagram svg { flex: none; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 40em; margin: 0 auto; padding: 48px 0 24px; }
.rechtstext h1 { margin: 0 0 24px; font-family: var(--titel); font-weight: 900; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; color: var(--tinte); }
.rechtstext h2 { margin: 36px 0 8px; font-family: var(--titel); font-weight: 700; font-size: 24px; line-height: 1.2; color: var(--tinte); }
.rechtstext p, .rechtstext ul { margin: 0 0 1em; }
.rechtstext ul { padding-left: 1.2em; }
.rechtstext address { font-style: normal; margin: 0 0 1em; }
.zurueck { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rot); text-decoration: none; }

/* ---------- Fehlerseite ---------- */
.fehler { text-align: center; padding: 72px 0 96px; }
.fehler p { margin: 0 0 .5em; font-size: 22px; }

/* ---------- Fuß ---------- */
.fuss {
  border-top: 4px solid var(--tinte); margin-top: 56px; padding: 18px 0 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--grau);
}
.fuss nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.fuss a { color: var(--grau); display: inline-block; padding: 10px 0; }
.fuss a:hover { color: var(--rot); }
.fuss p { margin: 10px 0 0; }

@media print {
  .dachzeile, .rubriken, .leiste, .weiter { display: none !important; }
  body { background: #fff; font-size: 11pt; }
}
