:root{
  --gold: #d4af37;
  --gold-dark: #b8962e;
  --bg:#0b0b0c;
  --bg2:#101014;
  --text:#f3f3f3;
  --muted:#b9b9b9;
  --line:rgba(255,255,255,.12);

  --serif:"Playfair Display", ui-serif, Georgia, serif;
  --sans:"Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --max:1160px;

  /* ~50% bigger than before */
  --carousel-h: clamp(780px, 90vh, 1200px);
  --carousel-h-mobile: clamp(560px, 85vh, 980px);

  --media-bg:#0a0a0b;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 600px at 80% 0%, rgba(255,255,255,.04), transparent 55%),
    var(--bg);
}
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
.container{ width:min(var(--max), calc(100% - 48px)); margin:0 auto; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 20px;
  border:1px solid var(--line);
  border-radius:4px;
  background:rgba(255,255,255,.04);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
  color: var(--gold);
}
.btn:hover{ transform:translateY(-1px); background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.22); }
.btn--primary{ background:rgba(255,255,255,.10); }
.hide-mobile{ display:inline-flex; }

/* Topbar */
.topbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:50;
  backdrop-filter:blur(10px);
  background:linear-gradient(to bottom, rgba(11,11,12,.92), rgba(11,11,12,.72));
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:16px;
  padding:14px 0 10px;
  width:calc(100% - 40px);
  max-width:none;
}
.brand{
  grid-column:2;
  display:flex; align-items:baseline; gap:12px;
  white-space:nowrap;
  justify-self:center;
}
.brand__name{
  margin:0;
  font-family:var(--serif);
  font-size:72px;
  font-weight:500;
  line-height:108px;
  letter-spacing:.08em;
}
.brand__tag{ color:var(--muted); font-size:12px; }
.topbar__right{ display:flex; justify-content:flex-end; align-items:center; }
.topbar__booking,
.topbar__booking.btn--primary{
  color:#fff;
  border-color:#fff;
  background:transparent;
}
.topbar__booking:hover,
.topbar__booking.btn--primary:hover{
  color:#111;
  background:#fff;
  border-color:#fff;
}
.booking-label--short{ display:none; }
.quick{
  display:flex; gap:14px; flex-wrap:wrap;
  padding:0 0 12px;
}
.quick__item{
  color:var(--muted);
  font-size:13px;
  border-bottom:1px solid rgba(255,255,255,.14);
  padding-bottom:2px;
}
.quick__item:hover{ color:var(--text); border-bottom-color:rgba(255,255,255,.30); }

/* Hero */
.hero{
  position:relative;
  min-height:90vh;
  border-bottom:1px solid var(--line);
  overflow:hidden;
  display: flex;
  align-items: center;
}
.hero__bg{
  position:absolute; inset:0;
  background: #000;
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__inner{
  position:relative;
  padding:120px 0 44px;
  z-index: 2;
}
.kicker{
  color:var(--muted);
  letter-spacing:.22em;
  text-transform:uppercase;
  font-size:12px;
  margin:0 0 14px;
}
.hero__title{
  font-family:var(--serif);
  font-weight:500;
  letter-spacing:.02em;
  line-height:1.02;
  font-size:clamp(38px, 5.4vw, 74px);
  margin:0 0 14px;
  max-width:18ch;
}
.hero__lead{
  color:var(--muted);
  line-height:1.55;
  max-width:62ch;
  font-size:15px;
  margin:0 0 20px;
}
.hero__cta .btn--primary {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 600;
}
.hero__cta .btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

/* Gallery spacing */
.gallery{
  padding-top:24px;
}

/* Gallery title */
.gallery__title{
  padding:44px 0 14px;
  border-bottom:1px solid var(--line);
  opacity:0;
  transform:translateY(90px);
  transition:opacity 1s ease, transform 1.2s cubic-bezier(.16,.75,.2,1);
}
.gallery.is-in-view .gallery__title{
  opacity:1;
  transform:translateY(0);
}
.gallery__title .container{
  width:100%;
  max-width:none;
  padding-left:24px;
  padding-right:24px;
}
.gallery__title h2{
  margin:0;
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(26px, 3.1vw, 40px);
  letter-spacing:.02em;
}
.gallery__title p{
  margin:8px 0 0;
  color:var(--muted);
  max-width:70ch;
  font-size:14px;
  line-height:1.5;
}

/* Full-bleed */
.carousel--bleed{
  width:100vw;
  margin-left: calc(50% - 50vw);
}

/* Wrapper (non-scrolling) */
.carousel__viewport{
  position:relative;
  height: var(--carousel-h);
  background: var(--media-bg);
  overflow:hidden;
}

/* Scroller (scrolls horizontally) */
.carousel__scroller{
  height:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.carousel__scroller::-webkit-scrollbar{ display:none; }

/* Track: no gaps, edge-to-edge */
.carousel__track{
  height:100%;
  display:flex;
  gap:0;
  padding:0;
  align-items:stretch;
  transform:translate3d(0, var(--parallax-y, 0px), 0) scale(1.18);
  transform-origin:center;
  will-change:transform;
}

/* Slide width auto (based on image aspect ratio at fixed height) */
.carousel__slide{
  flex: 0 0 auto;
  width: auto;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  scroll-snap-align: start;
  padding:0;
}

/* Key: all images same height, width adapts automatically, no distortion */
.carousel__slide img{
  height:100%;
  width:auto;
  display:block;
  max-width: 100vw;
  object-fit: contain;
  object-position: center;
}

/* Controls bottom-center inside viewport */
.carousel__controls{
  position:absolute;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  z-index:5;

  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;

  padding:8px 10px;
  border-radius:999px;

  background: rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}

.carousel__btn{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: var(--text);
  display:grid;
  place-items:center;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  user-select:none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.carousel__btn:hover{
  background: rgba(0,0,0,.55);
  border-color: rgba(255,255,255,.30);
}
.carousel__btn:active{ transform: scale(.98); }

/* Portrait café film */
.cafe-film{
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:clamp(28px, 5vw, 64px) 20px;
  border-top:1px solid var(--line);
  background:#100e0c;
}
.cafe-film::before{
  content:"";
  position:absolute;
  inset:-40px;
  z-index:-1;
  background:linear-gradient(rgba(11,11,12,.58), rgba(11,11,12,.78)),
    url("../assets/cemanicafe-poster.jpg") center / cover no-repeat;
  filter:blur(24px);
  pointer-events:none;
}
.cafe-film__video{
  display:block;
  width:min(100%, 464px, 43.5vh);
  width:min(100%, 464px, 43.5svh);
  height:auto;
  aspect-ratio:29 / 52;
  object-fit:contain;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  box-shadow:0 24px 72px rgba(0,0,0,.5);
  background:#0a0a0b;
}
.cafe-film__video:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:4px;
}

/* Footer */
.footer{
  padding:34px 0 40px;
  border-top:1px solid var(--line);
  color:var(--muted);
  background:linear-gradient(to bottom, transparent, rgba(255,255,255,.03));
}
.footer__grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:18px;
  align-items:start;
}
.footer__title{
  font-family:var(--serif);
  font-size:28px;
  color:var(--text);
  margin:0 0 6px;
  font-weight:500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer__text{ margin:0; font-size:13px; line-height:1.6; }
.footer__links a{
  display:block;
  padding:8px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer__links a:hover{ color:var(--text); }
.footer__bottom{
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  margin-top:18px;
  font-size:13px;
  opacity:.9;
}
.to-top{ border-bottom:1px solid rgba(255,255,255,.14); padding-bottom:2px; }
.to-top:hover{ color:var(--text); border-bottom-color:rgba(255,255,255,.30); }
.footer__legal{ display:flex; align-items:flex-start; justify-content:flex-start; gap:12px; flex-wrap:wrap; }
.footer__imprint-btn{ color:#fff; border-color:rgba(255,255,255,.35); }

/* Imprint */
.imprint{ min-height:100vh; padding:72px 24px; }
.imprint__content{ width:min(760px, 100%); margin:0 auto; }
.imprint__back{ display:inline-block; margin-bottom:42px; color:var(--muted); }
.imprint__back:hover{ color:var(--text); }
.imprint h1{ margin:0 0 38px; font-family:var(--serif); font-size:clamp(40px, 6vw, 68px); font-weight:500; }
.imprint section{ padding:22px 0; border-top:1px solid var(--line); }
.imprint h2{ margin:0 0 10px; font-size:16px; font-weight:600; line-height:1.5; }
.imprint h2 span{ color:var(--muted); font-weight:400; }
.imprint p{ margin:0; color:var(--muted); line-height:1.75; }
.privacy-nav{ display:flex; gap:24px; flex-wrap:wrap; }
.privacy-copy h1{ font-size:clamp(30px, 5vw, 56px); overflow-wrap:anywhere; hyphens:auto; }
.privacy-copy p + p{ margin-top:14px; }
.privacy-copy a{ text-decoration:underline; text-underline-offset:3px; }
.privacy-copy .privacy-nav a{ text-decoration:none; }
.privacy-objection{ border-left:3px solid var(--gold); padding-left:20px !important; }
.privacy-bottom{ margin-top:32px; color:var(--muted); }
.booking-legal{ text-align:center; padding:0 18px 18px; }
.booking-legal a, .booking-card .tiny a{ text-decoration:underline; text-underline-offset:3px; }

/* Responsive */
@media (max-width: 920px){
  .footer__grid{ grid-template-columns:1fr; }
}

@media (max-width: 720px){
  .hide-mobile{ display:none; }
  .topbar__inner{ gap:6px; width:calc(100% - 24px); padding:8px 0; }
  .brand__name{ font-size:34px; line-height:64px; letter-spacing:.05em; }
  .topbar__booking{ padding:9px 10px; font-size:9px; letter-spacing:.06em; }
  .booking-label--long{ display:none; }
  .booking-label--short{ display:inline; }
  .hero__inner{ padding-top:92px; }

  .carousel__viewport{ height: var(--carousel-h-mobile); }
  .carousel__controls{ bottom:12px; padding:6px 8px; gap:10px; }
  .carousel__btn{ width:42px; height:42px; font-size:24px; }
}

@media (prefers-reduced-motion: reduce){
  .gallery__title{ opacity:1; transform:none; transition:none; }
  .carousel__track{ transform:none; }
}

/* ---------------------------
   BOOKING PAGE (Event Booking)
   --------------------------- */

.booking-page{
  background: #0b0b0c;
}

.booking{
  position:relative;
  min-height:100vh;
}

.booking__bg{
  position:fixed;
  inset:0;
  background:
    radial-gradient(900px 600px at 60% 30%, rgba(0,0,0,.10), rgba(0,0,0,.65)),
    linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.78)),
    url("../assets/cemanicafe-poster.jpg") center/cover no-repeat;
  filter: saturate(.95) contrast(1.05);
  transform: scale(1.02);
}

.booking__wrap{
  position:relative;
  z-index:1;
  min-height:100vh;
  display:grid;
  place-items:center;
  padding: 40px 18px;
}

.booking-honeypot{
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.booking-status:empty{ display:none; }
.booking-status[data-error="true"]{ color:#9b2424; }
.booking-card button:disabled{ opacity:.6; cursor:wait; }

.booking-card{
  width: min(760px, 94vw);
  background: rgba(255,255,255,.96);
  color: #111;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  overflow:hidden;
}

.booking-card__top{
  display:grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items:center;
  padding: 18px 22px;
}

.booking-card__back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: #111;
  font-size: 20px;
  cursor: pointer;
}

.booking-card__logo{
  text-align:center;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .02em;
}

.booking-card__right{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  align-items:center;
}

.booking-card__lang{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .9;
}

.booking-card__close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: #111;
  font-size: 26px;
  line-height: 1;
}

.booking-card__back:hover,
.booking-card__close:hover{
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.24);
}

.booking-card__chips{
  display:flex;
  gap:10px;
  justify-content:center;
  padding: 6px 22px 14px;
}

.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.16);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(255,255,255,.75);
}

.booking-card__divider{
  height:1px;
  background: rgba(0,0,0,.10);
}

.step{
  display:none;
  padding: 26px 26px 30px;
}
.step.is-active{ display:block; }

.step__title{
  margin: 8px 0 14px;
  text-align:center;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
}
.step__subtitle{
  margin: 0 0 16px;
  text-align:center;
  color: rgba(0,0,0,.62);
  font-size: 13px;
}

.pill-row{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin: 10px 0 18px;
}
.pill{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: #111;
  color:#fff;
  cursor:pointer;
  font-size: 16px;
}
.pill.is-active{ outline: 3px solid rgba(0,0,0,.12); }

.counter{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 12px;
  margin: 8px 0 18px;
}
.counter__btn{
  width: 54px;
  height: 54px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  color:#111;
  font-size: 22px;
  cursor:pointer;
}
.counter__value{
  min-width: 120px;
  height: 54px;
  border-radius: 4px;
  background: #111;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid var(--line);
}
.counter__value input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: #fff;
  text-align: center;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  outline: none;
}

.counter__value input::-webkit-outer-spin-button,
.counter__value input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.date-row{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin: 10px 0 14px;
}
.date-pill{
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.16);
  background: #fff;
  cursor:pointer;
  font-size: 13px;
}
.date-pill.is-active{
  background:#111;
  color:#fff;
}

.field-row{
  display:flex;
  justify-content:center;
  margin: 10px 0 18px;
}
.custom-event[hidden]{ display:none; }
.field{
  width: min(520px, 100%);
}
.field__label{
  display:block;
  font-size: 12px;
  color: rgba(0,0,0,.62);
  margin: 0 0 6px;
}
.field__input{
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.16);
  padding: 14px 16px;
  font-size: 14px;
  outline:none;
}
.field__input:focus{
  border-color: rgba(0,0,0,.35);
}
.field__textarea{
  border-radius: 18px;
  resize: vertical;
  min-height: 110px;
}

.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 10px auto 18px;
  width: min(560px, 100%);
}
.choice{
  text-align:left;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.14);
  background:#fff;
  cursor:pointer;
}
.choice:hover{ border-color: rgba(0,0,0,.26); }
.choice.is-active{
  background:#111;
  color:#fff;
}
.choice__title{
  display:block;
  font-weight: 700;
  margin-bottom: 4px;
}
.choice__sub{
  display:block;
  font-size: 13px;
  opacity: .75;
}

.step__actions{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 8px;
}

.action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background:#fff;
  color:#111;
  cursor:pointer;
  font-size: 14px;
  min-width: 180px;
}
.action--primary{
  background:#111;
  color:#fff;
  border-color:#111;
}

.tiny{
  text-align:center;
  color: rgba(0,0,0,.55);
  font-size: 12px;
  margin: 14px 0 0;
}
