/* DailySmile – kleine Website (Startseite, Impressum, Datenschutz). Schriften lokal, keine fremden Server. */
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url(fonts/fredoka-600.ttf) format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(fonts/nunito-400.ttf) format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(fonts/nunito-700.ttf) format("truetype"); }

:root {
  --rosa: #f2c4cd;
  --rosa-dunkel: #e7a9b6;
  --creme: #fffaf3;
  --text: #3b302a;
  --leise: #7a6c63;
  --orange: #e0662a;
  --linie: #ead9cf;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--rosa); color: var(--text);
  font: 400 17px/1.55 "Nunito", system-ui, sans-serif;
}
a { color: inherit; }
h1, h2, h3, .knopf b { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; }

.seite { max-width: 560px; margin: 0 auto; padding: 28px 16px 40px; }

/* Kopf */
.kopf { text-align: center; padding-top: 8px; }
.kopf img.logo { width: min(260px, 64vw); height: auto; }
.kopf p { margin: 6px 0 0; font-size: 18px; }
.kopf p.en { margin-top: 2px; font-size: 14px; color: var(--leise); }

/* Figuren */
.figuren { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 10px; align-items: end;
  margin: 22px 0 18px; }
.figuren img { width: 100%; height: 96px; object-fit: contain; filter: drop-shadow(0 3px 2px rgba(80, 40, 40, .18));
  transition: transform .2s; }
.figuren img:nth-child(odd) { transform: rotate(-4deg); }
.figuren img:nth-child(even) { transform: rotate(3deg); }
.figuren img:hover { transform: rotate(0) scale(1.08); }

/* Linkknöpfe */
.knoepfe { display: grid; gap: 12px; }
.knopf {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--creme); border-radius: 18px; padding: 14px 18px; text-decoration: none;
  box-shadow: 0 2px 0 var(--rosa-dunkel); transition: transform .15s, box-shadow .15s;
}
.knopf:hover, .knopf:focus-visible { transform: translateY(-2px); box-shadow: 0 4px 0 var(--rosa-dunkel); }
.knopf b { font-size: 18px; }
.knopf span { display: block; font-size: 14px; color: var(--leise); }
.knopf::after { content: "›"; font: 600 26px/1 "Fredoka", sans-serif; color: var(--orange); }
.knopf.haupt { background: var(--orange); color: #fff; box-shadow: 0 2px 0 #b84f1c; }
.knopf.haupt span { color: #ffe9dc; }
.knopf.haupt::after { color: #fff; }

/* Kochbuch-Kasten */
.buch { margin-top: 22px; background: var(--creme); border-radius: 22px; padding: 18px 18px 16px;
  display: grid; grid-template-columns: 86px 1fr; gap: 14px; align-items: center; }
.buch img { width: 86px; height: 150px; object-fit: contain; }
.buch h2 { margin: 0; font-size: 22px; color: var(--orange); }
.buch p { margin: 4px 0 0; font-size: 15px; }
.buch .bald { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--orange);
  border: 2px solid var(--orange); border-radius: 99px; padding: 1px 10px; }

/* Fuß */
.fuss { margin-top: 30px; text-align: center; font-size: 14px; color: #5e4c46; }
.fuss a { margin: 0 8px; }

/* Rechtstexte */
.text { background: var(--creme); border-radius: 22px; padding: 24px 22px 18px; margin-top: 18px; }
.text h1 { margin: 0 0 4px; font-size: 28px; color: var(--orange); }
.text h2 { margin: 24px 0 6px; font-size: 19px; color: var(--orange); }
.text p, .text li { font-size: 16px; }
.text ul { padding-left: 20px; }
.text address { font-style: normal; line-height: 1.6; }
.text .stand { margin-top: 24px; font-size: 14px; color: var(--leise); }
.zurueck { display: inline-block; margin-top: 6px; font-weight: 700; text-decoration: none; }
.zurueck:hover { text-decoration: underline; }
.kopf.klein img.logo { width: 150px; }

@media (max-width: 380px) {
  .figuren img { height: 76px; }
  .buch { grid-template-columns: 64px 1fr; }
  .buch img { width: 64px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .figuren img, .knopf { transition: none; }
}
