/* ============================================================
   MTCC Shop – Liquid Glass Design
   Farbvariablen werden per PHP inline gesetzt
   ============================================================ */

:root {
  --primary:      #c9a84c;
  --primary-text: #1a1830;
  --bg:           #0f0e1a;
  --card:         #1e1c2e;
  --card-hover:   #252340;
  --border:       rgba(255,255,255,0.08);
  --text:         #ffffff;
  --text-muted:   #9996b8;
  --success:      #2d7a4f;
  --error:        #7a2d2d;
  --radius:       14px;
  --radius-sm:    8px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; background: var(--bg); }

/* Ambient glow background using primary color */
body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Static ambient orbs – fixed, behind all content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 92% -5%,
      color-mix(in srgb, var(--primary) 14%, transparent) 0%,
      transparent 55%),
    radial-gradient(ellipse 65% 55% at -8% 105%,
      color-mix(in srgb, var(--primary) 8%, transparent) 0%,
      transparent 55%);
}

/* Animated floating orb */
body::after {
  content: '';
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--primary) 7%, transparent) 0%,
    transparent 68%);
  z-index: -1;
  pointer-events: none;
  top: 0%;
  left: 20%;
  animation: orbFloat 22s ease-in-out infinite;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { text-decoration: none; color: color-mix(in srgb, var(--primary) 75%, white); }

.main { min-height: 100vh; }

/* ---- HEADER ---- */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 1px 28px rgba(0,0,0,0.22);
}
.shop-header-main {
  display: flex;
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
}
.shop-header-inner {
  max-width: 900px;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.shop-logo img { height: 40px; object-fit: contain; }
.shop-logo-text {
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile: overridden by @media below; desktop: overridden by min-width block */
.shop-nav { display: none; }

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) saturate(1.3);
  transform: scale(1.04);
  transition: transform 12s ease;
}
.hero:hover .hero-image { transform: scale(1); }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 20%,
    color-mix(in srgb, var(--bg) 85%, transparent) 100%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 52px 20px 50px;
}
.hero-title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  animation: fadeInUp 0.6s var(--ease) 0.05s both;
}
.hero-title span { color: var(--primary); }
.hero-date, .hero-location {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 6px;
}
.hero-date     { animation: fadeInUp 0.5s var(--ease) 0.14s both; }
.hero-location { animation: fadeInUp 0.5s var(--ease) 0.22s both; }
.hero-desc {
  color: var(--text-muted);
  margin: 14px 0 0;
  max-width: 560px;
  line-height: 1.7;
  animation: fadeInUp 0.5s var(--ease) 0.30s both;
}

/* ---- SECTIONS ---- */
.section { padding: 48px 0; }
.container { max-width: 700px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.08), transparent);
}
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }

/* ---- TICKET CARDS ---- */
.ticket-list { display: flex; flex-direction: column; gap: 14px; }

.ticket-card {
  background: color-mix(in srgb, var(--card) 68%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  animation: fadeInUp 0.5s var(--ease) both;
}
.ticket-card:nth-child(1) { animation-delay: 0.06s; }
.ticket-card:nth-child(2) { animation-delay: 0.12s; }
.ticket-card:nth-child(3) { animation-delay: 0.18s; }
.ticket-card:nth-child(4) { animation-delay: 0.24s; }
.ticket-card:nth-child(5) { animation-delay: 0.30s; }
.ticket-card:nth-child(n+6) { animation-delay: 0.36s; }

.ticket-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.13);
}
.ticket-card.has-items {
  border-color: color-mix(in srgb, var(--primary) 55%, transparent);
  animation: glowPulse 2.5s ease-in-out infinite;
}
.ticket-card-info { flex: 1; min-width: 0; }
.ticket-card-name { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.ticket-card-desc { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.ticket-card-warn { font-size: 13px; color: #e8a84c; margin-top: 6px; font-weight: 500; }
.ticket-card-warn.sold-out { color: var(--text-muted); }
.ticket-card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; }
.ticket-card-price { color: var(--primary); font-size: 20px; font-weight: 800; white-space: nowrap; }

/* Qty control */
.qty-control {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 18px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s var(--ease);
}
.qty-btn:hover  { background: color-mix(in srgb, var(--primary) 14%, transparent); }
.qty-btn:active { background: color-mix(in srgb, var(--primary) 24%, transparent); }
.qty-val { min-width: 36px; text-align: center; font-weight: 700; font-size: 16px; }
.sold-out-badge { color: var(--text-muted); font-size: 14px; }

/* ---- CART ---- */
.cart-summary {
  margin-top: 22px;
  background: color-mix(in srgb, var(--card) 62%, transparent);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--primary) 38%, transparent);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.28),
    0 0 36px color-mix(in srgb, var(--primary) 7%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.06);
  animation: fadeInUp 0.3s var(--ease) both;
}
.cart-title { font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 15px;
}
.cart-item-row:last-of-type { border-bottom: none; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 4px;
}
.cart-total { color: var(--primary); font-size: 24px; font-weight: 800; }
.cart-vat-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  padding: 2px 0;
  opacity: 0.7;
}

/* ---- CHECKOUT ---- */
.checkout-section { margin-top: 24px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--primary);
  margin-top: 2px;
}
.checkout-note { color: var(--text-muted); font-size: 13px; text-align: center; margin-top: 10px; }

/* ---- BUTTONS ---- */
.btn-primary {
  position: relative;
  display: inline-block;
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 32%, transparent);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), opacity 0.2s var(--ease);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px color-mix(in srgb, var(--primary) 44%, transparent);
  opacity: 0.95;
  text-decoration: none;
  color: var(--primary-text);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.11) 50%,
    transparent 100%
  );
  animation: shimmer 4s ease-in-out infinite 1.5s;
  pointer-events: none;
}
.btn-primary:active  { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.42; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary:disabled::after { animation: none; }

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.38);
  transform: translate(-50%, -50%) scale(0);
  animation: btnRipple 0.55s var(--ease) forwards;
  pointer-events: none;
}
.btn-block  { display: block; width: 100%; }
.btn-buy    { font-size: 17px; padding: 16px; }
.btn-arrow  { margin-left: 4px; }
.btn-spinner { display: inline-block; }
.btn-pay    { margin-top: 20px; }

.btn-secondary-shop {
  display: inline-block;
  border: 1.5px solid color-mix(in srgb, var(--primary) 55%, transparent);
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
    transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.btn-secondary-shop:hover {
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--primary) 18%, transparent);
  text-decoration: none;
}

/* ---- AUTH / CENTERED PAGES ---- */
body.page-centered {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.auth-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.auth-card {
  background: color-mix(in srgb, var(--card) 62%, transparent);
  backdrop-filter: blur(30px) saturate(165%);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  padding: 36px 30px;
  width: 100%;
  max-width: 440px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 -1px 0 rgba(0,0,0,0.08);
  animation: fadeInUp 0.42s var(--ease) both;
}
.auth-logo { text-align: center; margin-bottom: 26px; }
.auth-logo img { height: 48px; object-fit: contain; }
.auth-title {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: -0.3px;
}
.auth-hint {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
  text-align: center;
  line-height: 1.65;
}
.auth-resend {
  text-align: center;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 14px;
}
.link-muted { color: var(--text-muted); font-size: 15px; }
.link-muted:hover { color: var(--primary); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}
.form-input {
  width: 100%;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-input:focus {
  border-color: color-mix(in srgb, var(--primary) 65%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 11%, transparent);
}
.form-input::placeholder { color: rgba(153,150,184,0.45); }
.code-input {
  font-size: 32px;
  text-align: center;
  letter-spacing: 14px;
  font-weight: 700;
  padding: 14px 10px;
}

/* ---- ALERTS ---- */
.alert {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
  backdrop-filter: blur(8px);
}
.alert-success {
  background: rgba(45,122,79,0.11);
  border: 1px solid rgba(45,122,79,0.32);
  color: #7de0a8;
}
.alert-error {
  background: rgba(192,68,68,0.11);
  border: 1px solid rgba(192,68,68,0.32);
  color: #e08080;
}

/* ---- STATUS BADGES ---- */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-pending   { background: rgba(200,130,50,0.14); border: 1px solid rgba(200,130,50,0.28); color: #e8a84c; }
.status-paid      { background: rgba(45,122,79,0.14);  border: 1px solid rgba(45,122,79,0.28);  color: #4cdd8e; }
.status-valid     { background: rgba(45,122,79,0.14);  border: 1px solid rgba(45,122,79,0.28);  color: #4cdd8e; }
.status-refunded  { background: rgba(80,80,180,0.14);  border: 1px solid rgba(80,80,180,0.28);  color: #9090e8; }
.status-cancelled { background: rgba(100,100,100,0.1); border: 1px solid rgba(100,100,100,0.22);color: #888; }
.status-failed    { background: rgba(180,50,50,0.14);  border: 1px solid rgba(180,50,50,0.28);  color: #e05252; }
.status-used      { background: rgba(100,100,100,0.1); border: 1px solid rgba(100,100,100,0.22);color: #888; }

/* ---- ORDER SUMMARY BOX ---- */
.order-summary-box {
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
}
.order-summary-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}
.order-label { color: var(--text-muted); font-weight: 400; font-size: 14px; }
.order-icon  { font-size: 20px; color: var(--primary); }
.order-items-list {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
  margin-top: 10px;
}
.order-item-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 12px;
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-muted);
}
.order-total-amount { color: var(--primary); font-size: 24px; font-weight: 800; }

/* ---- TICKET DISPLAY (ORDER PAGE) ---- */
.tickets-section { margin-top: 24px; }
.tickets-section-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.ticket-display {
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ticket-display:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 6px 22px rgba(0,0,0,0.22);
}
.ticket-display-cat { color: var(--primary); font-size: 13px; margin-bottom: 8px; font-weight: 600; }
.ticket-display-code {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 6px;
  font-variant-numeric: tabular-nums;
}
.ticket-display-status { color: var(--text-muted); font-size: 12px; margin-top: 8px; }
.ticket-invalid { opacity: 0.4; }

/* ---- EVENT INFO BOX ---- */
.event-info-box {
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 22px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.event-info-title    { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.event-info-date     { color: var(--primary); font-weight: 600; margin: 0 0 6px; }
.event-info-location { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ---- PAYMENT ---- */
.payment-wrap .auth-card { max-width: 480px; }
.stripe-element-wrap {
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 4px 0;
  min-height: 60px;
}
.payment-message {
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}
.processing-info {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
}
.spinner-lg {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.06);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin-bottom: 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- SPONSORS ---- */
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.sponsor-item {
  background: color-mix(in srgb, var(--card) 65%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.sponsor-item:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.sponsor-item img { max-height: 48px; max-width: 140px; object-fit: contain; filter: brightness(0.8); transition: filter 0.2s; }
.sponsor-item:hover img { filter: brightness(1); }
.sponsor-item span { color: var(--text-muted); font-size: 14px; font-weight: 600; }

/* ---- CHECKOUT BANNER ---- */
.checkout-banner {
  background: color-mix(in srgb, var(--primary) 9%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  color: #e8a84c;
  flex-wrap: wrap;
  text-align: center;
}
.checkout-banner a { color: var(--primary); font-weight: 700; white-space: nowrap; }
.checkout-banner a:hover { text-decoration: underline; }
.checkout-banner-cancel {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.checkout-banner-cancel:hover { color: var(--text); }

/* ---- NAV LOGIN AREA ---- */
.nav-login-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 6px;
}
.nav-login-area a {
  position: relative!important;
  display: inline-block!important;
  background: var(--primary)!important;
  color: var(--primary-text) !important;
  border: none!important;
  border-radius: var(--radius-sm)!important;
  padding: 6px 15px!important;
  font-size: 16px!important;
  font-weight: 700!important;
  cursor: pointer!important;
  text-align: center!important;
  text-decoration: none!important;
  overflow: hidden!important;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 32%, transparent)!important;
}
.nav-user-email {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.nav-login-link, .nav-logout-link {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-login-link {
  background: var(--primary);
  color: var(--primary-text);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--primary) 28%, transparent);
}
.nav-login-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px color-mix(in srgb, var(--primary) 42%, transparent);
  opacity: 0.92;
  color: var(--primary-text);
}
.nav-logout-link {
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.nav-logout-link:hover { color: var(--text); background: rgba(255,255,255,0.08); }

@media (min-width: 600px) {
  .nav-login-area {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    margin-left: auto;
  }
}

/* ---- MEINE TICKETS ---- */
.my-tickets-order {
  background: color-mix(in srgb, var(--card) 65%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: box-shadow 0.25s var(--ease);
  animation: fadeInUp 0.45s var(--ease) both;
}
.my-tickets-order:nth-child(1) { animation-delay: 0.05s; }
.my-tickets-order:nth-child(2) { animation-delay: 0.1s; }
.my-tickets-order:nth-child(3) { animation-delay: 0.15s; }
.my-tickets-order:hover { box-shadow: 0 10px 38px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06); }

.my-tickets-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 12px;
  flex-wrap: wrap;
}
.my-tickets-order-num  { font-size: 13px; color: var(--text-muted); }
.my-tickets-order-date { font-size: 13px; color: var(--text-muted); }
.my-tickets-list { padding: 14px 20px; display: flex; flex-direction: column; gap: 12px; }

.my-ticket-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.my-ticket-item:hover {
  border-color: rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.24);
}
.my-ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.my-ticket-code {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 5px;
  font-variant-numeric: tabular-nums;
}
.my-ticket-cat    { color: var(--primary); font-size: 13px; font-weight: 600; }
.my-ticket-status { font-size: 12px; color: var(--text-muted); }

/* ---- TICKET ACTION BUTTONS ---- */
.my-ticket-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ticket-btn {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  height: 36px;
  padding: 0 13px;
  gap: 7px;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background 0.2s var(--ease), transform 0.2s var(--ease);
}
.ticket-btn i { font-size: 13px; }
.ticket-btn:hover {
  border-color: color-mix(in srgb, var(--primary) 58%, transparent);
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, transparent);
  transform: translateY(-1px);
  text-decoration: none;
}
.ticket-btn-disabled { opacity: 0.28; cursor: not-allowed; }
.ticket-btn-disabled:hover { border-color: rgba(255,255,255,0.08); color: var(--text-muted); background: rgba(255,255,255,0.04); transform: none; }

/* Per-ticket note */
.my-ticket-note-wrap { position: relative; }
.ticket-note-input {
  width: 100%;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 13px;
  padding: 8px 10px;
  resize: none;
  min-height: 38px;
  font-family: inherit;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  overflow: hidden;
}
.ticket-note-input:focus { outline: none; border-color: color-mix(in srgb, var(--primary) 48%, transparent); color: var(--text); }
.ticket-note-input::placeholder { color: rgba(153,150,184,0.38); }
.ticket-note-saved {
  font-size: 11px;
  color: #4cdd8e;
  position: absolute;
  right: 8px;
  bottom: 7px;
  pointer-events: none;
}

/* ---- QR MODAL ---- */
.qr-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qr-modal-box {
  background: color-mix(in srgb, var(--card) 72%, transparent);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 30px 26px 26px;
  text-align: center;
  position: relative;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 28px 80px rgba(0,0,0,0.52), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: modalPop 0.26s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.86) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.qr-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.qr-modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.qr-modal-cat  { color: var(--primary); font-size: 13px; margin-bottom: 12px; font-weight: 600; }
.qr-modal-code {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 5px;
  margin-top: 16px;
  font-variant-numeric: tabular-nums;
}
#qr-modal-canvas { display: flex; align-items: center; justify-content: center; }
#qr-modal-canvas canvas,
#qr-modal-canvas img { border-radius: 10px; }

/* ---- PUBLIC TICKET ---- */
.ticket-public-card {
  background: color-mix(in srgb, var(--card) 65%, transparent);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 18px 52px rgba(0,0,0,0.38);
  animation: fadeInUp 0.42s var(--ease) both;
}
.ticket-public-cat  { color: var(--primary); font-size: 14px; margin-bottom: 6px; font-weight: 600; }
.ticket-public-code { font-size: 26px; font-weight: 700; letter-spacing: 6px; margin: 8px 0 18px; font-variant-numeric: tabular-nums; }
.ticket-public-qr   { display: flex; justify-content: center; margin: 18px 0; }
.ticket-public-qr canvas,
.ticket-public-qr img { border-radius: 10px; }

/* ============================================================
   PAGE BUILDER MODULES
   ============================================================ */

.mod-vollbild {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mod-titel { padding: 52px 0 12px; }
.mod-titel .container h1 { font-size: 40px; font-weight: 800; margin: 0; letter-spacing: -0.5px; }
.mod-titel .container h2 { font-size: 28px; font-weight: 700; margin: 0; }
.mod-titel .container h3 { font-size: 20px; font-weight: 600; margin: 0; color: var(--text-muted); }

.mod-text { padding: 28px 0; }
.mod-text .container { max-width: 760px; }
.wysiwyg { color: var(--text-muted); line-height: 1.8; }
.wysiwyg h1, .wysiwyg h2, .wysiwyg h3 { color: var(--text); margin-top: 28px; }
.wysiwyg a   { color: var(--primary); }
.wysiwyg ul, .wysiwyg ol { padding-left: 24px; }
.wysiwyg img { max-width: 100%; border-radius: var(--radius); }
.wysiwyg blockquote {
  border-left: 3px solid var(--primary);
  margin: 18px 0;
  padding: 10px 18px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(4px);
  border-radius: 0 8px 8px 0;
}
.wysiwyg hr { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 28px 0; }

.mod-galerie { padding: 44px 0; }
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.galerie-item { margin: 0; }
.galerie-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  transition: opacity 0.2s var(--ease), transform 0.3s var(--ease);
}
.galerie-item img:hover { opacity: 0.85; transform: scale(1.02); }
.galerie-item figcaption { color: var(--text-muted); font-size: 13px; margin-top: 7px; }

.mod-button { padding: 32px 0; }
.mod-button .container { display: flex; }

.mod-kontaktformular { padding: 44px 0; }
.mod-kontaktformular textarea.form-input { resize: vertical; min-height: 110px; }
.form-msg { margin-top: 8px; }

.mod-sponsoren { padding: 44px 0; }

/* FAQ */
.mod-faq { padding: 44px 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s var(--ease);
}
.faq-question:hover { color: var(--primary); }
.faq-question::after {
  content: '+';
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.faq-question.open { color: var(--primary); }
.faq-question.open::after { content: '−'; }
.faq-answer {
  display: none;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  padding: 0 0 22px;
}

/* Info items */
.mod-informationen { padding: 52px 0; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: color-mix(in srgb, var(--card) 65%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.16);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.26);
  border-color: rgba(255,255,255,0.12);
}
.info-icon { font-size: 22px; flex-shrink: 0; line-height: 1.3; color: var(--primary); }
.info-item div { display: flex; flex-direction: column; gap: 3px; }
.info-label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); font-weight: 600; }
.info-value { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.4; }
.info-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 720px;
  white-space: pre-line;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,      0)     scale(1);    opacity: 1;    }
  33%       { transform: translate(130px, -90px)  scale(1.14); opacity: 0.85; }
  66%       { transform: translate(-80px,  55px)  scale(0.88); opacity: 0.9;  }
}
@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 8px 32px rgba(0,0,0,0.25),
      0 0 28px  color-mix(in srgb, var(--primary) 10%, transparent),
      inset 0 1px 0 rgba(255,255,255,0.07);
  }
  50% {
    box-shadow:
      0 10px 36px rgba(0,0,0,0.30),
      0 0 54px  color-mix(in srgb, var(--primary) 22%, transparent),
      inset 0 1px 0 rgba(255,255,255,0.09);
  }
}
@keyframes shimmer {
  0%        { left: -100%; opacity: 1; }
  60%, 100% { left:  160%; opacity: 0; }
}
@keyframes btnRipple {
  to { transform: translate(-50%, -50%) scale(28); opacity: 0; }
}

/* ---- FOOTER ---- */
.shop-footer {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  margin-top: 70px;
}
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 14px; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--primary); }
.footer-powered { text-align: center; color: rgba(153,150,184,0.35); font-size: 12px; margin: 10px 0 0; }

/* ---- RESPONSIVE ---- */
@media (min-width: 600px) {
  .hero-title { font-size: 44px; }
  .auth-card  { padding: 42px 38px; }
  .shop-nav {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    height: auto;
    background: none;
    backdrop-filter: none;
    clip-path: none !important;
    pointer-events: all;
    border: none;
    padding: 0;
    gap: 24px;
    overflow: visible;
    transition: none;
    align-items: center;
  }
  .shop-nav::before { display: none; }
  .shop-nav a {
    opacity: 1 !important;
    transform: none !important;
    transition: color 0.2s var(--ease) !important;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: normal;
    width: auto;
    white-space: nowrap;
  }
  .shop-nav a:hover { color: var(--primary); padding-left: 0; }
  .nav-login-area {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    margin-left: auto;
  }
  .nav-toggle { display: none; }
}

@media (max-width: 599px) {
  /* ---- Fullscreen mobile nav ---- */
  .shop-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px 60px;
    gap: 0;
    background: var(--bg);
    overflow: hidden;
    clip-path: circle(0% at calc(100% - 44px) 32px);
    transition: clip-path 0.52s cubic-bezier(0.77, 0, 0.18, 1);
    pointer-events: none;
  }
  .shop-nav::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle,
      color-mix(in srgb, var(--primary) 18%, transparent) 0%,
      transparent 68%);
    top: -80px;
    right: -80px;
    pointer-events: none;
  }
  .shop-nav.open {
    clip-path: circle(170% at calc(100% - 44px) 32px);
    pointer-events: all;
  }
  .shop-nav a {
    font-size: 28px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    padding: 11px 0;
    border: none;
    text-align: center;
    letter-spacing: -0.4px;
    width: 100%;
    opacity: 0;
    transform: translateX(-22px);
    transition: color 0.2s var(--ease);
    white-space: nowrap;
  }
  .shop-nav.open a {
    opacity: 1;
    transform: translateX(0);
    transition:
      color     0.2s var(--ease),
      opacity   0.4s var(--ease),
      transform 0.4s var(--ease);
  }
  .shop-nav.open a:nth-child(1) { transition-delay: 0.10s; }
  .shop-nav.open a:nth-child(2) { transition-delay: 0.16s; }
  .shop-nav.open a:nth-child(3) { transition-delay: 0.22s; }
  .shop-nav.open a:nth-child(4) { transition-delay: 0.28s; }
  .shop-nav.open a:nth-child(5) { transition-delay: 0.34s; }
  .shop-nav.open a:nth-child(6) { transition-delay: 0.40s; }
  .shop-nav a:hover { color: var(--primary); padding-left: 0; }
  .nav-login-area {
    margin-top: 28px;
    border-top: none;
    padding-top: 0;
    opacity: 0;
    transform: translateX(-22px);
    transition: opacity 0s, transform 0s;
  }
  .shop-nav.open .nav-login-area {
    opacity: 1;
    transform: translateX(0);
    transition:
      opacity   0.4s var(--ease),
      transform 0.4s var(--ease);
    transition-delay: 0.44s;
  }
  /* ticket card layout */
  .ticket-card { flex-direction: column; align-items: flex-start; }
  .ticket-card-right { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
}
