
@font-face { font-family: "Marktzeit"; src: url("fonts/Marktzeit-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Marktzeit"; src: url("fonts/Marktzeit-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ore: #2C6751;
  --ore-dark: #23523F;
  --teal: #5E8275;
  --linen: #ECE8E0;
  --silver: #C3C3C1;
  --black: #31281E;
  --white: #FFFFFF;
  --radieschen: #B8323F;
  --moehre: #E07B39;
  --honig: #F0B64A;
  --holunder: #5B3A5E;
  --font: "Marktzeit", "Outfit", Verdana, sans-serif;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgb(49 40 30 / .06), 0 6px 20px rgb(49 40 30 / .06);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55;
  color: var(--black); background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ore); text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; color: var(--ore); margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--honig); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--honig); color: var(--black); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.proto-bar {
  background: var(--honig); color: var(--black); font-size: .82rem; text-align: center;
  padding: 6px var(--gutter);
}
.proto-bar button { font: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; color: inherit; padding: 0 4px; }

/* Header */
.site-head { background: var(--ore); color: var(--white); position: sticky; top: 0; z-index: 50; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img, .brand .brand-logo { display: block; width: 150px; height: auto; overflow: visible; }
/* Das Gemüse hüpft beim Laden einmal aus der Kiste, die Kiste federt mit. */
.brand-logo .logo-veg, .brand-logo .logo-crate { transform-box: fill-box; transform-origin: 50% 100%; }
.brand-logo .logo-veg { animation: logo-hop .85s cubic-bezier(.3, .7, .4, 1) .3s both; }
.brand-logo .v1 { animation-delay: .3s; } .brand-logo .v2 { animation-delay: .4s; } .brand-logo .v3 { animation-delay: .22s; } .brand-logo .v4 { animation-delay: .5s; }
.brand-logo .logo-crate { animation: logo-crate .85s ease-out .3s both; }
.brand:hover .logo-veg { animation-name: logo-hop-again; animation-delay: 0s; }
.brand:hover .v2 { animation-delay: .06s; } .brand:hover .v3 { animation-delay: .12s; } .brand:hover .v4 { animation-delay: .18s; }
@keyframes logo-hop { 0%, 100% { transform: none; } 30% { transform: translateY(-30px) rotate(-3deg); } 58% { transform: none; } 76% { transform: translateY(-11px) rotate(2deg); } 90% { transform: none; } }
@keyframes logo-hop-again { 0%, 100% { transform: none; } 30% { transform: translateY(-30px) rotate(-3deg); } 58% { transform: none; } 76% { transform: translateY(-11px) rotate(2deg); } 90% { transform: none; } }
@keyframes logo-crate { 0%, 45%, 100% { transform: none; } 58% { transform: scale(1.03, .95); } 74% { transform: none; } 90% { transform: scale(1.015, .98); } }
/* Der Marktpartner geht zwei Schritte, die Kiste wippt und das Gemüse hüpft. */
.mp-figure * { transform-box: fill-box; }
.mp-walker { transform-origin: 50% 100%; }
.mp-veg { transform-origin: 50% 100%; }
.mp-crate { transform-origin: 50% 100%; }
.mp-head { transform-origin: 50% 100%; }
.mp-foot-b { transform-origin: 100% 0; }
.mp-play .mp-walker, .hero-ill:hover .mp-walker { animation: mp-walk 1.3s ease-in-out .25s both; }
.mp-play .mp-crate, .hero-ill:hover .mp-crate { animation: mp-crate 1.3s ease-in-out .25s both; }
.mp-play .mp-head, .hero-ill:hover .mp-head { animation: mp-head 1.3s ease-in-out .25s both; }
.mp-play .mp-foot-b, .hero-ill:hover .mp-foot-b { animation: mp-foot 1.3s ease-in-out .25s both; }
.mp-play .mp-veg, .hero-ill:hover .mp-veg { animation: mp-veg 1.3s cubic-bezier(.3, .7, .4, 1) .3s both; }
.mp-figure .v1 { animation-delay: .34s !important; } .mp-figure .v2 { animation-delay: .4s !important; } .mp-figure .v3 { animation-delay: .28s !important; } .mp-figure .v4 { animation-delay: .46s !important; }
@keyframes mp-walk { 0%, 100% { transform: none; } 22% { transform: translateY(-20px) rotate(-1.2deg); } 44% { transform: none; } 68% { transform: translateY(-12px) rotate(.9deg); } 88% { transform: none; } }
@keyframes mp-crate { 0%, 100% { transform: none; } 24% { transform: translateY(-5px) rotate(-1.5deg); } 46% { transform: translateY(5px) rotate(1deg); } 70% { transform: translateY(-3px) rotate(.8deg); } 90% { transform: translateY(2px); } }
@keyframes mp-head { 0%, 100% { transform: none; } 24% { transform: rotate(-3deg); } 50% { transform: rotate(2deg); } 72% { transform: rotate(-1.5deg); } }
@keyframes mp-foot { 0%, 100% { transform: none; } 22% { transform: rotate(5deg); } 44% { transform: none; } 68% { transform: rotate(3deg); } 88% { transform: none; } }
@keyframes mp-veg { 0%, 100% { transform: none; } 26% { transform: translateY(-34px) rotate(-3deg); } 48% { transform: none; } 70% { transform: translateY(-16px) rotate(2deg); } 88% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .mp-figure * { animation: none !important; } }
@media (prefers-reduced-motion: reduce) { .brand-logo .logo-veg, .brand-logo .logo-crate, .brand:hover .logo-veg { animation: none; } }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 30px; font-size: .95rem; }
.nav a:hover { background: rgb(255 255 255 / .12); }
.nav a[aria-current="page"] { background: var(--linen); color: var(--ore); }
.nav .nav-cta { border: 1.5px solid var(--linen); }
.menu-btn { display: none; margin-left: auto; font: inherit; font-weight: 600; color: var(--white); background: none; border: 1.5px solid var(--linen); border-radius: 30px; padding: 8px 16px; cursor: pointer; }

@media (max-width: 1024px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ore); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
}

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
main { min-height: 60vh; }
main:focus { outline: none; }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section.linen { background: var(--linen); }
.section.ore { background: var(--ore); color: var(--white); }
.section.ore h1, .section.ore h2, .section.ore h3 { color: var(--white); }
.section.honig { background: var(--honig); }
.section.honig h2 { color: var(--black); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.ore .eyebrow { color: var(--linen); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 46ch; }
.muted { color: var(--teal); }
.small { font-size: .88rem; }

/* Hero */
.hero { background: var(--ore); color: var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: end; padding-top: clamp(40px, 6vw, 80px); }
.hero h1 { color: var(--white); }
.hero .lead { color: var(--linen); }
.hero-text { padding-bottom: clamp(40px, 6vw, 80px); }
.hero-ill img, .hero-ill .mp-figure { display: block; width: min(100%, 300px); height: auto; margin-left: auto; margin-bottom: -10px; overflow: visible; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .hero-ill img, .hero-ill .mp-figure { width: 140px; margin-top: -20px; } .hero-text { padding-bottom: 0; } }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; background: var(--honig); color: var(--black); }
.chip.linen { background: var(--linen); color: var(--ore); }
.chip.outline { background: none; border: 1.5px solid currentColor; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; padding: 14px 22px; border-radius: 40px; border: 1.5px solid transparent; background: var(--ore); color: var(--white); }
.btn:hover { background: var(--ore-dark); }
.btn.light { background: var(--linen); color: var(--ore); }
.btn.light:hover { background: var(--white); }
.btn.ghost { background: none; border-color: currentColor; color: var(--ore); }
.ore .btn.ghost, .hero .btn.ghost { color: var(--white); }
.btn.dark { background: var(--black); }
.btn.small { padding: 9px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linkbtn { font: inherit; font-weight: 600; color: var(--ore); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card.linen { background: var(--linen); box-shadow: none; }
.card.line { box-shadow: none; border: 1px solid var(--silver); }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; display: block; transition: transform .15s ease; }
a.card:hover { transform: translateY(-2px); }
.card .num { font-size: 2rem; font-weight: 600; color: var(--radieschen); line-height: 1; margin-bottom: 10px; }
.bar { height: 6px; border-radius: 3px; margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-check li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.list-check li::before { content: "✓"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ore); color: var(--white); font-weight: 600; font-size: .85rem; }
.ore .list-check li::before { background: var(--linen); color: var(--ore); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: .8rem; font-weight: 600; padding: 4px 11px; border-radius: 30px; }
.b-da { background: var(--ore); color: var(--white); }
.b-bes { background: var(--radieschen); color: var(--white); }
.b-nicht { background: var(--silver); color: var(--black); }
.b-offen { border: 1.5px dashed var(--teal); color: var(--teal); }
.b-pause { background: var(--linen); color: var(--ink-muted, #49665A); }
.b-gast { background: var(--holunder); color: var(--white); }

/* Partner cards */
.partner { display: flex; flex-direction: column; gap: 10px; }
.partner .top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.partner .origin { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.partner h3 { margin: 2px 0 0; }
.partner p { font-size: .95rem; margin: 0; }
.avatar { width: 56px; height: 56px; border-radius: 14px; background: var(--linen) center/cover; flex: none; display: grid; place-items: center; color: var(--ore); font-weight: 600; font-size: 1.3rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .8rem; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--ore); color: var(--ore); }

/* Timeline */
.timeline { display: grid; gap: 14px; counter-reset: ph; }
.phase { display: grid; grid-template-columns: 64px 1fr; gap: 18px; background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.phase .n { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; font-weight: 600; color: var(--white); }
.phase ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.phase li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.state { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 10px; }
.s-done { background: var(--ore); color: var(--white); }
.s-now { background: var(--honig); color: var(--black); }
.s-plan { background: var(--linen); color: var(--teal); }

/* FAQ */
details { border-bottom: 1px solid var(--silver); padding: 16px 0; }
summary { font-weight: 600; color: var(--ore); cursor: pointer; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; max-width: 70ch; }

/* Forms */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label, .legend { font-weight: 600; }
.hint { font-size: .85rem; color: var(--teal); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="password"], textarea, select {
  font: inherit; color: var(--black); width: 100%; padding: 13px 14px; border-radius: var(--radius-s);
  border: 1.5px solid var(--silver); background: var(--white);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--ore); outline: 3px solid rgb(44 103 81 / .2); outline-offset: 0; }
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: var(--radieschen); background: #FBEFEF; }
input:user-valid:not([type="checkbox"]):not([type="radio"]), textarea:user-valid { border-color: var(--ore); }
.error-msg { display: none; color: var(--radieschen); font-size: .88rem; }
.field:has(:user-invalid) .error-msg { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { padding: 0; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--silver); border-radius: var(--radius-s); cursor: pointer; background: var(--white); }
.check:has(input:checked) { border-color: var(--ore); box-shadow: 0 0 0 1px var(--ore); }
.check input { accent-color: var(--ore); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.counter { font-size: .82rem; color: var(--teal); text-align: right; }

/* Stepper */
.stepper { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 28px; }
.stepper a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--teal); padding: 8px 12px; border-radius: 30px; border: 1.5px solid var(--silver); background: var(--white); }
.stepper a .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--linen); color: var(--teal); font-size: .75rem; }
.stepper a.done .dot { background: var(--ore); color: var(--white); }
.stepper a[aria-current="step"] { border-color: var(--ore); color: var(--ore); box-shadow: 0 0 0 1px var(--ore); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.editor { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.editor aside { position: sticky; top: 110px; }
@media (max-width: 980px) { .editor { grid-template-columns: 1fr; } .editor aside { position: static; } }

/* Upload */
.upload { display: grid; gap: 12px; }
.drop { display: grid; place-items: center; text-align: center; gap: 6px; padding: 28px; border: 2px dashed var(--teal); border-radius: var(--radius); background: var(--linen); cursor: pointer; color: var(--ore); font-weight: 600; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 3px solid var(--honig); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--linen) center/cover; }
.thumb button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--white); color: var(--black); cursor: pointer; font-size: 1rem; line-height: 1; box-shadow: var(--shadow); }
.thumb .lbl { position: absolute; left: 6px; bottom: 6px; font-size: .7rem; font-weight: 600; background: var(--ore); color: var(--white); padding: 2px 8px; border-radius: 10px; }

/* Dashboard */
.progress { display: flex; align-items: center; gap: 20px; }
.ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--honig) calc(var(--p) * 1%), rgb(255 255 255 / .18) 0); }
.ring span { width: 92px; height: 92px; border-radius: 50%; background: var(--ore); display: grid; place-items: center; font-size: 1.7rem; font-weight: 600; color: var(--white); }
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.todo a { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; text-decoration: none; color: inherit; padding: 14px 16px; border-radius: var(--radius-s); background: var(--white); border: 1px solid var(--silver); }
.todo a:hover { border-color: var(--ore); }
.todo .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .85rem; border: 1.5px dashed var(--teal); color: var(--teal); }
.todo .ok .ic { background: var(--ore); border: 0; color: var(--white); }
.todo .go { font-weight: 600; color: var(--ore); font-size: .9rem; }

.status-pick { display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--silver); border-radius: 14px; cursor: pointer; background: var(--white); font-weight: 600; }
.opt:has(input:checked) { border-color: var(--ore); border-width: 2.5px; }
.opt input { accent-color: var(--ore); width: 20px; height: 20px; }

/* Profile preview */
.preview { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.preview .img { aspect-ratio: 4/3; background: var(--ore) center/cover; display: grid; place-items: center; color: var(--linen); font-size: .9rem; }
.preview .body { padding: 20px; display: grid; gap: 10px; }
.preview h3 { font-size: 1.5rem; margin: 0; }

/* Notice / toast */
.notice { padding: 16px 18px; border-radius: var(--radius-s); background: var(--linen); border-left: 5px solid var(--ore); }
.notice.warn { border-color: var(--honig); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--black); color: var(--white); padding: 12px 20px; border-radius: 30px; font-weight: 600; z-index: 200; box-shadow: var(--shadow); }

/* Footer */
.site-foot { background: var(--ore); color: var(--linen); padding-block: 48px; margin-top: 0; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.site-foot a { color: var(--white); }
.site-foot img { width: 140px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: .9rem; }

/* Mini mockups */
.mock-phone { width: min(100%, 300px); margin-inline: auto; border-radius: 28px; border: 8px solid var(--black); background: var(--white); overflow: hidden; box-shadow: var(--shadow); }
.mock-phone .mh { background: var(--ore); color: var(--white); padding: 10px 14px; font-size: .8rem; font-weight: 600; }
.mock-phone .mb { padding: 14px; display: grid; gap: 8px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--linen); font-size: .82rem; font-weight: 600; color: var(--ore); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 72px; display: grid; gap: 6px; font-size: .72rem; color: var(--teal); }
.sw i { display: block; height: 52px; border-radius: 10px; border: 1px solid rgb(0 0 0 / .06); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Interner Bereich (mobil zuerst) ---------- */
body.intern { background: var(--linen); }
body.intern .site-head, body.intern .site-foot { display: none; }
.app-bar { position: sticky; top: 0; z-index: 60; background: var(--ore); color: var(--white); display: flex; align-items: center; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); }
.app-bar .t { font-weight: 600; font-size: 1.05rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-bar img { width: 30px; height: auto; }
.net { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 20px; background: rgb(255 255 255 / .14); color: var(--white); text-decoration: none; white-space: nowrap; }
.net::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7BD3A6; }
.net.off::before { background: var(--honig); }
.net .cnt { background: var(--honig); color: var(--black); border-radius: 10px; padding: 0 7px; }
.app-main { max-width: 720px; margin: 0 auto; padding: 18px 16px 110px; }
.app-main h1 { font-size: 1.9rem; }
.app-main h2 { font-size: 1.35rem; margin-top: 8px; }
.app-main .card { padding: 18px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--silver); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 9px 4px 10px; text-decoration: none; color: var(--teal); font-size: .74rem; font-weight: 600; min-height: 60px; }
.tabbar a .i { font-size: 1.35rem; line-height: 1; }
.tabbar a[aria-current="page"] { color: var(--ore); }
.tabbar a[aria-current="page"] .i { background: var(--linen); border-radius: 14px; padding: 2px 16px; }
.tabbar a .dot-badge { position: relative; }
.subnav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 0 16px; }
.subnav a { flex: none; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 9px 14px; border-radius: 30px; background: var(--white); color: var(--teal); border: 1.5px solid var(--silver); }
.subnav a[aria-current="page"] { border-color: var(--ore); color: var(--ore); box-shadow: inset 0 0 0 1px var(--ore); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--white); border-radius: 16px; padding: 16px; text-decoration: none; color: var(--black); display: grid; gap: 4px; min-height: 104px; box-shadow: var(--shadow); }
.tile .i { font-size: 1.5rem; }
.tile strong { color: var(--ore); }
.tile span { font-size: .82rem; color: var(--teal); }
.date-card { background: var(--white); border-radius: 16px; padding: 16px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.date-card .head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.date-card .head strong { font-size: 1.1rem; color: var(--ore); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg label { display: grid; place-items: center; text-align: center; gap: 2px; padding: 10px 4px; border-radius: 12px; border: 1.5px solid var(--silver); font-size: .8rem; font-weight: 600; cursor: pointer; min-height: 56px; background: var(--white); }
.seg label .i { font-size: 1.1rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--ore); color: var(--ore); border-width: 2.5px; }
.seg label:has(input[value="bes"]:checked) { border-color: var(--radieschen); color: var(--radieschen); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--honig); }
.locked { opacity: .6; }
.queue { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.queue li { background: var(--white); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.queue .when { font-size: .78rem; color: var(--teal); }
.pill { font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 10px; }
.pill.wait { background: var(--honig); color: var(--black); }
.pill.sent { background: var(--ore); color: var(--white); }
.pill.sending { background: var(--linen); color: var(--ore); }
.offline-note { background: var(--honig); color: var(--black); padding: 10px 14px; border-radius: 12px; font-size: .88rem; margin-bottom: 14px; }
@media (min-width: 900px) {
  .tabbar { max-width: 720px; margin: 0 auto; border: 1px solid var(--silver); border-bottom: 0; border-radius: 18px 18px 0 0; }
}

/* Öffentlich: Rezepte, Aktuelles */
.recipe-img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/3; border-radius: 12px; background: var(--teal) center/cover; margin-bottom: 14px; }
.news-date { font-size: .8rem; font-weight: 600; color: var(--teal); }
.stars { display: flex; gap: 6px; }
.stars label { font-size: 2rem; color: var(--silver); cursor: pointer; }
.stars input { position: absolute; opacity: 0; }
.stars label:has(input:checked), .stars label:has(~ label input:checked) { color: var(--honig); }

/* ---------- Support-Ansicht (Verwaltung angemeldet als Stand) ---------- */
.support-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); background: var(--black); color: var(--white); font-size: .9rem; line-height: 1.4; }
.support-bar form { margin: 0; }
.support-bar button { font: inherit; font-weight: 600; color: var(--black); background: var(--white); border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.support-bar button:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
@media print { .support-bar { display: none; } }
