/* Die Waldmäuse – Stylesheet
   Layout: ruhige, helle Seiten wie ein Jahreszeitentisch – große Naturfotos,
   Text in schmalen Spalten, Abschnitte im Wechsel Naturweiß / Seidenrosé. */

@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Farben */
  --leinen: #fbf8f4;      /* Grund: ungebleichtes Leinen */
  --seide: #f3e4df;       /* Seidentuch-Rosé für Wechselabschnitte */
  --seide-tief: #d9b4aa;  /* Rosé für Linien und Akzente */
  --moos: #4d6142;        /* Moosgrün: Links, Buttons, Akzent */
  --moos-dunkel: #36452f;
  --holz: #9a7650;        /* Holzton für Kleintexte */
  --erde: #2f2a25;        /* Schrift */
  --erde-weich: #5b524a;
  /* Schrift */
  --f-titel: "Alegreya", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-text: "Alegreya Sans", "Gill Sans", "Segoe UI", "Trebuchet MS", sans-serif;
  /* Maße */
  --spalte: 40rem;
  --breit: 72rem;
  --rund: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--leinen);
  color: var(--erde);
  font-family: var(--f-text);
  font-size: 1.15rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moos); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--moos-dunkel); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--moos); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--f-titel); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0 0 0.6em; color: var(--erde); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.innen { max-width: var(--breit); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.spalte { max-width: var(--spalte); }
.mitte { margin-left: auto; margin-right: auto; }
.klein { font-size: 0.95rem; color: var(--erde-weich); }
.vorzeile { font-family: var(--f-text); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--holz); margin-bottom: 0.6rem; }

/* Kopf */
.kopf { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--leinen) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--seide); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.marke { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--erde); }
.marke { flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.marke-logo { height: 4.4rem; width: auto; flex: none; }
.kopf .innen { padding-block: 0.35rem; }
@media (max-width: 34rem) { .marke-logo { height: 3.6rem; } }
.marke-text { display: flex; flex-direction: column; line-height: 1.05; }
.marke-name { font-family: var(--f-titel); font-size: 1.5rem; font-weight: 700; }
.marke-zusatz { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--holz); }
.marke:hover { color: var(--erde); }

.menue { display: flex; flex-wrap: wrap; gap: 0.2rem 1.3rem; list-style: none; margin: 0; padding: 0; }
.menue a { text-decoration: none; color: var(--erde); font-size: 1.02rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.menue a:hover { color: var(--moos); }
.menue a[aria-current="page"] { border-bottom-color: var(--seide-tief); color: var(--moos-dunkel); }
.menue .menue-anfrage a { background: var(--moos); color: var(--leinen); padding: 0.35rem 0.9rem; border-radius: 999px; border: 0; }
.menue .menue-anfrage a:hover { background: var(--moos-dunkel); color: var(--leinen); }
.menue-knopf { display: none; background: none; border: 1px solid var(--seide-tief); border-radius: 999px; padding: 0.4rem 1rem; font: inherit; font-size: 1rem; color: var(--erde); cursor: pointer; }

@media (max-width: 64rem) {
  .menue-knopf { display: inline-block; }
  .menue { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--leinen); border-bottom: 1px solid var(--seide); flex-direction: column; padding: 0.5rem max(20px, env(safe-area-inset-right, 0px)) 1.2rem max(20px, env(safe-area-inset-left, 0px)); }
  .menue.offen { display: flex; }
  .menue a { display: inline-block; padding: 0.55rem 0; font-size: 1.15rem; }
  .menue .menue-anfrage { margin-top: 0.5rem; }
}

/* Startbild */
.buehne { position: relative; min-height: min(78vh, 46rem); display: grid; align-items: end; color: #fff; overflow: hidden; }
.buehne img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buehne::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 26, 20, 0.72) 0%, rgba(30, 26, 20, 0.25) 45%, rgba(30, 26, 20, 0) 70%); }
.buehne .innen { position: relative; z-index: 1; width: 100%; padding-block: 3rem 3.5rem; }
.buehne h1 { color: #fff; margin-bottom: 0.3rem; font-size: clamp(2.8rem, 8vw, 5.4rem); }
.buehne .unterzeile { font-family: var(--f-titel); font-style: italic; font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin: 0 0 1.4rem; max-width: 34rem; }
.buehne .vorzeile { color: #f3e4df; }

/* Seitenkopf der Unterseiten */
.seitenkopf { position: relative; height: clamp(14rem, 34vw, 24rem); overflow: hidden; }
.seitenkopf img { width: 100%; height: 100%; object-fit: cover; }
.seitentitel { padding-block: 2.5rem 0.5rem; }
.seitentitel p { font-size: 1.25rem; color: var(--erde-weich); max-width: var(--spalte); }

/* Abschnitte */
.abschnitt { padding-block: clamp(3rem, 7vw, 5.5rem); }
.abschnitt.seide { background: var(--seide); }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.paar > * { min-width: 0; }
.paar.umgekehrt > :first-child { order: 2; }
.paar figure { margin: 0; }
.paar img, .bild-rund { border-radius: var(--rund); width: 100%; object-fit: cover; }
.hoch img { aspect-ratio: 4 / 5; }
.quer img { aspect-ratio: 4 / 3; }
figcaption { font-size: 0.9rem; color: var(--erde-weich); margin-top: 0.5rem; }
@media (max-width: 52rem) {
  .paar { grid-template-columns: 1fr; }
  .paar.umgekehrt > :first-child { order: 0; }
  .hoch img { aspect-ratio: 4 / 3; }
}

/* Zitat */
.zitat { margin: 0; padding: 0; max-width: 46rem; }
.zitat p { font-family: var(--f-titel); font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.3; margin-bottom: 0.6rem; }
.zitat footer { font-size: 1rem; color: var(--holz); letter-spacing: 0.04em; }
.zitat-klein p { font-size: 1.3rem; }
.zitat-band { text-align: center; }
.zitat-band .zitat { margin: 0 auto; }

/* Drei Leitsätze */
.leitsaetze { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem; list-style: none; padding: 0; margin: 0; }
.leitsaetze li { border-top: 2px solid var(--seide-tief); padding-top: 1rem; }
.leitsaetze strong { display: block; font-family: var(--f-titel); font-weight: 500; font-size: 1.45rem; margin-bottom: 0.3rem; }
@media (max-width: 52rem) { .leitsaetze { grid-template-columns: 1fr; } }

/* Eckdaten */
.eckdaten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--seide-tief); border-radius: var(--rund); background: var(--leinen); margin: 0; }
.eckdaten > div { padding: 1.2rem 1.3rem; border-left: 1px solid var(--seide-tief); }
.eckdaten > div:first-child { border-left: 0; }
.eckdaten dt { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--holz); }
.eckdaten dd { margin: 0.2rem 0 0; font-family: var(--f-titel); font-size: 1.3rem; line-height: 1.25; }
@media (max-width: 60rem) {
  .eckdaten { grid-template-columns: 1fr 1fr; }
  .eckdaten > div:nth-child(3) { border-left: 0; }
  .eckdaten > div:nth-child(n+3) { border-top: 1px solid var(--seide-tief); }
}
@media (max-width: 30rem) {
  .eckdaten { grid-template-columns: 1fr; }
  .eckdaten > div { border-left: 0; }
  .eckdaten > div + div { border-top: 1px solid var(--seide-tief); }
}

/* Wegweiser-Karten */
.wegweiser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.wegweiser a { display: flex; flex-direction: column; text-decoration: none; color: var(--erde); }
.wegweiser img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund); width: 100%; transition: transform 0.4s ease; }
.wegweiser a:hover img { transform: scale(1.015); }
.wegweiser h3 { margin: 0.9rem 0 0.2rem; }
.wegweiser p { color: var(--erde-weich); font-size: 1.02rem; margin: 0; }
.wegweiser .weiter { color: var(--moos); margin-top: 0.4rem; font-size: 1rem; }
@media (max-width: 52rem) { .wegweiser { grid-template-columns: 1fr; } }

/* Knöpfe */
.knopf { display: inline-block; background: var(--moos); color: var(--leinen); text-decoration: none; padding: 0.7rem 1.5rem; border-radius: 999px; font-size: 1.08rem; border: 0; cursor: pointer; font-family: var(--f-text); }
.knopf:hover { background: var(--moos-dunkel); color: var(--leinen); }
.knopf.hell { background: var(--leinen); color: var(--moos-dunkel); }
.knopf.hell:hover { background: var(--seide); color: var(--moos-dunkel); }

/* Qualifikationen */
.lebenslauf { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.lebenslauf li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--seide-tief); }
.lebenslauf li > * { min-width: 0; }
.lebenslauf .jahr { font-family: var(--f-titel); color: var(--holz); font-variant-numeric: tabular-nums; }
.lebenslauf .zusatz { display: block; font-size: 0.98rem; color: var(--erde-weich); }
@media (max-width: 34rem) { .lebenslauf li { grid-template-columns: 1fr; gap: 0.1rem; } }

/* Porträt-Platzhalter */
.portraet-platzhalter { aspect-ratio: 4 / 5; border-radius: var(--rund); background: var(--seide); border: 2px dashed var(--seide-tief); display: grid; place-items: center; text-align: center; color: var(--holz); padding: 2rem; font-size: 1rem; }

/* Tagesablauf */
.tagesablauf { list-style: none; padding: 0; margin: 0; position: relative; }
.tagesablauf li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0 0 1.3rem; position: relative; }
.tagesablauf li > * { min-width: 0; }
.tagesablauf time { font-family: var(--f-titel); font-size: 1.3rem; color: var(--moos); font-variant-numeric: tabular-nums; }
.tagesablauf strong { display: block; font-weight: 700; }
@media (max-width: 34rem) { .tagesablauf li { grid-template-columns: 3.6rem 1fr; gap: 0.8rem; } }
.tagesablauf span { color: var(--erde-weich); }

.woche { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.woche li { background: var(--leinen); border-radius: var(--rund); padding: 1.1rem 1rem 1.2rem; border-top: 4px solid var(--seide-tief); }
.woche li > * { min-width: 0; }
.woche .tag { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--holz); display: block; }
.woche strong { font-family: var(--f-titel); font-weight: 500; font-size: 1.3rem; display: block; margin: 0.2rem 0; }
.woche .wald { border-top-color: var(--moos); }
.woche .garten { border-top-color: var(--holz); }
.woche .wiese { border-top-color: #9bae6e; }
@media (max-width: 60rem) { .woche { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .woche { grid-template-columns: 1fr; } }

.feste { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.4rem 2rem; list-style: none; padding: 0; margin: 0; }
.feste li { border-top: 1px solid var(--seide-tief); padding-top: 0.8rem; }
.feste .zeit { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--holz); display: block; }
.feste strong { font-family: var(--f-titel); font-weight: 500; font-size: 1.35rem; display: block; }

/* Jahreszeiten-Sprungleiste */
.sprung { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.sprung a { display: inline-block; padding: 0.4rem 1rem; border: 1px solid var(--seide-tief); border-radius: 999px; text-decoration: none; color: var(--erde); }
.sprung a:hover { background: var(--seide); color: var(--erde); }
.jahreszeit h2 { display: flex; flex-direction: column; gap: 0.2rem; }
.jahreszeit h2 small { font-family: var(--f-titel); font-style: italic; font-size: 0.6em; color: var(--holz); font-weight: 500; }

/* Galerie */
.galerie-reiter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.8rem; padding: 0; list-style: none; }
.galerie-reiter button { font: inherit; font-size: 1.05rem; background: none; border: 1px solid var(--seide-tief); color: var(--erde); border-radius: 999px; padding: 0.4rem 1.1rem; cursor: pointer; }
.galerie-reiter button[aria-pressed="true"] { background: var(--moos); border-color: var(--moos); color: var(--leinen); }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 42vw), 1fr)); gap: 0.8rem; list-style: none; padding: 0; margin: 0; }
.galerie button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--rund); overflow: hidden; }
.galerie img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.4s ease; }
.galerie button:hover img { transform: scale(1.03); }
.galerie .bu { font-size: 0.92rem; color: var(--erde-weich); margin-top: 0.35rem; }

.leuchtkasten { position: fixed; inset: 0; z-index: 50; background: rgba(28, 25, 21, 0.92); display: grid; grid-template-rows: 1fr auto; padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px)); }
.leuchtkasten img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: 8px; min-height: 0; }
.leuchtkasten-leiste { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #f3e4df; padding-top: 0.8rem; }
.leuchtkasten button { font: inherit; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; border-radius: 999px; padding: 0.5rem 1.1rem; cursor: pointer; }
.leuchtkasten button:hover { background: rgba(255, 255, 255, 0.24); }
.leuchtkasten .knoepfe { display: flex; gap: 0.5rem; }

/* Formular */
.formular { display: grid; gap: 1.1rem; }
.formular .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.formular .zwei > * { min-width: 0; }
@media (max-width: 36rem) { .formular .zwei { grid-template-columns: 1fr; } }
.formular label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.formular input, .formular textarea, .formular select { width: 100%; font: inherit; font-size: 1.05rem; padding: 0.65rem 0.8rem; border: 1px solid var(--seide-tief); border-radius: 10px; background: #fff; color: var(--erde); }
.formular input:focus, .formular textarea:focus { outline: 3px solid color-mix(in srgb, var(--moos) 40%, transparent); border-color: var(--moos); }
.formular textarea { min-height: 9rem; resize: vertical; }
.formular .hinweis { font-size: 0.95rem; color: var(--erde-weich); }
.formular .einwilligung { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.formular .einwilligung input { width: auto; margin-top: 0.35rem; }
.formular-meldung { background: var(--seide); border-radius: 10px; padding: 1rem 1.2rem; }

.kontaktkarte { background: var(--seide); border-radius: var(--rund); padding: 1.6rem 1.8rem; }
.kontaktkarte address { font-style: normal; }
.kontaktkarte dl { margin: 0; display: grid; gap: 0.8rem; }
.kontaktkarte dt { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--holz); }
.kontaktkarte dd { margin: 0; overflow-wrap: anywhere; }

/* Rechtstexte */
.rechtstext h2 { font-size: 1.5rem; margin-top: 2rem; }
.rechtstext h3 { font-size: 1.2rem; margin-top: 1.4rem; }
.luecke { background: #fff3c4; padding: 0 0.25em; border-radius: 3px; }


/* Fuß */
.fuss { background: var(--moos-dunkel); color: #e9e3d8; padding-block: 3rem 2rem; margin-top: 0; }
.fuss a { color: #f3e4df; }
.fuss .innen { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.fuss .innen > * { min-width: 0; }
.fuss h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.4rem; }
.fuss address { font-style: normal; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.3rem; }
.fuss .unten { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 1.2rem; font-size: 0.92rem; color: #c9c2b4; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
@media (max-width: 52rem) { .fuss .innen { grid-template-columns: 1fr; } }

.anfrage-band { background: var(--moos); color: var(--leinen); }
.anfrage-band h2 { color: #fff; }
.anfrage-band .innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.anfrage-band p { margin: 0; max-width: 38rem; color: #eef0e6; }

.ueberspringen { position: absolute; left: -999px; top: 0; background: var(--moos); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.ueberspringen:focus { left: 1rem; top: 1rem; color: #fff; }
