/* ============================================================
   cloudgarten.de — Pflanzenpaten CSS
   CG-008: /paten/ Sektion
   
   Ergänzt style.css + beet.css — keine bestehenden Regeln überschrieben.
   Nur neue Klassen, ausgelegt auf .theme-wood body.
   ============================================================ */


/* ── Hero-Bild ─────────────────────────────────────────────
   Vollbreites Header-Bild mit gedimmtem Overlay.
   Titel sitzt über dem Bild via absoluter Positionierung.
   padding-top: 90px → Hamburger hat Freiraum wie auf /beet/. */
.paten-hero {
  position: relative;
  width: 100%;
  min-height: 300px;
  max-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2rem;
}
.paten-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
/* Dunkles Overlay damit Schrift lesbar bleibt */
.paten-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 18, 5, 0.35) 0%,
    rgba(30, 18, 5, 0.60) 100%
  );
}
.paten-hero-text {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  /* Platz oben für Hamburger-Button */
  padding: 90px 1rem 0;
}
.paten-hero-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  color: #fdf6e8;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  /* Leichter Textschatten für Lesbarkeit auf dem Foto */
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.paten-hero-sub {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  /* Warmes Goldton aus der Holzpalette */
  color: var(--holz-eiche-hell);
  letter-spacing: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}


/* ── Intro-Sektion ─────────────────────────────────────────
   Sandfarben wie auf /beet/, max-width für Lesebreite. */
.paten-intro {
  background: var(--bg-galerie);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.paten-intro-inner {
  max-width: 660px;
  margin: 0 auto;
}

/* Deutscher Haupttext */
.paten-intro-de {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--holz-text);
  margin-bottom: 0.75rem;
}

/* Englischer Nebentext — kleiner, gedimmt */
.paten-intro-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #9a7a50;
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Ko-fi-Link im Intro — dezent, kein Button */
.paten-intro-link {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--holz-dunkel);
  text-decoration: none;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--holz-eiche);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.paten-intro-link:hover {
  color: var(--holz-kiefer);
  border-color: var(--holz-kiefer);
}


/* ── Paten-Wand ─────────────────────────────────────────────
   Grid für die Paten-Karten. Analogie zu .galerie-wand + .wand. */
.paten-wand-sektion {
  background: var(--bg-galerie);
  padding: 0.5rem 1rem 4rem;
  min-height: 200px;
}
.paten-wand {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

/* Leer-Zustand — identisch zu .galerie-leer in beet.css */
.paten-leer {
  text-align: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: #b09060;
  padding: 3rem 1rem;
  letter-spacing: 1px;
  line-height: 2;
}


/* ── Paten-Karte ────────────────────────────────────────────
   Scrapbook-Stil: Eichenholzrahmen wie /beet/, aber mit mehr
   Weißraum innen und Cormorant Garamond statt Press Start 2P
   für den persönlicheren Charakter. */
.paten-karte {
  /* Eichenholz-Außenrahmen — gleich wie .rahmen in beet.css */
  position: relative;
  background: var(--holz-eiche);
  padding: 8px;
}
/* Glanzlinie-Pseudoelement — identisch zu .rahmen::before */
.paten-karte::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px; right: 3px; bottom: 3px;
  border: 2px solid var(--holz-eiche-hell);
  pointer-events: none;
  z-index: 2;
}

/* Kiefer-Innenbereich */
.paten-karte-inner {
  background: var(--holz-kiefer);
  padding: 0;
  overflow: hidden;
}

/* Bild — nimmt volle Breite ein, 3:2 Ratio */
.paten-karte-bild {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #4a7a3a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.paten-karte-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Wenn kein Bild vorhanden, kein leerer Block */
.paten-karte-bild:empty {
  display: none;
}

/* Text-Body der Karte — auf hellem Pinie-Hintergrund */
.paten-karte-body {
  background: var(--holz-schild);
  padding: 1.1rem 1rem 1rem;
}

/* Pflanzenname */
.paten-karte-pflanze {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--holz-dunkel);
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

/* "für [Name]" */
.paten-karte-fuer {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: #9a7a50;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

/* Datum + Status in einer Zeile */
.paten-karte-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.paten-karte-datum {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--holz-text);
}

/* Status-Badge — Press Start 2P für Pixel-Akzent */
.paten-status {
  font-family: 'Press Start 2P', monospace;
  font-size: 5px;
  letter-spacing: 1px;
  padding: 3px 6px;
  border: 1px solid currentColor;
  line-height: 1.4;
}
.paten-status--gepflanzt  { color: var(--holz-kiefer); }
.paten-status--waechst    { color: #4a8a3a; }
.paten-status--blueht     { color: #8a5a9a; }
.paten-status--geerntet   { color: #8a6a2a; }
.paten-status--ueberwintert { color: #5a7a8a; }

/* Notiz-Text */
.paten-karte-notiz {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--holz-text);
  font-style: italic;
  border-top: 1px solid var(--holz-eiche);
  padding-top: 0.65rem;
}

/* Updates-Bereich */
.paten-updates {
  margin-top: 0.75rem;
  border-top: 1px dashed var(--holz-eiche);
  padding-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.paten-update-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--holz-text);
  line-height: 1.5;
}
.paten-update-datum {
  font-family: 'Press Start 2P', monospace;
  font-size: 5px;
  color: #9a7a50;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}
.paten-update-bild {
  margin-top: 0.4rem;
  width: 100%;
  border-radius: 0;
}
.paten-update-bild img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--holz-eiche);
}


/* ── Sticky Ko-fi Float ─────────────────────────────────────
   Fester Button unten rechts auf der ganzen Seite.
   Holzrahmen-Ästhetik: Eichenholz-Rand, Kiefer-Hintergrund.
   
   WARUM STICKY UND NICHT NUR IM INTRO?
   Paten-Karten können lang scrollen. Der Button bleibt
   immer sichtbar ohne den Content zu stören. */
.paten-kofi-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  
  /* Eichenholz-Rahmen */
  background: var(--holz-kiefer);
  border: 3px solid var(--holz-eiche);
  /* Glanzlinie als Box-Shadow */
  box-shadow:
    inset 0 0 0 2px var(--holz-eiche-hell),
    0 4px 16px rgba(0,0,0,0.25);
  
  padding: 10px 14px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.paten-kofi-float:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 2px var(--holz-eiche-hell),
    0 8px 24px rgba(0,0,0,0.30);
}

/* "PFLANZENPATE WERDEN" Label */
.paten-kofi-float-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 5px;
  color: #fdf6e8;
  letter-spacing: 0.5px;
  line-height: 1.6;
  text-align: center;
  white-space: nowrap;
}
/* Ko-fi-Icon / Emoji */
.paten-kofi-float-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* Auf sehr kleinen Screens etwas kleiner */
@media (max-width: 400px) {
  .paten-kofi-float {
    bottom: 16px;
    right: 16px;
    padding: 8px 10px;
  }
}


/* ── Garten-TV Hinweis ──────────────────────────────────────
   Dezente Sektion unterhalb der Sendezeiten.
   Kein Banner-Charakter — reiner Text mit Link. */
.cg-tv-paten-hint {
  background: var(--bg-galerie);
  padding: 2rem 1.5rem;
}
.cg-tv-paten-hint-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid var(--holz-eiche);
  padding-top: 1.5rem;
}
.cg-tv-paten-hint p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--holz-text);
}
.cg-tv-paten-hint a {
  font-family: 'Press Start 2P', monospace;
  font-size: 6px;
  color: var(--holz-dunkel);
  text-decoration: none;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--holz-eiche);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.cg-tv-paten-hint a:hover {
  color: var(--holz-kiefer);
}


/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .paten-hero { min-height: 240px; }
  .paten-hero-title { font-size: 10px; }
  .paten-wand { grid-template-columns: 1fr; }
  .paten-intro { padding: 2rem 1rem; }
}
