@font-face {
  font-family: 'Songer';
  src: url('/brand/fonts/songer-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Songer';
  src: url('/brand/fonts/songer-medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Songer';
  src: url('/brand/fonts/songer-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'TwCen';
  /* v2: Umriss-Neuaufbau als TrueType — die Original-CFF-Datei setzt Akzente
     (é, ä, ö, Ö …) als Verbundzeichen, die Chrome leer darstellt („Caf .“). */
  src: url('/brand/fonts/twcen-regular-v2.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ==========================================================================
   Café Bloom — Designsystem
   Fünf Markenfarben (Perlweiß, Beige, Kupferbraun, Nussbraun, Zementgrau),
   alles Weitere ist als Tönung oder Abstufung daraus abgeleitet.
   Marke: Wortmarke + B-Monogramm, sechs Illustrationsformen (public/brand).
   ========================================================================== */

:root {
  /* --- Markenfarben laut Palette ------------------------------------- */
  --oat:        #DED8D1;   /* RAL 1013 Perlweiß    */
  --sand:       #CDAF90;   /* RAL 1001 Beige       */
  --terracotta: #87442B;   /* RAL 8004 Kupferbraun */
  --cocoa:      #523D2C;   /* RAL 8011 Nussbraun   */
  --sage:       #535A4A;   /* RAL 7033 Zementgrau  */

  /* --- Flächen: Tönungen des Perlweiß -------------------------------- */
  --paper:       #FFFCF7;   /* Karten: Weiß mit einem Hauch Creme */
  --ground:      #F6F1E9;   /* Weiß-Creme wie der Milchschaum im Café-Drop */
  --ground-deep: #EBE3D7;
  --line:        #DED4C6;
  --line-soft:   #EAE2D6;

  /* --- Schrift: Abstufungen des Nussbraun ---------------------------- */
  --ink:       #38291C;
  --ink-soft:  #6B5643;
  --ink-faint: #7A6754;

  /* --- Akzente: je Markenfarbe eine dunkle Variante für Text
         und eine helle Tönung für Flächen ----------------------------- */
  --terracotta-deep: #6E3521;
  --terracotta-wash: #F4E7E1;
  --sage-deep:       #414735;
  --sage-wash:       #E9EAE4;
  --sand-deep:       #8A6437;
  --sand-wash:       #F5EDE1;
  --cocoa-wash:      #EDE8E3;

  /* Ränder passend zur jeweiligen Tönung */
  --terracotta-line: #E4CDC2;
  --sage-line:       #D5D8CD;
  --sand-line:       #E7D8C2;
  --cocoa-line:      #DCD3CA;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(56, 41, 28, .05), 0 2px 8px rgba(56, 41, 28, .04);
  --shadow-md: 0 2px 6px rgba(56, 41, 28, .06), 0 12px 28px rgba(56, 41, 28, .07);
  --shadow-lg: 0 4px 12px rgba(56, 41, 28, .07), 0 28px 60px rgba(56, 41, 28, .10);

  /* Drei Rollen, drei Schriften:
     --caps    Songer, die Schrift der Wortmarke. Reine Versalschrift (Kleinbuchstaben
               sind formgleich mit den Großbuchstaben) — deshalb ausschließlich dort,
               wo ohnehin `text-transform: uppercase` steht: Augenbrauen, Tabellenköpfe,
               Kennzahl-Labels, Markenschriftzug.
     --display Tw Cen MT, die Hausschrift für Fließ- und Schauschrift. Liegt nur in
               einem Schnitt vor, Überschriften stehen deshalb auf 400.
     --sans    Inter für Bedienoberfläche und dichte Tabellen: braucht 400–700,
               Tabellenziffern und Lesbarkeit ab 12 px. */
  --caps: 'Songer', ui-sans-serif, system-ui, sans-serif;
  --display: 'TwCen', 'Tw Cen MT', 'Century Gothic', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--terracotta-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.tiny { font-size: .82rem; }
.small { font-size: .9rem; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row--between { justify-content: space-between; }
.grow { flex: 1 1 auto; }
.hidden { display: none !important; }

.eyebrow {
  font-family: var(--caps);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 14px;
  display: block;
}

/* ------------------------------------------------------------------ header */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 233, .9);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar__inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 1.28rem; font-weight: 600; color: var(--ink); }
.brand:hover { text-decoration: none; }
/* B-Monogramm der Marke, als Maske eingefärbt statt als starres Bild */
/* Nur das Monogramm in Braun, ohne Hintergrundfläche */
.brand__mark {
  width: 34px; height: 34px; flex: 0 0 auto;
  background: none; display: grid; place-items: center;
}
.brand__mark::after {
  content: ''; width: 32px; height: 23px; background-color: var(--cocoa);
  -webkit-mask: url('/brand/signet.svg') center / contain no-repeat;
          mask: url('/brand/signet.svg') center / contain no-repeat;
}
.brand__name {
  font-family: var(--caps); font-weight: 500; font-size: 1.12rem;
  letter-spacing: .13em; text-transform: uppercase; line-height: 1;
}
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
/* Sprungmarken bleiben schlicht — echte Buttons (.btn) behalten ihren eigenen Stil */
.nav a:not(.btn), .nav button.linkish {
  padding: 9px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500;
  color: var(--ink-soft); background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav a:not(.btn):hover, .nav button.linkish:hover { background: var(--ground-deep); color: var(--ink); text-decoration: none; }

/* ------------------------------------------------------- mobiles Klappmenü
   Am Schreibtisch steht die Navigation offen in der Leiste; am Handy ist dafür
   kein Platz, also klappt sie unter der Leiste auf. Der Knopf wird von app.js
   eingesetzt, damit alle Seiten dieselbe Leiste behalten. */
.navtoggle { display: none; }
@media (max-width: 720px) {
  .navtoggle {
    display: inline-grid; place-items: center; margin-left: auto; padding: 0;
    width: 42px; height: 42px; flex: 0 0 auto;
    border: 1px solid var(--line); border-radius: 999px;
    background: var(--paper); color: var(--ink); cursor: pointer;
  }
  .navtoggle__bars { position: relative; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
  .navtoggle__bars::before, .navtoggle__bars::after {
    content: ''; position: absolute; left: 0; width: 18px; height: 2px;
    border-radius: 2px; background: var(--ink); transition: transform .18s ease, top .18s ease;
  }
  .navtoggle__bars::before { top: -6px; }
  .navtoggle__bars::after { top: 6px; }
  /* Offen wird aus dem Stapel ein Kreuz */
  .is-navopen .navtoggle__bars { background: transparent; }
  .is-navopen .navtoggle__bars::before { top: 0; transform: rotate(45deg); }
  .is-navopen .navtoggle__bars::after { top: 0; transform: rotate(-45deg); }

  .topbar__inner { position: relative; }
  .nav {
    display: none; margin-left: 0;
    position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px; border: 1px solid var(--line-soft); border-radius: 16px;
    background: var(--paper); box-shadow: 0 18px 40px rgba(60, 40, 28, .16);
  }
  .is-navopen .nav { display: flex; }
  .nav a:not(.btn), .nav button.linkish {
    display: block; width: 100%; text-align: left;
    padding: 12px 14px; border-radius: 12px; font-size: 1rem;
  }
  .nav .btn { width: 100%; }
  /* Der Kontobereich bringt mehrere Knöpfe mit — die stapeln sich hier ebenfalls */
  .nav #navAccount { display: flex; flex-direction: column; gap: 6px; width: 100%; }
  .nav #navAccount > * { margin: 0 !important; }
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
  background: var(--terracotta); color: #fff; transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 1px 2px rgba(110, 53, 33, .18), 0 8px 20px rgba(135, 68, 43, .22);
  text-decoration: none; line-height: 1.2;
}
.btn:hover { background: var(--terracotta-deep); transform: translateY(-1px); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--ground-deep); color: var(--ink); }
.btn--soft { background: var(--terracotta-wash); color: var(--terracotta-deep); box-shadow: none; }
.btn--soft:hover { background: var(--terracotta-wash); color: var(--terracotta-deep); }
.btn--sage { background: var(--sage); box-shadow: 0 8px 20px rgba(83, 90, 74, .25); }
.btn--sage:hover { background: var(--sage-deep); }
.btn--sm { padding: 8px 15px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--danger { background: #fff; color: var(--terracotta-deep); border-color: var(--line); box-shadow: none; }
.btn--danger:hover { background: var(--terracotta-wash); color: var(--terracotta-deep); }

/* ------------------------------------------------------------------ cards */
.card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; }
.card--pad-lg { padding: clamp(26px, 4vw, 40px); }
.card__title { font-family: var(--display); font-size: 1.2rem; margin: 0 0 4px; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, rgba(205,175,144,.42), transparent 68%); top: -180px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: radial-gradient(circle at 60% 40%, rgba(83,90,74,.12), transparent 66%); bottom: -220px; left: -140px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }
.hero p.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero__facts { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__fact strong { display: block; font-family: var(--display); font-size: 1.5rem; }
.hero__fact span { font-size: .84rem; color: var(--ink-faint); }

/* ------------------------------------------------------------------ live gauge */
.gauge { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.gauge__dial { position: relative; width: 132px; height: 132px; }
.gauge__dial svg { transform: rotate(-90deg); }
.gauge__value {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  font-family: var(--display); font-size: 1.85rem; line-height: 1;
}
.gauge__value span { display: block; font-family: var(--caps); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 5px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; background: var(--ground-deep); color: var(--ink-soft);
}
.pill--green { background: var(--sage-wash); color: var(--sage-deep); }
.pill--amber { background: var(--sand-wash); color: var(--sand-deep); }
.pill--red { background: var(--terracotta-wash); color: var(--terracotta-deep); }
.pill--sky { background: var(--sand-wash); color: var(--sand-deep); }
.pill--berry { background: var(--cocoa-wash); color: var(--cocoa); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dot--pulse { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }

/* ------------------------------------------------------------------ slots */
.daystrip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.daychip {
  position: relative;
  flex: 0 0 auto; min-width: 76px; padding: 11px 12px; border-radius: var(--r-md); text-align: center;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-family: inherit;
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.daychip:hover { border-color: var(--terracotta); transform: translateY(-1px); }
.daychip[aria-selected="true"] { border-color: var(--terracotta); background: var(--terracotta-wash); box-shadow: var(--shadow-sm); }
.daychip[disabled] { opacity: .42; cursor: not-allowed; }
.daychip__wd { font-family: var(--caps); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); }
.daychip__d { font-family: var(--display); font-size: 1.3rem; line-height: 1.15; }
.daychip__bar { height: 4px; border-radius: 999px; background: var(--line-soft); margin-top: 7px; overflow: hidden; }
.daychip__bar i { display: block; height: 100%; border-radius: 999px; background: var(--sage); }

.slotgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); }
.slot {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 15px 17px; background: var(--paper);
  cursor: pointer; text-align: left; font-family: inherit; transition: all .15s ease; position: relative;
}
.slot:hover:not([disabled]) { border-color: var(--terracotta); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.slot[aria-selected="true"] { border-color: var(--terracotta); background: var(--terracotta-wash); }
.slot[disabled] { opacity: .55; cursor: not-allowed; background: var(--ground-deep); }
.slot__time { font-family: var(--display); font-size: 1.16rem; }
.slot__meta { font-size: .82rem; color: var(--ink-soft); margin-top: 3px; }
/* Sonderpreis: gilt zu dieser Startzeit statt des Grundpreises */
.slot__sale { font-size: .82rem; margin-top: 4px; color: var(--sage-deep); }
.slot__sale s { color: var(--ink-soft); opacity: .7; margin-left: 3px; }
.meter { height: 6px; border-radius: 999px; background: var(--line-soft); margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; transition: width .4s ease; }
.meter i.is-low { background: var(--sage); }
.meter i.is-mid { background: var(--sand-deep); }
.meter i.is-high { background: var(--terracotta); }

/* ------------------------------------------------------------------ forms */
label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-size: .84rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
label.field > span.tiny { font-weight: 400; margin: 6px 0 0; line-height: 1.4; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search],
input[type=date], input[type=time], select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); font-family: inherit; font-size: .95rem; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(135, 68, 43, .16);
}
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: 3px; accent-color: var(--terracotta); width: 17px; height: 17px; }
.inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset { border: 0; padding: 0; margin: 0; }

.notice { padding: 12px 16px; border-radius: var(--r-sm); font-size: .9rem; margin-bottom: 14px; border: 1px solid; }
.notice--error { background: var(--terracotta-wash); border-color: var(--terracotta-line); color: var(--terracotta-deep); }
.notice--ok { background: var(--sage-wash); border-color: var(--sage-line); color: var(--sage-deep); }
.notice--info { background: var(--cocoa-wash); border-color: var(--cocoa-line); color: var(--cocoa); }

/* ------------------------------------------------------------------ tables */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
  text-align: left; font-family: var(--caps); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 500; padding: 9px 12px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--paper); z-index: 1;
}
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tbody tr:hover { background: var(--ground); }
.table--clickable tbody tr { cursor: pointer; }
.scroll-y { max-height: 60vh; overflow-y: auto; }
.scroll-x { overflow-x: auto; max-width: 100%; }

/* ------------------------------------------------------------------ price list */
.pricelist { display: grid; gap: 2px; }
/* hochgeladene PDF-Karte: Seiten als Bilder untereinander */
.pdfmenu__pages { display: grid; gap: 12px; }
.pdfmenu__pages canvas { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.priceline { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.priceline__name { font-weight: 600; }
.priceline__desc { font-size: .84rem; color: var(--ink-faint); }
.priceline__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.priceline__price { font-family: var(--display); font-size: 1.05rem; white-space: nowrap; }

.pkg { display: flex; flex-direction: column; height: 100%; }
.pkg__price { font-family: var(--display); font-size: 2.1rem; line-height: 1; margin: 6px 0 2px; }
.pkg__per { font-size: .82rem; color: var(--ink-faint); }
.pkg ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: .9rem; color: var(--ink-soft); }
.pkg li { padding-left: 22px; position: relative; margin-bottom: 7px; }
.pkg li::before { content: '✓'; position: absolute; left: 0; color: var(--sage); font-weight: 700; }

/* ------------------------------------------------------------------ modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(56, 41, 28, .46); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 20px; z-index: 100;
}
.modal {
  background: var(--paper); border-radius: var(--r-lg); width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
  padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-lg);
}
.modal--wide { width: min(880px, 100%); }
.modal__close { position: absolute; }

/* ------------------------------------------------------------------ footer */
.footer { background: var(--cocoa); color: var(--oat); padding: 56px 0 34px; margin-top: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer a { color: var(--oat); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; font-size: .82rem; color: rgba(222,216,209,.62); }

/* ------------------------------------------------------------------ admin */
.admin-shell { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }
@media (max-width: 860px) { .admin-shell { grid-template-columns: 1fr; } .admin-side { position: static !important; height: auto !important; } }
.admin-side {
  background: var(--paper); border-right: 1px solid var(--line-soft); padding: 22px 16px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 22px; }
.admin-nav button {
  display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: var(--r-sm);
  background: none; border: 0; font-family: inherit; font-size: .93rem; color: var(--ink-soft);
  cursor: pointer; text-align: left; width: 100%;
}
.admin-nav button:hover { background: var(--ground-deep); color: var(--ink); }
.admin-nav button.is-active { background: var(--terracotta-wash); color: var(--terracotta-deep); font-weight: 600; }
.admin-main { padding: clamp(20px, 3vw, 34px); max-width: 1280px; min-width: 0; } /* min-width:0 — breite Tabellen scrollen im .scroll-x statt die Seite zu dehnen */
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }

.kpi { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 17px 19px; box-shadow: var(--shadow-sm); }
.kpi__label { font-family: var(--caps); font-size: .73rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
/* Songer läuft breiter als Inter, lange Labels brechen um. Feste Mindesthöhe,
   damit die Kennzahlen in der Cockpit-Reihe trotzdem auf einer Linie stehen. */
.cock-kpis .kpi__label { min-height: 2.4em; }
.kpi__value { font-family: var(--display); font-size: 1.95rem; line-height: 1.1; margin-top: 5px; }
.kpi__sub { font-size: .82rem; color: var(--ink-soft); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 168px; padding-top: 10px; }
.bars__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.bars__bar { width: 100%; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--terracotta) 0%, #A2634A 100%); min-height: 3px; transition: height .4s ease; }
.bars__bar--sage { background: linear-gradient(180deg, var(--sage) 0%, #7E876F 100%); }
.bars__lab { font-size: .68rem; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.heat { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; }
.heat i { aspect-ratio: 1; border-radius: 4px; background: var(--line-soft); display: block; }

.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.tag--angefragt { background: var(--sand-wash); color: var(--sand-deep); }
.tag--reserviert { background: var(--sand-wash); color: var(--sand-deep); }
.tag--bestaetigt { background: var(--sage-wash); color: var(--sage-deep); }
.tag--abgelehnt, .tag--storniert { background: var(--ground-deep); color: var(--ink-faint); }
.tag--abgeschlossen { background: var(--cocoa-wash); color: var(--cocoa); }
.tag--anwesend { background: var(--sage-wash); color: var(--sage-deep); }
.tag--no_show { background: var(--terracotta-wash); color: var(--terracotta-deep); }
.tag--neu { background: var(--cocoa-wash); color: var(--cocoa); }
.tag--gelegenheit { background: var(--ground-deep); color: var(--ink-soft); }
.tag--stammgast { background: var(--sage-wash); color: var(--sage-deep); }
.tag--vielbesucher { background: var(--sage); color: var(--oat); }
.tag--inaktiv { background: var(--terracotta-wash); color: var(--terracotta-deep); }

.seg { display: inline-flex; background: var(--ground-deep); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 7px 15px; border-radius: 999px; font-family: inherit; font-size: .87rem; cursor: pointer; color: var(--ink-soft); }
.seg button.is-active { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }

.empty { text-align: center; padding: 40px 20px; color: var(--ink-faint); }
.empty__icon { font-size: 2.2rem; margin-bottom: 8px; }  /* Alt-Pfad, s. .empty__illu */

.skel { background: linear-gradient(90deg, var(--ground-deep) 25%, var(--line-soft) 50%, var(--ground-deep) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); height: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Statistik-Raster: breitere Karten, damit Achsenbeschriftungen lesbar bleiben */
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)); }
.span-all { grid-column: 1 / -1; }
.nowrap { white-space: nowrap; }

/* Mobil: Sprungmarken weichen den Hero-CTAs, Marke bleibt einzeilig */
@media (max-width: 720px) {
  .topbar__inner { height: 62px; gap: 10px; }
  .brand { font-size: 1.05rem; white-space: nowrap; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__mark::after { width: 28px; height: 20px; }
  .brand__logo { height: 30px; }
  .hero { padding-top: 34px; }
  .hero__facts { gap: 18px; }
  .gauge { grid-template-columns: 1fr; justify-items: start; }
  .inline-fields { grid-template-columns: 1fr; }
  .modal { border-radius: 20px; }
}

/* ==========================================================================
   Cockpit — alles auf einen Blick
   ========================================================================== */
.cock-kpis {
  display: grid; gap: 12px; margin-bottom: 18px;
  /* Sechs Kennzahlen: immer volle Reihen — 6, 3 oder 2 je Zeile, nie 4 + 2 */
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
@media (max-width: 1500px) { .cock-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .cock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cock-kpis .kpi__value { font-size: 1.7rem; }
.kpi--live { background: linear-gradient(180deg, var(--paper) 0%, var(--sage-wash) 220%); }
/* Ampel in der zweiten Reihe über die volle Breite; die Knöpfe bleiben handlich */
.cock-kpis .kpi--wide { grid-column: 1 / -1; }
/* In der breiten Reihe füllen die vier Knöpfe die ganze Zeile: Lampe links,
   Stufe groß daneben, Prozentbereich darunter. */
.cock-kpis .kpi--wide .ampel-set { grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0 8px; }
.cock-kpis .kpi--wide .ampel-btn {
  display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto;
  column-gap: 14px; row-gap: 2px; align-items: center; justify-items: start;
  padding: 16px 20px; min-height: 78px; font-size: 1.05rem; text-align: left;
}
.cock-kpis .kpi--wide .ampel-btn i { grid-row: 1 / span 2; width: 30px; height: 30px; }
.cock-kpis .kpi--wide .ampel-btn span { min-height: 0; text-align: left; line-height: 1.15; }
.cock-kpis .kpi--wide .ampel-btn small { font-size: .82rem; }
@media (max-width: 720px) { .cock-kpis .kpi--wide .ampel-set { grid-template-columns: repeat(2, 1fr); } }

.cock-grid {
  display: grid; gap: 16px; align-items: start;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
}
.cock-day  { grid-column: 1; }
.cock-side { grid-column: 2; grid-row: 1 / span 3; display: grid; gap: 16px; align-content: start; }
.cock-week { grid-column: 1; }
.cock-heat { grid-column: 1; }
@media (max-width: 1100px) {
  .cock-grid { grid-template-columns: 1fr; }
  .cock-day, .cock-week, .cock-heat, .cock-side { grid-column: 1; grid-row: auto; }
}

/* --- Tagesplan-Timeline --- */
.tl { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.tl:last-child { border-bottom: 0; padding-bottom: 0; }
.tl--past { opacity: .55; }
.tl--now { background: linear-gradient(90deg, var(--sage-wash), transparent 60%); border-radius: var(--r-sm); padding-inline: 10px; margin-inline: -10px; opacity: 1; }
.tl__time { display: flex; flex-direction: column; line-height: 1.25; }
.tl__time b { font-family: var(--display); font-size: 1.05rem; }
.tl__time span { font-size: .76rem; color: var(--ink-faint); }
.tl__guests { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.guest {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 11px;
  border-radius: 999px; background: var(--ground-deep); font-size: .8rem; white-space: nowrap;
}
.guest b { font-weight: 700; }
.guest--in { background: var(--sage-wash); color: var(--sage-deep); }
.guest button, .guest i {
  border: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--sage); font-size: .72rem; cursor: pointer; font-style: normal;
}
.guest button:hover { background: var(--sage); color: #fff; }
.guest i { background: transparent; }

/* --- Handlungsbedarf --- */
.cock-alerts .alert {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 11px 13px; margin-bottom: 8px; border-radius: var(--r-sm); border: 1px solid;
  font-family: inherit; font-size: .86rem; cursor: pointer; background: var(--paper);
}
.alert:last-child { margin-bottom: 0; }
.alert--error { background: var(--terracotta-wash); border-color: var(--terracotta-line); color: var(--terracotta-deep); }
.alert--warn  { background: var(--sand-wash); border-color: var(--sand-line); color: var(--sand-deep); }
.alert--info  { background: var(--cocoa-wash); border-color: var(--cocoa-line); color: var(--cocoa); }
.alert__icon { font-size: 1.05rem; }
.alert__ico {
  width: 19px; height: 19px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.alert__go { margin-left: auto; opacity: .5; }
.alert:hover .alert__go { opacity: 1; }
.reqrow { background: none; border: 0; font-family: inherit; cursor: pointer; padding: 6px 0; text-align: left; }
.reqrow:hover { color: var(--terracotta-deep); }

/* --- Wochenbalken --- */
.weekbar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 14px; }
.wday { position: relative; text-align: center; border-radius: var(--r-md); padding: 10px 6px; border: 1px solid var(--line-soft); }
.wday--today { border-color: var(--terracotta); background: var(--terracotta-wash); }
.wday--closed { opacity: .5; }
.wday__top { display: flex; flex-direction: column; line-height: 1.15; margin-bottom: 8px; }
.wday__wd { font-family: var(--caps); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); }
.wday__num { font-family: var(--display); font-size: 1.15rem; }
.wday__col { height: 76px; background: var(--line-soft); border-radius: 7px; display: flex; align-items: flex-end; overflow: hidden; }
.wday__fill { width: 100%; border-radius: 7px; transition: height .4s ease; }
.wday__fill.is-low { background: var(--sage); }
.wday__fill.is-mid { background: var(--sand-deep); }
.wday__fill.is-high { background: var(--terracotta); }
.wday__meta { margin-top: 7px; line-height: 1.25; }
.wday__meta b { display: block; font-size: .9rem; }
.wday__meta span { font-size: .7rem; color: var(--ink-faint); }
.wday__bday { position: absolute; top: 6px; right: 7px; font-size: .72rem; }

/* --- Heatmap --- */
.hm { display: grid; gap: 4px; margin-top: 14px; align-items: center; }
.hm__h { font-size: .7rem; color: var(--ink-faint); text-align: center; }
.hm__r { font-size: .74rem; color: var(--ink-soft); padding-right: 8px; }
.hm__c {
  aspect-ratio: 2.6 / 1; border-radius: 6px; display: grid; place-items: center;
  font-size: .72rem; color: var(--ink-soft); font-weight: 600;
}
.hm__c--dark { color: #fff; }

.linky { background: none; border: 0; padding: 0; font: inherit; color: var(--terracotta-deep);
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.linky:hover { color: var(--ink); }

/* Begleitpersonen im Tagesplan-Chip */
.guest__a { color: var(--ink-faint); font-size: .74rem; margin-left: -3px; }
/* Alter der Kinder am Gast-Chip: danach wird eingedeckt (Hochstuhl oder Sessel) */
.guest__ages { color: var(--ink-faint); font-size: .72rem; margin-left: 4px; white-space: nowrap; }

.daychip__bday { position: absolute; top: 4px; right: 5px; font-size: .68rem; line-height: 1; }

/* Laufkundschaft im Tagesplan */
.guest--walk { background: var(--cocoa-wash); color: var(--cocoa); }
.guest__due { font-style: normal; font-family: var(--caps); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--terracotta-wash); color: var(--terracotta-deep); border-radius: 4px; padding: 1px 5px; margin-right: 4px; }
.guest__src { font-style: normal; font-family: var(--caps); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.7); border-radius: 999px; padding: 1px 6px; margin-right: 5px; }


/* ==========================================================================
   Geburtstagsfeiern & gleitende Zeitfenster
   ========================================================================== */

/* Hinweis auf eine laufende Geburtstagsfeier ----------------------------- */
.partybanner {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--sand-wash); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px; margin-bottom: 18px;
}
.partybanner__icon { font-size: 1.5rem; line-height: 1.2; }
.partybanner > div > b { display: block; margin-bottom: 4px; }
.partybanner p { margin: 0; font-size: .89rem; color: var(--ink-soft); }
.partybanner p b { display: inline; color: var(--ink); }
.partybanner__zones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* Zonen-Chip: welcher Spielbereich offen ist ----------------------------- */
.zone {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; border: 1px solid transparent; white-space: nowrap;
}
.zone--open   { background: var(--sage-wash); color: var(--sage-deep); border-color: var(--sage-line); }
.zone--closed { background: var(--ground-deep); color: var(--ink-faint); border-color: var(--line); text-decoration: line-through; }
.slot__zone { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.slot--party { border-color: var(--line); background: linear-gradient(180deg, #FFF 0%, var(--sand-wash) 100%); }
.slot--party[aria-selected="true"] { border-color: var(--terracotta); background: var(--terracotta-wash); }

/* Cockpit: Stundenraster ------------------------------------------------- */
.tlx { display: grid; grid-template-columns: 62px 1fr; gap: 0; }
.tlx__row { display: contents; }
.tlx__t { font-size: .8rem; color: var(--ink-faint); padding: 12px 10px 12px 0; border-top: 1px solid var(--line-soft); white-space: nowrap; }
.tlx__b { padding: 10px 0 12px; border-top: 1px solid var(--line-soft); min-width: 0; }
.tlx__row--now .tlx__t, .tlx__row--now .tlx__b { background: var(--terracotta-wash); }
.tlx__row--now .tlx__t { font-weight: 700; color: var(--terracotta-deep); }
.tlx__row--past .tlx__b { opacity: .55; }
.tlx__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }
.tlx__count { font-family: var(--display); font-size: 1.3rem; line-height: 1; }
.tlx__flow { font-size: .76rem; color: var(--ink-faint); }
.tlx__flow b { color: var(--sage); font-weight: 600; }
.tlx__flow i { color: var(--ink-faint); font-style: normal; }


/* ==========================================================================
   Markenformen
   Die sechs Illustrationen liegen einfarbig in /brand/illu. Sie werden als
   CSS-Maske gesetzt, nicht als <img> — so nehmen sie jede Markenfarbe an
   (background-color bzw. currentColor) und bleiben eine einzige Datei.
   Verwendung: <i class="illu" style="--illu:url(/brand/illu/illu-4.svg)"></i>
   ========================================================================== */
.illu {
  display: block; flex: 0 0 auto; background-color: currentColor;
  -webkit-mask: var(--illu) center / contain no-repeat;
          mask: var(--illu) center / contain no-repeat;
}

/* Großflächige Deko im Hintergrund einer Sektion */
.deco {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  background-color: var(--sand); opacity: .5;
  -webkit-mask: var(--illu) center / contain no-repeat;
          mask: var(--illu) center / contain no-repeat;
}
.deco--sage  { background-color: var(--sage); opacity: .12; }
.deco--oat   { background-color: var(--oat); opacity: .9; }
.deco--terra { background-color: var(--terracotta); opacity: .12; }
.has-deco { position: relative; overflow: hidden; }
.has-deco > .wrap { position: relative; z-index: 1; }
@media (max-width: 720px) { .deco { display: none; } }

/* Kopfzeile einer Sektion: Form, Augenbraue, Überschrift */
.eyebrow--illu { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow__illu { width: 17px; height: 17px; }

/* Wortmarke als Bild — im Fuß und auf der Anmeldekarte */
.wordmark {
  display: block; height: 46px; width: auto;
  background-color: var(--oat);
  -webkit-mask: url('/brand/logo-stacked.svg') left center / contain no-repeat;
          mask: url('/brand/logo-stacked.svg') left center / contain no-repeat;
  aspect-ratio: 75.32 / 30.79;
}
.wordmark--cocoa { background-color: var(--cocoa); }
.wordmark--lg { height: 74px; }

/* Leerzustand mit Markenform statt Emoji */
.empty__illu { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--sand); }

/* ------------------------------------------------------------------ Team-Symbole */
.nav-ico {
  width: 18px; height: 18px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .78;
}
.admin-nav button.is-active .nav-ico { opacity: 1; stroke-width: 1.7; }

/* ------------------------------------------------------------------ Strichsymbole (öffentlich) */
.line-ico {
  width: 17px; height: 17px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  color: var(--terracotta); vertical-align: -3px;
}
.iconline { display: flex; align-items: flex-start; gap: 10px; }
.iconline > .line-ico { margin-top: 3px; }

/* Querformat-Lockup (CAFÉ hochkant neben BLOOM) — für breite, ruhige Flächen */
.wordmark--wide {
  -webkit-mask-image: url('/brand/logo-wide.svg');
          mask-image: url('/brand/logo-wide.svg');
  aspect-ratio: 188.27 / 34.13;
}

/* ------------------------------------------------------------------ Bereichswahl */
.areagrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.areacard {
  position: relative; text-align: left; font-family: inherit; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.areacard:hover:not([disabled]) { border-color: var(--terracotta); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.areacard[aria-selected="true"] { border-color: var(--terracotta); background: var(--terracotta-wash); }
.areacard[disabled] { opacity: .55; cursor: not-allowed; background: var(--ground-deep); }
.areacard__top { display: flex; align-items: center; gap: 10px; }
.areacard__illu { width: 22px; height: 22px; color: var(--terracotta); }
.areacard__name { font-family: var(--display); font-size: 1.14rem; line-height: 1.2; }
.areacard__price { margin-left: auto; font-family: var(--display); font-size: 1.05rem; white-space: nowrap; }
.areacard__note { font-size: .84rem; color: var(--ink-soft); }
.areacard__free { font-size: .84rem; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.areacard__free b { font-weight: 600; }
.areacard__free .is-out { color: var(--terracotta-deep); }
/* Hinweis auf einen Sonderpreis zu bestimmten Startzeiten */
.areacard__sale { color: var(--sage-deep); font-weight: 600; }
.pricehint__rule { color: var(--sage-deep); }
.pricehint__rule s { color: var(--ink-soft); font-weight: 400; }

/* Ausweichtermine im Fehlerhinweis — müssen sich von der getönten Fläche
   des Hinweises abheben, sonst liest man sie nicht als Schaltfläche. */
.altslots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btn.altslot {
  background: var(--paper); color: var(--terracotta-deep);
  border-color: var(--terracotta-line); box-shadow: var(--shadow-sm); font-weight: 600;
}
.btn.altslot:hover { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }

/* Buchungsbedingungen der Feiern */
.terms { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.terms b { display: block; color: var(--ink-soft); margin-bottom: 6px; }
.terms ul { list-style: none; padding: 0; margin: 0; }
.terms li { position: relative; padding-left: 15px; font-size: .8rem; color: var(--ink-faint); margin-bottom: 5px; line-height: 1.5; }
.terms li::before { content: '·'; position: absolute; left: 4px; color: var(--sand-deep); font-weight: 700; }

/* ------------------------------------------------------------------ Ampel
   Nach außen bleibt der Auslastungsring; die vier Lampen sind die Eingabe im
   Team-Bereich. Die Stufe steht als Etikett direkt am Ring — frei schwebend
   sah sie aus wie versehentlich liegen geblieben. */
/* Ring und Stufe gehören zusammen und stehen deshalb übereinander in einer
   Spalte — nebeneinander wirkte das Etikett wie liegen geblieben. */
.gauge__left { display: grid; justify-items: center; gap: 12px; }
.levelchip {
  display: inline-block; font-family: var(--display); font-size: 1.15rem; line-height: 1.15;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
  background: var(--lamp, var(--ground-deep)); color: var(--lampink, var(--ink));
  transition: background .35s ease, color .35s ease;
}
@media (max-width: 720px) { .gauge__left { justify-items: start; } }

/* Bedienung im Team-Bereich: vier Knöpfe, ein Klick */
.ampel-set { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0 4px; }
.ampel-btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 9px 4px; border-radius: var(--r-sm); cursor: pointer;
  border: 1px solid var(--line); background: var(--paper);
  font-family: inherit; font-size: .68rem; color: var(--ink-faint); line-height: 1.2;
  transition: border-color .15s ease, background .15s ease;
}
.ampel-btn i { width: 20px; height: 20px; border-radius: 50%; background: var(--lamp); opacity: .3; transition: opacity .2s ease; }
/* Prozentbereich als Eselsbrücke — das Team schätzt schneller, wenn dabeisteht,
   was die Stufe ungefähr bedeutet. */
/* Feste Höhe für die Beschriftung: „Angenehm voll" bricht zweizeilig um, die
   anderen nicht — ohne das stünden die Prozentwerte auf vier Höhen. */
.ampel-btn span { display: flex; align-items: center; min-height: 2.4em; text-align: center; }
.ampel-btn small { font-size: .64rem; letter-spacing: .02em; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.ampel-btn[aria-pressed="true"] small { color: var(--ink-soft); }
.ampel-btn:hover { border-color: var(--lamp); }
.ampel-btn:hover i { opacity: .65; }
.ampel-btn[aria-pressed="true"] { border-color: var(--lamp); background: color-mix(in srgb, var(--lamp) 10%, var(--paper)); color: var(--ink); font-weight: 600; }
.ampel-btn[aria-pressed="true"] i { opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--lamp) 25%, transparent); }
@media (max-width: 720px) { .ampel-set { grid-template-columns: repeat(2, 1fr); } }
.span-2 { grid-column: span 2; }

/* Geburtstage: fünf gleich breite Spalten in einer Reihe (Anfrage → Feier → Archiv) */
.bd-lanes { display: grid; gap: 12px; align-items: start; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bd-lane { padding: 16px 16px 14px; min-height: 140px; }
.bd-lane__head { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.bd-lane__head h3 { font-size: 1.05rem; }
@media (max-width: 1400px) { .bd-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .bd-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .bd-lanes { grid-template-columns: 1fr; } }

/* Einstellungen: aufklappbare Bereiche */
.acc-list { display: grid; gap: 12px; }
.acc { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.acc--warn { border-color: var(--terracotta); }
.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; user-select: none; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { background: color-mix(in srgb, var(--ink) 3%, var(--paper)); border-radius: var(--r-md); }
.acc__title { font-family: var(--display); font-size: 1.2rem; line-height: 1.1; }
.acc__hint { margin-left: auto; font-size: .8rem; color: var(--ink-faint); text-align: right; }
.acc--warn > summary .acc__hint { color: var(--terracotta-deep); font-weight: 600; }
.acc__chev { flex: 0 0 auto; width: 9px; height: 9px; margin-left: 6px; border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint); transform: rotate(-45deg); transition: transform .18s ease; }
.acc[open] > summary .acc__chev { transform: rotate(45deg); }
.acc > .acc__body { padding: 6px 20px 20px; border-top: 1px solid var(--line-soft); }
.acc > .acc__body > .acc__inner { padding-top: 12px; }
.acc--sub { box-shadow: none; background: color-mix(in srgb, var(--ground) 45%, var(--paper)); margin-top: 12px; }
.acc--sub > summary { padding: 12px 16px; }
.acc--sub > summary .acc__title { font-size: 1.02rem; }
.acc--sub > .acc__body { padding: 12px 16px 16px; background: var(--paper); border-radius: 0 0 var(--r-md) var(--r-md); }
/* Einspaltig gestapelt sollen schmale Eingaben nicht über die ganze Breite laufen */
.acc__body > label.field, .acc__body > .inline-fields { max-width: 640px; }
.acc__body > label.field > textarea { max-width: none; }
@media (max-width: 720px) { .acc > summary { padding: 14px 16px; } .acc__hint { display: none; } }

/* ------------------------------------------------------------------ Über uns */
.about { background: var(--paper); border-block: 1px solid var(--line-soft); }
.about__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about__body p, .about__body li { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.65; }
.about__body p { margin: 0 0 14px; }
.about__body ul, .about__body ol { margin: 0 0 14px; padding-left: 22px; }
.about__body b, .about__body strong { color: var(--ink); font-weight: 600; }
.about__actions { margin-top: 22px; }
.about__figure { position: relative; margin: 0; }
.about__figure img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r-xl); box-shadow: 0 20px 50px rgba(56, 41, 28, .14);
}
.about__stamp { position: absolute; right: -18px; bottom: -22px; width: 92px; height: 92px; background-color: var(--sand); opacity: .9; }
@media (max-width: 900px) { .about__inner { grid-template-columns: 1fr; } .about__figure { order: -1; } .about__stamp { display: none; } }

/* Zwischenüberschrift in der Preisliste */
.pricelist__head {
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  color: var(--terracotta-deep); padding: 20px 0 6px; border-bottom: 1px solid var(--line);
}
.pricelist__head:first-child { padding-top: 4px; }

/* ------------------------------------------------------------------ Team: Preisliste */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600;
  cursor: pointer; touch-action: none; user-select: none;
}
.cat-tab:hover { background: var(--ground); }
.cat-tab.is-active { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.cat-tab.is-hidden { opacity: .55; text-decoration: line-through; }
.cat-tab__n { font-weight: 500; font-size: .78rem; opacity: .75; }
.cat-tab--add { border-style: dashed; color: var(--terracotta-deep); font-weight: 500; }
.cat-tab--add:hover { background: var(--terracotta-wash); }
.cat-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; padding: 14px 16px; background: var(--ground); border-radius: var(--r-md); }
.cat-head input[type=text] { width: min(100%, 320px); font-weight: 600; }
.cat-mode { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: flex-end; margin-top: 10px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--r-md); }
.cat-pdf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cat-pdf .line-ico { width: 20px; height: 20px; color: var(--sand-deep); }
.plist.is-inactive { opacity: .55; }
.plist.is-inactive:focus-within { opacity: 1; }
.plist { margin-top: 12px; }
.plist .table td { padding: 8px 8px; }
.plist .table th { padding: 8px 8px; }
.plist input[type=text], .plist input[type=number] { padding: 8px 10px; font-size: .9rem; }
.drag-handle {
  width: 28px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-faint);
  cursor: grab; touch-action: none; user-select: none; font-size: 1.15rem; line-height: 1; border-radius: 6px;
}
.drag-handle:hover { background: var(--ground-deep); color: var(--ink); }
tr.is-dragging { opacity: .45; background: var(--sand-wash) !important; }
.cat-tab.is-dragging { opacity: .45; }
tr.is-header td { background: var(--sand-wash); }
tr.is-header input[type=text] { font-family: var(--caps); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }
tr.is-off td { opacity: .55; }
.plist__foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.plist__hint { margin-left: auto; font-size: .8rem; color: var(--ink-faint); }
.plist__empty { padding: 26px; text-align: center; color: var(--ink-faint); border: 1px dashed var(--line); border-radius: var(--r-md); }
.about-admin { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: start; }
.about-admin__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); display: block; background: var(--ground); }
@media (max-width: 760px) { .about-admin { grid-template-columns: 1fr; } }

/* Geburtstagspakete: Zahlenfelder breit genug für dreistellige Werte */
.pkg-table input[type=number] { width: 96px; padding: 9px 10px; text-align: right; }
.pkg-table input[type=text], .pkg-table input:not([type]) { padding: 9px 10px; }
.pkg-table td { padding: 8px 6px; }
.pkg-table th { white-space: nowrap; }

/* Unterseite „Reservieren“ */
.nav a[aria-current="page"] { background: var(--ground-deep); color: var(--ink); }
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(8px, 2vw, 20px); }
/* Überschrift der Unterseiten ohne Breitenlimit (Wunsch 09.11.: eine Zeile); bricht nur um, wenn sie nicht passt (Handy) */
.page-head h1 { max-width: none; text-wrap: pretty; }
.page-head .lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 56ch; }
.page-head__back { display: inline-block; font-size: .88rem; color: var(--ink-faint); margin-bottom: 18px; }
.page-head__back:hover { color: var(--ink); }

/* Kleiner Texteditor (fett/kursiv/Liste) im Team-Bereich */
.rich { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.rich__bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line-soft); background: var(--ground); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.rich__bar button { font: inherit; font-size: .84rem; padding: 5px 10px; border: 1px solid transparent; border-radius: 7px; background: var(--paper); color: var(--ink); cursor: pointer; min-width: 34px; }
.rich__bar button:hover { border-color: var(--line); }
.rich__body { min-height: 220px; padding: 12px 14px; font-size: .95rem; line-height: 1.55; outline: none; }
.rich__body:focus { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--terracotta) 25%, transparent); }
.rich__body p { margin: 0 0 10px; }
.rich__sep { width: 1px; align-self: stretch; background: var(--line); margin: 2px 4px; }
.rich__select { width: auto !important; min-width: 0; font-size: .84rem; padding: 4px 8px; border-radius: 7px; max-width: 190px; }
.rich__select--sm { max-width: 120px; }
/* „Aa“ unter einem Textfeld: Schrift + Größe für den ganzen Text */
.tstyle { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -8px 0 14px; }
.tstyle__aa { font-family: Georgia, serif; font-size: .95rem; font-weight: 700; color: var(--ink-soft); padding: 0 2px; }
.tstyle select { width: auto; max-width: 210px; font-size: .82rem; padding: 4px 8px; }
.tstyle__px { display: inline-flex; align-items: center; gap: 4px; margin: 0; font-size: .82rem; color: var(--ink-soft); }
.tstyle__px input { width: 84px; font-size: .82rem; padding: 4px 8px; }
.hlevels td { vertical-align: middle; }
.hlevels select { max-width: 220px; }
.hlevels__sample { line-height: 1.15; color: var(--ink); font-family: var(--display); max-width: 360px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.font-sample { margin-top: 6px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--ground); font-size: 1.15rem; line-height: 1.3; }
.rich__body ul, .rich__body ol { margin: 0 0 10px; padding-left: 22px; }

/* Fußzeile: Copyright + Rechtslinks; Rechtstexte */
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center; }
.footer__legal-links { display: flex; gap: 18px; }
.footer__legal a { color: inherit; }
.legal { max-width: 72ch; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; }
.legal b, .legal strong { color: var(--ink); font-weight: 600; }

/* Events: allgemeine Anlässe (Firmenfeier, JGA …) — ruhiger, erwachsener Look in
   Zementgrau statt Terrakotta; Erwachsene stehen im Formular vor den Kindern. */
.bd-request--general { border-top: 4px solid var(--sage); background: linear-gradient(180deg, var(--sage-wash), transparent 220px); }
.bd-request--general #bdRequestTitle { color: var(--sage-deep); }
.bd-request--general .bd-guests__kids { order: 2; }
.bd-card--general { border-left: 3px solid var(--sage) !important; background: var(--sage-wash); }

/* Header: „Reservieren“ als wichtigster Menüpunkt fett */
.nav a[href="/reservieren"] { font-weight: 700; }


/* ==========================================================================
   Redesign 2026-09-16 (Feedback „Cafe Bloom_New Webseite_Design.pdf“)
   ========================================================================== */

/* Kopfzeile: Monogramm + gestapeltes Logo „CAFÉ / BLOOM“ statt Schriftzug */
.brand__logo {
  display: block; height: 34px; aspect-ratio: 75.32 / 30.79; background-color: var(--cocoa);
  -webkit-mask: url('/brand/logo-stacked.svg') left center / contain no-repeat;
          mask: url('/brand/logo-stacked.svg') left center / contain no-repeat;
}

/* Schauschrift etwas kleiner */
.hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }

/* Knopf in der Logofarbe Creme/Grau */
.btn--cream {
  background: var(--oat); color: var(--cocoa); border-color: #D3CBC2;
  box-shadow: 0 1px 2px rgba(56, 41, 28, .06), 0 8px 20px rgba(82, 61, 44, .10);
  letter-spacing: .02em;
}
.btn--cream:hover { background: #D3CBC2; color: var(--ink); }

/* ------------------------------------------------------------------ Intro: Café-Drop */
.intro {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh; min-height: 460px;
  overflow: hidden; background: #D9D5CF;
  display: grid; place-items: center;
}
.intro__video, .intro__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__video { object-fit: cover; }
.intro__veil { background: radial-gradient(ellipse at 50% 42%, rgba(60, 45, 32, .10), rgba(60, 45, 32, .02) 60%, rgba(60, 45, 32, .12)); }
.intro__brand {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
  transform: translateY(-9vh); animation: introIn 1.4s ease .2s both;
}
.intro__logo {
  display: block; width: clamp(150px, 17vw, 230px); aspect-ratio: 75.32 / 30.79; background-color: var(--cocoa);
  -webkit-mask: url('/brand/logo-stacked.svg') center / contain no-repeat;
          mask: url('/brand/logo-stacked.svg') center / contain no-repeat;
}
.intro__tagline {
  font-family: 'Antro Vectra', 'Mrs Saint Delafield', 'Brush Script MT', cursive;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.1; color: #fff;
  margin-top: .02em; text-shadow: 0 1px 14px rgba(56, 41, 28, .18); white-space: nowrap;
}
.intro__down {
  position: absolute; z-index: 1; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px; margin-left: -23px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .75); display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(4px);
  animation: introIn 1s ease 1.2s both;
}
.intro__down span {
  width: 11px; height: 11px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff;
  transform: translateY(-3px) rotate(45deg); animation: introNudge 2s ease-in-out infinite;
}
@keyframes introIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes introNudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }

/* Der eigentliche Seiteninhalt schiebt sich über das Video */
.page-over {
  position: relative; z-index: 1; background: var(--ground);
  box-shadow: 0 -18px 40px rgba(56, 41, 28, .08);
}

/* ------------------------------------------------------------------ Kategorien */
.cats { padding-top: clamp(8px, 2vw, 20px); }
.cats__grid { display: grid; gap: clamp(14px, 1.8vw, 22px); grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); }
.cat:hover { text-decoration: none; }
.cat__img { display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ground-deep); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover .cat__img img { transform: scale(1.04); }
.cat__title { margin-top: 14px; font-family: var(--display); font-size: 1.12rem; line-height: 1.2; }
.cat__sub { font-size: .8rem; color: var(--ink-faint); margin-top: 2px; }
@media (max-width: 1000px) { .cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px)  {
  .cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Ungerade Kachelzahl: die letzte Kachel läuft quer über beide Spalten */
  .cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cat:last-child:nth-child(odd) .cat__img { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  .intro__brand, .intro__down, .intro__down span { animation: none; }
  .cat__img img { transition: none; }
}

/* 2026-09-16: Kopfzeile „CAFÉ BLOOM“ nebeneinander (Songer, weit gesperrt) */
.topbar .brand__name { font-size: 1.02rem; letter-spacing: .22em; font-weight: 500; color: var(--ink); white-space: nowrap; }
@media (max-width: 720px) { .topbar .brand__name { font-size: .9rem; letter-spacing: .16em; } }

/* „Café“ in der Hero-Überschrift in Schreibschrift */
.hero h1 .script {
  font-family: 'Italianno', 'Mrs Saint Delafield', cursive; font-style: normal; font-weight: 400;
  font-size: 1.32em; line-height: .8; letter-spacing: 0; padding-right: .04em;
}

/* Seite /preise: Sprungleiste je Kategorie, darunter je Kategorie eine Karte */
.pricejump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pricejump a { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: .9rem; }
.pricejump a:hover { background: var(--ground-deep); text-decoration: none; }
.pricepage { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
/* alle Kacheln gleich hoch; Inhalt nur als Vorschau, die ganze Karte im Pop-up */
.pricecat { scroll-margin-top: 90px; height: 420px; display: flex; flex-direction: column; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.pricecat:hover, .pricecat:focus-visible { box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,.08)); transform: translateY(-2px); }
.pricecat h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 10px; }
.pricecat__peek { flex: 1; min-height: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
.pricecat__more { align-self: flex-start; margin-top: 12px; }

/* Keine Deko-Blumen/-Formen auf der Website (nicht im Design-PDF) */
.hero::before, .hero::after { display: none; }

/* Team-Bereich: Design & Bilder */
.colorfield { display: flex; align-items: center; gap: 6px; }
.colorfield input[type=color] { width: 40px; height: 36px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; }
.colorfield input[type=text] { width: 100px; padding: 8px 10px; font-family: ui-monospace, monospace; font-size: .85rem; }
.design-colors td { vertical-align: middle; }
.design-images { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.design-image { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.design-image__preview { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--ground-deep); }
.design-image__preview img, .design-image__preview video { width: 100%; height: 100%; object-fit: cover; display: block; }
.design-image__label { display: flex; flex-direction: column; line-height: 1.3; }
.design-toggles { display: grid; gap: 10px; }
.design-toggles__sub { margin-left: 28px; }

/* 2026-09-16: Kopfzeile mit Logo „bloom logo2“ (CAFÉ hochkant + BLOOM) */
.topbar .brand__img { display: block; height: 30px; width: auto; }
@media (max-width: 720px) { .topbar .brand__img { height: 24px; } }

/* Hinweis, wenn mehr Personen eingetippt wurden, als der Bereich erlaubt */
.limitmsg { margin: -4px 0 14px; padding: 10px 14px; border-radius: 10px; font-size: .9rem;
  background: var(--cream); border: 1px solid var(--terracotta-deep); color: var(--terracotta-deep); }

/* ------------------------------------------------------------------ Freie Seiten (Franchise, Design your space …)
   Blöcke aus dem Team-Bereich. Bild+Text nutzt die „Über uns“-Bausteine der Startseite. */
#landing section[id] { scroll-margin-top: 88px; }
.lp-hero { padding: clamp(48px, 7vw, 96px) 0; }
.lp-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lp-hero__inner--solo { grid-template-columns: minmax(0, 780px); }
.lp-rich p, .lp-rich li { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.65; }
.lp-rich p { margin: 0 0 14px; }
.lp-rich ul, .lp-rich ol { margin: 0 0 14px; padding-left: 22px; }
.lp-rich h3 { margin: 22px 0 8px; }
.lp-rich b, .lp-rich strong { color: var(--ink); font-weight: 600; }
.lp-rich > :last-child { margin-bottom: 0; }
.lp-rich--lead p { font-size: 1.14rem; }
.lp-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.lp-narrow { max-width: 780px; }
.lp-center { text-align: center; margin-inline: auto; }
.lp-flip .about__figure { order: -1; }
.lp-bg--paper { background: var(--paper); border-block: 1px solid var(--line-soft); }
.lp-bg--tint { background: var(--sand-wash); border-block: 1px solid var(--sand-line); }
.lp-cards { margin-top: 28px; }
.lp-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); margin-bottom: 16px; }
.lp-card p { color: var(--ink-soft); margin: 6px 0 0; line-height: 1.6; white-space: pre-line; }
.lp-figure { margin: 0; }
.lp-figure img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r-xl); }
.lp-figure--full img { border-radius: 0; max-height: 720px; }
.lp-figure figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-faint); text-align: center; }
.lp-cta { text-align: center; max-width: 780px; margin-inline: auto; }
.lp-cta .lp-actions { justify-content: center; }
.lp-form { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
  .lp-hero__inner, .lp-form { grid-template-columns: 1fr; }
  .lp-hero .about__figure { order: -1; }
}
@media (max-width: 560px) { .lp-form .inline-fields { grid-template-columns: 1fr; } }

/* Team-Bereich: Seiten-Editor */
.pg-list { display: grid; gap: 12px; }
.pg-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; }
.pg-row__url { font-size: .84rem; color: var(--ink-faint); }
.pg-blocks { display: grid; gap: 12px; margin-top: 14px; }
.pg-block { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.pg-block.is-hidden { opacity: .6; }
.pg-block > summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.pg-block > summary::-webkit-details-marker { display: none; }
.pg-block__type { font-family: var(--caps); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta-deep); white-space: nowrap; }
.pg-block__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-soft); font-size: .92rem; }
.pg-block__body { padding: 4px 16px 16px; border-top: 1px solid var(--line-soft); }
.pg-img { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.pg-img img, .pg-img__empty { width: 150px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--ground); }
.pg-img__empty { display: grid; place-items: center; font-size: .8rem; color: var(--ink-faint); }
.pg-item { border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 12px; margin-bottom: 10px; }

.type-rules td, .type-rules th { vertical-align: middle; }
.bd-type-hint { margin: -4px 0 14px; }

/* Admin: Reiter innerhalb einer Ansicht (Events, Reservierungen) */
.vtabs { display: flex; gap: 4px; flex-wrap: wrap; margin: -6px 0 20px; border-bottom: 1px solid var(--line); }
.vtab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 16px; font: inherit; font-weight: 600; color: var(--ink-soft); cursor: pointer; border-radius: 8px 8px 0 0; }
.vtab:hover { color: var(--ink, #2E2219); background: var(--ground); }
.vtab.is-active { color: var(--cocoa); border-bottom-color: var(--cocoa); }
.vtab:focus-visible { outline: 2px solid var(--sage); outline-offset: -2px; }

/* Admin: Leiste „Ungespeicherte Änderungen“ */
.savebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 16px calc(14px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.savebar__in { pointer-events: auto; max-width: 720px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--terracotta, #8E3B22); border-radius: 14px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(46, 34, 25, .18); }
.savebar__btns { display: flex; gap: 8px; }
body:has(.savebar:not([hidden])) #view { padding-bottom: 96px; }

/* Admin: Event-Arten-Tabelle — Paketauswahl untereinander */
.type-rules__pkgs { display: grid; gap: 4px; min-width: 170px; }

/* Reservieren: je Kind eine Zeile (Alter + Spielbereich), Preiszeilen bei gemischten Bereichen */
.lead--rich p { margin: 0 0 .7em; }
.lead--rich p:last-child { margin-bottom: 0; }
.lead--rich a { text-decoration: underline; }
.kidrows { display: grid; gap: 8px; margin: 4px 0 6px; }
#bkAgesField { margin-bottom: 16px; }
.kidrow { display: grid; grid-template-columns: 62px 92px 1fr; gap: 10px; align-items: end; }
.kidrow--solo { grid-template-columns: 62px 120px; }
.kidrow__n { font-weight: 600; font-size: .92rem; padding-bottom: 12px; white-space: nowrap; }
.kidrow select { width: 100%; }
@media (max-width: 420px) { .kidrow { grid-template-columns: 50px 92px 1fr; gap: 8px; } .kidrow .bkAge { padding-left: 10px; padding-right: 6px; } }
.pricelines { display: grid; gap: 4px; }
.priceline { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.priceline > span:first-child .tiny { display: block; }
.priceline--sum { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; color: var(--ink); }

/* ------------------------------------------------------------------ 2026-11 Feedback Café */
/* Claim „Mehr als ein Café.“ in der Handschrift von cafebloom.at (Antro Vectra).
   Gilt nur ohne eigene Schrift im Team-Bereich („Aa“ beim Claim). */
.hero h1.tagline--hand { font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1.15; letter-spacing: 0; font-weight: 400; }

/* Reservieren: Kopf mit Foto rechts, wie „Über uns“ */
.page-head__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-head__figure img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 900px) { .page-head__split { grid-template-columns: 1fr; } .page-head__figure { order: 2; } }

/* Fußzeile: Instagram */
.footer__insta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .9rem; }
.footer__insta-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer__insta-ico .fill { fill: currentColor; stroke: none; }
.footer__insta:hover { color: #fff; }

/* Events: Angebotskarten */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.offer { display: flex; flex-direction: column; height: 100%; gap: 6px; transition: border-color .2s, box-shadow .2s; }
.offer__price { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; color: var(--terracotta-deep); }
.offer__text { margin: 6px 0 4px; }
.offer__pkgs { margin-bottom: 10px; }
.offer.is-chosen { border-color: var(--terracotta); box-shadow: 0 0 0 2px var(--terracotta-wash), var(--shadow-sm); }
/* Team-Bereich: Angebots-Karten der Events-Seite */
/* Events → Angebote: ein Kasten je Angebot (Regeln + Website-Text + Pakete) */
.offer-list { display: grid; gap: 18px; }
.offer-card.is-off { opacity: .78; }
.offer-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.offer-card__name { flex: 1 1 260px; font-family: var(--display); font-size: 1.35rem; padding: 6px 10px; }
.offer-card__tools { display: flex; gap: 4px; margin-left: auto; }
.offer-card__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; align-items: start; }
.offer-card__grid .field, .offer-card__rules .field { margin: 0; }
.offer-card__rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; align-items: start;
  margin: 14px 0; padding: 14px; background: var(--ground); border-radius: var(--r-md); }
.offer-card__excl { grid-column: span 2; margin: 0; }
.offer-card__mode { display: flex; gap: 22px; flex-wrap: wrap; margin: 0 0 12px; }
.offer-card__mode .check { margin: 0; }
.offer-card__sum { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.offer-card__warn { color: var(--terracotta-deep); font-weight: 600; }
.offer-off > summary { cursor: pointer; font-weight: 600; padding: 10px 0; color: var(--ink-soft, inherit); }
@media (max-width: 860px) {
  .offer-card__grid { grid-template-columns: 1fr; }
  .offer-card__excl { grid-column: auto; }
}
.offer-admin { display: grid; gap: 14px; }
.offer-admin__row { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 14px; align-items: start;
  padding: 14px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--ground); }
.offer-admin__row .field { margin: 0; }
.offer-admin__row.is-off { opacity: .6; }
.offer-admin__name { padding-top: 6px; }
@media (max-width: 860px) { .offer-admin__row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ 2026-11-03 Feedback Café */
/* Tischreservierung & Co.: Wunschzeit statt Vormittag/Nachmittag */
#bdSlots.bd-times { grid-template-columns: 1fr !important; }
/* Freie Plätze im Zeitfenster: je Bezeichnung eine eigene Zeile, damit lange Texte nicht quetschen */
.slot__free { display: block; line-height: 1.35; }
.pkg__days { margin: 2px 0 6px; color: var(--cocoa, #4f3b2b); }
/* Team-Bereich: Wochentage je Paket, Spielzeit je Wochentag */
.daychips { display: flex; gap: 3px; flex-wrap: nowrap; }
.daychip { display: grid; justify-items: center; gap: 1px; font-size: .72rem; min-width: 24px; cursor: pointer; }
.daychip input { margin: 0; }
.wd-timing { margin: 4px 0 14px; padding: 10px 12px; border: 1px solid var(--line, #e6ddd2); border-radius: 12px; }
.wd-timing__table td, .wd-timing__table th { padding: 4px 6px; vertical-align: middle; }

/* Paketpreise: Zelle in der Pakettabelle + Pop-up „Preise“ (2026-11-04) */
.pkg-pricecell { min-width: 150px; }
.pkg-pricecell b { font-size: 15px; }
.pp-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-mode { padding: 12px 14px; border: 1px solid var(--line, #ddd); border-radius: var(--r-md, 12px); margin: 0; }
.pp-mode:has(input:checked) { border-color: var(--ink, #333); background: var(--ground, #f6f3ee); }
.pp-days { display: grid; gap: 10px; margin-top: 16px; }
.pp-day { padding: 12px 14px; border: 1px solid var(--line, #ddd); border-radius: var(--r-md, 12px); }
.pp-day__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pp-day__name { min-width: 92px; }
.pp-day__tools { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.pp-price { display: flex; align-items: center; gap: 8px; margin: 0; }
.pp-eur { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pp-eur input { width: 100px; text-align: right; padding: 8px 10px; }
.pp-time { display: flex; align-items: center; gap: 8px; margin: 8px 0 0 106px; flex-wrap: wrap; }
.pp-time input[type=time] { width: 120px; padding: 8px 10px; }
@media (max-width: 640px) {
  .pp-modes { grid-template-columns: 1fr; }
  .pp-day__tools { margin-left: 0; }
  .pp-time { margin-left: 0; }
}

/* 2026-11-04 Feedback: Infos/PDF je Angebot und Paket, Hinweis große Runden */
.pkg__info { margin: 4px 0 12px; padding-left: 18px; font-size: .84rem; color: var(--ink-soft); line-height: 1.45; }
.pkg__info li { margin: 2px 0; }
.pkg__pdf, .offer__pdf { margin: 0 0 12px; }
.pdf-link { display: inline-flex; align-items: center; gap: 6px; }
.pdf-link .line-ico { width: 16px; height: 16px; }
.large-note { margin: -4px 0 12px; }
.large-note a { text-decoration: underline; }
.pkg-infobtn { margin: 6px 6px 0 0; }
.offer-card__info { margin-top: 4px; }

/* Seitenmenü ein-/ausblenden (Team-Bereich) — ausgeblendet nutzt die Seite die ganze Breite */
.side-toggle { flex: none; border: 1px solid var(--line-soft); background: transparent; color: var(--ink-soft, inherit);
  border-radius: 8px; width: 30px; height: 30px; font-size: 1rem; line-height: 1; cursor: pointer; }
.side-toggle:hover { background: var(--ground-deep); color: var(--ink); }
.side-show { display: none; position: fixed; top: 12px; left: 12px; z-index: 60; border: 1px solid var(--line-soft);
  background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .85rem;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.side-show:hover { background: var(--ground-deep); }
.admin-shell.side-collapsed { grid-template-columns: 1fr; }
.admin-shell.side-collapsed .admin-side { display: none; }
.admin-shell.side-collapsed .side-show { display: block; }
.admin-shell.side-collapsed .admin-main { max-width: none; padding-top: 56px; }

/* Einstellungen → Ampel: kleine Vorschau je Stufe (Lampe + Name) */
.ampel-prev { display: inline-flex; align-items: center; gap: 8px; }
.ampel-prev i { width: 18px; height: 18px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lamp) 25%, transparent); }
.ampel-prev b { font-weight: 600; }
