/* Mein Reisespiel: 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; }

/* 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; }

/* 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; }

/* 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(:last-child) { display: none; }
  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 { 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; }

  .hero { padding: 28px 20px 48px !important; gap: 32px !important; }
  .hero > div:first-child { gap: 18px !important; }
  .hero > div:first-child > div:first-child { font-size: 14px !important; padding: 8px 14px !important; }
  .h1 { font-size: clamp(34px, 10vw, 44px) !important; }
  .hero p { font-size: 18px !important; }
  .hero .btn-main, .hero .btn-line { flex: 1 1 100%; text-align: center; }
  .fakten { font-size: 15px !important; }

  .sek { padding-left: 16px !important; padding-right: 16px !important; padding-top: 56px !important; }
  .sek:not(#bauen):not(#datenschutz) { padding-bottom: 56px !important; }
  #bauen, #datenschutz { padding-top: 0 !important; padding-bottom: 56px !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; }
  .planbox { padding: 18px 16px !important; }
  .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; }
}

/* 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; }
}
