/* ==========================================================
   Venue page · /venues/ + /de/gastgeber/ (26 Nov 2026, `venue-page`)
   Brand v2 (BRAND.md / tokens.json 2.4): Montserrat speaks, Open Sans
   explains, IBM Plex Mono for numbers in data. The font files come from
   the header kit (assets/css/smp-header.css); this file loads after it.
   Page text: VENUES.txt / VENUES-DE.txt. Form: Contact Form 7 "Venue
   partnership" (+ DE), one question per screen with assets/js/smp-venue.js.
   ========================================================== */

/* ---- theme frame: the page draws everything itself, edge to edge ---- */
body.smp-venue-page {
  background: #f7f1e7;
}

body.smp-venue-page main > section.section {
  padding: 0;
}

/* !important because style.css caps `.container.p-1.content` at 900px with
   !important (≥1025px) and Bulma's .p-1 padding is !important too. */
body.smp-venue-page main > section.section > .container {
  width: 100%;
  max-width: none !important;
  margin: 0;
  padding: 0 !important;
}

#smp-venue {
  --vn-navy: #052540;
  --vn-night: #071521;
  --vn-paper: #f7f1e7;
  --vn-card: #fcfaf1;
  --vn-orange-text: #c04200;
  --vn-teal: #00b0bc;
  --vn-teal-text: #0b7680;
  --vn-red-text: #c92234;
  --vn-muted: #5b6679;
  --vn-line: rgba(5, 37, 64, 0.12);
  --vn-border: #e7ecf2;
  --vn-ctl-line: rgba(5, 37, 64, 0.24);
  --vn-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --vn-gut: 16px;
  --vn-head: 64px;
  --vn-display: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --vn-text: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --vn-data: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  overflow-x: clip;
  color: var(--vn-navy);
  background: var(--vn-paper);
  font: 400 16px/1.55 var(--vn-text);
  -webkit-font-smoothing: antialiased;
}

#smp-venue,
#smp-venue * {
  box-sizing: border-box;
}

/* Bulma's .content would style these; the page sets its own. */
#smp-venue :is(h1, h2, h3, p, ul, ol, li, figure, fieldset, legend) {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
}

#smp-venue :is(ul, ol) {
  list-style: none;
}

#smp-venue a {
  color: inherit;
}

#smp-venue :is(a, button, input, textarea):focus-visible {
  outline: 3px solid rgba(0, 176, 188, 0.55);
  outline-offset: 2px;
}

.smp-vn__wrap {
  width: min(100% - 2 * var(--vn-gut), 1200px);
  margin-inline: auto;
}

/* One marker band per heading, lower 36 % of the line (brand v2). */
#smp-venue .smp-hl {
  padding: 0 0.06em;
  background: linear-gradient(transparent 64%, rgba(255, 89, 0, 0.32) 64%, rgba(255, 89, 0, 0.32) 96%, transparent 96%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---- hero (Night: navy → #071521 + the two glows) ---- */
.smp-vn__hero {
  padding: calc(var(--vn-head) + 32px) 0 48px;
  color: var(--vn-paper);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 89, 0, 0.18), transparent 20rem),
    radial-gradient(circle at 82% 72%, rgba(0, 176, 188, 0.14), transparent 22rem),
    linear-gradient(135deg, var(--vn-night) 0%, var(--vn-navy) 100%);
}

.smp-vn__hero-grid {
  display: grid;
  gap: 32px;
}

.smp-vn__hero-copy {
  display: grid;
  gap: 16px;
}

#smp-venue .smp-vn__kicker {
  font: 800 13px/1.3 var(--vn-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vn-teal);
}

#smp-venue .smp-vn__h1 {
  font: 800 clamp(2.1rem, 8.4vw, 3.25rem)/1.05 var(--vn-display);
  letter-spacing: -0.01em;
}

.smp-vn__h1 > span {
  display: block;
}

#smp-venue .smp-vn__sub {
  max-width: 34em;
  font-size: 17px;
  color: rgba(247, 241, 231, 0.86);
}

.smp-vn__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 8px;
}

#smp-venue .smp-vn__btn,
#smp-venue .smp-vf__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 13px;
  color: #ffffff;
  background: var(--vn-orange-text);
  font: 600 17px/1.2 var(--vn-display);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 220ms var(--vn-ease), transform 220ms var(--vn-ease);
}

#smp-venue .smp-vn__btn:hover,
#smp-venue .smp-vf__send:hover {
  background: #a83a00;
}

#smp-venue .smp-vn__meta {
  font: 400 14px/1.4 var(--vn-data);
  color: rgba(247, 241, 231, 0.72);
}

/* Photo tile: the Pot corner, square bottom-right; faces never covered. */
.smp-vn__photo {
  overflow: hidden;
  border-radius: 28px 28px 4px 28px;
  background: rgba(247, 241, 231, 0.08);
}

.smp-vn__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---- numbers ---- */
.smp-vn__proof {
  background: #ffffff;
  border-bottom: 1px solid var(--vn-border);
}

.smp-vn__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  padding: 24px 0;
  text-align: center;
}

#smp-venue .smp-vn__stats li {
  display: grid;
  gap: 2px;
}

.smp-vn__num {
  font: 800 30px/1.1 var(--vn-display);
}

.smp-vn__lbl {
  font-size: 14px;
  line-height: 1.35;
  color: var(--vn-muted);
}

/* ---- how a night works ---- */
.smp-vn__how {
  padding: 56px 0 24px;
}

#smp-venue .smp-vn__h2 {
  margin-bottom: 24px;
  font: 800 clamp(1.6rem, 6vw, 2rem)/1.1 var(--vn-display);
  letter-spacing: -0.01em;
}

.smp-vn__steps {
  display: grid;
  gap: 16px;
}

#smp-venue .smp-vn__step {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--vn-line);
  border-radius: 20px;
  background: var(--vn-card);
}

.smp-vn__step-no {
  font: 400 14px/1 var(--vn-data);
  color: var(--vn-teal-text);
}

#smp-venue .smp-vn__step h3 {
  font: 600 20px/1.25 var(--vn-display);
}

#smp-venue .smp-vn__step p,
#smp-venue .smp-vn__hosts {
  color: var(--vn-muted);
}

#smp-venue .smp-vn__hosts {
  margin-top: 20px;
  font-size: 15px;
}

/* ---- the fit check ---- */
.smp-vn__fit {
  padding: 32px 0 64px;
  scroll-margin-top: 16px;
}

.smp-vn__fit-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.smp-vn__card {
  padding: 22px 18px 24px;
  border: 1px solid var(--vn-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(5, 37, 64, 0.08);
}

#smp-venue .smp-vn__fit-title {
  font: 800 clamp(1.5rem, 5.5vw, 1.75rem)/1.15 var(--vn-display);
}

#smp-venue .smp-vn__fit-lead {
  margin: 6px 0 20px;
  font-size: 15px;
  color: var(--vn-muted);
}

.smp-vn__community {
  display: grid;
  gap: 12px;
}

#smp-venue .smp-vn__label {
  font: 800 12px/1.3 var(--vn-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vn-orange-text);
}

#smp-venue .smp-vn__h3 {
  font: 800 24px/1.15 var(--vn-display);
}

#smp-venue .smp-vn__community > p {
  color: var(--vn-muted);
}

.smp-vn__checks {
  display: grid;
  gap: 10px;
}

#smp-venue .smp-vn__checks li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
}

#smp-venue .smp-vn__checks li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7680' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 20px no-repeat;
}

#smp-venue .smp-vn__small {
  font-size: 15px;
}

/* ---- the form (Contact Form 7 output) ---- */
#smp-venue .wpcf7 {
  margin: 0;
}

#smp-venue .wpcf7 form {
  margin: 0;
}

.smp-vf {
  display: grid;
  gap: 24px;
}

#smp-venue .smp-vf__step {
  min-width: 0;
}

#smp-venue .smp-vf__q {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  font: 800 clamp(1.3rem, 5vw, 1.6rem)/1.15 var(--vn-display);
}

#smp-venue .smp-vf__hint {
  display: block;
  margin-top: 4px;
  font: 400 14px/1.4 var(--vn-text);
  color: var(--vn-muted);
}

#smp-venue .wpcf7-form-control-wrap {
  display: block;
}

/* Answers as big tap targets: the real checkbox stays in the label. */
#smp-venue .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#smp-venue [data-step="vibe"] .wpcf7-checkbox {
  grid-template-columns: minmax(0, 1fr);
}

#smp-venue [data-step="nights"] .wpcf7-checkbox {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#smp-venue .wpcf7-list-item {
  display: block;
  margin: 0;
}

#smp-venue .wpcf7-list-item label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  height: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--vn-ctl-line);
  border-radius: 13px;
  background: #ffffff;
  font: 600 16px/1.25 var(--vn-display);
  cursor: pointer;
  transition: border-color 220ms var(--vn-ease), background-color 220ms var(--vn-ease);
}

#smp-venue [data-step="nights"] .wpcf7-list-item label {
  justify-content: center;
  padding: 10px 6px;
}

#smp-venue .wpcf7-list-item input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

#smp-venue .wpcf7-list-item label:hover {
  border-color: var(--vn-navy);
}

#smp-venue .wpcf7-list-item label:focus-within {
  outline: 3px solid rgba(0, 176, 188, 0.55);
  outline-offset: 2px;
}

#smp-venue .wpcf7-list-item label.is-on,
#smp-venue .wpcf7-list-item label:has(input:checked) {
  border-color: var(--vn-teal-text);
  background: rgba(0, 176, 188, 0.1);
  box-shadow: inset 0 0 0 1px var(--vn-teal-text);
}

/* Last step: the sentence, then the contact details. */
#smp-venue .smp-vf__step--last {
  display: grid;
  gap: 14px;
}

/* A legend is not a grid item, so the gap above doesn't reach it. */
#smp-venue .smp-vf__step--last .smp-vf__q {
  margin-bottom: 18px;
}

#smp-venue .smp-vf__field {
  display: grid;
  gap: 6px;
}

#smp-venue .smp-vf__label {
  font: 600 14px/1.3 var(--vn-text);
}

#smp-venue .smp-vf__opt {
  font-weight: 400;
  color: var(--vn-muted);
}

#smp-venue :is(.wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-textarea) {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--vn-ctl-line);
  border-radius: 13px;
  background: #ffffff;
  color: var(--vn-navy);
  font: 400 16px/1.45 var(--vn-text);
  box-shadow: none;
}

#smp-venue .wpcf7-textarea {
  min-height: 104px;
  resize: vertical;
}

#smp-venue :is(.wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-textarea):focus {
  border-color: var(--vn-teal-text);
  outline: 3px solid rgba(0, 176, 188, 0.25);
  outline-offset: 0;
}

#smp-venue .smp-vf__privacy {
  font-size: 14px;
  color: var(--vn-muted);
}

#smp-venue .smp-vf__privacy a {
  color: var(--vn-teal-text);
  text-underline-offset: 3px;
}

/* Cloudflare Turnstile (David 1A, 26 Nov): Contact Form 7 prints it where
   the form has [turnstile], just above the send button. With
   appearance:interaction-only it stays empty unless Cloudflare asks for a
   click; then it gets its own row. */
#smp-venue .smp-vf__step--last > [class*="turnstile"]:empty {
  display: none;
}

#smp-venue .smp-vf__send {
  width: 100%;
}

#smp-venue .wpcf7-spinner {
  margin: 8px auto 0;
  display: block;
}

#smp-venue .wpcf7-not-valid-tip {
  margin-top: 6px;
  font: 600 14px/1.35 var(--vn-text);
  color: var(--vn-red-text);
}

#smp-venue .wpcf7-not-valid {
  border-color: var(--vn-red-text);
}

#smp-venue .wpcf7 form:is(.init, .resetting, .submitting) .wpcf7-response-output {
  display: none;
}

#smp-venue .wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1.5px solid var(--vn-line);
  border-radius: 13px;
  font-size: 15px;
}

#smp-venue .wpcf7 form.invalid .wpcf7-response-output,
#smp-venue .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: var(--vn-red-text);
  color: var(--vn-red-text);
}

#smp-venue .wpcf7 form.failed .wpcf7-response-output,
#smp-venue .wpcf7 form.aborted .wpcf7-response-output {
  border-color: var(--vn-red-text);
}

#smp-venue .wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--vn-teal-text);
}

/* ---- one question at a time (assets/js/smp-venue.js adds .is-enhanced) ---- */
#smp-venue .smp-vf.is-enhanced .smp-vf__step {
  display: none;
}

#smp-venue .smp-vf.is-enhanced .smp-vf__step.is-current {
  display: block;
}

#smp-venue .smp-vf.is-enhanced .smp-vf__step--last.is-current {
  display: grid;
}

#smp-venue .smp-vf.is-enhanced [data-smp-vf-other]:not(.is-shown) {
  display: none;
}

.smp-vf__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 400 14px/1.3 var(--vn-data);
  color: var(--vn-muted);
}

.smp-vf__bar {
  height: 6px;
  margin: 10px 0 18px;
  border-radius: 999px;
  background: rgba(5, 37, 64, 0.1);
  overflow: hidden;
}

.smp-vf__bar > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--vn-teal-text);
  transition: width 220ms var(--vn-ease);
}

.smp-vf__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

#smp-venue .smp-vf__back {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--vn-teal-text);
  font: 600 15px/1 var(--vn-display);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

#smp-venue .smp-vf__back[hidden] {
  display: none;
}

#smp-venue .smp-vf__next {
  min-height: 44px;
  margin-left: auto;
  padding: 0 22px;
  border: 1.5px solid var(--vn-navy);
  border-radius: 13px;
  background: var(--vn-navy);
  color: #ffffff;
  font: 600 16px/1 var(--vn-display);
  cursor: pointer;
}

#smp-venue .smp-vf__next:disabled {
  border-color: var(--vn-ctl-line);
  background: transparent;
  color: var(--vn-muted);
  cursor: default;
}

#smp-venue .smp-vf__next[hidden] {
  display: none;
}

.smp-vf__done {
  display: grid;
  gap: 12px;
  padding: 8px 0;
}

#smp-venue .smp-vf__done-title {
  font: 800 1.6rem/1.15 var(--vn-display);
}

#smp-venue .smp-vf__done a {
  color: var(--vn-teal-text);
  font-weight: 600;
  text-underline-offset: 3px;
}

.smp-vn__card.is-done .smp-vn__fit-title,
.smp-vn__card.is-done .smp-vn__fit-lead,
.smp-vn__card.is-done .wpcf7 {
  display: none;
}

/* ---- wider screens ---- */
@media (min-width: 560px) {
  #smp-venue .wpcf7-checkbox {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #smp-venue [data-step="vibe"] .wpcf7-checkbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #smp-venue .smp-vf__step--last {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #smp-venue .smp-vf__step--last > :is(.smp-vf__q, .smp-vf__field--wide, .smp-vf__privacy, .smp-vf__send, .wpcf7-spinner, [class*="turnstile"]) {
    grid-column: 1 / -1;
  }

  #smp-venue .smp-vf__send {
    width: auto;
    justify-self: start;
  }
}

@media (min-width: 720px) {
  #smp-venue {
    --vn-gut: 32px;
  }

  .smp-vn__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 28px 0;
  }

  .smp-vn__num {
    font-size: 32px;
  }

  #smp-venue [data-step="nights"] .wpcf7-checkbox {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .smp-vn__card {
    padding: 32px;
  }
}

@media (min-width: 1000px) {
  .smp-vn__hero {
    padding: calc(var(--vn-head) + 72px) 0 88px;
  }

  .smp-vn__hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
    align-items: center;
  }

  #smp-venue .smp-vn__sub {
    font-size: 18px;
  }

  .smp-vn__how {
    padding: 72px 0 32px;
  }

  .smp-vn__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .smp-vn__fit-grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }

  .smp-vn__community {
    padding-top: 8px;
  }
}

@media (min-width: 1024px) {
  #smp-venue {
    --vn-gut: 40px;
    --vn-head: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #smp-venue *,
  #smp-venue *::before {
    transition: none !important;
  }
}
