/* ==========================================================================
   kinder-hochstuhl.de – Design (mobil zuerst, ohne externe Schriften)
   ========================================================================== */

:root {
  --gelb: #ffcc00;
  --gelb-hell: #fff2bf;
  --creme: #fbf7ec;
  --text: #2d2a24;
  --text-leise: #6b6457;
  --link: #1d5f9e;
  --link-hover: #0f3f6e;
  --linie: #e8dfc6;
  --weiss: #ffffff;
  --radius: 14px;
  --schatten: 0 1px 2px rgba(60, 45, 0, .06), 0 6px 20px rgba(60, 45, 0, .07);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; }

a { color: var(--link); text-underline-offset: .15em; }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; border-radius: 3px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--weiss); padding: .5em 1em; }

/* --- Kopf ---------------------------------------------------------------- */
.kopf {
  background: var(--gelb-hell);
  border-bottom: 6px solid var(--gelb);
}
.kopf-innen {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--weiss);
  box-shadow: var(--schatten);
  object-fit: cover;
}
.logo-text { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.logo-text span { color: #b38600; }
.menue-knopf {
  flex-shrink: 0;
  background: var(--weiss);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: .45em .9em;
  border-radius: 999px;
  box-shadow: var(--schatten);
}
.motto {
  display: none;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px 8px;
  font-size: .85rem;
  color: var(--text);
  font-style: italic;
}
.motto span { font-style: normal; color: var(--text-leise); white-space: nowrap; }
.motto span::before { content: "– "; }

/* --- Seitenaufbau ---------------------------------------------------------- */
.seite {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  gap: 24px;
}
.inhalt {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 20px 18px 28px;
  min-width: 0;
}

/* --- Typografie ------------------------------------------------------------ */
h1, h2, h3 { line-height: 1.25; color: #1f1c17; }
h1 { font-size: 1.7rem; margin: .2em 0 .6em; letter-spacing: -.015em; }
h2 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }

.einleitung { font-size: 1.08em; color: #3b372f; }

.tipp {
  background: var(--gelb-hell);
  border-left: 5px solid var(--gelb);
  border-radius: 0 10px 10px 0;
  padding: .8em 1em;
}
.tipp strong:first-child { display: block; margin-bottom: .2em; }

.kriterien li { margin-bottom: .9em; }
.kriterien strong { display: block; }

/* Steckbrief / Produktdaten */
.steckbrief { margin: 1.5em 0; border: 1px solid var(--linie); border-radius: 12px; overflow: hidden; }
.steckbrief h2, .steckbrief h3 { margin: 0; padding: .6em .9em; background: var(--gelb-hell); font-size: 1.05rem; }
.steckbrief dl { margin: 0; display: grid; grid-template-columns: minmax(7em, max-content) 1fr; }
.steckbrief dt, .steckbrief dd { margin: 0; padding: .5em .9em; border-top: 1px solid var(--linie); }
.steckbrief dt { font-weight: 600; color: var(--text-leise); }

/* Amazon-Textlink */
.produkt-hinweis {
  clear: both;
  margin: 1.5em 0;
  padding: 1em 1.1em;
  border: 1px solid var(--linie);
  border-radius: 12px;
  background: #fffdf6;
}
.produkt-hinweis p { margin: 0 0 .5em; }
.produkt-hinweis .produkt-name { font-weight: 700; }
.produkt-hinweis a.button {
  display: inline-block;
  padding: .55em 1.1em;
  background: var(--gelb);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
}
.produkt-hinweis a.button:hover { background: #f0bd00; }
.produkt-hinweis small { display: block; color: var(--text-leise); font-size: .78rem; line-height: 1.4; }

/* Weiterlesen */
.weiterlesen { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--linie); }
.weiterlesen h2 { font-size: 1.1rem; margin-top: 0; }

/* Startseite: Karten */
.karten { list-style: none; padding: 0; display: grid; gap: 12px; }
.karten li { margin: 0; }
.karten a {
  display: block;
  height: 100%;
  padding: .9em 1em;
  border: 1px solid var(--linie);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: #fffdf6;
  transition: border-color .15s, transform .15s;
}
.karten a:hover { border-color: var(--gelb); transform: translateY(-1px); }
.karten strong { display: block; color: var(--link); }
.karten span { display: block; font-size: .92rem; color: var(--text-leise); margin-top: .2em; }

.faq h3 { margin-top: 1.2em; }

/* --- Navigation ------------------------------------------------------------ */
.navigation {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 8px 16px 16px;
  font-size: .95rem;
  scroll-margin-top: 12px;
}
.navigation h2 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-leise);
  margin: 1.2em 0 .4em;
  padding-bottom: .3em;
  border-bottom: 3px solid var(--gelb);
}
.navigation ul { list-style: none; padding: 0; margin: 0; }
.navigation li { margin: 0; }
.navigation a {
  display: block;
  padding: .5em .4em;
  text-decoration: none;
  border-radius: 8px;
}
.navigation a:hover { background: var(--gelb-hell); }
.navigation a[aria-current="page"] { background: var(--gelb-hell); font-weight: 700; color: var(--text); }
.nav-start { margin: 1em 0 0; }

/* --- Fuß --------------------------------------------------------------------- */
.fuss {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 16px 32px;
  text-align: center;
  font-size: .88rem;
  color: var(--text-leise);
}
.fuss a { color: var(--text-leise); }
.fuss p { margin: .4em 0; }
.linktipps { font-size: .82rem; }
.link-knopf {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.cc-knopf {
  font: inherit;
  padding: .55em 1.1em;
  border: 0;
  border-radius: 999px;
  background: var(--gelb);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

/* --- Größere Bildschirme ----------------------------------------------------- */
@media (max-width: 380px) {
  .logo img { width: 52px; height: 52px; }
  .menue-knopf span { display: none; }
}

@media (min-width: 640px) {
  .kopf {
    background: linear-gradient(180deg, var(--gelb-hell) 0%, var(--gelb-hell) 62%, var(--gelb) 62%, var(--gelb) 100%);
    border-bottom: 1px solid #e8b800;
  }
  .logo img { width: 84px; height: 84px; }
  .logo-text { font-size: 1.8rem; }
  .motto { display: block; }
  .inhalt { padding: 32px 36px 40px; }
  h1 { font-size: 2rem; }
  .karten { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .menue-knopf { display: none; }
  .seite { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; padding-top: 24px; }
  .navigation { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
  .inhalt { padding: 40px 48px 48px; }
  .karten { grid-template-columns: 1fr 1fr 1fr; }
}

@media print {
  .navigation, .menue-knopf, .produkt-hinweis, .fuss button, .skip-link { display: none; }
  .inhalt { box-shadow: none; padding: 0; }
}
