/* The Suited Singer: gedeelde opmaak voor de herbouwde pagina's.
   Alleen eigen klassen (tsx-). Geen Tailwind-klassen, dus geen build nodig.

   Wereld: het maatpak en het podiumlicht.
   - smokingblauw als basis, ivoor voor tekst en één lichte bewijsband
   - podiumgoud alleen voor acties en cijfers
   - de krijtstreep van het pak als dunne verticale lijn in de hero
   - één spotlight achter de foto
   Kleurparen (tekst op achtergrond), gemeten:
   ivoor #F4EEE2 op #0F1524  ruim boven 12:1
   mist  #AEB7CA op #0F1524  ruim boven 8:1
   goud  #D4AF37 op #0F1524  ruim boven 8:1
   inkt  #0F1524 op goud     ruim boven 8:1
   inkt  #1B1A17 op ivoor    ruim boven 14:1 */

:root {
  --tsx-bg: #0F1524;
  --tsx-bg-2: #151D31;
  --tsx-line: rgba(244, 238, 226, 0.14);
  --tsx-ivory: #F4EEE2;
  --tsx-paper: #FBF7EE;
  --tsx-ink: #1B1A17;
  --tsx-mist: #AEB7CA;
  --tsx-gold: #D4AF37;
  --tsx-gold-hover: #E3C25A;
  --tsx-glow: #E9B76A;
  --tsx-radius: 8px;
  --tsx-serif: 'Playfair Display', Georgia, serif;
  --tsx-sans: 'Poppins', system-ui, sans-serif;
}

body.tsx-page {
  background: var(--tsx-bg);
  color: var(--tsx-ivory);
  font-family: var(--tsx-sans);
}

.tsx-page *, .tsx-page *::before, .tsx-page *::after { box-sizing: border-box; }

.tsx-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.tsx-section { padding: clamp(2.75rem, 7vw, 4.75rem) 0; }
.tsx-section--alt { background: var(--tsx-bg-2); }

.tsx-h2 {
  font: 700 clamp(1.75rem, 4.6vw, 2.7rem) / 1.15 var(--tsx-serif);
  color: var(--tsx-ivory);
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

.tsx-lead {
  max-width: 40rem;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--tsx-mist);
}

.tsx-page a:focus-visible,
.tsx-page button:focus-visible,
.tsx-page summary:focus-visible,
.tsx-page input:focus-visible,
.tsx-page select:focus-visible,
.tsx-page textarea:focus-visible {
  outline: 3px solid var(--tsx-glow);
  outline-offset: 3px;
}

.tsx-skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: var(--tsx-radius);
  background: var(--tsx-gold);
  color: var(--tsx-bg);
  font-weight: 600;
  text-decoration: none;
}
.tsx-skip:focus { top: 0.75rem; }

/* ---------- knoppen ---------- */

.tsx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--tsx-radius);
  font: 600 1rem / 1.2 var(--tsx-sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.tsx-btn--gold { background: var(--tsx-gold); color: var(--tsx-bg); }
.tsx-btn--gold:hover { background: var(--tsx-gold-hover); }
.tsx-btn--ghost { border-color: rgba(244, 238, 226, 0.6); color: var(--tsx-ivory); background: rgba(15, 21, 36, 0.55); }
.tsx-btn--ghost:hover { border-color: var(--tsx-gold); color: var(--tsx-gold); }
.tsx-btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- hero ---------- */

.tsx-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(46rem, calc(100svh - 5.1rem));
  overflow: hidden;
  background: var(--tsx-bg);
}

.tsx-hero__media { position: absolute; inset: 0; z-index: -3; }
.tsx-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

/* de spotlight */
.tsx-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -20%;
  left: 55%;
  width: 70%;
  height: 90%;
  background: radial-gradient(ellipse at 50% 0%, rgba(233, 183, 106, 0.30), rgba(233, 183, 106, 0) 62%);
  pointer-events: none;
}

/* de krijtstreep en de schaduw voor de tekst */
.tsx-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(244, 238, 226, 0.035) 0 1px, transparent 1px 26px),
    linear-gradient(to top, var(--tsx-bg) 0%, rgba(15, 21, 36, 0.93) 40%, rgba(15, 21, 36, 0.4) 72%, rgba(15, 21, 36, 0.12) 100%);
}

.tsx-hero__inner { padding: 5.5rem 0 1.75rem; }

.tsx-hero h1 {
  max-width: 14ch;
  margin: 0 0 1rem;
  font: 800 clamp(2.15rem, 9.2vw, 3.3rem) / 1.08 var(--tsx-serif);
  color: var(--tsx-gold);
  text-wrap: balance;
}

.tsx-hero__lead {
  max-width: 32rem;
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--tsx-ivory);
}

.tsx-hero__proof {
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
  color: var(--tsx-mist);
}
.tsx-hero__proof strong { color: var(--tsx-ivory); font-weight: 600; }

.tsx-hero__actions { display: grid; gap: 0.6rem; max-width: 22rem; }

@media (min-width: 768px) {
  .tsx-hero { align-items: center; min-height: min(40rem, calc(100vh - 5.1rem)); }
  .tsx-hero__media { left: 34%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%); mask-image: linear-gradient(to right, transparent 0, #000 34%); }
  .tsx-hero__media img { object-position: 76% center; }
  .tsx-hero__shade {
    background:
      repeating-linear-gradient(90deg, rgba(244, 238, 226, 0.035) 0 1px, transparent 1px 26px),
      linear-gradient(90deg, var(--tsx-bg) 0%, rgba(15, 21, 36, 0.96) 30%, rgba(15, 21, 36, 0.4) 58%, rgba(15, 21, 36, 0.05) 100%);
  }
  .tsx-hero__inner { padding: 3rem 0; }
  .tsx-hero h1 { max-width: 15ch; font-size: clamp(3rem, 5.2vw, 4.4rem); }
  .tsx-hero__actions { display: flex; max-width: none; }
}

/* dienstenpagina's: kortere hero, met de foto als achtergrond */
.tsx-hero--page { min-height: min(32rem, calc(100svh - 5.1rem)); }
.tsx-hero--page h1 { max-width: 18ch; }
@media (min-width: 768px) {
  .tsx-hero--page { min-height: min(30rem, calc(100vh - 5.1rem)); }
  .tsx-hero--page .tsx-hero__media { left: 40%; }
  .tsx-hero--page h1 { font-size: clamp(2.6rem, 4.4vw, 3.8rem); }
}

@media (max-width: 767px) {
  /* telefoon: de foto als strook bovenaan, de tekst eronder op een rustige achtergrond */
  .tsx-hero--page { display: block; min-height: 0; }
  .tsx-hero--page .tsx-hero__media { inset: 0 0 auto 0; height: 19rem; }
  .tsx-hero--page .tsx-hero__shade {
    background:
      repeating-linear-gradient(90deg, rgba(244, 238, 226, 0.035) 0 1px, transparent 1px 26px),
      linear-gradient(to bottom, rgba(15, 21, 36, 0) 0, rgba(15, 21, 36, 0) 8rem, var(--tsx-bg) 19rem);
  }
  .tsx-hero--page .tsx-hero__inner { padding-top: 15rem; }
}

/* ---------- bewijs: de lichte band ---------- */

.tsx-proof { background: var(--tsx-paper); color: var(--tsx-ink); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.tsx-proof .tsx-h2 { color: var(--tsx-ink); }
.tsx-score { margin: 0 0 1.6rem; font-size: 1.05rem; color: #3B3A35; }
.tsx-score strong { font: 700 1.5rem var(--tsx-serif); color: var(--tsx-ink); }

.tsx-reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84%, 22rem);
  align-items: start;
  gap: 1rem;
  margin: 0 -1rem;
  padding: 0.25rem 1rem 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.tsx-reviews:focus-visible { outline: 3px solid #8A6A12; outline-offset: -3px; }

.tsx-review {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(27, 26, 23, 0.14);
  border-radius: var(--tsx-radius);
  box-shadow: 0 10px 30px rgba(27, 26, 23, 0.07);
}
.tsx-stars { color: #8A6A12; font-size: 1.05rem; letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.tsx-stars .off { color: #C9C2B0; }
.tsx-review blockquote { margin: 0 0 1rem; }
.tsx-review blockquote p { margin: 0; font-size: 0.96rem; line-height: 1.6; color: #2A2925; }
.tsx-review__by { margin: auto 0 0; font-size: 0.9rem; color: #4A483F; }
.tsx-review__by strong { color: var(--tsx-ink); }

.tsx-proof__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0.5rem 0 0.75rem; }
.tsx-proof__links a { display: inline-block; padding: 0.7rem 0; color: #6F5410; font-weight: 600; text-underline-offset: 3px; }
.tsx-proof__links a:hover { color: var(--tsx-ink); }
.tsx-fine { margin: 0; font-size: 0.85rem; color: #55534A; }

@media (min-width: 900px) {
  .tsx-reviews { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; align-items: stretch; margin: 0; padding: 0.25rem 0 1rem; overflow: visible; }
}

/* de reviewspagina toont alle reviews onder elkaar in plaats van in een rij */
.tsx-reviews--all { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0.25rem 0 1rem; overflow: visible; align-items: start; }
@media (min-width: 760px) { .tsx-reviews--all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tsx-reviews--all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- kies je feest ---------- */

.tsx-moments { margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--tsx-line); }
.tsx-moments li { border-bottom: 1px solid var(--tsx-line); }
.tsx-moments a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.25rem 1rem;
  padding: 1.15rem 0.25rem;
  text-decoration: none;
  transition: background-color 0.2s;
}
.tsx-moments a:hover { background: rgba(244, 238, 226, 0.04); }
.tsx-moments strong { font: 700 1.3rem / 1.2 var(--tsx-serif); color: var(--tsx-ivory); }
.tsx-moments span { grid-column: 1; color: var(--tsx-mist); font-size: 0.97rem; line-height: 1.5; }
.tsx-moments i { grid-column: 2; grid-row: 1 / span 2; color: var(--tsx-gold); }
.tsx-moments--plain .tsx-moment { display: grid; gap: 0.25rem; padding: 1.1rem 0.25rem; }
.tsx-moments--plain strong { font: 700 1.25rem / 1.2 var(--tsx-serif); color: var(--tsx-ivory); }
.tsx-moments--plain span { color: var(--tsx-mist); line-height: 1.6; max-width: 46rem; }

/* video's op de dienstenpagina's */
.tsx-videos { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.tsx-video p { margin: 0.6rem 0 0; font-size: 0.93rem; color: var(--tsx-mist); }
.tsx-video .video-lite { border-radius: var(--tsx-radius); overflow: hidden; border: 1px solid var(--tsx-line); }
@media (min-width: 760px) { .tsx-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tsx-moments-note { margin: 1.1rem 0 0; color: var(--tsx-mist); font-size: 0.97rem; line-height: 1.6; }
.tsx-moments-note a { color: var(--tsx-gold); text-underline-offset: 3px; }

/* ---------- wie ---------- */

.tsx-about { display: grid; gap: 1.75rem; align-items: center; }
.tsx-about img { width: 100%; max-width: 22rem; height: auto; border-radius: var(--tsx-radius); border: 1px solid var(--tsx-line); }
.tsx-about p { margin: 0 0 1rem; line-height: 1.7; color: var(--tsx-mist); }
.tsx-about a { color: var(--tsx-gold); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 800px) { .tsx-about { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 3rem; } }

/* ---------- pakketten ---------- */

.tsx-packs { display: grid; gap: 1.25rem; margin: 1.75rem 0 1.25rem; }
@media (min-width: 760px) { .tsx-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; } }

.tsx-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--tsx-bg-2);
  border: 1px solid var(--tsx-line);
  border-radius: var(--tsx-radius);
}
.tsx-pack--pick { border: 2px solid var(--tsx-gold); }
.tsx-pack__tag {
  position: absolute;
  top: -0.8rem;
  left: 1.4rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: var(--tsx-gold);
  color: var(--tsx-bg);
  font-size: 0.85rem;
  font-weight: 600;
}
.tsx-pack h3 { margin: 0 0 0.2rem; font: 700 1.5rem var(--tsx-serif); color: var(--tsx-ivory); }
.tsx-pack__time { margin: 0 0 1rem; color: var(--tsx-mist); }
.tsx-pack__price { margin: 0 0 1.1rem; font: 700 2.2rem / 1 var(--tsx-serif); color: var(--tsx-gold); }
.tsx-pack__price small { font: 400 0.95rem var(--tsx-sans); color: var(--tsx-mist); margin-right: 0.35rem; }
.tsx-pack ul { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.tsx-pack li { position: relative; padding-left: 1.5rem; color: var(--tsx-ivory); font-size: 0.97rem; line-height: 1.45; }
.tsx-pack li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45rem; width: 0.55rem; height: 0.3rem; border-left: 2px solid var(--tsx-gold); border-bottom: 2px solid var(--tsx-gold); transform: rotate(-45deg); }
.tsx-pack__fine { margin: 0 0 1.1rem; font-size: 0.88rem; color: var(--tsx-mist); }
.tsx-pack .tsx-btn { margin-top: auto; }
.tsx-packs-note { margin: 0; max-width: 40rem; color: var(--tsx-mist); line-height: 1.6; }

/* ---------- zo werkt het ---------- */

.tsx-steps { display: grid; gap: 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: stap; }
.tsx-steps li { position: relative; padding-left: 3.1rem; counter-increment: stap; line-height: 1.6; color: var(--tsx-mist); }
.tsx-steps li strong { display: block; color: var(--tsx-ivory); font: 700 1.15rem var(--tsx-serif); margin-bottom: 0.15rem; }
.tsx-steps li::before {
  content: counter(stap);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--tsx-gold);
  border-radius: 50%;
  color: var(--tsx-gold);
  font: 700 1rem var(--tsx-serif);
}
@media (min-width: 800px) { .tsx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

/* ---------- veelgestelde vragen ---------- */

.tsx-faq { margin: 1.5rem 0 0; max-width: 46rem; }
.tsx-faq details { border-bottom: 1px solid var(--tsx-line); }
.tsx-faq details:first-child { border-top: 1px solid var(--tsx-line); }
.tsx-faq summary { cursor: pointer; padding: 1rem 0.25rem; font-weight: 600; color: var(--tsx-ivory); list-style-position: outside; }
.tsx-faq p { margin: 0 0 1.1rem; padding: 0 0.25rem; color: var(--tsx-mist); line-height: 1.65; }

/* ---------- aanvraag ---------- */

.tsx-contact-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .tsx-contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; } }
.tsx-direct { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.tsx-direct { gap: 0.1rem; }
.tsx-direct a { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0; color: var(--tsx-ivory); text-underline-offset: 3px; }

/* stadspagina's: de kop was 6rem groot en duwde de knoppen onder de vouw van een laptop */
.location-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4.25rem) !important; line-height: 1.1 !important; }

/* stadspagina's: het gouden label op de lichte sectie haalde maar 1,9 : 1 */
.location-section-warm .location-kicker { color: #6F5410; }
.tsx-direct i { color: var(--tsx-gold); width: 1.2rem; text-align: center; }

.tsx-form { display: grid; gap: 1rem; padding: clamp(1.25rem, 4vw, 2rem); background: var(--tsx-bg-2); border: 1px solid var(--tsx-line); border-radius: var(--tsx-radius); }
.tsx-form__row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .tsx-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tsx-field label { display: block; margin-bottom: 0.35rem; font-size: 0.93rem; font-weight: 600; color: var(--tsx-ivory); }
.tsx-field input, .tsx-field select, .tsx-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(244, 238, 226, 0.3);
  border-radius: 6px;
  background: var(--tsx-bg);
  color: var(--tsx-ivory);
  font: 400 1rem var(--tsx-sans);
  color-scheme: dark;
}
.tsx-field textarea { min-height: 7rem; resize: vertical; }
.tsx-field input::placeholder, .tsx-field textarea::placeholder { color: #8791A8; }
.tsx-req { color: var(--tsx-glow); }
.tsx-chosen { margin: 0; padding: 0.7rem 0.9rem; border-left: 3px solid var(--tsx-gold); background: rgba(212, 175, 55, 0.08); font-size: 0.95rem; }

.tsx-more { border: 1px dashed rgba(244, 238, 226, 0.3); border-radius: 6px; padding: 0.15rem 0.9rem; }
.tsx-more[open] { padding-bottom: 1rem; }
.tsx-more summary { cursor: pointer; padding: 0.75rem 0; font-weight: 600; color: var(--tsx-gold); }
.tsx-more .tsx-field + .tsx-field, .tsx-more .tsx-form__row + .tsx-field, .tsx-more .tsx-field + .tsx-form__row, .tsx-more .tsx-form__row + .tsx-form__row { margin-top: 1rem; }

.tsx-form__status { margin: 0; padding: 0.8rem 1rem; border-left: 3px solid #F08A7C; background: rgba(240, 138, 124, 0.1); color: var(--tsx-ivory); line-height: 1.55; }
.tsx-form__status a { color: var(--tsx-gold); }
.tsx-form__fine { margin: 0; font-size: 0.88rem; color: var(--tsx-mist); }

.tsx-thanks { padding: clamp(1.5rem, 5vw, 2.5rem); background: var(--tsx-bg-2); border: 1px solid var(--tsx-gold); border-radius: var(--tsx-radius); }
.tsx-thanks:focus { outline: 3px solid var(--tsx-glow); outline-offset: 3px; }
.tsx-thanks h3 { margin: 0 0 0.6rem; font: 700 1.6rem var(--tsx-serif); color: var(--tsx-gold); }
.tsx-thanks p { margin: 0 0 1rem; line-height: 1.6; color: var(--tsx-ivory); }
.tsx-thanks a { color: var(--tsx-gold); }

/* ---------- vaste contactbalk op de telefoon ---------- */

.tsx-dock { display: none; }
@media (max-width: 767px) {
  body.tsx-page { padding-bottom: 5rem; }
  .tsx-dock {
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(15, 21, 36, 0.96);
    border-top: 1px solid var(--tsx-line);
    transition: transform 0.25s ease;
  }
  .tsx-dock[data-ready]:not(.is-visible) { transform: translateY(110%); }
  .tsx-dock a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.9rem;
    border-radius: var(--tsx-radius);
    border: 2px solid rgba(244, 238, 226, 0.5);
    color: var(--tsx-ivory);
    text-decoration: none;
    font-weight: 600;
  }
  .tsx-dock a[aria-label] { width: 3.2rem; flex: none; }
  .tsx-dock .tsx-dock__main { flex: 1; background: var(--tsx-gold); border-color: var(--tsx-gold); color: var(--tsx-bg); }
}

/* ---------- Candlelight-strook onderaan ---------- */

.cl-prices > .cl-card:only-child { grid-column: 1 / -1; max-width: 34rem; }

@media (prefers-reduced-motion: reduce) {
  .tsx-dock { transition: none; }
  .tsx-btn { transition: none; }
}
