@font-face { font-family: "Jakarta"; src: url(fonts/plus-jakarta-sans-400-latin.woff2) format("woff2"); font-weight: 400; }
@font-face { font-family: "Jakarta"; src: url(fonts/plus-jakarta-sans-500-latin.woff2) format("woff2"); font-weight: 500; }
@font-face { font-family: "Jakarta"; src: url(fonts/plus-jakarta-sans-600-latin.woff2) format("woff2"); font-weight: 600; }
@font-face { font-family: "Jakarta"; src: url(fonts/plus-jakarta-sans-700-latin.woff2) format("woff2"); font-weight: 700; }

/* Salbei/Schilfgrün statt Waldgrün (Entscheidung 26.10.2026) */
:root {
  --grund: #F2F3EF;
  --karte: #FFFFFF;
  --linie: #E4E7E1;
  --text: #1F2621;
  --leise: #5D655E;
  --s900: #2E3F33;
  --s700: #4C6553;
  --s500: #7E9B85;
  --s300: #B9CBBB;
  --s100: #E5EDE4;
  --schilf: #6E7B48;
  --warn: #B4874E;
  --rund: 22px;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Jakarta", -apple-system, system-ui, sans-serif;
  background: var(--grund); color: var(--text);
  font-size: 15px; line-height: 1.4;
  padding: env(safe-area-inset-top) 0 calc(84px + env(safe-area-inset-bottom));
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
svg { display: block; }

.seite { max-width: 560px; margin: 0 auto; padding: 14px 16px 24px; display: grid; gap: 14px; }

/* Kopf */
.kopf { display: flex; align-items: center; gap: 12px; padding: 4px 0 2px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--s100); color: var(--s700);
  display: grid; place-items: center; font-weight: 700; font-size: 17px; flex: none; }
.gruss { flex: 1; min-width: 0; }
.gruss h1 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.gruss p { color: var(--leise); font-size: 13px; }
.rund { width: 40px; height: 40px; border-radius: 50%; background: var(--karte); border: 1px solid var(--linie);
  display: grid; place-items: center; color: var(--s900); flex: none; }
.werkzeuge { display: flex; gap: 8px; }

.karte { background: var(--karte); border-radius: var(--rund); padding: 16px; }
.karte h2 { font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.karte h2 small { font-size: 12px; font-weight: 500; color: var(--leise); }
.pfeil { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--linie); display: grid; place-items: center; flex: none; }

/* Impuls */
.impuls { background: linear-gradient(140deg, var(--s700), var(--s900) 75%); color: #F4F7F2; position: relative; overflow: hidden; }
.impuls::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(185,203,187,.35), transparent 70%); }
.impuls .marke { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--s300); }
.impuls p.satz { font-size: 17px; font-weight: 600; margin: 8px 0 12px; line-height: 1.35; }
.impuls blockquote { font-size: 13px; color: #D5E0D5; border-left: 2px solid var(--s500); padding-left: 10px; }
.impuls cite { display: block; font-style: normal; color: var(--s300); margin-top: 4px; font-size: 12px; }

/* Kennzahlen */
.zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zahl { padding: 14px; }
.zahl .titel { font-size: 13px; color: var(--leise); display: flex; justify-content: space-between; align-items: center; }
.zahl .wert { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0; }
.zahl .info { font-size: 12px; color: var(--s700); display: flex; align-items: center; gap: 4px; }
.zahl.hell { background: var(--s100); }

/* Nächster Termin */
.termin .was { font-size: 19px; font-weight: 700; color: var(--s700); margin: 10px 0 2px; line-height: 1.25; }
.termin .wann { color: var(--leise); font-size: 13px; }
.knopf { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px;
  background: var(--s700); color: #fff; border-radius: 999px; padding: 12px; font-weight: 600; }
.liste-termine { margin-top: 12px; border-top: 1px solid var(--linie); padding-top: 10px; display: grid; gap: 8px; }
.liste-termine div { display: flex; gap: 10px; font-size: 14px; }
.liste-termine time { width: 46px; color: var(--leise); font-variant-numeric: tabular-nums; flex: none; }

/* Todos */
.todos { display: grid; gap: 2px; margin-top: 8px; }
.todo { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linie); }
.todo:last-child { border-bottom: 0; }
.haken { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--s300); flex: none; display: grid; place-items: center; }
.todo.fertig .haken { background: var(--s500); border-color: var(--s500); }
.todo.fertig .text { color: var(--leise); text-decoration: line-through; }
.todo .text { flex: 1; min-width: 0; }
.todo .text small { display: block; color: var(--leise); font-size: 12px; }
.chip { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--s100); color: var(--s700); flex: none; }
.chip.kind { background: #EEF0E4; color: #6D7848; }
.chip.frist { background: #F6EEE3; color: var(--warn); }
.neu { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--s300); color: var(--s700); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }

/* Schlaf-Woche */
.saeulen { display: flex; justify-content: space-between; align-items: flex-end; height: 120px; margin-top: 14px; gap: 6px; }
.saeule { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; font-size: 11px; color: var(--leise); }
.saeule i { display: block; width: 100%; max-width: 34px; border-radius: 999px; background: var(--s500); }
.saeule i.hoch { background: var(--s700); }
.saeule i.heute { background: var(--s300); outline: 2px solid var(--s700); outline-offset: 2px; }
.saeule i.leer { background: repeating-linear-gradient(135deg, var(--linie) 0 4px, #fff 4px 8px); border: 1px solid var(--linie); }
.hinweis { font-size: 12px; color: var(--leise); margin-top: 10px; display: flex; gap: 6px; align-items: center; }

/* Fortschritt und Anziehen nebeneinander */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bogen { text-align: center; }
.bogen .prozent { font-size: 22px; font-weight: 700; margin-top: -26px; }
.bogen small { color: var(--leise); font-size: 12px; }
.anziehen { background: linear-gradient(160deg, var(--s900), #243328); color: #EEF3EC; position: relative; overflow: hidden; }
.anziehen::before { content: ""; position: absolute; inset: 0; opacity: .25;
  background: repeating-radial-gradient(circle at 110% 120%, transparent 0 10px, rgba(185,203,187,.5) 10px 11px); }
.anziehen > * { position: relative; }
.anziehen .grad { font-size: 28px; font-weight: 700; margin: 6px 0 2px; }
.anziehen ul { list-style: none; padding: 0; font-size: 12px; color: #CFDACF; display: grid; gap: 2px; }

/* Zeitungen */
.zeitungen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zeitung .art { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--schilf); }
.zeitung h3 { font-size: 14px; font-weight: 600; margin: 6px 0 4px; line-height: 1.3; }
.zeitung p { font-size: 12px; color: var(--leise); }

/* Claude-Feld */
.claude { display: flex; gap: 8px; align-items: center; background: var(--karte); border-radius: 999px; padding: 6px 6px 6px 16px; border: 1px solid var(--linie); }
.claude input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; background: transparent; color: var(--text); }
.claude .rund { width: 36px; height: 36px; border: 0; background: var(--s100); }
.claude .rund.senden { background: var(--s700); color: #fff; }
.schutz { font-size: 11px; color: var(--leise); text-align: center; margin-top: -6px; }

.entwurf { font-size: 11px; color: var(--leise); text-align: center; }

/* Leiste unten (iPhone) */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--linie); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(5, 1fr); }
.leiste button { display: grid; justify-items: center; gap: 3px; font-size: 11px; color: var(--leise); padding: 6px 0; border-radius: 14px; }
.leiste button.an { color: var(--s700); font-weight: 600; }
.leiste button.an svg { stroke: var(--s700); }
.leiste .marke-punkt { position: relative; }
.leiste .marke-punkt::after { content: ""; position: absolute; top: -1px; right: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }

.seitenleiste { display: none; }

/* iPad: Seitenleiste wie in der Vorlage, Inhalte im Raster */
@media (min-width: 820px) {
  body { padding-bottom: 0; }
  .leiste { display: none; }
  .rahmen { display: grid; grid-template-columns: 230px 1fr; gap: 16px; padding: 16px; min-height: 100vh; }
  .seitenleiste { display: flex; flex-direction: column; gap: 4px; background: var(--karte); border-radius: var(--rund); padding: 22px 14px; position: sticky; top: 16px; height: calc(100vh - 32px); }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; padding: 0 8px 18px; }
  .seitenleiste .gruppe { font-size: 11px; color: var(--leise); letter-spacing: .06em; text-transform: uppercase; padding: 14px 10px 6px; }
  .seitenleiste button { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--leise); font-weight: 500; text-align: left; position: relative; }
  .seitenleiste button.an { color: var(--text); font-weight: 600; background: var(--grund); }
  .seitenleiste button.an::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--s700); }
  .seitenleiste .zahl-chip { margin-left: auto; font-size: 11px; background: var(--s700); color: #fff; border-radius: 999px; padding: 1px 7px; }
  .seite { max-width: none; padding: 0; grid-template-columns: repeat(6, 1fr); align-content: start; }
  .seite > * { grid-column: span 6; }
  .impuls { grid-column: span 4; }
  .termin { grid-column: span 2; }
  .zahlen { grid-template-columns: repeat(4, 1fr); }
  .todos-karte { grid-column: span 3; }
  .schlaf { grid-column: span 3; }
  .zwei { grid-column: span 3; }
  .zeitungen { grid-column: span 3; }
}

/* ---------- App (seit 26.10.2026): Ansichten, Listen, Anmeldung ---------- */
[hidden] { display: none !important; }
.ansicht { display: contents; }
.titel-zeile { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 4px; }
.titel-zeile h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.titel-zeile p { color: var(--leise); font-size: 13px; }
.filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter button { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--karte); border: 1px solid var(--linie); font-size: 13px; font-weight: 500; color: var(--leise); }
.filter button.an { background: var(--s700); border-color: var(--s700); color: #fff; }
.leer { color: var(--leise); font-size: 14px; padding: 8px 0; }
.tag { margin-top: 4px; }
.tag h3 { font-size: 13px; font-weight: 600; color: var(--s700); text-transform: uppercase; letter-spacing: .05em; margin: 6px 0 6px; }
.eintrag { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--linie); font-size: 14px; }
.eintrag:first-of-type { border-top: 0; }
.eintrag time { width: 50px; flex: none; color: var(--leise); font-variant-numeric: tabular-nums; }
.eintrag .inhalt { flex: 1; min-width: 0; }
.eintrag .inhalt small { display: block; color: var(--leise); font-size: 12px; }
.eintrag .original { font-size: 11px; font-weight: 600; color: var(--warn); }
.neu-form { display: flex; gap: 8px; margin-top: 10px; }
.neu-form input[type=text] { flex: 1; min-width: 0; border: 1px solid var(--linie); border-radius: 14px; padding: 10px 12px; font: inherit; background: var(--grund); }
.neu-form input[type=date] { width: 140px; border: 1px solid var(--linie); border-radius: 14px; padding: 8px; font: inherit; background: var(--grund); color: var(--leise); }
.neu-form button { background: var(--s700); color: #fff; border-radius: 14px; padding: 0 16px; font-weight: 600; }
.todo button.haken { cursor: pointer; }
.todo select { border: 0; background: transparent; font: inherit; font-size: 12px; color: var(--leise); }
.artikel { padding: 12px 0; border-top: 1px solid var(--linie); }
.artikel:first-of-type { border-top: 0; }
.artikel h3 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.artikel p { font-size: 13px; color: var(--leise); margin-top: 4px; }
.artikel a { color: inherit; text-decoration: none; }
.artikel .quelle { font-size: 11px; color: var(--schilf); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.hinweis-karte { background: var(--s100); color: var(--s900); border-radius: var(--rund); padding: 14px 16px; font-size: 13px; }
.mehr-blatt { position: fixed; inset: 0; z-index: 10; background: rgba(30,38,33,.35); display: flex; align-items: flex-end; }
.mehr-blatt .blatt { background: var(--karte); width: 100%; border-radius: 24px 24px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 6px; }
.mehr-blatt .blatt button { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; font-weight: 500; text-align: left; }
.mehr-blatt .blatt button:active { background: var(--grund); }
.anmeldung { position: fixed; inset: 0; z-index: 20; background: var(--grund); display: grid; place-items: center; padding: 24px; }
.anmeldung form { background: var(--karte); border-radius: var(--rund); padding: 26px 20px; width: min(360px, 100%); display: grid; gap: 12px; }
.anmeldung h1 { font-size: 22px; }
.anmeldung input { border: 1px solid var(--linie); border-radius: 14px; padding: 12px; font: inherit; background: var(--grund); }
.anmeldung .fehler { color: var(--warn); font-size: 13px; min-height: 1em; }
.claude-antworten { display: grid; gap: 8px; }
.claude-antworten div { background: var(--karte); border-radius: 16px; padding: 10px 14px; font-size: 13px; }
.claude-antworten b { display: block; font-weight: 600; margin-bottom: 2px; }
.daten-stand { font-size: 11px; color: var(--leise); text-align: center; }
@media (min-width: 820px) {
  .ansicht > .karte, .ansicht > section, .ansicht > div, .ansicht > p { grid-column: span 6; }
  .ansicht > .impuls { grid-column: span 4; }
  .ansicht > .termin { grid-column: span 2; }
  .ansicht > .todos-karte, .ansicht > .schlaf, .ansicht > .zwei, .ansicht > .zeitungen { grid-column: span 3; }
  .ansicht > .halb { grid-column: span 3; }
}
button.karte { display: block; width: 100%; text-align: left; font: inherit; color: inherit; }
.todo .haken { padding: 0; }
.seite > *, .karte, .ansicht > * { min-width: 0; }
.neu-form { flex-wrap: wrap; }
.neu-form input[type=text] { flex: 1 1 100%; }
.neu-form input[type=date] { flex: 1; width: auto; min-width: 0; }
.neu-form button { min-height: 42px; }
.todo .chip { white-space: nowrap; }
.todo select { max-width: 100%; }
.eintrag .chip { align-self: flex-start; }

/* ---------- Dankbar, Kompass, Impulse (aus Vorrang umgezogen, 26.10.2026) ---------- */
.leise-text { font-size: 12px; color: var(--leise); }
.woche-punkte { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.woche-punkte .d { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--leise); }
.woche-punkte .d.heute { color: var(--text); font-weight: 700; }
.woche-punkte i { width: 26px; height: 26px; border-radius: 50%; background: var(--linie); }
.woche-punkte i.an { background: var(--s500); }
.jkarte { display: grid; gap: 8px; }
.jkarte label { font-size: 13px; font-weight: 600; margin-top: 6px; }
.jkarte .zeile { display: flex; align-items: center; gap: 8px; }
.jkarte .zeile span { width: 20px; color: var(--s700); font-weight: 700; font-size: 13px; text-align: center; flex: none; }
.jin { width: 100%; border: 1px solid var(--linie); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; background: var(--grund); color: var(--text); resize: vertical; }
.jin:focus { outline: 2px solid var(--s300); border-color: var(--s500); }
.gespeichert { font-size: 12px; color: var(--leise); min-height: 1em; }
.danke { background: var(--s100); color: var(--s900); border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.danke small { display: block; font-size: 12px; color: var(--leise); margin-top: 2px; }
.leitsatz { background: linear-gradient(140deg, var(--s100), #F4F7F1); border-radius: var(--rund); padding: 18px; text-align: left; width: 100%; }
.leitsatz span { font-size: 12px; font-weight: 700; color: var(--s700); text-transform: uppercase; letter-spacing: .05em; }
.leitsatz p { font-size: 19px; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.leitsatz p.leer-satz { font-size: 15px; font-weight: 500; color: var(--s700); }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.bereich { border-radius: 18px; padding: 12px; text-align: left; display: flex; flex-direction: column; gap: 6px; min-height: 104px; background: var(--s100); }
.bereich .oben { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; }
.bereich .oben span { font-size: 12px; font-weight: 700; background: rgba(255,255,255,.75); border-radius: 999px; padding: 1px 8px; }
.bereich .werte { font-size: 12px; font-weight: 600; color: var(--s700); }
.bereich .vision { font-size: 13px; line-height: 1.35; }
.bereich .ziel { font-size: 12px; background: rgba(255,255,255,.65); border-radius: 10px; padding: 4px 8px; margin-top: auto; }
.b-familie, .b-freunde { background: #EEF0E4; }
.b-beruf, .b-freizeit { background: #E9EEEA; }
.rad { width: 100%; max-width: 420px; display: block; margin: 8px auto 0; }
.frage { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 8px 0 4px; }
.alle-fragen summary, .impuls-art summary { cursor: pointer; }
.alle-fragen summary { font-size: 14px; font-weight: 600; color: var(--s700); margin-top: 10px; }
.knopf.hell { background: var(--s100); color: var(--s900); }
.impuls-art { border-top: 1px solid var(--linie); padding: 12px 0; }
.impuls-woche .impuls-art { border-top: 0; }
.impuls-art summary { list-style: none; display: grid; gap: 4px; }
.impuls-art summary::-webkit-details-marker { display: none; }
.impuls-art summary .chip { justify-self: start; }
.impuls-art h3 { font-size: 15px; font-weight: 600; }
.impuls-art summary p { font-size: 13px; color: var(--leise); }
.impuls-art > p { font-size: 14px; line-height: 1.5; margin-top: 8px; }
.probier { background: var(--s100); border-radius: 12px; padding: 10px 12px; font-size: 13px; margin: 10px 0 6px; }
#blatt .blatt { max-height: 88vh; overflow-y: auto; gap: 8px; }
#blatt h2 { font-size: 18px; }
#blatt label { font-size: 13px; font-weight: 600; margin-top: 4px; }
.werte-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.werte-chips button { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--linie); font-size: 12px; background: var(--karte); }
.werte-chips button[aria-pressed="true"] { background: var(--s700); color: #fff; border-color: var(--s700); }
.blatt-knoepfe { display: flex; gap: 8px; }
.blatt-knoepfe .knopf { margin-top: 6px; }
@media (min-width: 820px) {
  .board { grid-template-columns: repeat(3, 1fr); }
  #blatt { align-items: center; justify-content: center; }
  #blatt .blatt { width: 560px; border-radius: 24px; }
}
