/* Reisewerk – Sand-Look (wie Genusswerk). Alle Größen in rem, damit A+ (100–150 %) alles mitwachsen lässt. */
:root {
  --bg: #f6f2eb; --karte: #fff; --tinte: #2a241e; --grau: #6f655b; --linie: #e6dfd3; --hell: #f3ede3;
  --akz: #a4612c; --akz-h: #f3e4d4; --honig: #c9861c; --honig-h: #f8ecd5; --gruen: #3f7d4c; --gruen-h: #e3efe4;
  --rot: #b2453b; --rot-h: #f6e1de; --blau: #4d7290; --blau-h: #e3ebf1;
  --sans: -apple-system, "SF Pro Text", "Segoe UI", Inter, sans-serif;
  --r: 14px; --schatten: 0 1px 2px rgba(60,40,20,.06), 0 4px 14px rgba(60,40,20,.06);
  --unten: env(safe-area-inset-bottom, 0px); --oben: env(safe-area-inset-top, 0px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-look="hell"]) {
    --bg: #1b1814; --karte: #26221d; --tinte: #f1ebe2; --grau: #b3a89b; --linie: #3a342c; --hell: #2f2a24;
    --akz: #e0975a; --akz-h: #3d2c1d; --honig: #e3a63f; --honig-h: #3b3020; --gruen: #7cc08a; --gruen-h: #22332a;
    --rot: #ec8075; --rot-h: #3d2422; --blau: #8fb3d0; --blau-h: #222e38; --schatten: none;
  }
}
:root[data-look="dunkel"] {
  --bg: #1b1814; --karte: #26221d; --tinte: #f1ebe2; --grau: #b3a89b; --linie: #3a342c; --hell: #2f2a24;
  --akz: #e0975a; --akz-h: #3d2c1d; --honig: #e3a63f; --honig-h: #3b3020; --gruen: #7cc08a; --gruen-h: #22332a;
  --rot: #ec8075; --rot-h: #3d2422; --blau: #8fb3d0; --blau-h: #222e38; --schatten: none;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
html[data-a="115"] { font-size: 18.4px; } html[data-a="130"] { font-size: 20.8px; } html[data-a="150"] { font-size: 24px; }
body { margin: 0; background: var(--bg); color: var(--tinte); font: 400 1rem/1.45 var(--sans); overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--akz); }
a.tkarte, a.pille, a.knopf, a.zeile, a.kachel, a.reisekarte, a.heute, a.marke, .raster a, .seitenleiste a, a.zurueck, a.marker { text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
[hidden] { display: none !important; }
.app { min-height: 100vh; }
.inhalt { max-width: 760px; margin: 0 auto; padding: calc(var(--oben) + .5rem) 1rem calc(7rem + var(--unten)); }

/* Kopf */
.kopf { display: flex; align-items: center; gap: .6rem; padding: .4rem 0 .8rem; position: sticky; top: 0; z-index: 5; background: var(--bg); padding-top: calc(var(--oben) + .4rem); margin-top: calc(-1 * var(--oben) - .5rem); }
.kopf .zurueck { min-width: 2.75rem; min-height: 2.75rem; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; color: var(--akz); background: var(--karte); border: 1px solid var(--linie); }
.kopf .titel { flex: 1; min-width: 0; }
.kopf h1 { font-size: 1.35rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kopf small { display: block; color: var(--grau); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aplus { font: 800 .95rem var(--sans); background: var(--tinte); color: var(--bg); border-radius: 10px; min-height: 2.75rem; min-width: 2.75rem; padding: 0 .6rem; }

/* Bausteine */
.box { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r); padding: .9rem 1rem; margin-bottom: .75rem; box-shadow: var(--schatten); }
.box h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grau); margin-bottom: .5rem; font-weight: 800; }
.abschnitt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grau); margin: 1.2rem 0 .5rem; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.abschnitt button { text-transform: none; letter-spacing: 0; color: var(--akz); font-weight: 700; font-size: .9rem; min-height: 2.75rem; padding: 0 .3rem; }
.leer { color: var(--grau); text-align: center; padding: 1.5rem 1rem; border: 2px dashed var(--linie); border-radius: var(--r); margin-bottom: .75rem; }
.grau { color: var(--grau); } .klein { font-size: .85rem; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 12px; font-weight: 700; background: var(--hell); border: 1px solid var(--linie); text-decoration: none; color: var(--tinte); }
.knopf.voll { background: var(--akz); color: #fff; border-color: var(--akz); }
.knopf.gruen { background: var(--gruen); color: #fff; border-color: var(--gruen); }
.knopf.rot { color: var(--rot); }
.knopf.breit { width: 100%; }
.knoepfe { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.knoepfe > .knopf { flex: 1 1 8rem; }
.zeile { display: flex; align-items: center; gap: .75rem; min-height: 3.2rem; padding: .55rem .2rem; border-bottom: 1px solid var(--linie); text-align: left; width: 100%; color: inherit; text-decoration: none; }
.zeile:last-child { border-bottom: 0; }
.zeile .sym { width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center; font-size: 1.25rem; background: var(--hell); flex: none; }
.zeile .txt { flex: 1; min-width: 0; }
.zeile b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.zeile small { display: block; color: var(--grau); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; }
.zeile .rechts { color: var(--grau); font-size: .85rem; text-align: right; flex: none; }
.zeile .pfeil { color: var(--grau); font-size: 1.2rem; flex: none; }
.zeile.weg { opacity: .55; }
.chips { display: flex; gap: .4rem; overflow-x: auto; padding: .1rem 0 .6rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 2px solid var(--linie); background: var(--karte); border-radius: 10px; padding: 0 .75rem; min-height: 2.75rem; font-size: .9rem; font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; }
.chip.an { background: var(--tinte); color: var(--bg); border-color: var(--tinte); }
.marke { display: inline-flex; align-items: center; gap: .2rem; font-size: .78rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; background: var(--gruen-h); color: var(--gruen); margin: 0 .25rem .25rem 0; }
.marke.aus { background: var(--hell); color: var(--grau); }
.marke.honig { background: var(--honig-h); color: var(--honig); }
.marke.blau { background: var(--blau-h); color: var(--blau); }
.sterne { color: var(--honig); letter-spacing: .05em; white-space: nowrap; }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.4rem, 1fr)); gap: .5rem; margin-bottom: .75rem; }
.kennzahlen > div { background: var(--karte); border: 1px solid var(--linie); border-radius: 12px; padding: .55rem .4rem; text-align: center; min-width: 0; }
.kennzahlen small { display: block; overflow-wrap: anywhere; hyphens: auto; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--grau); font-weight: 800; }
.kennzahlen b { font-size: 1.1rem; display: block; overflow-wrap: anywhere; }
.feldzeile { display: flex; gap: .75rem; padding: .45rem 0; border-bottom: 1px solid var(--linie); }
.feldzeile:last-child { border-bottom: 0; }
.feldzeile span { color: var(--grau); font-size: .85rem; width: 7.5rem; flex: none; }
.feldzeile div { flex: 1; min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }

/* Start */
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.kachel { background: var(--karte); border: 1.5px solid var(--linie); border-top: 4px solid var(--bf, var(--linie)); border-radius: 16px; padding: .8rem; min-height: 6rem; display: flex; flex-direction: column; justify-content: flex-end; position: relative; text-align: left; color: inherit; text-decoration: none; }
.kachel i { font-style: normal; font-size: 1.5rem; }
.kachel b { font-size: 1.02rem; }
.kachel small { color: var(--grau); font-size: .78rem; }
.kachel .zahl { position: absolute; top: .6rem; right: .6rem; background: var(--honig); color: #fff; border-radius: 999px; font-size: .75rem; font-weight: 800; padding: .1rem .5rem; }
.kachel.haupt { background: var(--akz); color: #fff; border-color: var(--akz); }
.kachel.haupt small { color: #fbe9d8; }
.reisekarte { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r); padding: .7rem; margin-bottom: .6rem; color: inherit; text-decoration: none; box-shadow: var(--schatten); }
.reisekarte .bild { width: min(4.6rem, 22vw); height: min(4.6rem, 22vw); border-radius: 12px; flex: none; background: linear-gradient(135deg, #e8b86d, #3a8fa6) center/cover; }
.reisekarte .txt { flex: 1 1 9rem; min-width: 0; }
.reisekarte b { display: block; font-size: 1.05rem; }
.reisekarte small { color: var(--grau); display: block; font-size: .82rem; }
.countdown { text-align: center; background: var(--akz-h); color: var(--akz); border-radius: 12px; padding: .35rem .6rem; font-weight: 800; font-size: .75rem; line-height: 1.1; flex: none; }
.countdown b { display: block; font-size: 1.4rem; }

/* Heute-Streifen */
.heute { background: var(--tinte); color: var(--bg); border-radius: var(--r); padding: .75rem .9rem; margin-bottom: .8rem; display: flex; gap: .7rem; align-items: center; text-decoration: none; }
.heute .sym { font-size: 1.5rem; }
.heute b { display: block; }
.heute small { display: block; opacity: .8; font-size: .85rem; }
.heute .txt { flex: 1; min-width: 0; }

/* Zeitstrahl */
.strahl { position: relative; }
.tag { display: grid; grid-template-columns: 3.6rem 1fr; gap: .5rem; position: relative; }
.tag::before { content: ""; position: absolute; left: 3.05rem; top: 0; bottom: 0; width: 2px; background: var(--linie); }
.tag .datum { text-align: right; padding: .7rem .6rem 0 0; position: relative; font-size: .72rem; color: var(--grau); text-transform: uppercase; font-weight: 800; }
.tag .datum b { display: block; font-size: 1rem; color: var(--tinte); text-transform: none; }
.tag .datum::after { content: ""; position: absolute; right: -.33rem; top: 1rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--akz); border: 2px solid var(--bg); z-index: 1; }
.tag.heute-tag .datum b { color: var(--akz); }
.tag.vorbei { opacity: .62; }
.tag .eintraege { padding: .25rem 0; min-width: 0; }
.tkarte { display: flex; align-items: center; gap: .65rem; width: 100%; background: var(--karte); border: 1px solid var(--linie); border-left: 4px solid var(--tf, var(--akz)); border-radius: 12px; padding: .55rem .7rem; margin-bottom: .4rem; text-align: left; min-height: 3.4rem; color: inherit; }
.tkarte .sym { font-size: 1.3rem; flex: none; }
.tkarte .txt { flex: 1; min-width: 0; }
.tkarte b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tkarte small { display: block; color: var(--grau); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tkarte.aktiv { outline: 3px solid var(--akz); outline-offset: -1px; }
.tkarte.nacht { --tf: var(--blau); }
.fehlt { color: var(--rot); font-weight: 700; }

/* Karten-Stapel (seitlich wischen) */
.stapel-kopf { display: flex; align-items: center; gap: .4rem; justify-content: center; padding: .2rem 0 .6rem; flex-wrap: wrap; }
.punkt { width: .55rem; height: .55rem; border-radius: 50%; background: var(--linie); }
.punkt.an { background: var(--akz); width: 1.4rem; border-radius: 999px; }
.stapel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; scrollbar-width: none; overscroll-behavior-x: contain; margin: 0 -1rem; padding: 0 1rem; scroll-padding: 0 1rem; }
.stapel::-webkit-scrollbar { display: none; }
.stapel > .seite { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; }
.kartenkopf { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.kartenkopf .sym { font-size: 1.8rem; }
.kartenkopf h2 { font-size: 1.3rem; }
.kartenkopf small { color: var(--grau); display: block; font-size: .85rem; }
.kartenkopf .fav { margin-left: auto; font-size: 1.5rem; min-width: 2.75rem; min-height: 2.75rem; color: var(--rot); }
.strecke { display: grid; grid-template-columns: 1.6rem 1fr auto; gap: .5rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--linie); }
.strecke:last-child { border-bottom: 0; }
.strecke .nr { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--blau-h); color: var(--blau); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.strecke b { display: block; }
.strecke small { color: var(--grau); font-size: .8rem; }

/* Fotos */
.fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr)); gap: .4rem; }
.fotos button, .fotos .neu { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--hell); position: relative; border: 1px solid var(--linie); }
.fotos img { width: 100%; height: 100%; object-fit: cover; }
.fotos .neu { display: grid; place-items: center; color: var(--akz); font-weight: 700; font-size: .85rem; text-align: center; padding: .3rem; }
.fotos .art { position: absolute; left: .25rem; bottom: .25rem; background: rgba(0,0,0,.55); color: #fff; font-size: .65rem; border-radius: 6px; padding: .05rem .35rem; font-weight: 700; }
.titelbild { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r); margin-bottom: .75rem; background: var(--hell); }

/* Großansicht mit Zoom */
.lupe { position: fixed; inset: 0; background: #000; z-index: 50; display: flex; flex-direction: column; touch-action: none; }
.lupe .buehne { flex: 1; overflow: hidden; position: relative; }
.lupe img { position: absolute; left: 50%; top: 50%; max-width: 100%; max-height: 100%; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.lupe .leiste { display: flex; gap: .5rem; padding: .6rem 1rem calc(.6rem + var(--unten)); background: rgba(0,0,0,.8); color: #fff; align-items: center; }
.lupe .leiste .knopf { background: #333; color: #fff; border-color: #444; }
.lupe .leiste .txt { flex: 1; font-size: .85rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lupe .zu { position: absolute; top: calc(var(--oben) + .6rem); right: .8rem; z-index: 2; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 1.4rem; }

/* Formular */
.feld { display: block; margin-bottom: .8rem; }
.feld > span { display: block; font-size: .82rem; color: var(--grau); font-weight: 700; margin-bottom: .25rem; }
.feld input, .feld select, .feld textarea, .eingabe { width: 100%; min-height: 2.9rem; border: 1.5px solid var(--linie); border-radius: 10px; background: var(--karte); padding: .55rem .7rem; font-size: 1rem; }
.feld textarea { min-height: 6rem; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus, .eingabe:focus { outline: 3px solid var(--akz-h); border-color: var(--akz); }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.paar > .feld { min-width: 0; }
.schalter { display: flex; align-items: center; gap: .6rem; min-height: 2.9rem; font-weight: 600; }
.schalter input { width: 1.4rem; height: 1.4rem; accent-color: var(--akz); }
.unterliste { border: 1.5px dashed var(--linie); border-radius: 12px; padding: .7rem; margin-bottom: .6rem; position: relative; }
.unterliste .weg-knopf { position: absolute; top: .3rem; right: .3rem; min-width: 2.75rem; min-height: 2.75rem; color: var(--rot); font-size: 1.1rem; }
.sternwahl { display: flex; gap: .1rem; }
.sternwahl button { font-size: 1.7rem; min-width: 2.75rem; min-height: 2.75rem; color: var(--linie); }
.sternwahl button.an { color: var(--honig); }
/* lernendes Feld: Eingabe + ▾ mit Vorschlagsliste */
.lernend { position: relative; display: flex; }
.lernend input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.lernend .auf { flex: none; width: 2.9rem; border: 1.5px solid var(--linie); border-left: 0; border-radius: 0 10px 10px 0; background: var(--hell); font-size: 1rem; }
.vorschlaege { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--karte); border: 1.5px solid var(--akz); border-radius: 10px; margin-top: .2rem; max-height: 15rem; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.vorschlaege button { display: flex; justify-content: space-between; width: 100%; text-align: left; padding: .6rem .8rem; min-height: 2.75rem; border-bottom: 1px solid var(--linie); }
.vorschlaege button small { color: var(--grau); }
.vorschlaege button:last-child { border-bottom: 0; }
.schnellwahl { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.schnellwahl button { border: 1.5px solid var(--linie); border-radius: 999px; padding: 0 .75rem; min-height: 2.5rem; font-size: .88rem; font-weight: 600; background: var(--karte); }
.schnellwahl button.an { background: var(--akz); color: #fff; border-color: var(--akz); }

/* Einwerfen */
.einwurf { border: 2px dashed var(--akz); border-radius: 16px; padding: 1rem; background: var(--karte); margin-bottom: .8rem; }
.einwurf textarea { width: 100%; min-height: 7rem; border: 1.5px solid var(--linie); border-radius: 10px; padding: .6rem; background: var(--bg); font-size: 1rem; }
.vorschau-reihe { display: flex; gap: .4rem; flex-wrap: wrap; margin: .5rem 0; }
.vorschau-reihe img { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: 8px; }
.vorschlag { border-left: 4px solid var(--gruen); }
.vorschlag.ergaenzen { border-left-color: var(--blau); }
.statuspunkt { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--honig); margin-right: .3rem; }

/* Auswertung */
.balken { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: center; padding: .4rem 0; }
.balken .bar { grid-column: 1 / -1; height: .5rem; border-radius: 999px; background: var(--hell); overflow: hidden; }
.balken .bar i { display: block; height: 100%; background: var(--akz); border-radius: 999px; }
.landkarte { position: relative; height: 18rem; border-radius: var(--r); overflow: hidden; background: #dfe7e2; border: 1px solid var(--linie); margin-bottom: .75rem; touch-action: none; }
.landkarte .kacheln-ebene { position: absolute; left: 0; top: 0; }
.landkarte .kacheln-ebene img { position: absolute; width: 256px; height: 256px; max-width: none; }
.landkarte svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.landkarte .zoom { position: absolute; right: .5rem; top: .5rem; display: flex; flex-direction: column; gap: .3rem; z-index: 2; }
.landkarte .zoom button { width: 2.75rem; height: 2.75rem; background: var(--karte); border-radius: 10px; font-size: 1.3rem; font-weight: 800; border: 1px solid var(--linie); }
.landkarte .quelle { position: absolute; right: .3rem; bottom: .2rem; font-size: .6rem; background: rgba(255,255,255,.75); color: #333; padding: 0 .3rem; border-radius: 4px; z-index: 2; }
.landkarte .marker { position: absolute; transform: translate(-50%, -100%); font-size: 1.5rem; z-index: 1; pointer-events: auto; min-width: 2.75rem; min-height: 2.75rem; display: grid; place-items: end center; }

/* Notfall */
.geheim .inhalt-geheim { filter: blur(7px); user-select: none; }
.geheim.offen .inhalt-geheim { filter: none; }

/* Pillen + Menü-Blatt */
.pillen { position: fixed; left: max(1rem, env(safe-area-inset-left)); bottom: calc(.9rem + var(--unten)); z-index: 20; display: flex; gap: .5rem; align-items: center; }
.doppel { display: flex; background: var(--tinte); border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); padding: .25rem; gap: .25rem; }
.pille { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.9rem; padding: 0 1rem; border-radius: 999px; color: var(--bg); font-weight: 700; font-size: .98rem; white-space: nowrap; }
.pille.haupt { background: var(--akz); color: #fff; }
.pille.haupt.gruen { background: var(--gruen); }
.warte-pille { background: var(--honig); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.schleier { position: fixed; inset: 0; background: rgba(20,14,8,.4); z-index: 39; opacity: 0; pointer-events: none; transition: opacity .2s; }
.schleier.an { opacity: 1; pointer-events: auto; }
.blatt { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--bg); border-radius: 20px 20px 0 0; max-height: 88vh; overflow-y: auto; transform: translateY(105%); transition: transform .25s ease; padding: .4rem 1rem calc(1rem + var(--unten)); box-shadow: 0 -8px 30px rgba(0,0,0,.2); max-width: 760px; margin: 0 auto; overscroll-behavior: contain; }
.blatt.an { transform: none; }
.blatt .griff { width: 2.6rem; height: .32rem; border-radius: 999px; background: var(--linie); margin: .3rem auto .6rem; }
.blatt-kopf { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.blatt-kopf h2 { flex: 1; font-size: 1.15rem; }
.blatt-kopf .zu { min-width: 2.75rem; min-height: 2.75rem; border-radius: 50%; background: var(--hell); font-size: 1.1rem; }
.raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; margin-bottom: .8rem; }
.raster button, .raster a { background: var(--karte); border: 1px solid var(--linie); border-radius: 12px; min-height: 4.4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; font-size: .76rem; font-weight: 700; text-align: center; padding: .3rem; color: inherit; text-decoration: none; }
.raster i { font-style: normal; font-size: 1.35rem; }
.raster .an { background: var(--akz); color: #fff; border-color: var(--akz); }
.blatt .suche { margin-bottom: .7rem; }
.meldung { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(5rem + var(--unten)); z-index: 60; background: var(--tinte); color: var(--bg); border-radius: 12px; padding: .7rem 1rem; display: flex; gap: .8rem; align-items: center; max-width: calc(100vw - 2rem); box-shadow: 0 8px 24px rgba(0,0,0,.25); font-weight: 600; }
.meldung button { color: var(--honig); font-weight: 800; min-height: 2.5rem; padding: 0 .4rem; }
.netz { position: fixed; top: calc(var(--oben) + .3rem); left: 50%; transform: translateX(-50%); z-index: 30; background: var(--honig); color: #fff; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .2rem .7rem; }

/* Anmeldung / Wer bist du */
.anmeldung { position: fixed; inset: 0; z-index: 70; background: var(--bg); display: grid; place-items: center; padding: 1.5rem; }
.anmeldung-innen { max-width: 22rem; width: 100%; text-align: center; }
.anmeldung h1 { font-size: 1.8rem; margin: .6rem 0; }
.anmeldung .logo { font-size: 3.5rem; }
.anmeldung label { display: block; text-align: left; font-weight: 700; margin: 1rem 0; }
.anmeldung input { width: 100%; min-height: 3rem; border-radius: 10px; border: 1.5px solid var(--linie); padding: .6rem; margin-top: .3rem; background: var(--karte); }
.fehler { color: var(--rot); font-weight: 700; }

.nur-gross { display: none; }
.zweispaltig > * { min-width: 0; }
/* Seitenleiste ab iPad quer */
.seitenleiste { display: none; }
@media (min-width: 1100px) and (orientation: landscape) {
  .seitenleiste { display: block; position: fixed; left: 0; top: 0; bottom: 0; width: 16.5rem; background: var(--karte); border-right: 1px solid var(--linie); overflow-y: auto; padding: calc(var(--oben) + 1rem) .8rem 1rem; z-index: 10; }
  .seitenleiste h2 { font-size: 1.3rem; margin: 0 .4rem .8rem; }
  .seitenleiste .gruppe { font-size: .72rem; text-transform: uppercase; color: var(--grau); font-weight: 800; letter-spacing: .06em; margin: 1rem .4rem .3rem; }
  .seitenleiste a, .seitenleiste button { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 2.9rem; padding: 0 .6rem; border-radius: 10px; color: inherit; text-decoration: none; font-weight: 600; text-align: left; }
  .seitenleiste a.an { background: var(--akz-h); color: var(--akz); }
  .seitenleiste .eingabe { margin-bottom: .4rem; }
  .app { padding-left: 16.5rem; }
  .pillen { left: calc(16.5rem + 1rem); }
  .pillen .doppel .menue-knopf { display: none; }
  .inhalt { max-width: 1100px; }
  .nur-gross { display: block; }
  .zweispaltig { display: grid; grid-template-columns: minmax(20rem, 26rem) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
  .zweispaltig > .links { position: sticky; top: 4.5rem; max-height: calc(100vh - 6rem); overflow-y: auto; padding-bottom: 5rem; }
}
@media (min-width: 700px) {
  .kacheln { grid-template-columns: repeat(3, 1fr); }
  .raster { grid-template-columns: repeat(6, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
