/* MOHANA-Look (Skill mohana-look): Wellen-Kopf Cobalt zu Ocean, weißer Inhalt, Posterama + Poppins, Wellen-Fußzeile mit Logo */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url("/static/fonts/Poppins-Regular.ttf"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url("/static/fonts/Poppins-Medium.ttf"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url("/static/fonts/Poppins-SemiBold.ttf"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url("/static/fonts/Poppins-Bold.ttf"); }
@font-face { font-family: Posterama; font-weight: 700; font-display: swap; src: url("/static/fonts/posterama-bold.otf"); }

:root {
  --cobalt: #012b9a; --ocean: #1360dc; --sky: #26b4fa; --rim: #04dbcc; --amber: #fda002;
  --ink: #0b1b45; --muted: #5c6b93; --faint: #8a97b8; --line: #e1e8f6; --soft: #edf1f9; --card: #dbe6f8;
  --tint: linear-gradient(135deg, #e6f5ff 0%, #f2f9ff 100%);
  --deep: linear-gradient(150deg, #012b9a 0%, #0a3fb8 55%, #1360dc 100%);
  --btn: linear-gradient(135deg, #1360dc, #26b4fa);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-family: Poppins, system-ui, sans-serif; font-size: 16px; color: var(--ink); line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cobalt); min-height: 100vh; }
.app { max-width: 560px; margin: 0 auto; background: #fff; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
@media (min-width: 600px) { body { padding: 28px 0; } .app { min-height: auto; border-radius: 26px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,10,60,.4); } }
h1, h2, h3, .brand, .kicker, .sectitle, .cattitle, .btn, .tab { font-family: Posterama, Poppins, sans-serif; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }

/* ---------- Kopf mit Wellen ---------- */
.band { position: relative; overflow: hidden; color: #fff; padding: calc(26px + env(safe-area-inset-top, 0px)) 22px 66px;
        background: linear-gradient(140deg, #012b9a 0%, #0a3fb8 45%, #1360dc 100%); }
.glow { position: absolute; right: -110px; top: -140px; width: 400px; height: 400px; border-radius: 50%; pointer-events: none;
        background: radial-gradient(circle, rgba(38,180,250,.75) 0%, rgba(38,180,250,.25) 45%, rgba(38,180,250,0) 70%); }
.kicker { position: relative; font-size: 11px; letter-spacing: 3px; opacity: .85; text-transform: uppercase; }
.band h1 { position: relative; font-size: 40px; font-weight: 700; letter-spacing: 1.5px; margin: 12px 0 0; line-height: 1; text-transform: uppercase; }
.bandtitle { position: relative; font-size: 15px; letter-spacing: .4px; line-height: 1.4; margin: 10px 30px 0 0; color: #dcecff; }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 56px; display: block; }
.bandlogo { position: absolute; right: 16px; top: calc(14px + env(safe-area-inset-top, 0px)); width: 64px; height: 64px;
            background: radial-gradient(circle, rgba(143,214,255,.38) 0%, rgba(143,214,255,.14) 48%, rgba(143,214,255,0) 70%); }
.bandlogo img { width: 100%; height: 100%; display: block; }
.pills { position: relative; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-block; font-size: 10.5px; font-weight: 500; letter-spacing: 1.6px; padding: 4px 12px; border-radius: 20px; text-transform: uppercase;
        border: 1px solid rgba(255,255,255,.65); color: #fff; background: rgba(255,255,255,.12); }
.pill.teal { border-color: var(--rim); color: #b9fff9; background: rgba(4,219,204,.16); }

/* ---------- Inhalt ---------- */
.content { padding: 4px 20px 24px; flex: 1; }
h3, .sectitle { font-size: 15px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--cobalt); margin: 28px 0 0; font-weight: 700; }
.divider { height: 1px; background: var(--line); margin: 8px 0 6px; }
.divider span { display: block; width: 44px; height: 3px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, var(--rim), var(--sky)); }
.muted { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.legend { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--faint); margin: 0 0 6px; font-weight: 500; }
.hidden { display: none !important; }

label.feld { display: block; margin-top: 18px; }
label.feld > span { display: block; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 6px; }
.input { width: 100%; border: 1px solid var(--card); border-radius: 14px; padding: 13px 14px; font-size: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(38,180,250,.18); }
textarea.input { resize: vertical; min-height: 120px; line-height: 1.45; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231360dc' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.input.klein { padding: 9px 12px; font-size: 15px; border-radius: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 16px; padding: 15px 20px; min-height: 52px;
       font-size: 15px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #fff; background: var(--btn); box-shadow: 0 8px 20px rgba(19,96,220,.25); }
a.btn { text-decoration: none; }
.btn:disabled { opacity: .5; box-shadow: none; }
.btn.voll { width: 100%; }
.btn.hell { background: #fff; color: var(--ocean); border: 1px solid var(--card); box-shadow: none; }
.btn.klein { min-height: 40px; padding: 8px 14px; font-size: 12px; border-radius: 12px; box-shadow: none; }
.btn.dunkel { background: var(--deep); }
.link { background: none; border: 0; padding: 4px 0; color: var(--ocean); font-weight: 500; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.note { display: flex; gap: 12px; margin: 18px 0 0; padding: 14px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; border: 1px solid var(--card); background: #fff; }
.note.sky { border: none; background: var(--tint); }
.note .ic { flex: none; margin-top: 2px; }
.notetitle { font-family: Posterama, Poppins, sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cobalt); margin-bottom: 2px; }
.note p { margin: 0; }
.karte { margin-top: 16px; border-radius: 20px; border: 1px solid var(--card); background: #fff; padding: 16px; }
.karte.dunkel { border: none; background: var(--deep); color: #e4eeff; }
.karte.dunkel .sectitle, .karte.dunkel h3 { color: #fff; margin-top: 0; }
.karte.dunkel .muted { color: #a9cdfb; }

/* ---------- Suche ---------- */
.suche { position: relative; }
.treffer { list-style: none; margin: 6px 0 0; padding: 6px; border: 1px solid var(--card); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(1,43,154,.12); }
.treffer li button { width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 11px 10px; border-radius: 10px; font-size: 15.5px; }
.treffer li button:hover, .treffer li button.aktiv { background: #eef6ff; }
.treffer small { color: var(--faint); font-size: 12px; margin-left: auto; white-space: nowrap; }
.treffer .frei { color: var(--ocean); font-weight: 500; }
.treffer .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--ocean); font-weight: 700; }

/* ---------- Zeilen ---------- */
.liste { margin-top: 6px; }
.zeile { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--soft); }
.zeile:last-child { border-bottom: 0; }
.zeile .name { font-size: 15.5px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.zeile .klein { display: block; color: var(--faint); font-size: 12.5px; line-height: 1.4; margin-top: 2px; font-weight: 400; }
.zeile .klein b { color: var(--ocean); font-weight: 500; }
.zeile.aus .name { color: var(--faint); }
.zeile .voll { grid-column: 1 / -1; }
.zeile .ohnehaken { grid-column: 1 / 3; }
.hakenfeld { display: grid; place-items: center; width: 44px; height: 44px; margin: -9px -6px -9px -9px; cursor: pointer; }
.haken { appearance: none; cursor: pointer; width: 26px; height: 26px; border-radius: 8px; border: 1.6px solid var(--sky); margin: 0; display: grid; place-items: center; background: #fff; }
.haken:checked { background: var(--btn); border-color: transparent; }
.haken:checked::after { content: ""; width: 12px; height: 7px; border: 2.4px solid #fff; border-top: 0; border-right: 0; transform: translateY(-2px) rotate(-45deg); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--card); border-radius: 12px; overflow: hidden; background: #fff; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; color: var(--ocean); font-size: 20px; font-weight: 600; line-height: 1; }
.stepper button:active { background: #eef6ff; }
.stepper input { width: 38px; height: 40px; border: 0; text-align: center; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .einheit { font-size: 11px; color: var(--faint); padding-right: 8px; }

.chip { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; padding: 2px 9px; border-radius: 20px; vertical-align: 1px; white-space: nowrap; }
.chip.offen { background: #eef6ff; color: var(--ocean); }
.chip.bestellt { background: rgba(4,219,204,.16); color: #04857b; }
.chip.nicht { background: #f0f3fa; color: var(--muted); }
.chip.team { background: #eef6ff; color: var(--ocean); }
.chip.frei { background: #fff4de; color: #8a5a00; }
.chip.amber { background: var(--amber); color: #3d2400; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips span { background: #eef6ff; border-radius: 20px; padding: 4px 12px; font-size: 13.5px; color: #0a3fb8; }

.wunschbox { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.wunsch { font-size: 13px; color: var(--muted); }
.wunsch b { color: var(--ink); font-weight: 600; }
.wunsch i { font-style: normal; color: var(--ocean); }

.cattitle { font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ocean); margin: 18px 0 0; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cattitle::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Fußzeile ---------- */
.foot { margin-top: auto; }
.footwave { display: block; width: 100%; height: 26px; margin-bottom: -1px; }
.footbar { background: var(--cobalt); color: #a9cdfb; text-align: center; padding: 8px 24px calc(24px + env(safe-area-inset-bottom, 0px)); }
.footlogo { width: 72px; height: 72px; margin: 0 auto 2px; background: radial-gradient(circle, rgba(143,214,255,.34) 0%, rgba(143,214,255,.12) 48%, rgba(143,214,255,0) 70%); }
.footlogo img { width: 100%; height: 100%; display: block; }
.footbrand { font-family: Posterama, Poppins, sans-serif; color: #fff; font-weight: 700; font-size: 16px; letter-spacing: 3px; }
.foottitle { font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; margin-top: 2px; }

/* ---------- Meldung ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 50;
         background: var(--deep); color: #fff; border-radius: 16px; padding: 12px 18px; font-size: 14.5px; box-shadow: 0 12px 30px rgba(0,10,60,.35);
         transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.zeigen { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.fehler { background: #8a2a1a; }

/* ---------- Team: Leiste, Tabs, Sheet ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 -20px; padding: 14px 20px 4px; scrollbar-width: none; position: sticky; top: 0; z-index: 10; background: #fff; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; border: 1px solid var(--card); background: #fff; color: var(--ocean); border-radius: 20px; padding: 10px 12px; min-height: 42px; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; }
.tab[aria-selected="true"] { background: var(--btn); color: #fff; border-color: transparent; }
.leiste { position: sticky; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
          display: flex; align-items: center; gap: 12px; box-shadow: 0 -10px 30px rgba(1,43,154,.08); }
.leiste .summe { flex: 1; min-width: 0; }
.leiste .summe b { display: block; white-space: nowrap; font-family: Posterama, Poppins, sans-serif; font-size: 20px; color: var(--cobalt); letter-spacing: .5px; line-height: 1.1; }
.leiste .summe small { display: block; color: var(--faint); font-size: 12px; line-height: 1.35; }
.sheet { position: fixed; inset: 0; z-index: 40; background: rgba(1,20,70,.55); display: flex; align-items: flex-end; justify-content: center; }
.sheet .innen { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 24px 24px 0 0; padding: 0 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
.sheet .griff { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 4px; }
.sheet pre { white-space: pre-wrap; word-break: break-word; }
.knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.knoepfe .voll { grid-column: 1 / -1; }
.vorschlag { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.16); }
.vorschlag:first-of-type { border-top: 0; }
.vorschlag span { flex: 1; min-width: 0; font-size: 14.5px; }
.vorschlag small { display: block; color: #a9cdfb; font-size: 12px; }
.ja, .nein { border: 0; border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; min-height: 38px; }
.ja { background: var(--rim); color: #01323a; }
.nein { background: rgba(255,255,255,.14); color: #fff; }
.katzeile { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--soft); }
.katzeile span { flex: 1; }
.katzeile button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--card); background: #fff; color: var(--ocean); font-weight: 700; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.leer { text-align: center; color: var(--faint); padding: 18px 8px; font-size: 14px; border: 1px dashed var(--card); border-radius: 16px; margin-top: 10px; }
details.klapp summary { cursor: pointer; list-style: none; }
details.klapp summary::-webkit-details-marker { display: none; }

.sprung { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 500; color: var(--ocean); text-decoration: none; background: #eef6ff; border-radius: 20px; padding: 5px 14px; }
