/* Julias Backstube – warmes Apple-Design */
:root {
  --bg: #fbf7f0; --elev: #ffffff; --text: #1d1d1f; --text-2: #6e6a64; --text-3: #9a948b;
  --fill: rgba(120,100,70,.09); --fill-2: rgba(120,100,70,.16); --sep: rgba(60,40,20,.1);
  --accent: #c8741f; --accent-2: #a95e12; --green: #34a853; --red: #e5484d;
  --shadow: 0 1px 2px rgba(60,40,10,.05), 0 14px 40px rgba(60,40,10,.08); --shadow-lg: 0 30px 80px rgba(60,40,10,.22);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --serif: "New York", "Instrument Serif", ui-serif, Georgia, serif; --ease: cubic-bezier(.32,.72,0,1);
}
@media (prefers-color-scheme: dark) { :root { --bg: #14110d; --elev: #221d17; --text: #f5f1ea; --text-2: #b5ab9c; --text-3: #8a8174; --fill: rgba(255,230,190,.08); --fill-2: rgba(255,230,190,.14); --sep: rgba(255,230,190,.12); --accent: #e8953d; --accent-2: #f0a552; --shadow: 0 0 0 1px rgba(255,255,255,.05); --shadow-lg: 0 30px 80px rgba(0,0,0,.6); color-scheme: dark; } }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); letter-spacing: -.012em; -webkit-font-smoothing: antialiased; line-height: 1.45; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; } button:disabled { opacity: .4; cursor: default; }
h1, h2, h3, p { margin: 0; } a { color: inherit; }
.muted { color: var(--text-2); } .small { font-size: 13px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: .5px solid var(--sep); }
.nav-in { max-width: 980px; margin: 0 auto; height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 700; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.nav-r { display: flex; gap: 4px; }
.nav-link { font-size: 14px; color: var(--text-2); text-decoration: none; padding: 6px 10px; border-radius: 999px; font-weight: 500; }
.nav-link:hover { background: var(--fill); color: var(--text); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; margin-left: 4px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px 140px; }
.hero { text-align: center; padding: 64px 0 30px; animation: rise .8s var(--ease) both; }
.hero-emoji { font-size: 68px; filter: drop-shadow(0 14px 22px rgba(160,90,20,.3)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-5px) rotate(-3deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.hero h1 { font-size: clamp(44px, 8vw, 84px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-top: 10px; }
.hero h1 em { color: var(--accent); }
.lead { max-width: 520px; margin: 18px auto 0; font-size: clamp(17px, 2vw, 20px); color: var(--text-2); }
.step { margin-top: 44px; }
.step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-h h2 { font-size: 24px; letter-spacing: -.03em; }
.step-sub { color: var(--text-2); margin: -8px 0 16px 42px; }
.num { width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.dates { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.dates::-webkit-scrollbar { display: none; }
.date { position: relative; flex: none; width: 74px; padding: 12px 0; border-radius: 18px; background: var(--elev); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; scroll-snap-align: start; transition: transform .2s var(--ease), background .2s, color .2s; }
.date:active { transform: scale(.96); }
.date .dw { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--text-2); letter-spacing: .04em; }
.date .dd { font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.date .dm { font-size: 13px; color: var(--text-2); }
.date.on { background: var(--accent); color: #fff; } .date.on span { color: #fff !important; }
.date.past { opacity: .55; }
.date .dot { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.other-date { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; }
.field { width: 100%; border: 0; border-radius: 12px; background: var(--fill); padding: 12px 14px; font-size: 16px; outline: none; transition: box-shadow .2s; resize: vertical; }
.field:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent); }
.field::placeholder { color: var(--text-3); }
.field.inline { width: auto; padding: 8px 12px; }
.field.big { font-size: 18px; text-align: center; padding: 15px; }
.breads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .breads { grid-template-columns: 1fr; } }
.bread { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 22px; background: var(--elev); box-shadow: var(--shadow); transition: box-shadow .3s, transform .3s var(--ease); }
.bread.on { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.bread-ic { width: 72px; height: 72px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 42px; background: linear-gradient(145deg, #fff3dc, #f6dcae); }
@media (prefers-color-scheme: dark) { .bread-ic { background: linear-gradient(145deg, #3a2f20, #2a2117); } }
.bread-info { flex: 1; min-width: 0; }
.bread-info h3 { font-size: 18px; letter-spacing: -.02em; }
.bread-info p { color: var(--text-2); font-size: 14px; margin-top: 2px; }
.bread-meta { display: flex; gap: 6px; margin-top: 6px; }
.bread-meta span { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--fill); color: var(--text-2); }
.stepper { display: flex; align-items: center; gap: 2px; border-radius: 999px; background: var(--fill); padding: 3px; flex: none; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; font-weight: 500; }
.stepper button:last-child { background: var(--accent); color: #fff; }
.stepper.on button:first-child { background: var(--elev); }
.stepper b { min-width: 26px; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.card { background: var(--elev); border-radius: 22px; box-shadow: var(--shadow); padding: 20px; }
.form { display: grid; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.form small { font-weight: 400; color: var(--text-3); }
.bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); transform: translateY(120%); transition: transform .45s var(--ease); }
.bar.show { transform: none; }
.bar-in { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 12px 12px 22px; border-radius: 999px; background: color-mix(in srgb, var(--elev) 82%, transparent); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); box-shadow: var(--shadow-lg); border: .5px solid var(--sep); }
.bar-in small { display: block; color: var(--text-2); font-size: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 24px; border-radius: 999px; background: var(--fill); font-weight: 600; font-size: 16px; transition: transform .15s var(--ease), background .2s; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn.primary { background: var(--accent); color: #fff; } .btn.primary:hover:not(:disabled) { background: var(--accent-2); }
.btn.block { display: flex; width: 100%; margin-top: 16px; } .btn.big { min-height: 54px; font-size: 17px; } .btn.small { min-height: 34px; padding: 0 14px; font-size: 14px; }
.list { background: var(--elev); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; position: relative; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 76px; right: 0; height: .5px; background: var(--sep); }
.row.cancel { opacity: .5; }
.row-date { width: 44px; text-align: center; display: flex; flex-direction: column; line-height: 1.1; } .row-date b { font-size: 22px; } .row-date span { font-size: 12px; color: var(--text-2); }
.row-main { flex: 1; min-width: 0; } .row-t { font-weight: 600; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.offen { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.pill.gebacken { background: color-mix(in srgb, #0a84ff 15%, transparent); color: #0a84ff; }
.pill.abgeholt { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.pill.storniert { background: var(--fill); color: var(--text-3); }
.icon-btn { width: 32px; height: 32px; border-radius: 50%; background: var(--fill); color: var(--text-2); flex: none; }
.foot { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 56px; } .foot a { color: var(--text-2); }
.layer { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; }
.backdrop { position: absolute; inset: 0; background: rgba(30,20,10,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: min(420px, 100%); background: var(--elev); border-radius: 30px; padding: 30px 24px 22px; text-align: center; box-shadow: var(--shadow-lg); animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.9) translateY(20px); opacity: 0; } }
.check { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; font-size: 38px; font-weight: 700; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 14px 30px rgba(52,168,83,.35); }
.sheet h2 { font-size: 26px; letter-spacing: -.03em; }
.receipt { margin: 18px 0 12px; border-radius: 16px; background: var(--fill); padding: 6px 16px; text-align: left; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; } .receipt div + div { border-top: .5px dashed var(--sep); }
.receipt span { color: var(--text-2); }
.login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 20px; max-width: 380px; margin: 0 auto; }
.login h1 { font-size: 36px; letter-spacing: -.04em; }
.login .field { margin-top: 14px; }
.link { color: var(--accent); text-decoration: none; font-weight: 500; margin-top: 16px; font-size: 15px; }
.link.danger { color: var(--red); margin: 0; font-size: 14px; }
.j-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 40px 0 20px; flex-wrap: wrap; }
.j-head h1 { font-size: clamp(36px, 6vw, 52px); letter-spacing: -.045em; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.switch-l { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.switch-l input { display: none; }
.switch { width: 46px; height: 28px; border-radius: 14px; background: var(--fill-2); position: relative; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.switch-l input:checked + .switch { background: var(--green); } .switch-l input:checked + .switch::after { transform: translateX(18px); }
.grid2 { display: grid; grid-template-columns: 340px 1fr; gap: 18px; align-items: start; margin-top: 10px; }
@media (max-width: 820px) { .grid2 { grid-template-columns: 1fr; } }
.bake { position: sticky; top: 70px; background: linear-gradient(160deg, #fff6e6, var(--elev)); }
@media (prefers-color-scheme: dark) { .bake { background: linear-gradient(160deg, #3a2c1a, var(--elev)); } }
.card-h { display: flex; justify-content: space-between; align-items: center; }
.card-h h2 { font-size: 22px; }
.bake-date { color: var(--text-2); margin: 2px 0 16px; }
.totals { display: flex; flex-direction: column; gap: 8px; }
.tot { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--elev); box-shadow: var(--shadow); font-weight: 500; }
.tot-e { font-size: 24px; } .tot b { margin-left: auto; font-size: 24px; font-variant-numeric: tabular-nums; }
.sum { margin-top: 14px; font-weight: 600; color: var(--text-2); }
.orders { display: flex; flex-direction: column; gap: 12px; }
.order.storniert { opacity: .5; } .order.abgeholt { opacity: .75; }
.o-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.o-top h3 { font-size: 19px; }
.o-items { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.o-items span { padding: 6px 10px; border-radius: 10px; background: var(--fill); font-weight: 500; }
.o-note { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, transparent); font-style: italic; }
.o-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.seg { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--fill); gap: 2px; }
.seg-btn { padding: 5px 11px; border-radius: 8px; font-size: 13px; font-weight: 500; }
.seg-btn.on { background: var(--elev); box-shadow: 0 2px 6px rgba(0,0,0,.12); font-weight: 600; }
.empty { text-align: center; padding: 50px 20px; } .empty h2 { margin: 6px 0; }
.toast { position: fixed; z-index: 100; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: rgba(30,25,20,.9); color: #fff; font-weight: 600; font-size: 15px; transition: all .4s var(--ease); box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.boot { display: grid; place-items: center; height: 70vh; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--fill-2); border-top-color: var(--accent); animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
@media print { .nav, .orders, .j-head .switch-l, .dates, .btn { display: none !important; } .grid2 { display: block; } .bake { position: static; box-shadow: none; } body { background: #fff; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.sheet.wide { width: min(520px, 100%); text-align: left; max-height: calc(100vh - 40px); overflow: auto; }
.sheet.wide h2, .sheet.wide > p { text-align: center; }
.hero-emoji.sm { font-size: 48px; text-align: center; animation: none; }
.steps { margin: 18px 0 6px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps li { padding-left: 4px; }
.field.code { font-family: ui-monospace, Menlo, monospace; font-size: 11px; margin-top: 12px; color: var(--text-2); }

/* --- v4: Annahme, Einstellungen --- */
.pill.angenommen { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.pill.abgelehnt { background: color-mix(in srgb, var(--red) 13%, transparent); color: var(--red); }
.pill.offen { white-space: normal; text-align: center; }
.order.offen { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.order.abgelehnt { opacity: .5; }
.new-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; background: var(--accent); color: #fff; vertical-align: 3px; }
.decide { display: flex; gap: 8px; margin: 14px 0 8px; }
.decide .btn { flex: 1; }
.sent { margin-top: 8px; }
.date .dot.new { background: var(--accent); }
.banner { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 12%, var(--elev)); box-shadow: var(--shadow); font-size: 14px; }
.banner span { flex: 1; } .banner b { display: block; }
.nav-seg { margin: 0 auto; } .nav-seg .seg-btn { font-size: 14px; padding: 6px 12px; } .nav-seg .badge { vertical-align: 1px; }
@media (max-width: 560px) { .hide-sm { display: none; } .nav-r .nav-link { padding: 6px 7px; } }
.wrap.narrow { max-width: 680px; }
.set-card { margin-bottom: 18px; }
.set-h { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.set-h h2 { font-size: 20px; letter-spacing: -.02em; }
.set-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--c); display: grid; place-items: center; font-size: 20px; flex: none; }
.set-list { display: flex; flex-direction: column; border-radius: 16px; background: var(--fill); overflow: hidden; }
.set-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; position: relative; }
.set-row + .set-row::before { content: ""; position: absolute; top: 0; left: 54px; right: 0; height: .5px; background: var(--sep); }
.set-e { font-size: 26px; width: 30px; text-align: center; }
.set-t { flex: 1; display: flex; flex-direction: column; } .set-t small { color: var(--text-2); font-size: 13px; }
.switch.on { background: var(--green); } .switch.on::after { transform: translateX(18px); }
.lead-row { display: flex; align-items: center; gap: 18px; }
.stepper.big button { width: 44px; height: 44px; } .stepper.big b { min-width: 40px; font-size: 24px; }
.stepper button:disabled { opacity: .35; }
.sub-h { font-weight: 700; margin: 22px 0 10px; }
.week { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.day { width: 46px; height: 46px; border-radius: 50%; background: var(--fill); color: var(--text-3); font-weight: 600; text-decoration: line-through; }
.day.on { background: var(--accent); color: #fff; text-decoration: none; }
.mail-status { padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.mail-status.ok { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.mail-status.warn { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.mail-status.off { background: var(--fill); color: var(--text-2); }
.mail-err { font-size: 13px; color: var(--red); margin-bottom: 12px; }
.btn-row { display: flex; gap: 10px; margin: 16px 0 10px; flex-wrap: wrap; }
.closed { text-align: center; padding: 36px 20px; margin-top: 10px; } .closed h2 { margin: 6px 0; }

/* --- Polaroids: So entsteht dein Brot --- */
.story { margin: 6px auto 8px; text-align: center; }
.story-h .eyebrow { margin-bottom: 2px; }
.story-h h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; letter-spacing: 0; color: var(--text-2); }
.polas { display: flex; justify-content: center; gap: 4px; padding: 22px 8px 18px; }
.pola { --r: 0deg; flex: none; width: 158px; padding: 8px 8px 0; background: #fffdf8; border-radius: 4px; transform: rotate(var(--r)); margin: 0 -6px;
  box-shadow: 0 1px 2px rgba(60,40,10,.12), 0 10px 26px rgba(60,40,10,.16); transition: transform .5s var(--ease), box-shadow .5s var(--ease); animation: drop .9s var(--d) var(--ease) both; position: relative; }
.pola:nth-child(even) { margin-top: 14px; }
.pola:hover, .pola:focus-visible { transform: rotate(0deg) translateY(-8px) scale(1.06); z-index: 2; box-shadow: 0 2px 4px rgba(60,40,10,.12), 0 22px 44px rgba(60,40,10,.24); }
.pola-img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: #eee; }
.pola-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); }
.pola-cap { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; font-family: var(--serif); font-style: italic; font-size: 17px; color: #3a3128; }
.pola-n { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 11px/1 var(--font); font-style: normal; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) rotate(calc(var(--r) * 2.5)); } }
@media (max-width: 720px) {
  .polas { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 26px 22px; margin: 0 -20px; scrollbar-width: none; gap: 10px; }
  .polas::-webkit-scrollbar { display: none; }
  .pola { width: 138px; margin: 0; scroll-snap-align: center; }
  .pola:nth-child(even) { margin-top: 10px; }
  .pola-cap { font-size: 15px; height: 32px; }
}
.photo-layer { flex-direction: column; }
.pola.big { width: min(440px, 86vw); padding: 12px 12px 0; transform: rotate(var(--r)); animation: pop .5s var(--ease); margin: 0; position: relative; z-index: 1; }
.pola.big img { width: 100%; max-height: 68vh; object-fit: cover; border-radius: 2px; display: block; }
.pola.big figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px 16px; color: #3a3128; text-align: center; }
.pola.big figcaption b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; }
.pola.big figcaption span:last-child { font-size: 14px; color: #6e6a64; }
.photo-nav, .photo-close { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.85); color: #1d1d1f; font-size: 26px; line-height: 1; backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.photo-nav.prev { left: max(12px, calc(50% - 300px)); top: 50%; transform: translateY(-50%); }
.photo-nav.next { right: max(12px, calc(50% - 300px)); top: 50%; transform: translateY(-50%); }
.photo-close { top: calc(16px + env(safe-area-inset-top)); right: 16px; font-size: 18px; }
@media (prefers-color-scheme: dark) { .pola { box-shadow: 0 10px 30px rgba(0,0,0,.5); } }

/* --- Trinkgeld --- */
.tip { margin-top: 48px; display: flex; justify-content: center; }
.tip-card { width: min(560px, 100%); display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 18px 20px; border-radius: 22px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 10%, var(--elev)), var(--elev) 70%); box-shadow: var(--shadow); border: .5px solid var(--sep); }
.tip-ic { font-size: 30px; grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--fill); }
.tip-txt { display: flex; flex-direction: column; } .tip-txt b { font-size: 17px; letter-spacing: -.02em; } .tip-txt span { color: var(--text-2); font-size: 14px; }
.tip-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tip-chip { flex: 1 1 auto; min-width: 64px; text-align: center; padding: 10px 14px; border-radius: 999px; background: var(--elev); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s var(--ease), background .2s, color .2s; }
.tip-chip:hover { background: var(--accent); color: #fff; } .tip-chip:active { transform: scale(.96); }
.tip-chip.other { flex: 2 1 auto; font-weight: 600; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--sep); }
.tip-chip.other:hover { background: var(--fill-2); color: var(--text); }
.tip-pp { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 10px; font-size: 12px; color: var(--text-3); }
.tip-pp svg { color: #0070e0; }
.tip-mini { display: block; margin-top: 14px; font-size: 14px; color: var(--text-2); text-decoration: none; }
.tip-mini:hover { color: var(--accent); }

/* --- Tageslimit / Push --- */
.date.full { opacity: .45; background: var(--fill); box-shadow: none; cursor: not-allowed; }
.date.full .dm { color: var(--red) !important; font-weight: 600; }
.date .left { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: var(--red); color: #fff; }
.date { position: relative; }
.dates { padding-bottom: 18px; }
.cap-hint { margin: 2px 0 10px; font-size: 14px; color: var(--text-2); }
.stepper button:disabled { opacity: .35; }
.set-row.bordered { background: var(--fill); border-radius: 14px; margin-top: 14px; }
.topic { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--fill); margin: 4px 0 6px; }
.topic code { flex: 1; font-family: ui-monospace, Menlo, monospace; font-size: 13px; word-break: break-all; }
.steps[start] { margin-top: 6px; }
.set-row.bordered { width: 100%; }
