/* ============================================================
   Windsen — Ausmal- & Lernbücher · Landing Page
   ============================================================ */

:root {
  --bg: #fffdf8;
  --surface: #ffffff;
  --surface-alt: #fff3e0;
  --ink: #3a3340;
  --ink-soft: #5c5566;
  --muted: #8b8494;
  --line: #f0e6d6;

  --red: #ff6f61;
  --red-deep: #ec5546;
  --yellow: #ffc23c;
  --blue: #37bce8;
  --green: #4cc47a;
  --purple: #9d6ce0;
  --pink: #ff8fb1;
  --amazon: #ffa41c;
  --amazon-deep: #ef9012;

  --accent: #ff6f61;
  --accent-deep: #ec5546;

  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(80, 50, 30, 0.35);
  --maxw: 1120px;

  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; font-weight: 700; margin: 0 0 0.4em; letter-spacing: -0.01em; }
a { color: inherit; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 800; color: var(--red); margin: 0 0 0.9rem; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,194,60,0.28); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Hinweisleiste ---------- */
.draft-banner { background: var(--ink); color: #fdeede; text-align: center; font-size: 0.8rem; font-weight: 600; line-height: 1.4; padding: 9px 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,253,248,0.9); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 3px 10px -3px rgba(40,60,120,0.4); background: #fff; }
.brand-logo.small { width: 30px; height: 30px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: 0.98rem; transition: color 0.15s ease; }
.site-nav a:hover { color: var(--red); }
.nav-cta { padding: 9px 18px; border-radius: 999px; background: var(--amazon); color: #2a2118 !important; box-shadow: 0 4px 0 var(--amazon-deep); }
.nav-cta:hover { transform: translateY(1px); box-shadow: 0 3px 0 var(--amazon-deep); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; padding: 14px 30px; border-radius: 999px; transition: transform 0.1s ease, box-shadow 0.15s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 5px 0 var(--red-deep); }
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--red-deep); }
.btn-amazon { background: var(--amazon); color: #2a2118; box-shadow: 0 5px 0 var(--amazon-deep); }
.btn-amazon:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--amazon-deep); }
.btn-light { background: #fff; color: var(--red); box-shadow: 0 5px 0 rgba(0,0,0,0.14); }
.btn-light:hover { transform: translateY(2px); box-shadow: 0 3px 0 rgba(0,0,0,0.14); }
.btn-block { display: block; text-align: center; width: 100%; margin-top: auto; font-size: 0.95rem; padding: 12px 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 94px; text-align: center;
  background: radial-gradient(60% 60% at 85% 12%, rgba(55,188,232,0.14), transparent 60%), radial-gradient(55% 55% at 8% 90%, rgba(255,143,177,0.16), transparent 60%), var(--bg); }
.hero-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.hero .eyebrow { justify-content: center; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); margin-bottom: 0.35em; }
.hl { background: linear-gradient(180deg, transparent 60%, rgba(255,194,60,0.6) 0); padding: 0 0.08em; border-radius: 4px; color: var(--red); }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 620px; margin: 0 auto 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-note { margin: 1.6rem 0 0; color: var(--muted); font-weight: 700; font-size: 0.95rem; }

.blob { position: absolute; border-radius: 50%; z-index: 1; filter: blur(1px); opacity: 0.5; }
.blob-1 { width: 120px; height: 120px; background: var(--yellow); top: 60px; left: 7%; }
.blob-2 { width: 80px; height: 80px; background: var(--blue); top: 120px; right: 11%; }
.blob-3 { width: 150px; height: 150px; background: var(--green); bottom: 10px; left: 15%; opacity: 0.38; }
.blob-4 { width: 100px; height: 100px; background: var(--pink); bottom: 30px; right: 9%; }
.star { position: absolute; z-index: 1; color: var(--pink); font-size: 2rem; }
.star-1 { top: 88px; right: 23%; transform: rotate(12deg); }
.star-2 { bottom: 84px; left: 33%; transform: rotate(-10deg); font-size: 1.4rem; color: var(--yellow); }
.squiggle { position: absolute; z-index: 1; top: 200px; left: 5%; font-size: 2.4rem; color: var(--purple); opacity: 0.7; transform: rotate(-8deg); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Malbuch-Grid (4 Bücher) ---------- */
.book-grid { display: grid; gap: 26px; }
.book-grid.four { grid-template-columns: repeat(4, 1fr); }

.book-card { background: var(--surface); border: 2px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.16s ease, box-shadow 0.25s ease, border-color 0.2s ease; }
.book-card:hover { transform: translateY(-6px); border-color: var(--yellow); box-shadow: 0 30px 52px -26px rgba(80,50,30,0.5); }

.book-cover { display: block; border-radius: 14px; overflow: hidden; background: #fff; aspect-ratio: 1 / 1.15; box-shadow: 0 10px 22px -14px rgba(0,0,0,0.4); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.book-card:hover .book-cover img { transform: scale(1.04); }

.book-body { display: flex; flex-direction: column; flex: 1; padding: 16px 8px 8px; }
.age-badge { align-self: flex-start; background: #fff0d6; color: #b9761a; font-weight: 800; font-size: 0.74rem; padding: 4px 11px; border-radius: 999px; margin-bottom: 9px; }
.book-body h3 { font-size: 1.16rem; margin-bottom: 0.3em; line-height: 1.15; }
.book-desc { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 12px; }
.rating { font-size: 0.9rem; color: var(--ink-soft); font-weight: 700; margin-bottom: 16px; }
.rating .stars { color: #ffb400; letter-spacing: 1px; }
.rating .rating-count { color: var(--muted); font-weight: 600; }

/* ---------- Warum Windsen ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: var(--surface); border: 2px solid var(--line); border-radius: 22px; padding: 26px 22px; text-align: center; box-shadow: var(--shadow); transition: transform 0.16s ease; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 20px; font-size: 30px; }
.ic-red { background: #ffe3df; } .ic-blue { background: #d7f2fb; } .ic-green { background: #d9f4e3; } .ic-purple { background: #eee1fb; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.feature-card p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* ---------- Über uns ---------- */
.about-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.about-text p { color: var(--ink-soft); margin: 0 0 1.1em; }
.about-text .btn { margin-top: 8px; }
.about-visual { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.about-logo { width: 210px; height: 210px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 22px 44px -20px rgba(40,60,120,0.5); }
.about-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.about-facts li { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.fact-emoji { font-size: 1.6rem; }
.about-facts li div { display: flex; flex-direction: column; }
.fact-num { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--red); line-height: 1.1; }
.fact-label { color: var(--muted); font-size: 0.82rem; }

/* ---------- Kontakt (CTA-Band) ---------- */
.section-cta { background: linear-gradient(135deg, var(--red), var(--purple)); color: #fff; }
.contact-inner { max-width: 620px; text-align: center; margin: 0 auto; }
.section-cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 2.9rem); }
.contact-lead { color: rgba(255,255,255,0.92); font-size: 1.1rem; margin: 0 0 1.8rem; }
.contact-note { color: rgba(255,255,255,0.8); font-size: 0.88rem; margin: 1.1rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d8d2df; padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: #d8d2df; text-decoration: none; font-size: 0.95rem; font-weight: 700; transition: color 0.15s ease; }
.footer-nav a:hover { color: var(--yellow); }
.copyright { width: 100%; color: #9891a3; font-size: 0.82rem; margin: 8px 0 0; }
.copyright em { font-style: italic; }

/* ---------- Rechts-Seiten ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 90px; }
.legal a.back { display: inline-block; margin-bottom: 28px; color: var(--red); text-decoration: none; font-weight: 800; font-family: var(--font-display); }
.legal a.back:hover { text-decoration: underline; }
.legal h1 { font-size: 2.3rem; margin-bottom: 0.6em; }
.legal h2 { font-size: 1.3rem; margin: 1.8em 0 0.5em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .placeholder { background: #fff0d6; border: 1px dashed var(--red); border-radius: 6px; padding: 2px 7px; color: var(--red-deep); font-weight: 700; }
.legal .note { background: var(--surface-alt); border-left: 4px solid var(--red); border-radius: 8px; padding: 16px 18px; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .book-grid.four { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 34px; }
  .about-visual { order: -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 62px 0 66px; }
  .section { padding: 56px 0; }
  .book-grid.four { grid-template-columns: 1fr 1fr; gap: 16px; }
  .book-body { padding: 12px 4px 4px; }
  .book-body h3 { font-size: 1.02rem; }
  .feature-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
