/* Lomli – Familienzettel. Leitbild „Gelb wird ruhig“: nur was offen ist, ist gelb. */
@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
/* Ersatzschrift mit angeglichenen Maßen, damit der Schriftwechsel keinen Sprung macht */
@font-face {
  font-family: "Bricolage Ersatz";
  src: local("Arial Narrow"), local("ArialNarrow"), local("Arial");
  size-adjust: 92%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}

:root {
  --papier: #F2F5F7;
  --petrol: #103A42;
  --petrol-70: rgba(16, 58, 66, .8);
  --navy: #16303F;
  --hellpetrol: #9DBDC3;
  --gelb: #FFD84D;
  --zettel: #FFE682;
  --knick: #E7B92A;
  --weiss: #FFFFFF;
  --linie: rgba(16, 58, 66, .16);
  --rand: clamp(20px, 5vw, 88px);
  --max: 1520px;
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 73px; /* Höhe der Kopfzeile */ }
body {
  margin: 0;
  background: var(--papier);
  color: var(--petrol);
  font: 400 1.1875rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }
.schutz :focus-visible, .fuss :focus-visible { outline-color: var(--gelb); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--petrol); color: var(--weiss); padding: 12px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Schrift: Bricolage nur für Überschriften und Zetteltext */
.titel-riesig, .titel-gross, .titel-mittel, .zettel-text, .marke-wort, .karte-titel, .nicht-liste, .schutz-liste, .woche-titel, .familien-text b {
  font-family: "Bricolage", "Bricolage Ersatz", system-ui, sans-serif;
}
.titel-riesig {
  font-size: clamp(3.1rem, 7.6vw, 9rem);
  font-weight: 680;
  font-stretch: 86%;
  font-variation-settings: "opsz" 96;
  line-height: .93;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.titel-gross {
  font-size: clamp(2.2rem, 4.4vw, 4.9rem);
  font-weight: 660;
  font-stretch: 88%;
  font-variation-settings: "opsz" 96;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.titel-mittel {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 650;
  font-stretch: 90%;
  font-variation-settings: "opsz" 72;
  line-height: 1;
  letter-spacing: -.02em;
}
.lead, .spalte-text p, .hero-unter { max-width: 34em; color: var(--petrol); }
.lead, .hero-unter { font-size: clamp(1.125rem, 1.4vw, 1.3rem); }
.klein { font-size: .94rem; color: var(--petrol-70); max-width: 40em; }

/* Knöpfe: eckig mit 10 px, Petrol, kein Gelb */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px;
  background: var(--petrol); color: var(--weiss);
  border: 1.5px solid var(--petrol); border-radius: 10px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 160ms ease;
}
.knopf:active { transform: scale(.97); }
@media (hover: hover) { .knopf:hover { background: var(--navy); } }
.knopf-leise { background: transparent; color: var(--petrol); }
@media (hover: hover) { .knopf-leise:hover { background: rgba(16, 58, 66, .06); } }
.knopf-gross { min-height: 56px; padding: 14px 28px; font-size: 1.125rem; }
.knopf-klein { min-height: 44px; padding: 8px 14px; font-size: .95rem; }
.knopf[disabled] { opacity: .45; cursor: default; transform: none; }
.textlink { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; display: inline-block; padding: 10px 0; }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--rand);
  background: var(--papier);
  border-bottom: 1px solid transparent;
  transition: transform 260ms var(--ease-out), border-color 200ms ease;
}
.kopf.ist-gescrollt { border-bottom-color: var(--linie); }
.kopf.ist-weg { transform: translateY(-100%); }
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.marke-icon { width: 36px; height: 36px; }
.marke-wort { font-size: 1.6rem; font-weight: 700; font-stretch: 90%; letter-spacing: -.02em; }
.kopf-aktionen { display: flex; gap: 10px; }

/* Zettel: gelb, 2,2° schräg, Schatten, Knickecke. Karte: weiß, Haarlinie, gerade. */
.zettel {
  --zf: var(--zettel);
  --sa: .30;
  --kn: 26px;
  --dreh: -2.2deg;
  position: relative; isolation: isolate;
  padding: 22px 24px calc(22px + var(--kn) * .5);
  transform: rotate(var(--dreh));
  filter: drop-shadow(0 1px 0 rgba(16, 58, 66, calc(var(--sa) * .6))) drop-shadow(0 16px 18px rgba(16, 58, 66, var(--sa)));
}
.zettel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--zf);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--kn)), calc(100% - var(--kn)) 100%, 0 100%);
  border-radius: 3px;
}
.zettel::after {
  content: ""; position: absolute; right: 0; bottom: 0; z-index: -1;
  width: var(--kn); height: var(--kn);
  background: var(--knick);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.zettel-links { --dreh: 1.6deg; }
.zettel-text { font-size: 1.5rem; font-weight: 620; font-stretch: 92%; line-height: 1.12; letter-spacing: -.012em; font-variation-settings: "opsz" 40; }
.zettel-fuss { margin-top: 12px; font-size: .95rem; color: var(--petrol-70); }
.zettel-datum { font-size: .9rem; color: var(--petrol-70); margin-bottom: 8px; }
.zettel .knopf { margin-top: 16px; }
.zettel-gross { padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) calc(clamp(24px, 3vw, 44px) + 14px); --kn: 40px; }
.zettel-gross .zettel-text { font-size: clamp(1.9rem, 3.6vw, 3.6rem); line-height: 1.04; font-variation-settings: "opsz" 72; letter-spacing: -.02em; }
.zettel-mittel .zettel-text { font-size: clamp(1.35rem, 1.8vw, 1.75rem); }

.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 12px;
  padding: 16px 18px;
}
.karte-titel { font-size: 1.15rem; font-weight: 620; font-stretch: 94%; line-height: 1.2; }
.karte-art { font-size: .95rem; color: var(--petrol-70); margin-top: 4px; }
.karte-zeile { font-size: .95rem; margin-top: 6px; }
.karte-wer { font-size: .95rem; font-weight: 600; margin-top: 10px; }

/* Abschnitte */
main { display: block; }
.abschnitt { padding: clamp(80px, 11vw, 168px) var(--rand) 0; max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; }
.spalte-text { display: grid; gap: 22px; max-width: 46rem; }

/* 2 Hero */
.hero {
  position: relative;
  min-height: min(100svh, 1100px);
  padding: 120px var(--rand) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
}
.hero-text { position: relative; z-index: 2; display: grid; gap: 22px; max-width: 58rem; }
.hero-text .titel-riesig { max-width: 9.5em; }
.hero-bild {
  margin: 0; position: relative;
  /* Lage von Zettel und Magnet in Prozent des Bildes (Riso-Hero 16:10, Magnet bei 67,6 % / 21,3 %) */
  --zx: 55%; --zy: 25.5%; --zw: 24%;
  --mx: 63.6%; --my: 14.9%; --mw: 7.9%;
}
.hero-bild picture { display: block; position: relative; z-index: 1; }
.hero-bild picture img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.hero-magnet { position: absolute; z-index: 4; left: var(--mx); top: var(--my); width: var(--mw); height: auto; aspect-ratio: 1; border-radius: 50%; }
.hero-bild .hero-magnet { aspect-ratio: 1; }
.hero-zettel { position: absolute; z-index: 2; left: var(--zx); top: var(--zy); width: var(--zw); padding: .8em .9em 1.3em; --kn: 14px; font-size: clamp(.8rem, 1.25vw, 1.6rem); }
.hero-zettel .zettel-text { font-size: 1em; }
.hero-zettel .zettel-fuss { font-size: .8em; margin-top: .5em; color: var(--petrol); }
@media (min-width: 1024px) {
  .hero { align-content: center; }
  .hero-bild { position: absolute; right: 0; top: 50%; width: 56vw; transform: translateY(-46%); }
  .hero-text { max-width: 44vw; }
  /* zwei Zeilen bei jeder Breite ab 1024 (gemessen 26.11.: 6,4vw mit 5,8em brach dreizeilig um) */
  .hero-text .titel-riesig { max-width: none; font-size: clamp(3.1rem, 6vw, 8.6rem); }
  .hero-unter { max-width: 22em; }
}
@media (max-width: 1023.98px) {
  .hero { min-height: 0; padding-top: 104px; gap: 20px; }
  .hero-bild { margin: 0 calc(var(--rand) * -1); }
}
@media (max-width: 700px) {
  .hero-bild { --zx: 41.5%; --zy: 25.5%; --zw: 33%; --mx: 53.3%; --my: 14.9%; --mw: 10.1%; }
  .hero-bild picture img { aspect-ratio: 3195 / 2559; }
  .hero-zettel { font-size: .95rem; }
}

/* 3 Das Okay */
.okay { padding: clamp(80px, 10vw, 150px) var(--rand) 0; max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; }
.okay-kopf { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 52rem; }
.buehne {
  display: grid; gap: 40px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) {
  .buehne {
    grid-template-columns: minmax(0, 6.2fr) minmax(0, 2.6fr) minmax(250px, 3.2fr);
    gap: clamp(28px, 3vw, 56px);
    align-items: start;
    min-height: min(78vh, 760px);
  }
}
.buehne-zettel { position: relative; z-index: 3; }
.zettel u {
  text-decoration: none;
  background-image: linear-gradient(var(--petrol), var(--petrol));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: var(--u, 100%) 3px;
}
.buehne-steuer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 36px; }
.lokal { font-size: .95rem; color: var(--petrol-70); }
.hinweis { margin-top: 24px; font-weight: 600; font-size: 1.2rem; }
.hinweis:empty { display: none; }

.randnotizen { display: grid; gap: 0; border-top: 1px solid var(--linie); align-self: start; }
.randnotizen li { padding: 14px 0; border-bottom: 1px solid var(--linie); display: grid; gap: 2px; }
.randnotizen b { font-weight: 600; font-size: .95rem; color: var(--petrol-70); }
.randnotizen span { font-size: 1.06rem; font-weight: 600; }
.randnotizen li.ist-leer span { color: var(--petrol-70); font-weight: 400; }

.woche { border-left: 1px solid var(--linie); padding-left: 20px; }
.woche-titel { font-size: 1.25rem; font-weight: 650; font-stretch: 92%; margin-bottom: 8px; }
.woche-tage .tag { border-top: 1px solid var(--linie); padding: 10px 0; min-height: 48px; display: grid; gap: 8px; }
.tag-name { font-size: .95rem; color: var(--petrol-70); }
.tag.ist-heute .tag-name { color: var(--petrol); font-weight: 700; }
.tag .karte { padding: 12px 14px; }
.tag .karte-titel { font-size: 1.02rem; }
.tag .karte-art { font-size: .88rem; }
.karte-fest .karte-titel { font-weight: 560; }
.js .karte-ergebnis { visibility: hidden; }
.js .karte-ergebnis.ist-da { visibility: visible; }
.karte-ergebnis .knopf { margin-top: 10px; }

.spielwiese { margin-top: 28px; border-top: 1px solid var(--linie); padding-top: 32px; display: grid; gap: 20px; }
.spielwiese-titel { font-weight: 600; }
.beispiele { display: flex; flex-wrap: wrap; gap: 18px 22px; }
.mini-zettel {
  border: 0; cursor: pointer; text-align: left;
  background: var(--zettel); padding: 14px 16px; max-width: 300px; min-height: 44px;
  font-family: "Bricolage", "Bricolage Ersatz", system-ui, sans-serif; font-size: 1.05rem; font-weight: 600; font-stretch: 92%; line-height: 1.2;
  transform: rotate(-1.2deg);
  box-shadow: 0 1px 0 rgba(16, 58, 66, .18), 0 8px 12px -6px rgba(16, 58, 66, .3);
  transition: transform 120ms var(--ease-out);
}
.mini-zettel:nth-child(2) { transform: rotate(1.4deg); }
.mini-zettel:active { transform: scale(.97); }
.mini-zettel[aria-pressed="true"] { outline: 2px solid var(--petrol); outline-offset: 3px; }
.eigener { display: grid; gap: 10px; max-width: 40rem; }
.eigener span { font-size: .98rem; }
.eigener input {
  font: 600 1.2rem/1.3 "Bricolage", system-ui, sans-serif; font-stretch: 94%;
  padding: 14px 16px; min-height: 52px;
  background: var(--weiss); color: var(--petrol);
  border: 1.5px solid var(--petrol); border-radius: 10px;
}

/* 4 Wer macht's */
.wer-reihe { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.wer-platz { min-height: 170px; position: relative; }

/* 5 Zwei Zuhause */
.breitbild { margin: 0 calc(var(--rand) * -1) clamp(40px, 5vw, 72px); }
.breitbild img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.band-wrap { position: relative; margin-top: clamp(48px, 6vw, 88px); padding-top: 150px; }
.band { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; }
.band li { padding: 12px 8px 10px; min-height: 84px; display: grid; align-content: space-between; transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out); }
.band span { font-size: .85rem; }
.band em { font-style: normal; font-weight: 650; font-size: .95rem; }
.band .b-s { background: var(--petrol); color: var(--weiss); }
.band .b-t { background: var(--hellpetrol); color: var(--petrol); }
.band li:nth-child(7) { margin-right: 10px; }
.band .ist-heute { box-shadow: inset 0 -4px 0 var(--gelb); }
.tausch { position: absolute; top: 0; width: min(320px, 70vw); }
.tausch-knoepfe { display: flex; gap: 10px; }
.tausch-ergebnis { position: absolute; top: 40px; max-width: 360px; font-size: 1rem; }
.zuhause-reihe { margin-top: clamp(56px, 7vw, 104px); display: grid; gap: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; justify-items: center; }
.liste-haken { margin: 14px 0; display: grid; gap: 8px; }
.liste-haken li { padding-left: 30px; position: relative; }
.liste-haken li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 16px; height: 16px; border: 1.5px solid var(--petrol); border-radius: 4px; }
.screen { margin: 0; display: grid; gap: 12px; width: 100%; max-width: 340px; }
.screen img { width: 100%; max-width: 340px; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 22px; border: 1px solid var(--linie); background: var(--weiss); }
.screens-reihe { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; }
.screens-reihe .screen { flex: 0 1 340px; }
.screen figcaption { font-size: 1.0625rem; color: var(--petrol); }
.screen img.ausschnitt { aspect-ratio: 780 / 1000; }
.screen img.mitteilung { aspect-ratio: 1186 / 232; border: 0; border-radius: 18px; background: none; }

/* Handy-Rahmen für echte Aufnahmen aus dem Android-Emulator (Wunsch des Nutzers 26.11.: „wie bei Framura“).
   Der Rahmen ist CSS, damit Bild und Video denselben Rahmen tragen; alle Maße in Prozent der Breite. */
.telefon {
  position: relative; width: 100%; max-width: 320px;
  padding: 3.2%; border-radius: 13.5% / 6.4%;
  background: #121719;
  box-shadow: inset 0 0 0 1.5px #3a4448;
}
.telefon > img, .telefon > video, .screen .telefon > img {
  display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 1080 / 2400; object-fit: cover;
  border: 0; border-radius: 10.6% / 4.8%; background: var(--papier);
}
.telefon::before { /* Kameraloch über der Statusleiste */
  content: ""; position: absolute; z-index: 1; left: 50%; top: 1.75%;
  width: 3.4%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: #0a0d0e;
}
.telefon::after { /* Seitentaste */
  content: ""; position: absolute; right: -1.1%; top: 21%; width: 1.4%; height: 13%;
  border-radius: 0 3px 3px 0; background: #121719;
}

/* 6 Kinderakte */
.akte-kopf { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
.akte-bild img { width: 100%; max-width: 420px; margin-left: auto; aspect-ratio: 1; object-fit: cover; }
.akte-raster { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: clamp(40px, 5vw, 80px); grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.akte-liste { display: grid; gap: 12px; }
.akte-liste .karte { display: grid; grid-template-columns: 9rem 1fr; column-gap: 20px; align-items: baseline; }
.akte-liste .karte-art { grid-row: 1 / 3; margin: 0; }
.akte-offen { display: grid; gap: 44px; justify-items: start; }

/* 7 Für jede Familie */
.familien-reihe { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.kreise { width: 100%; max-width: 560px; }
.kreise > circle { fill: none; stroke: var(--petrol); stroke-width: 2.5; }
.kreise-wachs { opacity: .85; mix-blend-mode: multiply; }
.kreise text { paint-order: stroke; stroke: var(--papier); stroke-width: 5px; stroke-linejoin: round; }
.kreise text { font: 600 17px system-ui, sans-serif; fill: var(--petrol); }
.kreise .kreise-kind { font: 700 24px "Bricolage", system-ui, sans-serif; stroke: none; }
.kreise .kreise-chip { fill: var(--zettel); stroke: none; }
.familien-text { display: grid; gap: 28px; }
.familien-text p { max-width: 32em; }
.familien-text b { display: block; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 650; font-stretch: 90%; margin-bottom: 4px; }

/* 8 Momente */
.momente-reihe { margin-top: 40px; display: grid; gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr); align-items: center; }
.moment-bild img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.danke { align-self: end; }

/* 9 Was Lomli nicht macht: kein Gelb */
.nicht { padding-bottom: clamp(80px, 11vw, 168px); }
.nicht-liste { margin-top: 40px; border-top: 1px solid var(--linie); }
.nicht-liste li {
  font-size: clamp(1.5rem, 3.2vw, 3rem); font-weight: 560; font-stretch: 88%; line-height: 1.1; letter-spacing: -.015em;
  padding: clamp(14px, 1.6vw, 24px) 0; border-bottom: 1px solid var(--linie);
}

/* 10 Datenschutz: vollflächig Petrol */
.schutz { background: var(--petrol); color: var(--weiss); padding: clamp(88px, 12vw, 180px) var(--rand); }
.schutz > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.schutz-liste { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: clamp(10px, 1.4vw, 20px); }
.schutz-liste li { font-size: clamp(1.6rem, 3.6vw, 3.6rem); font-weight: 600; font-stretch: 88%; line-height: 1.04; letter-spacing: -.02em; }
.schutz-beweis { margin-top: clamp(48px, 6vw, 88px); max-width: 36em; font-size: 1.15rem; color: rgba(255, 255, 255, .86); border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 24px; }
.schutz .titel-gross { max-width: 16em; }

/* 10b Lomli Pro: links was dazukommt, rechts der Preis groß */
.pro-kopf { display: grid; gap: 24px; max-width: 58rem; }
.pro-einstieg { font-size: clamp(1.2rem, 1.6vw, 1.45rem); max-width: 36em; }
.pro-raster { margin-top: clamp(48px, 6vw, 88px); display: grid; gap: clamp(40px, 6vw, 104px); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.pro-liste { display: grid; gap: 14px; }
.pro-liste li { background: var(--weiss); border-radius: 18px; padding: 20px 24px; font-size: 1.05rem; }
.pro-liste b { display: block; font-family: "Bricolage", "Bricolage Ersatz", system-ui, sans-serif; font-size: 1.35rem; font-weight: 660; font-stretch: 90%; margin-bottom: 4px; }
.pro-preis { display: grid; gap: 18px; padding: clamp(28px, 3vw, 44px); border-radius: 24px; background: var(--zettel); }
.pro-betrag { font-size: 1.2rem; }
.pro-betrag span { font-family: "Bricolage", "Bricolage Ersatz", system-ui, sans-serif; font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 700; font-stretch: 86%; letter-spacing: -.03em; line-height: 1; margin-right: .15em; }
.pro-links { display: flex; flex-wrap: wrap; gap: 0 24px; font-weight: 600; }
.pro-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* 10c Hinweis auf die Hilfe */
.hilfe-hinweis { display: grid; gap: clamp(40px, 6vw, 104px); grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; }
.hilfe-hinweis-text { display: grid; gap: 24px; justify-items: start; max-width: 40rem; }
.hilfe-hinweis-text p { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.hilfe-hinweis-bild { margin: 0; display: grid; gap: 12px; justify-items: center; }
.hilfe-hinweis-bild .telefon { max-width: 300px; }
.hilfe-hinweis-bild figcaption { font-size: 1.0625rem; color: var(--petrol); }
@media (max-width: 900px) {
  .pro-raster, .hilfe-hinweis { grid-template-columns: 1fr; }
  .hilfe-hinweis-bild .telefon { max-width: 260px; }
}

/* 11 Beta */
.beta { padding-bottom: clamp(88px, 12vw, 180px); display: grid; justify-items: center; }
.beta-zettel { max-width: 760px; width: 100%; }
.beta-zettel .zettel-fuss { font-size: 1.1rem; max-width: 34em; color: var(--petrol); margin-top: 18px; }
.beta-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* 12 Fuß */
.fuss { background: var(--petrol); color: var(--weiss); padding: 48px var(--rand) 56px; display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; align-items: center; }
.fuss-marke { display: flex; gap: 14px; align-items: center; }
.fuss-icon { width: 40px; height: 40px; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.fuss-links a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }

/* Rechtsseiten */
.recht { padding: 136px var(--rand) 120px; max-width: calc(48rem + 2 * var(--rand)); margin: 0 auto; }
.recht h1 { margin-bottom: 32px; }
.recht h2 { font-family: "Bricolage", "Bricolage Ersatz", system-ui, sans-serif; font-size: 1.5rem; font-weight: 650; font-stretch: 92%; margin: 44px 0 12px; }
.recht h3 { font-size: 1.1rem; font-weight: 650; margin: 28px 0 8px; }
.recht p, .recht li { margin: 0 0 12px; }
.recht ul { list-style: disc; padding-left: 1.3em; }

/* Beta-Anleitung mit je einer Karte pro Plattform */
.recht.beta { display: block; }
.beta-einstieg { font-size: 1.15rem; max-width: 38rem; }
.beta-geraete { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.recht .beta-schritt { margin: 0; padding: 20px 22px 22px; }
.beta-schritt p { margin: 0 0 10px; }
.beta-schritt .knopf { margin-top: 6px; }
#android + .beta-schritt .knopf + p { margin-top: 12px; }
@media (max-width: 479.98px) { .beta-schritt .knopf { width: 100%; } }

/* Mobil */
@media (max-width: 1023.98px) {
  .woche { border-left: 0; padding-left: 0; border-top: 1px solid var(--linie); padding-top: 16px; }
  .zuhause-reihe { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .zuhause-reihe .screen:first-child { grid-column: 1 / -1; }
  .akte-kopf, .akte-raster, .familien-reihe, .momente-reihe { grid-template-columns: minmax(0, 1fr); }
  .akte-bild img { margin: 0; max-width: 320px; }
  .band-wrap { overflow-x: auto; padding-bottom: 8px; }
  .band { min-width: 760px; }
  .wer-platz:nth-child(n) { margin-top: 0; }
  .buehne-steuer .knopf-gross { width: 100%; min-height: 60px; }
}
@media (max-width: 560px) {
  .kopf .knopf { padding: 8px 14px; }
  .akte-liste .karte { grid-template-columns: 1fr; }
  .akte-liste .karte-art { grid-row: auto; }
  .zuhause-reihe { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .screen img { max-width: 300px; }
  .tausch { position: relative; margin-bottom: 20px; }
  .band-wrap { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Mobil: Zettel, Randnotizen, großer Okay-Knopf, dann die Woche direkt darunter (die Karte landet in Sichtweite) */
@media (max-width: 1023.98px) {
  .buehne { gap: 24px; }
  .buehne-zettel { display: contents; }
  .reise { order: 1; }
  .lesart { order: 2; }
  .hinweis { order: 3; margin-top: 0; }
  .buehne-steuer { order: 4; margin-top: 0; }
  .woche { order: 5; }
  .spielwiese { order: 6; }
}

/* Platz für die sieben Tage reservieren, bevor das Skript sie einsetzt (kein Layoutsprung) */
.js .woche-tage { min-height: 420px; }

.hero-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 6px; }
/* Riso-Bilder ohne sichtbares Rechteck: Papier verschmilzt mit dem Seitengrund */
.hero-bild picture img, .breitbild img, .akte-bild img, .moment-bild img { mix-blend-mode: darken; }
/* Lesen: noch nicht gelesene Notizen gedämpft, aber lesbar (AA) */
.randnotizen b { color: var(--petrol); }
.lokal { color: var(--petrol); }
.buehne.ist-abgemacht .randnotizen li, .buehne.ist-abgemacht #lokal { opacity: 1 !important; }
.buehne.ist-abgemacht .zettel u { --u: 100% !important; }
@media (max-width: 1023.98px) {
  .band { min-width: 0; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .band li:nth-child(n+8) { display: none; }
  .band li:nth-child(7) { margin-right: 0; }
  .band-wrap { overflow: visible; }
  .band li { padding: 10px 4px; }
  .band em { font-size: .8rem; }
}

/* Lesen: Wort und Feld leuchten gemeinsam auf */
.randnotizen li { transition: box-shadow 160ms ease, padding-left 160ms ease; }
.randnotizen li.ist-aktiv { box-shadow: inset 4px 0 0 var(--petrol); padding-left: 14px; }
.zettel u.ist-aktiv { background-size: var(--u, 100%) 6px; }
/* Ohne JS: festes Vorher-Nachher, keine Knöpfe ohne Wirkung */
html:not(.js) #okay-knopf, html:not(.js) .karte-ergebnis .knopf, html:not(.js) #rezept-knopf, html:not(.js) #tausch-ja { display: none; }
.band .ist-getauscht { outline: 3px solid var(--petrol); outline-offset: 2px; position: relative; z-index: 1; }
.band .ist-getauscht em::after { content: ", getauscht"; font-weight: 400; }
/* Nach dem Okay ist „Noch mal“ nur noch eine leise Aktion */
.buehne.ist-abgemacht #okay-knopf { background: transparent; color: var(--petrol); min-height: 44px; padding: 8px 0; border-color: transparent; text-decoration: underline; text-underline-offset: 5px; width: auto; }
/* Isolierte Bildebene braucht den Papiergrund, sonst greift das Verschmelzen nicht */
.hero-bild picture { background: var(--papier); }
/* Eine linke Kante auf breiten Bildschirmen */
.hero { padding-left: max(var(--rand), calc((100vw - var(--max)) / 2)); }
.schutz { padding-left: max(var(--rand), calc((100vw - var(--max)) / 2)); padding-right: max(var(--rand), calc((100vw - var(--max)) / 2)); }
.schutz > * { margin-left: 0; margin-right: 0; }
.fuss { padding-left: max(var(--rand), calc((100vw - var(--max)) / 2)); padding-right: max(var(--rand), calc((100vw - var(--max)) / 2)); }

/* ---------- Runde 4 ---------- */

/* Lesen, lauter: das aktive Wort bekommt einen Textmarker, der mit der Unterstreichung wächst;
   die zugehörige Randnotiz trägt denselben Marker. So sieht man Ursache und Wirkung. */
.zettel u.ist-aktiv {
  background-image: linear-gradient(var(--petrol), var(--petrol)), linear-gradient(rgba(16, 58, 66, .17), rgba(16, 58, 66, .17));
  background-size: var(--u, 100%) 6px, var(--u, 100%) 88%;
  background-position: 0 92%, 0 60%;
  border-radius: 2px;
}
.randnotizen li { transition: box-shadow 160ms ease, padding-left 160ms ease, opacity 160ms ease; }
.randnotizen li.ist-aktiv span { font-size: 1.22rem; }
.randnotizen li.ist-aktiv b { background: rgba(16, 58, 66, .17); padding: 1px 6px; margin-left: -6px; border-radius: 3px; justify-self: start; }
.lesart { display: grid; gap: 14px; align-self: start; }
.lokal { font-size: .95rem; }

/* Okay: Abdruck mit Haarlinie, wo der Zettel hing */
.reise { position: relative; }
.reise.ist-abdruck::after {
  content: attr(data-abdruck);
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: 24px; text-align: center;
  border: 1.5px dashed rgba(16, 58, 66, .35); border-radius: 6px;
  font-size: 1.1rem; font-weight: 600; color: var(--petrol);
}
.tag.ist-ziel .tag-name { color: var(--petrol); font-weight: 700; }

/* Zweispaltige Köpfe: Überschrift links, Absatz rechts auf der Grundlinie */
@media (min-width: 1024px) {
  .kopf-zwei { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); max-width: none; column-gap: clamp(40px, 6vw, 120px); align-items: end; }
  .kopf-zwei p { max-width: 30em; }
}
.wer-reihe { align-items: start; }

/* Momente: eigener Grund (Hellpetrol), Bild groß, Zettel überlappt es */
.momente {
  border-image: conic-gradient(#E3ECEE 0 0) fill 0 // 0 100vw;
  padding-bottom: clamp(80px, 10vw, 150px);
  margin-top: clamp(80px, 11vw, 168px);
  padding-top: clamp(64px, 8vw, 120px);
}
/* Die Tür schmal zuschneiden (ohne Freistellreste), der Zettel klebt halb auf ihr */
.momente-reihe { grid-template-columns: minmax(0, 340px) minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; align-items: center; }
.moment-seite { display: grid; gap: 24px; justify-items: start; padding-left: clamp(24px, 4vw, 72px); }
.moment-seite > p:first-child { max-width: 26em; }
.moment-seite .danke { margin: 0; grid-column: auto; }
.moment-bild img { aspect-ratio: 5 / 8; object-fit: cover; object-position: 50% 50%; }
.moment-platz { position: relative; z-index: 1; margin-left: clamp(-120px, -7vw, -60px); display: grid; gap: 32px; justify-items: start; max-width: 520px; }
.moment-karte { max-width: 420px; }
.danke { grid-column: 2; justify-self: start; margin-top: 32px; margin-left: clamp(60px, 8vw, 140px); }
@media (max-width: 1023.98px) {
  .momente-reihe { grid-template-columns: minmax(0, 1fr); }
  .moment-seite { padding: 40px 0 0; }
  .moment-bild img { max-width: 280px; }
  .moment-platz { margin: -96px 0 0 24px; }
  .danke { grid-column: auto; margin-left: 0; }
}
html:not(.js) #moment-knopf { display: none; }

/* Was Lomli nicht macht: links der Satz, rechts das, was es dafür nicht gibt, durchgestrichen */
.nicht-liste li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px clamp(24px, 4vw, 72px); align-items: baseline; }
.nicht-liste s {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem); font-weight: 400; letter-spacing: 0; font-stretch: 100%; line-height: 1.3;
  color: var(--petrol);
  text-decoration: line-through; text-decoration-color: var(--petrol); text-decoration-thickness: 3px;
}
@media (max-width: 700px) { .nicht-liste li { grid-template-columns: minmax(0, 1fr); } }

/* Hero: Freistellreste rechts vom Kühlschrank wegschneiden; auf großen Bildschirmen keine Lücke darunter */
.hero-bild picture { clip-path: inset(0 7% 0 0); }
/* Die Zettelwolke ist oben und links gerade abgeschnitten: neben dem Text dort weich auslaufen lassen
   (auf schmalen Bildschirmen endet das Bild am Bildschirmrand) */
@media (min-width: 1024px) {
  .hero-bild picture {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%), linear-gradient(180deg, transparent, #000 8%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 9%), linear-gradient(180deg, transparent, #000 8%);
    mask-composite: intersect;
  }
}
@media (min-width: 1600px) and (min-height: 1000px) {
  .hero { min-height: min(100svh, 960px); }
  .okay { padding-top: clamp(48px, 5vw, 96px); }
}
.hero .klein { color: var(--petrol); font-weight: 600; }

/* Handy: Woche nur mit Tagen, an denen etwas ist; Randnotizen zweispaltig */
@media (max-width: 1023.98px) {
  .woche-tage .tag:not(.ist-heute):not(:has(.karte)) { display: none; }
  .js .woche-tage { min-height: 160px; }
  .randnotizen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; }
  .randnotizen li { padding: 10px 0; }
}

/* Wachstumsstriche am Kühlschrank (Hero): mit Stift gezogen, Wachskörnung wie die Kreise, Petrol, still.
   Der oberste Strich liegt auf Kopfhöhe des gemalten Kindes. */
.hero-mass { position: absolute; z-index: 3; left: var(--ml, 55.6%); top: var(--mt, 44%); width: var(--mb, 21%); height: var(--mh, 51%); }
.strich { position: absolute; left: 0; top: var(--h); width: var(--w); }
.strich svg { display: block; width: 100%; height: 10px; overflow: visible; margin-top: -5px; }
.strich path { fill: none; stroke: var(--petrol); stroke-width: 3.5px; stroke-linecap: round; }
.strich p {
  margin-top: 4px; padding-left: 4px; white-space: nowrap;
  font-family: "Bricolage", "Bricolage Ersatz", system-ui, sans-serif;
  font-size: clamp(.75rem, .95vw, 1.05rem); font-weight: 600; font-stretch: 88%; line-height: 1.1; letter-spacing: -.005em;
  color: var(--petrol);
  transform: rotate(-1.5deg); transform-origin: 0 0;
}
/* widths live here, not in style attributes: the CSP allows no inline styles */
.strich:nth-child(1) { --h: 26%; --w: 78%; }
.strich:nth-child(2) { --h: 42%; --w: 62%; }
.strich:nth-child(3) { --h: 60%; --w: 56%; }
.strich + .strich path { stroke-width: 3px; opacity: .8; }
.strich + .strich p { font-weight: 500; opacity: .85; }
@media (max-width: 700px) {
  .hero-mass { --ml: 42%; --mt: 60%; --mb: 30%; --mh: 34%; }
  .strich:nth-child(1) { --h: 4%; }
  .strich:nth-child(2) { --h: 38%; }
  .strich:nth-child(3) { --h: 72%; }
}

/* Nach dem Okay: Abdruck als eine Zeile, Okay-Knopf weg ("Noch mal" übernehmen die Beispielzettel) */
.reise.ist-abdruck { min-height: 64px; }
.reise.ist-abdruck .zettel { display: none; }
.reise.ist-abdruck::after { padding: 12px 20px; font-size: 1rem; }
.buehne.ist-abgemacht .buehne-steuer { display: none; }
.beta-weg { margin-top: 16px; font-size: 1rem; color: var(--petrol); }

/* Wortmarke Jolpi (27.11.): die Schleife des J ist der Magnet aus dem App-Icon, deshalb kein Icon daneben.
   Das J reicht unter die Grundlinie, darum etwas höher als die alte Lomli-Marke */
.marke-wort { display: block; height: 38px; width: auto; }
.fuss-wort { display: block; height: 40px; width: auto; }
@media (max-width: 560px) { .marke-wort { height: 32px; } }

/* Abspielknopf über Videos im Handy-Rahmen (site/telefon-video.js) */
.telefon-abspielen {
  position: absolute; z-index: 2; left: 50%; bottom: 9%; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 20px 10px 16px; border: 0; border-radius: 999px;
  background: var(--petrol); color: var(--weiss); font: 600 1rem/1.2 system-ui, sans-serif; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background 160ms;
}
.telefon-abspielen::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--gelb); }
.telefon-abspielen:active { transform: scale(.97); }
@media (hover: hover) { .telefon-abspielen:hover { background: var(--navy); } }
.telefon-abspielen:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }

/* Navigation (27.11.): ab 960px sichtbar in der Kopfzeile, darunter hinter „Menü“ als ganze Seite.
   Das Menü ist ein <details>, ohne JavaScript also auch bedienbar; kopf.js schließt es bei Link, Escape und Breitwechsel. */
.kopf-nav { display: none; }
.kopf-links, .menue-links, .menue-klein { list-style: none; margin: 0; padding: 0; }
.kopf-links { display: flex; gap: 2px; }
.kopf-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px;
  font-weight: 600; color: var(--petrol); text-decoration: none; transition: background-color 160ms ease;
}
@media (hover: hover) { .kopf-links a:hover { background: rgba(16, 58, 66, .06); } }
.kopf-links a[aria-current="page"], .kopf-links a.ist-hier { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.kopf-aktionen { align-items: center; }

.menue-knopf {
  list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--petrol); border-radius: 10px; font-weight: 600; color: var(--petrol); cursor: pointer;
  user-select: none; transition: transform 120ms var(--ease-out);
}
.menue-knopf::-webkit-details-marker { display: none; }
.menue-knopf:active { transform: scale(.97); }
.menue-knopf:focus-visible { outline-width: 2px; outline-offset: 4px; }
.menue-striche { position: relative; width: 16px; height: 2px; background: currentColor; border-radius: 1px; transition: background-color 160ms ease; }
.menue-striche::before, .menue-striche::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform 220ms var(--ease-out);
}
.menue-striche::before { transform: translateY(-5px); }
.menue-striche::after { transform: translateY(5px); }
.menue[open] .menue-striche { background: transparent; }
.menue[open] .menue-striche::before { transform: rotate(45deg); }
.menue[open] .menue-striche::after { transform: rotate(-45deg); }

.menue-blatt {
  position: fixed; inset: 73px 0 0 0; z-index: 29; overflow-y: auto;
  display: grid; align-content: start; gap: clamp(28px, 6vh, 48px);
  padding: 24px var(--rand) 40px; background: var(--papier);
}
.menue[open] .menue-blatt { animation: menue-auf 220ms var(--ease-out); }
@keyframes menue-auf { from { opacity: 0; transform: translateY(-8px); } }
.menue-links a {
  display: flex; align-items: center; min-height: 60px; text-decoration: none; color: var(--petrol);
  font-family: "Bricolage", "Bricolage Ersatz", system-ui, sans-serif;
  font-size: clamp(2rem, 9vw, 2.6rem); font-weight: 650; font-stretch: 88%; letter-spacing: -.02em; line-height: 1;
}
.menue-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.menue-aktionen { display: grid; gap: 12px; max-width: 420px; }
.menue-klein { display: grid; justify-items: start; }
.menue-klein a { display: inline-flex; align-items: center; min-height: 44px; color: var(--petrol); font-weight: 600; }
html.menue-offen { overflow: hidden; }
html.menue-offen .kopf { border-bottom-color: var(--linie); transform: none; }
/* offen steht „Beta testen“ groß im Menü, oben nicht doppelt */
html.menue-offen .kopf .kopf-beta { visibility: hidden; }

@media (min-width: 960px) {
  .kopf-nav { display: block; margin-left: auto; }
  .menue { display: none; }
}
@media (max-width: 380px) { .kopf .kopf-beta { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .menue[open] .menue-blatt { animation: none; }
  .menue-striche::before, .menue-striche::after, .menue-knopf { transition: none; }
}
