:root {
  --bg: #0b0a0f;
  --bg-alt: #15121c;
  --bg-card: #1c1722;
  --gold: #c9a35c;
  --copper: #a9662f;
  --violet: #8a68b0;
  --rose: #c38a79;
  --maroon: #2b0f16;
  --text: #f3ece0;
  --text-muted: #b6a999;
  --border: rgba(201, 163, 92, 0.16);
  --gradient: linear-gradient(120deg, var(--gold) 0%, var(--copper) 55%, var(--rose) 100%);
  --radius: 14px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: 'Open Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  max-width: 100vw;
}

/* Sticky Footer: auf kurzen Seiten (Login, Legal-Seiten ohne viel Inhalt) hängt der Footer
   sonst mitten im Viewport statt am unteren Rand zu kleben. */
.site-footer { margin-top: auto; }

/* Ambient-Feld: eine durchlaufende Szene statt harter Section-Wechsel.
   Fixiert hinter allem, Glows ueberlappen bewusst mehrere Sections. */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.22;
  /* kein filter: blur() – Safari rastert den auf der CPU; der Verlauf ist schon weich */
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, rgba(0,0,0,0.45) 45%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 0%, rgba(0,0,0,0.45) 45%, transparent 100%);
}

.ambient span:nth-child(1) {
  width: 60vw; height: 60vw;
  top: -10vh; left: -10vw;
  background: var(--gold);
}

.ambient span:nth-child(2) {
  width: 55vw; height: 55vw;
  top: 55vh; right: -15vw;
  background: var(--violet);
}

.ambient span:nth-child(3) {
  width: 50vw; height: 50vw;
  top: 130vh; left: -10vw;
  background: var(--copper);
}

.ambient span:nth-child(4) {
  width: 55vw; height: 55vw;
  top: 200vh; right: -12vw;
  background: var(--violet);
}

.ambient span:nth-child(5) {
  width: 50vw; height: 50vw;
  top: 270vh; left: 10vw;
  background: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.gradient-text {
  background: linear-gradient(100deg, var(--gold) 0%, var(--copper) 25%, var(--rose) 50%, var(--copper) 75%, var(--gold) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-text-shine 9s ease-in-out infinite;
  animation-play-state: paused;
}

.gradient-text.is-animating { animation-play-state: running; }

@keyframes gradient-text-shine {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-text { animation: none; }
}

.eyebrow-free-heading {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-family: inherit; /* sonst nehmen <button> die Browser-Standardschrift */
  font-weight: 700;
  font-size: 0.98rem;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--gradient);
  color: #15100a;
}
.btn--primary:hover { box-shadow: 0 10px 30px -10px rgba(201, 163, 92, 0.55); }

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--gold); }

/* Eigene Farbe für den Header-Bestellen-Button — bewusst anders als "Tisch reservieren"
   im Hero (.btn--primary), damit beide Calls-to-Action nicht wie derselbe Button wirken.
   Titan/Silber-Metallic mit dauerhaftem Schimmer (nicht erst beim Scrollen wie .gradient-text). */
.btn--order {
  background: linear-gradient(110deg,
    #8c8c94 0%, #d8d8de 18%, #f4f4f7 32%, #aeaeb6 48%,
    #f4f4f7 64%, #d8d8de 80%, #8c8c94 100%);
  background-size: 240% 100%;
  color: #17171a;
  animation: btn-order-shimmer 4.5s linear infinite;
}
.btn--order:hover { box-shadow: 0 10px 30px -10px rgba(210, 210, 216, 0.6); }

@keyframes btn-order-shimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 240% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn--order { animation: none; }
}

/* Im Header etwas kompakter — wirkt sonst neben den kleinen Icon-Buttons zu wuchtig. */
.site-header__actions .btn {
  padding: 0.65em 1.3em;
  font-size: 0.88rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease;
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,163,92,0.55) 25%, rgba(138,104,176,0.55) 75%, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 9, 13, 0.72);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

.site-header.is-scrolled::after { opacity: 1; }

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0.6rem clamp(1.25rem, 4vw, 2.5rem);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
  transition: transform 0.25s ease;
}

.brand:hover img { transform: scale(1.04); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.main-nav a:not(.btn) {
  position: relative;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 0.3rem;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--gradient);
  transition: right 0.25s ease;
}
.main-nav a:not(.btn):hover { color: var(--text); }
.main-nav a:not(.btn):hover::after { right: 0; }

.nav-toggle {
  position: relative;
  z-index: 61;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 60;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem clamp(1.25rem, 6vw, 2.5rem);
    gap: 1.5rem;
    overflow-y: auto;
    transform: translate3d(0, -100vh, 0);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }
  .main-nav.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s linear 0s;
  }
  /* iPhone: backdrop-filter auf dem klebenden Header ist ein bekannter Ruckel-Bug und
     macht ihn zum Bezugsrahmen der fixierten Navigation – mobil deckend statt Milchglas */
  .site-header.is-scrolled {
    background: rgba(10, 9, 13, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* Solange das Menü offen ist, laufen darunter keine Effekte mit */
  html.nav-offen .is-animating,
  html.nav-offen .is-animating *,
  html.nav-offen .btn--order { animation-play-state: paused !important; }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: inline-flex; }

  /* Mobil: "Jetzt bestellen" ganz links, Konto-Icon + Hamburger eng zusammen ganz rechts —
     nur EINE flexible Lücke direkt hinter dem Button, nicht über alle drei Elemente verteilt. */
  .site-header__actions { width: 100%; }
  .site-header__actions .btn--order { order: -1; margin-right: auto; }
}

/* ---------- Hero (nach Referenzbild: links Text auf Bordeaux-Verlauf, rechts Foto) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: clamp(5.5rem, 10vw, 7rem) clamp(2rem, 8vw, 8rem) clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,4,6,0.6) 0%, rgba(8,4,6,0.22) 12%, rgba(8,4,6,0.12) 45%, rgba(8,4,6,0.6) 88%, var(--bg) 100%),
    linear-gradient(90deg, var(--maroon) 0%, rgba(30,10,16,0.94) 30%, rgba(30,10,16,0.55) 55%, transparent 80%);
}

.hero__content {
  position: relative;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__logo {
  width: min(360px, 64vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.55));
}

.hero__headline {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2.9rem, 6.6vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0.9rem 0 0;
}

.hero__subheadline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--text);
  margin: 0.3rem 0 0;
}

.hero__rule {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.3rem 0 1rem;
}

.hero__rule span {
  width: clamp(60px, 10vw, 110px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero__rule .bullet-icon { width: 20px; height: 20px; }

.hero__tagline {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--text) 42%, #fff6da 50%, var(--text) 58%);
  background-size: 260% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-tagline-shine 7s ease-in-out infinite;
  animation-play-state: paused;
}

.hero__tagline.is-animating { animation-play-state: running; }

@keyframes hero-tagline-shine {
  0%, 75%, 100% { background-position: 200% 0; }
  40% { background-position: -60% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__tagline { animation: none; -webkit-background-clip: unset; background-clip: unset; color: var(--text); }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 2rem;
}

.hero .btn {
  padding: 1.05em 2.2em;
  font-size: 1.05rem;
}

.icon-phone,
.icon-bag {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0;
  flex: none;
}
.nav-account:hover { border-color: var(--gold); color: var(--gold); }
.icon-account { width: 1.3em; height: 1.3em; flex: none; }

.nav-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--gradient);
  color: #15100a;
  padding: 0;
  flex: none;
}
.nav-install svg { width: 1.2em; height: 1.2em; flex: none; }

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.hero .btn--outline { border-color: rgba(201, 163, 92, 0.55); }

.btn .icon-chevron { width: 0.9em; height: 0.9em; flex: none; }


@media (max-width: 760px) {
  .hero { justify-content: flex-end; min-height: 92vh; }
  .hero__scrim {
    background:
      radial-gradient(130% 75% at 30% 45%, rgba(8,4,6,0.78) 0%, rgba(8,4,6,0.58) 45%, transparent 75%),
      linear-gradient(180deg, rgba(8,4,6,0.6) 0%, rgba(8,4,6,0.52) 30%, rgba(8,4,6,0.6) 55%, rgba(8,4,6,0.82) 80%, var(--bg) 100%);
  }
  .hero__content { max-width: 100%; }
  .hero__logo { filter: drop-shadow(0 4px 18px rgba(0,0,0,0.85)) drop-shadow(0 0 30px rgba(0,0,0,0.6)); }
  .hero__tagline {
    font-size: 0.6rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
}

@media (max-width: 400px) {
  .hero__tagline { font-size: 0.54rem; }
}

/* ---------- Editorial Zitat ---------- */

/* ---------- Sections ---------- */

section { padding: clamp(4rem, 9vw, 7rem) 0; }

#ueber-uns {
  position: relative;
}

#ueber-uns::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

#ueber-uns.bg-ready::before {
  background-image: url('/img/web/ueberuns-bg.jpg');
  background-image: image-set(url('/img/web/ueberuns-bg.webp') type('image/webp'), url('/img/web/ueberuns-bg.jpg') type('image/jpeg'));
}

#ueber-uns::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11,10,15,0.9) 12%, rgba(11,10,15,0.84) 50%, rgba(11,10,15,0.9) 88%, var(--bg) 100%);
}

#ueber-uns .container {
  position: relative;
  z-index: 1;
}

.menu-highlights {
  position: relative;
  background-size: cover;
  background-position: center;
}

.menu-highlights.bg-ready {
  background-image: url('/img/web/speisekarte-bg.jpg');
  background-image: image-set(url('/img/web/speisekarte-bg.webp') type('image/webp'), url('/img/web/speisekarte-bg.jpg') type('image/jpeg'));
}

.menu-highlights::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--bg) 0,
    rgba(11,10,15,0.85) 160px,
    rgba(11,10,15,0.78) calc(50% - 80px),
    rgba(11,10,15,0.78) calc(50% + 80px),
    rgba(11,10,15,0.85) calc(100% - 160px),
    var(--bg) 100%);
}

.menu-highlights .container {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head h1,
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Willkommen / Story */

.story {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.story__content { order: 1; }

.story__media {
  order: 2;
  justify-self: end;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 4 / 5;
  border-radius: 6% 24% 6% 24% / 4% 10% 4% 10%;
  overflow: hidden;
  border: 1px solid rgba(201,163,92,0.4);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.75);
  transform: rotate(-2.5deg);
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.story__note {
  margin: 1.4rem 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story__content { order: 1; }
  .story__media {
    order: 2;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    transform: none;
  }
}

/* Speisekarte — Flipbook */

.menu-book-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: min(94vw, 480px);
  margin: 0 auto;
}

@media (min-width: 860px) {
  .menu-book-wrap { width: min(92vw, 960px); }
}

.menu-book {
  position: relative;
  width: 100%;
  /* vh ist Fallback für Browser ohne svh-Support; svh bleibt stabil, wenn die mobile
     Adressleiste beim Wischen kurz ein-/ausfährt (vh würde dabei live neu rechnen, und
     StPageFlips ResizeObserver (size:'stretch') skaliert das Buch dann sichtbar nach —
     wirkt wie kurzes Rein-/Rauszoomen beim Blättern). */
  height: min(80vh, 720px);
  height: min(80svh, 720px);
  filter: drop-shadow(0 35px 60px -20px rgba(0, 0, 0, 0.7));
  transition: transform 0.4s ease;
  touch-action: pan-y;
}

/* Titel- und Schlussseite sind im Spread-Modus eine einzelne Hard-Page (Cover rechts, Rückseite links) — zur Mitte rücken */
.menu-book.is-lone-cover { transform: translateX(-25%); }
.menu-book.is-lone-back { transform: translateX(25%); }

@media (min-width: 860px) {
  .menu-book { height: min(82vh, 640px); height: min(82svh, 640px); }
}

.book-page {
  display: none;
  background: #f4ede1;
}

.book-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.menu-book__controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.menu-book__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-book__btn:hover { border-color: var(--gold); color: var(--gold); }

.menu-book__page-indicator {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-size: 0.9rem;
  min-width: 5.5em;
  text-align: center;
}

noscript .menu-book-noscript {
  display: block;
}

/* Galerie — 3D-Coverflow: ein Bildstapel in einer Zeile, Mitte groß und scharf,
   Nachbarn gestaffelt in die Tiefe gedreht. Keine Thumbnail-Leiste. */

.gallery-coverflow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.gallery-coverflow__stage {
  position: relative;
  width: 100%;
  height: clamp(280px, 56vw, 760px);
  perspective: 1900px;
  overflow: hidden;
}

.gallery-coverflow__stage:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }

.gallery-coverflow__track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.gallery-coverflow__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(230px, 44vw, 680px);
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.75);
  transition: transform 0.65s cubic-bezier(0.22, 0.68, 0, 1), opacity 0.5s ease, box-shadow 0.5s ease;
}

.gallery-coverflow__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.gallery-coverflow__item.is-current {
  box-shadow: 0 45px 90px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px var(--gold);
}

.gallery-coverflow__controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-coverflow__item { transition: none; }
}

#galerie { position: relative; }

/* Gerichte — mobil ein einspaltiger Stream in voller Breite (wie Referenz-Fotogalerien
   üblich), ab Tablet ein lockeres Grid. Keine Thumbnails/Autoplay, bewusst schlicht. */
.dish-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: clamp(4.5rem, 10vw, 7rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.dish-gallery__item {
  margin: 0;
  border-radius: var(--radius, 14px);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.dish-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 760px) {
  .dish-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

#galerie::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      var(--bg) 0,
      rgba(11,10,15,0.7) 160px,
      rgba(11,10,15,0.25) calc(50% - 80px),
      rgba(11,10,15,0.25) calc(50% + 80px),
      rgba(11,10,15,0.7) calc(100% - 160px),
      var(--bg) 100%),
    radial-gradient(70% 60% at 85% 0%, rgba(201,163,92,0.1) 0%, transparent 60%),
    radial-gradient(60% 55% at 8% 100%, rgba(138,104,176,0.09) 0%, transparent 60%);
  pointer-events: none;
}

#galerie .container { position: relative; z-index: 1; }

/* Öffnungszeiten + Kontakt */

#oeffnungszeiten { position: relative; }

#oeffnungszeiten::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 12% 0%, rgba(195,138,121,0.09) 0%, transparent 60%),
    radial-gradient(60% 50% at 92% 100%, rgba(201,163,92,0.08) 0%, transparent 60%);
  pointer-events: none;
}

#oeffnungszeiten .container { position: relative; z-index: 1; }

.info-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3rem);
}

.info-stack__divider {
  position: relative;
  padding-top: clamp(2rem, 5vw, 3rem);
}

.info-stack__divider::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 64px;
  height: 2px;
  background: var(--gradient);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.hours-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}

.hours-table td:last-child { text-align: right; color: var(--text-muted); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.contact-list a:hover { color: var(--gold); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

.map-embed__placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  justify-content: center;
  height: 100%;
  min-height: 420px;
  padding: 2rem;
  background: var(--bg-card);
  text-align: left;
}

.map-embed__placeholder p {
  color: var(--text-muted);
  margin: 0;
}

.map-embed__placeholder a {
  color: var(--gold);
}

@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* Formular */

.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}

.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.field label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.field input,
.field textarea,
.field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85em 1em;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  min-height: 44px;
  width: 100%;
  min-width: 0;
}

.field textarea { min-height: 140px; resize: vertical; }

/* Safari/iOS zeichnet <select> sonst hellgrau mit heller Schrift (Text praktisch unsichtbar). */
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a35c' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.6rem;
}
body.team-app .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a9662f' stroke-width='2'/%3E%3C/svg%3E");
}
.field select option { background: var(--bg-card); color: var(--text); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hp-field { position: absolute; left: -9999px; }

/* Login/Registrierung: .legal .container ist für lange, linksbündige Fließtexte gedacht
   (Impressum etc.) — auf breiten Desktop-Screens hing das schmale Formular dadurch links,
   statt als Karte mittig zu stehen. Eigener schmaler, zentrierter Wrapper nur dafür. */
.auth-card {
  max-width: 440px;
  margin: 0 auto;
}

.form-note { font-size: 0.85rem; color: var(--text-muted); }

/* Footer */

.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center 68%;
  overflow: hidden;
}

.site-footer.bg-ready {
  background-image: url('/img/web/footer-bg.jpg');
  background-image: image-set(url('/img/web/footer-bg.webp') type('image/webp'), url('/img/web/footer-bg.jpg') type('image/jpeg'));
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11,10,15,0.85) 12%, rgba(11,10,15,0.82) 55%, rgba(11,10,15,0.92) 100%);
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--text-muted);
}

.footer-grid ul a:hover { color: var(--gold); }

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.icon-instagram {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom strong a {
  color: var(--gold);
}

.footer-bottom a:hover {
  color: var(--gold);
}

.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-link-btn:hover { color: var(--gold); }

/* Cookie-Banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.6);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
}

.cookie-banner__inner p {
  flex: 1 1 420px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex: none;
}

@media (max-width: 560px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* Legal pages */

.legal {
  padding: clamp(6rem, 10vw, 8rem) 0 5rem;
}

.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2.2rem;
}

.legal p, .legal li { color: var(--text-muted); }

.legal a { color: var(--gold); text-decoration: underline; }

.legal table { border-collapse: collapse; margin: 1rem 0; }
.legal table td, .legal table th { padding: 0.5rem 1rem 0.5rem 0; vertical-align: top; }

/* Bestellen */

.order-hero {
  padding: clamp(6rem, 10vw, 8rem) 0 2rem;
}

.order-error {
  max-width: 640px;
  margin: 1.5rem auto 0;
  padding: 0.9em 1.2em;
  border-radius: 10px;
  border: 1px solid rgba(224, 139, 139, 0.4);
  background: rgba(224, 139, 139, 0.08);
  color: #e08b8b;
}

.order-search {
  padding: 0 0 0.5rem;
}

.order-search__box {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.order-search__box input[type="search"] {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.9em 1.4em;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  min-height: 44px;
  -webkit-appearance: none;
}

.order-search__box input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

.order-search__box input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.order-search__suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.75);
  z-index: 20;
}

.order-search__suggestion {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.7em 1.1em;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  text-align: left;
}
.order-search__suggestion:last-child { border-bottom: 0; }
.order-search__suggestion:hover,
.order-search__suggestion:focus {
  background: rgba(201, 163, 92, 0.14);
}

.order-search__empty {
  padding: 0.8em 1.1em;
  color: var(--text-muted);
}

.order-item.is-highlighted {
  animation: order-item-pulse 1.6s ease;
}

@keyframes order-item-pulse {
  0%, 100% { box-shadow: none; }
  20% { box-shadow: 0 0 0 3px rgba(201, 163, 92, 0.55); border-color: var(--gold); }
}

.order-layout {
  padding-bottom: 6rem;
  display: grid;
  gap: 2.5rem;
}

.order-category h2 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.order-items {
  display: grid;
  gap: 0.75rem;
}

.order-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9em 1.1em;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s ease;
}

.order-item.has-qty { border-color: var(--gold); }

.order-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.order-item__name { font-weight: 700; }

.order-item__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.order-item__allergene {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.75;
}

.order-item__price {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  white-space: nowrap;
}

.order-item__stepper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.order-stepper__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-stepper__btn:hover { border-color: var(--gold); color: var(--gold); }

.order-stepper__qty {
  min-width: 1.4em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

@media (max-width: 640px) {
  .order-item { grid-template-columns: 1fr; }
  .order-item__price { order: 2; }
  .order-item__stepper { order: 3; justify-self: start; }
}

.order-cartbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--bg-card);
  border-top: 1px solid var(--gold);
  box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, 0.6);
}

.order-cartbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9em clamp(1.25rem, 4vw, 2.5rem);
}

.order-checkout {
  padding: clamp(6rem, 10vw, 8rem) 0 6rem;
}

.order-checkout h2 { margin-bottom: 1.2rem; }

.order-checkout-summary { margin-bottom: 2rem; }

.order-checkout-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  max-width: 640px;
}

.order-checkout-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5em 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.order-checkout-total {
  max-width: 640px;
  font-size: 1.1rem;
}

/* Team-App — eigene, helle App-Shell statt Website-Header/Footer. Überschreibt die
   Theme-Variablen nur innerhalb von body.team-app, der Rest der Seite bleibt dunkel. */

/* Abholung / Lieferung */

.order-hinweis {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.95rem;
}

.order-art {
  border: 0;
  margin: 0 0 0.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.order-art legend {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  padding: 0;
}
.order-art__option {
  position: relative;
  cursor: pointer;
}
.order-art__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.order-art__option span {
  display: grid;
  gap: 0.2rem;
  min-height: 64px;
  padding: 0.85em 1em;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.order-art__option small { color: var(--text-muted); font-size: 0.82rem; }
.order-art__option input:checked + span {
  border-color: var(--gold);
  background: rgba(201, 163, 92, 0.1);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.order-art__option input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.order-art__option input:disabled + span { opacity: 0.45; cursor: not-allowed; }
.order-art__hinweis {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.88rem;
  color: #e0b88b;
}

.order-adresse { display: grid; gap: 1rem; }
.order-adresse[hidden] { display: none; }
.order-adresse__zeile {
  display: grid;
  grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
  gap: 1rem;
}
.order-adresse__status { margin: 0; font-size: 0.92rem; min-height: 1.2em; color: var(--text-muted); }
.order-adresse__status.is-ok { color: #8fcf9c; }
.order-adresse__status.is-fehler { color: #e08b8b; }
.order-adresse__abholen { justify-self: start; min-height: 44px; }
.order-adresse__abholen[hidden] { display: none; }

.order-error ul { margin: 0; padding-left: 1.1em; }
.order-error li + li { margin-top: 0.3em; }
.order-error--form { margin: 0; outline: none; }
.order-zeit__hinweis { font-size: 0.82rem; color: var(--text-muted); }
.order-vorbutton {
  margin: 0.5rem 0 0;
  padding: 0.8em 1em;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
#orderSubmitBtn:disabled { opacity: 0.55; cursor: not-allowed; }
.order-link-btn {
  background: none;
  border: 0;
  padding: 0.5em 0;
  min-height: 44px;
  color: var(--gold);
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 420px) {
  .order-art { grid-template-columns: 1fr; }
}

/* Team-App: Lieferungen klar von Abholungen unterscheidbar */
.team-art {
  display: inline-block;
  padding: 0.15em 0.65em;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--bg-alt);
  color: var(--text-muted);
  vertical-align: middle;
}
.team-art--lieferung { background: #1f5fa8; color: #fff; }
.team-order--lieferung { border-left: 4px solid #1f5fa8; }
.team-order__adresse {
  margin: 0 0 0.8rem;
  padding: 0.7em 0.9em;
  border-radius: 10px;
  background: rgba(31, 95, 168, 0.08);
  font-weight: 600;
}
.team-order__adresse a { color: #1f5fa8; font-weight: 700; }
.team-order__adresse small { display: block; font-weight: 400; color: var(--text-muted); }
.team-order__adresse .is-warnung { color: #b2493a; font-weight: 700; }
.team-order__abfahrt { display: block; font-size: 1.15rem; font-weight: 800; color: #1f5fa8; margin-bottom: 0.3rem; }
.team-order__knoepfe { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.team-order__knoepfe a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.1em;
  border-radius: 999px;
  border: 1px solid #1f5fa8;
  color: #1f5fa8;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}

body.team-app {
  --bg: #f6f3ee;
  --bg-alt: #efe9e0;
  --bg-card: #ffffff;
  --text: #241f1a;
  --text-muted: #70655a;
  --border: rgba(36, 31, 26, 0.12);
  --gold: #a9662f;
  min-height: 100vh;
}

.team-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.team-bar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--text);
}

.team-bar__logo { height: 32px; width: auto; }

.team-bar__logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.team-bar__logout:hover { color: var(--gold); border-color: var(--gold); }
.team-bar__logout svg { width: 20px; height: 20px; }

.team-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.team-bar__install {
  padding: 0.5em 1em;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--gradient);
  color: #15100a;
  border: 0;
}

.team-tabs {
  position: sticky;
  top: 61px;
  z-index: 39;
  display: flex;
  gap: 0.25rem;
  padding: 0.6rem 1.25rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.team-tabs a {
  flex: none;
  white-space: nowrap;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.team-tabs a.is-active {
  background: var(--gradient);
  color: #15100a;
}

.team-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 6rem;
}

.team-main h1 {
  font-size: 1.5rem;
  margin: 0.5rem 0 1rem;
  color: var(--text);
}

.team-main h2 {
  font-size: 1.15rem;
  color: var(--text);
}

/* Team-Bestellübersicht */

.team-orders {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem;
}

.team-order {
  padding: 1.2em 1.4em;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow-wrap: anywhere;
}

.team-order__head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.team-order__kunde {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.team-order__kunde a { color: var(--gold); }

.team-order__nr {
  color: var(--gold);
  font-weight: 600;
}

.team-order__notiz {
  color: var(--text-muted);
  font-style: italic;
}

.team-order__zeitform {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--border);
}
.team-order__zeitform .field { max-width: 220px; }
.team-order__zeitform input[type="time"] {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65em 0.9em;
  color: var(--text);
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  min-height: 48px;
  width: 100%;
}
.team-order__zeitform input[type="time"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.team-order__zeitform .btn { align-self: flex-start; }
.team-order__hinweis { color: #e0b88b; font-size: 0.85rem; }

.team-order__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.team-order__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn--danger {
  background: transparent;
  border: 1px solid rgba(196, 90, 70, 0.45);
  color: #b2493a;
}
.btn--danger:hover { background: rgba(196, 90, 70, 0.1); border-color: #b2493a; }

.team-kopf {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}
.team-kopf + .team-main { padding-top: 0.5rem; }
.team-controls { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0; }
.team-main.is-laedt { opacity: 0.55; transition: opacity 0.15s; }
body.team-app .team-sound-btn.is-warn { border-color: #b2493a; color: #b2493a; }

.team-alarm {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0.8rem 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  background: #b2493a;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  text-decoration: none;
  animation: team-alarm-puls 1s ease-in-out infinite alternate;
}
.team-alarm[hidden] { display: none; }
@keyframes team-alarm-puls { to { background: #8a2f22; } }
@media (prefers-reduced-motion: reduce) { .team-alarm { animation: none; } }

.team-badge {
  display: inline-block;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-alt);
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.team-badge--reservation {
  background: rgba(169, 102, 47, 0.14);
  color: #8a5425;
}

.team-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.team-stats div { display: flex; flex-direction: column; gap: 0.15rem; }
.team-stats dt { font-size: 0.8rem; color: var(--text-muted); order: 2; }
.team-stats dd { margin: 0; font-size: 1.4rem; font-weight: 700; color: var(--text); order: 1; }

/* Team-App — Buttons etwas edler als die flachen Website-Varianten: auf hellem Grund
   braucht es mehr Tiefe (Schatten) statt nur Farbe/Rand, um hochwertig zu wirken. */
body.team-app .btn {
  box-shadow: 0 1px 2px rgba(36, 31, 26, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

body.team-app .btn--primary {
  box-shadow: 0 10px 24px -10px rgba(169, 102, 47, 0.55);
}
body.team-app .btn--primary:hover {
  box-shadow: 0 14px 30px -10px rgba(169, 102, 47, 0.65);
}

body.team-app .btn--outline,
body.team-app .btn--ghost {
  background: #fff;
  border-color: rgba(36, 31, 26, 0.14);
}
body.team-app .btn--outline:hover,
body.team-app .btn--ghost:hover {
  box-shadow: 0 8px 18px -10px rgba(36, 31, 26, 0.25);
}

body.team-app .btn--danger {
  background: #fff;
}
body.team-app .btn--danger:hover {
  box-shadow: 0 8px 18px -10px rgba(178, 73, 58, 0.35);
}

/* Verlauf: Monatskalender + Status-Etiketten */
.team-kalender {
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 1.25rem;
}
.team-kalender__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 1.05rem;
}
.team-kalender__pfeil {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--text);
}
.team-kalender__pfeil:hover { background: var(--bg-alt); }
.team-kalender__raster {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.team-kalender__wt {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.2rem 0;
}
.team-kalender__tag {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text-muted);
}
.team-kalender__tag:hover { background: var(--bg-alt); }
.team-kalender__tag.hat-eintraege { color: var(--text); background: rgba(169, 102, 47, 0.08); }
.team-kalender__tag small {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  color: #8a5425;
}
.team-kalender__tag.is-heute { box-shadow: inset 0 0 0 2px var(--gold); }
.team-kalender__tag.is-gewaehlt { background: var(--gradient); color: #15100a; }
.team-kalender__tag.is-gewaehlt small { color: #15100a; }
.team-kalender__heute { margin-top: 0.6rem; width: 100%; }
.team-datum__label { margin: 0 0 1rem; }
.team-hinweis { font-size: 0.85rem; color: var(--text-muted); margin-top: -0.8rem; }

.team-status {
  display: inline-block;
  padding: 0.2em 0.7em;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-alt);
  color: var(--text-muted);
}
.team-status--erledigt,
.team-status--bestaetigt { background: rgba(60, 140, 80, 0.14); color: #2f7a43; }
.team-status--offen,
.team-status--angefragt { background: rgba(200, 150, 40, 0.16); color: #8a6414; }
.team-status--abgelehnt,
.team-status--storniert,
.team-status--abgesagt { background: rgba(196, 90, 70, 0.12); color: #b2493a; }

.team-subtabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.team-subtabs a {
  padding: 0.4em 0.9em;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow-wrap: anywhere;
  max-width: 100%;
}
.team-subtabs a.is-active { color: #15100a; background: var(--gradient); border-color: transparent; }

.team-mail-list {
  display: grid;
  gap: 0.6rem;
}
.team-mail-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1rem;
  padding: 0.9em 1.1em;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  overflow-wrap: anywhere;
}
.team-mail-item__von { font-weight: 700; grid-column: 1; }
.team-mail-item__datum { grid-column: 2; color: var(--text-muted); font-size: 0.85rem; white-space: nowrap; }
.team-mail-item__betreff { grid-column: 1 / -1; color: var(--text-muted); font-size: 0.92rem; }
.team-mail-item.is-unread { border-color: var(--gold); }
.team-mail-item.is-unread .team-mail-item__von { color: var(--gold); }

.team-order--done {
  padding: 0;
}
.team-order--done summary {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2em 1.4em;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--text-muted);
  list-style: none;
}
.team-order--done summary::-webkit-details-marker { display: none; }
.team-order--done summary::after {
  content: '▾';
  color: var(--gold);
  transition: transform 0.15s ease;
}
.team-order--done[open] summary::after { transform: rotate(180deg); }
.team-order--done summary strong { color: var(--text); }
.team-order--done .team-order__body {
  padding: 0 1.4em 1.2em;
}
.team-order--done .team-order__kunde { margin-top: -0.2rem; }

/* Schwebender Anruf-Button auf /reservieren — unten rechts, bewusst klein und mit Rand-Abstand,
   damit er auf keinem Viewport die Formularfelder überlappt (nur die Ecke, kein voller Balken). */
.call-fab {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 55;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #15100a;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.call-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(201, 163, 92, 0.55); }
.call-fab svg { width: 24px; height: 24px; }


/* Reveal-on-scroll (progressive enhancement, no-JS = fully visible) */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.no-js [data-reveal] { opacity: 1; transform: none; }
