/* ==========================================================================
   ui.css – Verwaltungsbereich + Mobil-Feinschliff
   Handgeschriebenes CSS (kein Tailwind-Build nötig). Wird NACH styles.css
   geladen und ergänzt diese; die Farbwerte entsprechen tailwind.config.js.
   ========================================================================== */

:root {
  --pine:  #21372E;
  --moss:  #5E7E6B;
  --sand:  #F2EDE1;
  --cream: #FBF7EF;
  --bark:  #2C322D;
  --amber: #C08A3E;
  --line:  #E2D9C7;

  --radius:    14px;
  --radius-lg: 20px;
  --shadow:    0 1px 2px rgba(33, 55, 46, .05);
  --shadow-md: 0 6px 20px -8px rgba(33, 55, 46, .22);
  --shadow-lg: 0 18px 40px -18px rgba(33, 55, 46, .38);

  --topbar-h: 60px;
  --tabbar-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

/* Kein horizontales Wackeln auf schmalen Displays */
html, body { max-width: 100%; overflow-x: hidden; }

/* iOS zoomt bei Feldern < 16px automatisch hinein – das verhindern wir. */
input, select, textarea, button { font: inherit; }
@media (max-width: 640px) {
  input, select, textarea { font-size: 16px; }
}

/* ==========================================================================
   1 · Gemeinsame Bausteine
   ========================================================================== */

.u-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;               /* bequemes Touch-Ziel */
  padding: .6rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .925rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .08s;
}
.u-btn:active { transform: translateY(1px); }

.u-btn--primary { background: var(--pine); color: var(--cream); }
.u-btn--primary:hover { background: #2c4a3d; }

.u-btn--ghost { border-color: rgba(33, 55, 46, .28); color: var(--pine); background: transparent; }
.u-btn--ghost:hover { border-color: var(--pine); background: rgba(33, 55, 46, .05); }

.u-btn--danger { border-color: rgba(192, 138, 62, .55); color: #9a6a24; background: transparent; }
.u-btn--danger:hover { background: rgba(192, 138, 62, .12); border-color: var(--amber); }

.u-btn--sm { min-height: 38px; padding: .35rem .9rem; font-size: .85rem; }
.u-btn--block { width: 100%; }

/* Formularfelder */
.u-field {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--bark);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.u-field:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(94, 126, 107, .22); }
textarea.u-field { min-height: 84px; resize: vertical; line-height: 1.55; }
select.u-field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E7E6B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .6rem center; background-size: 18px; padding-right: 2.1rem; }

.u-label { display: block; margin-bottom: .35rem; font-size: .85rem; font-weight: 700; color: var(--pine); }
.u-hint  { margin-top: .3rem; font-size: .8rem; color: rgba(44, 50, 45, .6); }

/* Checkbox-Zeile mit großzügiger Trefferfläche */
.u-check {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  font-size: .925rem;
  font-weight: 600;
  color: var(--pine);
  cursor: pointer;
}
.u-check input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--pine); flex: none; }

/* Meldungen */
.u-note {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .6);
  font-size: .9rem;
  line-height: 1.5;
  color: var(--pine);
}
.u-note--ok   { border-color: rgba(94, 126, 107, .45); background: rgba(94, 126, 107, .1); }
.u-note--warn { border-color: rgba(192, 138, 62, .5);  background: rgba(192, 138, 62, .1); }

.u-badge {
  display: inline-flex;
  align-items: center;
  padding: .15rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(33, 55, 46, .08);
  color: var(--pine);
}
.u-badge--amber { background: rgba(192, 138, 62, .2); color: #7d5314; }
.u-badge--moss  { background: rgba(94, 126, 107, .18); color: #2f4d3c; }

.u-empty {
  padding: 2.5rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .45);
  text-align: center;
  font-size: .9rem;
  color: rgba(44, 50, 45, .58);
}

/* ==========================================================================
   2 · Login
   ========================================================================== */

.login {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 2rem 1.25rem calc(2rem + var(--safe-b));
  background:
    radial-gradient(90rem 40rem at 50% -20%, rgba(94, 126, 107, .16), transparent 60%),
    var(--sand);
}
.login__inner { width: 100%; max-width: 25rem; }

.login__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
}
.login__brand-name { font-family: Fraunces, Georgia, serif; font-size: 1.15rem; font-weight: 600; color: var(--pine); }
.login__brand-sub { display: block; font-family: Mulish, system-ui, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--moss); }

.login__card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow-lg);
}
.login__title { margin: 0; font-family: Fraunces, Georgia, serif; font-size: 1.4rem; font-weight: 600; color: var(--pine); }
.login__sub { margin: .35rem 0 0; font-size: .875rem; color: rgba(44, 50, 45, .65); }
.login__form { margin-top: 1.4rem; display: grid; gap: 1rem; }

/* Passwortfeld mit Anzeigen-Schalter */
.login__pw { position: relative; }
.login__pw .u-field { padding-right: 3.2rem; }
.login__reveal {
  position: absolute;
  top: 50%;
  right: .3rem;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(44, 50, 45, .5);
  cursor: pointer;
}
.login__reveal:hover { color: var(--pine); background: rgba(33, 55, 46, .06); }
.login__reveal svg { width: 20px; height: 20px; }

.login__back { display: block; margin-top: 1.35rem; text-align: center; font-size: .875rem; color: rgba(44, 50, 45, .6); text-decoration: none; }
.login__back:hover { color: var(--pine); }

/* Eingebaute Standard-Zugänge – nur außerhalb der Produktion sichtbar */
.creds { margin-top: 1.25rem; border: 1px dashed rgba(94, 126, 107, .5); border-radius: 14px; background: rgba(94, 126, 107, .07); }
.creds__head { padding: .7rem .95rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--moss); }
.creds__list { display: grid; gap: .5rem; padding: 0 .95rem .95rem; }
.creds__item {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--cream);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.creds__item:hover { border-color: var(--moss); box-shadow: var(--shadow); }
.creds__who { flex: 1; min-width: 0; }
.creds__user { font-size: .875rem; font-weight: 700; color: var(--pine); }
.creds__pass { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; color: rgba(44, 50, 45, .62); overflow-wrap: anywhere; }
.creds__use { flex: none; font-size: .75rem; font-weight: 700; color: var(--moss); }

/* ==========================================================================
   3 · Verwaltung – Grundgerüst
   ========================================================================== */

.adm { min-height: 100svh; background: var(--sand); }

/* -- Kopfleiste -- */
.adm__top {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 237, 225, .9);
  backdrop-filter: blur(10px);
}
.adm__top-in {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: var(--topbar-h);
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 1024px) { .adm__top-in { padding: 0 1.75rem; } }

.adm__brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; min-width: 0; }
.adm__brand-text { font-family: Fraunces, Georgia, serif; font-size: 1.02rem; font-weight: 600; color: var(--pine); white-space: nowrap; }
.adm__brand-sub { display: block; font-family: Mulish, system-ui, sans-serif; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); }

.adm__view { font-size: .85rem; font-weight: 700; color: var(--moss); text-decoration: none; white-space: nowrap; }
.adm__view:hover { color: var(--pine); }
@media (max-width: 767px) { .adm__view { display: none; } }

/* Benutzer-Chip */
.adm__me { display: flex; align-items: center; gap: .55rem; padding-left: .75rem; border-left: 1px solid var(--line); }
.adm__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 999px;
  background: rgba(33, 55, 46, .1);
  font-size: .82rem;
  font-weight: 700;
  color: var(--pine);
}
.adm__me-txt { line-height: 1.15; }
.adm__me-name { font-size: .82rem; font-weight: 700; color: var(--pine); }
.adm__me-role { font-size: .7rem; color: rgba(44, 50, 45, .6); }
@media (max-width: 640px) { .adm__me-txt { display: none; } .adm__me { padding-left: 0; border-left: 0; } }

/* -- Layout: Seitenleiste + Inhalt -- */
.adm__body {
  display: grid;
  gap: 1.5rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: 1.5rem 1rem calc(1.5rem + var(--tabbar-h) + var(--safe-b));
}
@media (min-width: 1024px) {
  .adm__body {
    grid-template-columns: 15.5rem minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
    padding: 1.75rem 1.75rem 3rem;
  }
}

/* -- Seitenleiste (ab 1024px) -- */
.adm__side { display: none; }
@media (min-width: 1024px) {
  .adm__side { display: block; position: sticky; top: calc(var(--topbar-h) + 1.25rem); }
}
.adm__nav { display: grid; gap: .2rem; padding: .5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.adm__nav-group { margin: .65rem .55rem .25rem; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: rgba(44, 50, 45, .42); }

.adm__link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem .65rem;
  border-radius: 11px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(44, 50, 45, .78);
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.adm__link:hover { background: rgba(33, 55, 46, .05); color: var(--pine); }
.adm__link-ico { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: rgba(33, 55, 46, .06); color: var(--moss); }
.adm__link-ico svg { width: 17px; height: 17px; }
.adm__link-txt { flex: 1; min-width: 0; }
.adm__link.is-active { background: var(--pine); color: var(--cream); }
.adm__link.is-active .adm__link-ico { background: rgba(251, 247, 239, .16); color: var(--cream); }
.adm__link-count { flex: none; padding: .1rem .45rem; border-radius: 999px; background: rgba(192, 138, 62, .25); font-size: .7rem; font-weight: 800; color: #7d5314; }
.adm__link.is-active .adm__link-count { background: var(--amber); color: var(--pine); }

/* -- Tab-Leiste am unteren Rand (bis 1023px) -- */
.adm__tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  gap: .15rem;
  overflow-x: auto;
  padding: .4rem .5rem calc(.4rem + var(--safe-b));
  border-top: 1px solid var(--line);
  background: rgba(251, 247, 239, .96);
  backdrop-filter: blur(10px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.adm__tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .adm__tabs { display: none; } }

.adm__tab {
  position: relative;
  flex: 1 0 auto;
  min-width: 4.6rem;
  display: grid;
  justify-items: center;
  gap: .18rem;
  padding: .4rem .3rem;
  border-radius: 12px;
  font-size: .67rem;
  font-weight: 700;
  color: rgba(44, 50, 45, .6);
  text-decoration: none;
}
.adm__tab svg { width: 21px; height: 21px; }
.adm__tab.is-active { background: rgba(33, 55, 46, .08); color: var(--pine); }
.adm__tab-dot {
  position: absolute;
  top: .25rem;
  right: 50%;
  margin-right: -1.5rem;
  min-width: 17px;
  padding: 0 .25rem;
  border-radius: 999px;
  background: var(--amber);
  font-size: .62rem;
  line-height: 17px;
  font-weight: 800;
  color: var(--pine);
  text-align: center;
}

/* ==========================================================================
   4 · Verwaltung – Inhalte
   ========================================================================== */

.adm__main { min-width: 0; display: grid; gap: 1.25rem; }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.page-eyebrow { font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--moss); }
.page-title { margin: .4rem 0 0; font-family: Fraunces, Georgia, serif; font-size: 1.6rem; font-weight: 600; line-height: 1.2; color: var(--pine); }
@media (min-width: 640px) { .page-title { font-size: 1.95rem; } }
.page-sub { margin: .4rem 0 0; font-size: .9rem; line-height: 1.55; color: rgba(44, 50, 45, .65); max-width: 46ch; }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  padding: .95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}
.stat__label { display: flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(44, 50, 45, .55); }
.stat__label svg { width: 15px; height: 15px; color: var(--moss); }
.stat__value { margin-top: .35rem; font-family: Fraunces, Georgia, serif; font-size: 1.65rem; font-weight: 600; line-height: 1; color: var(--pine); }
.stat__meta { margin-top: .3rem; font-size: .75rem; color: rgba(44, 50, 45, .58); }

/* Karten / Abschnitte */
.card2 {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow);
}
.card2__head { display: flex; align-items: flex-start; gap: .9rem; padding: 1.05rem 1.15rem; border-bottom: 1px solid rgba(226, 217, 199, .8); background: rgba(255, 255, 255, .45); }
@media (min-width: 640px) { .card2__head { padding: 1.15rem 1.5rem; } }
.card2__ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(33, 55, 46, .07); color: var(--pine); }
.card2__ico svg { width: 19px; height: 19px; }
.card2__title { margin: 0; font-family: Fraunces, Georgia, serif; font-size: 1.12rem; font-weight: 600; color: var(--pine); }
.card2__desc { margin: .15rem 0 0; font-size: .845rem; line-height: 1.5; color: rgba(44, 50, 45, .62); }
.card2__body { padding: 1.15rem; }
@media (min-width: 640px) { .card2__body { padding: 1.4rem 1.5rem; } }
.card2__foot { display: flex; flex-wrap: wrap; gap: .6rem; padding: .9rem 1.15rem; border-top: 1px solid rgba(226, 217, 199, .8); background: rgba(255, 255, 255, .35); }
@media (min-width: 640px) { .card2__foot { padding: 1rem 1.5rem; } }

.subcard { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(242, 237, 225, .55); }
.subcard + .subcard { margin-top: 1rem; }
.subcard__title { margin: 0 0 .8rem; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(44, 50, 45, .5); }

.grid2 { display: grid; gap: .9rem; }
@media (min-width: 640px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stack { display: grid; gap: 1.1rem; }
.stack-sm { display: grid; gap: .6rem; }

/* Öffnungszeiten */
.day {
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .55);
}
@media (min-width: 640px) {
  .day { grid-template-columns: 8rem 8.5rem 1fr 1fr; align-items: center; gap: .8rem; }
}
.day__name { font-weight: 700; color: var(--pine); }
.day__times { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; }
@media (min-width: 640px) { .day__times { display: contents; } }
.day__dash { color: rgba(44, 50, 45, .4); }
@media (min-width: 640px) { .day__dash { display: none; } }
.day.is-closed .day__times { opacity: .45; }

/* Wiederholbare Zeilen (Preise, Hinweise, Rezensionen) */
.rows { display: grid; gap: .6rem; }
.row {
  display: grid;
  gap: .5rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .6);
}
@media (min-width: 768px) {
  .row--price { grid-template-columns: minmax(0, 1fr) 8rem 7rem 44px; align-items: center; padding: .55rem .6rem; }
}
.row__x {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  font-size: 1.15rem;
  line-height: 1;
  color: rgba(44, 50, 45, .45);
  cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.row__x:hover { border-color: var(--amber); background: rgba(192, 138, 62, .1); color: var(--amber); }

.rows-head { display: none; }
@media (min-width: 768px) {
  .rows-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8rem 7rem 44px;
    gap: .5rem;
    padding: 0 .6rem .35rem;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(44, 50, 45, .42);
  }
}
.row__mini { font-size: .72rem; font-weight: 700; color: rgba(44, 50, 45, .5); margin-bottom: .2rem; }
@media (min-width: 768px) { .row--price .row__mini { display: none; } }

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 42px;
  margin-top: .75rem;
  padding: .4rem 1rem;
  border: 1px dashed rgba(33, 55, 46, .3);
  border-radius: 999px;
  background: transparent;
  font-size: .875rem;
  font-weight: 700;
  color: var(--pine);
  cursor: pointer;
}
.add-btn:hover { background: rgba(33, 55, 46, .05); border-style: solid; }

/* Nachrichten */
.msg { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .65); }
.msg + .msg { margin-top: .75rem; }
.msg__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; }
.msg__name { font-weight: 700; color: var(--pine); }
.msg__date { font-size: .75rem; color: rgba(44, 50, 45, .55); }
.msg__meta { margin-top: .25rem; font-size: .85rem; }
.msg__meta a { font-weight: 600; color: var(--moss); text-decoration: none; overflow-wrap: anywhere; }
.msg__meta a:hover { color: var(--pine); }
.msg__text { margin: .7rem 0 0; font-size: .9rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; color: rgba(44, 50, 45, .9); }
.msg__acts { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .85rem; }

/* Benutzertabelle – wird auf Mobil zu Karten */
.utable { display: grid; gap: .6rem; }
.urow {
  display: grid;
  gap: .6rem;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .6);
}
@media (min-width: 860px) {
  .urow { grid-template-columns: minmax(0, 1.4fr) 10rem minmax(0, 1fr) auto; align-items: center; }
}
.urow__who { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.urow__name { font-weight: 700; color: var(--pine); overflow-wrap: anywhere; }
.urow__user { font-size: .78rem; color: rgba(44, 50, 45, .58); overflow-wrap: anywhere; }
.urow__meta { font-size: .78rem; color: rgba(44, 50, 45, .58); }
.urow__acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.urow.is-me { border-color: rgba(94, 126, 107, .5); background: rgba(94, 126, 107, .07); }

/* Kurz-Zugriffe auf der Übersicht */
.quick { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.quick__item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.quick__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(94, 126, 107, .5); }
.quick__ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: rgba(33, 55, 46, .07); color: var(--moss); }
.quick__ico svg { width: 18px; height: 18px; }
.quick__t { font-size: .92rem; font-weight: 700; color: var(--pine); }
.quick__d { font-size: .78rem; color: rgba(44, 50, 45, .6); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 1rem);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .55rem;
  max-width: calc(100vw - 2rem);
  padding: .75rem 1.1rem;
  border: 1px solid rgba(94, 126, 107, .45);
  border-radius: 999px;
  background: var(--cream);
  font-size: .875rem;
  font-weight: 700;
  color: var(--pine);
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%);
  transition: opacity .35s, transform .35s;
}
.toast__ok { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 999px; background: var(--moss); color: var(--cream); font-size: .7rem; }
@media (min-width: 1024px) { .toast { left: auto; right: 1.75rem; bottom: 1.75rem; transform: none; } }

/* ==========================================================================
   5 · Öffentliche Website – Mobil-Feinschliff
   ========================================================================== */

/* Menü-Schublade */
body.is-locked { overflow: hidden; }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}
.mnav.is-open { display: block; }
.mnav__scrim { position: absolute; inset: 0; background: rgba(33, 55, 46, .45); backdrop-filter: blur(2px); animation: mnav-fade .2s ease-out; }
.mnav__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(21rem, 88vw);
  display: flex;
  flex-direction: column;
  padding: 1rem 1.15rem calc(1.5rem + var(--safe-b));
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: mnav-in .22s cubic-bezier(.2, .8, .3, 1);
}
@keyframes mnav-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mnav-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .mnav__panel, .mnav__scrim { animation: none; }
}

.mnav__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; }
.mnav__label { font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--moss); }
.mnav__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--pine);
  cursor: pointer;
}
.mnav__close:hover { background: rgba(33, 55, 46, .05); }
.mnav__close svg { width: 20px; height: 20px; }

.mnav__links { display: grid; gap: .15rem; margin-top: .75rem; }
.mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 52px;
  padding: .7rem .85rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bark);
  text-decoration: none;
}
.mnav__link:hover { background: rgba(33, 55, 46, .05); }
.mnav__link.is-active { background: rgba(33, 55, 46, .07); color: var(--pine); font-weight: 800; }
.mnav__link.is-active::after { content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--amber); }

.mnav__cta { margin-top: 1rem; }
.mnav__contact { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.mnav__contact a { display: flex; align-items: center; gap: .6rem; min-height: 44px; font-size: .9rem; font-weight: 600; color: var(--moss); text-decoration: none; }
.mnav__contact a:hover { color: var(--pine); }
.mnav__contact svg { width: 18px; height: 18px; flex: none; }

/* Feste Aktionsleiste am unteren Rand (nur Mobil, nur öffentliche Seiten) */
.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  padding: .45rem .6rem calc(.45rem + var(--safe-b));
  border-top: 1px solid var(--line);
  background: rgba(251, 247, 239, .97);
  backdrop-filter: blur(10px);
}
@media (min-width: 1024px) { .actionbar { display: none; } }
.actionbar__btn {
  display: grid;
  justify-items: center;
  gap: .15rem;
  padding: .35rem .2rem;
  border-radius: 12px;
  font-size: .7rem;
  font-weight: 700;
  color: rgba(44, 50, 45, .7);
  text-decoration: none;
}
.actionbar__btn svg { width: 20px; height: 20px; }
.actionbar__btn:hover { background: rgba(33, 55, 46, .05); }
.actionbar__btn--main { background: var(--pine); color: var(--cream); }
.actionbar__btn--main:hover { background: #2c4a3d; }

/* Platz schaffen, damit die Leiste nichts verdeckt */
@media (max-width: 1023px) {
  body.has-actionbar { padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
}

/* Mobile Typografie-Korrekturen für die öffentlichen Seiten */
@media (max-width: 480px) {
  h1 { overflow-wrap: break-word; hyphens: auto; }
}

/* Preistabellen brechen auf schmalen Displays sauber um */
@media (max-width: 420px) {
  .u-wrapfix { flex-direction: column; align-items: flex-start !important; gap: .25rem !important; }
}

/* Sichtbarkeits-Helfer */
.only-mobile { display: initial; }
.only-desktop { display: none; }
@media (min-width: 1024px) {
  .only-mobile { display: none; }
  .only-desktop { display: initial; }
}
.u-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   6 · Nachgereichte Tailwind-Utilities
   Diese Klassen kommen im Markup neu vor, stecken aber noch nicht in der
   vorkompilierten styles.css. Sie sind hier 1:1 nach Tailwind-Vorgabe
   nachgebaut, damit kein `npm run build:css` nötig ist.
   Wird Tailwind doch einmal neu gebaut, erzeugt es dieselben Regeln –
   dieser Block darf dann ersatzlos entfallen.
   ========================================================================== */

.bg-sand\/90    { background-color: rgba(242, 237, 225, .9); }
.break-words    { overflow-wrap: break-word; }
.gap-9          { gap: 2.25rem; }
.min-w-0        { min-width: 0; }
.mt-20          { margin-top: 5rem; }
.text-\[0\.62rem\] { font-size: .62rem; }

@media (min-width: 640px) {
  .sm\:gap-6         { gap: 1.5rem; }
  .sm\:gap-10        { gap: 2.5rem; }
  .sm\:h-6           { height: 1.5rem; }
  .sm\:w-6           { width: 1.5rem; }
  .sm\:items-center  { align-items: center; }
  .sm\:mt-0          { margin-top: 0; }
  .sm\:mt-24         { margin-top: 6rem; }
  .sm\:py-3          { padding-top: .75rem; padding-bottom: .75rem; }
  .sm\:py-4          { padding-top: 1rem; padding-bottom: 1rem; }
  .sm\:text-left     { text-align: left; }
  .sm\:text-lg       { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xs       { font-size: .75rem; line-height: 1rem; }
}

@media (min-width: 1024px) {
  .lg\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
