/* Musterrestaurant „Zur Alten Mühle“ und Demo-Verwaltung.
   Eigenes Design, unabhängig vom Agentur-CSS. Keine externen Dateien (CSP: nur 'self'). */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* Petrol, Weiß/kühles Hellgrau und Safran: eigene Farben, Aufbau wie eine moderne Gasthaus-Website */
  --cream: #F3F6F7; --cream-2: #E4EBED; --paper: #FFFFFF;
  --green: #1D4E5F; --green-2: #2A6375; --green-ink: #E4EDEF;
  --gold: #B97A12; --gold-ink: #8F5E0C;
  --ink: #1E2427; --mute: #5A6569; --line: #DCE3E6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px; --shadow: 0 18px 40px -26px rgba(43, 36, 32, .5);
  --wrap: min(1120px, 100% - 2.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--green); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 50; }
.skip:focus { top: 1rem; }

/* Hinweisleiste „Musterseite“ */
.demo-bar { background: var(--ink); color: #F3EEE4; font-size: .875rem; }
.demo-bar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; align-items: center; justify-content: space-between; padding-block: .55rem; }
.demo-bar a { color: #F5D9A8; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.demo-bar__links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 8px;
  border: 1.5px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .2s ease, border-color .2s ease; }
.btn:active { transform: scale(.97); }
.btn--gold { background: var(--green); color: #fff; }
.btn--gold:hover { background: var(--green-2); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-2); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--light { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--light:hover { background: rgba(43, 36, 32, .06); }
.btn--danger { border-color: var(--danger); color: var(--danger); background: transparent; }
.btn--danger:hover { background: #FBEDEA; }
.btn--sm { min-height: 40px; padding: .45rem 1rem; font-size: .9375rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------------------------------------------------------------- Restaurant-Website */
/* Aufbau wie eine moderne Gasthaus-Website: fester weißer Kopf, heller Einstieg, Kacheln, filterbare Speisekarte */
.r-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); color: var(--ink); }
.r-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.r-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; line-height: 1.05; }
.r-brand svg { width: 40px; height: 40px; flex: none; }
.r-brand strong { display: block; font-family: var(--serif); font-size: 1.2rem; }
.r-brand small { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.r-nav { display: flex; align-items: center; gap: 1.4rem; font-size: .95rem; font-weight: 500; }
.r-nav a { text-decoration: none; }
.r-nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.r-nav .btn { min-height: 42px; padding: .5rem 1.1rem; }
.r-nav .btn:hover { color: #fff; text-decoration: none; }
@media (max-width: 820px) { .r-nav { display: none; } }  /* auf dem Handy übernimmt die Aktionsleiste unten */

.r-hero { background: var(--paper); }
.r-hero__grid { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.25rem, 1.5rem + 3vw, 4.5rem); }
@media (min-width: 860px) { .r-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }
.r-hero__art { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--cream-2); }
.r-hero__art picture, .r-hero__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.r-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0 0 .75rem; }
.r-hero h1, .r-hero__h { font-family: var(--serif); font-weight: 700; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem); line-height: 1.1; margin: 0 0 1rem; color: var(--ink); }
.r-hero__lead { font-size: 1.1rem; margin: 0 0 1.5rem; color: var(--mute); max-width: 36rem; }
.r-hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.r-hero__meta { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; color: var(--mute); }
.r-hero__meta li { display: flex; gap: .55rem; align-items: center; }
.r-hero__meta svg { width: 18px; height: 18px; flex: none; color: var(--green); }

.r-glance { padding-block: 2.5rem; }
.r-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.r-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 12px; padding: 1.15rem 1.25rem; }
.r-card h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.r-card p { margin: 0; font-size: .93rem; color: var(--mute); }

.r-section { padding-block: clamp(3rem, 2.25rem + 3vw, 5.5rem); }
.r-section--paper { background: var(--cream); }
.r-section--green { background: var(--green); color: var(--green-ink); }
.r-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.15; margin: 0 0 .8rem; color: var(--ink); }
.r-section--green .r-title { color: #fff; }
.r-lead { font-size: 1.08rem; color: var(--mute); max-width: 42rem; margin: 0 0 2rem; }
.r-about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .r-about { grid-template-columns: .95fr 1.05fr; gap: 4rem; } }
.r-about__art { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: var(--cream-2); aspect-ratio: 4 / 3; }
.r-about__art picture, .r-about__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.r-checks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .5rem; }
.r-checks li { position: relative; padding-left: 1.6rem; }
.r-checks li::before { content: ""; position: absolute; left: .15rem; top: .45rem; width: .75rem; height: .42rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* Speisekarte */
.r-menu__tools { display: grid; gap: 1rem; align-items: end; margin-bottom: 1rem; }
@media (min-width: 760px) { .r-menu__tools { grid-template-columns: 1fr auto; } }
.r-menu__tools label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.r-search { width: 100%; min-height: 48px; padding: .6rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.r-search:focus { border-color: var(--green); outline: 3px solid rgba(29, 78, 95, .18); outline-offset: 0; }
.r-filter { display: inline-flex; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.r-filter button { border: 0; background: none; padding: .45rem 1rem; border-radius: 999px; cursor: pointer; min-height: 40px; font-weight: 500; }
.r-filter button[aria-pressed="true"] { background: var(--green); color: #fff; }
.r-chips { position: sticky; top: 64px; z-index: 10; display: flex; gap: .5rem; overflow-x: auto; padding: .7rem 0; margin-bottom: 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.r-chips::-webkit-scrollbar { display: none; }
.r-chips a { flex: none; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 500; background: #fff; }
.r-chips a:hover { border-color: var(--green); color: var(--green); }
.r-menu { display: grid; gap: 1.25rem; }
.r-menu__cat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.1rem, .8rem + 1vw, 1.75rem); scroll-margin-top: 130px; }
.r-menu__cat h3 { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.65rem; color: var(--green); margin: 0 0 .5rem; padding-bottom: .5rem; border-bottom: 2px solid var(--cream-2); }
.r-menu__list { list-style: none; margin: 0; padding: 0; }
.r-dish { display: grid; grid-template-columns: 2.6rem 1fr auto; gap: .1rem .75rem; padding: .85rem 0; border-bottom: 1px solid var(--cream-2); }
.r-dish:last-child { border-bottom: 0; }
.r-dish__no { font-size: .8rem; color: var(--mute); font-variant-numeric: tabular-nums; padding-top: .15rem; }
.r-dish__name { font-weight: 600; }
.r-dish__price { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-dish__desc { grid-column: 2 / -1; color: var(--mute); font-size: .93rem; margin: 0; }
.r-tag { display: inline-block; margin-left: .45rem; padding: .02rem .45rem; border-radius: 999px; font-size: .72rem; font-weight: 700; vertical-align: .1em; }
.r-tag--veg { background: #E3EFE6; color: #2F6B45; }
.r-tag--new { background: var(--gold); color: #fff; }
.r-menu__empty { color: var(--mute); font-style: italic; padding: 1rem 0; margin: 0; }
.r-note { margin: 1.5rem 0 0; font-size: .9rem; color: var(--mute); }

.r-info { display: grid; gap: 2rem; }
@media (min-width: 860px) { .r-info { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.r-hours { width: 100%; border-collapse: collapse; }
.r-hours th, .r-hours td { text-align: left; padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-weight: 400; }
.r-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.r-placeholder { display: inline-block; font-family: var(--sans); font-size: .72rem; font-weight: 600; background: rgba(255, 255, 255, .12); color: #F5D9A8; border: 1px solid rgba(245, 217, 168, .45); padding: .1rem .5rem; border-radius: 999px; margin-left: .4rem; vertical-align: middle; }
.r-contact p { margin: 0 0 .9rem; }
.r-contact strong { color: #fff; font-weight: 600; }

.r-foot { background: #162A31; color: #B5C3C7; font-size: .9rem; padding-block: 2.5rem 5.5rem; }
@media (min-width: 821px) { .r-foot { padding-bottom: 2.5rem; } }
.r-foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.r-foot a { color: #F5D9A8; }

/* Aktionsleiste auf dem Handy */
.r-actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .35); }
.r-actionbar a { display: grid; justify-items: center; gap: .15rem; padding: .55rem 0 .65rem; text-decoration: none; font-size: .78rem; font-weight: 600; }
.r-actionbar a:first-child { background: var(--green); color: #fff; }
.r-actionbar svg { width: 20px; height: 20px; }
@media (min-width: 821px) { .r-actionbar { display: none; } }

/* Urlaubs-Popup */
.r-popup { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 1.25rem; background: rgba(22, 42, 49, .55); }
.r-popup[hidden] { display: none; }
.r-popup--inframe { position: absolute; }
.r-popup__box { width: min(100%, 30rem); background: var(--paper); color: var(--ink); border-radius: 8px; padding: 2rem; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); border-top: 5px solid var(--gold); }
.r-popup__box h2 { font-family: var(--serif); font-weight: 700; font-size: 1.8rem; color: var(--green); margin: 0 0 .75rem; line-height: 1.15; }
.r-popup__box p { margin: 0 0 .8rem; white-space: pre-line; }
.r-popup__box .btn { margin-top: .75rem; }

/* ---------------------------------------------------------------- Demo-Verwaltung */
body[data-demo="admin"] { background: var(--cream); }
.a-top { background: #232320; color: #fff; }
.a-top .wrap { width: min(1240px, 100% - 2rem); display: flex; align-items: center; gap: .75rem 1.25rem; flex-wrap: wrap; padding-block: .7rem; }
.a-brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; margin-right: auto; }
.a-brand small { font-size: .68rem; letter-spacing: .16em; color: var(--gold); font-weight: 700; }
.a-brand svg { width: 26px; height: 26px; }
.a-nav { display: flex; gap: .3rem; flex-wrap: wrap; }
.a-nav button { background: none; border: 0; color: #E8E6E0; padding: .5rem .9rem; border-radius: 999px; cursor: pointer; font-size: .95rem; min-height: 40px; }
.a-nav button:hover { background: rgba(255, 255, 255, .08); }
.a-nav button[aria-current="page"] { background: var(--green-2); color: #fff; }
.a-top__right { display: flex; gap: .4rem; }
.a-top__right button { background: none; border: 0; color: #F3D9A6; cursor: pointer; padding: .5rem .7rem; min-height: 40px; font-size: .95rem; }
.a-top__right button:hover { text-decoration: underline; text-underline-offset: 3px; }
.a-status { background: #FFF6E0; border-bottom: 1px solid #EBD9AE; color: #5C4718; font-size: .9rem; }
.a-status .wrap { width: min(1240px, 100% - 2rem); padding-block: .5rem; }

.a-main { width: min(1240px, 100% - 2rem); margin: 0 auto; padding-block: 2.5rem 4rem; }
.a-h1 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); line-height: 1.2; margin: 0 0 .4rem; }
.a-sub { color: var(--mute); margin: 0 0 2rem; }
.a-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.a-card { text-align: left; background: #fff; border: 1px solid #E6E0D3; border-top: 4px solid var(--green); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.6rem; cursor: pointer; box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .4);
  transition: transform .15s ease, box-shadow .2s ease; font: inherit; }
.a-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .45); }
.a-card h2 { font-size: 1.15rem; margin: 0 0 .35rem; color: var(--green); }
.a-card p { margin: 0; color: var(--mute); font-size: .95rem; }
.a-card--warn { border-top-color: var(--danger); }
.a-card--warn h2 { color: var(--danger); }
.a-card--muted { border-top-color: #8C8579; }
.a-card--muted h2 { color: #4E4A43; }

.a-panel { background: #fff; border: 1px solid #E6E0D3; border-radius: var(--radius); padding: clamp(1rem, .7rem + 1.2vw, 1.75rem); box-shadow: 0 8px 24px -20px rgba(0, 0, 0, .35); }
.a-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.a-menu { display: grid; gap: 1.25rem; }
.a-menu > *, .a-two > *, .a-list, .a-row { min-width: 0; }
@media (min-width: 900px) { .a-menu { grid-template-columns: 17rem 1fr; align-items: start; } }
.a-cats { display: grid; gap: .35rem; }
.a-cats button { display: flex; justify-content: space-between; align-items: center; gap: .5rem; width: 100%; text-align: left; padding: .8rem 1rem; border-radius: 10px; border: 1px solid transparent; background: none; cursor: pointer; font-weight: 600; min-height: 48px; }
.a-cats button:hover { background: #F6F2E9; }
.a-cats button[aria-pressed="true"] { background: var(--green); color: #fff; }
.a-cats small { font-weight: 400; opacity: .8; }
.a-search { width: 100%; margin-bottom: .75rem; }
.a-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.a-row { border: 1px solid #E6E0D3; border-radius: 10px; background: #FDFCF9; }
.a-row__line { display: flex; align-items: center; gap: .5rem; padding: .55rem .6rem .55rem 1rem; flex-wrap: wrap; }
.a-row__name { font-weight: 600; flex: 1 1 12rem; min-width: 0; }
.a-row__name small { display: block; font-weight: 400; color: var(--mute); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-row__price { font-variant-numeric: tabular-nums; color: var(--gold-ink); font-weight: 600; margin-right: .25rem; }
.a-icon { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid #E1DACB; background: #fff; cursor: pointer; }
.a-icon:hover { background: #F6F2E9; }
.a-icon[disabled] { opacity: .35; cursor: not-allowed; }
.a-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a-icon--danger { color: var(--danger); }
.a-form { display: grid; gap: 1rem; padding: 1rem; border-top: 1px solid #E6E0D3; }
.a-form--new { border: 2px dashed #D9CFB9; border-radius: 10px; margin-top: 1rem; }
.a-grid2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .a-grid2 { grid-template-columns: 2fr 1fr 1.2fr; } }
.a-field label, .a-label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.a-field .hint { font-weight: 400; color: var(--mute); font-size: .85rem; }
.a-input, .a-select, .a-textarea { width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1.5px solid #D6CEBD; border-radius: 10px; background: #fff; }
.a-textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
.a-input:focus, .a-select:focus, .a-textarea:focus { border-color: var(--green); outline: 3px solid rgba(31, 58, 46, .2); outline-offset: 0; }
.a-input[aria-invalid="true"], .a-textarea[aria-invalid="true"] { border-color: var(--danger); background: #FFF8F6; }
.a-error { color: var(--danger); font-size: .9rem; margin: .35rem 0 0; font-weight: 600; }
.a-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.a-check { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; cursor: pointer; min-height: 44px; }
.a-check input { width: 22px; height: 22px; accent-color: var(--green); }
.a-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--green); color: #fff; padding: .8rem 1.25rem; border-radius: 999px; box-shadow: var(--shadow); z-index: 60; font-weight: 600; }
.a-toast[hidden] { display: none; }

/* Schalter */
.a-switch { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: 12px; border: 2px solid #E1DACB; background: #FDFCF9; cursor: pointer; width: 100%; text-align: left; font: inherit; }
.a-switch__track { flex: none; width: 64px; height: 36px; border-radius: 999px; background: #C9C1B1; position: relative; transition: background-color .2s ease; }
.a-switch__track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.a-switch[aria-checked="true"] { border-color: var(--ok); background: #F1F8F3; }
.a-switch[aria-checked="true"] .a-switch__track { background: var(--ok); }
.a-switch[aria-checked="true"] .a-switch__track::after { transform: translateX(28px); }
.a-switch strong { display: block; font-size: 1.1rem; }
.a-switch span span { color: var(--mute); font-size: .92rem; }
.a-badge { display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.a-badge--on { background: #DDEFE3; color: var(--ok); }
.a-badge--off { background: #ECE8E0; color: #5D584F; }
.a-popup-preview { margin-top: 1.5rem; background: #F6F2E9; border-radius: 12px; padding: 1.25rem; }
.a-popup-preview .r-popup__box { margin: .75rem auto 0; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .4); }
.a-two { display: grid; gap: 1.5rem; }
@media (min-width: 980px) { .a-two { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Login */
.a-login { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem 1rem; background:
  var(--cream); }
.a-login__box { width: min(100%, 30rem); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.a-login__box h1 { font-family: var(--serif); font-weight: 700; color: var(--green); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); line-height: 1.15; margin: .75rem 0 .75rem; }
.a-login__box p { color: var(--mute); margin: 0 0 1.25rem; }
.a-creds { background: #FFF6E0; border: 1px solid #EBD9AE; border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1.25rem; font-size: .95rem; }
.a-creds dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: .5rem 0 .8rem; }
.a-creds dt { color: var(--mute); }
.a-creds dd { margin: 0; font-weight: 700; font-family: ui-monospace, Menlo, monospace; }
.a-login form { display: grid; gap: 1rem; }
.a-login__back { display: block; margin-top: 1.25rem; text-align: center; font-size: .92rem; color: var(--mute); }

/* Vorschau */
.a-preview__bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.a-seg { display: inline-flex; border: 1.5px solid #D6CEBD; border-radius: 999px; padding: 3px; background: #fff; }
.a-seg button { border: 0; background: none; padding: .45rem 1rem; border-radius: 999px; cursor: pointer; min-height: 40px; }
.a-seg button[aria-pressed="true"] { background: var(--green); color: #fff; }
.a-frame { position: relative; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid #DDD5C5; background: var(--cream); box-shadow: var(--shadow); transition: max-width .3s ease; max-width: 100%; }
.a-frame--phone { max-width: 400px; }
.a-frame__scroll { height: min(78vh, 900px); overflow: auto; position: relative; }
.a-frame--phone .r-nav { display: none; }
.a-frame .r-head { position: sticky; }
.a-frame .r-chips { top: 64px; }
.a-frame--phone .r-menu, .a-frame--phone .r-about, .a-frame--phone .r-info, .a-frame--phone .r-hero__grid { grid-template-columns: 1fr; }
.a-frame--phone .r-hero__h { font-size: 2.2rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
