/* Lichtmappe Privat – eigenständiges Stylesheet (privat.html, a.html). Nachtblau + Lichtgelb, hell, mobile first. */
:root{
  --blau:#1f2a44; --blau-2:#2d3b5e; --blau-weich:#e6e9f2;
  --gelb:#f2c14e; --gelb-hell:#fbecc3; --gelb-dunkel:#c99a1e;
  --grund:#f7f6f2; --karte:#ffffff; --linie:#e5e1d8;
  --text:#1f2a44; --text-2:#5b6478; --text-3:#8a91a3;
  --gruen:#2f8f5b; --gruen-hell:#e3f3ea; --rot:#c4473a; --rot-hell:#fbe7e4;
  --radius:18px; --radius-s:12px;
  --schatten:0 1px 2px rgba(31,42,68,.06),0 6px 20px rgba(31,42,68,.07);
  --font:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--grund);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.5;overflow-x:hidden;min-height:100vh}
h1,h2,h3{margin:0;line-height:1.2;font-weight:700;overflow-wrap:anywhere}
h1{font-size:1.6rem}h2{font-size:1.2rem}h3{font-size:1.02rem}
p{margin:0}
button{font:inherit;color:inherit}
a{color:var(--blau)}
img{max-width:100%}
:focus-visible{outline:3px solid var(--gelb);outline-offset:3px;border-radius:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
[hidden]{display:none !important}

/* Kopf */
.top{background:var(--karte);border-bottom:1px solid var(--linie);position:sticky;top:0;z-index:20}
.top .wrap{display:flex;align-items:center;gap:12px;min-height:60px;padding-top:8px;padding-bottom:8px}
.marke{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--blau);font-weight:800;font-size:1.08rem;background:none;border:0;padding:4px 6px 4px 0;cursor:pointer;min-height:44px}
.marke svg{width:34px;height:34px;flex:none}
.marke .privat{font-weight:700;color:#b04a33;font-size:.92rem;margin-left:2px}
.top .rechts{margin-left:auto;display:flex;gap:8px;align-items:center;min-width:0}
.fam-name{display:inline-flex;align-items:center;gap:8px;min-width:0}
.fam-name .fam-text{font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:clamp(84px,100vw - 290px,280px)}
.hilfe{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--linie);background:#fff;color:var(--blau);font-weight:800;font-size:1.05rem;cursor:pointer;flex:none;display:grid;place-items:center}
.hilfe:hover{border-color:var(--blau)}

/* Bildschirme */
.screen{padding:20px 0 150px}
body.gast .screen{padding-bottom:90px}
.zurueck{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:8px 10px 8px 0;min-height:44px;color:var(--text-2);font-weight:600;cursor:pointer;border-radius:8px;text-decoration:none}
.zurueck svg{width:20px;height:20px}
.kopf{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:6px 0 18px}
.kopf .unter{color:var(--text-2);margin-top:4px}
.laden{text-align:center;color:var(--text-2);padding:40px 16px}

/* Knöpfe */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 20px;border-radius:999px;border:0;font-weight:700;cursor:pointer;text-decoration:none;transition:transform .12s ease,background .15s ease;background:var(--blau-weich);color:var(--blau);text-align:center}
.btn svg{width:20px;height:20px;flex:none}
.btn:active{transform:scale(.98)}
.btn-gelb{background:var(--gelb);color:var(--blau);box-shadow:0 2px 0 var(--gelb-dunkel)}
.btn-gelb:hover{background:#f5cb67}
.btn-blau{background:var(--blau);color:#fff}
.btn-blau:hover{background:var(--blau-2)}
.btn-hell{background:#fff;color:var(--blau);border:1.5px solid var(--linie)}
.btn-hell:hover{border-color:var(--blau)}
.btn-rot{background:var(--rot-hell);color:var(--rot)}
.btn-gross{width:100%;min-height:58px;font-size:1.1rem}
.btn-klein{min-height:44px;padding:6px 14px;font-size:.92rem}
.btn[disabled],.btn[aria-busy="true"]{opacity:.5;cursor:not-allowed}
.link{background:none;border:0;padding:8px 4px;min-height:44px;color:var(--blau);font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;display:inline-flex;align-items:center}
.reihe{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.reihe.rechts{justify-content:flex-end}
.reihe .btn{flex:1 1 auto}

/* Karten */
.karte{background:var(--karte);border:1px solid var(--linie);border-radius:var(--radius);padding:18px;box-shadow:var(--schatten)}
.karte + .karte{margin-top:14px}
.karte h2{margin-bottom:6px}
.karte .hinweis,.hinweis{color:var(--text-2);font-size:.95rem}
.gruss{background:linear-gradient(135deg,var(--blau) 0%,#2b3a5f 70%,#3a4a73 100%);color:#fff;border-radius:var(--radius);padding:22px 20px;position:relative;overflow:hidden;box-shadow:var(--schatten)}
.gruss::after{content:"";position:absolute;right:-30px;top:-40px;width:180px;height:180px;background:radial-gradient(circle,rgba(242,193,78,.45),rgba(242,193,78,0) 70%)}
.gruss h1{font-size:1.5rem;margin-bottom:4px}
.gruss p{color:#d8dcea}
.abschnitt{margin-top:26px}
.abschnitt-kopf{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.fehler{background:var(--rot-hell);color:var(--rot);border-radius:var(--radius-s);padding:10px 14px;font-weight:600;margin-bottom:12px}
.fehler:empty{display:none}
.ok-box{background:var(--gruen-hell);color:#1f5e3c;border-radius:var(--radius-s);padding:10px 14px;font-weight:600;margin-bottom:12px}

/* Alben */
.alben{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.album-kachel{background:var(--karte);border:1px solid var(--linie);border-radius:var(--radius);overflow:hidden;text-align:left;padding:0;cursor:pointer;box-shadow:var(--schatten);display:flex;flex-direction:column;transition:transform .15s ease;color:var(--text);text-decoration:none}
.album-kachel:hover{transform:translateY(-2px)}
.album-kachel .deckel{aspect-ratio:4/3;background:var(--blau-weich) center/cover no-repeat;display:grid;place-items:center;color:var(--text-3)}
.album-kachel .deckel svg{width:36px;height:36px}
.album-kachel .text{padding:12px 14px 14px}
.album-kachel h3{font-size:1rem;margin-bottom:3px}
.album-kachel .meta{color:var(--text-2);font-size:.86rem}
.status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:3px 10px;font-size:.76rem;font-weight:700;margin-top:8px;white-space:nowrap}
.status::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.status.offen{background:var(--gruen-hell);color:var(--gruen)}
.status.zu{background:var(--blau-weich);color:var(--blau-2)}
.neu-kachel{border:2px dashed var(--gelb-dunkel);background:var(--gelb-hell);border-radius:var(--radius);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:160px;cursor:pointer;font-weight:700;color:var(--blau);text-align:center;padding:12px}
.neu-kachel svg{width:34px;height:34px}

/* Album-Sichtbarkeit */
.chip-privat{display:inline-flex;align-items:center;gap:4px;background:var(--blau);color:#fff;border-radius:999px;padding:3px 9px;font-size:.74rem;font-weight:700;vertical-align:middle;white-space:nowrap}
.chip-privat svg{width:13px;height:13px}
.album-kachel{position:relative}
.chip-privat.auf-deckel{position:absolute;top:8px;left:8px;background:rgba(31,42,68,.88);backdrop-filter:blur(3px)}
.alb-filter{margin:-6px 0 14px}
.sicht-wahl{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sicht-wahl button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:1.5px solid var(--linie);background:#fff;border-radius:var(--radius-s);font-weight:700;color:var(--text-2);cursor:pointer;padding:8px 10px}
.sicht-wahl button svg{width:20px;height:20px;flex:none}
.sicht-wahl button[aria-pressed="true"]{background:var(--blau);color:#fff;border-color:var(--blau)}
.sicht-hinweis{display:block;color:var(--text-2);font-size:.86rem;margin-top:8px}
.wahl-schalter{border-top:1px solid var(--linie) !important;min-height:60px;padding:10px 0}
.wahl-schalter .t{flex:1;min-width:0}
.wahl-schalter .mini-deckel{width:48px;height:48px;border-radius:10px;flex:none;background:var(--linie);display:grid;place-items:center;color:var(--blau)}
.wahl-schalter .mini-deckel svg{width:24px;height:24px}

/* Profil */
.konto-kopf .kk-text{min-width:0}
.profil-zeile{display:flex;align-items:center;gap:16px;margin:4px 0 16px;flex-wrap:wrap}
.profil-zeile .reihe{flex:1 1 180px}
.profil-zeile .reihe .btn{flex:0 1 auto}
.farben{display:flex;flex-wrap:wrap;gap:10px}
.farbe{width:44px;height:44px;border-radius:50%;border:3px solid transparent;cursor:pointer;display:grid;place-items:center;color:#fff;padding:0;box-shadow:inset 0 0 0 2px #fff}
.farbe svg{width:22px;height:22px;display:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}
.farbe[aria-pressed="true"]{border-color:var(--blau)}
.farbe[aria-pressed="true"] svg{display:block}
.feld .hinweis-klein{display:block;margin-top:8px}

/* Einführung */
.tour{position:fixed;inset:0;background:rgba(31,42,68,.6);display:none;align-items:flex-end;justify-content:center;z-index:65;padding:12px}
.tour.zeig{display:flex}
.tour .box{background:#fff;border-radius:var(--radius);padding:22px 20px calc(20px + env(safe-area-inset-bottom));width:100%;max-width:440px;position:relative;text-align:center;box-shadow:0 20px 50px rgba(31,42,68,.3);animation:tourRein .25s ease}
@keyframes tourRein{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
.tour .ueberspringen{position:absolute;top:10px;right:12px;background:none;border:0;color:var(--text-2);font-weight:600;min-height:44px;padding:0 10px;cursor:pointer;border-radius:8px}
.tour .bild{width:92px;height:92px;border-radius:50%;background:var(--gelb-hell);display:grid;place-items:center;margin:16px auto 14px;color:var(--blau)}
.tour .bild svg{width:46px;height:46px}
.tour h2{font-size:1.3rem;margin-bottom:8px}
.tour p{color:var(--text-2);min-height:4.5em}
.tour .punkte{display:flex;justify-content:center;gap:7px;margin:16px 0 18px}
.tour .punkte span{width:8px;height:8px;border-radius:50%;background:var(--linie);transition:background .15s,transform .15s}
.tour .punkte span.an{background:var(--gelb);transform:scale(1.3)}
.tour .reihe{justify-content:center}
.tour .reihe .btn{flex:1 1 auto}

/* Formulare */
.feld{display:block;margin-bottom:16px}
.feld > span{display:block;font-weight:600;margin-bottom:6px}
.eingabe{width:100%;min-height:48px;border:1.5px solid var(--linie);border-radius:var(--radius-s);padding:10px 14px;font:inherit;background:#fff;color:var(--text)}
.eingabe:focus{border-color:var(--blau);outline:none;box-shadow:0 0 0 3px rgba(242,193,78,.5)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1.5px solid var(--linie);background:#fff;border-radius:999px;min-height:44px;padding:8px 16px;font-weight:600;cursor:pointer;color:var(--text-2);display:inline-flex;align-items:center;gap:6px}
.chip svg{width:18px;height:18px}
.chip[aria-pressed="true"]{background:var(--blau);color:#fff;border-color:var(--blau)}
.schalter{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--linie);cursor:pointer;min-height:56px;position:relative}
.schalter:first-of-type{border-top:0}
.schalter .t strong{display:block}
.schalter .t small{color:var(--text-2);font-size:.9rem}
.schalter input{position:absolute;opacity:0;width:1px;height:1px}
.knopf{width:52px;height:32px;border-radius:999px;background:#cfd3de;position:relative;flex:none;transition:background .15s}
.knopf::after{content:"";position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.schalter input:checked + .knopf{background:var(--gruen)}
.schalter input:checked + .knopf::after{transform:translateX(20px)}
.schalter input:focus-visible + .knopf{outline:3px solid var(--gelb);outline-offset:3px}
.frist{padding:8px 0 4px 0}
.radio{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.radio input{width:22px;height:22px;accent-color:var(--blau);margin:0}
.frist .zeit{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 8px 32px}
.frist .zeit .eingabe{flex:1;min-width:140px}

/* Teilen */
.linkbox{display:flex;gap:8px;align-items:stretch}
.linkbox input{flex:1;min-width:0;font-size:.95rem;color:var(--text-2)}
.qr-box{display:flex;flex-direction:column;align-items:center;gap:10px;padding:10px 0 4px}
.qr{width:220px;height:220px;background:#fff;border:1px solid var(--linie);border-radius:14px;padding:12px;display:grid;place-items:center;overflow:hidden}
.qr canvas,.qr img{width:100% !important;height:100% !important;display:block;object-fit:contain}
.qr .kein-qr{font-size:.8rem;color:var(--text-3);text-align:center}
.teilen-liste{display:grid;gap:10px}
.teilen-liste .btn{justify-content:flex-start}
.hinweis-klein{color:var(--text-3);font-size:.84rem}

/* Raster */
.banner{display:flex;gap:12px;align-items:flex-start;border-radius:var(--radius-s);padding:12px 14px;margin-bottom:16px}
.banner svg{width:22px;height:22px;flex:none;margin-top:2px}
.banner.offen{background:var(--gruen-hell);color:#1f5e3c}
.banner.zu{background:var(--blau-weich);color:var(--blau)}
.banner.warn{background:var(--gelb-hell);color:#6b5312}
.banner strong{display:block}
.raster{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.foto{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;background:var(--linie);border:0;padding:0;cursor:pointer;display:block;width:100%}
.foto img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .15s}
.foto .von{position:absolute;left:0;right:0;bottom:0;padding:16px 6px 5px;font-size:.74rem;font-weight:600;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.55));text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:4px}
.foto .von .avatar{pointer-events:none}
.foto .neu{position:absolute;top:6px;left:6px;background:var(--gelb);color:var(--blau);font-size:.7rem;font-weight:800;padding:2px 7px;border-radius:999px}
.foto .herz{position:absolute;right:5px;bottom:5px;width:18px;height:18px;color:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6));z-index:2}
.foto .ing{position:absolute;right:5px;top:5px;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.9);color:var(--blau);display:grid;place-items:center;z-index:2}
.foto .ing svg{width:14px;height:14px}
.foto .hak{position:absolute;top:5px;left:5px;width:24px;height:24px;border-radius:50%;border:2px solid #fff;background:rgba(0,0,0,.25);display:none;place-items:center;color:var(--blau);box-shadow:0 1px 3px rgba(0,0,0,.3);z-index:3}
.foto .hak svg{width:15px;height:15px;display:none}
.waehlen .foto .hak{display:grid}
.foto[aria-pressed="true"] .hak{background:var(--gelb);border-color:var(--gelb)}
.foto[aria-pressed="true"] .hak svg{display:block}
.foto[aria-pressed="true"]{outline:3px solid var(--gelb);outline-offset:-3px}
.foto[aria-pressed="true"] img{transform:scale(.88);border-radius:4px}
.raster-info{display:flex;justify-content:space-between;align-items:center;color:var(--text-2);font-size:.92rem;margin:14px 0 10px;flex-wrap:wrap;gap:8px}
.leer{text-align:center;color:var(--text-2);padding:40px 16px}
.leer svg{width:44px;height:44px;color:var(--text-3);margin-bottom:8px}
.leer p{max-width:34em;margin:0 auto}
.leer .hinweis-klein{margin-top:6px}
.monat{margin-top:20px}
.monat h2{font-size:1.1rem;margin-bottom:6px}
.dicht{display:grid;grid-template-columns:repeat(4,1fr);gap:3px}
.dicht .foto{border-radius:4px}
.seg2{display:inline-flex;background:var(--blau-weich);border-radius:999px;padding:3px}
.seg2 button{border:0;background:none;border-radius:999px;min-height:40px;padding:0 14px;font-weight:700;color:var(--text-2);cursor:pointer}
.seg2 button[aria-pressed="true"]{background:#fff;color:var(--blau);box-shadow:0 1px 3px rgba(31,42,68,.15)}
.werkzeug{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0 4px}
.werkzeug .chip{min-height:40px;padding:6px 14px;font-size:.92rem}

/* Gast */
.gast-kopf{background:var(--karte);border-bottom:1px solid var(--linie);padding:18px 0 16px}
.gast-kopf h1{font-size:1.35rem}
.gast-kopf p{color:var(--text-2);font-size:.95rem}
.upload-karte{text-align:center;padding:20px 18px}
.upload-karte .btn-gross{margin-top:6px}
.upload-karte .name{margin-top:14px;text-align:left}
.gast-fuss{text-align:center;color:var(--text-3);font-size:.86rem;margin-top:28px;padding:0 10px}
.gast-fuss a{color:var(--text-2)}

/* Familie */
.person{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--linie)}
.person:first-child{border-top:0}
.avatar{width:46px;height:46px;border-radius:50%;background:var(--blau);color:#fff;font-weight:800;display:grid;place-items:center;flex:none;font-size:1.05rem;position:relative;overflow:hidden}
.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.avatar.gelb{background:var(--gelb);color:var(--blau)}
.avatar.klein{width:32px;height:32px;font-size:.85rem}
.avatar.mini{width:16px;height:16px;font-size:.58rem;font-weight:800;box-shadow:0 0 0 1.5px rgba(255,255,255,.85)}
.avatar.gross{width:64px;height:64px;font-size:1.5rem}
.avatar.riesig{width:104px;height:104px;font-size:2.4rem}
.allein{margin-top:10px;padding-top:10px;border-top:1px solid var(--linie)}
.person .pm{flex:1;min-width:0}
.person .pm small{color:var(--text-2);display:block;overflow:hidden;text-overflow:ellipsis}
.rolle{font-size:.8rem;font-weight:700;background:var(--blau-weich);color:var(--blau);border-radius:999px;padding:3px 10px;white-space:nowrap}
.rolle.gelb{background:var(--gelb-hell);color:#6b5312}

/* QR-Aufsteller */
.aufsteller-buehne{background:#e9e6de;border-radius:var(--radius);padding:22px 12px;display:flex;justify-content:center}
.aufsteller{background:#fff;width:100%;max-width:330px;aspect-ratio:105/148;border-radius:6px;box-shadow:0 10px 30px rgba(31,42,68,.18);padding:20px 18px;display:flex;flex-direction:column;align-items:center;text-align:center}
.aufsteller .mini{display:flex;align-items:center;gap:6px;font-weight:800;color:var(--blau);font-size:.8rem;margin-bottom:8px}
.aufsteller .mini svg{width:18px;height:18px}
.aufsteller h2{font-size:1.15rem;color:var(--blau);line-height:1.15}
.aufsteller .anlass{font-size:.82rem;color:var(--text-2);margin:2px 0 10px}
.aufsteller .qr{width:156px;height:156px;padding:8px;border-radius:8px}
.aufsteller .schritte{list-style:none;padding:0;margin:14px 0 0;text-align:left;width:100%;font-size:.8rem;display:grid;gap:7px}
.aufsteller .schritte li{display:flex;gap:7px;align-items:flex-start}
.aufsteller .schritte b{width:18px;height:18px;border-radius:50%;background:var(--gelb);color:var(--blau);font-size:.68rem;display:grid;place-items:center;flex:none}
.aufsteller .bis{margin-top:auto;font-size:.7rem;color:var(--text-3);padding-top:6px}
.aufsteller .url{font-size:.66rem;color:var(--text-3);word-break:break-all;margin-top:4px}

/* Fortschritt */
.fortschritt{height:12px;background:var(--blau-weich);border-radius:999px;overflow:hidden;margin:10px 0 6px}
.fortschritt span{display:block;height:100%;width:0;background:var(--gelb);border-radius:999px;transition:width .3s ease}
.upload-status{position:fixed;left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:34;background:#fff;border:1px solid var(--linie);border-radius:var(--radius-s);padding:12px 14px;box-shadow:var(--schatten)}
body.gast .upload-status{bottom:16px}
.upload-status .fortschritt{margin:8px 0 0}

/* Speicher */
.speicher-k .zeile{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:4px 0 8px}
.speicher-k .zeile strong{font-size:1.25rem;color:var(--blau)}
.balken{height:12px;background:var(--blau-weich);border-radius:999px;overflow:hidden}
.balken span{display:block;height:100%;width:0;background:var(--blau);border-radius:999px;min-width:6px}
.bsp-tag{display:inline-block;font-size:.76rem;font-weight:700;background:var(--gelb-hell);color:#6b5312;border-radius:999px;padding:2px 9px;vertical-align:middle}
.konto-kopf{display:flex;align-items:center;gap:14px}
.konto-kopf .avatar{width:56px;height:56px;font-size:1.3rem}
.konto-link{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;border-top:1px solid var(--linie);padding:12px 0;min-height:56px;text-align:left;cursor:pointer;color:var(--text);font-weight:600;text-decoration:none}
.konto-link:first-child{border-top:0}
.konto-link .ikon{width:40px;height:40px;border-radius:12px;background:var(--grund);display:grid;place-items:center;flex:none;color:var(--blau)}
.konto-link .ikon svg{width:22px;height:22px}
.konto-link small{display:block;color:var(--text-2);font-weight:500;font-size:.86rem}
.konto-link .pfeil{margin-left:auto;width:20px;height:20px;color:var(--text-3);transform:rotate(180deg);flex:none}

/* Lightbox */
dialog.lbd{border:0;padding:0;background:transparent;max-width:100vw;max-height:100vh;width:100%;height:100%;margin:0}
dialog.lbd::backdrop{background:rgba(15,20,35,.96)}
.lb{position:fixed;inset:0;display:flex;flex-direction:column;color:#fff;background:#111728;touch-action:pan-y}
.lb .oben{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;gap:8px}
.lb .oben button,.lb .unten button,.lb .unten a{background:rgba(255,255,255,.12);border:0;color:#fff;border-radius:999px;min-height:44px;padding:8px 16px;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.lb .oben svg,.lb .unten svg{width:20px;height:20px;flex:none}
.lb .unten a,.lb .unten button{flex:0 0 auto}
.lb .bild{flex:1;margin:0 12px;min-height:0;display:grid;place-items:center}
.lb .bild img{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px}
.lb .unten{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 12px 18px;flex-wrap:wrap}
.lb .unten .von{font-weight:600}
.lb .unten .von small{display:block;color:#b9c0d6;font-weight:500}
.lb .pfeil{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.12);border:0;color:#fff;display:grid;place-items:center;cursor:pointer}
.lb .pfeil svg{width:22px;height:22px}
.lb .pfeil.l{left:8px}.lb .pfeil.r{right:8px}

/* Toast (LM.toast) */
.toast{position:fixed;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));transform:translateX(-50%);background:var(--blau);color:#fff;padding:12px 18px;border-radius:999px;font-weight:600;box-shadow:var(--schatten);z-index:60;max-width:calc(100% - 32px);text-align:center;font-size:.95rem}
body.gast .toast{bottom:24px}

/* Untere Navigation */
.nav{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--linie);display:flex;padding:4px 8px calc(4px + env(safe-area-inset-bottom));margin:0}
.nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:56px;border:0;background:none;border-radius:12px;font-size:.74rem;font-weight:600;color:var(--text-2);cursor:pointer;text-decoration:none}
.nav .ni{display:grid;place-items:center;width:52px;height:30px;border-radius:999px}
.nav .ni svg{width:24px;height:24px}
.nav a[aria-current="page"]{color:var(--blau)}
.nav a[aria-current="page"] .ni{background:var(--gelb-hell)}
.shell{display:block}
main{min-width:0}

/* Aktionsleiste */
.aktion{position:fixed;left:0;right:0;bottom:0;z-index:35;background:var(--blau);color:#fff;padding:10px 12px calc(10px + env(safe-area-inset-bottom));transform:translateY(110%);transition:transform .2s;box-shadow:0 -4px 20px rgba(31,42,68,.25);visibility:hidden}
.aktion.zeig{transform:none;visibility:visible}
.aktion .ak-kopf{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-weight:700;gap:8px}
.aktion .ak-kopf button{background:none;border:0;color:#fff;min-height:44px;padding:0 10px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;border-radius:8px}
.aktion .ak-knoepfe{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:6px}
.aktion .ak-knoepfe button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:rgba(255,255,255,.12);border:0;color:#fff;border-radius:12px;min-height:58px;padding:8px 4px;font-size:.72rem;font-weight:600;cursor:pointer}
.aktion .ak-knoepfe button svg{width:22px;height:22px}
.aktion .ak-knoepfe button[disabled]{opacity:.4;cursor:not-allowed}
.aktion .ak-knoepfe button.rot{background:rgba(196,71,58,.55)}

/* Blatt (von unten) */
.blatt{position:fixed;inset:0;background:rgba(31,42,68,.45);display:none;align-items:flex-end;justify-content:center;z-index:45}
.blatt.zeig{display:flex}
.blatt .box{background:#fff;border-radius:22px 22px 0 0;padding:12px 18px calc(20px + env(safe-area-inset-bottom));width:100%;max-width:520px;max-height:88vh;overflow:auto}
.blatt .griff{width:40px;height:4px;border-radius:2px;background:var(--linie);margin:0 auto 14px}
.blatt h2{margin-bottom:4px}
.blatt .hinweis{color:var(--text-2);font-size:.95rem;margin-bottom:10px}
.wahl{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;border-top:1px solid var(--linie);padding:10px 0;min-height:60px;text-align:left;cursor:pointer;color:var(--text)}
.wahl:first-child{border-top:0}
.wahl .mini-deckel{width:48px;height:48px;border-radius:10px;flex:none;background:var(--linie) center/cover;display:grid;place-items:center;color:var(--blau)}
.wahl .mini-deckel svg{width:24px;height:24px}
.wahl .wt{flex:1;min-width:0}
.wahl .wt strong{display:block}
.wahl .wt small{color:var(--text-2);display:block;font-size:.86rem}
.neu-album-zeile{display:flex;gap:8px;margin-top:8px}
.neu-album-zeile .eingabe{flex:1;min-width:0}
.blatt .merk{display:flex;gap:10px;align-items:flex-start;background:var(--gelb-hell);border-radius:var(--radius-s);padding:10px 12px;margin:12px 0;font-size:.88rem;color:#6b5312}

/* Frage-Dialog */
.frage{position:fixed;inset:0;background:rgba(31,42,68,.45);display:none;align-items:flex-end;justify-content:center;z-index:50;padding:16px}
.frage.zeig{display:flex}
.frage .box{background:#fff;border-radius:var(--radius);padding:20px;width:100%;max-width:420px}
.frage h2{margin-bottom:6px}
.frage p{color:var(--text-2);margin-bottom:16px}

/* Druck (QR-Aufsteller) */
@media print{
  body{background:#fff}
  body *{visibility:hidden}
  .druck-ziel,.druck-ziel *{visibility:visible}
  .druck-ziel{position:absolute;left:0;top:0;width:100%;display:flex;justify-content:center;padding:0}
  .aufsteller{box-shadow:none;border:1px solid #ddd;max-width:105mm;aspect-ratio:auto;min-height:140mm}
  .nav,.top,.aktion,.toast,.upload-status{display:none !important}
}

@media (min-width:720px){
  h1{font-size:1.9rem}
  .screen{padding:28px 0 90px}
  .alben{grid-template-columns:repeat(3,1fr)}
  .raster{grid-template-columns:repeat(5,1fr);gap:8px}
  .zwei{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
  .zwei .karte + .karte{margin-top:0}
  .gruss{padding:30px 28px}
  .gruss h1{font-size:1.8rem}
  .frage{align-items:center}
  .tour{align-items:center}
  .tour .box{padding:28px 30px 26px}
  .blatt{align-items:center;padding:16px}
  .blatt .box{border-radius:var(--radius);padding:18px 22px 22px}
  .blatt .griff{display:none}
  .aufsteller{max-width:360px}
  .dicht{grid-template-columns:repeat(6,1fr);gap:4px}
  .reihe .btn{flex:0 1 auto}
}
@media (min-width:1000px){
  .alben{grid-template-columns:repeat(4,1fr)}
  .raster{grid-template-columns:repeat(6,1fr)}
  .dicht{grid-template-columns:repeat(8,1fr)}
  .screen{padding-bottom:110px}
  .shell{display:grid;grid-template-columns:232px minmax(0,1fr)}
  .nav{position:sticky;top:76px;align-self:start;height:calc(100vh - 76px);flex-direction:column;border-top:0;border-right:1px solid var(--linie);padding:22px 14px 60px;gap:4px;background:transparent}
  .nav a{flex:none;flex-direction:row;justify-content:flex-start;gap:12px;font-size:1rem;min-height:48px;padding:8px 14px;width:100%}
  .nav .ni{width:auto;height:auto;background:none !important}
  .nav a[aria-current="page"]{background:var(--gelb-hell)}
  .toast{bottom:40px}
  .upload-status{left:auto;right:24px;bottom:24px;width:360px}
  .aktion{left:calc(50% + 116px);right:auto;bottom:24px;width:min(760px,calc(100% - 280px));border-radius:18px;padding:12px 16px;transform:translate(-50%,calc(100% + 40px))}
  .aktion.zeig{transform:translate(-50%,0)}
  .aktion .ak-knoepfe{display:flex;gap:8px}
  .aktion .ak-knoepfe button{flex:1;flex-direction:row;min-height:50px;font-size:.92rem;gap:8px}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none !important;animation:none !important}}

/* Tarif & Bezahlen */
.tarif-k .reihe{gap:8px}
.feier-box{margin-top:16px;padding:14px;border-radius:var(--radius-s);background:var(--gelb-hell)}
.feier-box .btn{margin-top:8px}
.segment{display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--blau-weich);margin:12px 0}
.segment button{flex:1;min-height:42px;border:0;border-radius:9px;background:none;font-weight:600;cursor:pointer;color:var(--text-2)}
.segment button[aria-pressed="true"]{background:var(--karte);color:var(--text);box-shadow:var(--schatten)}
.tarif-raster{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin-bottom:14px}
.tarif{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:14px;border-radius:var(--radius-s);border:2px solid var(--linie);background:var(--karte);cursor:pointer;min-height:44px}
.tarif b{font-size:1.05rem}
.tarif .preis{font-weight:700;color:#b04a33}
.tarif small{color:var(--text-2)}
.tarif em{font-style:normal;font-size:.85rem;font-weight:600;color:var(--text-2);margin-top:4px}
.tarif.gewaehlt{border-color:#c8553d;box-shadow:0 0 0 3px rgba(200,85,61,.18)}
.tarif:disabled{opacity:.55;cursor:not-allowed}
.check-zeile{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;color:var(--text-2);margin:4px 0 12px;line-height:1.4}
.check-zeile input{width:20px;height:20px;flex:none;margin-top:1px}

/* ===== Look 2026: ruhig & edel, mit warmen Akzenten (Terrakotta) ===== */
:root{
  --blau:#1d2333; --blau-2:#2c3447; --blau-weich:#f1ede7; --gelb:#c4553d; --gelb-hell:#fbeae5; --gelb-dunkel:#a8432e;
  --ink:#1d2333; --terra:#c4553d; --terra-dunkel:#a8432e; --terra-weich:#fbeae5; --gold:#e8b04a;
  --grund:#faf8f5; --linie:#ece7df; --text:#1d2333; --text-2:#5d6475; --text-3:#9097a6;
  --radius:22px; --radius-s:14px;
  --schatten:0 1px 2px rgba(29,35,51,.04),0 10px 30px rgba(29,35,51,.06);
}
body{letter-spacing:-.005em;-webkit-font-smoothing:antialiased}
h1{font-size:1.75rem;font-weight:750;letter-spacing:-.025em}
h2{font-weight:700;letter-spacing:-.015em}
a{color:var(--ink)}
:focus-visible{outline-color:var(--gold)}
.top{background:rgba(250,248,245,.86);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom-color:rgba(29,35,51,.06)}
.marke{color:var(--ink);font-weight:750;letter-spacing:-.02em}
.marke .privat{color:var(--terra);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.7rem}
.hilfe{border-color:var(--linie);color:var(--ink)}
.karte{border-color:rgba(29,35,51,.06);border-radius:var(--radius);padding:20px}
.btn{font-weight:650;letter-spacing:-.005em;transition:transform .12s ease,background .15s ease,box-shadow .15s ease}
.btn-gelb{background:var(--terra);color:#fff;box-shadow:0 1px 0 rgba(0,0,0,.04),0 6px 16px rgba(196,85,61,.25)}
.btn-gelb:hover{background:var(--terra-dunkel)}
.btn-blau{background:var(--ink);color:#fff}
.btn-blau:hover{background:#2c3447}
.btn-hell{background:#fff;color:var(--ink);border:1px solid var(--linie)}
.btn-hell:hover{border-color:rgba(29,35,51,.3)}
.gruss{background:linear-gradient(140deg,#2a1f1c 0%,#5a2c22 55%,var(--terra) 100%)}
.gruss::after{background:radial-gradient(circle,rgba(232,176,74,.4),rgba(232,176,74,0) 70%)}
.gruss p{color:#f3ddd5}
.chip{border:1px solid var(--linie)}
.chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink)}
.chip-privat{background:var(--ink)}
.nav{background:rgba(255,255,255,.9);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top-color:rgba(29,35,51,.06)}
.nav a[aria-current="page"]{color:var(--terra)}
.nav a[aria-current="page"] .ni{background:var(--terra-weich)}
@media (min-width:900px){ .nav a[aria-current="page"]{background:var(--terra-weich)} }
.feier-box{background:var(--terra-weich)}
.segment{background:#f1ede7}
/* Bildansicht */
.lb{background:#0f1218}
.lb .oben button,.lb .unten button,.lb .unten a{background:rgba(255,255,255,.1);backdrop-filter:blur(8px);font-weight:600}
.lb .unten a:hover,.lb .unten button:hover,.lb .oben button:hover{background:rgba(255,255,255,.18)}
.lb .bild img{border-radius:6px}
.avatar.gelb,.foto .neu,.aufsteller .schritte b{color:#fff}
.rolle.gelb,.bsp-tag,.banner.warn{color:#8a3a28}
.neu-kachel{border:1.5px dashed rgba(196,85,61,.55);color:var(--terra-dunkel)}
.album-kachel{border-color:rgba(29,35,51,.06)}
.album-kachel:hover{box-shadow:0 2px 4px rgba(29,35,51,.05),0 16px 36px rgba(29,35,51,.09)}
:focus-visible{outline-color:var(--gold)}

/* Rückblick */
.rueckblick{background:linear-gradient(135deg,#fff 0%,#fdf3ee 100%);border:1px solid rgba(196,85,61,.14);border-radius:var(--radius);padding:18px;margin:4px 0 18px;box-shadow:var(--schatten)}
.rb-kopf{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.rb-eyebrow{display:block;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--terra);margin-bottom:4px}
.rb-kopf h2{font-size:1.25rem}
.rb-streifen{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.rb-bild{flex:0 0 auto;width:132px;aspect-ratio:3/4;border:0;padding:0;border-radius:14px;overflow:hidden;cursor:pointer;scroll-snap-align:start;background:#f1ede7}
.rb-bild img{width:100%;height:100%;object-fit:cover;display:block}
/* Diashow */
.ds{position:fixed;inset:0;z-index:100;background:#000;cursor:none}
.ds.leiste-an{cursor:default}
.ds-bild{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity 1.2s ease}
.ds-bild.an{opacity:1;animation:ds-zoom 7s ease-out forwards}
@keyframes ds-zoom{from{transform:scale(1)}to{transform:scale(1.04)}}
@media (prefers-reduced-motion:reduce){.ds-bild{transition:none}.ds-bild.an{animation:none}}
.ds-leiste{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 20px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(to top,rgba(0,0,0,.65),rgba(0,0,0,0));color:#fff;opacity:0;transition:opacity .3s ease;pointer-events:none}
.ds.leiste-an .ds-leiste{opacity:1;pointer-events:auto}
.ds-titel strong{display:block;font-size:1.05rem}
.ds-zahl{font-size:.85rem;color:#d7dbe6}
.ds-knoepfe{display:flex;gap:8px;align-items:center}
.ds-knopf{min-width:48px;min-height:48px;border-radius:999px;border:0;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);color:#fff;display:grid;place-items:center;cursor:pointer;font-weight:600;padding:0 14px}
.ds-knopf svg{width:22px;height:22px}
.ds-zu{padding:0 18px}

.beta-chip{display:inline-block;vertical-align:middle;font-size:.62rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:var(--ink);color:#fff;border-radius:6px;padding:2px 6px;margin-left:4px}
.beta-box{background:var(--terra-weich);border-radius:var(--radius-s);padding:12px 14px;margin-bottom:14px;font-size:.94rem;line-height:1.5}
.gast-werbung{display:block;max-width:560px;margin:28px auto 6px;padding:14px 16px;border-radius:16px;background:var(--terra-weich);color:var(--ink);text-decoration:none;font-size:.92rem;line-height:1.45}
.gast-werbung strong{display:block;color:var(--terra-dunkel)}
.gast-werbung:hover{background:#f8ddd4}

.aktion-hinweis{background:#fbeae5;border:1px solid #f0c9bd;color:#5a2c22;border-radius:12px;padding:10px 12px;margin:8px 0;font-size:.92rem;line-height:1.45}
.marke-txt{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.marke .slogan{font-size:.72rem;font-weight:600;letter-spacing:0;color:var(--text-2);white-space:nowrap}
.fb-knopf{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--linie);background:#fff;color:var(--text);font:inherit;font-weight:700;font-size:.9rem;cursor:pointer;margin-right:6px}
.fb-knopf:hover{border-color:var(--terra,#c4553d)}
@media (max-width:420px){.fb-knopf .fb-txt{display:none}.fb-knopf{padding:0 11px}}
.tour .tipp{min-height:0;background:var(--gelb-hell,#fbeae5);border-radius:12px;padding:10px 12px;font-size:.92rem;color:var(--text);margin-top:10px;text-align:left}
.tour .schritt{font-size:.8rem;color:var(--text-3,#8a91a3);margin-top:12px;font-weight:600}
.tour .box{max-width:480px}
