@font-face{font-family:'Caslon Web';font-weight:700;font-style:normal;font-display:swap;src:url(schrift/caslon-700.woff) format('woff')}
@font-face{font-family:'DejaVu Web';font-weight:400;font-style:normal;font-display:swap;src:url(schrift/dejavu-400.woff) format('woff')}
@font-face{font-family:'DejaVu Web';font-weight:700;font-style:normal;font-display:swap;src:url(schrift/dejavu-700.woff) format('woff')}
@font-face{font-family:'DejaVu Web';font-weight:400;font-style:italic;font-display:swap;src:url(schrift/dejavu-400i.woff) format('woff')}
/* Pirsch & Petri, Website zur Petri-Challenge. Farben und Aufbau wie App und Buch:
   Petrol mit Messing-Rahmen, Fischtafel immer Pergament, eine Spalte wie eine Buchseite. */
:root {
  --petrol: #1d4a4f; --messing: #b08b4f; --messing-text: #7d5f2c;
  --pergament: #f3ecdb; --pergament-2: #e9dfc6;
  --grund: #faf6ec; --flaeche: #fffdf8; --tinte: #17201e; --leise: #55605b;
  --linie: #d8cfb9; --linie-2: #bfb49a; --titel: #1f4032; --warn: #7a5a1f;
  --auf-petrol: #f3ecdb; --auf-petrol-leise: #bcd0cb;
  --schrift: 'DejaVu Web', 'DejaVu Sans', Verdana, system-ui, sans-serif;
  --anzeige: 'Caslon Web', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grund: #0f2729; --flaeche: #15353a; --tinte: #f0ead9; --leise: #a9bcb6;
    --linie: #2d5155; --linie-2: #41686b; --titel: #f3ecdb; --messing-text: #d7b477; --warn: #e3c88f;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--tinte); font: 400 16px/1.6 var(--schrift); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--messing-text); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--messing); outline-offset: 2px; }
.klein { font-size: 13.5px; }
.leise { color: var(--leise); }

.rahmen { max-width: 760px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
main.rahmen { padding-block: 24px 40px; display: grid; gap: 30px; }
main.rahmen > *, article > * { min-width: 0; }
article { display: grid; gap: 24px; }

/* Kopf und Fuß */
.kopf { background: var(--petrol); border-bottom: 1px solid var(--messing); color: var(--auf-petrol); }
.kopf-innen { max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; min-height: 58px; padding-block: 8px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.marke { font: 700 20px/1.2 var(--anzeige); color: var(--auf-petrol); text-decoration: none; }
.kopf nav { display: flex; align-items: center; gap: 14px; }
.kopf nav a:not(.knopf) { color: var(--auf-petrol); font-size: 14px; }
.fuss { border-top: 1px solid var(--messing); padding-block: 20px; font-size: 13.5px; color: var(--leise); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 6px; }
.fuss a { color: var(--leise); }

/* Bühne wie Cover */
.buehne { background: var(--petrol); color: var(--auf-petrol); padding: 14px max(14px, env(safe-area-inset-left, 0px)); }
.buehne-rahmen { max-width: 760px; margin: 0 auto; border: 1px solid var(--messing); padding: 28px 18px 24px; display: grid; justify-items: center; gap: 18px; text-align: center; overflow: hidden; }
.buehne-text { display: grid; gap: 10px; justify-items: center; }
.buehne-marke { font-size: 12px; letter-spacing: .24em; color: var(--auf-petrol-leise); }
.buehne h1 { font: 700 clamp(34px, 10vw, 46px)/1.1 var(--anzeige); text-wrap: balance; }
.frage { font-size: 17px; font-weight: 700; }
.leise-hell { color: var(--auf-petrol-leise); }
.cover-med { position: relative; width: min(56vw, 230px); aspect-ratio: 1; flex: none; }
.cover-med::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pergament); border: 3px solid var(--messing); }
.cover-med img { position: absolute; max-width: none; left: 50%; transform: translateX(-50%); }
.cover-med .f1 { width: 62%; top: 9%; }
.cover-med .f2 { width: 128%; top: 33%; }
.cover-med .f3 { width: 104%; top: 57%; }
@media (min-width: 720px) {
  .buehne-rahmen { grid-template-columns: auto 1fr; align-items: center; padding: 36px 44px; gap: 54px; text-align: left; }
  .buehne-text { justify-items: start; }
}

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid var(--linie-2); background: var(--flaeche); color: var(--tinte); border-radius: 8px; font-weight: 700; font-size: 15px; text-align: center; text-decoration: none; }
.knopf.haupt, .kopf .knopf { background: var(--messing); border-color: var(--messing); color: #1b1408; }
.kopf .knopf { min-height: 38px; padding: 6px 12px; font-size: 13.5px; }

/* Abschnitte */
.abschnitt { display: grid; gap: 12px; justify-items: stretch; }
.abschnitt > .knopf { justify-self: start; }
.abschnitt h2, .buch-karte h2 + p { min-width: 0; }
.abschnitt h2, .recht h2 { font-size: 16px; color: var(--titel); border-bottom: 1px solid var(--messing); padding-bottom: 4px; }
.seitentitel, .artkopf h1, .recht h1 { font: 700 clamp(30px, 8.5vw, 40px)/1.12 var(--anzeige); color: var(--titel); overflow-wrap: anywhere; }
.einleitung { color: var(--leise); margin-top: -18px; }
.schritte { padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: schritt; }
.schritte h3 { font-size: 16px; color: var(--titel); }
.punkte { padding-left: 20px; display: grid; gap: 6px; }
.verweise { list-style: none; padding: 0; display: grid; gap: 6px; }
.verweise.spalten { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 14px; font-size: 14.5px; }
.pfad { font-size: 13.5px; color: var(--leise); }

/* Album */
.album { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kachel { display: grid; gap: 3px; text-decoration: none; color: inherit; min-width: 0; }
.platte { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--pergament); border: 1.5px solid var(--messing); border-radius: 8px; overflow: hidden; }
.platte img { position: absolute; inset: 8% 6%; width: 88%; height: 84%; object-fit: contain; }
.kachel-nr { font-size: 11px; color: var(--leise); }
.kachel-name { font-size: 12px; line-height: 1.25; font-weight: 700; overflow-wrap: anywhere; }
@media (min-width: 640px) { .album { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Artenseite wie Buchkarte */
.artkopf { display: grid; gap: 2px; }
.artkopf small { font-size: 12px; letter-spacing: .07em; font-weight: 700; color: var(--leise); text-transform: uppercase; }
.latein { color: var(--leise); }
.regional { font-size: 14.5px; color: var(--leise); }
.tafel { background: var(--pergament); border: 2px solid var(--messing); border-radius: 10px; padding: 14px; aspect-ratio: 16 / 8; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; overflow: hidden; }
.tafel img { width: 100%; height: 100%; object-fit: contain; }
.hinweis-art { color: var(--warn); font-size: 14.5px; }
.kapital b { font-size: 19px; color: var(--titel); }
.sterne { color: var(--messing); letter-spacing: 1px; white-space: nowrap; }
.sterne i { font-style: normal; color: var(--linie-2); }
.legende { list-style: none; padding: 0; display: grid; gap: 2px; font-size: 13.5px; color: var(--leise); }
.aufruf { display: grid; gap: 8px; justify-items: start; padding: 16px; background: var(--flaeche); border: 1.5px solid var(--messing); border-radius: 8px; }
.aufruf h2 { font: 700 21px/1.2 var(--anzeige); color: var(--titel); }
.blaettern { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; }
.buch-karte { display: grid; gap: 8px; justify-items: start; padding: 16px; background: var(--petrol); color: var(--auf-petrol); border: 1px solid var(--messing); border-radius: 8px; }
.buch-karte h2 { font: 700 21px/1.2 var(--anzeige); }
.band { background: var(--pergament); color: #2a241a; border-radius: 8px; padding: 12px 14px; font-size: 13.5px; }

/* Vergleich */
.vergleich { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.vergleich-spalte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; }
.vergleich-spalte h2 { font: 700 25px/1.2 var(--anzeige); color: var(--titel); }
@media (min-width: 640px) { .vergleich { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Rechtstexte */
.recht { display: grid; gap: 12px; max-width: 62ch; }
.recht h2 { margin-top: 8px; }
.recht ul { padding-left: 20px; display: grid; gap: 6px; }
