/* =============================================================
   HERZENSWEG – Premium Charity Landing Page CSS
   Design: Warm minimalist, juka dojo Fitness Club Brand
   ============================================================= */

/* FONTS */
@font-face {
  font-family: 'Tenor Sans';
  src: url('../fonts/tenor-sans.woff2') format('woff2'),
       url('../fonts/tenor-sans.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pacifico';
  src: url('../fonts/pacifico.woff2') format('woff2'),
       url('../fonts/pacifico.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* CSS VARIABLES */
:root {
  --accent:       #f18700;
  --accent-dark:  #c97100;
  --text:         #424241;
  --text-light:   #7a7a78;
  --text-xlight:  #b0b0ae;
  --bg:           #fdfcfa;
  --bg-warm:      #fdf6ee;
  --bg-card:      #ffffff;
  --border:       #ece9e3;
  --border-light: #f3f0ea;
  --white:        #ffffff;

  --font-primary:   'Tenor Sans', Georgia, 'Times New Roman', serif;
  --font-display:   'Pacifico', cursive;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-xxl: 10rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 12px rgba(66, 66, 65, 0.06);
  --shadow-md: 0 8px 32px rgba(66, 66, 65, 0.10);
  --shadow-lg: 0 20px 60px rgba(66, 66, 65, 0.13);

  --trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-width: 1180px;
  --nav-height: 96px;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--bg);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* UTILITY LABELS */
.label {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}
.label--light { color: rgba(241, 135, 0, 0.85); }

/* Orange highlight for Pacifico headlines */
.hl { color: var(--accent); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--trans);
}
.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(241, 135, 0, 0.35);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(241, 135, 0, 0.45);
}
.btn--primary:active { transform: translateY(0); }

.btn--hero {
  font-size: 1.1rem;
  padding: 1.1rem 2.4rem;
}

.btn--submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-sm);
  font-size: 1.05rem;
  padding: 1.15rem 2rem;
}
.btn__loading { display: none; }
.btn--loading .btn__text { display: none; }
.btn--loading .btn__loading { display: inline; }
.btn--loading .btn__icon { display: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo-img { height: 64px; width: auto; display: block; object-fit: contain; }

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--trans);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--accent); }

/* Right group */
.nav__right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

/* Phone */
.nav__phone {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.nav__phone-icon {
  color: var(--accent);
  flex-shrink: 0;
  display: block;
}
.nav__phone-number {
  font-size: 0.97rem;
  letter-spacing: 0.03em;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--trans);
}
.nav__phone-number:hover { color: var(--accent); }

/* Nav CTA */
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.8rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(241,135,0,0.3);
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav__burger-line {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans), width var(--trans);
  transform-origin: center;
}
.nav__burger.is-open .nav__burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open .nav__burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open .nav__burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--white);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-lg);
  gap: var(--space-lg);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  display: block;
  transition: color var(--trans), padding-left var(--trans);
  letter-spacing: 0;
}
.mobile-menu__link:hover,
.mobile-menu__link:focus {
  color: var(--accent);
  padding-left: 0.5rem;
}
.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.mobile-menu__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  transition: color var(--trans);
}
.mobile-menu__phone svg { color: var(--accent); }
.mobile-menu__phone:hover { color: var(--accent); }
.mobile-menu__footer .btn {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 1rem 2rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  margin-top: var(--nav-height);
}
.hero__image-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
}
/* picture inherits block layout */
.hero__image-wrap picture {
  display: block;
  line-height: 0;
}
.hero__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
}
/* Mobile: responsive image has 1200x890 = 1.35:1 ratio → natural height fine */
@media (max-width: 768px) {
  .hero__img {
    object-position: center center;
  }
}
/* Soft gradient fade at bottom edge → transitions into counter-bar */
.hero__fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, rgba(66,66,65,0.18) 100%);
  pointer-events: none;
}
.hero__cta-wrap {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: fadeUp 0.8s 0.4s both;
  white-space: nowrap;
}

/* ============================================================
   COUNTER BAR
   ============================================================ */
.counter-bar {
  background: var(--text);
  color: var(--white);
  padding: var(--space-md) 0;
}
.counter-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.counter-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}
.counter-bar__number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--accent);
  line-height: 1;
}
.counter-bar__plus {
  font-size: 0.7em;
  vertical-align: super;
}
.counter-bar__label {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.counter-bar__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ============================================================
   EVENT DETAILS
   ============================================================ */
.details {
  padding: var(--space-xl) 0;
  background: var(--bg);
}
.details__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg) var(--space-xl);
  align-items: start;
}
.details__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: var(--space-md);
  color: var(--text);
}
.details__heading .hl { color: var(--accent); }
.details__intro {
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 52ch;
}

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-sm) var(--space-md);
  padding-bottom: var(--space-md);
  position: relative;
}
.timeline__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 90px;
  top: 1.4rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--border), transparent);
  transform: translateX(-50%);
}
.timeline__time {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-top: 0.2rem;
  white-space: nowrap;
}
.timeline__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.timeline__text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.65;
}
.timeline__item--goal .timeline__title {
  color: var(--accent);
}

/* INFO CARDS */
.details__side {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md) 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans);
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.info-card--warm {
  background: var(--bg-warm);
  border-color: rgba(241, 135, 0, 0.15);
}
.info-card--accent {
  background: var(--accent);
  color: var(--white);
  border-color: transparent;
}
.info-card__icon {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  display: block;
}
.info-card__title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}
.info-card--accent .info-card__title { color: rgba(255,255,255,0.75); }
.info-card__price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.info-card__sub {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}
.info-card__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-xlight);
  margin-bottom: 0.4rem;
}
.info-card__progress-bar {
  height: 5px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: var(--space-xs);
}
.info-card__progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: width 1.2s ease-out;
}
.info-card__progress-caption {
  font-size: 0.82rem;
  color: var(--text-light);
}
.info-card__text {
  font-size: 1rem;
  color: var(--text-light);
}
.info-card--accent .info-card__text { color: rgba(255,255,255,0.85); }

/* ============================================================
   ROUTE / STOPPS
   ============================================================ */
.route {
  padding: var(--space-xl) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.route__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}
.route__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}
.route__heading .hl { color: var(--accent); }
.route__subtext {
  color: var(--text-light);
  font-size: 1.15rem;
}

/* STOPPS */
.stopps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.stopp {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-md) 1.5rem var(--space-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.stopp:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stopp::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.stopp:hover::before { transform: scaleX(1); }

.stopp__number {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-weight: 400;
}
.stopp__connector {
  position: absolute;
  top: 50%;
  right: -var(--space-md);
  width: var(--space-md);
  height: 2px;
  background: var(--border);
}
.stopp__time {
  display: block;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.stopp__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.stopp__text {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* POLAROID */
.route__map {
  display: flex;
  justify-content: center;
}
.polaroid {
  background: var(--white);
  padding: var(--space-sm) var(--space-sm) 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  width: 100%;
  transform: rotate(-0.8deg);
  transition: transform var(--trans-spring);
}
.polaroid:hover { transform: rotate(0deg) scale(1.01); }
.polaroid__img {
  width: 100%;
  display: block;
  border-radius: 2px;
}
.polaroid__caption {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-top: 2.5rem;
  letter-spacing: 0.06em;
}

/* ============================================================
   REGISTRATION SECTION
   ============================================================ */
.registration {
  padding: var(--space-xl) 0;
  background: var(--text);
  position: relative;
  overflow: hidden;
}
.registration::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(241, 135, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.registration__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}
.registration__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}
.registration__heading .hl { color: var(--accent); }
.registration__subtext {
  color: rgba(255,255,255,0.6);
  font-size: 1.15rem;
}

.registration__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg) var(--space-xl);
  align-items: start;
}

/* FORM */
.form-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}
.form__honeypot { display: none !important; }
.form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.form__group {
  margin-bottom: 1.2rem;
}
.form__group--check {
  margin-bottom: 0.5rem;
}
.form__label {
  display: block;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}
.required { color: var(--accent); }
.form__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font-size: 1.05rem;
  transition: border-color var(--trans), box-shadow var(--trans);
  appearance: none;
  -webkit-appearance: none;
}
.form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(241, 135, 0, 0.12);
}
.form__input.is-error { border-color: #e53e3e; }
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a7a78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form__textarea { resize: vertical; min-height: 100px; }
.form__error {
  display: block;
  font-size: 0.8rem;
  color: #e53e3e;
  margin-top: 0.3rem;
  min-height: 1rem;
}

/* CHECKBOX */
.form__check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.form__check-input { position: absolute; opacity: 0; width: 0; height: 0; }
.form__check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  transition: border-color var(--trans), background var(--trans);
}
.form__check-input:checked ~ .form__check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.form__check-input:checked ~ .form__check-box::after {
  content: '✓';
  font-size: 0.7rem;
  color: var(--white);
}
.form__check-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* FORM SUCCESS / ERROR */
.form__success {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}
.form__success-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  animation: pulse 1.2s ease-in-out infinite;
}
.form__success h3 {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form__success p {
  color: var(--text-light);
  font-size: 0.95rem;
}
.form__error-global {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: #c53030;
}
.form__error-global a { color: var(--accent); text-decoration: underline; }

/* TICKET SIDE */
.ticket-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.ticket-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ticket-visual__img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--trans);
}
.ticket-visual:hover .ticket-visual__img { transform: scale(1.02); }

.ticket-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.ticket-info__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}
.ticket-info__icon { font-size: 1.4rem; flex-shrink: 0; }
.ticket-info__item div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.ticket-info__item strong {
  font-weight: 400;
  color: var(--white);
  font-size: 1.05rem;
}
.ticket-info__item span {
  color: rgba(255,255,255);
  font-size: 0.9rem;
}
.ticket-info__deadline {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding: 0.75rem 1.2rem;
  border: 1px dashed rgba(241, 135, 0, 0.4);
  border-radius: var(--radius-md);
  text-align: center;
}
.ticket-info__deadline strong { font-weight: 400; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #2a2a29;
  padding: var(--space-lg) 0 var(--space-md);
  color: var(--white);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.footer__logo-juka {
  font-size: 1.1rem;
  color: var(--white);
}
.footer__logo-sub {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
}
.footer__contact {
  text-align: right;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer__email {
  color: var(--accent);
  transition: opacity var(--trans);
}
.footer__email:hover { opacity: 0.8; }
.footer__bottom {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.12); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --space-xl:  5rem;
    --space-xxl: 7rem;
  }
  .details__grid,
  .registration__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .details__side { position: static; }
  .stopps { grid-template-columns: 1fr; }
  .stopp__connector { display: none; }
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__burger { display: flex; }
}

@media (max-width: 768px) {
  :root {
    --space-lg:  3rem;
    --space-xl:  4rem;
  }
  .container { padding: 0 var(--space-sm); }
  .counter-bar__divider { display: none; }
  .counter-bar__inner { gap: var(--space-md); }
  .form__row--half { grid-template-columns: 1fr; }
  .form-wrap { padding: var(--space-md); }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__contact { text-align: left; }
  /* Hero: remove absolute CTA on mobile — let image breathe */
  .hero__cta-wrap {
    position: static;
    transform: none;
    animation: none;
    padding: var(--space-md) var(--space-sm) 0;
    display: flex;
    justify-content: center;
    background-color: #424241;
  }
  .hero__fade-bottom { display: none; }
  .btn--hero { width: 100%; justify-content: center; max-width: 360px; }
  .polaroid { transform: rotate(-0.4deg); }
}

@media (max-width: 480px) {
  .nav__cta { display: none; } /* only burger on very small screens */
  .details__heading { font-size: 3rem; }
  .registration__heading { font-size: 2.8rem; }
  .info-card__price { font-size: 2.6rem; }
  .mobile-menu__link { font-size: 1.8rem; }
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
  .cursor { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   LOGO (Footer)
   ============================================================ */
.footer__logo-img {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   FOOTER LEGAL LINKS
   ============================================================ */
.footer__legal {
  display: flex;
  gap: var(--space-md);
  margin-top: 0.4rem;
}
.footer__legal-link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--trans);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  padding: 0;
}
.footer__legal-link:hover { color: var(--accent); }

/* ============================================================
   LIGHTBOX MODAL
   ============================================================ */
.lb-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(42, 42, 41, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lb-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.lb-dialog {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.lb-backdrop.is-open .lb-dialog {
  transform: translateY(0) scale(1);
}
.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}
.lb-title {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.lb-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
  font-family: sans-serif;
  flex-shrink: 0;
}
.lb-close:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.lb-body {
  overflow-y: auto;
  padding: 2rem;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}
/* Scrollbar styling */
.lb-body::-webkit-scrollbar { width: 5px; }
.lb-body::-webkit-scrollbar-track { background: transparent; }
.lb-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.lb-content h2 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin: 1.8rem 0 0.6rem;
}
.lb-content h2:first-child { margin-top: 0; }
.lb-content h3 {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.4rem 0 0.4rem;
}
.lb-content p {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 0.6rem;
}
.lb-content p strong {
  color: var(--text);
  font-weight: 400;
}
.lb-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lb-divider {
  height: 1px;
  background: var(--border-light);
  margin: 1.8rem 0;
}
.lb-address {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.8;
  border: 1px solid var(--border-light);
}
.lb-address strong {
  display: block;
  color: var(--accent);
  font-weight: 400;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

/* ============================================================
   DATENSCHUTZ LIGHTBOX – Tabs
   ============================================================ */
.lb-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}
.lb-tab {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  background: none;
  cursor: pointer;
  transition: all var(--trans);
}
.lb-tab.active,
.lb-tab:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

@media (max-width: 600px) {
  .lb-dialog { max-height: 94vh; border-radius: var(--radius-md); }
  .lb-header { padding: 1.2rem 1.4rem; }
  .lb-body { padding: 1.4rem; }
  .lb-tabs { flex-direction: column; }
}

/* Form headline above Vorname/Nachname */
.form__headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 1.4rem;
  line-height: 1.2;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq {
  padding: var(--space-xl) 0;
  background: var(--bg-warm);
}

.faq__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.faq__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin-top: 0.6rem;
}

.faq__accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each accordion row */
.faq__item {
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.faq__item:first-child {
  border-top: none;
}

/* Trigger button */
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  letter-spacing: 0.01em;
  transition: color var(--trans);
}

.faq__trigger:hover {
  color: var(--accent);
}

.faq__trigger[aria-expanded="true"] {
  color: var(--accent);
}

/* Plus/minus icon */
.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  position: relative;
  transition: background var(--trans), border-color var(--trans), transform 0.35s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text-light);
  transition: background var(--trans), transform 0.35s ease, opacity 0.25s ease;
}

/* horizontal bar */
.faq__icon::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

/* vertical bar */
.faq__icon::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.faq__trigger[aria-expanded="true"] .faq__icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.faq__trigger[aria-expanded="true"] .faq__icon::before,
.faq__trigger[aria-expanded="true"] .faq__icon::after {
  background: var(--white);
}

/* Answer panel */
.faq__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__body:not([hidden]) {
  max-height: 400px;
}

/* hidden attribute handled via JS – but we also need display logic */
.faq__body[hidden] {
  display: block !important; /* override HTML hidden so CSS transition works */
  max-height: 0;
}

.faq__answer {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
  padding-bottom: 1.4rem;
}

/* Highlight item (last question) */
.faq__item--highlight .faq__trigger {
  color: var(--accent);
}

.faq__item--highlight .faq__trigger:hover {
  color: var(--accent-dark);
}

.faq__item--highlight .faq__icon {
  border-color: var(--accent);
}

.faq__item--highlight .faq__icon::before,
.faq__item--highlight .faq__icon::after {
  background: var(--accent);
}

.faq__item--highlight .faq__trigger[aria-expanded="true"] .faq__icon {
  background: var(--accent);
}

@media (max-width: 600px) {
  .faq__trigger {
    font-size: 0.95rem;
    padding: 1.1rem 0;
  }
  .faq__answer {
    font-size: 0.9rem;
  }
}

/* ============================================================
   RADIO BUTTONS (Zahlungsauswahl)
   ============================================================ */
.form__group--radio {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form__label--radio {
  display: block;
  margin-bottom: 0.35rem;
}

.form__radio-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  transition: border-color var(--trans), background var(--trans);
  line-height: 1.5;
}

.form__radio-label:hover {
  border-color: var(--accent);
  background: var(--bg-warm);
}

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

.form__radio-input:checked + .form__radio-box {
  border-color: var(--accent);
  background: var(--accent);
}

.form__radio-input:checked + .form__radio-box::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.form__radio-input:checked ~ .form__radio-text {
  color: var(--text);
  font-weight: 600;
}

.form__radio-input:focus-visible + .form__radio-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form__radio-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-card);
  position: relative;
  margin-top: 2px;
  transition: border-color var(--trans), background var(--trans);
}

.form__radio-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.form__radio-text {
  font-size: 0.93rem;
  color: var(--text-light);
  transition: color var(--trans);
}

/* Selected state – highlight entire label */
.form__radio-label:has(.form__radio-input:checked) {
  border-color: var(--accent);
  background: var(--bg-warm);
}

/* Error state */
.form__group--radio.is-error .form__radio-label {
  border-color: #e53e3e;
}
