/* mapumi: Verkaufsseite. Schriften liegen auf unserem Server, nichts lädt von Google. */
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shop/fonts/young-serif-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/shop/fonts/young-serif-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/shop/fonts/nunito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/shop/fonts/nunito-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

html { scroll-behavior: smooth; }
body { margin: 0; background: #fbf3e4; color: #3b2a20; font-family: Nunito, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #2f5d50; text-underline-offset: 3px; }
a:hover { color: #b5462f; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
details[open] summary .plus { transform: rotate(45deg); }
summary .plus { transition: transform .2s; }
input::placeholder, textarea::placeholder { color: #9c8672; }
button { font-family: Nunito, sans-serif; }
button:disabled { opacity: .55; cursor: default; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid #b5462f; outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: #2f5d50; color: #fff; padding: 12px 18px; border-radius: 12px; font: 800 17px/1 Nunito, sans-serif; }
.skip:focus { top: 12px; color: #fff; }

/* Wortmarke: mapum<span class="i">ı</span>, der i-Punkt ist das Ziel einer gepunkteten Route */
.marke { position: relative; display: inline-block; padding-top: .42em; letter-spacing: -.02em; }
.marke .i { position: relative; }
.marke .i::before { content: ''; position: absolute; left: calc(50% - 2.9em); top: -.43em; width: 3.04em; height: .94em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 94'%3E%3Cpath d='M8 78C70-6 220-14 290 66' fill='none' stroke='%232f5d50' stroke-width='9' stroke-dasharray='2 17' stroke-linecap='round'/%3E%3Ccircle cx='290' cy='80' r='12' fill='%23b5462f'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }

/* Ortssuche */
.hits { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; margin: 6px 0 0; list-style: none; background: #fff; border: 2px solid #e6d4b8; border-radius: 16px; padding: 6px; max-height: 260px; overflow: auto; box-shadow: 0 12px 28px rgba(59,42,32,.14); }
.hits li { padding: 12px 14px; border-radius: 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font: 600 18px/1.2 Nunito; }
.hits li small { color: #7a6553; font: 600 15px/1.2 Nunito; text-align: right; }
.hits li:hover, .hits li.on { background: #fbf3e4; }
.hits li.none { cursor: default; font: 400 16px/1.4 Nunito; color: #5a4636; }
.hits li.none:hover { background: none; }

/* Auswahlknöpfe (Alter, Held) */
.pill { font: 700 17px/1 Nunito; padding: 14px 18px; border-radius: 999px; border: 2px solid #e6d4b8; background: #fff; color: #3b2a20; cursor: pointer; }
.pill[aria-pressed="true"] { border-color: #3b2a20; background: #f4d7b5; }
.tierbtn { display: grid; gap: 0; padding: 0; border-radius: 20px; border: 3px solid #e6d4b8; background: #fffdf8; overflow: hidden; cursor: pointer; text-align: left; color: #3b2a20; }
.tierbtn[aria-pressed="true"] { border-color: #3b2a20; background: #f4d7b5; }

.field { font: 600 20px/1.2 Nunito; padding: 16px 18px; border: 2px solid #e6d4b8; border-radius: 16px; color: #3b2a20; background: #fffdf8; outline-color: #b5462f; width: 100%; box-sizing: border-box; }
.btn-main { font: 800 19px/1 Nunito; background: #b5462f; color: #fff; border: 0; border-radius: 999px; padding: 19px 28px; text-decoration: none; cursor: pointer; display: inline-block; }
.btn-main:hover { color: #fff; background: #9e3b27; }
.btn-line { font: 700 19px/1 Nunito; background: transparent; color: #3b2a20; border: 2px solid #3b2a20; border-radius: 999px; padding: 17px 24px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-line:hover { color: #3b2a20; background: #f4d7b5; }

/* Hero: Nutzen, Preis und nächster Schritt bleiben auf kleinen Bildschirmen zusammen. */
.hero { position: relative; max-width: 1200px; margin: 0 auto; padding: 56px 28px 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; align-content: start; }
.hero-eyebrow { justify-self: start; background: #e9c46a; padding: 9px 16px; border-radius: 999px; font: 800 16px/1.3 Nunito, sans-serif; }
.hero .h1 { margin: 0; font: 400 clamp(44px, 5vw, 64px)/1.08 'Young Serif', serif; text-wrap: balance; }
.hero-lead { margin: 0; max-width: 39ch; font-size: 21px; line-height: 1.5; color: #5a4636; text-wrap: pretty; }
.hero-actions { display: grid; justify-items: start; gap: 10px; }
.hero-actions .btn-main { box-sizing: border-box; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.hero-price { margin: 0; font: 700 16px/1.4 Nunito, sans-serif; color: #5a4636; }
.hero-price b { color: #3b2a20; }
.hero-skills { margin: 0; font: 800 16px/1.4 Nunito, sans-serif; color: #2f5d50; }
.hero-demo { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #2f5d50; font: 800 17px/1.4 Nunito, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hero-demo:hover { color: #b5462f; }
.fakten { display: flex; gap: 8px 20px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
.fakten span::before { content: '✓'; margin-right: 6px; color: #2f5d50; }
.hero .fakten { color: #5a4636; }
.hero-art { position: relative; aspect-ratio: 16/9; border-radius: 28px; overflow: hidden; background: #efe2cc; }
/* Echte Spielszenen über dem gezeichneten Bild; erscheint erst, wenn das Video wirklich läuft */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.hero-video-tag { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: #2f5d50; font: 800 15px/1.3 Nunito, sans-serif; box-shadow: 0 2px 8px rgba(60,40,20,.15); opacity: 0; transition: opacity .5s; }
.hero-art.spielt .hero-video, .hero-art.spielt .hero-video-tag { opacity: 1; }
.hero-pause { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(60,40,20,.15); cursor: pointer; display: grid; place-items: center; }
.hero-pause span { width: 14px; height: 16px; border-left: 5px solid #2f5d50; border-right: 5px solid #2f5d50; box-sizing: border-box; }
.hero-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 15px solid #2f5d50; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.hero-pause[hidden] { display: none; }

/* Lernspiele mit echten Spielszenen */
.lerngrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px 24px; }
.lerngrid li { display: grid; gap: 8px; align-content: start; }
.lerngrid img { width: 100%; height: auto; aspect-ratio: 16/9; display: block; border-radius: 20px; background: #3f6e60; margin-bottom: 6px; }
.lerngrid h3 { margin: 0; font: 800 22px/1.2 Nunito, sans-serif; color: #fbf3e4; }
.lerngrid p { margin: 0; font-size: 18px; line-height: 1.5; color: #dfe9e3; }
.lerngrid.kurz li:nth-child(n+4) { display: none; }
.mehrlern { justify-self: start; min-height: 48px; padding: 12px 22px; border: 2px solid #fbf3e4; border-radius: 999px; background: transparent; color: #fbf3e4; font: 800 17px/1 Nunito, sans-serif; cursor: pointer; }
.mehrlern:hover { background: #fbf3e4; color: #2f5d50; }
/* Beispielreise: drei kurze Schritte statt drei Karten */
.reiseweg { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: weg; }
.reiseweg li { counter-increment: weg; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; font-size: 18px; line-height: 1.5; color: #5a4636; }
.reiseweg li::before { content: counter(weg); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: #e9c46a; display: grid; place-items: center; font: 400 20px/1 'Young Serif', serif; color: #3b2a20; }
.reiseweg li:last-child::before { background: #b5462f; color: #fff; }
.reiseweg b { display: block; font: 800 15px/1.6 Nunito, sans-serif; color: #2f5d50; letter-spacing: .02em; }
/* So geht's: drei Schritte */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.schritte li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; align-content: start; }
.schritte span { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: #e9c46a; display: grid; place-items: center; font: 400 26px/1 'Young Serif', serif; }
.schritte li:nth-child(2) span { background: #f4d7b5; }
.schritte li:nth-child(3) span { background: #b5462f; color: #fff; }
.schritte h3 { margin: 6px 0 0; font: 400 24px/1.2 'Young Serif', serif; }
.schritte p { margin: 0; font-size: 18px; line-height: 1.5; color: #5a4636; }

/* Kasse: Koffer packen nach der Zahlung */
.packen { display: grid; justify-items: center; gap: 6px; }
.koffer { position: relative; width: 230px; height: 190px; }
.koffer .innen, .koffer .vorn, .koffer .deckel { position: absolute; left: 0; right: 0; border-radius: 18px; }
.koffer .innen { bottom: 0; height: 124px; background: #8f3622; }
.koffer .vorn { bottom: 0; height: 74px; z-index: 3; border-radius: 6px 6px 18px 18px; background: linear-gradient(90deg, transparent 22%, #e9c46a 22% 29%, transparent 29% 71%, #e9c46a 71% 78%, transparent 78%), #b5462f; }
.koffer .deckel { bottom: 0; height: 118px; z-index: 4; height: 124px; transform-origin: top; transform: scaleY(0); background: linear-gradient(90deg, transparent 22%, #e9c46a 22% 29%, transparent 29% 71%, #e9c46a 71% 78%, transparent 78%), #b5462f; animation: koffer-zu .35s ease-in 2.25s forwards; }
.koffer .deckel::before { content: ''; position: absolute; left: 50%; top: -22px; width: 64px; height: 26px; margin-left: -32px; box-sizing: border-box; border: 7px solid #3b2a20; border-bottom: 0; border-radius: 16px 16px 0 0; }
.koffer .dinge span { position: absolute; z-index: 2; bottom: 64px; left: calc(10px + var(--i) * 35px); font-size: 34px; line-height: 1; opacity: 0; transform: translateY(-150px) rotate(-20deg); animation: koffer-rein .5s cubic-bezier(.3, .7, .4, 1.25) calc(var(--i) * .3s) forwards; }
.koffer .dinge span:nth-child(even) { bottom: 76px; }
@keyframes koffer-rein { to { opacity: 1; transform: none; } }
@keyframes koffer-zu { to { transform: none; } }
.koffer.still .deckel { animation: none; }
.koffer.still .dinge span { animation: none; opacity: 1; transform: none; }
.koffer-skip { min-height: 44px; padding: 8px 14px; border: 0; background: none; color: #5a4636; font: 700 15px/1.2 Nunito, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .koffer .deckel, .koffer .dinge span { animation: none; } .koffer .dinge span { opacity: 1; transform: none; } }

/* Rechtstexte */
.legal { max-width: 760px; margin: 0 auto; display: grid; gap: 28px; overflow-wrap: break-word; }
.legal > * { min-width: 0; }
.legal a { overflow-wrap: anywhere; }
.legal h1 { margin: 0; font: 400 clamp(38px,5vw,54px)/1.1 'Young Serif', serif; }
.legal h2 { margin: 0 0 8px; font: 400 26px/1.25 'Young Serif', serif; }
.legal h3 { margin: 16px 0 6px; font: 800 18px/1.3 Nunito; }
.legal p, .legal li { margin: 0 0 10px; font-size: 18px; line-height: 1.6; color: #3b2a20; }
.legal ul { margin: 0; padding-left: 22px; }
.legal section { background: #fff; border-radius: 24px; padding: clamp(20px,3vw,32px); }
.legal .kicker { font: 800 16px/1 Nunito; color: #2f5d50; }
.legal .lead { margin: 0; font-size: 20px; line-height: 1.55; color: #5a4636; }

/* Ratgeber-Artikel */
.artikel { max-width: 760px; margin: 0 auto; display: grid; gap: 28px; overflow-wrap: break-word; }
.artikel > * { min-width: 0; }
.artikel .krumen { font: 700 15px/1.4 Nunito; color: #7a6553; }
.artikel .kicker { font: 800 16px/1.2 Nunito; color: #2f5d50; }
.artikel h1 { margin: -12px 0 0; font: 400 clamp(36px,5vw,54px)/1.1 'Young Serif', serif; text-wrap: balance; }
.artikel .lead { margin: 0; font-size: 21px; line-height: 1.55; color: #5a4636; text-wrap: pretty; }
.artikel .autor { margin: -10px 0 0; font: 700 15px/1.4 Nunito; color: #7a6553; }
.artikel figure { margin: 0; display: grid; gap: 10px; }
.artikel figure img, .produkt img { width: 100%; height: auto; display: block; border-radius: 24px; background: #efe2cc; }
.artikel figcaption { font: 600 16px/1.4 Nunito; color: #5a4636; }
.artikel section { display: grid; gap: 14px; }
.artikel h2 { margin: 12px 0 0; font: 400 clamp(28px,3.4vw,36px)/1.2 'Young Serif', serif; text-wrap: balance; }
.artikel h3 { margin: 8px 0 0; font: 800 21px/1.3 Nunito; }
.artikel p, .artikel li { margin: 0; font-size: 19px; line-height: 1.65; }
.artikel ul, .artikel ol { margin: 0; padding-left: 24px; display: grid; gap: 10px; }
.artikel li::marker { color: #2f5d50; font-weight: 800; }
.artikel ul.haken { list-style: none; padding: 0; }
.artikel ul.haken li { position: relative; padding-left: 28px; }
.artikel ul.haken li::before { content: '✓'; position: absolute; left: 0; color: #2f5d50; font-weight: 800; }
.produkt { background: #fff; border-radius: 32px; box-shadow: 0 3px 0 #e6d4b8; padding: clamp(20px,3vw,32px); display: grid; gap: 24px; margin-top: 12px; }
.produkt-text { display: grid; gap: 16px; }
.produkt h2 { margin: 0; }
.produkt .haken li { font-size: 17px; }
.fragen { gap: 12px !important; }
.fragen details { background: #fff; border-radius: 20px; padding: 0 24px; }
.fragen summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; }
.fragen summary h3 { margin: 0; font: 800 19px/1.35 Nunito; }
.fragen .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #f4d7b5; display: grid; place-items: center; font: 800 22px/1 Nunito; }
.fragen details p { padding: 0 0 20px; font-size: 18px; color: #5a4636; }
.mehr { display: grid; gap: 14px; border-top: 2px dashed #e6d4b8; padding-top: 28px; }
.mehr h2 { margin: 0; font: 400 26px/1.2 'Young Serif', serif; }
.mehr > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.mehr a { background: #f6e9d3; border-radius: 20px; padding: 20px; display: grid; gap: 8px; text-decoration: none; color: #3b2a20; }
.mehr a b { font: 400 22px/1.2 'Young Serif', serif; }
.mehr a:hover { background: #f4d7b5; color: #3b2a20; }
@media (max-width: 640px) {
  .artikel { gap: 22px; }
  .artikel .lead { font-size: 18px; }
  .artikel p, .artikel li { font-size: 17px; }
  .fragen details { padding: 0 18px; }
  .produkt .btn-main, .produkt .btn-line { width: 100%; text-align: center; box-sizing: border-box; }
}

/* Grid-Spalten dürfen schmaler werden als ihr längstes Wort, sonst schiebt sich der Inhalt auf dem Handy aus dem Bild. */
main [style*="display:grid"] > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
.tierbtn { overflow-wrap: break-word; hyphens: auto; }
.field { scroll-margin-top: 84px; }

@media (max-width: 640px) {
  .topnav a:not(.nav-preis) { display: none; }
  .topnav { gap: 14px !important; font-size: 15px !important; }
  header > div { padding: 12px 20px !important; flex-wrap: nowrap !important; gap: 12px !important; }
  header a[href="/"], .logo { font-size: 22px !important; white-space: nowrap; }
  .navcta { min-height: 44px; padding: 11px 16px !important; font-size: 15px !important; }
  [id] { scroll-margin-top: 72px !important; }
  main[style*="padding:56px 28px"] { padding-left: 16px !important; padding-right: 16px !important; padding-top: 32px !important; }
  #steps { gap: 2px !important; flex-wrap: nowrap !important; flex: none; }
  #steps li { padding: 6px !important; }
  #steps li[aria-current] { padding-right: 12px !important; }
  #steps li:not([aria-current]) .lbl { display: none; }

  /* Handy: Spielszene direkt unter die Überschrift, damit das Spiel im ersten Bildschirm zu sehen ist */
  .hero { padding: 20px 20px 40px; gap: 14px; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 2; }
  .hero-eyebrow, .hero .h1 { order: 0; }
  .hero-art { order: 1; margin: 4px 0; }
  .hero-eyebrow { padding: 7px 12px; font-size: 13px; }
  .hero .h1 { font-size: clamp(32px, 9vw, 40px); line-height: 1.1; }
  .hero-lead { font-size: 17px; line-height: 1.45; }
  .hero-actions { justify-items: center; gap: 7px; margin-top: 2px; }
  .hero-actions .btn-main { width: 100%; padding: 17px 20px; }
  .hero-price { font-size: 15px; text-align: center; }
  .hero-skills { font-size: 15px; }
  .hero-demo { font-size: 16px; }
  .lerngrid h3 { font-size: 20px; }
  .lerngrid p, .schritte p { font-size: 17px; }
  .hero .fakten { gap: 6px 14px; font-size: 13px; }
  .hero-art { border-radius: 20px; }
  .hero-video-tag { left: 8px; top: 8px; padding: 4px 10px; font-size: 13px; }

  .sek { padding-left: 16px !important; padding-right: 16px !important; padding-top: 56px !important; }
  .sek:not(#so) { padding-bottom: 56px !important; }
  #so { padding-bottom: 0 !important; }
  #bauen { padding-top: 28px !important; }
  .sek > div { gap: 32px !important; }
  .sek h2 { font-size: clamp(28px, 8.4vw, 38px) !important; }
  .sek h2 + p { font-size: 17px !important; }
  .karte { padding: 20px 16px !important; border-radius: 24px !important; gap: 28px !important; }
  .reiseweg li { font-size: 17px; }
  .tierbtn > div:last-child { padding: 10px 10px 12px !important; }
  .tierbtn > div:last-child > span:last-child { font-size: 14px !important; }
  #age { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #age .pill { padding: 12px 6px; line-height: 1.2; }
  #type .pill { flex: 1; }
  #faq details { padding: 0 18px !important; }
  .frage { padding: 18px 0 !important; font-size: 18px !important; }
}

@media (max-width: 370px) {
  header > div { padding: 10px 14px !important; gap: 8px !important; }
  header a[href="/"], .logo { font-size: 19px !important; }
  .navcta { padding: 10px 12px !important; font-size: 14px !important; }
  #steps .lbl { display: none; }
  #steps li[aria-current] { padding-right: 6px !important; }
}

/* Baukasten einspaltig (Handy, Tablet): erst Start und Ziel, gleich darunter die fünf Orte, dann Figur und Alter, dann Preis und Kauf */
@media (max-width: 1028px) {
  .bau-form, .planbox { display: contents !important; }
  .bau-kopf { order: 1; }
  .planroute { order: 2; background: #fbf3e4; border-radius: 20px; padding: clamp(18px, 3vw, 28px) clamp(16px, 3vw, 28px); }
  .bau-wahl { order: 3; }
  .plankauf { order: 4; background: #fbf3e4; border-radius: 20px; padding: clamp(18px, 3vw, 28px) clamp(16px, 3vw, 28px) !important; border-top: 0 !important; }
}

/* Handy quer: wenig Höhe, Kopfzeile darf nicht mitwandern. */
@media (max-height: 500px) and (orientation: landscape) {
  header.kopf { position: static !important; }
  [id] { scroll-margin-top: 0 !important; }
}
