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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #2d2d2d;
  background-color: #f7f7f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   WELLENMUSTER HINTERGRUND (SVG)
   ============================================ */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../img/bixx_wave-white-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ============================================
   GRADIENT TEXT (bixx Style)
   ============================================ */
.gradient-text {
  background: linear-gradient(to top, #1a1a1a 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   SEKTION 1: HEADER
   ============================================ */
.site-header {
  padding: 0;
}

.header-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 24px;
}

.studio-switch-link {
  font-size: 13px;
  font-weight: 600;
  color: #e8723a;
  text-decoration: none;
  transition: opacity 0.2s;
  letter-spacing: 0.02em;
}

.studio-switch-link:hover {
  opacity: 0.8;
}

/* ============================================
   SEKTION 2: HERO
   ============================================ */
.hero {
  padding: 0 0 4px;
}

.hero-image-wrapper {
  width: 100%;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================
   SEKTION 3: FORMULAR / STUDIO-DROPDOWN
   ============================================ */
.form-section {
  padding: 14px 0 12px;
}

.form-title {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(to top, #1a1a1a 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-title-studio {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #FC674E 0%, #F28F2B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ticket-form,
.studio-selector {
  width: 100%;
}

.studio-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.studio-list li {
  padding: 1px;
  border-radius: 50px;
  background: linear-gradient(135deg, #f7a44c 0%, #e8723a 100%);
}

.studio-list a {
  display: block;
  padding: 12px 16px;
  background: #f7f7f7;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: #2d2d2d;
  transition: background 0.2s, color 0.2s;
}

.studio-list a:hover {
  background: linear-gradient(135deg, #f7a44c 0%, #e8723a 100%);
  color: #fff;
}

.form-group {
  margin-bottom: 6px;
}

.form-group-icon {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 18px;
  top: 17px;
  pointer-events: none;
  z-index: 1;
}

.form-group-icon input {
  padding-left: 48px !important;
}

.form-group label {
  display: none;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  background: #ffffff;
  color: #2d2d2d;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder {
  color: #aaa;
  opacity: 1;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #e8723a;
  box-shadow: 0 0 0 3px rgba(232, 114, 58, 0.12);
  background: #fff;
}

.form-group input.input-error,
.form-group select.input-error {
  border-color: #e53e3e;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e8723a' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 44px;
}

.error-message {
  display: block;
  font-size: 13px;
  color: #e53e3e;
  margin-top: 2px;
  padding-left: 16px;
  min-height: 9px;
}

/* ============================================
   BUTTONS – bixx Orange Gradient + Pfeil
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  width: 100%;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #f7a44c 0%, #e8723a 50%, #d4543a 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(232, 114, 58, 0.3);
  position: relative;
  line-height: 1.3;
}

.btn-studio {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
}

.btn-primary::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  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='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  flex-shrink: 0;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(232, 114, 58, 0.4);
  opacity: 0.95;
}

.btn-primary:disabled {
  background: linear-gradient(135deg, #ccc 0%, #aaa 100%);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-outline {
  padding: 14px 28px;
  border-radius: 50px;
  background: transparent;
  color: #e8723a;
  border: 2px solid #e8723a;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: rgba(232, 114, 58, 0.06);
}

/* ============================================
   SEKTION 4: VIDEO (4:5)
   ============================================ */
.video-section {
  padding: 12px 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  background: #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #f7a44c 0%, #e8723a 50%, #d4543a 100%);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 114, 58, 0.4);
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 25px rgba(232, 114, 58, 0.5);
}

.video-play-btn.hidden {
  display: none;
}

/* ============================================
   SEKTION 5: DIENSTLEISTUNGEN
   ============================================ */
.services-section {
  padding: 32px 0;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  background: linear-gradient(to top, #1a1a1a 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
}

/* Orangener Akzentstrich ueber Titeln */
.section-title::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f7a44c, #e8723a);
  margin: 0 auto 12px;
}

.section-title-studio {
  background: linear-gradient(135deg, #f7a44c 0%, #e8723a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.service-card:last-child {
  border-bottom: none;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card-image {
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  border-radius: 8px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-text {
  width: 100%;
}

.service-card-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: #2d2d2d;
}

.service-card-text p {
  font-size: 14px;
  color: #777;
  line-height: 1.4;
}

.service-card-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.4;
  width: 100%;
}

/* ============================================
   SEKTION 6: CTA
   ============================================ */
.cta-section {
  padding: 16px 0 32px;
  text-align: center;
}

.btn-cta {
  display: flex;
}

.availability {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
}

.avail-free {
  color: #22c55e;
}

.avail-reserved {
  color: #e8723a;
}

.avail-confirmed {
  width: 100%;
  text-align: center;
  color: #2ea84a;
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

.form-error-banner {
  background: #fff0f0;
  border: 1px solid #e8723a;
  color: #c0392b;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
}

/* ============================================
   SEKTION 7: FOOTER
   ============================================ */
.site-footer {
  margin-top: auto;
  padding: 24px 0;
  border-top: 1px solid #e5e5e5;
}

.footer-disclaimer {
  font-size: 11px;
  color: #c0c0c0;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #999;
}

.footer-inner a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-studio-switch {
  color: #e8723a !important;
}

.footer-inner a:hover {
  color: #e8723a;
}

.footer-sep {
  color: #ddd;
}

/* ============================================
   DANKE-SEITE
   ============================================ */
.thankyou-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.thankyou-content {
  text-align: center;
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7a44c 0%, #e8723a 50%, #d4543a 100%);
  color: #fff;
  font-size: 36px;
  line-height: 72px;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(232, 114, 58, 0.3);
}

.thankyou-content h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(to top, #1a1a1a 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.thankyou-content p {
  font-size: 16px;
  color: #777;
  margin-bottom: 28px;
}

.thankyou-content .btn {
  max-width: 300px;
  margin: 0 auto;
}

/* ============================================
   STUDIO-WECHSEL MODAL
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
  background: linear-gradient(to top, #1a1a1a 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-studio-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-studio-list li {
  padding: 1px;
  border-radius: 50px;
  background: linear-gradient(135deg, #f7a44c 0%, #e8723a 100%);
}

.modal-studio-list a {
  display: block;
  padding: 12px 16px;
  background: #f7f7f7;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  color: #2d2d2d;
}

.modal-studio-list a:hover {
  background: linear-gradient(135deg, #f7a44c 0%, #e8723a 100%);
  color: #fff;
}

.modal-close {
  display: block;
  margin-top: 16px;
  padding: 12px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #999;
  background: none;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.modal-close:hover {
  border-color: #e8723a;
  color: #e8723a;
}

/* ============================================
   DESKTOP (ab 600px)
   ============================================ */
@media (min-width: 600px) {
  .container {
    max-width: 600px;
    padding: 0 32px;
  }

  .service-card-image {
    width: 120px;
    height: 120px;
  }

  .service-card-text h3 {
    font-size: 18px;
  }

  .service-card-text p {
    font-size: 15px;
  }

  .form-title {
    font-size: 24px;
  }

  .form-title-studio {
    font-size: 24px;
  }

  .section-title {
    font-size: 19px;
  }
}
