/* Webception – Marketing-Website. Reines CSS, keine Frameworks.
   Moderne Features: Custom Properties, color-mix(), clip/background-clip,
   individuelle transform-Eigenschaft (translate) fuer Parallax, <dialog>,
   backdrop-filter. Aufbau: Basis > Buttons > Header > Hero > Bloecke > Mocks > Modal. */

/* @property macht --c1/--c2 animierbar: beim Farbwechsel blendet die ganze Seite weich um */
@property --c1 { syntax: '<color>'; inherits: true; initial-value: #6d66ff; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #ff5fae; }

:root {
  transition: --c1 .7s ease, --c2 .7s ease;
  --bg: #0a0a1a;
  --ink: #ececfa;
  --muted: #9b9bbb;
  --line: rgba(255, 255, 255, .1);
  --glass: rgba(255, 255, 255, .05);
  --c1: #6d66ff;               /* Marke: Indigo */
  --c2: #ff5fae;               /* Marke: Pink */
  --grad: linear-gradient(120deg, var(--c1), var(--c2));
  --green: #2eb872;
  --red: #e5484d;
  --booking: #1d4ed8;
  --agoda: #f97316;
  --direct: var(--c1);
  --radius: 1.1rem;
  --maxw: 1180px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 76px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.05rem/1.65 var(--font-body);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 1.1rem; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0 0 1rem; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--c2); outline-offset: 3px; border-radius: .4rem; }

.eyebrow {
  display: inline-block; margin: 0 0 1rem; padding: .25rem .8rem;
  font: 600 .78rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--c2) 80%, white); border: 1px solid color-mix(in srgb, var(--c2) 40%, transparent);
  border-radius: 99px; background: color-mix(in srgb, var(--c2) 10%, transparent);
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 38em; }

/* ---------- Nach-oben-Knopf (Ring = Scroll-Fortschritt) ---------- */
.totop {
  position: fixed; right: clamp(.8rem, 1.6vw, 1.6rem); bottom: clamp(.8rem, 2vw, 1.6rem); z-index: 16;
  width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  display: grid; place-items: center;
  background:
    radial-gradient(circle closest-side, color-mix(in srgb, var(--bg) 88%, white) calc(100% - 3px), transparent calc(100% - 2px)),
    conic-gradient(from 0deg, var(--c2) calc(var(--prog, 0) * 360deg), var(--line) 0);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(14px) scale(.85); pointer-events: none;
  transition: opacity .3s, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.totop svg { width: 1.3rem; height: 1.3rem; transition: transform .25s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover svg { transform: translateY(-3px); }
.totop:hover { filter: brightness(1.15); }

/* ---------- Punkt-Navigation (Inhaltsverzeichnis) ---------- */
.dots { position: fixed; right: clamp(.8rem, 1.6vw, 1.6rem); top: 50%; z-index: 15; translate: 0 -50%; display: grid; gap: 1.15rem; padding: .3rem 0; }
.dots::before, .dots::after { content: ''; position: absolute; right: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.dots::before { background: var(--line); }
.dots::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--prog, 0)); }
.dots a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: .8rem; height: 14px; text-decoration: none; }
.dots i { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255, 255, 255, .28); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .3s, border-color .3s, box-shadow .3s; }
.dots a:hover i, .dots a:focus-visible i { transform: scale(1.25); border-color: #fff; }
.dots a.is-on i { background: var(--grad); border-color: transparent; transform: scale(1.3); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c2) 28%, transparent); }
.dots__label {
  padding: .3rem .7rem; border-radius: 99px; font: 600 .76rem/1 var(--font-body); letter-spacing: .02em; white-space: nowrap; color: #fff;
  background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(10px);
  opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.dots a:hover .dots__label, .dots a:focus-visible .dots__label { opacity: 1; transform: none; }
@media (max-width: 1100px) { .dots { display: none; } }

/* ---------- Hintergrund ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(1200px 700px at 80% -10%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 60%),
  radial-gradient(900px 600px at -10% 40%, color-mix(in srgb, var(--c2) 12%, transparent), transparent 60%), var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; translate: 0 var(--py, 0); will-change: translate; }
.blob--a { width: 46vw; height: 46vw; left: -12vw; top: 8vh; background: var(--c1); opacity: .32; }
.blob--b { width: 38vw; height: 38vw; right: -10vw; top: 38vh; background: var(--c2); opacity: .2; }
.blob--c { width: 30vw; height: 30vw; left: 30vw; bottom: -12vh; background: #22d3ee; opacity: .14; }
.grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border: 0; border-radius: 99px; cursor: pointer; text-decoration: none;
  font: 600 1rem/1 var(--font-body); color: #fff; background: var(--grad);
  box-shadow: 0 8px 30px -8px color-mix(in srgb, var(--c1) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 38px -8px color-mix(in srgb, var(--c2) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.15rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
/* Kopfzeile: ganz oben gross (40px Luft oben/unten, grosses Logo), schrumpft beim Runterscrollen
   stufenlos in die schlanke Sticky-Leiste. --s (0 = oben ... 1 = kompakt) setzt js/main.js
   aus der Scroll-Position; alle Masse unten interpolieren zwischen "gross" und "kompakt". */
.top {
  --s: 0;
  --pad-top: 40px;
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(var(--pad-top) - (var(--pad-top) - .8rem) * var(--s)) clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--bg) calc(62% * var(--s)), transparent);
  backdrop-filter: blur(calc(16px * var(--s))) saturate(1.4);
  border-bottom: 1px solid color-mix(in srgb, var(--line) calc(100% * var(--s)), transparent);
}
.top .brand { font-size: calc(1.75rem - .5rem * var(--s)); }
.top .brand__logo { width: calc(56px - 22px * var(--s)); height: calc(56px - 22px * var(--s)); }
.top .btn--sm { font-size: calc(1.05rem - .15rem * var(--s)); padding: calc(.95rem - .35rem * var(--s)) calc(1.7rem - .6rem * var(--s)); }
.top .langs { scale: calc(1.18 - .18 * var(--s)); transform-origin: right center; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 700 1.25rem var(--font-head); letter-spacing: -.02em; }
.top__right { display: flex; align-items: center; gap: .8rem; }
.langs { position: relative; display: inline-flex; padding: 3px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); }
.langs button {
  position: relative; z-index: 1; border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: .35rem .7rem; border-radius: 99px;
  font: 600 .78rem var(--font-body); letter-spacing: .06em; transition: color .25s;
}
.langs button:hover { color: var(--ink); }
.langs button.is-lit { color: #fff; }
/* Farbflaeche hinter den Sprachen: folgt dem Mauszeiger von Sprache zu Sprache (schlichtes
   Gleiten, kein Ueberschwingen), bleibt beim Klick auf der gewaehlten Sprache stehen und
   kehrt beim Verlassen dorthin zurueck. Position/Breite setzt js/main.js als --x/--w. */
.langs__pill {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: var(--w, 0); transform: translateX(var(--x, 0));
  border-radius: 99px; background: var(--grad); box-shadow: 0 4px 16px -4px color-mix(in srgb, var(--c1) 80%, transparent);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1), width .32s cubic-bezier(.4, 0, .2, 1);
}
.langs__pill.no-anim { transition: none; }

/* ---------- Layout ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.hero, .block { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero > *, .block > * { min-width: 0; }
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.block { padding: clamp(3.5rem, 8vw, 7rem) 0; }
@media (min-width: 980px) {
  .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); }
  .block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .block--flip .block__visual { order: -1; }
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2rem; }
.portals { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.live { display: inline-flex; align-items: center; gap: .45rem; font: 600 .78rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.live b { width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46, 184, 114, .7); animation: ping 1.8s infinite; }

/* Wortmarken (rein typografisch, keine Original-Logos) */
.wm { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: .65rem; font: 800 1rem/1 var(--font-body); letter-spacing: -.02em; white-space: nowrap; }
.wm--booking { background: #003580; color: #fff; gap: 0; }
.wm--booking span { color: #6cc4ff; }
.wm--agoda { background: #fff; color: #3a3a46; letter-spacing: -.03em; gap: .14rem; }
.wm--agoda i { width: .36rem; height: .36rem; border-radius: 50%; background: #e5484d; align-self: flex-start; margin-top: .05rem; }
.wm--agoda i:nth-of-type(2) { background: #9b5de5; }
.wm--agoda i:nth-of-type(3) { background: #2eb872; }
.wm--agoda i:nth-of-type(4) { background: #f59e0b; }
.wm--agoda i:nth-of-type(5) { background: #3b82f6; }
.wm--direct { background: var(--glass); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.wm--direct svg { width: 1rem; height: 1rem; fill: currentColor; }

/* Einblenden + Parallax: transform fuer das Einblenden, "translate" fuer Parallax - die beiden stoeren sich so nicht */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
[data-parallax] { translate: 0 var(--py, 0); }

.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .85rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .25rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--grad);
  -webkit-mask: radial-gradient(circle, #000 98%, transparent 100%); }
.ticks li::after { content: ''; position: absolute; left: .42rem; top: .45rem; width: .32rem; height: .6rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Glas-Karte / Fenster ---------- */
.card, .window {
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.tilt { transform: perspective(1300px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; transform-style: preserve-3d; }
.window { overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: .4rem; padding: .65rem .9rem; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.window__bar i { width: .65rem; height: .65rem; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.window__bar i:nth-child(1) { background: #ff5f57; } .window__bar i:nth-child(2) { background: #febc2e; } .window__bar i:nth-child(3) { background: #28c840; }
.window__bar span { margin-left: .6rem; font-size: .75rem; color: var(--muted); letter-spacing: .06em; }

/* ---------- Timeline-Mock ---------- */
.tl { --pad: .9rem; position: relative; padding: var(--pad); font-size: .72rem; }
.tl__row { display: grid; grid-template-columns: 84px 1fr; align-items: center; }
.tl__room { color: var(--muted); font-weight: 500; white-space: nowrap; }
.tl__track { position: relative; height: 32px; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px calc(100% / 14)); }
.tl__row + .tl__row .tl__track { border-top: 1px solid rgba(255, 255, 255, .05); }
.tl__days { height: auto; display: grid; grid-template-columns: repeat(14, 1fr); padding-bottom: .35rem; }
.tl__days i { font-style: normal; text-align: center; color: var(--muted); font-size: .66rem; }
.bar {
  position: absolute; top: 4px; bottom: 4px; display: flex; align-items: center; padding: 0 .5rem; border-radius: .45rem;
  color: #fff; font-weight: 600; font-size: .66rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .22);
  transform-origin: left center;
}
.bar--direct { background: linear-gradient(135deg, var(--c1), color-mix(in srgb, var(--c1) 70%, white)); }
.bar--booking { background: linear-gradient(135deg, #1d4ed8, #2f7bff); }
.bar--agoda { background: linear-gradient(135deg, #f97316, #fb9a3c); }
.bar--conflict { outline: 2px solid #ff3b6b; outline-offset: -1px; box-shadow: 0 0 18px rgba(255, 59, 107, .55); z-index: 2; animation: warn 2s ease-in-out infinite; }
.lane-top { bottom: 52%; top: 2px; }
.lane-bottom { top: 52%; bottom: 2px; }
.tl__today { position: absolute; top: var(--pad); bottom: var(--pad); width: 2px; border-radius: 2px; background: #ffd84d; box-shadow: 0 0 14px rgba(255, 216, 77, .8);
  left: calc(var(--pad) + 84px + (100% - 2 * var(--pad) - 84px) * var(--t)); opacity: .85; }
.reveal .bar { opacity: 0; transform: scaleX(.2); }
.reveal.in .bar { animation: barIn .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms + .25s); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; padding: .7rem 1rem; border-top: 1px solid var(--line); font-size: .72rem; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: .4rem; }
.dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; }
.dot--direct { background: var(--c1); } .dot--booking { background: #2f7bff; } .dot--agoda { background: #f97316; } .dot--warn { background: #ff3b6b; box-shadow: 0 0 8px #ff3b6b; }
.legend__warn { margin-left: auto; color: #ff8aa6; }

/* ---------- Sync-Mock ---------- */
.sync { display: grid; grid-template-columns: auto 90px 1fr; align-items: center; min-height: 300px; }
.sync__sources { display: grid; gap: 2.3rem; justify-items: start; }
.sync__lines { width: 100%; height: 100%; min-height: 240px; }
.sync__lines path { fill: none; stroke: color-mix(in srgb, var(--c2) 80%, white); stroke-width: 2; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; opacity: .85; }
.sync__hub { padding: 1rem; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.sync__hubTitle { display: flex; align-items: center; gap: .5rem; font: 600 .92rem var(--font-head); margin-bottom: .8rem; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.feed__item { display: grid; grid-template-columns: 1fr auto; gap: .1rem .6rem; padding: .6rem .75rem; border-radius: .7rem; background: rgba(255, 255, 255, .05); border-left: 3px solid var(--c1); font-size: .8rem; animation: feed 7s ease-in-out infinite; }
.feed__item--booking { border-color: #2f7bff; }
.feed__item--agoda { border-color: var(--agoda); animation-delay: 1.6s; }
.feed__item--cancel { border-color: var(--red); animation-delay: 3.2s; }
.feed__item--cancel b { text-decoration: line-through; opacity: .7; }
.feed__tag { grid-column: 1 / -1; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.feed__item em { background: none; -webkit-text-fill-color: var(--muted); color: var(--muted); font-size: .76rem; }
@media (max-width: 560px) { .sync { grid-template-columns: 1fr; gap: .8rem; } .sync__lines { display: none; } .sync__sources { grid-auto-flow: column; gap: .5rem; flex-wrap: wrap; } }

/* ---------- TV-Mock ---------- */
.tv { max-width: 560px; margin-inline: auto; }
.tv__screen { border: 9px solid #181830; border-radius: 1.1rem; padding: .9rem; background: radial-gradient(600px 300px at 20% 0, rgba(109, 102, 255, .22), transparent), #0c0c20; box-shadow: 0 40px 90px -30px #000, 0 0 0 1px rgba(255, 255, 255, .08); }
.tv__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; font-size: .72rem; }
.tv__brand { display: inline-flex; align-items: center; gap: .4rem; font: 700 .85rem var(--font-head); }
.tv__mode { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .55rem; border-radius: 99px; background: rgba(46, 184, 114, .14); color: #6ee7a8; letter-spacing: .06em; }
.tv__mode i { width: .4rem; height: .4rem; border-radius: 50%; background: #2eb872; animation: ping 1.8s infinite; }
.tv__clock { margin-left: auto; font: 600 1rem var(--font-head); font-variant-numeric: tabular-nums; }
.tv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.room { display: grid; justify-items: center; gap: .35rem; padding: .7rem .3rem .6rem; border-radius: .8rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); font-size: .62rem; }
.room__chip { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--grad); font: 700 .62rem var(--font-body); color: #fff; }
.room__name { color: var(--muted); }
.reveal .room { opacity: 0; transform: scale(.85); }
.reveal.in .room { animation: pop .5s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i) * 60ms + .2s); }
.tv__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; margin-top: .8rem; font-size: .66rem; color: var(--muted); }
.tv__legend span { display: inline-flex; align-items: center; gap: .35rem; }
.tv__stand { width: 28%; height: 14px; margin: 0 auto; background: linear-gradient(#222244, #14142c); border-radius: 0 0 .6rem .6rem; }
.amp { display: inline-block; width: 1rem; height: 1rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px -2px currentColor; }
.amp[data-c="green"] { background: var(--green); color: var(--green); }
.amp[data-c="red"] { background: var(--red); color: var(--red); }
.amp[data-c="green-red"] { background: linear-gradient(135deg, var(--green) 0 45%, var(--red) 55% 100%); color: var(--c2); }
.amp[data-c="red-green"] { background: linear-gradient(135deg, var(--red) 0 45%, var(--green) 55% 100%); color: var(--c2); }

/* ---------- Auswertungs-Mock ---------- */
.stats { padding: 1.2rem; }
.stats__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip { padding: .3rem .75rem; border-radius: 99px; font-size: .72rem; color: var(--muted); border: 1px solid var(--line); }
.chip--on { color: #fff; background: var(--grad); border-color: transparent; }
.stats__head, .srow { display: grid; grid-template-columns: 1fr 1.25fr 1.1fr; gap: .8rem; align-items: center; }
.stats__head { padding: 0 0 .5rem; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.srow { padding: .65rem 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: .82rem; }
.srow__room { font-weight: 500; }
.srow__occ { display: flex; align-items: center; gap: .6rem; }
.srow__occ b { font: 600 .78rem var(--font-head); min-width: 2.4em; text-align: right; }
.occ { flex: 1; height: .55rem; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.occ i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad); transition: width 1.3s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 120ms + .3s); }
.reveal:not(.in) .occ i { width: 0; }
.srow__src { display: flex; height: .55rem; border-radius: 99px; overflow: hidden; gap: 2px; }
.seg { display: block; height: 100%; width: var(--w); }
.seg--booking { background: #2f7bff; } .seg--agoda { background: var(--agoda); } .seg--direct { background: var(--direct); }

/* ---------- Individualisierungs-Mock ---------- */
.app { --accent: var(--c1); display: grid; grid-template-columns: 150px 1fr; min-height: 280px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #11122b; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.app__side { background: #1a1c38; padding: .8rem .6rem; display: grid; align-content: start; gap: .3rem; font-size: .74rem; }
.app__logo { display: flex; align-items: center; gap: .5rem; padding: .3rem .4rem .8rem; font: 700 .8rem var(--font-head); }
.app__logo i { width: 1.5rem; height: 1.5rem; border-radius: .45rem; background: var(--accent); transition: background .3s; }
.app__nav { display: flex; align-items: center; gap: .5rem; padding: .5rem .55rem; border-radius: .55rem; color: var(--muted); position: relative; flex-wrap: wrap; }
.app__nav .ic { width: 1rem; text-align: center; font-weight: 400; font-style: normal; color: var(--accent); transition: color .3s; }
.ic--cal::before { content: '▦'; } .ic--tl::before { content: '☰'; } .ic--wifi::before { content: '◠'; } .ic--door::before { content: '⌂'; } .ic--yt::before { content: '▶'; }
.app__nav.is-on { color: #fff; background: color-mix(in srgb, var(--accent) 28%, transparent); }
.app__nav em { margin-left: auto; padding: .05rem .4rem; border-radius: 99px; font-size: .55rem; letter-spacing: .04em; background: color-mix(in srgb, var(--accent) 22%, transparent); color: #fff; -webkit-text-fill-color: #fff; }
.app__main { padding: 1rem; display: grid; align-content: start; gap: 1rem; }
.app__bars { display: grid; gap: .55rem; }
.app__bars i { display: block; height: 1.4rem; border-radius: .5rem; background: rgba(255, 255, 255, .07); }
.app__bars i:nth-child(odd) { width: 78%; } .app__bars i:nth-child(3n) { width: 54%; background: color-mix(in srgb, var(--accent) 45%, transparent); transition: background .3s; }
.app__btn { width: 7rem; height: 2rem; border-radius: .6rem; background: var(--accent); transition: background .3s; }
.swatches { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; }
.swatches__label { font-size: .78rem; color: var(--muted); margin-right: .3rem; }
.sw { width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 2px solid transparent; background: var(--c); cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: transform .2s, border-color .2s; }
.sw:hover { transform: scale(1.12); }
.sw.is-on { border-color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 40%, transparent); }
@media (max-width: 520px) { .app { grid-template-columns: 112px 1fr; } .app__nav em { display: none; } }

/* ---------- Lean / CTA / Footer ---------- */
.lean { text-align: center; padding: clamp(3rem, 7vw, 6rem) 0; }
.lean .lead { margin-inline: auto; }
.lean__keys { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.8rem; }
.lean__keys span { padding: .55rem 1.1rem; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); font-weight: 500; }
.lean__keys span::before { content: '✓'; margin-right: .5rem; color: var(--c2); font-weight: 700; }
/* Farbwahl im Hero + wechselnde Zeile unter der Ueberschrift */
.rotator { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; margin: -.2rem 0 1.2rem; font: 600 clamp(1.15rem, 2.2vw, 1.6rem)/1.3 var(--font-head); letter-spacing: -.01em; color: var(--ink); }
.rotator em { display: inline-block; animation: wordIn .6s cubic-bezier(.2, .8, .2, 1) both; }
.mine { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: 0 0 1.6rem; }
.mine__label { font-size: .84rem; color: var(--muted); margin-right: .2rem; }
.pal { width: 1.9rem; height: 1.9rem; padding: 0; border-radius: 50%; border: 2px solid transparent; cursor: pointer; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 1px var(--line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.pal:hover { transform: scale(1.14) rotate(-8deg); }
.pal.is-on { border-color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 45%, transparent); }

.cta { text-align: center; margin: 1rem 0 clamp(3rem, 7vw, 6rem); padding: clamp(2.5rem, 6vw, 4.5rem) 1.2rem; border-radius: calc(var(--radius) * 1.6);
  background: radial-gradient(700px 300px at 50% 0, rgba(255, 95, 174, .22), transparent 70%), linear-gradient(160deg, rgba(109, 102, 255, .28), rgba(109, 102, 255, .06));
  border: 1px solid var(--line); }
.cta h2 { max-width: 16em; margin-inline: auto; }
.cta .lead { margin: 0 auto 1.8rem; }
.foot { display: grid; justify-items: center; gap: .5rem; padding: 2rem 1rem 3rem; text-align: center; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); }
.foot p { margin: 0; max-width: 46em; }

/* ---------- Kontakt-Modal ---------- */
.modal { width: min(30rem, calc(100vw - 2rem)); padding: 0; border: 1px solid var(--line); border-radius: 1.3rem; color: var(--ink); background: #13132c; box-shadow: 0 50px 120px -20px #000; overflow: visible; }
.modal::backdrop { background: rgba(5, 5, 16, .72); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .3s cubic-bezier(.2, .9, .3, 1.15); }
.modal__form { position: relative; display: grid; gap: 1rem; padding: 1.8rem; }
.modal__form h2 { font-size: 1.7rem; margin: 0; }
.modal__intro { margin: -.5rem 0 0; color: var(--muted); font-size: .95rem; }
.modal__close { position: absolute; top: .8rem; right: .9rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: var(--glass); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.modal__close:hover { background: rgba(255, 255, 255, .12); }
.field { display: grid; gap: .35rem; font-size: .84rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: .8rem .9rem; border-radius: .75rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--ink); font: 400 1rem var(--font-body); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c1) 30%, transparent); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.modal__status { min-height: 1.3em; margin: 0; font-size: .9rem; }
.modal__status.is-ok { color: #6ee7a8; }
.modal__status.is-error { color: #ff8aa6; }
.modal__privacy { margin: 0; font-size: .74rem; color: var(--muted); text-align: center; }

/* ---------- Animationen ---------- */
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 .6rem rgba(46, 184, 114, 0); } }
@keyframes barIn { from { opacity: 0; transform: scaleX(.2); } to { opacity: 1; transform: scaleX(1); } }
@keyframes warn { 50% { box-shadow: 0 0 6px rgba(255, 59, 107, .3); } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes feed { 0%, 8% { opacity: 0; transform: translateY(10px); } 14%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(.5em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal .bar, .reveal .room { opacity: 1; transform: none; }
  .reveal:not(.in) .occ i { width: var(--w); }
}

@media (max-width: 640px) {
  .top { --pad-top: 22px; }
  .top .btn--sm { padding: calc(.8rem - .3rem * var(--s)) calc(1.1rem - .2rem * var(--s)); }
  .top .brand__logo { width: calc(46px - 12px * var(--s)); height: calc(46px - 12px * var(--s)); }
  .brand span { display: none; }
  .tl__row { grid-template-columns: 62px 1fr; }
  .tl__today { left: calc(var(--pad) + 62px + (100% - 2 * var(--pad) - 62px) * var(--t)); }
  .tl { font-size: .62rem; }
  .bar { font-size: .56rem; padding: 0 .3rem; }
  .tv__grid { grid-template-columns: repeat(3, 1fr); }
}
