/* franz-schilke.de – statische Seite, keine externen Quellen */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/lato-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-latin-700-normal.woff2") format("woff2"); }

:root {
  --text: #333;
  --text-leise: #6b6b6b;
  --linie: #e4e4e4;
  --hintergrund: #fff;
  --akzent: #8a5a2b;
  --breite: 1092px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--hintergrund);
  color: var(--text);
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.75;
}

a { color: var(--akzent); text-underline-offset: 0.15em; }
a:hover { color: #5e3b17; }

img { max-width: 100%; height: auto; display: block; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }

/* Kopf */
.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem 0 1.3rem;
  border-bottom: 3px solid var(--linie);
}
.seitentitel {
  margin: 0; font-size: 1.6rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
}
.seitentitel a { color: var(--text); text-decoration: none; }
.menue { display: flex; gap: 1.4rem; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; }
.menue a { color: var(--text-leise); text-decoration: none; }
.menue a:hover, .menue a[aria-current="page"] { color: var(--text); }

.kopfbild { margin: 1.8rem 0 0; }
.kopfbild img { width: 100%; border-radius: 6px; }

/* Inhalt */
main { padding: 1.5rem 0 3rem; }
main::after { content: ""; display: table; clear: both; }

h1 { font-size: 1.9rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; margin: 1.2rem 0 0; line-height: 1.3; }
h2 { font-size: 1.35rem; font-weight: 400; letter-spacing: 0.04em; margin: 2.2rem 0 0.6rem; }
.autoren { color: var(--text-leise); font-size: 1.15rem; margin: 0.2rem 0 1.8rem; }

p { margin: 0 0 1.4rem; }

/* Bilder im Fließtext */
.bild { margin: 0.4rem 0 1.4rem; clear: both; }
.bild.links  { float: left;  margin-right: 2.2rem; }
.bild.rechts { float: right; margin-left: 2.2rem; }
.bild.mitte  { margin: 1rem auto 2rem; }
.w-300 { width: 300px; } .w-260 { width: 260px; } .w-220 { width: 220px; }
.w-natur { width: auto; }
.abschnitt { clear: both; }

/* Bildergalerien */
.galerie { clear: both; display: grid; gap: 18px; margin: 1.6rem 0 2.2rem; justify-content: center; }
.galerie-3 { grid-template-columns: repeat(3, minmax(0, 224px)); }
.galerie-4 { grid-template-columns: repeat(4, minmax(0, 224px)); }
.galerie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

a.zoom { display: block; cursor: zoom-in; }
.schatten img { box-shadow: 0 1px 6px rgba(0,0,0,0.18); }

.pdf-hinweis {
  clear: both; text-align: center; margin: 2rem 0 0; padding: 1.4rem 1rem;
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
}

/* Unterseiten */
.text-seite { max-width: 760px; }
.text-seite h2 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.4rem; }
.text-seite p { margin-bottom: 1rem; }

/* Fuß */
.fuss {
  border-top: 3px solid var(--linie); padding: 1.4rem 0 2.4rem;
  font-size: 0.9rem; color: var(--text-leise);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.fuss nav { display: flex; gap: 1.4rem; }
.fuss a { color: var(--text-leise); }

/* Großansicht */
dialog.grossansicht {
  border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh;
}
dialog.grossansicht::backdrop { background: rgba(20,20,20,0.88); }
dialog.grossansicht img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; margin: 0 auto; }
dialog.grossansicht button {
  position: fixed; top: 12px; right: 16px; font: inherit; font-size: 2rem; line-height: 1;
  background: none; border: 0; color: #fff; cursor: pointer; padding: 6px 10px;
}

/* Tablet und Handy */
@media (max-width: 760px) {
  body { font-size: 1.05rem; }
  .seitentitel { font-size: 1.25rem; }
  h1 { font-size: 1.45rem; }
  .bild.links, .bild.rechts { float: none; margin: 0.4rem auto 1.4rem; }
  .w-300, .w-260, .w-220 { width: 100%; max-width: 420px; }
  .galerie-3, .galerie-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .rahmen { padding: 0 16px; }
  .menue { gap: 1rem; font-size: 0.75rem; }
}

@media print {
  .kopf .menue, .fuss nav { display: none; }
  a { color: inherit; text-decoration: none; }
}
