/* =========================================================
   TEDDYNASH SCHOOL CSS – VERSION 2
   Ruhig, warm, dezent und gut lesbar
   ========================================================= */

/* =========================
   Farben und Größen
   ========================= */

:root {
  --school-bg: #120b08;
  --school-text: #f3e9df;
  --school-soft: #d7c6b9;
  --school-muted: #bda99a;

  --school-accent: #cdb69f;
  --school-accent-light: #efe1d3;

  --school-line: rgba(239, 225, 211, 0.17);
  --school-line-strong: rgba(239, 225, 211, 0.34);

  --school-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
  --school-shadow-hover: 0 24px 62px rgba(0, 0, 0, 0.60);

  --school-radius: 10px;
  --school-max: 1000px;
}


/* =========================
   Grundaufbau
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  min-height: 100vh;

  color: var(--school-text);
  font: 16px/1.7 Arial, Helvetica, sans-serif;

  background-color: var(--school-bg);

  background-image:
    linear-gradient(
      rgba(18, 8, 5, 0.48),
      rgba(18, 8, 5, 0.64)
    ),
    url("PC-Grundschule-Hintergrund.webp");

 background-position: center top;
  background-repeat: repeat; 
   background-size: 1536px auto;
    background-attachment: scroll;

}


.wrap {
  max-width: var(--school-max);
  margin: 0 auto;
  padding: 55px 14px 68px;
}



/* =========================
   Navigation
   ========================= */

.pager {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 32px;
}

.navbtn {
  min-width: 165px;
  padding: 12px 22px;

  text-align: center;
  color: var(--school-text);
  text-decoration: none;
  letter-spacing: 0.02em;

  border: 1px solid var(--school-line-strong);
  border-radius: 8px;

  background:
    linear-gradient(
      135deg,
      rgba(205, 182, 159, 0.13),
      rgba(110, 85, 66, 0.18)
    );

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.navbtn:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 225, 211, 0.52);

  background:
    linear-gradient(
      135deg,
      rgba(205, 182, 159, 0.20),
      rgba(110, 85, 66, 0.24)
    );

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}


/* =========================
   Titel
   ========================= */

.titel-klein {
  margin: 8px 0 6px;

  text-align: center;
  color: var(--school-soft);
  font-size: 21px;
  letter-spacing: 0.025em;
}



h1 {
  margin: 0;
  text-align: center;
  color: var(--school-accent-light);
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.titel-info {
  margin: 18px 0 42px;

  text-align: center;
  color: var(--school-soft);
  font-size: 20px;
}


/* =========================
   Datumszeilen
   ========================= */

.date {
  margin: 6px auto 34px;

  text-align: center;
  color: var(--school-accent-light);
  font-size: 19px;
  letter-spacing: 0.025em;
}

.date::before,
.date::after {
  content: "";
  display: inline-block;

  width: 58px;
  height: 1px;
  margin: 0 14px 5px;

  background: var(--school-line-strong);
}


/* =========================
   Statuskasten
   ========================= */

.card {
  text-align: center;
}

.biggap {
  max-width: 790px;
  margin: 0 auto 36px;
  padding: 20px 22px;

  text-align: center;
  color: var(--school-soft);

  border: 1px solid var(--school-line);
  border-radius: 10px;

  background:
    linear-gradient(
      145deg,
      rgba(35, 22, 16, 0.56),
      rgba(20, 12, 9, 0.46)
    );

  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
}

.status-title {
  margin-bottom: 12px;

  text-align: center;
  color: var(--school-accent-light);
  font-size: 26px;
  font-weight: 700;
}


/* =========================
   Bilder
   ========================= */

figure {
  margin: 0 0 66px;
  text-align: center;
}

figure img {
  display: block;

  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;

  border: none;
  border-radius: var(--school-radius);



  box-shadow: 0 10px 28px rgba(0,0,0,.35);



  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}




figure:hover img {
  transform: translateY(-2px);
  box-shadow: var(--school-shadow-hover);
}

figcaption {
  max-width: 770px;
  margin: 18px auto 0;

  text-align: center;
  color: #e5d6ca;
  font-size: 18px;
  line-height: 1.65;
}

.zoom-link {
  display: inline-block;
  max-width: 100%;
  text-decoration: none;
}


/* =========================
   Abschlussseite
   ========================= */

body.abschlussseite .endcard {
  max-width: 780px;
  margin: 46px auto 0;
  padding: 28px 22px;

  text-align: center;
  color: var(--school-soft);

  border-top: 1px solid var(--school-line-strong);
  border-bottom: 1px solid var(--school-line);

  background: rgba(22, 13, 10, 0.24);
}

.endsub {
  margin-bottom: 28px;
  color: #e3d3c6;
  font-size: 18px;
}

.divider {
  width: 120px;
  height: 1px;
  margin: 28px auto;
  background: var(--school-line-strong);
}

.gear-title {
  margin-bottom: 14px;
  color: var(--school-accent-light);
  font-size: 22px;
}

.gear-list {
  color: #d8c6b9;
  line-height: 1.9;
  font-size: 18px;
}

.copyright {
  color: var(--school-muted);
  font-size: 16px;
  line-height: 1.8;
}

.copyright a {
  color: var(--school-accent-light);
  text-decoration: none;
}


/* =========================
   Footer mit Kindern
   ========================= */

.kids-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
  flex-wrap: wrap;

  margin: 42px auto 18px;
}

.school-kid {
  display: block;

  width: auto;
  max-width: 200px;
  height: auto;

  opacity: 0.72;
}

.footer-box {
  display: inline-block;
  min-width: 220px;
  padding: 16px 22px;

  color: #d5c3b7;
  line-height: 1.7;
  text-align: center;

  border: 1px solid var(--school-line);
  border-radius: 12px;

  background: rgba(22, 13, 10, 0.34);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

.footer-box a {
  color: var(--school-accent-light);
  text-decoration: none;
}


/* =========================
   Überschriften im Inhalt
   ========================= */

h2,
h3 {
  text-align: center;
  color: var(--school-accent-light);
}

h2 {
  margin: 50px 0 25px;
  font-size: 2rem;
}

h3 {
  margin: 36px 0 20px;
}


/* =========================
   Tablet
   ========================= */


  .titel-klein {
    font-size: 19px;
  }

  .titel-info {
    font-size: 18px;
  }

  .status-title {
    font-size: 24px;
  }
}


/* =========================
   Smartphone
   ========================= */

@media (max-width: 700px) {
  body {
    background-attachment: scroll;
    background-position: center top;
  }

  .wrap {
    padding: 22px 9px 52px;
  }

  .pager {
    gap: 10px;
    margin-bottom: 26px;
  }

  .navbtn {
    min-width: 142px;
    padding: 11px 16px;
    font-size: 0.98rem;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 1.55rem;
  }

  .titel-info {
    margin-bottom: 34px;
    font-size: 17px;
  }

  .biggap {
    padding: 17px 14px;
  }

  .status-title {
    font-size: 22px;
  }

  figure {
    margin-bottom: 46px;
  }

  figcaption {
    padding: 0 5px;
    font-size: 17px;
    line-height: 1.55;
  }

  .date::before,
  .date::after {
    width: 28px;
    margin-left: 9px;
    margin-right: 9px;
  }

  .kids-footer {
    gap: 20px;
  }

  .school-kid {
    max-width: 145px;
    opacity: 0.66;
  }
}



/* =========================
   Sehr kleine Smartphones
   ========================= */

@media (max-width: 430px) {
  .pager {
    flex-direction: column;
    align-items: center;
  }

  .navbtn {
    width: min(100%, 250px);
  }

  .kids-footer {
    flex-direction: column;
  }

  .school-kid {
    max-width: 130px;
  }
}


/* =========================
   Weniger Bewegung
   ========================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
