@font-face {
  font-family: "TeX Gyre Adventor";
  src: url("fonts/adventor-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TeX Gyre Adventor";
  src: url("fonts/adventor-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold:       #FBC41B;
  --gold-lit:   #FFD65C;
  --gold-deep:  #8A6A00;

  --ink:        #0A0A0B;
  --ink-soft:   #141416;
  --line:       rgba(255, 255, 255, .10);
  --line-soft:  rgba(255, 255, 255, .06);

  --text:       #FFFFFF;
  --muted:      #9B9BA2;

  --danger:     #FF8A72;

  --radius:     18px;
  --radius-lg:  28px;

  --shell:      min(1120px, 100% - 2.5rem);

  --font: "TeX Gyre Adventor", "ITC Avant Garde Gothic Pro", "URW Gothic",
          "Century Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}

.blob-a {
  width: 46vmax; height: 46vmax;
  top: -20vmax; left: -14vmax;
  background: radial-gradient(circle, var(--gold), transparent 68%);
  opacity: .18;
  animation: drift-a 26s var(--ease) infinite alternate;
}

.blob-b {
  width: 42vmax; height: 42vmax;
  top: 6vmax; right: -16vmax;
  background: radial-gradient(circle, var(--gold-deep), transparent 70%);
  opacity: .55;
  animation: drift-b 32s var(--ease) infinite alternate;
}

.blob-c {
  width: 34vmax; height: 34vmax;
  bottom: -18vmax; left: 26%;
  background: radial-gradient(circle, var(--gold), transparent 72%);
  opacity: .12;
  animation: drift-c 38s var(--ease) infinite alternate;
}

@keyframes drift-a { to { transform: translate3d(9vmax, 6vmax, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-8vmax, 10vmax, 0) scale(1.1); } }
@keyframes drift-c { to { transform: translate3d(6vmax, -8vmax, 0) scale(1.2); } }

.court {
  position: fixed;
  z-index: -1;
  top: 34%;
  left: 46%;
  width: 78vw;
  height: auto;
  color: rgba(251, 196, 27, .16);
  transform: rotate(-13deg);
  pointer-events: none;
}

.topbar {
  width: var(--shell);
  margin: 0 auto;
  padding: 1.75rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  /* "PADEL" schliesst rechts mit der Wortmarke ab — wie im Logo-Kit
     (assets/SVG/Hola Padel weiss.svg: Schriftzug bei x=303, Marke bis x=477). */
  align-items: flex-end;
  gap: .2rem;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  display: block;
  height: 26px;
  width: auto;
}

.logo-padel {
  display: block;
  height: 7px;
  width: auto;
  color: var(--muted);
}

.logo-spin {
  transform-box: fill-box;
  transform-origin: center center;
  animation: logo-spin 3.7s ease-in-out infinite;
}

@keyframes logo-spin {
  0%   { transform: rotate(0deg); }
  18%  { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem .4rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(251, 196, 27, .6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(251, 196, 27, 0); }
  100% { box-shadow: 0 0 0 0  rgba(251, 196, 27, 0); }
}

main {
  width: var(--shell);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(3rem, 9vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero-title {
  font-size: clamp(2.75rem, 9.5vw, 6.5rem);
  max-width: 15ch;
}

.hero-kicker {
  display: block;
  margin-bottom: .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.011em;
  text-transform: none;
  color: var(--muted);
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--muted);
}

.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.loc {
  position: relative;
  padding: 1.5rem 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}

.loc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(251, 196, 27, .12), transparent 55%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}

.loc:hover { transform: translateY(-4px); border-color: rgba(251, 196, 27, .40); }
.loc:hover::after { opacity: 1; }

.loc-index {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
}

.loc-logo {
  display: block;
  width: min(200px, 55%);
  height: auto;
  margin: .25rem 0 .75rem;
}

.loc-claim {
  margin-top: .5rem;
  max-width: 40ch;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.5;
}

.loc-claim em { font-style: normal; color: var(--gold); }

.loc-area {
  margin-top: .4rem;
  max-width: 46ch;
  color: var(--muted);
  opacity: .8;
  font-size: .8125rem;
  line-height: 1.5;
}

.loc-status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.15rem;
  padding: .3rem .8rem .3rem .65rem;
  border: 1px solid rgba(251, 196, 27, .35);
  border-radius: 999px;
  background: rgba(251, 196, 27, .08);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}

.loc-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.expansion {
  text-align: center;
  max-width: 42ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.6;
}

.expansion strong { color: var(--text); font-weight: 700; }

.signup-card {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(251, 196, 27, .10), transparent 45%),
    rgba(20, 20, 22, .74);
  backdrop-filter: blur(22px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.signup-title { font-size: clamp(1.5rem, 3vw, 2rem); max-width: 18ch; }

.signup-text {
  margin-top: .85rem;
  max-width: 40ch;
  color: var(--muted);
  font-size: .9375rem;
}

.form { display: flex; flex-direction: column; gap: 1rem; }

.picks { margin: 0; padding: 0; border: 0; }

.picks-legend {
  padding: 0;
  margin-bottom: .55rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.picks-row { display: flex; flex-wrap: wrap; gap: .5rem; }

.pick { cursor: pointer; }

.pick input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.pick span {
  display: inline-block;
  padding: .45rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: .875rem;
  font-weight: 400;
  color: var(--muted);
  transition: all .25s var(--ease);
}

.pick:hover span { border-color: rgba(255, 255, 255, .28); color: var(--text); }

.pick input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.pick input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.field {
  display: flex;
  gap: .5rem;
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.field:focus-within {
  border-color: rgba(251, 196, 27, .60);
  background: rgba(255, 255, 255, .08);
}

.input {
  flex: 1;
  min-width: 0;
  padding: .7rem .5rem .7rem 1.1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.input::placeholder { color: #6E6E75; }
.input:focus { outline: none; }

.btn {
  position: relative;
  flex: 0 0 auto;
  padding: .8rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), opacity .2s;
}

.btn:hover { background: var(--gold-lit); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn[disabled] { cursor: not-allowed; opacity: .75; transform: none; }

.btn-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 17px; height: 17px;
  border: 2px solid rgba(7, 9, 15, .25);
  border-top-color: var(--ink);
  border-radius: 50%;
  opacity: 0;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form.is-busy .btn-label  { opacity: 0; }
.form.is-busy .btn-spinner { opacity: 1; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.note {
  font-size: .8125rem;
  line-height: 1.5;
  color: #6E6E75;
}

.msg {
  display: none;
  font-size: .875rem;
  font-weight: 400;
}

.msg.is-error   { display: block; color: var(--danger); }
.msg.is-success { display: block; color: var(--gold); }

.done { grid-column: 1 / -1; text-align: center; padding: 1.5rem 0; }

.done-mark {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--gold);
  animation: pop .5s var(--ease) both;
}

.done-mark svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  animation: draw .45s var(--ease) .18s forwards;
}

@keyframes pop  { from { transform: scale(.5); opacity: 0; } }
@keyframes draw { to   { stroke-dashoffset: 0; } }

.done-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.done-text  { margin-top: .6rem; color: var(--muted); }

.footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-top: 1px solid var(--line-soft);
  font-size: .8125rem;
  color: #6E6E75;
}

.footer-links { display: flex; gap: 1.25rem; }

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease);
}

.footer a:hover { color: var(--text); }

@media (max-width: 820px) {
  :root { --shell: min(1120px, 100% - 2rem); }

  .signup-card { grid-template-columns: 1fr; }

  .court { top: 40%; width: 150vw; left: -10%; }
}

@media (max-width: 560px) {
  .field {
    flex-direction: column;
    border-radius: var(--radius);
    padding: .55rem;
  }
  .input { padding: .75rem .9rem; }
  .btn { width: 100%; padding: .9rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
  transition: color .2s var(--ease);
}

.legal-back:hover { color: var(--text); }

.legal-main {
  width: min(760px, 100% - 2.5rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
}

.legal-eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: 0 0 2.25rem;
}

.legal h2 {
  font-size: 1.375rem;
  margin: 2.75rem 0 .75rem;
}

.legal h2:first-of-type { margin-top: 0; }

.legal h3 {
  font-size: 1.0625rem;
  color: var(--text);
  margin: 1.5rem 0 .5rem;
}

.legal h4 {
  font-size: .9375rem;
  color: var(--text);
  margin: 1.25rem 0 .35rem;
}

.legal p, .legal ul {
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }

.legal address {
  font-style: normal;
  color: var(--text);
  font-size: .9375rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.legal a { color: var(--gold); }
.legal a:hover { color: var(--gold-lit); }

.legal-updated {
  margin-top: 3rem;
  font-size: .8125rem;
  color: #6E6E75;
}
