:root {
  --bg: #08090b;
  --surface: #111215;
  --border: #2e3035;
  --border-soft: #24262a;
  --text: #f1f0ed;
  --muted: #8f9095;
  --muted-2: #5f6065;
  --gold-bright: #efbd5a;
  --gold-glow-soft: 0 0 8px rgba(239, 189, 90, 0.20);
  --gold-glow: 0 0 14px rgba(239, 189, 90, 0.38);
  --gold-glow-strong: 0 0 22px rgba(239, 189, 90, 0.48);
  --footer-disabled: #2b2c30;
  --footer-disabled-text: #d8d8d8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.app::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 25% 35%,
      rgba(255, 255, 255, 0.015),
      transparent 30%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(255, 255, 255, 0.012),
      transparent 34%
    );
  opacity: 0.8;
  z-index: 0;
}

.app {
  width: 100%;
  margin: 0;
  padding: 0;

  height: 100vh;
  height: 100dvh;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 18% 18%,
      rgba(255, 255, 255, 0.025) 0%,
      rgba(255, 255, 255, 0.012) 22%,
      transparent 48%
    ),
    radial-gradient(
      ellipse at 82% 28%,
      rgba(255, 255, 255, 0.018) 0%,
      transparent 44%
    ),
    radial-gradient(
      ellipse at 32% 68%,
      rgba(255, 255, 255, 0.018) 0%,
      transparent 46%
    ),
    radial-gradient(
      ellipse at 78% 82%,
      rgba(217, 167, 77, 0.018) 0%,
      transparent 42%
    ),
    radial-gradient(
      ellipse at 50% -8%,
      rgba(217, 167, 77, 0.05) 0%,
      transparent 27rem
    ),
    #08090b;

  position: relative;
}

.app > * {
  position: relative;
  z-index: 1;
}

.booking-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 98px;
  padding: 10px 18px 5px;

  flex: 0 0 auto;
}

.booking-logo {
  display: block;
  width: min(78vw, 330px);
  max-height: 110px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: screen;
}

.booking-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 620px);
  margin: 0 auto;
  border-bottom: 1px solid var(--border-soft);
  padding: 0 18px;

  flex: 0 0 auto;
}

[data-step] {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}

[data-step][hidden] {
  display: none;
}

/* Nur der eigentliche Seiteninhalt darf scrollen */
.date-content,
.time-content,
.session-content,
.extras-content,
.fetishes-content,
.summary-content-wrap {
  flex: 1 1 auto;
  min-height: 0;

  overflow-y: auto;
  overflow-x: hidden;

  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  scrollbar-width: none; /* Firefox */
}

.date-content::-webkit-scrollbar,
.time-content::-webkit-scrollbar,
.session-content::-webkit-scrollbar,
.extras-content::-webkit-scrollbar,
.fetishes-content::-webkit-scrollbar,
.summary-content-wrap::-webkit-scrollbar {
  display: none; /* Chrome / Telegram WebView / Safari */
}

.progress-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 47px;
  padding: 0 5px 13px;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  opacity: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: default;
}

.progress-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--muted-2);
  opacity: 0.33;
}

.progress-step.is-active {
  color: var(--gold-bright);
  text-shadow: 0 0 8px rgba(239, 189, 90, 0.22);
}

.progress-step.is-active::after {
  height: 2px;
  background: var(--gold-bright);
  opacity: 1;
  box-shadow: var(--gold-glow);
}

.progress-index {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: #2c2d31;
  color: #8d8e93;
  font-size: 0.64rem;
  line-height: 1;
}

.progress-step.is-active .progress-index {
  background: var(--gold-bright);
  color: #17120a;
  box-shadow:
    0 0 8px rgba(239, 189, 90, 0.45),
    0 0 18px rgba(239, 189, 90, 0.28);
}

.date-content {
  width: min(calc(100% - 32px), 570px);
  margin: 0 auto;
  padding: 28px 0 36px;
}

.date-intro {
  text-align: left;
  margin-bottom: 24px;
}

.date-intro h1 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 4.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.035em;
}

.date-intro > p:not(.status) {
  margin: 9px 0 0;
  color: #c6c5c2;
  font-size: 0.88rem;
  line-height: 1.5;
}

.status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.status:empty {
  display: none;
}

.status[data-tone="error"] {
  color: #d48888;
}

.date-status {
  margin: 0 0 10px;
}

.calendar-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.018), transparent 55%),
    var(--surface);
  padding: 14px 14px 18px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.015);
}

.month-nav {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 45px;
  margin: 0;
}

.month-nav button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.month-nav button:last-child {
  justify-self: end;
}

.month-label {
  color: var(--text);
  text-align: center;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Session category filter: compact Step-2-style control below the
   calendar, aligned opposite the availability legend. */

.weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  margin-top: 10px;
  color: #e0dfdc;
  font-size: 0.67rem;
  font-weight: 500;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 2px;
  margin-top: 8px;
}

.calendar-grid .day-cell {
  position: relative;
  display: grid;
  place-items: center;
  height: 42px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #74757a;
  cursor: pointer;
}

.calendar-grid .day-cell.empty {
  visibility: hidden;
}

.calendar-grid .day-cell.past {
  color: #3d3e42;
  opacity: 1;
  cursor: default;
}

.calendar-grid .day-cell.unavailable:not(.past) {
  color: #7d7e83;
}

.calendar-grid .day-cell.available {
  color: #e3e0d9;
}

.calendar-grid .day-cell.available .day-number {
  background: radial-gradient(
    circle,
    #4a3214 0%,
    #33240f 58%,
    #24190c 100%
  );

  box-shadow:
    inset 0 0 0 1px rgba(171, 115, 37, 0.22),
    var(--gold-glow-soft);
}

/* CLAUDE_CALENDAR_ENTRIES_BLOCKS_LIVESTREAMS_2026-09-09.md section 73:
   `.selected` must not destroy the has-session/has-livestream color
   semantics it sits on top of - it no longer replaces the day-number's
   background, only adds a ring around it. Whatever fill .available/
   .has-livestream already applied stays fully visible underneath. */
.calendar-grid .day-cell.selected .day-number {
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px var(--gold-bright),
    var(--gold-glow);
}

.calendar-grid .day-cell.today .day-number {
  font-weight: inherit;
  text-decoration: none;
}

.day-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: clamp(0.73rem, 3.4vw, 0.92rem);
  line-height: 1;
}

.calendar-tools-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding: 0 2px;
}

.legend {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: center;
  width: 100%;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #aaa9a6;
  font-size: 0.7rem;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
}

.legend-dot.available {
  background: linear-gradient(145deg, #6a4817, #4c3210);
  border: 1px solid #7b541f;
}

.calendar-category-filter {
  position: relative;
  width: min(190px, 48vw);
}

.calendar-filter-trigger {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: 8px;
  padding: 7px 9px 7px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,0.018), transparent 44%),
    var(--surface);
  color: #ece9e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,0.015);
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.calendar-filter-trigger[aria-expanded="true"],
.calendar-filter-trigger.has-selection {
  border-color: rgba(217, 167, 77, 0.68);
  box-shadow:
    inset 0 0 0 1px rgba(239, 189, 90, 0.10),
    var(--gold-glow-soft);
}

.calendar-filter-trigger:disabled {
  opacity: 0.5;
  cursor: default;
}

.calendar-filter-trigger:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 2px;
}

#category-filter-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-filter-chevron {
  justify-self: end;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.calendar-filter-trigger[aria-expanded="true"] .calendar-filter-chevron {
  transform: rotate(-90deg);
}

.calendar-filter-dropdown {
  position: absolute;
  z-index: 100;
  right: 0;
  bottom: calc(100% + 7px);
  width: max(100%, 190px);
  max-height: min(38vh, 260px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 18, 21, 0.985);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px rgba(255,255,255,0.015);
  scrollbar-width: thin;
  scrollbar-color: #6b4a1c #17181b;
}

.calendar-filter-option-list {
  display: grid;
  padding: 5px;
}

.calendar-filter-option-list button {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
  color: #d8d6d1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
}

.calendar-filter-option-list button:last-child {
  border-bottom: 0;
}

.calendar-filter-option-list button:active,
.calendar-filter-option-list button[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(94, 58, 15, 0.72), rgba(55, 37, 15, 0.26));
  color: var(--gold-bright);
  text-shadow: 0 0 8px rgba(239, 189, 90, 0.18);
}

@media (max-width: 390px) {
  .calendar-tools-row {
    gap: 9px;
  }

  .calendar-category-filter {
    width: min(175px, 52vw);
  }

  .calendar-filter-trigger {
    min-height: 36px;
    padding-left: 10px;
    font-size: 0.74rem;
  }

  .calendar-filter-dropdown {
    width: max(100%, 175px);
  }
}

.booking-footer {
  position: relative;
  z-index: 50;

  flex: 0 0 auto;
  width: 100%;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;

  min-height: 92px;

  padding:
    14px
    max(18px, env(safe-area-inset-right))
    max(14px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));

  border-top: 1px solid var(--border);
  background: var(--surface);

  box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.25);
}

.footer-copy {
  min-width: 0;
  align-self: center;
}

.footer-title {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}

.time-footer-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.time-footer-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.time-footer-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.time-footer-icon {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  object-fit: contain;
}

.time-footer-detail {
  margin-top: 5px;

  /* Iconbreite + Abstand,
     dadurch beginnt die zweite Zeile unter dem Datumstext */
  padding-left: 22px;

  color: #e0dfdc;
  font-size: 0.77rem;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.window-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.footer-detail,
.free-interval {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e0dfdc;
  font-size: 0.77rem;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.free-interval {
  white-space: nowrap;
}

.footer-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  min-width: 92px;
  height: 44px;
  padding: 0 14px;

  border: 1px solid rgba(255, 224, 160, 0.55);
  border-radius: 6px;

  background: linear-gradient(
    145deg,
    #f6ca6b 0%,
    #d9a74d 60%,
    #c28a35 100%
  );

  color: #16110a;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.055em;

  cursor: pointer;

  box-shadow:
    inset 0 1px 0 rgba(255, 240, 205, 0.32),
    0 0 8px rgba(239, 189, 90, 0.38),
    var(--gold-glow-strong),
    0 7px 20px rgba(0, 0, 0, 0.30);
}

.footer-next span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-2px);
}

.footer-next:disabled {
  background: var(--footer-disabled);
  border-color: #303136;
  color: var(--footer-disabled-text);
  box-shadow: none;
  opacity: 1;
  cursor: default;
}

@media (max-width: 390px) {
  .booking-brand {
    min-height: 86px;
    padding-top: 7px;
  }

  .booking-logo {
    width: min(68vw, 240px);
    max-height: 77px;
  }

  .booking-progress {
    padding: 0 10px;
  }

  .progress-step {
    gap: 4px;
    font-size: 0.64rem;
  }

  .progress-index {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    font-size: 0.58rem;
  }

  .date-content {
    width: min(calc(100% - 22px), 570px);
    padding-top: 22px;
  }

  .calendar-card {
    padding-left: 9px;
    padding-right: 9px;
  }

  .booking-footer {
    gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .footer-next {
    min-width: 86px;
    padding: 0 11px;
  }
}

/* --------------------------------------------------
   STEP 2: TERMINZEIT
   Header, progress and footer intentionally reuse the
   established booking template from the calendar step.
   -------------------------------------------------- */
.time-content {
  width: min(calc(100% - 32px), 570px);
  margin: 0 auto;
  padding: 18px 0 36px;
}

.step-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  min-width: 68px;
  height: 28px;
  padding: 0 8px;

  border: 1px solid rgba(255, 224, 160, 0.42);
  border-radius: 5px;

  background: linear-gradient(145deg, #e9b653 0%, #c28a35 100%);
  color: #16110a;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.60rem;
  font-weight: 600;
  letter-spacing: 0.045em;

  box-shadow:
    inset 0 1px 0 rgba(255, 240, 205, 0.24),
    var(--gold-glow-soft);

  cursor: pointer;
}

.step-back span {
  font-size: 0.95rem;
  line-height: 1;
  transform: translateY(0px);
}

.time-intro {
  margin-top: 20px;
  margin-bottom: 22px;
  text-align: left;
}

.time-intro h1 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 4.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.035em;
}

.time-intro > p:not(.status) {
  margin: 9px 0 0;
  color: #c6c5c2;
  font-size: 0.88rem;
  line-height: 1.5;
}

.time-select-stack {
  display: grid;
  gap: 12px;
}

.time-select-block {
  min-width: 0;
}

.time-select-trigger {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 11px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,0.018), transparent 44%),
    var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,0.015);
}

.time-select-trigger[aria-expanded="true"],
.time-select-trigger.has-selection {
  border-color: rgba(217, 167, 77, 0.68);
  box-shadow:
    inset 0 0 0 1px rgba(239, 189, 90, 0.10),
    var(--gold-glow-soft);
}

.time-select-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.time-select-value {
  color: #ece9e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.time-select-meta {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.3;
}

.time-select-chevron {
  justify-self: end;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.time-select-trigger[aria-expanded="true"] .time-select-chevron {
  transform: rotate(90deg);
}

.time-dropdown {
  margin-top: 7px;
  max-height: min(40vh, 310px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 18, 21, 0.985);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px rgba(255,255,255,0.015);
  scrollbar-width: thin;
  scrollbar-color: #6b4a1c #17181b;
}

.time-option-list {
  display: grid;
  padding: 5px;
}

.time-option-list button {
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
  color: #d8d6d1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  text-align: left;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.time-option-list button:last-child {
  border-bottom: 0;
}

.time-option-list button:active,
.time-option-list button[aria-pressed="true"] {
  background: linear-gradient(90deg, rgba(94, 58, 15, 0.72), rgba(55, 37, 15, 0.26));
  color: var(--gold-bright);
  text-shadow: 0 0 8px rgba(239, 189, 90, 0.18);
}

@media (max-width: 390px) {
  .time-content {
    width: min(calc(100% - 22px), 570px);
    padding-top: 14px;
  }

  .time-intro {
    margin-top: 17px;
    margin-bottom: 18px;
  }

  .time-select-trigger {
    min-height: 64px;
    padding-left: 13px;
  }

  .time-dropdown {
    max-height: min(38vh, 280px);
  }
}


/* --------------------------------------------------
   STEP 3: SESSION
   Header, progress and footer reuse the established
   booking template. Only the middle content changes.
   -------------------------------------------------- */
.session-content {
  width: min(calc(100% - 32px), 570px);
  margin: 0 auto;
  padding: 18px 0 24px;
}

.session-intro {
  margin-top: 20px;
  margin-bottom: 22px;
  text-align: left;
}

.session-intro h1 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 4.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.035em;
}

.session-intro > p:not(.status) {
  margin: 9px 0 0;
  color: #c6c5c2;
  font-size: 0.88rem;
  line-height: 1.5;
}

.session-category-list {
  display: grid;
  gap: 10px;
}

.session-category-card {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) minmax(68px, auto);
  align-items: stretch;
  width: 100%;
  min-height: 84px;
  padding: 0;
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,0.018), transparent 44%),
    var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;

  box-shadow: inset 0 1px rgba(255,255,255,0.015);
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

.session-category-card[aria-pressed="true"] {
  border-color: rgba(239, 189, 90, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(239, 189, 90, 0.12),
    0 0 8px rgba(239, 189, 90, 0.30),
    var(--gold-glow);
}

.session-category-media {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 82px;
  min-height: 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(217, 167, 77, 0.10), transparent 52%),
    #0d0e11;
  border-right: 1px solid rgba(255,255,255,0.045);
}

.session-category-media.is-missing::after {
  content: "";
  width: 30px;
  height: 1px;
  background: rgba(239, 189, 90, 0.32);
}

.session-category-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 82px;
  object-fit: cover;
  object-position: center;
}

.session-category-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 12px 12px 12px 14px;
}

.session-category-name {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: none;
}

.session-category-description {
  display: -webkit-box;
  overflow: hidden;
  color: #c5c4c1;
  font-size: 0.72rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.session-category-price {
  position: absolute;
  right: 14px;
  bottom: 12px;

  color: #ece9e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.session-category-check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(239, 189, 90, 0.26));
}

.session-category-card[aria-pressed="true"] .session-category-check {
  display: block;
}

.session-footer-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.session-footer-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.session-footer-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.session-footer-icon {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  object-fit: contain;
}

.session-footer-detail {
  margin-top: 5px;
  padding-left: 22px;
  overflow: hidden;
  color: #e0dfdc;
  font-size: 0.77rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 390px) {
  .session-content {
    width: min(calc(100% - 22px), 570px);
  }

  .session-category-card {
    grid-template-columns: 72px minmax(0, 1fr) minmax(60px, auto);
    min-height: 74px;
  }

  .session-category-media {
    width: 72px;
    min-height: 72px;
  }

  .session-category-image {
    min-height: 72px;
  }

  .session-category-copy {
    gap: 5px;
    padding: 10px 8px 10px 11px;
  }

  .session-category-name {
    font-size: 0.82rem;
  }

  .session-category-description {
    font-size: 0.66rem;
  }

  .session-category-price {
    min-width: 60px;
    padding: 23px 9px 10px 5px;
    font-size: 0.88rem;
  }

  .session-category-check {
    top: 7px;
    right: 7px;
    width: 18px;
    height: 18px;
  }

  .session-footer-topline {
    gap: 5px 10px;
  }

  .session-footer-item {
    gap: 5px;
    font-size: 0.74rem;
  }

  .session-footer-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .session-footer-detail {
    padding-left: 19px;
    font-size: 0.72rem;
  }
}

/* --------------------------------------------------
   STEP 4: EXTRAS
   Visual template. The separate Extras data model is
   intentionally wired later; this screen currently
   reuses the existing protected option transport.
   -------------------------------------------------- */
.extras-content {
  width: min(calc(100% - 32px), 570px);
  margin: 0 auto;
  padding: 18px 0 24px;
}

.extras-intro {
  margin-top: 20px;
  margin-bottom: 22px;
  text-align: left;
}

.extras-intro h1 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 4.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.035em;
}

.extras-intro > p:not(.status) {
  margin: 9px 0 0;
  color: #c6c5c2;
  font-size: 0.88rem;
  line-height: 1.5;
}

.extras-panel {
  width: 100%;
}

.extras-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.extras-option-list.is-odd .extras-option-card.is-featured {
  grid-column: 1 / -1;
}

.extras-option-card {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  width: 100%;
  min-height: 96px;
  padding: 13px 13px 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,0.018), transparent 44%),
    var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,0.015);
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

.extras-option-card[aria-pressed="true"] {
  border-color: rgba(239, 189, 90, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(239, 189, 90, 0.12),
    0 0 8px rgba(239, 189, 90, 0.30),
    var(--gold-glow);
}

.extras-option-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid #55575d;
  border-radius: 4px;
  background: #0e0f12;
}

.extras-option-check img {
  display: none;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.extras-option-card[aria-pressed="true"] .extras-option-check {
  border-color: rgba(239, 189, 90, 0.72);
  background: rgba(217, 167, 77, 0.12);
  box-shadow: var(--gold-glow-soft);
}

.extras-option-card[aria-pressed="true"] .extras-option-check img {
  display: block;
}

.extras-option-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 2px;
}

.extras-option-name {
  overflow: hidden;
  color: #ece9e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.extras-option-description {
  display: -webkit-box;
  overflow: hidden;
  color: #aaa9a6;
  font-size: 0.68rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.extras-option-price {
  position: absolute;
  right: 13px;
  bottom: 11px;
  color: #ece9e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.extras-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.015), transparent 58%),
    var(--surface);
  color: #c6c5c2;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.4;
}

.extras-info-card strong {
  color: #d8d5ce;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-weight: 500;
}

@media (max-width: 390px) {
  .extras-content {
    width: min(calc(100% - 22px), 570px);
  }

  .extras-option-list {
    gap: 8px;
  }

  .extras-option-card {
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 7px;
    min-height: 90px;
    padding: 11px 9px 28px;
  }

  .extras-option-check {
    width: 20px;
    height: 20px;
  }

  .extras-option-check img {
    width: 14px;
    height: 14px;
  }

  .extras-option-name {
    font-size: 0.78rem;
  }

  .extras-option-description {
    font-size: 0.62rem;
  }

  .extras-option-price {
    right: 9px;
    bottom: 9px;
    font-size: 0.74rem;
  }
}


/* --------------------------------------------------
   STEP 5: FETISCHE + BEMERKUNGEN
   Compact template. Persistent multi-fetish data and
   pricing are intentionally connected in the backend
   redesign, not simulated here.
   -------------------------------------------------- */
.fetishes-content {
  width: min(calc(100% - 32px), 570px);
  margin: 0 auto;
  padding: 18px 0 24px;
}

.fetishes-intro {
  margin-top: 20px;
  margin-bottom: 18px;
  text-align: left;
}

.fetishes-intro h1 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 4.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.035em;
}

.fetishes-intro > p:not(.status) {
  margin: 9px 0 0;
  color: #c6c5c2;
  font-size: 0.88rem;
  line-height: 1.5;
}

.fetishes-panel {
  width: 100%;
}

.fetishes-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 205px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 167, 77, 0.45) transparent;
  padding-right: 2px;
}

.fetishes-option-list.is-odd .fetishes-option-card.is-featured {
  grid-column: 1 / -1;
}

.fetishes-option-card {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 10px 10px 23px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,0.018), transparent 44%),
    var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,0.015);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.fetishes-option-card[aria-pressed="true"] {
  border-color: rgba(239, 189, 90, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(239, 189, 90, 0.12),
    0 0 8px rgba(239, 189, 90, 0.30),
    var(--gold-glow);
}

.fetishes-option-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #55575d;
  border-radius: 4px;
  background: #0e0f12;
}

.fetishes-option-check img {
  display: none;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.fetishes-option-card[aria-pressed="true"] .fetishes-option-check {
  border-color: rgba(239, 189, 90, 0.72);
  background: rgba(217, 167, 77, 0.12);
  box-shadow: var(--gold-glow-soft);
}

.fetishes-option-card[aria-pressed="true"] .fetishes-option-check img {
  display: block;
}

.fetishes-option-name {
  min-width: 0;
  overflow: hidden;
  color: #ece9e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fetishes-option-price {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #ece9e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fetishes-notes-label {
  display: block;
  margin: 15px 0 7px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.fetishes-notes-input {
  display: block;
  width: 100%;
  min-height: 82px;
  max-height: 112px;
  resize: vertical;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,0.016), transparent 48%),
    var(--surface);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
  caret-color: var(--gold-bright);
}

.fetishes-notes-input::placeholder {
  color: #77787d;
}

.fetishes-notes-input:focus {
  border-color: rgba(239, 189, 90, 0.72);
  box-shadow: 0 0 8px rgba(239, 189, 90, 0.18);
}

@media (max-width: 390px) {
  .fetishes-content {
    width: min(calc(100% - 22px), 570px);
  }

  .fetishes-option-list {
    gap: 7px;
    max-height: 184px;
  }

  .fetishes-option-card {
    grid-template-columns: 21px minmax(0, 1fr);
    column-gap: 6px;
    min-height: 54px;
    padding: 9px 8px 21px;
  }

  .fetishes-option-check {
    width: 18px;
    height: 18px;
  }

  .fetishes-option-check img {
    width: 13px;
    height: 13px;
  }

  .fetishes-option-name {
    font-size: 0.74rem;
  }

  .fetishes-option-price {
    right: 8px;
    bottom: 7px;
    font-size: 0.67rem;
  }

  .fetishes-notes-label {
    margin-top: 12px;
    font-size: 0.76rem;
  }

  .fetishes-notes-input {
    min-height: 74px;
    font-size: 0.74rem;
  }
}

/* ---- Step 6: Zusammenfassung ---------------------------------------- */
.summary-content-wrap {
  width: min(calc(100% - 32px), 880px);
  margin: 0 auto;
  padding: 24px 0 24px;
}

.summary-intro {
  margin: 22px 0 18px;
}

.summary-intro h1 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 4.8vw, 1.52rem);
  font-weight: 400;
  letter-spacing: 0.035em;
}

.summary-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px;
  align-items: stretch;
}

.summary-columns .summary-card {
  width: 100%;
  min-width: 0;
  margin-top: 0;
}

.summary-card {
  overflow: hidden;
  margin-top: 10px;
  padding: 14px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.018), transparent 48%),
    var(--surface);
  box-shadow: inset 0 1px rgba(255,255,255,0.015);
}

.summary-rows {
  display: grid;
  gap: 10px;
}

.summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  color: #deddd9;
  font-size: 0.78rem;
  line-height: 1.35;
}

.summary-row-label {
  text-align: left;
  color: #d3d2cf;
}

.summary-row-separator {
  display: none;
}

.summary-row-value {
  min-width: 0;
  width: 100%;
  text-align: right;
  color: #eceae5;
  overflow-wrap: anywhere;
}

#summary-prices .summary-row-value {
  white-space: nowrap;
  overflow-wrap: normal;
}

.summary-notes-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.summary-notes-label {
  margin-bottom: 7px;
  color: #d3d2cf;
  font-size: 0.78rem;
}

.summary-notes-text {
  min-height: 34px;
  color: #eceae5;
  font-size: 0.76rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.summary-price-card {
  margin-top: 0;
}

.summary-total-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.summary-total-row span:last-child {
  align-self: center;
  text-align: center;
  font-size: 1.18rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.summary-deposit-block {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--border-soft);
}

.summary-deposit-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;

  color: #e6d3a9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}

.summary-deposit-row span:last-child {
  align-self: center;
  text-align: center;
  color: var(--gold-bright);
  font-size: 1rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: var(--gold-text-glow);
}

.summary-deposit-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.summary-submit {
  display: flex;
  align-items: center;
  justify-content: center;

  width: min(100%, 570px);
  height: 52px;
  margin: 0 auto;

  border: 1px solid rgba(255, 224, 160, 0.46);
  border-radius: 6px;

  background: linear-gradient(
    145deg,
    #efbd5a,
    #c79039
  );

  color: #16110a;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.055em;

  box-shadow:
    inset 0 1px rgba(255,255,255,0.18),
    var(--gold-glow-soft);

  cursor: pointer;
}

.summary-submit:disabled {
  background: var(--footer-disabled);
  border-color: #303136;
  color: var(--footer-disabled-text);
  box-shadow: none;
}

.summary-footer {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 390px) {
  .summary-content-wrap {
    width: min(calc(100% - 22px), 880px);
    padding-top: 20px;
  }

  .summary-columns {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 7px;
  }

  .summary-intro {
    margin-top: 18px;
    margin-bottom: 14px;
  }

  .summary-card {
    padding: 12px 11px;
  }

  .summary-columns .summary-card {
    padding: 11px 9px;
  }
  .summary-columns .summary-row {
    gap: 3px;
    font-size: 0.67rem;
  }

  .summary-columns .summary-notes-label,
  .summary-columns .summary-notes-text {
    font-size: 0.67rem;
  }

  .summary-columns .summary-total-row {
    gap: 5px;
    font-size: 0.84rem;
  }

  .summary-columns .summary-total-row span:last-child {
    font-size: 1rem;
  }

  .summary-columns .summary-deposit-row {
    gap: 5px;
    font-size: 0.72rem;
  }

  .summary-columns .summary-deposit-row span:last-child {
    font-size: 0.86rem;
  }

  .summary-columns .summary-deposit-note {
    font-size: 0.62rem;
  }

}

/* ==========================================================================
   BESTÄTIGUNG
   ========================================================================== */

.app.is-confirmation .booking-brand,
.app.is-confirmation .booking-progress {
  display: none;
}

.confirmation-step {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.confirmation-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  width: min(calc(100% - 40px), 570px);
  margin: 0 auto;
  padding: clamp(42px, 8vh, 76px) 0 28px;
}

.confirmation-content::-webkit-scrollbar {
  display: none;
}

.confirmation-intro {
  text-align: center;
  margin: 0 auto 30px;
}

.confirmation-intro h1 {
  margin: 0;
  color: #f1f0ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.025em;
}

.confirmation-intro p {
  margin: 16px auto 0;
  max-width: 500px;
  color: #d9b66c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.82rem, 3.2vw, 0.98rem);
  line-height: 1.55;
}

.confirmation-card {
  width: 100%;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.018), rgba(255,255,255,0.006)),
    var(--surface);
  box-shadow:
    inset 0 1px rgba(255,255,255,0.025),
    0 12px 30px rgba(0,0,0,0.16);
}

.confirmation-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 16px;
}

.confirmation-item + .confirmation-item {
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.confirmation-item:last-child {
  padding-bottom: 0;
}

.confirmation-label {
  color: #d3d2cf;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.confirmation-value {
  width: 100%;
  color: #f1f0ed;
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

.confirmation-deposit-value {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: var(--gold-text-glow);
}

.confirmation-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.confirmation-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 570px);
  height: 52px;
  margin: 0 auto;

  border: 1px solid rgba(255, 224, 160, 0.46);
  border-radius: 6px;
  background: linear-gradient(145deg, #efbd5a, #c79039);
  color: #16110a;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.055em;

  box-shadow:
    inset 0 1px rgba(255,255,255,0.18),
    var(--gold-glow-soft);
  cursor: pointer;
}

.confirmation-close:active {
  transform: translateY(1px);
}

@media (max-width: 390px) {
  .confirmation-content {
    width: min(calc(100% - 26px), 570px);
    padding-top: 36px;
  }

  .confirmation-intro {
    margin-bottom: 24px;
  }

  .confirmation-card {
    padding: 17px 15px;
  }
}

/* ---- CLAUDE_CALENDAR_ENTRIES_BLOCKS_LIVESTREAMS_2026-09-09.md K6: User
   Kalender BLOCK/Livestream (sections 70-79) --------------------------- */

/* Section 71: no new hardcoded session color - `--session-color` is the
   exact bronze tone `.legend-dot.available` already uses. Livestream
   reuses the existing Lady-Charlyn accent gold, `--gold-bright`. */
:root {
  --session-color: #6a4817;
  --livestream-gold: var(--gold-bright);
}

/* Section 70: Livestream-only day -> solid gold fill (never its own
   separate marker system - same .day-number element the Availability
   fill already uses). */
.calendar-grid .day-cell.has-livestream:not(.available) .day-number {
  background: radial-gradient(circle, #6b551c 0%, #4c3c12 58%, #33290c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(239, 189, 90, 0.28),
    var(--gold-glow-soft);
}

/* Section 70/72: Session + Livestream on the same day -> one circle,
   split exactly 50/50, no soft blend - left the existing session color,
   right exactly gold. */
.calendar-grid .day-cell.available.has-livestream .day-number {
  background: linear-gradient(
    90deg,
    #5a3d18 0%,
    #4a3214 28%,
    #33240f 50%,
    #6b551c 50%,
    #80651f 72%,
    var(--livestream-gold) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(239, 189, 90, 0.24),
    var(--gold-glow-soft);
}

/* BLOCK-only day: silver marker. Availability keeps its established
   bronze marker when both availability and a BLOCK exist. */
.calendar-grid .day-cell.has-block:not(.available):not(.has-livestream) .day-number {
  background: radial-gradient(
    circle,
    #8f949c 0%,
    #676c74 58%,
    #444850 100%
  );
  color: #f4f5f6;
  box-shadow:
    inset 0 0 0 1px rgba(225, 228, 232, 0.30),
    0 0 0 1px rgba(182, 188, 196, 0.42),
    0 0 12px rgba(160, 166, 176, 0.16);
}

/* BLOCK + LIVESTREAM: left silver, right gold. The :not(.available)
   keeps Session/Availability + Livestream on the bronze/gold scheme. */
.calendar-grid .day-cell.has-block.has-livestream:not(.available) .day-number {
  background: linear-gradient(
    90deg,
    #9499a1 0%,
    #767b83 28%,
    #565b63 50%,
    #6b551c 50%,
    #80651f 72%,
    var(--livestream-gold) 100%
  );
  color: #f4f0e7;
  box-shadow:
    inset 0 0 0 1px rgba(225, 204, 154, 0.26),
    0 0 0 1px rgba(205, 191, 155, 0.34),
    var(--gold-glow-soft);
}

.legend-dot.has-livestream {
  background: radial-gradient(circle, #d9a74d, var(--gold-bright));
  border: 1px solid var(--gold-bright);
}

/* Compact selected-day information. Calendar Entries live here, never
   in the fixed Booking footer. The section is hidden when empty. */
.calendar-day-info {
  display: grid;
  gap: 7px;
  margin: 10px 2px 0;
  min-width: 0;
}

.calendar-day-info[hidden] {
  display: none;
}

.calendar-day-info-line {
  min-width: 0;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.calendar-day-info-livestream {
  min-width: 0;
}

.calendar-day-info-secondary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 10px;
  min-width: 0;
  margin-top: 2px;
}

.calendar-day-info-platform {
  min-width: 0;
  color: #e0dfdc;
  font-size: 0.74rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.calendar-entry-reminder {
  flex: 0 1 auto;
  min-width: 0;
}

.calendar-entry-reminder-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #15161a;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
}

.calendar-entry-reminder-btn.is-enabled {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.calendar-entry-reminder-btn.is-sent {
  border-color: var(--border);
  color: var(--muted);
  opacity: 0.75;
}

.calendar-entry-reminder-btn:disabled {
  cursor: default;
}

.calendar-entry-reminder-error {
  margin-top: 4px;
  color: #e8877a;
  font-size: 0.7rem;
  overflow-wrap: anywhere;
}

@media (max-width: 390px) {
  .calendar-day-info {
    gap: 6px;
    margin-top: 8px;
  }

  .calendar-day-info-line {
    font-size: 0.73rem;
  }

  .calendar-entry-reminder-btn {
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.68rem;
  }
}

.legend-dot.has-block {
  background: radial-gradient(circle, #9499a1, #565b63);
  border: 1px solid #aeb3ba;
}

/* 2026-09-10: selected User-calendar markers keep their own fill.
   Selection adds only an outer ring after all marker rules, so bronze,
   silver, gold and split fills remain visible. */
.calendar-grid .day-cell.selected.available .day-number,
.calendar-grid .day-cell.selected.has-block .day-number,
.calendar-grid .day-cell.selected.has-livestream .day-number {
  box-shadow:
    inset 0 0 0 1px rgba(239, 221, 181, 0.24),
    0 0 0 2px var(--bg),
    0 0 0 4px var(--gold-bright),
    var(--gold-glow);
}

/* 2026-09-10: keep the existing two-column tools layout.
   The legend stays on the left, the category filter stays in its original
   right-hand position. Stack the three legend entries vertically instead
   of forcing them into one cramped line. */
.calendar-tools-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.calendar-tools-row .legend {
  width: auto;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  gap: 6px;
}

.calendar-tools-row .legend li {
  gap: 7px;
  white-space: nowrap;
}

.calendar-tools-row .calendar-category-filter {
  justify-self: auto;
}

/* 2026-09-10: explicit selected-ring preservation for blocker and split
   markers. These more specific selectors guarantee that the outer ring
   remains visible even when a specialized marker rule also sets
   box-shadow. */
.calendar-grid .day-cell.selected.has-block:not(.available):not(.has-livestream) .day-number {
  box-shadow:
    inset 0 0 0 1px rgba(225, 228, 232, 0.30),
    0 0 0 1px rgba(182, 188, 196, 0.42),
    0 0 0 2px var(--bg),
    0 0 0 4px var(--gold-bright),
    var(--gold-glow);
}

.calendar-grid .day-cell.selected.has-block.has-livestream:not(.available) .day-number {
  background: linear-gradient(
    90deg,
    #9499a1 0%,
    #767b83 28%,
    #565b63 50%,
    #6b551c 50%,
    #80651f 72%,
    var(--livestream-gold) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(225, 204, 154, 0.26),
    0 0 0 1px rgba(205, 191, 155, 0.34),
    0 0 0 2px var(--bg),
    0 0 0 4px var(--gold-bright),
    var(--gold-glow);
}

/* --------------------------------------------------
   2026-09-11: compact day overview + availability footer
   Calendar remains the visual anchor. Selected-day information is kept
   intentionally flat and dense below legend/filter; only bookable free
   intervals live in the always-visible footer.
   -------------------------------------------------- */

.calendar-day-info {
  gap: 0;
  margin: 10px 2px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.calendar-day-info > .calendar-day-info-line,
.calendar-day-info > .calendar-day-info-livestream {
  padding: 7px 2px;
}

.calendar-day-info > * + * {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.calendar-day-info-line {
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.012em;
}

.calendar-day-info-secondary {
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 4px;
}

.calendar-day-info-platform {
  flex: 1 1 auto;
  color: #d5d3cf;
  font-size: 0.72rem;
  line-height: 1.25;
}

.calendar-entry-reminder {
  flex: 0 0 auto;
}

.calendar-entry-reminder-btn {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 0.67rem;
  line-height: 1;
  white-space: nowrap;
}

/* Step-1 footer stays permanently visible through the existing flex
   layout, but no longer spends vertical space on card-like content. */
#day-panel.booking-footer {
  min-height: 82px;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

#day-panel .footer-copy {
  display: grid;
  align-content: center;
  gap: 4px;
}

#day-panel .footer-title {
  font-size: 0.74rem;
  line-height: 1.2;
  letter-spacing: 0.045em;
}

#day-panel .window-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 6px;
  margin-top: 0;
}

.free-interval-item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}

.free-interval-separator {
  margin-right: 6px;
  color: #77787d;
  font-size: 0.7rem;
  line-height: 1;
}

#day-panel .free-interval,
#day-panel .footer-detail {
  color: #e0dfdc;
  font-size: 0.73rem;
  line-height: 1.25;
}

#day-panel .footer-next {
  min-width: 88px;
  height: 42px;
  padding-inline: 12px;
}

@media (max-width: 390px) {
  .calendar-day-info {
    margin-top: 8px;
  }

  .calendar-day-info > .calendar-day-info-line,
  .calendar-day-info > .calendar-day-info-livestream {
    padding: 6px 1px;
  }

  .calendar-day-info-line {
    font-size: 0.71rem;
  }

  .calendar-day-info-platform {
    font-size: 0.69rem;
  }

  .calendar-entry-reminder-btn {
    min-height: 27px;
    padding-inline: 8px;
    font-size: 0.64rem;
  }

  #day-panel.booking-footer {
    gap: 9px;
    min-height: 78px;
    padding-top: 9px;
    padding-left: 11px;
    padding-right: 11px;
  }

  #day-panel .footer-title {
    font-size: 0.69rem;
  }

  #day-panel .free-interval,
  #day-panel .footer-detail {
    font-size: 0.68rem;
  }

  #day-panel .footer-next {
    min-width: 82px;
    height: 40px;
    padding-inline: 10px;
  }
}

/* On short Telegram WebViews, reduce only vertical chrome. The calendar,
   filter, day overview and footer all remain available without changing
   any booking semantics. */
@media (max-height: 760px) {
  .booking-brand {
    min-height: 78px;
    padding-top: 6px;
    padding-bottom: 3px;
  }

  .booking-logo {
    max-height: 72px;
  }

  .progress-step {
    height: 42px;
    padding-bottom: 10px;
  }

  .date-content {
    padding-top: 12px;
    padding-bottom: 16px;
  }

  .calendar-card {
    padding-top: 9px;
    padding-bottom: 12px;
  }

  .month-nav {
    min-height: 38px;
  }

  .month-nav button {
    width: 38px;
    height: 38px;
    font-size: 1.8rem;
  }

  .weekday-row {
    margin-top: 5px;
  }

  .calendar-grid {
    margin-top: 5px;
  }

  .calendar-grid .day-cell {
    height: 37px;
  }

  .day-number {
    width: 34px;
    height: 34px;
  }

  .calendar-tools-row {
    margin-top: 10px;
  }
}


/* Session request: direct Wunschzeit input, separate from normal start-time dropdown. */
.time-request-start-panel {
  display: grid;
  gap: 7px;
  padding: 13px 15px 12px;
  border: 1px solid rgba(217, 167, 77, 0.68);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,0.018), transparent 44%),
    var(--surface);
  box-shadow:
    inset 0 0 0 1px rgba(239, 189, 90, 0.10),
    var(--gold-glow-soft);
}

.time-request-start-panel[hidden] {
  display: none;
}

.time-request-start-label {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.time-request-grid-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 10px;
}

.time-request-grid-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.time-request-grid-field > span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.time-request-grid-field select {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 7px;
  background: #0d0e11;
  color: #ece9e2;
  padding: 9px 34px 9px 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color-scheme: dark;
  cursor: pointer;
}

.time-request-grid-field select:focus {
  outline: none;
  border-color: rgba(239, 189, 90, 0.78);
  box-shadow: 0 0 0 2px rgba(217, 167, 77, 0.13);
}

.time-request-grid-colon {
  align-self: end;
  padding-bottom: 11px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1;
}

.time-request-start-hint {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.3;
}


/* ================================================================
   2026-09-15 user booking calendar modernization
   Target: premium mobile booking view matching the approved mockup
   ================================================================ */

.app {
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.40), rgba(5, 6, 8, 0.88)),
    radial-gradient(circle at 14% 8%, rgba(219, 165, 68, 0.16), transparent 20%),
    radial-gradient(circle at 84% 10%, rgba(219, 165, 68, 0.10), transparent 18%),
    url("../assets/user-bg-gold-black.png") center / cover no-repeat,
    #050608;
}

.app::before {
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 208, 120, 0.08), transparent 18%),
    radial-gradient(circle at 82% 12%, rgba(255, 208, 120, 0.05), transparent 14%),
    linear-gradient(135deg, rgba(255,255,255,0.018), transparent 36%),
    linear-gradient(320deg, rgba(255,209,140,0.05), transparent 38%);
  opacity: 1;
}

.booking-brand {
  min-height: 122px;
  padding: 18px 18px 8px;
}

.booking-logo {
  width: min(84vw, 420px);
  max-height: 140px;
  filter: drop-shadow(0 0 22px rgba(239, 189, 90, 0.16));
}

.booking-progress {
  width: min(calc(100% - 32px), 640px);
  margin: 0 auto;
  padding: 0;
  border-bottom: 0;
  gap: 0;
}

.booking-progress .progress-step:disabled {
  opacity: 1;
  cursor: default;
}

.progress-step {
  flex-direction: column;
  gap: 9px;
  height: auto;
  padding: 0 0 14px;
  color: #8f9198;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.progress-step::after {
  display: none;
}

.progress-step::before {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(-50% + 28px);
  width: calc(100% - 56px);
  height: 1px;
  background: linear-gradient(90deg, rgba(104, 107, 116, 0.22), rgba(203, 164, 87, 0.44), rgba(104, 107, 116, 0.22));
  box-shadow: 0 0 9px rgba(214, 165, 78, 0.14);
}

.progress-step:first-child::before {
  display: none;
}

.progress-index {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(160, 164, 176, 0.60);
  background: radial-gradient(circle at 50% 35%, rgba(34, 37, 46, 0.98) 0%, rgba(11, 13, 18, 0.95) 72%, rgba(8, 10, 14, 0.98) 100%);
  color: #d2d5dc;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 0 1px rgba(12, 13, 16, 0.75),
    0 0 14px rgba(255, 233, 177, 0.04),
    0 10px 22px rgba(0, 0, 0, 0.24);
}

.progress-step.is-active .progress-index {
  color: #1c150b;
  border-color: rgba(255, 234, 182, 0.96);
  background: radial-gradient(circle at 50% 32%, rgba(255, 230, 157, 1) 0%, rgba(239, 188, 86, 0.98) 58%, rgba(177, 116, 28, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 219, 0.68),
    0 0 0 1px rgba(255, 219, 127, 0.45),
    0 0 18px rgba(239, 189, 90, 0.42),
    0 0 34px rgba(239, 189, 90, 0.18),
    0 10px 24px rgba(0, 0, 0, 0.28);
}

.progress-label {
  font-size: 0.84rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 222, 153, 0.04);
}

.progress-step.is-active .progress-label {
  color: #f2cd7c;
  text-shadow: 0 0 12px rgba(239, 189, 90, 0.24);
}

.date-content {
  width: min(calc(100% - 32px), 640px);
  padding: 22px 0 20px;
}

.calendar-card {
  border-radius: 26px;
  border: 1px solid rgba(226, 177, 86, 0.88);
  background:
    linear-gradient(180deg, rgba(15, 18, 26, 0.93), rgba(7, 10, 15, 0.97)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03), transparent 40%);
  padding: 20px 18px 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.06),
    0 0 0 1px rgba(255, 213, 120, 0.08),
    0 0 18px rgba(214, 165, 78, 0.16),
    0 0 38px rgba(214, 165, 78, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.30);
}

.month-nav {
  grid-template-columns: 56px 1fr 56px;
  min-height: 56px;
}

.month-nav button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(168, 137, 73, 0.36);
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 0 14px rgba(214, 165, 78, 0.10);
}

.month-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 4vw, 1.65rem);
  letter-spacing: 0.08em;
}

.weekday-row {
  margin-top: 18px;
  color: #f1ede4;
  font-size: 0.95rem;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.06em;
}

.calendar-grid {
  gap: 8px 4px;
  margin-top: 18px;
}

.calendar-grid .day-cell {
  height: 74px;
}

.day-number {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(98, 102, 112, 0.34);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.07), transparent 26%),
    radial-gradient(circle at 50% 38%, rgba(27, 31, 40, 0.96) 0%, rgba(13, 15, 20, 0.98) 72%, rgba(8, 10, 13, 1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -10px 20px rgba(0,0,0,0.22),
    0 6px 18px rgba(0,0,0,0.24);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.calendar-grid .day-cell.available .day-number {
  border-color: rgba(226, 185, 97, 0.82);
  background:
    radial-gradient(circle at 50% 34%, rgba(86, 54, 16, 0.96) 0%, rgba(36, 23, 9, 0.98) 68%, rgba(15, 11, 7, 1) 100%);
  color: #f5e6bf;
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 213, 0.12),
    0 0 0 1px rgba(255, 210, 118, 0.14),
    0 0 16px rgba(214, 165, 78, 0.18),
    0 8px 18px rgba(0,0,0,0.22);
}

.calendar-grid .day-cell.has-block:not(.has-livestream):not(.available) .day-number {
  border-color: rgba(212, 216, 224, 0.78);
  background:
    radial-gradient(circle at 50% 30%, rgba(142, 149, 160, 0.9) 0%, rgba(76, 83, 93, 0.95) 58%, rgba(28, 31, 37, 0.98) 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 0 1px rgba(222, 227, 235, 0.12),
    0 0 18px rgba(190, 196, 208, 0.20),
    0 8px 18px rgba(0,0,0,0.22);
}

.calendar-grid .day-cell.has-livestream:not(.available):not(.has-block) .day-number {
  border-color: rgba(255, 224, 147, 0.88);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 232, 169, 1) 0%, rgba(240, 190, 74, 0.98) 54%, rgba(160, 101, 20, 0.98) 100%);
  color: #271b07;
  box-shadow:
    inset 0 1px 0 rgba(255,248,225,0.52),
    0 0 0 1px rgba(255, 220, 132, 0.18),
    0 0 20px rgba(255, 205, 96, 0.30),
    0 10px 18px rgba(0,0,0,0.22);
}

.calendar-grid .day-cell.has-block.has-livestream:not(.available) .day-number {
  border-color: rgba(212, 216, 224, 0.78);
  background:
    radial-gradient(circle at 50% 30%, rgba(142, 149, 160, 0.9) 0%, rgba(76, 83, 93, 0.95) 58%, rgba(28, 31, 37, 0.98) 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 0 1px rgba(222, 227, 235, 0.12),
    0 0 18px rgba(190, 196, 208, 0.20),
    0 8px 18px rgba(0,0,0,0.22);
}

.calendar-grid .day-cell.available.has-livestream .day-number,
.calendar-grid .day-cell.available.has-block .day-number,
.calendar-grid .day-cell.available.has-block.has-livestream .day-number {
  border-color: rgba(226, 185, 97, 0.82);
  background:
    radial-gradient(circle at 50% 34%, rgba(86, 54, 16, 0.96) 0%, rgba(36, 23, 9, 0.98) 68%, rgba(15, 11, 7, 1) 100%);
  color: #f5e6bf;
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 213, 0.12),
    0 0 0 1px rgba(255, 210, 118, 0.14),
    0 0 16px rgba(214, 165, 78, 0.18),
    0 8px 18px rgba(0,0,0,0.22);
}

.calendar-grid .day-cell.selected .day-number {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 0 2px rgba(10, 11, 14, 0.96),
    0 0 0 4px rgba(241, 191, 88, 0.90),
    0 0 18px rgba(239, 189, 90, 0.34),
    0 0 34px rgba(239, 189, 90, 0.18),
    0 8px 18px rgba(0,0,0,0.22);
}

.legend {
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #f0e9dd;
}

.legend-dot {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  border: 1px solid rgba(112, 116, 126, 0.34);
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.07), transparent 28%),
    radial-gradient(circle at 50% 38%, rgba(27, 31, 40, 0.96) 0%, rgba(11, 13, 18, 0.98) 72%, rgba(8, 10, 14, 1) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 12px rgba(239,189,90,0.10);
}

.legend-dot.has-block {
  border-color: rgba(217, 222, 230, 0.86);
  background: radial-gradient(circle at 50% 30%, rgba(150, 156, 167, 0.92) 0%, rgba(86, 92, 103, 0.95) 60%, rgba(31, 34, 40, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 12px rgba(190,196,208,0.18);
}

.legend-dot.has-livestream {
  border-color: rgba(255, 226, 152, 0.92);
  background: radial-gradient(circle at 50% 30%, rgba(255, 234, 174, 1) 0%, rgba(240, 191, 76, 0.98) 58%, rgba(164, 104, 22, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255,248,225,0.48), 0 0 12px rgba(255,205,96,0.24);
}

.calendar-category-filter {
  width: min(240px, 54vw);
}

.calendar-filter-trigger {
  min-height: 54px;
  padding: 11px 14px 11px 18px;
  border-radius: 16px;
  font-size: 1rem;
}

#day-info {
  margin-top: 16px;
}

.booking-footer--date {
  border-top: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 max(18px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}

.booking-footer-shell {
  width: min(100%, 640px);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.day-panel-card {
  border-radius: 24px;
  border: 1px solid rgba(214, 165, 78, 0.45);
  background: linear-gradient(180deg, rgba(15, 18, 24, 0.96), rgba(8, 10, 15, 0.97));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 14px 28px rgba(0,0,0,0.25);
  padding: 18px;
}

.day-panel-head {
  display: flex;
  gap: 12px 18px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.day-panel-heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.day-panel-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(239, 189, 90, 0.2));
}

.footer-title {
  color: #f3e4ba;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.day-panel-meta {
  max-width: 44%;
  color: #a5a8b1;
  text-align: right;
  font-size: 0.84rem;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.window-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.free-interval {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(93, 98, 109, 0.55);
  background: linear-gradient(180deg, rgba(15, 19, 27, 0.98), rgba(9, 12, 17, 0.98));
  color: #f3efe7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  white-space: nowrap;
}

.footer-detail {
  grid-column: 1 / -1;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px dashed rgba(93, 98, 109, 0.55);
  border-radius: 16px;
  color: #bbb8b0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-next--wide {
  width: 100%;
  min-width: 0;
  height: 72px;
  border-radius: 20px;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
}

@media (max-width: 680px) {
  .booking-progress {
    width: min(calc(100% - 24px), 640px);
  }

  .progress-index {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .date-content {
    width: min(calc(100% - 24px), 640px);
  }

  .calendar-grid .day-cell {
    height: 64px;
  }

  .day-number {
    width: 48px;
    height: 48px;
  }

  .window-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .day-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .day-panel-meta {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .booking-brand {
    min-height: 106px;
  }

  .booking-logo {
    width: min(88vw, 350px);
  }

  .progress-step {
    font-size: 0.82rem;
  }

  .progress-label {
    font-size: 0.74rem;
  }

  .month-nav {
    grid-template-columns: 46px 1fr 46px;
  }

  .month-nav button {
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }

  .month-label {
    font-size: 1.28rem;
  }

  .weekday-row {
    font-size: 0.82rem;
  }

  .calendar-grid {
    gap: 6px 2px;
  }

  .calendar-grid .day-cell {
    height: 56px;
  }

  .day-number {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }

  .calendar-tools-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .calendar-category-filter {
    width: 100%;
  }

  .calendar-filter-trigger {
    min-height: 48px;
    font-size: 0.92rem;
  }

  .legend {
    gap: 12px;
    font-size: 0.8rem;
  }

  .window-list {
    grid-template-columns: 1fr;
  }

  .day-panel-card {
    padding: 16px 14px;
  }

  .footer-next--wide {
    height: 64px;
    font-size: 1.04rem;
  }
}

/* ================================================================
   Compact mobile pass for Telegram WebView
   Keeps the premium visual language while reducing vertical density.
   ================================================================ */
@media (max-width: 480px) {
  .booking-brand {
    min-height: 76px;
    padding: 8px 14px 3px;
  }

  .booking-logo {
    width: min(72vw, 290px);
    max-height: 88px;
  }

  .booking-progress {
    width: min(calc(100% - 20px), 620px);
  }

  .progress-step {
    gap: 5px;
    padding-bottom: 8px;
  }

  .progress-step::before {
    top: 15px;
    left: calc(-50% + 23px);
    width: calc(100% - 46px);
  }

  .progress-index {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 0.84rem;
  }

  .progress-label {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .date-content {
    width: min(calc(100% - 16px), 620px);
    padding: 12px 0 10px;
  }

  .date-status {
    margin-bottom: 6px;
  }

  .calendar-card {
    border-radius: 20px;
    padding: 10px 10px 12px;
  }

  .month-nav {
    grid-template-columns: 38px 1fr 38px;
    min-height: 40px;
  }

  .month-nav button {
    width: 36px;
    height: 36px;
    font-size: 1.42rem;
  }

  .month-label {
    font-size: 1.08rem;
    letter-spacing: 0.065em;
  }

  .weekday-row {
    margin-top: 10px;
    font-size: 0.72rem;
  }

  .calendar-grid {
    gap: 2px;
    margin-top: 8px;
  }

  .calendar-grid .day-cell {
    height: 43px;
  }

  .day-number {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }

  .calendar-grid .day-cell.selected .day-number {
    box-shadow:
      0 0 0 2px rgba(6, 8, 11, 0.95),
      0 0 0 3px var(--gold-bright),
      0 0 15px rgba(239, 189, 90, 0.34);
  }

  .calendar-tools-row {
    grid-template-columns: minmax(0, 1fr) minmax(126px, 44%);
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    padding: 0;
  }

  .legend {
    gap: 7px 10px;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .legend li {
    gap: 5px;
  }

  .legend-dot {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }

  .calendar-category-filter {
    width: 100%;
  }

  .calendar-filter-trigger {
    min-height: 38px;
    padding: 7px 9px 7px 11px;
    border-radius: 11px;
    font-size: 0.76rem;
  }

  .calendar-filter-chevron {
    font-size: 1.1rem;
  }

  #day-info {
    margin-top: 9px;
  }

  .booking-footer--date {
    padding:
      0
      max(10px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
  }

  .booking-footer-shell {
    gap: 9px;
  }

  .day-panel-card {
    border-radius: 18px;
    padding: 11px 12px;
  }

  .day-panel-head {
    display: grid;
    gap: 5px;
    margin-bottom: 8px;
  }

  .day-panel-heading {
    gap: 8px;
  }

  .day-panel-icon {
    width: 23px;
    height: 23px;
  }

  .footer-title {
    font-size: 0.76rem;
    letter-spacing: 0.09em;
  }

  .day-panel-meta {
    max-width: none;
    text-align: left;
    font-size: 0.64rem;
    line-height: 1.25;
    letter-spacing: 0.1em;
  }

  .window-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .free-interval {
    min-height: 40px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 0.76rem;
  }

  .footer-detail {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 0.74rem;
  }

  .footer-next--wide {
    height: 52px;
    border-radius: 16px;
    font-size: 0.92rem;
    letter-spacing: 0.13em;
  }

  .footer-next--wide span {
    font-size: 1.35rem;
  }
}

/* Short phone / Telegram WebView: compact one more step vertically. */
@media (max-width: 480px) and (max-height: 760px) {
  .booking-brand {
    min-height: 66px;
    padding-top: 5px;
  }

  .booking-logo {
    width: min(66vw, 265px);
    max-height: 74px;
  }

  .progress-index {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .progress-step::before {
    top: 14px;
  }

  .date-content {
    padding-top: 8px;
  }

  .calendar-card {
    padding-top: 8px;
    padding-bottom: 9px;
  }

  .calendar-grid .day-cell {
    height: 38px;
  }

  .day-number {
    width: 31px;
    height: 31px;
    font-size: 0.77rem;
  }

  .weekday-row {
    margin-top: 7px;
  }

  .calendar-grid {
    margin-top: 5px;
  }

  .day-panel-card {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .free-interval {
    min-height: 36px;
  }

  .footer-next--wide {
    height: 48px;
  }
}


.calendar-grid .day-cell:not(.available):not(.has-block):not(.has-livestream) .day-number {
  color: rgba(178, 182, 191, 0.60);
}


/* 2026-09-15 livestream day-marker accent */
.day-number {
  position: relative;
}

.calendar-grid .day-cell.has-livestream .day-number::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 250, 231, 1) 0%, rgba(255, 224, 140, 0.98) 32%, rgba(255, 202, 83, 0.98) 62%, rgba(219, 142, 21, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 224, 144, 0.32),
    0 0 8px rgba(255, 208, 102, 0.85),
    0 0 16px rgba(255, 208, 102, 0.55),
    0 1px 4px rgba(0, 0, 0, 0.28);
}

.calendar-grid .day-cell.has-livestream.selected .day-number::after {
  bottom: 6px;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  box-shadow:
    0 0 0 1px rgba(255, 232, 177, 0.36),
    0 0 10px rgba(255, 208, 102, 0.95),
    0 0 20px rgba(255, 208, 102, 0.72),
    0 1px 4px rgba(0, 0, 0, 0.28);
}

@media (max-width: 420px) {
  .calendar-grid .day-cell.has-livestream .day-number::after {
    bottom: 5px;
    width: 7px;
    height: 7px;
    margin-left: -3.5px;
  }

  .calendar-grid .day-cell.has-livestream.selected .day-number::after {
    bottom: 4px;
    width: 8px;
    height: 8px;
    margin-left: -4px;
  }
}


/* ================================================================
   2026-09-16 Step 2 modernization
   Modern, compact Terminzeit step matching the premium calendar view.
   ================================================================ */

.time-step {
  min-height: 0;
}

.time-content {
  width: min(calc(100% - 20px), 640px);
  padding: 14px 0 16px;
}

.step-back {
  min-width: 108px;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border-color: rgba(242, 201, 103, 0.48);
  background: linear-gradient(180deg, rgba(232, 186, 89, 0.96), rgba(196, 137, 44, 0.96));
  color: #16110a;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 207, 0.34),
    0 0 16px rgba(239, 189, 90, 0.20),
    0 8px 20px rgba(0, 0, 0, 0.24);
}

.step-back span {
  font-size: 1.18rem;
}

.time-intro {
  margin-top: 18px;
  margin-bottom: 14px;
}

.time-intro h1 {
  font-size: clamp(1.85rem, 4.6vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.time-intro > p:not(.status) {
  margin-top: 10px;
  color: #ddd9d1;
  font-size: 1rem;
  line-height: 1.45;
}

#time-intro-copy {
  font-weight: 600;
}

#time-status {
  margin-top: 8px;
}

.time-select-stack {
  gap: 14px;
}

.time-select-block,
.time-request-start-panel {
  position: relative;
}

.time-select-trigger {
  min-height: 94px;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 14px;
  padding: 18px 18px 16px 18px;
  border: 1px solid rgba(214, 165, 78, 0.46);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 18, 26, 0.98), rgba(8, 10, 15, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 14px 28px rgba(0,0,0,0.24);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.time-select-trigger:hover {
  transform: translateY(-1px);
}

.time-select-trigger[aria-expanded="true"],
.time-select-trigger.has-selection {
  border-color: rgba(239, 189, 90, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(239, 189, 90, 0.10),
    0 0 18px rgba(239, 189, 90, 0.16),
    0 14px 28px rgba(0,0,0,0.24);
}

.time-select-copy {
  gap: 6px;
}

.time-select-value {
  color: #f4efe4;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.time-select-meta {
  color: #a4a9b0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.time-select-chevron {
  font-size: 2.35rem;
  text-shadow: 0 0 10px rgba(239, 189, 90, 0.18);
}

.time-dropdown {
  margin-top: 10px;
  border-radius: 18px;
  border-color: rgba(214, 165, 78, 0.28);
  background: rgba(13, 16, 23, 0.99);
}

.time-option-list {
  padding: 7px;
}

.time-option-list button {
  min-height: 56px;
  padding: 0 16px;
  font-size: 1rem;
}

.time-request-start-panel {
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  border-color: rgba(214, 165, 78, 0.46);
  background: linear-gradient(180deg, rgba(14, 18, 26, 0.98), rgba(8, 10, 15, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(239, 189, 90, 0.08),
    0 14px 28px rgba(0,0,0,0.24);
}

.time-request-start-label,
.time-request-grid-field > span,
.time-request-start-hint {
  color: #a8adb3;
}

.time-request-grid-field select {
  min-height: 58px;
  border-radius: 14px;
  border-color: rgba(93, 98, 109, 0.55);
  background: linear-gradient(180deg, rgba(15, 19, 27, 0.98), rgba(9, 12, 17, 0.98));
  font-size: 1.2rem;
}

.time-request-grid-colon {
  padding-bottom: 14px;
  font-size: 1.7rem;
}

.booking-footer--time {
  border-top: 0;
  background: transparent;
  box-shadow: none;
  padding:
    0
    max(14px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
}

.booking-footer-shell--time {
  width: min(100%, 640px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 12px;
}

.time-footer-card {
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(214, 165, 78, 0.36);
  background: linear-gradient(180deg, rgba(14, 18, 26, 0.98), rgba(8, 10, 15, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 12px 26px rgba(0,0,0,0.22);
  padding: 13px 16px;
}

.time-footer-summary {
  min-width: 0;
}

.time-footer-topline {
  gap: 6px 14px;
}

.time-footer-item {
  font-size: 0.96rem;
  letter-spacing: 0.05em;
}

.time-footer-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.time-footer-detail {
  margin-top: 4px;
  padding-left: 24px;
  color: #ece9e2;
  font-size: 0.96rem;
  line-height: 1.28;
}

.footer-next--time {
  min-width: 148px;
  height: auto;
  padding: 0 28px;
  border-radius: 18px;
  font-size: 1.12rem;
  letter-spacing: 0.12em;
}

.footer-next--time span {
  font-size: 1.6rem;
}

@media (max-width: 480px) {
  .time-content {
    width: min(calc(100% - 16px), 640px);
    padding: 10px 0 10px;
  }

  .step-back {
    min-width: 92px;
    height: 34px;
    padding: 0 11px;
    border-radius: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .step-back span {
    font-size: 1rem;
  }

  .time-intro {
    margin-top: 14px;
    margin-bottom: 12px;
  }

  .time-intro h1 {
    font-size: 1.18rem;
    letter-spacing: 0.03em;
  }

  .time-intro > p:not(.status) {
    margin-top: 7px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .time-select-stack {
    gap: 10px;
  }

  .time-select-trigger {
    min-height: 72px;
    padding: 12px 14px;
    border-radius: 16px;
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 10px;
  }

  .time-select-value {
    font-size: 0.98rem;
  }

  .time-select-meta {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .time-select-chevron {
    font-size: 1.75rem;
  }

  .time-dropdown {
    margin-top: 8px;
    border-radius: 14px;
  }

  .time-option-list {
    padding: 5px;
  }

  .time-option-list button {
    min-height: 46px;
    font-size: 0.9rem;
  }

  .time-request-start-panel {
    gap: 8px;
    padding: 13px 14px;
    border-radius: 16px;
  }

  .time-request-grid-picker {
    gap: 7px;
  }

  .time-request-grid-field {
    gap: 5px;
  }

  .time-request-grid-field select {
    min-height: 46px;
    padding: 8px 30px 8px 10px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .time-request-grid-field > span,
  .time-request-start-label,
  .time-request-start-hint {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .time-request-grid-colon {
    padding-bottom: 10px;
    font-size: 1.28rem;
  }

  .booking-footer--time {
    padding:
      0
      max(10px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
  }

  .booking-footer-shell--time {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .time-footer-card {
    border-radius: 14px;
    padding: 9px 11px;
  }

  .time-footer-item {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .time-footer-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .time-footer-detail {
    margin-top: 3px;
    padding-left: 21px;
    font-size: 0.70rem;
    line-height: 1.24;
  }

  .footer-next--time {
    min-width: 120px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 480px) and (max-height: 760px) {
  .time-content {
    padding-top: 8px;
  }

  .time-intro {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .time-select-trigger {
    min-height: 66px;
  }

  .time-request-start-panel {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .time-footer-card {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .footer-next--time {
    min-width: 112px;
  }
}
