/* ==========================================================================
   Levio Flow — Marketing Landing
   Palette: Bordeaux · Forest Green · Gold
   ========================================================================== */

:root {
  --bordeaux-950: #1a0509;
  --bordeaux-900: #2b0a12;
  --bordeaux-800: #4a0f1f;
  --bordeaux-700: #6b1428;
  --bordeaux-600: #8a1c35;
  --green-950: #04110c;
  --green-900: #0a1f17;
  --green-800: #0f2e22;
  --green-700: #154132;
  --green-600: #1d5a45;
  --gold-300: #f3dfa6;
  --gold-400: #e6c77a;
  --gold-500: #c9a24e;
  --gold-600: #a8822f;
  --ink: #0b0a0a;
  --bg: #0c0708;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(230, 199, 122, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6efe6;
  --text-dim: #c9bdb0;
  --text-mute: #8f8378;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-xl: 0 40px 120px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
  --gold-grad: linear-gradient(115deg, #a8822f 0%, #f3dfa6 35%, #c9a24e 55%, #fff1c9 70%, #a8822f 100%);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--gold-500); color: var(--bordeaux-950); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Ambient background ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(138, 28, 53, .45), transparent 60%),
    radial-gradient(1000px 700px at -10% 30%, rgba(21, 65, 50, .55), transparent 60%),
    radial-gradient(900px 600px at 60% 110%, rgba(107, 20, 40, .35), transparent 60%),
    var(--bg);
}
.ambient .orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  animation: drift 26s var(--ease) infinite alternate;
}
.orb.o1 { width: 520px; height: 520px; background: #6b1428; top: -120px; right: -80px; }
.orb.o2 { width: 460px; height: 460px; background: #154132; top: 40%; left: -160px; animation-delay: -8s; }
.orb.o3 { width: 300px; height: 300px; background: #a8822f; top: 70%; right: 10%; opacity: .18; animation-delay: -14s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.12); }
  100% { transform: translate(-40px, 50px) scale(.95); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 100;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--gold-grad);
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(14, 7, 9, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.header .container { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 14px; flex: none; white-space: nowrap; }
.logo picture, .logo img { display: block; }
.logo-emblem {
  height: 40px; width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)) drop-shadow(0 0 16px rgba(201, 162, 78, .12));
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.logo-word {
  font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; padding-top: 2px;
  background: linear-gradient(180deg, #f3dfa6 0%, #d6b061 55%, #a8822f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo:hover .logo-emblem { transform: translateY(-1px); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(230, 199, 122, .3)); }
.footer .logo { gap: 18px; }
.footer .logo-emblem { height: 58px; }
.footer .logo-word { font-size: 30px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--text-dim); }
.nav a { position: relative; transition: color .3s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
  background: var(--gold-400); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  display: flex; border: 1px solid var(--line-soft); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 700;
}
.lang button {
  border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; color: var(--text-mute); letter-spacing: .06em;
}
.lang button.active { background: var(--surface-2); color: var(--gold-300); }
.burger { display: none; background: none; border: 1px solid var(--line-soft); border-radius: 12px; width: 42px; height: 42px; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 4px auto; transition: transform .3s; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 26px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  border: 0; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-gold {
  color: #2a1606;
  background: linear-gradient(120deg, #b88d3a, #f3dfa6 45%, #d6b061 70%, #b88d3a);
  background-size: 220% 100%;
  box-shadow: 0 10px 30px -8px rgba(201, 162, 78, .55), inset 0 1px 0 rgba(255, 255, 255, .6);
  animation: goldflow 6s linear infinite;
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(230, 199, 122, .7), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-gold:hover::after { transform: translateX(120%); }
@keyframes goldflow { to { background-position: -220% 0; } }
.btn-ghost {
  color: var(--text); background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-lg { --pad: 18px 34px; font-size: 16px; }
.btn-sm { --pad: 10px 18px; font-size: 14px; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-400);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h-display {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; line-height: 1.04;
  font-size: clamp(46px, 6.6vw, 92px); margin: 18px 0 22px;
}
.h-section {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.1;
  font-size: clamp(36px, 5.2vw, 66px); margin: 14px 0 18px;
}
.gold-text {
  background: var(--gold-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -200% center; } }
.italic { font-style: italic; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-dim); max-width: 620px; }
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.section-head .lead { margin-inline: auto; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.js .split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.split.in .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 60px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero .lead { margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-mute); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: "✦ "; color: var(--gold-500); }
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--text-dim);
}
.badge-pill b {
  background: linear-gradient(120deg, var(--bordeaux-600), var(--green-600)); color: var(--gold-300);
  padding: 3px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .08em;
}

/* Paper sheets flying in hero */
.papers { position: absolute; inset: 96px 0 0 0; pointer-events: none; z-index: 0; }
.paper {
  position: absolute; width: 46px; height: 60px; border-radius: 4px;
  background: linear-gradient(180deg, #f4ede0, #e3d7c3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
  opacity: 0; animation: paperfly linear infinite;
}
.paper::before {
  content: ""; position: absolute; inset: 9px 8px auto; height: 26px;
  background: repeating-linear-gradient(180deg, rgba(60, 40, 30, .35) 0 2px, transparent 2px 7px);
}
.paper::after {
  content: ""; position: absolute; right: 7px; bottom: 7px; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(138, 28, 53, .6);
}
@keyframes paperfly {
  0% { transform: translate(0, -10vh) rotate(0deg); opacity: 0; }
  10% { opacity: .42; }
  80% { opacity: .28; }
  100% { transform: translate(var(--dx, 80px), 110vh) rotate(var(--rot, 340deg)); opacity: 0; }
}
.hero > .container { position: relative; z-index: 1; }

/* ---------- App mockup (screens) ---------- */
.mockup-wrap { perspective: 1600px; position: relative; }
.mockup {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, #191012, #0d1512);
  box-shadow: var(--shadow-xl), 0 0 120px -40px rgba(201, 162, 78, .35);
  transform: rotateY(-12deg) rotateX(6deg);
  transform-style: preserve-3d; transition: transform .6s var(--ease);
  font-size: 12px;
}
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, .02); }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a2a2d; }
.mockup-bar i:nth-child(1) { background: #8a1c35; }
.mockup-bar i:nth-child(2) { background: #c9a24e; }
.mockup-bar i:nth-child(3) { background: #1d5a45; }
.mockup-bar .url { margin-left: 14px; flex: 1; max-width: 260px; padding: 4px 12px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--text-mute); font-size: 11px; }
.app { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
.app-side { padding: 16px 12px; border-right: 1px solid var(--line-soft); background: rgba(0, 0, 0, .2); }
.app-side .s-logo { font-family: var(--font-display); font-size: 15px; margin-bottom: 18px; color: var(--gold-300); }
.app-side .s-item { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; color: var(--text-mute); margin-bottom: 3px; }
.app-side .s-item.active { background: linear-gradient(90deg, rgba(201, 162, 78, .18), transparent); color: var(--gold-300); }
.app-side .s-item i { width: 12px; height: 12px; border-radius: 4px; background: currentColor; opacity: .5; }
.app-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-top h4 { margin: 0; font-size: 15px; font-family: var(--font-display); font-weight: 600; }
.chip { padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; background: rgba(29, 90, 69, .35); color: #8fe0bb; border: 1px solid rgba(143, 224, 187, .25); }
.chip.gold { background: rgba(201, 162, 78, .15); color: var(--gold-300); border-color: rgba(243, 223, 166, .3); }
.chip.red { background: rgba(138, 28, 53, .3); color: #f2a7b7; border-color: rgba(242, 167, 183, .25); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-soft); }
.kpi small { color: var(--text-mute); font-size: 10px; }
.kpi b { display: block; font-size: 17px; margin-top: 2px; }
.kpi b.up { color: #8fe0bb; }
.kpi b.gold { color: var(--gold-300); }
.sched { border-radius: 10px; border: 1px solid var(--line-soft); overflow: hidden; }
.sched-row { display: grid; grid-template-columns: 70px repeat(7, 1fr); border-bottom: 1px solid var(--line-soft); }
.sched-row:last-child { border-bottom: 0; }
.sched-row > div { padding: 6px 4px; font-size: 10px; color: var(--text-mute); min-height: 26px; position: relative; }
.sched-row.head > div { color: var(--text-dim); font-weight: 700; text-align: center; background: rgba(255, 255, 255, .02); }
.sched-row .name { color: var(--text-dim); font-weight: 600; padding-left: 8px; }
.shift { display: block; height: 14px; border-radius: 5px; font-size: 9px; line-height: 14px; text-align: center; color: #fff; font-weight: 700; }
.shift.f { background: linear-gradient(90deg, #1d5a45, #2b7a5e); }
.shift.s { background: linear-gradient(90deg, #6b1428, #8a1c35); }
.shift.n { background: linear-gradient(90deg, #a8822f, #c9a24e); color: #2a1606; }
.anim-shift .shift { transform: scaleX(0); transform-origin: left; animation: grow .8s var(--ease) forwards; }
@keyframes grow { to { transform: scaleX(1); } }

.float-card {
  position: absolute; z-index: 3; padding: 12px 14px; border-radius: 14px; font-size: 13px;
  background: rgba(22, 14, 16, .82); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .7);
  display: flex; align-items: center; gap: 10px;
  animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; flex: none; }
.float-card small { display: block; color: var(--text-mute); font-size: 11px; }
.fc1 { top: -7%; left: -6%; }
.fc1 .ic { background: rgba(29, 90, 69, .5); }
.fc2 { bottom: 14%; left: -12%; animation-delay: -2s; }
.fc2 .ic { background: rgba(138, 28, 53, .5); }
.fc3 { top: 42%; right: -6%; animation-delay: -4s; }
.fc3 .ic { background: rgba(201, 162, 78, .3); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Marquee ---------- */
.marquee { padding: 34px 0; border-block: 1px solid var(--line-soft); overflow: hidden; position: relative; background: rgba(0, 0, 0, .2); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); color: var(--text-mute); white-space: nowrap; display: flex; align-items: center; gap: 52px; }
.marquee-item s { text-decoration-color: var(--bordeaux-600); text-decoration-thickness: 3px; }
.marquee-item::after { content: "✦"; color: var(--gold-500); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pain / humor ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-soft); overflow: hidden;
}
.stat-card .num { font-family: var(--font-display); font-size: 52px; line-height: 1; }
.stat-card p { margin: 10px 0 0; color: var(--text-dim); font-size: 15px; }
.stat-card .joke { margin-top: 14px; font-size: 13px; color: var(--text-mute); font-style: italic; }
.stat-card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 28, 53, .35), transparent 70%);
}

/* Before / after */
.ba {
  margin-top: 70px; position: relative; border-radius: 28px; overflow: hidden; height: 460px;
  border: 1px solid var(--line); box-shadow: var(--shadow-xl); user-select: none; touch-action: pan-y;
}
.ba-pane { position: absolute; inset: 0; display: grid; place-items: center; }
.ba-before {
  background:
    radial-gradient(circle at 70% 30%, rgba(120, 80, 40, .25), transparent 40%),
    repeating-linear-gradient(45deg, #2a2320 0 2px, #251f1c 2px 14px);
}
.ba-after {
  background: radial-gradient(circle at 50% 40%, rgba(29, 90, 69, .55), transparent 60%), linear-gradient(160deg, #0f2e22, #1a0509);
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.ba-label {
  position: absolute; top: 20px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px);
}
.ba-before .ba-label { left: 20px; color: #f2a7b7; }
.ba-after .ba-label { right: 20px; color: #8fe0bb; }
.mess { position: relative; width: min(560px, 90%); height: 340px; }
.note {
  position: absolute; padding: 14px 16px; width: 180px; font-family: "Caveat", "Comic Sans MS", cursive; font-size: 21px; line-height: 1.15;
  color: #2a1d12; box-shadow: 0 12px 24px rgba(0, 0, 0, .45);
}
.note.y { background: #f6e27a; }
.note.p { background: #f4b6c2; }
.note.w { background: #f2ece0; }
.note.b { background: #b7d7f0; }
.n1 { top: 0; left: 4%; transform: rotate(-8deg); }
.n2 { top: 24px; right: 2%; transform: rotate(6deg); }
.n3 { top: 150px; left: 22%; transform: rotate(3deg); width: 220px; }
.n4 { bottom: 0; left: 0; transform: rotate(-4deg); }
.n5 { bottom: 10px; right: 6%; transform: rotate(-10deg); }
.coffee {
  position: absolute; width: 110px; height: 110px; border-radius: 50%; top: 110px; right: 18%;
  border: 9px solid rgba(110, 66, 30, .45); filter: blur(.6px);
}
.clean { width: min(480px, 88%); }
.clean .card {
  padding: 22px; border-radius: 18px; background: rgba(10, 20, 16, .75); border: 1px solid rgba(143, 224, 187, .2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.clean .row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.clean .row:last-child { border-bottom: 0; }
.clean .ok { color: #8fe0bb; font-weight: 700; font-size: 13px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--gold-grad); z-index: 4; transform: translateX(-1px);
  pointer-events: none;
}
.ba-handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #2a1606;
  background: linear-gradient(140deg, #f3dfa6, #c9a24e); box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 5; cursor: ew-resize; margin: 0; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; padding: 32px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid var(--line-soft);
  transition: transform .5s var(--ease), border-color .5s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(230, 199, 122, .13), transparent 45%);
}
.tile:hover { border-color: var(--line); transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }
.tile > * { position: relative; }
.tile.span-4 { grid-column: span 4; }
.tile.span-3 { grid-column: span 3; }
.tile.span-2 { grid-column: span 2; }
.tile.green { background: linear-gradient(160deg, rgba(21, 65, 50, .55), rgba(10, 31, 23, .3)); }
.tile.wine { background: linear-gradient(160deg, rgba(107, 20, 40, .5), rgba(43, 10, 18, .3)); }
.tile-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(243, 223, 166, .2), rgba(201, 162, 78, .05)); border: 1px solid var(--line);
}
.tile-icon svg { width: 26px; height: 26px; stroke: var(--gold-300); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin: 0 0 10px; }
.tile p { margin: 0; color: var(--text-dim); font-size: 15.5px; }
.tile ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--text-dim); }
.tile li::before { content: "✓"; color: var(--gold-400); margin-right: 10px; font-weight: 700; }
.mini-sched { margin-top: 24px; }

/* order list mini */
.orders { margin-top: 22px; display: grid; gap: 8px; }
.order { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-soft); font-size: 13.5px; }
.order .who { display: flex; align-items: center; gap: 10px; }
.order .av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; background: var(--surface-2); }

/* ---------- Showcase tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.tab {
  border: 1px solid var(--line-soft); background: var(--surface); padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--text-dim);
  transition: all .35s var(--ease);
}
.tab:hover { color: var(--text); border-color: var(--line); }
.tab.active { color: #2a1606; background: linear-gradient(120deg, #c9a24e, #f3dfa6); border-color: transparent; }
.showcase { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: center; }
.panel { display: none; }
.panel.active { display: contents; }
.panel .copy h3 { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; margin: 10px 0 14px; line-height: 1.15; }
.panel .copy p { color: var(--text-dim); }
.panel .copy ul { padding: 0; list-style: none; display: grid; gap: 12px; margin: 22px 0 0; }
.panel .copy li { display: flex; gap: 12px; color: var(--text-dim); }
.panel .copy li b { color: var(--text); }
.panel .copy li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 12px var(--gold-400); }
.panel .screen { animation: screenIn .8s var(--ease); }
@keyframes screenIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.screen .mockup { transform: none; }
.screen .app { min-height: 420px; }
.table { border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.table .tr { display: grid; grid-template-columns: 1.6fr 1fr .8fr 1fr; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); font-size: 11px; align-items: center; }
.table .tr:last-child { border-bottom: 0; }
.table .tr.th { color: var(--text-mute); font-weight: 700; background: rgba(255, 255, 255, .02); }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--green-600), #8fe0bb); }
.bar i.low { background: linear-gradient(90deg, var(--bordeaux-600), #f2a7b7); }
.checklist { display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-soft); font-size: 11.5px; }
.check .box { width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; background: var(--green-600); color: #fff; flex: none; }
.check .box.todo { background: transparent; border: 1.5px solid var(--text-mute); }
.check .t { margin-left: auto; color: var(--text-mute); font-size: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Bureaucracy translator ---------- */
.translator { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.tr-row {
  display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; gap: 12px;
  padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(107, 20, 40, .22), rgba(255, 255, 255, .02) 50%, rgba(21, 65, 50, .28));
  transition: transform .4s var(--ease), border-color .4s;
}
.tr-row:hover { transform: scale(1.015); border-color: var(--line); }
.tr-row .de { font-family: var(--font-display); font-size: 19px; color: var(--text-dim); }
.tr-row .de small { display: block; font-family: var(--font-sans); font-size: 12px; color: var(--text-mute); margin-top: 4px; letter-spacing: .04em; }
.tr-row .arrow-c { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin: auto; background: linear-gradient(140deg, #f3dfa6, #c9a24e); color: #2a1606; font-weight: 900; }
.tr-row .lf { font-weight: 600; }
.tr-row .lf small { display: block; font-weight: 400; color: #8fe0bb; font-size: 13px; margin-top: 4px; }

/* ---------- Audience ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud {
  position: relative; border-radius: 26px; overflow: hidden; min-height: 460px; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line-soft); transition: transform .6s var(--ease);
}
.aud:hover { transform: translateY(-8px); }
.aud .bg { position: absolute; inset: 0; z-index: 0; transition: transform 1.2s var(--ease); }
.aud:hover .bg { transform: scale(1.06); }
.aud > *:not(.bg) { position: relative; z-index: 1; }
.aud .emoji { font-size: 56px; margin-bottom: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }
.aud h3 { font-family: var(--font-display); font-size: 32px; margin: 0 0 10px; font-weight: 600; }
.aud p { color: var(--text-dim); margin: 0 0 18px; font-size: 15.5px; }
.aud .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.aud .tags span { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-soft); color: var(--text-dim); }
.bg-rest { background: radial-gradient(circle at 30% 20%, rgba(201, 162, 78, .3), transparent 50%), linear-gradient(170deg, #4a0f1f, #1a0509 70%); }
.bg-hotel { background: radial-gradient(circle at 70% 20%, rgba(243, 223, 166, .22), transparent 50%), linear-gradient(170deg, #154132, #04110c 70%); }
.bg-cafe { background: radial-gradient(circle at 40% 25%, rgba(242, 167, 183, .2), transparent 50%), linear-gradient(170deg, #2b0a12, #0a1f17 75%); }

/* ---------- Calculator ---------- */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 30px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-xl);
}
.calc-in { padding: 46px; background: rgba(255, 255, 255, .03); }
.calc-out {
  padding: 46px; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(circle at 80% 0%, rgba(201, 162, 78, .25), transparent 55%), linear-gradient(160deg, #4a0f1f, #0f2e22);
}
.field { margin-bottom: 30px; }
.field label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 12px; font-size: 15px; }
.field label output { color: var(--gold-300); font-family: var(--font-display); font-size: 22px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold-500) var(--fill, 50%), rgba(255, 255, 255, .1) var(--fill, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(140deg, #f3dfa6, #c9a24e); border: 3px solid #1a0509; box-shadow: 0 0 0 1px var(--gold-400), 0 6px 16px rgba(0, 0, 0, .5); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(140deg, #f3dfa6, #c9a24e); border: 3px solid #1a0509; cursor: grab; }
.calc-out .big { font-family: var(--font-display); font-size: clamp(56px, 7vw, 92px); line-height: 1; }
.calc-out .unit { color: var(--text-dim); margin-top: 6px; }
.calc-out .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.calc-out .sub div { padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-soft); }
.calc-out .sub b { display: block; font-size: 26px; font-family: var(--font-display); color: var(--gold-300); }
.calc-out .sub span { font-size: 13px; color: var(--text-dim); }
.fine { font-size: 12.5px; line-height: 1.55; color: var(--text-mute); margin: 8px 0 0; }
.calc-out .fun { font-style: italic; color: var(--text-dim); margin: 0 0 24px; min-height: 3em; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent); opacity: .5;
}
.step { text-align: center; padding: 0 12px; }
.step .n {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 30px; color: var(--gold-300); position: relative;
  background: radial-gradient(circle at 30% 30%, #4a0f1f, #0f2e22); border: 1px solid var(--line);
  box-shadow: 0 0 0 8px var(--bg), 0 0 40px -6px rgba(201, 162, 78, .45);
}
.step h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 8px; font-weight: 600; }
.step p { color: var(--text-dim); margin: 0; font-size: 15.5px; }

/* ---------- Quotes (from retired paperwork) ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  margin: 0; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); position: relative;
}
.quote::before { content: "“"; position: absolute; top: -10px; right: 20px; font-family: var(--font-display); font-size: 120px; color: var(--gold-500); opacity: .25; line-height: 1; }
.quote p { font-family: var(--font-display); font-size: 20px; font-style: italic; margin: 0 0 22px; line-height: 1.4; }
.quote .by { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-dim); }
.quote .by .av { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--surface-2); border: 1px solid var(--line-soft); }
.quote .by small { display: block; color: var(--text-mute); font-size: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line-soft); border-radius: 18px; background: var(--surface); padding: 0 26px; transition: border-color .3s, background .3s;
}
.faq details[open] { border-color: var(--line); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--gold-400); transition: transform .4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--text-dim); }

/* ---------- Final CTA ---------- */
.final {
  position: relative; border-radius: 36px; overflow: hidden; padding: clamp(60px, 9vw, 110px) 30px; text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(243, 223, 166, .22), transparent 55%), linear-gradient(135deg, #4a0f1f 0%, #2b0a12 45%, #0f2e22 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-xl);
}
.final .h-section { max-width: 820px; margin-inline: auto; }
.final .lead { margin: 0 auto 36px; }
.final .rings { position: absolute; inset: 0; pointer-events: none; }
.final .rings i {
  position: absolute; left: 50%; top: 50%; border: 1px solid rgba(243, 223, 166, .12); border-radius: 50%;
  transform: translate(-50%, -50%); animation: ring 8s linear infinite;
}
.final .rings i:nth-child(1) { width: 400px; height: 400px; }
.final .rings i:nth-child(2) { width: 700px; height: 700px; animation-delay: -2.6s; }
.final .rings i:nth-child(3) { width: 1000px; height: 1000px; animation-delay: -5.2s; }
@keyframes ring { 0% { transform: translate(-50%, -50%) scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; } }
.final > *:not(.rings) { position: relative; }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line-soft); margin-top: 100px; color: var(--text-mute); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: var(--text); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-300); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .burger { display: block; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 16px; right: 16px; padding: 22px;
    background: rgba(20, 10, 12, .96); border: 1px solid var(--line); border-radius: 20px; gap: 18px; font-size: 17px;
  }
  .hero-grid, .showcase, .calc { grid-template-columns: 1fr; }
  .mockup { transform: rotateX(4deg); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .bento .tile.span-4, .bento .tile.span-3, .bento .tile.span-2 { grid-column: span 6; }
  .aud-grid, .quotes { grid-template-columns: 1fr; }
  .aud { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .header .container { height: 64px; gap: 10px; }
  .nav.open { top: 64px; }
  .logo-emblem { height: 32px; }
  .logo-word { font-size: 18px; letter-spacing: .12em; }
  .header .btn-gold { --pad: 9px 14px; font-size: 13px; }
  .lang button { padding: 4px 7px; }
  .hero { padding-top: 110px; }
  .hero-ctas .btn { width: 100%; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .float-card { font-size: 11.5px; padding: 9px 11px; }
  .fc1 { left: 0; top: -6%; }
  .fc2 { left: 0; bottom: -6%; }
  .fc3 { right: 0; top: auto; bottom: 40%; }
  .pain-grid { grid-template-columns: 1fr; }
  .ba { height: 520px; }
  .note { width: 140px; font-size: 17px; padding: 10px 12px; }
  .n3 { width: 170px; left: 10%; }
  .tile { padding: 24px; }
  .tr-row { grid-template-columns: 1fr; text-align: center; padding: 20px; }
  .tr-row .arrow-c { transform: rotate(90deg); }
  .calc-in, .calc-out { padding: 28px 22px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  .marquee::before, .marquee::after { width: 40px; }
}
@media (max-width: 520px) {
  .header .logo-emblem { height: 30px; }
  .header .btn-gold .arrow { display: none; }
}
@media (max-width: 600px) {
  .header .logo-word { display: none; }
}
@media (max-width: 350px) {
  .lang { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .split .w > span { opacity: 1; transform: none; }
  .papers { display: none; }
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal { padding: 140px 0 40px; }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin: 14px 0 10px; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin: 44px 0 12px; color: var(--gold-300); }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text-dim); }
.legal ul { padding-left: 20px; }
.legal a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal .meta { color: var(--text-mute); font-size: 14px; }
.legal .card { padding: 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.legal .card p { margin: 0 0 6px; }
.ph { background: rgba(201, 162, 78, .18); color: var(--gold-300); border-radius: 4px; padding: 0 4px; }
.back { display: inline-flex; gap: 8px; color: var(--text-dim); font-size: 14px; }
.back:hover { color: var(--gold-300); }
.header.solid { background: rgba(14, 7, 9, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom-color: var(--line-soft); }
@media (max-width: 680px) { .legal { padding-top: 110px; } .legal .card { padding: 20px; } }

/* ================= Geschichte des Gründers ================= */
.story { display: flex; gap: 36px; align-items: flex-start; max-width: 920px; margin: 0 auto; padding: 44px; border-radius: 28px; border: 1px solid var(--line-soft); background: linear-gradient(160deg, rgba(201, 162, 78, .10), rgba(255, 255, 255, .02) 55%); }
.story-av { flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; font: 600 38px "Cormorant Garamond", Georgia, serif; color: var(--bordeaux-950); background: var(--gold-grad); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.story-tx .h-section { margin: 10px 0 18px; }
.story-tx p { color: var(--text-dim); font-size: 17px; line-height: 1.7; margin: 0 0 14px; }
.story-sig { margin-top: 22px !important; display: flex; flex-direction: column; gap: 2px; }
.story-sig b { color: var(--gold-300); font: 600 24px "Cormorant Garamond", Georgia, serif; }
.story-sig span { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
@media (max-width: 680px) { .story { flex-direction: column; gap: 18px; padding: 26px 20px; } .story-av { width: 84px; height: 84px; font-size: 30px; } .story-tx p { font-size: 16px; } }

/* ================= Belegungsplan (Zimmer-Reservierungen) ================= */
.tile.span-6 { grid-column: span 6; }
.bp-tile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 34px; align-items: center; }
.bp-new { display: inline-block; margin: 0 0 10px; padding: 3px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #2a1300; background: linear-gradient(135deg, #f4d57a, #c9992f); }
.bp-demo { --lw: 54px; position: relative; padding: 16px 16px 14px; border-radius: 20px; background: rgba(10, 2, 5, .55); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05); font-size: 12px; }
.bp-month { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--gold-300); margin: 0 0 8px 2px; }
.bp-row { position: relative; display: flex; align-items: center; height: 36px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.bp-lab { flex: none; width: var(--lw); font-weight: 700; color: #fff; font-size: 13px; }
.bp-days { flex: 1; display: grid; grid-template-columns: repeat(14, 1fr); text-align: center; }
.bp-days b { font-weight: 700; color: #f6ead0; font-size: 12px; }
.bp-head { height: 30px; border-bottom: 1px solid rgba(243, 223, 166, .35); }
.bp-head b.we { color: var(--gold-300); }
.bp-head b.td { justify-self: center; min-width: 22px; padding: 3px 0; border-radius: 8px; background: linear-gradient(135deg, #f4d57a, #c9992f); color: #3a0614; }
.bp-fl { height: 26px; background: linear-gradient(90deg, rgba(243, 223, 166, .14), rgba(243, 223, 166, .03)); border-radius: 6px; }
.bp-fl .bp-lab { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); padding-left: 4px; }
.bp-fl b.ok { color: #5fd39a; } .bp-fl b.lo { color: #f5b23a; } .bp-fl b.fu { color: #ff6b80; }
.bp-body { position: relative; }
.bp-body .bk { position: absolute; top: 6px; bottom: 6px; left: calc(var(--lw) + (100% - var(--lw)) * (var(--a) + .5) / 14); width: calc((100% - var(--lw)) * (var(--b) - var(--a)) / 14 - 3px); display: flex; align-items: center; padding: 0 8px 0 10px; box-sizing: border-box; border-radius: 9px; font-style: normal; font-weight: 700; font-size: 11.5px; color: #fff; white-space: nowrap; overflow: hidden; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 4px 10px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.bp-body .bk::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: rgba(255, 255, 255, .6); }
.bp-body .bk.cl { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.bk.in { background: linear-gradient(135deg, #6a1a2e, #b3365a); } .bk.ar { background: linear-gradient(135deg, #1a5a8a, #4aa9de); } .bk.dp { background: linear-gradient(135deg, #c26a0c, #f5b23a); color: #2a1300; } .bk.rs { background: linear-gradient(135deg, #4b2a8f, #8a63d2); }
.bp-now { position: absolute; top: -56px; bottom: 0; left: calc(var(--lw) + (100% - var(--lw)) * 2.6 / 14); width: 2px; background: #ff5c73; box-shadow: 0 0 10px rgba(255, 92, 115, .85); pointer-events: none; }
.bp-sel { position: absolute; top: 4px; bottom: 4px; left: calc(var(--lw) + (100% - var(--lw)) * var(--a) / 14); width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; border: 2px solid #f3dfa6; background: rgba(243, 223, 166, .25); font-style: normal; font-weight: 800; font-size: 11px; color: #fff; white-space: nowrap; box-shadow: 0 0 0 4px rgba(243, 223, 166, .12); animation: bpSel 4.5s ease-in-out infinite; }
.bp-sel::after { content: ""; position: absolute; right: -2px; bottom: -14px; width: 16px; height: 18px; background: #fff; clip-path: polygon(0 0, 100% 62%, 58% 66%, 78% 100%, 62% 100%, 44% 70%, 0 92%); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
.bp-sel span { opacity: 0; animation: bpSelT 4.5s ease-in-out infinite; }
@keyframes bpSel { 0%, 12% { width: 0; opacity: 0; } 18% { opacity: 1; } 55%, 85% { width: calc((100% - var(--lw)) * 4 / 14); opacity: 1; } 100% { width: calc((100% - var(--lw)) * 4 / 14); opacity: 0; } }
@keyframes bpSelT { 0%, 50% { opacity: 0; } 58%, 88% { opacity: 1; } 100% { opacity: 0; } }
.bp-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12px; color: var(--text-dim); }
.bp-leg i { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.bp-leg i.in { background: #b3365a; } .bp-leg i.ar { background: #4aa9de; } .bp-leg i.dp { background: #f5b23a; } .bp-leg i.rs { background: #8a63d2; }
@media (prefers-reduced-motion: reduce) { .bp-sel { animation: none; width: calc((100% - var(--lw)) * 4 / 14); } .bp-sel span { animation: none; opacity: 1; } }
@media (max-width: 900px) {
  .bento .tile.span-6 { grid-column: span 6; }
  .bp-tile { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bp-demo { --lw: 40px; padding: 12px 10px; }
  .bp-days b { font-size: 10.5px; }
  .bp-body .bk { font-size: 10px; padding: 0 5px 0 7px; }
  .bp-sel span { display: none; }
  .bp-fl .bp-lab { font-size: 7.5px; letter-spacing: 0; white-space: nowrap; padding-left: 2px; }
}
