/* MutimBauch-CI (Quelle: Malbuch docs/MUTIMBAUCH_DESIGN_SYSTEM.md) + HYLA-Prägung Blau wie die Team-Grafiken */
@font-face { font-family: "Lobster Two"; font-weight: 700; font-display: swap; src: url(/fonts/lobster-two-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url(/fonts/open-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url(/fonts/open-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 800; font-display: swap; src: url(/fonts/open-sans-latin-800-normal.woff2) format("woff2"); }

:root {
  --lila: #8772AA; --lila-dunkel: #6B5A8C; --lila-hell: #F2EAFA; --lila-mittel: #E5D6F6;
  --gelb: #F9B234; --gelb-hell: #FEF0D3; --hyla: #2E6F95; --text: #121212; --text-2: #5d5866;
  --papier: #fff; --creme: #FBF7F1; --linie: #ece6f3;
  --schatten: 0 1px 16px #12121214; --r: 20px;
  --unten: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--creme); color: var(--text); font: 400 16px/1.5 "Open Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
h1, h2 { font-family: "Lobster Two", cursive; font-weight: 700; line-height: 1.15; margin: 0; color: var(--lila-dunkel); }
h1 { font-size: 2rem; } h2 { font-size: 1.55rem; margin-bottom: 12px; }
h3 { font-size: 1rem; margin: 0 0 6px; }
a { color: var(--lila-dunkel); }

.kopf { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 18px 12px; background: var(--lila); color: #fff; }
.marke { height: 26px; color: #fff; line-height: 0; flex: 0 1 auto; min-width: 0; }  /* Wortmarke = Handschrift aus dem Lebenshof-Logo */
.praegung { white-space: nowrap; background: var(--hyla); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 99px; }

main { max-width: 720px; margin: 0 auto; padding: 18px 16px calc(96px + var(--unten)); }
.laden { color: var(--text-2); text-align: center; margin-top: 40px; }
.abschnitt { margin: 26px 0 0; }
.karte { background: var(--papier); border-radius: var(--r); box-shadow: var(--schatten); padding: 18px; margin-top: 12px; }
.karte.lila { background: var(--lila); color: #fff; }
.karte.lila h1, .karte.lila h2 { color: #fff; }
.karte.gelb { background: var(--gelb-hell); }
.kicker { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B9790A; margin-bottom: 4px; }
.karte.lila .kicker { color: var(--gelb); }
.klein { font-size: .85rem; color: var(--text-2); }
.karte.lila .klein { color: #ece6f6; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border: 0; border-radius: 12px; background: var(--gelb); color: var(--text); font: 700 1rem "Open Sans", sans-serif;
  text-decoration: none; cursor: pointer; }
.knopf.zweit { background: var(--lila-hell); color: var(--lila-dunkel); }
.knopf.breit { width: 100%; }
.knoepfe { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.knoepfe .knopf { flex: 1 1 140px; }

.punkte { list-style: none; padding: 0; margin: 10px 0 0; }
.punkte li { position: relative; padding-left: 26px; margin-top: 8px; }
.punkte li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--gelb); }

.zahl { font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--gelb); }
.balken { display: flex; align-items: flex-end; gap: 4px; height: 70px; margin-top: 12px; }
.balken i { flex: 1; background: rgba(255,255,255,.4); border-radius: 4px 4px 0 0; min-height: 3px; }
.balken i.heute { background: var(--gelb); }

.raster { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }
@media (min-width: 520px) { .raster { grid-template-columns: repeat(2, 1fr); } }
.bild { background: var(--papier); border-radius: 16px; box-shadow: var(--schatten); overflow: hidden; }
.bild img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--lila-hell); }
.bild .unter { padding: 10px 12px 12px; }
.bild .knoepfe { margin-top: 8px; }
.bild .knoepfe .knopf { min-height: 44px; font-size: .95rem; }

details.tipp { background: var(--papier); border-radius: 16px; box-shadow: var(--schatten); margin-top: 10px; }
details.tipp summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; display: flex; justify-content: space-between; }
details.tipp summary::-webkit-details-marker { display: none; }
details.tipp summary::after { content: "+"; color: var(--lila); font-size: 1.3rem; line-height: 1; }
details.tipp[open] summary::after { content: "–"; }
details.tipp .innen { padding: 0 18px 16px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.kacheln div { background: var(--lila-hell); border-radius: 14px; padding: 12px 14px; }
.kacheln b { display: block; font-size: 1.3rem; color: var(--lila-dunkel); }
table.raten { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .95rem; }
table.raten td { padding: 6px 4px; border-bottom: 1px solid var(--linie); }
table.raten td:last-child { text-align: right; font-weight: 700; }

.termin { display: flex; gap: 14px; align-items: flex-start; }
.datum { flex: 0 0 58px; text-align: center; background: var(--lila-hell); border-radius: 14px; padding: 8px 4px; color: var(--lila-dunkel); }
.datum b { display: block; font-size: 1.4rem; line-height: 1.1; }
.datum small { font-size: .72rem; font-weight: 700; text-transform: uppercase; }

.anmelden { max-width: 420px; margin: 8vh auto 0; text-align: center; }
.anmelden input { width: 100%; min-height: 54px; border: 2px solid var(--lila-mittel); border-radius: 14px; padding: 0 16px;
  font: 700 1.2rem "Open Sans", sans-serif; text-align: center; letter-spacing: .05em; margin: 18px 0 12px; background: #fff; }
.anmelden input:focus { outline: none; border-color: var(--lila); }
.fehler { color: #b3261e; min-height: 1.5em; }

.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; background: #fff;
  box-shadow: 0 -1px 16px #12121214; padding: 6px 4px calc(6px + var(--unten)); }
.leiste[hidden] { display: none; }
.leiste a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: .72rem;
  font-weight: 700; color: var(--text-2); text-decoration: none; border-radius: 12px; }
.leiste svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.leiste a.aktiv { color: var(--lila-dunkel); background: var(--lila-hell); }
.fuss { margin-top: 34px; text-align: center; font-size: .78rem; color: var(--text-2); }
.hinweis { position: fixed; left: 50%; bottom: calc(86px + var(--unten)); transform: translateX(-50%); background: var(--text); color: #fff;
  padding: 10px 16px; border-radius: 12px; font-size: .9rem; z-index: 9; }
@media (min-width: 720px) { .raster { grid-template-columns: repeat(3, 1fr); } h1 { font-size: 2.4rem; } }
@media (prefers-reduced-motion: no-preference) { .karte, .bild, details.tipp { animation: rein .24s cubic-bezier(.22,1,.36,1); } }
@keyframes rein { from { opacity: 0; transform: translateY(6px); } }

/* Produkte & Wissen */
.zurueck { display: inline-block; font-weight: 700; text-decoration: none; margin-bottom: 8px; }
.produkt { display: flex; gap: 14px; align-items: center; background: var(--papier); border-radius: var(--r); box-shadow: var(--schatten);
  padding: 12px; margin-top: 12px; text-decoration: none; color: var(--text); }
.produkt img { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; background: var(--lila-hell); flex: 0 0 auto; }
.produkt h2 { margin: 0; } .mehr { font-weight: 700; color: var(--lila-dunkel); font-size: .9rem; }
.bereiche { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.kachel { background: var(--papier); border-radius: 16px; box-shadow: var(--schatten); padding: 14px; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 4px; min-height: 104px; }
.kachel span { font-size: 1.6rem; } .kachel b { line-height: 1.25; } .kachel small { color: var(--text-2); margin-top: auto; }
.inhaltsverzeichnis { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; margin-top: 10px; scrollbar-width: none; }
.inhaltsverzeichnis a { flex: 0 0 auto; background: var(--lila-hell); color: var(--lila-dunkel); border-radius: 99px; padding: 7px 12px;
  font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.thema { scroll-margin-top: 76px; } .thema h2 { font-size: 1.35rem; } .thema p { margin: 8px 0; }
.tabelle { overflow-x: auto; margin-top: 10px; }
.tabelle table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.tabelle th { background: var(--lila-hell); color: var(--lila-dunkel); text-align: left; padding: 8px; }
.tabelle td { border-bottom: 1px solid var(--linie); padding: 7px 8px; vertical-align: top; }
.dateien { margin-top: 10px; display: grid; gap: 8px; }
.datei { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--creme); border-radius: 12px; text-decoration: none; color: var(--text); }
.datei span { font-size: 1.3rem; } .datei b { display: block; font-size: .95rem; line-height: 1.3; } .datei small { display: block; color: var(--text-2); font-size: .78rem; }
.notiz { background: var(--creme); border-radius: 12px; padding: 10px 12px; } .notiz summary { font-weight: 700; cursor: pointer; }
.galerie-titel { font-weight: 700; margin-top: 14px; } .galerie-titel small { color: var(--text-2); font-weight: 400; }
.galerie { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; scroll-snap-type: x mandatory; }
.galerie .vorschau { flex: 0 0 auto; width: 120px; height: 120px; border-radius: 12px; overflow: hidden; scroll-snap-align: start; position: relative; background: var(--lila-hell); }
.galerie.gross .vorschau { width: 78%; height: auto; aspect-ratio: 1; }
.galerie img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vorschau.video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; text-shadow: 0 2px 8px #0008; }
.modal { position: fixed; inset: 0; z-index: 20; background: rgba(18,18,18,.92); display: grid; place-items: center; padding: 16px; }
.modal img, .modal video { max-width: 100%; max-height: 86vh; border-radius: 12px; background: #000; }
.modal .zu { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 10px); right: 12px; background: #fff; border: 0; border-radius: 99px;
  width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; }
.stand { font-size: .78rem; color: var(--text-2); margin-top: 2px; }
.kontakt h3 { font-size: 1.15rem; } .kontakt .knoepfe .knopf { flex: 1 1 90px; min-height: 42px; }

/* Suche */
.kopf-rechts { display: flex; align-items: center; gap: 10px; }
.lupe { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.lupe svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.suchfeld { display: flex; gap: 8px; margin-top: 14px; }
.suchfeld input { flex: 1; min-height: 50px; border: 2px solid var(--lila-mittel); border-radius: 14px; padding: 0 14px; font: 1rem "Open Sans", sans-serif; background: #fff; }
.suchfeld input:focus { outline: none; border-color: var(--lila); }
.suchknopf { display: block; margin-top: 14px; background: #fff; border: 2px solid var(--lila-mittel); border-radius: 14px; padding: 14px 16px;
  color: var(--text-2); text-decoration: none; box-shadow: var(--schatten); }
.treffer { display: block; text-decoration: none; color: var(--text); }
.treffer h3 { color: var(--lila-dunkel); }
mark { background: var(--gelb-hell); color: inherit; padding: 0 2px; border-radius: 3px; }

/* Starte hier */
.starthier-karte { display: block; text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--lila), var(--lila-dunkel)); }
.starthier-karte h1 { color: #fff; } .starthier-karte .kicker { color: var(--gelb); } .starthier-karte .klein { color: #efe8f8; }
.fortschritt { height: 10px; background: rgba(255,255,255,.25); border-radius: 99px; overflow: hidden; margin: 12px 0 6px; }
.fortschritt i { display: block; height: 100%; background: var(--gelb); border-radius: 99px; }
.starthier-band { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); border: 2px solid var(--gelb); }
.starthier-band > span:first-child { font-size: 2rem; } .starthier-band b { display: block; font-size: 1.15rem; color: var(--lila-dunkel); }
.starthier-band small { color: var(--text-2); } .starthier-band .mehr { margin-left: auto; font-size: 1.6rem; }
.punkte-leiste { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.punkt { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--lila-mittel); background: #fff;
  color: var(--lila-dunkel); font-weight: 800; cursor: pointer; }
.punkt.fertig { background: var(--lila); border-color: var(--lila); color: #fff; }
.punkt.aktiv { border-color: var(--gelb); box-shadow: 0 0 0 3px var(--gelb-hell); }
.schritte { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 10px -16px 0; scrollbar-width: none; }
.schritte::-webkit-scrollbar, .punkte-leiste::-webkit-scrollbar { display: none; }
.schritt { flex: 0 0 100%; scroll-snap-align: start; padding: 0 16px; box-sizing: border-box; }
.schritt > * { max-width: 680px; }
.schritt-kopf { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--r); box-shadow: var(--schatten); padding: 16px; }
.schritt-nr { flex: 0 0 54px; height: 54px; border-radius: 50%; background: var(--gelb); display: grid; place-items: center;
  font: 800 1.5rem "Open Sans", sans-serif; }
.schritt-kopf h2 { margin: 2px 0 0; font-size: 1.45rem; }
.schritt > p { margin: 14px 2px 4px; }
.todo { list-style: none; padding: 0; margin: 10px 0 0; }
.todo li { background: #fff; border-radius: 14px; margin-top: 8px; box-shadow: var(--schatten); }
.todo label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; cursor: pointer; }
.todo input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--lila); flex: 0 0 auto; }
.todo input:checked + span { color: var(--text-2); text-decoration: line-through; }
.tipp-box { margin-top: 12px; background: var(--gelb-hell); border-radius: 14px; padding: 12px 14px; font-size: .95rem; }
.schritt-links { display: grid; gap: 8px; margin-top: 12px; }
.schritt .knoepfe { margin-bottom: 8px; }
.marke svg { max-width: 100%; }

/* Zubehör & Preise */
.zubehoer-band .suchfeld { margin-top: 8px; } .zubehoer-band .klein, .zubehoer-band .mehr { display: block; margin-top: 8px; }
.zubehoer-kopf { position: sticky; top: 0; z-index: 3; background: var(--creme); padding: 10px 0 6px; margin: 0 -2px; }
.zubehoer-kopf input { width: 100%; min-height: 52px; border: 2px solid var(--lila); border-radius: 14px; padding: 0 14px;
  font: 1.05rem "Open Sans", sans-serif; background: #fff; }
.zubehoer-kopf input:focus { outline: none; box-shadow: 0 0 0 3px var(--lila-mittel); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 0; border-radius: 99px; padding: 7px 12px; background: var(--lila-hell); color: var(--lila-dunkel);
  font: 700 .85rem "Open Sans", sans-serif; }
.chip small { font-weight: 400; opacity: .75; } .chip.aktiv { background: var(--lila); color: #fff; }
.artikel { display: flex; gap: 12px; align-items: center; background: var(--papier); border-radius: 16px; box-shadow: var(--schatten);
  padding: 10px; margin-top: 8px; }
.artikel-bild { flex: 0 0 72px; height: 72px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--linie); font-size: 1.6rem; }
.artikel-bild img { width: 100%; height: 100%; object-fit: contain; }
.artikel-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.artikel-text b { line-height: 1.3; font-size: .95rem; hyphens: auto; overflow-wrap: anywhere; }
.artikel-text small { color: var(--text-2); font-size: .75rem; line-height: 1.3; }
.artikel-hinweis { color: #8a5a00 !important; }
.artnr { border: 0; border-radius: 8px; background: var(--gelb-hell); color: var(--text); font: 700 .8rem "Open Sans", sans-serif;
  padding: 3px 8px; margin: 2px 0; }
.artikel-preis { flex: 0 0 auto; text-align: right; }
.artikel-preis b { display: block; font-size: 1.1rem; color: var(--lila-dunkel); white-space: nowrap; }
.artikel-preis small { color: var(--text-2); font-size: .72rem; white-space: nowrap; }
.modal img[src*="zubehoer-"] { background: #fff; padding: 12px; min-width: 60vw; object-fit: contain; }

/* Kalender */
.kal .kal-text { min-width: 0; flex: 1; }
.kal h3 { margin: 2px 0 2px; }
.kal.team .datum { background: var(--gelb-hell); }
.kal-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kal-links .knopf { min-height: 38px; padding: 0 12px; font-size: .85rem; }
.knopf.aufz { background: var(--hyla); color: #fff; }
.marke-heute { display: inline-block; background: var(--gelb); color: var(--text); border-radius: 6px; padding: 0 6px; margin-left: 4px;
  letter-spacing: 0; }
.marke-heute.morgen { background: var(--lila-hell); color: var(--lila-dunkel); }
h2.monat { margin-top: 18px; text-transform: capitalize; }
details.themen { margin-top: 8px; font-size: .85rem; } details.themen summary { cursor: pointer; color: var(--lila-dunkel); font-weight: 700; }
details.anmeldungen { width: 100%; } details.anmeldungen summary { list-style: none; display: inline-flex; align-items: center; }
details.anmeldungen summary::-webkit-details-marker { display: none; }
