/* KI-Daddy: Stil „Papier und Handschrift“ wie die Instagram-Karussells. Nur lokale Schriften. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/schriften/inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/schriften/inter-600.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/schriften/inter-800.woff2) format('woff2'); }
@font-face { font-family: Caveat; font-weight: 700; font-display: swap; src: url(/schriften/caveat-700.woff2) format('woff2'); }

:root {
  --papier: #f6f1e7;
  --karte: #fffdf8;
  --text: #2b2622;
  --leise: #6b625a;
  --akzent: #d2552d;
  --akzent-dunkel: #b4431f;
  --klebeband: rgba(240, 226, 190, .85);
  --linie: #e4dccd;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent-dunkel); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 6px; }

.hand { font-family: Caveat, cursive; font-weight: 700; color: var(--akzent); line-height: 1.05; }

.seite { max-width: 620px; margin: 0 auto; padding: 40px 22px 32px; }
.seite.breit { max-width: 980px; }

/* Kopf mit Rücklink auf Unterseiten */
.kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.kopf .marke { font-family: Caveat, cursive; font-weight: 700; font-size: 34px; color: var(--text); text-decoration: none; }
.kopf .marke span { color: var(--akzent); }
.kopf .zurueck { font-size: 15px; color: var(--leise); text-decoration: none; }
.kopf .zurueck:hover { color: var(--akzent-dunkel); }

/* Startseite */
.vorstellung { text-align: center; padding: 18px 0 8px; }
.vorstellung .logo {
  width: 104px; height: 104px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--karte); display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.06);
  font-family: Caveat, cursive; font-weight: 700; font-size: 46px; color: var(--akzent);
  transform: rotate(-4deg);
}
.vorstellung h1 { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.vorstellung .unterzeile { font-size: 34px; margin: 6px 0 16px; }
.vorstellung p { margin: 0 auto; max-width: 30em; color: var(--leise); }

.links { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.links li:nth-child(odd) .karte { transform: rotate(-1deg); }
.links li:nth-child(even) .karte { transform: rotate(.8deg); }

.karte {
  position: relative; display: flex; gap: 16px; align-items: center;
  background: var(--karte); border-radius: 14px; padding: 20px 20px;
  box-shadow: 0 9px 24px rgba(0,0,0,.09), 0 2px 5px rgba(0,0,0,.05);
  color: var(--text); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.karte:hover { transform: rotate(0) translateY(-2px) !important; box-shadow: 0 14px 30px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06); }
.karte::before {
  content: ''; position: absolute; top: -11px; left: 50%; width: 92px; height: 24px; margin-left: -46px;
  background: var(--klebeband); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.karte .zeichen {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; background: #f1e7d6; color: var(--akzent);
}
.karte .zeichen svg { width: 30px; height: 30px; }
.karte .zeichen img { width: 100%; height: 100%; object-fit: cover; }
.karte .text { flex: 1; min-width: 0; }
.karte strong { display: block; font-size: 19px; font-weight: 800; line-height: 1.25; }
.karte .klein { display: block; font-size: 15px; color: var(--leise); line-height: 1.45; margin-top: 3px; }
.karte .pfeil { flex: 0 0 auto; font-family: Caveat, cursive; font-weight: 700; font-size: 30px; color: var(--akzent); }

/* Fuß */
.fuss {
  margin-top: 56px; padding-top: 20px; border-top: 1px dashed var(--linie);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
  font-size: 14px; color: var(--leise);
}
.fuss a { color: var(--leise); }

/* Unterseiten mit Fließtext (Impressum, Datenschutz) */
.blatt {
  background: var(--karte); border-radius: 14px; padding: 30px 26px;
  box-shadow: 0 9px 24px rgba(0,0,0,.08), 0 2px 5px rgba(0,0,0,.04);
}
.blatt h1 { font-size: 34px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 6px; }
.blatt h2 { font-size: 20px; font-weight: 800; margin: 32px 0 6px; }
.blatt h3 { font-size: 17px; font-weight: 600; margin: 20px 0 4px; }
.blatt p, .blatt ul { margin: 0 0 12px; }
.blatt ul { padding-left: 22px; }
.blatt .stand { color: var(--leise); font-size: 15px; margin-bottom: 18px; }

/* Wiesolino */
.wiesolino-kopf { display: grid; gap: 30px; align-items: center; margin-bottom: 20px; }
.wiesolino-kopf .titel { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.wiesolino-kopf .titel img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.wiesolino-kopf h1 { margin: 0; font-size: 46px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.wiesolino-kopf .unterzeile { font-size: 32px; margin: 0 0 14px; }
.wiesolino-kopf p { margin: 0 0 12px; }
.etikett {
  display: inline-block; background: var(--akzent); color: #fff; font-weight: 600; font-size: 14px;
  padding: 4px 12px; border-radius: 999px; transform: rotate(-2deg); margin-top: 4px;
}

.foto { position: relative; background: #fff; padding: 12px; border-radius: 6px; transform: rotate(1.5deg);
  box-shadow: 0 14px 30px rgba(0,0,0,.15), 0 2px 6px rgba(0,0,0,.07); }
.foto::before { content: ''; position: absolute; z-index: 1; top: -13px; left: 50%; width: 120px; height: 30px; margin-left: -60px;
  background: var(--klebeband); transform: rotate(-3deg); }
.foto img { border-radius: 3px; }

.abschnitt { margin-top: 64px; }
.abschnitt > h2 { font-size: 30px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 6px; }
.abschnitt > .hand { font-size: 28px; margin: 0 0 22px; }

.welten { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.welten li { background: var(--karte); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.welten img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.welten .text { padding: 14px 16px 16px; }
.welten strong { display: block; font-size: 18px; font-weight: 800; }
.welten span { font-size: 15px; color: var(--leise); }

.figuren { display: flex; justify-content: center; align-items: flex-end; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.figuren figure { margin: 0; text-align: center; width: 120px; }
.figuren img { height: 170px; width: auto; margin: 0 auto; }
.figuren figcaption { font-family: Caveat, cursive; font-weight: 700; color: var(--akzent); font-size: 26px; margin-top: 4px; }

.punkte { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.punkt { background: var(--karte); border-radius: 12px; padding: 20px 20px 18px; box-shadow: 0 8px 20px rgba(0,0,0,.07); }
.punkt h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; line-height: 1.3; }
.punkt p { margin: 0; font-size: 16px; color: var(--leise); }

.aufruf { margin-top: 64px; text-align: center; background: var(--karte); border-radius: 16px; padding: 32px 24px;
  box-shadow: 0 9px 24px rgba(0,0,0,.08); transform: rotate(-.6deg); }
.aufruf h2 { font-size: 34px; margin: 0 0 10px; }
.aufruf p { margin: 0 auto 18px; max-width: 32em; }
.knopf { display: inline-block; background: var(--akzent); color: #fff; font-weight: 600; text-decoration: none;
  padding: 13px 24px; border-radius: 999px; box-shadow: 0 4px 12px rgba(210,85,45,.3); }
.knopf:hover { background: var(--akzent-dunkel); }

@media (max-width: 420px) {
  .karte { gap: 13px; padding: 18px 14px 18px 16px; }
  .karte .zeichen { flex-basis: 48px; width: 48px; height: 48px; }
  .karte strong { font-size: 18px; }
}

@media (min-width: 820px) {
  .seite { padding-top: 64px; }
  .wiesolino-kopf { grid-template-columns: 1fr 1.15fr; gap: 48px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
