:root{
  --bg: #0b0b0f;
  --panel: rgba(255,255,255,.10);
  --panel2: rgba(255,255,255,.12);
  --text: #f2f3f7;
  --muted: rgba(242,243,247,.75);
  --line: rgba(255,255,255,.12);
  --banana: #ffd54a;
  --pizza: #ff5b4a;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --max: 1160px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 20% 10%, rgba(255, 213, 74, .10), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(255, 91, 74, .10), transparent 55%),
    url("/assets/_img/moon-bg-right.jpg");
  background-size: auto, auto, cover;
  background-position: center, center, 70% center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: scroll, scroll, fixed;
  color: var(--text);
}

/* Moon position tuning */
@media (min-width: 900px){
  body{ background-position: center, center, 80% center; }
}
@media (min-width: 1200px){
  body{ background-position: center, center, 85% center; }
}


/* Utilities (CSP friendly: replaces inline styles) */
.fw900{font-weight:900;}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .95; }

code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .95em;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11,11,15,.68);
  border-bottom: 1px solid var(--line);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.brand__mark{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(255,213,74,.22), rgba(255,91,74,.18));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.brand__name{
  font-family: Fredoka, Inter, sans-serif;
  font-weight: 600;
  letter-spacing: .2px;
}

.nav{
  display:flex;
  gap: 18px;
  font-weight: 600;
  color: rgba(242,243,247,.86);
}
.nav a{
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(255,255,255,.10);
}

.navToggle{
  display:none;
  width: 46px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10);
  cursor: pointer;
}
.navToggle span{
  display:block;
  height: 2px;
  width: 18px;
  background: rgba(242,243,247,.9);
  margin: 5px auto;
  border-radius: 10px;
}

.mobileNav{
  border-top: 1px solid var(--line);
  padding: 10px 0 14px;
}
.mobileNav a{
  display:block;
  padding: 12px 20px;
  color: rgba(242,243,247,.90);
  font-weight: 600;
}
.mobileNav a:hover{
  background: rgba(255,255,255,.10);
}

.hero{
  padding: 56px 0 34px;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: start;
}
.badge{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,213,74,.12);
  border: 1px solid rgba(255,213,74,.25);
  color: rgba(255, 213, 74, .95);
  font-weight: 700;
  letter-spacing: .2px;
}
h1{
  margin: 14px 0 8px;
  font-family: Fredoka, Inter, sans-serif;
  letter-spacing: .2px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.05;
}
.hero__subtitle{
  display:block;
  font-size: .55em;
  margin-top: 10px;
  color: rgba(242,243,247,.86);
  font-weight: 600;
  letter-spacing: .1px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.11);
  color: rgba(242,243,247,.95);
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

/* Buttons inside forms sometimes inherit browser defaults; force white text */
button.btn,
button.btn--primary{
  color: rgba(242,243,247,.95) !important;
}
.btn:hover{
  transform: translateY(-1px);
  transition: transform .12s ease;
}
.btn--primary{
  background: linear-gradient(135deg, rgba(255,213,74,.20), rgba(255,91,74,.22));
  border: 1px solid rgba(255,213,74,.22);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.btn--ghost{
  background: rgba(255,255,255,.12);
}

/* ✅ readonly textarea (Emplacement auto) */
.fieldTextarea{
  resize: none;
  line-height: 1.35;
  white-space: pre-line;
  min-height: 54px;
}

/* ✅ Pfeil im Datepicker Input unten rechts */
.fieldInput--picker{
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7 10l5 5l5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px bottom 10px;
  background-size: 18px 18px;
}

/* ✅ Scroll-to-top Monkey Button (Monkey-Style, kein Emoji-Blau) */
.mkTopBtn{
  position: fixed;
  right: 16px;
  bottom: 66px; /* ✅ vorher 16px, jetzt +50px höher */
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255,213,74,.28);
  background:
    radial-gradient(900px 320px at 15% 10%, rgba(255,213,74,.18), transparent 55%),
    radial-gradient(700px 320px at 85% 30%, rgba(255,91,74,.14), transparent 60%),
    rgba(0,0,0,.30);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  cursor: pointer;
  z-index: 70;

  /* Monkey layout */
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 1px;

  /* versteckt das ⬆️ Emoji aus dem HTML */
  font-size: 0;
  color: transparent;
}
.mkTopBtn::before{
  content: "🐒";
  font-size: 22px;
  line-height: 1;
}
.mkTopBtn::after{
  content: "↑";
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  color: rgba(242,243,247,.95);
}
.mkTopBtn:hover{
  transform: translateY(-2px);
  transition: transform .12s ease;
}
.mkTopBtn:active{
  transform: translateY(0px);
}

/* ✅ Hero / Status Boxes wieder als echte Boxen */
.mkNotice{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  color: rgba(242,243,247,.92);
}
.mkNotice--info{
  border-color: rgba(255,213,74,.22);
  background: linear-gradient(135deg, rgba(255,213,74,.10), rgba(255,255,255,.12));
}
.mkNotice--status{
  border-color: rgba(255,91,74,.20);
  background: linear-gradient(135deg, rgba(255,91,74,.10), rgba(255,255,255,.12));
}
.mkNotice__title{
  font-weight: 900;
  margin-bottom: 6px;
}
.mkNotice__text{
  color: rgba(242,243,247,.90);
  line-height: 1.35;
}
.mkNotice__actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* ✅ Monkey Datepicker (mkDP) */
.mkDP{
  position: absolute;
  z-index: 9999;
  width: min(360px, calc(100vw - 24px));
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(900px 320px at 15% 10%, rgba(255,213,74,.14), transparent 55%),
    radial-gradient(700px 320px at 85% 30%, rgba(255,91,74,.12), transparent 60%),
    rgba(11,11,15,.92);
  box-shadow: 0 22px 70px rgba(0,0,0,.60);
  backdrop-filter: blur(14px);
  padding: 12px;
}

.mkDP__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 10px;
}
.mkDP__title{
  font-family: Fredoka, Inter, sans-serif;
  font-weight: 700;
  letter-spacing: .2px;
}
.mkDP__nav{
  display:flex;
  gap: 8px;
}
.mkDP__btn{
  width: 40px;
  height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10);
  color: rgba(242,243,247,.95);
  cursor: pointer;
  font-weight: 900;
}
.mkDP__btn:hover{
  background: rgba(255,255,255,.10);
}

.mkDP__hint{
  margin: 2px 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,213,74,.18);
  background: rgba(255,213,74,.08);
  color: rgba(242,243,247,.92);
  font-weight: 700;
  font-size: .92rem;
}

.mkDP__week{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 0 2px 8px;
  color: rgba(242,243,247,.70);
  font-weight: 800;
  font-size: .85rem;
  text-align:center;
}
.mkDP__grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 0 2px 2px;
}
.mkDP__day{
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.10);
  color: rgba(242,243,247,.95);
  cursor: pointer;
  font-weight: 900;
}
.mkDP__day:hover{
  background: rgba(255,255,255,.10);
}
.mkDP__day.is-today{
  border-color: rgba(255,213,74,.32);
}
.mkDP__day.is-selected{
  background: linear-gradient(135deg, rgba(255,213,74,.22), rgba(255,91,74,.18));
  border-color: rgba(255,213,74,.28);
}
.mkDP__day.is-disabled{
  opacity: .45;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Mobile nav toggle visible under 900px */
@media (max-width: 900px){
  .nav{ display:none; }
  .navToggle{ display:block; }
  .hero__inner{ grid-template-columns: 1fr; }
}


/* --- Communication choices (Checkout) --- */
.commChoices{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-top:6px;
  padding:10px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.06);
}
.commChoice{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.20);
  cursor:pointer;
  user-select:none;
}
.commChoice .commText{ flex: 1 1 auto; }
.commChoice .commIcon{
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 18px;
}
.commChoice.is-selected{
  background: rgba(0, 255, 120, .20);
  border-color: rgba(0, 255, 120, .65);
  box-shadow: 0 0 0 2px rgba(0, 255, 120, .20);
}
.commChoice.is-selected .commIcon{
  background: rgba(0, 255, 120, .25);
  border-color: rgba(0, 255, 120, .55);
}
.commChoice input{
  width:18px;
  height:18px;
}
.commChoice small{
  opacity:.8;
  font-weight:600;
  margin-left:6px;
}
@media (max-width: 560px){
  .commChoices{ grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   SMS thread (admin/order.php)
----------------------------------------------------------- */
.smsThread{
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.10);
  max-height: 360px;
  overflow: auto;
}
.smsBubble{
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10);
  margin: 10px 0;
}
.smsBubble--out{
  margin-left: auto;
  background: rgba(0, 255, 120, .12);
  border-color: rgba(0, 255, 120, .35);
}
.smsBubble--in{
  margin-right: auto;
  background: rgba(255,255,255,.10);
}
.smsBubble__meta{
  font-size: 12px;
  opacity: .8;
  margin-bottom: 6px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.smsBubble__body{
  font-size: 15px;
  line-height: 1.35;
  white-space: normal;
}
.smsStatus{ font-weight: 800; }
.smsError{
  margin-top: 8px;
  font-size: 12px;
  opacity: .92;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 70, 70, .12);
  border: 1px solid rgba(255, 70, 70, .35);
}
.smsComposer{ margin-top: 12px; }

/* ------------------------------------------------------------
   Guided order flow (Demande): rot = noch gesperrt, grün = next/done
   Axel-style: der Kunde läuft von oben nach unten wie auf Schienen 🐒
------------------------------------------------------------ */

@keyframes mkBlinkGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 102, .0); }
  50%      { box-shadow: 0 0 0 4px rgba(0, 255, 102, .25); }
}

@keyframes mkBlinkRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 70, 70, .0); }
  50%      { box-shadow: 0 0 0 4px rgba(255, 70, 70, .25); }
}

/* Wir setzen Klassen direkt auf input/select/textarea oder auf Container */
.guide-next {
  border-color: rgba(0, 255, 102, .95) !important;
  animation: mkBlinkGreen 1s infinite;
}

.guide-locked {
  border-color: rgba(255, 70, 70, .95) !important;
  animation: mkBlinkRed 1s infinite;
}

.guide-done {
  border-color: rgba(0, 255, 102, .95) !important;
  box-shadow: 0 0 0 3px rgba(0, 255, 102, .10);
}

.guide-optional {
  border-color: rgba(0, 255, 102, .55) !important;
}

/* Communication choices Container (Radios) */
.commChoices.guide-next,
.commChoices.guide-locked,
.commChoices.guide-done,
.commChoices.guide-optional {
  border-width: 2px;
}


/* Important admin message overrides the automatic status box */
@keyframes mkPulseRed {
  0% { box-shadow: 0 18px 50px rgba(0,0,0,.22), 0 0 0 0 rgba(255,70,70,.22); border-color: rgba(255,70,70,.35); }
  70% { box-shadow: 0 18px 50px rgba(0,0,0,.22), 0 0 0 10px rgba(255,70,70,0); border-color: rgba(255,70,70,.55); }
  100% { box-shadow: 0 18px 50px rgba(0,0,0,.22), 0 0 0 0 rgba(255,70,70,0); border-color: rgba(255,70,70,.35); }
}
.mkNotice--important{
  border-color: rgba(255,70,70,.45) !important;
  background: linear-gradient(135deg, rgba(255,70,70,.14), rgba(255,255,255,.12)) !important;
  animation: mkPulseRed 1.6s ease-out infinite;
}


/* =============================
   Monkey Menu (hero box)
   ============================= */

.boardPreview{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,213,74,.35);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.10) inset;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.boardPreview__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 10px;
  background: linear-gradient(135deg, rgba(255,213,74,.12), rgba(255,255,255,.02));
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.boardTitle{
  font-family: Fredoka, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .6px;
  font-size: 18px;
}

.boardSub{
  margin-top: 6px;
  color: rgba(242,243,247,.78);
  font-size: 13px;
}

.boardPreview__media{
  flex: 0 0 auto;
  position: relative;
  width: 300px;
  max-width: 42vw;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px solid rgba(255,213,74,.35);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.boardSoundBtn{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:2;
  padding:8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 12px;
  cursor:pointer;
  backdrop-filter: blur(8px);
}
.boardSoundBtn:hover{ opacity:.95; }
.boardSoundBtn[hidden]{ display:none !important; }


.boardVideo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.boardPreview__list{
  padding: 14px 18px 8px;
}

.boardLine{
  display:flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,.12);
  font-weight: 600;
}
.boardLine:last-child{ border-bottom: none; }

.boardPreview__note{
  padding: 10px 18px 18px;
  color: rgba(242,243,247,.72);
  font-size: 13px;
}

@media (max-width: 820px){
  .boardPreview__top{ flex-direction: column; }
  .boardPreview__media{ width: 100%; max-width: 100%; }
}


/* =============================
   Cookie bar (EU)
   ============================= */

.cookieBar{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}

.cookieBar__inner{
  width: min(var(--max), 100%);
  margin: 0 auto;
  background: rgba(10,10,14,.78);
  border: 1px solid rgba(255,213,74,.28);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookieBar__title{
  font-weight: 800;
  margin-bottom: 4px;
}

.cookieBar__desc{
  color: rgba(242,243,247,.78);
  font-size: 13px;
  line-height: 1.3;
}

.cookieBar__actions{
  display:flex;
  gap: 10px;
  flex: 0 0 auto;
}

@media (max-width: 720px){
  .cookieBar__inner{ flex-direction: column; align-items: stretch; }
  .cookieBar__actions{ justify-content: stretch; }
  .cookieBar__actions .btn{ width: 100%; }
}


/* Monkey Menu video controls */
.boardExpandBtn{
  position:absolute;
  left:10px;
  bottom:10px;
  z-index:2;
  padding:8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 12px;
  cursor:pointer;
  backdrop-filter: blur(8px);
}
.boardExpandBtn:hover{ opacity:.95; }
.boardExpandBtn[hidden]{ display:none !important; }

/* Monkey lightbox */
.mkLightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
}
.mkLightbox[hidden]{ display:none; }
.mkLightbox__backdrop{
  position: absolute;
  inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}
.mkLightbox__panel{
  position: relative;
  width: min(920px, 92vw);
  border-radius: 22px;
  border: 1px solid rgba(255,213,74,.35);
  background: rgba(15,15,20,.88);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  overflow: hidden;
}
.mkLightbox__video{
  width: 100%;
  height: auto;
  max-height: 78vh;
  display:block;
  object-fit: contain;
  background: #000;
}
.mkLightbox__actions{
  display:flex;
  gap:10px;
  padding: 12px;
  justify-content: center;
}
.mkLightbox__btn{
  padding:10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 13px;
  cursor:pointer;
}
.mkLightbox__btn:hover{ opacity:.95; }
.mkLightbox__close{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  padding:8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  cursor:pointer;
}
.mkLightbox__close:hover{ opacity:.95; }

body.mkNoScroll{ overflow: hidden; }


/* === Monkey Balanced Blur Upgrade === */

/* Slightly darker moon overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
    pointer-events: none;
    z-index: -1;
}

/* Main Monkey video box keeps stronger blur */
.monkey-menu {
    backdrop-filter: blur(12px);
}

/* All other boxes get elegant lighter blur */
.box,
.card,
.panel,
.order-box,
.info-box,
[class*="box"]:not(.monkey-menu),
[class*="card"]:not(.monkey-menu) {
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.68);
}



/* === FIX9: Bottom align Prochain Emplacement & Monkey Menu === */
.hero__inner{
  align-items: stretch; /* make both columns same height */
}
.hero__left,
.hero__right{
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.hero__left .mkNotice--status{
  margin-top:auto; /* push status box to bottom of left column */
}
.hero__right .boardPreview{
  margin-top:auto; /* push monkey menu box to bottom of right column */
}




/* === FIX: Transparent product media icon === */
.imgBtn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-left: 6px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #ffcc00;
  display: inline-flex;
  align-items: center;
}

.imgBtn:hover {
  transform: scale(1.15);
  opacity: 0.9;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.6);
}

.imgBtn:focus {
  outline: none;
}

