/* =========================================================
   sam-und-alma.de – zentrale Stil-Datei
   Hier steckt das gesamte Aussehen der Seite.
   Farben änderst du ganz oben unter :root an einer Stelle.
   ========================================================= */

:root {
  --papier:   #faf6ef;   /* Hintergrund, warmes Creme      */
  --karte:    #ffffff;   /* Hintergrund der Kästen          */
  --tinte:    #1f2a2e;   /* Textfarbe                       */
  --grau:     #5d6a6e;   /* leiser Text, Bildunterschriften */
  --linie:    #e6dfd3;   /* feine Trennlinien               */
  --rot:      #b3261e;   /* Annis Rot                       */
  --blau:     #1f5f8b;   /* Ara-Blau                        */
  --gold:     #e39a1b;   /* Gustls Orange-Gold              */
  --gruen:    #3f7d4e;   /* Flügel-Grün                     */

  --schrift-titel: "DM Sans", system-ui, "Segoe UI", Arial, sans-serif;
  --schrift-text:  "DM Sans", system-ui, "Segoe UI", Arial, sans-serif;

  --breite: 1120px;
  --rund: 14px;
}

/* Schrift „DM Sans“ liegt im Ordner /schrift auf deinem eigenen Webspace.
   Dadurch wird nichts von Google geladen (wichtig für den Datenschutz). */
@font-face {
  font-family: "DM Sans";
  src: url("../schrift/dm-sans.woff") format("woff");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 17px;
  line-height: 1.65;
}

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

a { color: var(--blau); }
a:hover { color: var(--rot); }

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.8rem, 6.5vw, 4.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

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

/* ---------- Kopfzeile mit Menü ---------- */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf .innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px; flex-wrap: wrap;
}
.logo {
  font-family: var(--schrift-titel); font-weight: 700; letter-spacing: -.03em;
  font-size: 1.5rem; color: var(--tinte); text-decoration: none;
}
.logo span { color: var(--rot); }
/* Menü: eine weiße „Leiste“ mit Schatten, der aktive Punkt ist rot hervorgehoben.
   Welcher Punkt aktiv ist, legst du im HTML mit class="aktiv" fest. */
.menue {
  display: flex; gap: 4px; flex-wrap: wrap; list-style: none; margin: 0;
  padding: 5px; background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(31, 42, 46, .06),
              0 8px 22px -10px rgba(31, 42, 46, .28),
              0 2px 5px -2px rgba(31, 42, 46, .1);
}
.menue a {
  display: block; padding: 8px 16px; border-radius: 11px;
  color: var(--tinte); text-decoration: none; font-size: .95rem; font-weight: 500;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.menue a:hover { background: #f4eee4; color: var(--tinte); }
.menue a.aktiv {
  background: linear-gradient(180deg, #c8332a 0%, var(--rot) 100%);
  color: #fff; font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset,
              0 6px 14px -6px rgba(179, 38, 30, .6);
}
@media (max-width: 640px) {
  .kopf .innen { padding-top: 10px; padding-bottom: 10px; }
  /* Auf dem Handy bleibt das Menü eine Zeile und lässt sich seitlich wischen */
  nav { width: 100%; }
  .menue { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .menue::-webkit-scrollbar { display: none; }
  .menue a { padding: 8px 12px; font-size: .9rem; white-space: nowrap; }
}

/* ---------- Großer Einstieg oben ---------- */
.einstieg { padding: 64px 0 72px; }
.einstieg .innen {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
}
.dachzeile {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 600; color: var(--rot); margin: 0 0 12px;
}
.einleitung { font-size: 1.15rem; color: #34413f; max-width: 34em; }
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
/* Knöpfe: rot mit farbigem Schatten, hell mit weichem Schatten.
   Beim Darüberfahren heben sie sich leicht an. */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px;
  background: linear-gradient(180deg, #c8332a 0%, var(--rot) 100%);
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset,
              0 10px 24px -8px rgba(179, 38, 30, .55),
              0 3px 6px -2px rgba(179, 38, 30, .35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.knopf::after { content: "→"; transition: transform .18s ease; }
.knopf:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset,
              0 16px 32px -10px rgba(179, 38, 30, .6),
              0 4px 8px -2px rgba(179, 38, 30, .35);
}
.knopf:hover::after { transform: translateX(3px); }
.knopf:active { transform: translateY(0); }

.knopf.hell {
  background: #fff; color: var(--tinte);
  box-shadow: 0 0 0 1px rgba(31, 42, 46, .06),
              0 10px 24px -10px rgba(31, 42, 46, .3),
              0 3px 6px -2px rgba(31, 42, 46, .12);
}
.knopf.hell:hover {
  color: var(--tinte);
  box-shadow: 0 0 0 1px rgba(31, 42, 46, .08),
              0 16px 32px -12px rgba(31, 42, 46, .35),
              0 4px 8px -2px rgba(31, 42, 46, .14);
}

.titelbild { margin: 0; }
.titelbild img {
  border-radius: var(--rund);
  box-shadow: 0 24px 48px -24px rgba(31, 42, 46, .45);
}
figcaption { font-size: .88rem; color: var(--grau); margin-top: 10px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 72px 0; border-top: 1px solid var(--linie); }
.abschnitt-kopf { max-width: 40em; margin-bottom: 36px; }
.abschnitt-kopf p { color: var(--grau); margin: 0; }

/* ---------- Vogel-Karten ---------- */
.voegel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vogel {
  background: var(--karte); border-radius: var(--rund); overflow: hidden;
  border: 1px solid var(--linie);
  display: grid; grid-template-columns: 1fr 1.1fr;
}
.vogel img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2 / 3; }
.vogel-text { padding: 28px 26px; }
.vogel-art {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}
.vogel.anni  .vogel-art { background: #f8e3e1; color: var(--rot); }
.vogel.gustl .vogel-art { background: #fbecd2; color: #94600a; }
.steckbrief { list-style: none; padding: 0; margin: 18px 0 0; font-size: .95rem; }
.steckbrief li { padding: 6px 0; border-top: 1px solid var(--linie); }
.steckbrief b { display: inline-block; min-width: 7.5em; font-weight: 600; }

/* ---------- Erinnerung an Sam und Alma ---------- */
.erinnerung { background: #f1ebe0; }
.erinnerung .innen {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.erinnerung img { border-radius: var(--rund); }

/* ---------- Kacheln: Tagebuch, Voliere, Videos ---------- */
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kachel {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 28px; text-decoration: none; color: var(--tinte);
  display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
  border-top: 5px solid var(--farbe, var(--blau));
}
.kachel:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(0,0,0,.35); color: var(--tinte); }
.kachel p { color: var(--grau); flex: 1; }
.kachel .weiter {
  align-self: flex-start; font-weight: 600; font-size: .95rem;
  color: var(--farbe, var(--blau)); background: #fff;
  padding: 10px 18px; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(31, 42, 46, .07), 0 6px 16px -8px rgba(31, 42, 46, .3);
  transition: box-shadow .18s ease;
}
.kachel:hover .weiter { box-shadow: 0 0 0 1px rgba(31, 42, 46, .1), 0 10px 22px -10px rgba(31, 42, 46, .38); }
.kachel.tagebuch { --farbe: var(--rot); }
.kachel.voliere  { --farbe: var(--gruen); }
.kachel.videos   { --farbe: var(--blau); }
.kachel .datum { font-size: .85rem; color: var(--grau); margin-bottom: 4px; }

/* ---------- Fußzeile ---------- */
.fuss { padding: 36px 0; border-top: 1px solid var(--linie); font-size: .92rem; color: var(--grau); }
.fuss .innen { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fuss a { color: var(--grau); margin-left: 18px; }

/* ---------- Platzhalter (nur für den Entwurf) ----------
   Alles mit class="platzhalter" sind Texte, die du noch selbst
   schreibst. Danach kannst du die Klasse einfach entfernen. */
.platzhalter {
  background: #fff7d6;
  outline: 1.5px dashed #d9b84a; outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Handy und Tablet ---------- */
@media (max-width: 900px) {
  .einstieg .innen, .erinnerung .innen, .voegel { grid-template-columns: 1fr; gap: 32px; }
  .kacheln { grid-template-columns: 1fr; }
  .einstieg { padding: 40px 0 48px; }
  .abschnitt { padding: 52px 0; }
}
@media (max-width: 520px) {
  .vogel { grid-template-columns: 1fr; }
  .vogel img { aspect-ratio: 4 / 5; }
  .fuss a { margin: 0 18px 0 0; }
}

/* =========================================================
   TAGEBUCH
   ========================================================= */
.seitenkopf { padding: 56px 0 32px; }
.seitenkopf .einleitung { max-width: 38em; }
.innen.schmal { max-width: 820px; }

/* Jahresleiste zum Springen */
.jahresleiste {
  position: sticky; top: 76px; z-index: 5;
  background: rgba(250, 246, 239, .92); backdrop-filter: blur(8px);
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
}
.jahresleiste ul {
  list-style: none; margin: 0; padding: 12px 0;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.jahresleiste ul::-webkit-scrollbar { display: none; }
.jahresleiste a {
  display: block; padding: 6px 14px; border-radius: 10px; white-space: nowrap;
  background: #fff; color: var(--tinte); text-decoration: none; font-weight: 600; font-size: .92rem;
  box-shadow: 0 0 0 1px rgba(31, 42, 46, .07), 0 4px 10px -6px rgba(31, 42, 46, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.jahresleiste a:hover { transform: translateY(-1px); color: var(--rot); }

/* Zeitleiste mit Jahren und Einträgen */
.tagebuch { padding: 40px 0 80px; }
.tagebuch .innen { position: relative; }
.jahr {
  scroll-margin-top: 150px;
  margin: 56px 0 24px; display: flex; align-items: center; gap: 16px;
}
.jahr:first-child { margin-top: 8px; }
.jahr span {
  font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: var(--rot);
}
.jahr::after { content: ""; flex: 1; height: 2px; background: var(--linie); border-radius: 2px; }

.eintrag {
  scroll-margin-top: 150px;
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 30px 34px; margin-bottom: 20px;
  box-shadow: 0 10px 28px -22px rgba(31, 42, 46, .35);
}
.eintrag h2 { font-size: 1.55rem; margin-bottom: .6em; }
.eintrag p { margin: 0 0 1em; }
.eintrag p:last-child { margin-bottom: 0; }
.eintrag-datum {
  display: inline-block; font-size: .8rem !important; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blau); background: #e6f0f7;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px !important;
}
.eintrag ul { margin: 0 0 1em; padding-left: 1.2em; }
.eintrag li { margin: 4px 0; }
.eintrag ul.gewichte { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.eintrag ul.gewichte li { background: #fbf4ea; border-radius: 10px; padding: 8px 12px; margin: 0; font-size: .95rem; }

.foto { margin: 24px 0; }
.foto img { border-radius: 12px; width: 100%; }
.foto-platzhalter {
  aspect-ratio: 3 / 2; border-radius: 12px; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, #f6efe3, #f6efe3 12px, #f1e8d9 12px, #f1e8d9 24px);
  color: var(--grau); font-size: .95rem; padding: 20px; border: 1.5px dashed #d9c9ad;
}

@media (max-width: 640px) {
  .jahresleiste { top: 118px; }
  .eintrag { padding: 22px 20px; }
  .jahr, .eintrag { scroll-margin-top: 190px; }
}

/* =========================================================
   VIDEOS
   ========================================================= */
.videos { padding: 16px 0 80px; }
.video-karte {
  background: var(--karte); border: 1px solid var(--linie); border-radius: 18px;
  overflow: hidden; margin-bottom: 32px;
  box-shadow: 0 18px 40px -28px rgba(31, 42, 46, .45);
}
.video-rahmen { background: #11181a; aspect-ratio: 16 / 9; }
.video-rahmen video { width: 100%; height: 100%; display: block; object-fit: contain; background: #11181a; }
.video-text { padding: 24px 30px 28px; }
.video-text h2 { font-size: 1.45rem; margin-bottom: .4em; }
.video-text p { margin: 0; color: #34413f; }
.video-text .eintrag-datum { margin-bottom: 10px; }

/* Musik-Knopf unten rechts */
.musik-knopf {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border: 0; border-radius: 14px; cursor: pointer;
  font: 600 .95rem var(--schrift-text); color: var(--tinte); background: #fff;
  box-shadow: 0 0 0 1px rgba(31, 42, 46, .07), 0 14px 30px -12px rgba(31, 42, 46, .4);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.musik-knopf:hover { transform: translateY(-2px); }
.musik-knopf.spielt {
  background: linear-gradient(180deg, #c8332a 0%, var(--rot) 100%); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(179, 38, 30, .6);
}
.musik-symbol { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.musik-symbol i { display: block; width: 3px; height: 6px; border-radius: 2px; background: currentColor; }
.musik-symbol i:nth-child(2) { height: 12px; }
.musik-symbol i:nth-child(3) { height: 9px; }
.musik-knopf.spielt .musik-symbol i { animation: wippen .9s ease-in-out infinite; }
.musik-knopf.spielt .musik-symbol i:nth-child(2) { animation-delay: .2s; }
.musik-knopf.spielt .musik-symbol i:nth-child(3) { animation-delay: .4s; }
@keyframes wippen { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@media (prefers-reduced-motion: reduce) { .musik-knopf.spielt .musik-symbol i { animation: none; } }

@media (max-width: 640px) {
  .video-text { padding: 20px; }
  .musik-knopf { right: 12px; bottom: 12px; padding: 10px 14px; }
}

/* =========================================================
   VOLIERE BAUEN
   ========================================================= */
.abschnitt.ohne-linie { border-top: 0; }

/* Kennzahlen unter der Einleitung */
.kennzahlen {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.kennzahlen li {
  background: #fff; border-radius: var(--rund); padding: 18px 20px;
  box-shadow: 0 0 0 1px rgba(31, 42, 46, .06), 0 10px 24px -16px rgba(31, 42, 46, .35);
}
.kennzahlen b { display: block; font-size: 1.6rem; letter-spacing: -.03em; color: var(--rot); }
.kennzahlen span { font-size: .9rem; color: var(--grau); }

/* Downloads (PDF-Pläne) */
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.download {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 12px; background: #fff;
  color: var(--tinte); text-decoration: none; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(31, 42, 46, .07), 0 8px 18px -10px rgba(31, 42, 46, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.download:hover { transform: translateY(-2px); color: var(--rot); }
.download-typ {
  font-size: .7rem; letter-spacing: .06em; color: #fff; background: var(--rot);
  padding: 4px 7px; border-radius: 7px;
}
.download.holzliste .download-typ { background: var(--gruen); }

/* Planansichten */
.plaene { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.plan { margin: 0; }
.plan img { border-radius: 12px; background: #fff; border: 1px solid var(--linie); }

/* Nummerierte Bauschritte */
.schritte { list-style: none; margin: 0; padding: 0; position: relative; }
.schritte::before {
  content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px;
  width: 2px; background: var(--linie);
}
.schritt { display: grid; grid-template-columns: 44px 1fr; gap: 20px; margin-bottom: 28px; position: relative; }
.schritt-nr {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 700; color: #fff;
  background: linear-gradient(180deg, #c8332a 0%, var(--rot) 100%);
  box-shadow: 0 8px 18px -8px rgba(179, 38, 30, .6);
}
.schritt-inhalt {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 22px 26px; box-shadow: 0 10px 28px -22px rgba(31, 42, 46, .35);
}
.schritt-inhalt h3 { margin-bottom: .5em; }
.schritt-inhalt p { margin: 0 0 1em; }
.schritt-inhalt > :last-child { margin-bottom: 0; }

/* Hinweis-Kästen */
.hinweis {
  background: #eef5ee; border-left: 4px solid var(--gruen); border-radius: 10px;
  padding: 16px 20px; margin: 0 0 1em;
}
.hinweis p:last-child { margin-bottom: 0; }
.hinweis.warnung { background: #fbeceb; border-left-color: var(--rot); }

/* Fließtext „Grundsätzliches“ */
.fliesstext h3 { margin-top: 1.8em; }
.fliesstext h3:first-child { margin-top: 0; }
.punkte { padding-left: 1.2em; }
.punkte li { margin-bottom: .8em; }
.checkliste { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; }
.checkliste li {
  background: #fff; border-radius: 10px; padding: 6px 12px 6px 10px; font-weight: 500;
  box-shadow: 0 0 0 1px rgba(31, 42, 46, .08);
}
.checkliste li::before { content: "✓ "; color: var(--gruen); font-weight: 700; }
.foto.klein { max-width: 420px; }

/* Bildergalerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.galerie figure { margin: 0; }
.galerie img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.galerie .foto-platzhalter { aspect-ratio: 4 / 3; }

/* Ausstattung & Dank */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kasten {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 28px 30px; box-shadow: 0 10px 28px -22px rgba(31, 42, 46, .35);
}
.kasten h2 { font-size: 1.5rem; }
.ausstattung { padding-left: 1.2em; margin: 0; }
.ausstattung li { margin: 6px 0; }

@media (max-width: 900px) {
  .kennzahlen { grid-template-columns: 1fr 1fr; }
  .zweispaltig { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .schritt { grid-template-columns: 1fr; gap: 10px; }
  .schritte::before { display: none; }
  .schritt-inhalt { padding: 18px; }
}

/* Planansichten als klickbare Karten */
.plaene a.plan {
  display: block; text-decoration: none; color: var(--tinte); background: #fff;
  border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden;
  box-shadow: 0 10px 24px -18px rgba(31, 42, 46, .4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.plaene a.plan:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -18px rgba(31, 42, 46, .45); }
.plaene a.plan img { border: 0; border-radius: 0; border-bottom: 1px solid var(--linie); }
.plan-text { display: block; padding: 12px 16px; font-size: .92rem; color: var(--grau); }
.plan-text b { color: var(--tinte); margin-right: 6px; }

/* =========================================================
   WETTER (Startseite)
   ========================================================= */
.wetter-karte {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(260px, 1fr) 1.6fr; gap: 28px;
  padding: 32px; border-radius: 22px; color: #fff;
  box-shadow: 0 24px 50px -28px rgba(20, 40, 60, .6);
  transition: background .6s ease;
}
/* Hintergründe je nach Wetter */
.stimmung-sonne    { background: linear-gradient(135deg, #f6a33a 0%, #e9693b 45%, #2f7fc1 120%); }
.stimmung-heiter   { background: linear-gradient(135deg, #4fa3e0 0%, #2f6fb1 60%, #f0a64a 140%); }
.stimmung-wolken   { background: linear-gradient(135deg, #7f93a6 0%, #4f6477 100%); }
.stimmung-regen    { background: linear-gradient(135deg, #4d6f8f 0%, #2b4560 100%); }
.stimmung-schnee   { background: linear-gradient(135deg, #a9c3db 0%, #6e8fb0 100%); }
.stimmung-nebel    { background: linear-gradient(135deg, #a3a9ae 0%, #737c84 100%); }
.stimmung-gewitter { background: linear-gradient(135deg, #3c3f5c 0%, #1f2234 100%); }
.stimmung-nacht    { background: linear-gradient(135deg, #263a63 0%, #121b33 100%); }
/* weicher Lichtfleck */
.wetter-karte::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px;
  background: radial-gradient(closest-side, rgba(255,255,255,.28), transparent); pointer-events: none;
}
.wetter-laedt, .wetter-fehler { display: block; min-height: 120px; }
.wetter-laedt p, .wetter-fehler p { margin: 0; opacity: .9; }

.wetter-ort { margin: 0; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.wetter-haupt { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; }
.wetter-temp { font-size: clamp(4rem, 9vw, 5.6rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.wetter-text { margin: 0; font-size: 1.25rem; font-weight: 600; }
.wetter-heute { margin: 2px 0 18px; opacity: .85; }
.wetter-werte { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.wetter-werte li {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px); border-radius: 12px; padding: 7px 12px; font-size: .88rem;
}
.wetter-werte span { opacity: .8; margin-right: 6px; }

.wetter-tage { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wetter-tag {
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px); border-radius: 18px; padding: 18px;
  transition: transform .2s ease, background .2s ease;
}
.wetter-tag:hover { transform: translateY(-3px); background: rgba(255,255,255,.2); }
.tag-name { font-weight: 700; font-size: 1.05rem; }
.tag-text { font-size: .88rem; opacity: .85; min-height: 2.6em; line-height: 1.3; }
.tag-temp { display: flex; align-items: baseline; gap: 8px; }
.tag-temp b { font-size: 1.6rem; letter-spacing: -.04em; }
.tag-temp span { opacity: .75; }
.tag-balken { position: relative; height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); }
.tag-balken i {
  position: absolute; top: 0; bottom: 0; border-radius: 6px;
  background: linear-gradient(90deg, #9fd6ff, #ffd36b, #ff9a5a);
}
.tag-regen { font-size: .82rem; opacity: .85; }

.wetter-beispiel {
  position: absolute; right: 16px; top: 14px; z-index: 1;
  font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,.25);
}
.wetter-quelle { margin: 10px 4px 0; font-size: .8rem; color: var(--grau); }
.wetter-quelle a { color: var(--grau); }

/* Symbole */
.w-icon { display: block; }
.w-icon.gross { width: 92px; height: 92px; }
.w-icon.klein { width: 52px; height: 52px; }
.w-sonne circle { fill: #ffd34d; }
.w-strahlen { stroke: #ffd34d; stroke-width: 3.5; stroke-linecap: round; transform-origin: 32px 32px; }
.w-mond { fill: #f3f0d8; }
.w-wolke { fill: #fff; opacity: .95; }
.w-linie { stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .8; }
.w-tropfen { stroke: #a8dcff; stroke-width: 3; stroke-linecap: round; }
.w-flocke circle { fill: #fff; }
.w-blitz { fill: #ffd34d; }
.gross .w-strahlen { animation: drehen 24s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gross .w-strahlen { animation: none; } }

@media (max-width: 900px) {
  .wetter-karte { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 560px) {
  .wetter-tage { grid-template-columns: 1fr; }
  .wetter-tag { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "name icon temp" "text text regen" "balken balken balken"; align-items: center; column-gap: 12px; padding: 14px 16px; }
  .wetter-tag .tag-name { grid-area: name; } .wetter-tag .w-icon { grid-area: icon; width: 40px; height: 40px; }
  .wetter-tag .tag-temp { grid-area: temp; } .wetter-tag .tag-text { grid-area: text; min-height: 0; }
  .wetter-tag .tag-regen { grid-area: regen; } .wetter-tag .tag-balken { grid-area: balken; margin-top: 4px; }
}

/* =========================================================
   Fotoalben und Großansicht
   ========================================================= */
.album-jahr { margin: 36px 0 14px; font-size: 1.1rem; color: var(--grau); letter-spacing: .04em; }
.abschnitt-kopf + .album-jahr { margin-top: 0; }
.fotoalbum a.gross { display: block; border-radius: 12px; overflow: hidden; }
.fotoalbum img { transition: transform .35s ease, filter .35s ease; display: block; }
.fotoalbum a.gross:hover img,
.fotoalbum a.gross:focus-visible img { transform: scale(1.04); filter: saturate(1.1); }

.grossansicht {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 24, 26, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 72px;
}
.grossansicht[hidden] { display: none; }
.grossansicht figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.grossansicht img {
  max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 20px 60px -20px rgba(0,0,0,.7); margin: 0 auto;
}
.grossansicht figcaption { color: #e8e4dc; font-size: .92rem; margin-top: 14px; }
.grossansicht button {
  position: absolute; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.grossansicht button:hover, .grossansicht button:focus-visible { background: rgba(255,255,255,.28); outline: none; }
.ga-zu { top: 18px; right: 18px; }
.ga-zurueck { left: 14px; top: 50%; transform: translateY(-50%); }
.ga-vor { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .grossansicht { padding: 64px 8px 24px; }
  .ga-zurueck, .ga-vor { top: auto; bottom: 14px; transform: none; }
  .grossansicht img { max-height: calc(100vh - 170px); }
}

/* Diashow */
.album .abschnitt-kopf .knopf.diashow-start { margin-top: 16px; border: 0; cursor: pointer; font: inherit; }
.album-zahl { white-space: nowrap; color: var(--grau); }
.album-zahl::before { content: "· "; }
.grossansicht img { opacity: 0; transition: opacity .45s ease; }
.grossansicht img.sichtbar { opacity: 1; }
.ga-show { bottom: 18px; right: 18px; font-size: 1.05rem !important; }
.grossansicht.diashow .ga-show { background: var(--rot); }
@media (max-width: 640px) {
  .ga-show { left: 50%; right: auto; transform: translateX(-50%); }
}
.knopf.diashow-start::after { content: none; }

/* Rechtstexte und Haltung */
.fliesstext h2 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.fliesstext h2:first-child { margin-top: 0; }
.rechtstext .einleitung { margin-bottom: 1.6em; }
.stand { color: var(--grau); font-size: .9rem; margin-top: 2em; }
.inhalt-liste { columns: 2; gap: 32px; padding-left: 1.2em; margin: 0 0 2em; }
.inhalt-liste li { margin-bottom: .4em; break-inside: avoid; }
@media (max-width: 640px) { .inhalt-liste { columns: 1; } }

/* Startseite: Überschrift "Eine Homepage über unsere Aras" etwas kompakter, da länger als früher */
.einstieg h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; }

/* Steckbriefe: jetzt mit längeren Texten – auf großen Bildschirmen eine Karte pro Zeile */
@media (min-width: 901px) {
  .voegel { grid-template-columns: 1fr; gap: 28px; }
  .vogel { grid-template-columns: minmax(260px, 34%) 1fr; }
  .vogel img { aspect-ratio: auto; min-height: 100%; max-height: 520px; }
  .vogel-text { padding: 34px 40px; }
  .steckbrief { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* Futter-Kasten auf der Startseite */
.futter-kasten { margin-top: 28px; }
.futter-kasten h3 { margin: 0 0 14px; }
.futter-warnung { margin: 4px 0 0; padding: 12px 16px; background: #fdf4e3; border-left: 4px solid #d9a441; border-radius: 8px; }

/* Bautagebuch in Bildern: aufklappbare Bauabschnitte */
.bauphasen { display: grid; gap: 12px; }
.bauphase { background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; overflow: hidden; }
.bauphase summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; font-weight: 600;
}
.bauphase summary::-webkit-details-marker { display: none; }
.bauphase summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; color: var(--grau); transition: transform .2s ease; }
.bauphase[open] summary::after { transform: rotate(45deg); }
.bauphase summary:hover { background: #f4eee4; }
.phase-nr {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gruen); color: #fff; font-size: .9rem;
}
.phase-info { color: var(--grau); font-weight: 400; font-size: .9rem; white-space: nowrap; }
.bauphase .galerie { padding: 4px 20px 20px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.bauphase .galerie img { border-radius: 8px; }
@media (max-width: 640px) {
  .bauphase summary { display: grid; grid-template-columns: 32px 1fr auto; gap: 2px 12px; padding: 14px 16px; }
  .bauphase summary .phase-nr { grid-row: 1 / span 2; }
  .bauphase summary .phase-info { grid-column: 2; white-space: normal; }
  .bauphase summary::after { grid-column: 3; grid-row: 1 / span 2; }
  .bauphase .galerie { grid-template-columns: repeat(3, 1fr); padding: 4px 12px 12px; gap: 6px; }
}
