/* Restimate · Infoseiten für den Store. Keine Schriften, Skripte oder Bilder von fremden Servern.
   Farben aus der hellen App (warmes Beige, weisse Karten, Tannengrün). Kein Tracking, keine Animation. */

:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --karte: #ffffff;
  --linie: #e3ddd0;
  --ink: #1f1d1a;
  --ink-2: #4a463f;
  --ink-3: #6b655c;
  --accent: #1f6b52;
  --accent-soft: #d8ebe2;
  --blau: #e3f0f5;
  --lila: #ebe7f5;
  --mint: #e4f3ea;
  --rose: #f6e9ef;
  --ocker: #f5ebd5;
  --platz: #ffd54a;
  --rand: clamp(1.25rem, 5vw, 3rem);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 64rem; margin: 0 auto; padding: 2.5rem var(--rand) 4rem; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.25rem); line-height: 1.1; margin: 0 0 0.6rem; letter-spacing: -0.02em; }
h2 { font-size: 1.45rem; line-height: 1.3; margin: 3rem 0 0.9rem; color: var(--ink); }
h3 { font-size: 1.08rem; margin: 0 0 0.4rem; color: var(--ink); }
p, li { color: var(--ink-2); }
p { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; margin: 0 0 1rem; }
li { margin-bottom: 0.45rem; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1rem var(--rand); background: var(--karte); border-bottom: 1px solid var(--linie); }
.kopf a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.kopf nav a { color: var(--ink-2); font-weight: 400; margin-left: 1.25rem; font-size: 0.98rem; }
.kopf nav a:hover { color: var(--accent); }
.untertitel { color: var(--ink-3); font-size: 1rem; margin-bottom: 2rem; }

/* Einstieg: Text links, Bild rechts */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; margin-bottom: 1rem; }
.hero .untertitel { font-size: 1.15rem; color: var(--accent); margin-bottom: 1rem; font-weight: 500; }
.hero-bild { margin: 0; justify-self: center; width: min(100%, 22rem); }
.hero-bild img { width: 100%; height: auto; display: block; border-radius: 28px; border: 1px solid var(--linie); background: var(--karte); }

.hinweis { background: var(--mint); border-radius: 18px; padding: 1.1rem 1.3rem; margin: 1.5rem 0; }
.hinweis p { color: var(--ink); margin: 0; }

.platzhalter { background: var(--platz); color: #1d1c18; padding: 0 0.3em; border-radius: 4px; font-weight: 600; }

/* Bildergalerie */
.bilder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1rem 0 0.5rem; }
.bilder figure { margin: 0; background: var(--karte); border-radius: 20px; padding: 0.6rem 0.6rem 0.8rem; border: 1px solid var(--linie); }
.bilder img { width: 100%; height: auto; display: block; border-radius: 14px; }
.bilder figcaption { font-size: 0.92rem; color: var(--ink-2); margin-top: 0.55rem; text-align: center; font-weight: 500; }

/* Kacheln in den Tönen der App */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0.5rem 0 1rem; }
.kachel { border-radius: 20px; padding: 1.2rem 1.25rem; background: var(--blau); }
.kachel:nth-child(3n+2) { background: var(--lila); }
.kachel:nth-child(3n+3) { background: var(--mint); }
.kachel:nth-child(4n+4) { background: var(--rose); }
.kachel:nth-child(5n+5) { background: var(--ocker); }
.kachel p { font-size: 0.98rem; margin: 0; color: var(--ink-2); }

/* Was es nicht ist: ruhige Liste auf weisser Karte */
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 20px; padding: 1.3rem 1.5rem; }
.karte ul { margin: 0; }
.karte li:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.25rem; font-size: 0.97rem; background: var(--karte); border-radius: 16px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--linie); color: var(--ink-2); }
th { color: var(--ink); font-weight: 600; width: 34%; background: var(--bg); }
tr:last-child th, tr:last-child td { border-bottom: 0; }

.fuss { border-top: 1px solid var(--linie); margin-top: 3.5rem; padding-top: 1.25rem; font-size: 0.92rem; color: var(--ink-3); }
.fuss a { color: var(--ink-2); }

@media (max-width: 58rem) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .bilder { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 44rem) {
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-bild { order: -1; width: min(70%, 17rem); }
  .grid { grid-template-columns: 1fr; }
  th { width: 40%; }
}
