/* =========================
   teiche.css (nur Teich-Seiten)
========================= */

.pond-page{
  max-width:1100px;
  margin:0 auto;
  padding:8px 16px 40px;

  --bg:#f6f8fb;
  --panel:#ffffff;
  --border:rgba(0,0,0,.12);
  --muted:rgba(0,0,0,.68);
  --shadow:0 10px 26px rgba(0,0,0,.10);
  --radius:16px;

  --blue:#1e40af;
  --blue-soft:rgba(30,64,175,.08);
  --green:#166534;
  --green-soft:rgba(22,101,52,.10);
}

/* H1 vom Router etwas enger */
main > h1{
  margin-bottom:8px;
}

/* Hero */
.pond-hero{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
  margin-bottom:16px;
}

.pond-hero::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:var(--blue);
}

.pond-hero__inner{
  padding:18px 22px;
}

.pond-kicker{
  margin:0 0 6px;
  font-size:.9rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(0,0,0,.55);
}

.pond-title{
  margin:0 0 8px;
  font-size:1.65rem;
}

.pond-subtitle{
  margin:0;
  color:rgba(0,0,0,.70);
  line-height:1.5;
}

/* Facts */
.pond-facts{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:14px;
}

@media (min-width:700px){
  .pond-facts{
    grid-template-columns:repeat(3, 1fr);
  }
}

.pond-fact{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
}

.pond-fact__label{
  display:block;
  font-size:.85rem;
  color:rgba(0,0,0,.55);
  margin-bottom:4px;
}

.pond-fact__value{
  display:block;
  font-weight:800;
  color:rgba(0,0,0,.85);
}

/* Grid cards */
.pond-grid{
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
}

@media (min-width:900px){
  .pond-grid{
    grid-template-columns:1fr 1fr;
  }

  .pond-card--wide{
    grid-column:1 / -1;
  }

  .pond-note{
    grid-column:1 / -1;
  }
}

.pond-card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}

.pond-card h3{
  margin:0 0 8px;
  font-size:1.1rem;
}

.pond-card p{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.6;
}

.pond-card p:last-child{
  margin-bottom:0;
}

/* Hinweisbox */
.pond-note{
  background:var(--green-soft);
  border:1px solid rgba(22,101,52,.25);
  border-radius:var(--radius);
  padding:16px;
}

.pond-note h3{
  margin:0 0 8px;
  color:rgba(0,0,0,.82);
}

.pond-note p{
  margin:0;
  color:rgba(0,0,0,.72);
  line-height:1.6;
}

/* =====================
   Teich Navigation (Vor/Nach) – modern & mobil schön
===================== */
.pond-nav{
  margin-top:16px;

  /* weniger "Doppel-Card": nur ein leichter Rahmen */
  background:transparent;
  border:0;
  box-shadow:none;
  padding:0;
}

.pond-nav__inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.pond-nav__link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;

  padding:12px 14px;
  border-radius:14px;

  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 8px 20px rgba(0,0,0,.08);

  color:rgba(0,0,0,.86);
  text-decoration:none;
  font-weight:800;

  transition:transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.pond-nav__link:hover{
  background:rgba(0,0,0,.02);
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}

.pond-nav__link:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:2px;
}

/* linke/rechte Ausrichtung */
.pond-nav__prev{ justify-content:flex-start; }
.pond-nav__next{ justify-content:flex-end; }

/* Auf Mobile untereinander + Pfeil sitzt "richtig" */
@media (max-width:600px){
  /* bleibt nebeneinander */
  .pond-nav__inner{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  /* Text darf umbrechen statt “gequetscht” */
  .pond-nav__link{
    padding:10px 12px;
    font-size:.95rem;
    line-height:1.2;
    white-space:normal;     /* wichtig */
    min-height:48px;        /* gleiche Button-Höhe / Touch */
  }

  /* Links: Pfeil + Name linksbündig */
  .pond-nav__prev{
    justify-content:flex-start;
    text-align:left;
  }

  /* Rechts: Name + Pfeil rechtsbündig */
  .pond-nav__next{
    justify-content:flex-end;
    text-align:right;
  }
}

/* =====================
   Teich-Galerie (unter Geschichte/Gewässerdaten)
===================== */
.pond-gallery h3{
  margin-bottom:12px;
}

.pond-gallery__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

@media (min-width:900px){
  .pond-gallery__grid{
    grid-template-columns:1fr 1fr;
  }
}

.pond-gallery__item{
  margin:0;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}

.pond-gallery__item img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:cover;
  transform:scale(1);
  transition:transform .25s ease;
}

.pond-gallery__item:hover img{
  transform:scale(1.03);
}

.pond-gallery__item figcaption{
  padding:10px 12px;
  font-size:.92rem;
  color:rgba(0,0,0,.70);
  border-top:1px solid rgba(0,0,0,.08);
}
