
:root {
  --blue-950: #072f61;
  --blue-900: #0a407e;
  --blue-800: #0d559f;
  --blue-700: #146fc2;
  --blue-500: #43b4eb;
  --sky: #86d7f7;
  --sky-soft: #e7f8ff;
  --yellow: #ffd34d;
  --yellow-soft: #fff4c5;
  --orange: #ff952b;
  --green: #73c655;
  --pink: #ed6d9c;
  --purple: #8c62bb;
  --aqua: #28ada8;
  --cream: #fffaf0;
  --ink: #173e6c;
  --muted: #58728d;
  --white: #ffffff;
  --shadow-sm: 0 10px 25px rgba(9, 69, 124, .10);
  --shadow-lg: 0 24px 60px rgba(9, 69, 124, .18);
  --radius-lg: 30px;
  --radius-md: 20px;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-rounded, "Trebuchet MS", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

body.menu-open { overflow: hidden; }

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Kopfbereich */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(13, 85, 159, .08);
  box-shadow: 0 4px 22px rgba(9, 69, 124, .07);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-star {
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: var(--yellow);
  border: 4px solid #fff;
  box-shadow: 0 7px 18px rgba(211, 153, 12, .24);
  font-size: 29px;
  line-height: 1;
  transform: rotate(-7deg);
}

.brand-star.small {
  width: 42px;
  border-radius: 14px;
  font-size: 22px;
}

.brand-name {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  column-gap: 2px;
  color: var(--blue-950);
  font-weight: 950;
  font-size: 1.48rem;
  line-height: .92;
}

.brand-name strong {
  color: var(--orange);
}

.brand-name em {
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 1.26rem;
  font-style: normal;
  letter-spacing: .04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  font-weight: 850;
  color: var(--blue-900);
}

.main-nav a {
  transition: color .18s ease, transform .18s ease;
}

.main-nav a:hover {
  color: var(--orange);
  transform: translateY(-1px);
}

.nav-highlight {
  padding: 10px 16px;
  color: #fff !important;
  background: var(--blue-700);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(20, 111, 194, .22);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  border-radius: 14px;
  background: var(--sky-soft);
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 3px;
  margin: 4px 0;
  border-radius: 99px;
  background: var(--blue-800);
}

/* Grundelemente */
.kicker {
  margin: 0 0 10px;
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--blue-700);
  box-shadow: 0 10px 22px rgba(20, 111, 194, .24);
}

.button-white {
  color: var(--blue-900);
  background: #fff;
  border: 2px solid rgba(13, 85, 159, .12);
  box-shadow: var(--shadow-sm);
}

.button-disabled {
  color: #7b8da0;
  background: #e9eff4;
  cursor: not-allowed;
}

.text-link {
  color: var(--blue-700);
  font-weight: 900;
}

.section {
  padding: 82px clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.12;
}

.section-heading > p:last-child {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  overflow: hidden;
  padding: 74px max(24px, calc((100vw - var(--content)) / 2)) 118px;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, .9) 0 5px, transparent 6px),
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, .75) 0 4px, transparent 5px),
    radial-gradient(circle at 83% 12%, rgba(255, 255, 255, .85) 0 5px, transparent 6px),
    linear-gradient(180deg, #91ddfa 0%, #70ccf2 100%);
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 5;
}

.hero-content {
  max-width: 660px;
}

.hero h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(3rem, 6.2vw, 5.35rem);
  line-height: 1.01;
  letter-spacing: -.035em;
}

.hero h1 span {
  color: #fff;
  text-shadow: 0 4px 0 rgba(9, 69, 124, .09);
}

.hero-intro {
  max-width: 630px;
  margin: 22px 0 0;
  color: #24577f;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-benefits span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--blue-900);
  background: rgba(255, 255, 255, .68);
  font-size: .88rem;
  font-weight: 850;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.cover-stage {
  position: relative;
  width: min(390px, 88%);
}

.cover-frame {
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-cover {
  width: min(320px, 78vw);
  aspect-ratio: 17 / 22;
  margin: 0 auto;
  padding: 8px;
  transform: rotate(1.2deg);
}

.pandi-bubble {
  position: absolute;
  right: -7px;
  bottom: 28px;
  width: clamp(92px, 10vw, 132px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  border: 7px solid var(--yellow-soft);
  box-shadow: 0 14px 28px rgba(9, 69, 124, .20);
}

.pandi-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pandi-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff4be;
}

.floating-tile {
  position: absolute;
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 18px;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 950;
  box-shadow: var(--shadow-sm);
}

.tile-a {
  left: -12px;
  top: 82px;
  background: var(--orange);
  transform: rotate(-11deg);
}

.tile-one {
  right: -8px;
  top: 72px;
  background: var(--blue-700);
  transform: rotate(8deg);
}

.tile-star {
  left: 6px;
  bottom: 42px;
  color: #fff;
  background: var(--green);
  transform: rotate(9deg);
}

.sky-star {
  position: absolute;
  z-index: 2;
  color: var(--yellow);
  text-shadow: 0 4px 12px rgba(214, 155, 0, .18);
}

.star-a { left: 5%; top: 75px; font-size: 34px; transform: rotate(-12deg); }
.star-b { left: 46%; top: 60px; font-size: 26px; }
.star-c { right: 6%; top: 95px; font-size: 40px; transform: rotate(8deg); }

.cloud {
  position: absolute;
  z-index: 1;
  height: 62px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.cloud-a {
  left: -55px;
  top: 340px;
  width: 240px;
}

.cloud-a::before { width: 92px; height: 92px; left: 48px; top: -42px; }
.cloud-a::after { width: 112px; height: 112px; right: 28px; top: -62px; }

.cloud-b {
  right: -42px;
  top: 385px;
  width: 195px;
}

.cloud-b::before { width: 78px; height: 78px; left: 32px; top: -34px; }
.cloud-b::after { width: 90px; height: 90px; right: 20px; top: -46px; }

.rainbow {
  position: absolute;
  z-index: 2;
  left: -38px;
  bottom: 2px;
  width: 190px;
  height: 96px;
  overflow: hidden;
  border-radius: 190px 190px 0 0;
}

.rainbow i {
  position: absolute;
  border-style: solid;
  border-bottom: 0;
  border-radius: 190px 190px 0 0;
}

.rainbow i:nth-child(1) { inset: 0; border-width: 16px; border-color: #ff6666; }
.rainbow i:nth-child(2) { inset: 15px; border-width: 15px; border-color: #ffc64a; }
.rainbow i:nth-child(3) { inset: 29px; border-width: 14px; border-color: #73c655; }
.rainbow i:nth-child(4) { inset: 42px; border-width: 13px; border-color: #43aee8; }

.hill {
  position: absolute;
  z-index: 1;
  bottom: -82px;
  border-radius: 50% 50% 0 0;
}

.hill-left {
  left: 9%;
  width: 390px;
  height: 170px;
  background: #9bdd6b;
}

.hill-right {
  right: -20px;
  width: 510px;
  height: 180px;
  background: #76c95c;
}

/* Bücher */
.books-section {
  background: var(--cream);
}

.featured-book {
  width: min(var(--content), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 330px) 1fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 50px);
  background: #fff;
  border: 1px solid rgba(13, 85, 159, .08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.featured-cover {
  display: grid;
  place-items: center;
}

.book-card-cover {
  width: min(230px, 60vw);
  aspect-ratio: 17 / 22;
  padding: 6px;
}

.featured-copy h3 {
  margin: 10px 0 8px;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.featured-copy > p {
  color: var(--muted);
  line-height: 1.7;
}

.status-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--yellow-soft);
  font-size: .8rem;
  font-weight: 950;
}

.book-subtitle {
  color: var(--aqua) !important;
  font-weight: 900;
}

.book-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 24px;
}

.book-pills span {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--sky-soft);
  font-size: .84rem;
  font-weight: 900;
}

.planned-grid {
  width: min(var(--content), 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.planned-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  text-align: center;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.planned-card p {
  margin: 15px 0 4px;
  color: rgba(255, 255, 255, .85);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.planned-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.planned-card > span {
  margin-top: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, .9);
  font-size: .76rem;
  font-weight: 900;
}

.planned-icon {
  width: 76px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, .92);
  font-size: 1.4rem;
  font-weight: 950;
}

.card-green { background: linear-gradient(150deg, #61bc4e, #9cda62); }
.card-orange { background: linear-gradient(150deg, #ff8d25, #ffc34b); }
.card-pink { background: linear-gradient(150deg, #e95d91, #f99fbe); }
.card-purple { background: linear-gradient(150deg, #8052ad, #ad87d2); }
.card-aqua { background: linear-gradient(150deg, #159e9c, #43c9c0); }

/* Lernbereiche */
.learning-section {
  background: #fff;
}

.learning-grid {
  width: min(1050px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.learning-card {
  min-height: 250px;
  padding: 30px 22px;
  text-align: center;
  border-radius: 26px;
}

.learning-card h3 {
  margin: 16px 0 8px;
  color: var(--blue-950);
  font-size: 1.2rem;
}

.learning-card p {
  margin: 0;
  color: var(--muted);
}

.learning-symbol {
  min-height: 72px;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 3rem;
  font-weight: 950;
}

.learning-symbol span {
  color: var(--green);
}

.learn-green { background: #e7f7e1; }
.learn-blue { background: #e4f4ff; }
.learn-yellow { background: #fff3cf; }
.learn-purple { background: #f0e6f7; }

/* Über uns */
.about-section {
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(0, 680px);
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  overflow: hidden;
  padding: 78px clamp(22px, 6vw, 80px);
  background: linear-gradient(180deg, #e4f7ff, #c7edff);
}

.about-section::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 135px;
  left: -95px;
  bottom: -48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
}

.about-pandi,
.about-copy {
  position: relative;
  z-index: 2;
}

.about-pandi {
  text-align: center;
}

.pandi-portrait {
  width: 215px;
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  border: 9px solid #fff4bd;
  box-shadow: var(--shadow-lg);
}

.pandi-name {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--blue-900);
  background: #fff;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.about-copy h2 {
  margin: 0 0 16px;
  color: var(--blue-950);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.12;
}

.about-copy p {
  color: #315f83;
  line-height: 1.72;
}

/* Zähler und Eltern */
.visitor-section {
  padding: 64px 22px;
  background: #fffaf0;
}

.visitor-card {
  width: min(850px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 28px;
  padding: 30px 38px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.visitor-star {
  width: 105px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 32px;
  color: #fff;
  background: var(--yellow);
  border: 6px solid var(--yellow-soft);
  font-size: 56px;
  transform: rotate(-7deg);
}

.visitor-card h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.visitor-count {
  margin: 8px 0 0;
  color: var(--orange);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 950;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.visitor-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.parent-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px max(24px, calc((100vw - var(--content)) / 2));
  color: #fff;
  background: var(--blue-700);
}

.parent-section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.55rem);
}

.parent-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: #dceeff;
}

.parent-section .kicker {
  color: var(--yellow);
}

/* Footer */
.site-footer {
  padding: 50px max(22px, calc((100vw - var(--content)) / 2)) 24px;
  color: #fff;
  background: var(--blue-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr 1fr .95fr;
  gap: 34px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.05rem;
}

.site-footer p {
  color: #d3e5f5;
}

.site-footer a {
  display: block;
  margin: 7px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
}

.footer-cloud {
  align-self: start;
  display: grid;
  justify-items: center;
  padding: 24px;
  border-radius: 28px;
  color: var(--blue-900);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.footer-cloud span {
  color: var(--yellow);
  font-size: 2.4rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #d3e5f5;
  font-size: .86rem;
}

.footer-bottom nav {
  display: flex;
  gap: 18px;
}

/* Unterseiten */
.subpage-main {
  min-height: calc(100vh - 78px);
  padding: 48px max(22px, calc((100vw - var(--content)) / 2)) 80px;
  background: linear-gradient(180deg, #e7f8ff, #fffaf0);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: .88rem;
}

.breadcrumb a {
  color: var(--blue-700);
  font-weight: 850;
}

.book-detail {
  display: grid;
  grid-template-columns: minmax(250px, 390px) 1fr;
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.book-detail-visual {
  display: grid;
  place-items: center;
}

.detail-cover {
  width: min(350px, 78vw);
  aspect-ratio: 17 / 22;
  padding: 8px;
}

.book-detail-copy {
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
}

.book-detail-copy h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.04;
}

.book-detail-lead {
  margin: 13px 0 18px;
  color: var(--aqua);
  font-size: 1.14rem;
  font-weight: 950;
}

.book-detail-copy > p {
  color: var(--muted);
  line-height: 1.72;
}

.book-detail-copy h2 {
  margin: 30px 0 12px;
  color: var(--blue-900);
}

.book-pills.large {
  margin-bottom: 0;
}

.check-list {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--yellow);
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.info-box,
.legal-note {
  margin-top: 22px !important;
  padding: 15px 17px;
  border-radius: 16px;
  color: #5e6c55 !important;
  background: #fff5c9;
}

.legal-page {
  display: grid;
  place-items: start center;
}

.legal-card {
  width: min(900px, 100%);
  padding: clamp(26px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.legal-card h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2.2rem, 5vw, 3.45rem);
}

.legal-card h2 {
  margin: 32px 0 9px;
  color: var(--blue-900);
  font-size: 1.28rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-card a:not(.button) {
  color: var(--blue-700);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.updated {
  margin-top: 8px;
  font-size: .9rem;
}

.legal-back {
  margin-top: 32px;
}

.error-main {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 50px 22px;
  background: linear-gradient(180deg, #e7f8ff, #fffaf0);
}

.error-card {
  width: min(680px, 100%);
  padding: clamp(34px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.error-star {
  display: block;
  color: var(--yellow);
  font-size: 5rem;
}

/* Responsive */
@media (max-width: 1080px) {
  .planned-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 11px 12px;
    border-radius: 11px;
  }

  .nav-highlight {
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-buttons,
  .hero-benefits {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 10px;
  }

  .learning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-copy {
    max-width: 720px;
    margin: 0 auto;
  }

  .book-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
  }

  .brand-star {
    width: 45px;
    border-radius: 15px;
    font-size: 24px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-name em {
    font-size: 1.05rem;
  }

  .main-nav {
    inset: 70px 16px auto;
  }

  .hero {
    padding-inline: 20px;
    padding-bottom: 105px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-cover {
    width: min(260px, 68vw);
  }

  .pandi-bubble {
    right: 3px;
    bottom: 20px;
    width: 96px;
  }

  .floating-tile {
    width: 45px;
    border-radius: 14px;
    font-size: 1.25rem;
  }

  .tile-a { left: 4px; }
  .tile-one { right: 6px; }
  .tile-star { left: 18px; }

  .section {
    padding: 64px 18px;
  }

  .featured-book {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-pills {
    justify-content: center;
  }

  .planned-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planned-card {
    min-height: 220px;
  }

  .visitor-card {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 28px 22px;
    text-align: center;
  }

  .visitor-star {
    width: 88px;
    font-size: 46px;
  }

  .parent-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .book-detail-copy {
    padding: 26px 21px;
  }
}

@media (max-width: 430px) {
  .planned-grid,
  .learning-grid {
    grid-template-columns: 1fr;
  }

  .planned-card {
    min-height: 195px;
  }

  .hero-benefits {
    display: none;
  }

  .hero-cover {
    width: min(235px, 66vw);
  }

  .pandi-portrait {
    width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 880px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .pandi-portrait {
    width: 185px;
  }
  .about-copy {
    max-width: 680px;
  }
}
