/* Betty Balletti – Website
   Farben aus Bettys Bildern: Logo-Rosa #f08aa9, Pflaume #7e3a5a, Buch-Blau #358fb5, Sonnengelb #ffc93c, Mint #3fd0b8, Pflaume #3b1530
   Schriften: Baloo 2 (Überschriften), Nunito (Text) – lokal gehostet, keine Google-Verbindung */

@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url(fonts/baloo-2-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url(fonts/baloo-2-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(fonts/nunito-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url(fonts/nunito-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(fonts/nunito-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(fonts/nunito-latin-800-normal.woff2) format("woff2"); }

:root {
  --pink: #f08aa9; --berry: #7e3a5a; --berry-d: #5c2943; --sky: #358fb5; --yellow: #ffc93c; --mint: #3fd0b8;
  --plum: #3b1f33; --plum-d: #4a2842; --blush: #ffe3ee; --rose: #ffd6e5; --blue: #bfe0ff; --lila: #dcc8ff;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--blush); color: var(--plum); font: 400 18px/1.65 Nunito, system-ui, sans-serif; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry); }
h1, h2, h3 { font-family: "Baloo 2", system-ui, sans-serif; font-weight: 800; line-height: 1.08; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h1.big { font-size: clamp(46px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.4vw, 54px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.band { padding: clamp(48px, 7vw, 88px) 0; }
.band-pink { background: var(--pink); }
.band-yellow { background: var(--yellow); }
.band-mint { background: var(--mint); color: #0e3b35; }
.band-rose { background: var(--rose); }
.band-blue { background: var(--blue); }
.band-lila { background: var(--lila); }
.berry { color: var(--berry); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Buttons & Kleinteile */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 5px 0 rgba(59, 21, 48, .3); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 rgba(59, 21, 48, .3); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.btn-berry { background: var(--berry); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--plum); }
.btn-white { background: #fff; color: var(--berry); }
.pill { display: inline-block; background: var(--yellow); color: var(--plum); font-weight: 800; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px; }
.link { font-weight: 800; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link.dark { color: var(--plum); }
.more { font-weight: 800; color: var(--berry); margin-top: auto; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 32px; }
.sec-head p { margin: 0; font-size: 19px; }
.card { background: #fff; border-radius: 30px; box-shadow: 0 6px 0 rgba(59, 21, 48, .12); }

/* Kopf */
.site-head { background: #fff; border-bottom: 6px solid var(--yellow); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 74px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; }
.main-nav a { color: var(--plum); text-decoration: none; font-weight: 800; font-size: 17px; padding: 9px 16px; border-radius: 999px; }
.main-nav a:hover { background: var(--blush); }
.main-nav a[aria-current] { background: var(--pink); color: #fff; }
.shop-btn { font-weight: 800; font-size: 15px; color: var(--berry); text-decoration: none; border: 2px solid var(--berry); border-radius: 999px; padding: 8px 18px; }
.shop-btn:hover { background: var(--berry); color: #fff; }
@media (max-width: 760px) {
  .head-in { justify-content: center; gap: 8px; }
  .logo img { height: 60px; }
  .main-nav { flex: 1 1 100%; justify-content: center; }
  .main-nav a { font-size: 16px; padding: 8px 12px; }
  .shop-btn { display: none; }
}

/* Hero */
.hero-in { display: grid; gap: 40px; align-items: center; }
.hero-in.has-pic { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.page-hero h1, .home-hero h1 { color: #fff; text-shadow: 0 4px 0 #c95f7e; }
.lead { font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; max-width: 600px; }
.quote { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(21px, 2.2vw, 26px); color: var(--plum); line-height: 1.25; }
.hero-pic img { max-height: 380px; width: auto; margin: 0 auto; filter: drop-shadow(0 10px 0 rgba(122, 14, 61, .18)); }
.hero-photo { position: relative; }
.hero-photo > img { border: 10px solid #fff; border-radius: 44px; transform: rotate(1.5deg); box-shadow: 0 14px 0 rgba(122, 14, 61, .2); }
.sticker { position: absolute; left: -16px; bottom: 26px; display: flex; align-items: center; gap: 10px; background: var(--mint); color: #0e3b35; font-weight: 800; font-size: 16px; line-height: 1.2; padding: 10px 18px 10px 10px; border-radius: 999px; border: 4px solid #fff; transform: rotate(-3deg); }
.sticker img { width: 46px; height: 46px; object-fit: cover; object-position: top; border-radius: 50%; }
@media (max-width: 820px) {
  .hero-in.has-pic { grid-template-columns: 1fr; }
  .hero-pic img { max-height: 240px; }
  .sticker { left: 6px; bottom: 14px; }
  .hero-photo > img { transform: none; }
}

/* Freunde */
.friends { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.friend { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 8px 18px; border-radius: 28px; color: var(--plum); text-decoration: none; transition: transform .2s; }
.friend:hover { transform: translateY(-4px) rotate(-1.5deg); }
.friend img { width: 100%; max-width: 130px; }
.fn { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 20px; line-height: 1.1; }
.fl { font-size: 14px; font-weight: 600; line-height: 1.35; }
.c-yellow { background: var(--yellow); } .c-mint { background: #8fe6d6; } .c-rose { background: #ffb3cf; } .c-blue { background: #a9d4ff; } .c-lila { background: #d4b8ff; }
@media (max-width: 1000px) { .friends { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .friends { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Buch */
.book-box { background: var(--sky); color: #fff; border-radius: 40px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.book { border-radius: 6px 16px 16px 6px; box-shadow: -10px 0 0 #23607a, 0 18px 0 rgba(0, 0, 0, .2); transform: rotate(-2deg); }
.book-box p { font-size: 19px; }
@media (max-width: 760px) { .book-box { grid-template-columns: 1fr; } .book { max-width: 260px; margin: 0 auto; } }

/* Raster & Karten */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .grid5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid3, .grid5 { grid-template-columns: 1fr; } }
.story-card, .tile { display: flex; flex-direction: column; padding: 18px 18px 22px; color: var(--plum); text-decoration: none; transition: transform .2s; }
.story-card:hover, .tile:hover { transform: translateY(-4px); }
.story-card img { border-radius: 20px; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 16px; }
.story-card h3, .tile h3 { margin-bottom: .3em; }
.story-card p, .tile p { font-size: 16px; }
.tile-pic { display: block; margin-bottom: 14px; }
.tile-pic img { border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tile-pic.round img { object-fit: contain; background: var(--blush); }

/* Figuren */
.chips-band { padding: 18px 0; background: #fff; position: sticky; top: 0; z-index: 5; box-shadow: 0 4px 0 rgba(59, 21, 48, .06); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips a { flex: none; font-weight: 800; color: var(--plum); text-decoration: none; background: var(--blush); padding: 8px 16px; border-radius: 999px; font-size: 15px; }
.chips a:hover { background: var(--pink); color: #fff; }
.char-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.char-in > img { border: 10px solid #fff; border-radius: 40px; transform: rotate(-1.5deg); box-shadow: 0 12px 0 rgba(59, 21, 48, .15); }
.flip .char-in > img { order: 2; transform: rotate(1.5deg); }
@media (max-width: 820px) { .char-in { grid-template-columns: 1fr; } .flip .char-in > img { order: 0; } }
.cta { text-align: center; }
.cta .btns { justify-content: center; }
.cta p { font-size: 19px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* Geschichten */
.story-pic { border: 10px solid #fff; border-radius: 36px; margin-bottom: 28px; box-shadow: 0 12px 0 rgba(59, 21, 48, .15); }
.story p { font-size: 20px; line-height: 1.75; }

/* Downloads */
.grid-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.dl { margin: 0; padding: 16px 16px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.dl img { border-radius: 14px; border: 1px solid #f0dbe4; }
.dl figcaption { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 22px; line-height: 1.1; }
.hint { text-align: center; margin-top: 28px; font-weight: 600; }

/* Ballett-ABC */
.grid-abc { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.abc { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 18px; align-items: start; }
.abc img { border-radius: 14px; border: 1px solid #f0dbe4; }
.abc p { font-size: 16px; margin-bottom: .6em; }
.abc .link { font-size: 15px; }

/* Rätsel */
.riddle { background: #fff; border-radius: 24px; margin-bottom: 16px; box-shadow: 0 5px 0 rgba(14, 59, 53, .2); color: var(--plum); }
.riddle summary { cursor: pointer; padding: 20px 26px; font-weight: 800; font-size: 19px; list-style: none; display: flex; gap: 14px; align-items: center; }
.riddle summary::-webkit-details-marker { display: none; }
.riddle summary::before { content: "?"; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-family: "Baloo 2", sans-serif; font-size: 22px; }
.riddle[open] summary::before { content: "!"; background: var(--pink); color: #fff; }
.riddle p { padding: 0 26px 22px 78px; margin: 0; font-weight: 800; color: var(--berry); font-size: 19px; }

/* Rezept */
.notice { background: #fff3c4; border-radius: 24px; padding: 18px 24px; font-size: 18px; }
.recipe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; padding: clamp(24px, 4vw, 44px); margin-top: 24px; }
.recipe h2 { font-size: 34px; }
.recipe h3 { font-size: 22px; margin-top: 1em; }
.recipe li { margin-bottom: .4em; }
@media (max-width: 760px) { .recipe { grid-template-columns: 1fr; } }

/* Impressum & Datenschutz */
.imp-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.tm-logo { max-width: 260px; margin-bottom: 18px; }
.imp h1 { font-size: 44px; }
@media (max-width: 760px) { .imp-in { grid-template-columns: 1fr; } .imp-in > img { max-width: 320px; margin: 0 auto; } }
.legal h1 { font-size: 48px; }
.legal h2 { font-size: 26px; margin-top: 1.4em; }
.small { font-size: 14px; opacity: .8; }

/* Fuß */
.site-foot { background: var(--plum-d); color: #fff3f7; }
.foot-in { display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; align-items: flex-start; padding-top: 56px; padding-bottom: 40px; }
.foot-brand img { height: 72px; width: auto; background: #fff; border-radius: 18px; padding: 8px 12px; }
.foot-brand p { margin: 12px 0 0; font-size: 15px; color: #ffd3e3; max-width: 320px; line-height: 1.55; }
.site-foot nav { display: flex; flex-direction: column; gap: 10px; }
.site-foot nav a { color: #fff3f7; text-decoration: none; font-weight: 700; }
.site-foot nav a:hover { text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .15); text-align: center; padding: 16px; font-size: 14px; color: #ffd3e3; }

/* Bettys Lädchen */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.prod { display: flex; flex-direction: column; padding: 14px 14px 18px; color: var(--plum); }
.prod-pic { display: block; margin-bottom: 12px; }
.prod-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; transition: transform .2s; }
.prod-pic:hover img { transform: scale(1.03); }
.prod h3 { font-size: 20px; margin-bottom: .25em; }
.prod p { font-size: 15px; margin: 0 0 14px; flex: 1; }
.prod .btn { font-size: 15px; padding: 10px 14px; text-align: center; }
.center { text-align: center; }
.center .btns { justify-content: center; }
@media (max-width: 480px) { .prod h3 { font-size: 17px; } .prod p { font-size: 14px; } .prod .btn { font-size: 13px; padding: 9px 10px; } }
