/* Superland Design System */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito:wght@400;600;700&display=swap');

:root {
  --primary: #ff3385;
  --secondary: #ffde00;
  --accent1: #00c2ff;
  --accent2: #5bd75b;
  --accent3: #ff6b21;
  --accent4: #8a49ff;
  --dark: #2d1a47;
  --light: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(135deg, #ff3385 0%, #8a49ff 100%);
  min-height: 100vh;
  color: var(--dark);
}

h1, h2, h3 {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
}

/* Page Wrapper */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Shop Übersicht */
.shop-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1;
}

.shop-header {
  text-align: center;
  margin-bottom: 60px;
  color: var(--light);
  animation: fadeInDown 0.6s ease;
}

.shop-header h1 {
  font-size: 3em;
  margin-bottom: 10px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.shop-header p {
  font-size: 1.2em;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.product-card {
  background: var(--light);
  border-radius: 30px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  animation: popIn 0.6s ease forwards;
  opacity: 0;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--accent1), var(--accent2), var(--secondary));
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }

.product-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.product-icon {
  font-size: 4.5em;
  margin-bottom: 20px;
  animation: bounce 2s ease-in-out infinite;
}

.product-card h2 {
  color: var(--primary);
  font-size: 2em;
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.product-card > p {
  color: var(--dark);
  font-size: 1em;
  margin-bottom: 20px;
}

.product-details {
  list-style: none;
  margin: 20px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
}

.product-details li {
  padding: 8px 0;
  font-size: 0.95em;
  color: var(--dark);
  font-weight: 600;
}

.product-info {
  font-size: 0.9em;
  color: #666;
  margin: 20px 0;
  font-style: italic;
}

.btn-shop {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent3));
  color: var(--light);
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 51, 133, 0.5);
  margin-top: auto;
  align-self: center;
}

.btn-shop:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(255, 51, 133, 0.7);
}

.btn-external {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 8px 20px rgba(0, 194, 255, 0.5);
}

/* Coming Soon Styles */
.product-coming-soon {
  opacity: 0.85;
  position: relative;
  padding-top: 60px; /* Extra space for larger badge */
}

.product-coming-soon::before {
  content: '🚀 Bald verfügbar';
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--secondary), var(--accent3));
  color: var(--dark);
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: 700;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-coming-soon {
  background: linear-gradient(135deg, #888, #666) !important;
  cursor: pointer !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
  border: none;
  font-family: 'Nunito', sans-serif;
}

.btn-coming-soon:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4) !important;
}

/* Mobile: More space for badge */
@media (max-width: 768px) {
  .product-coming-soon {
    padding-top: 75px; /* More space on mobile */
  }
  
  .product-coming-soon::before {
    padding: 10px 15px;
    font-size: 1em;
  }
}

.external-icon {
  margin-left: 8px;
}

/* Booking Seite */
.booking-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1;
}

.booking-header {
  text-align: center;
  margin-bottom: 40px;
  color: var(--light);
}

.booking-header h1 {
  font-size: 3.5em;
  margin-bottom: 10px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.booking-header p {
  font-size: 1.3em;
}

.back-link {
  display: inline-block;
  color: var(--light);
  text-decoration: none;
  margin-top: 15px;
  font-size: 1.2em;
  transition: all 0.3s ease;
}

.back-link:hover {
  transform: translateX(-8px);
}

.booking-content {
  background: var(--light);
  border-radius: 30px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.6s ease;
}

.form-section {
  margin-bottom: 40px;
}

.form-section h2 {
  color: var(--primary);
  font-size: 2em;
  margin-bottom: 20px;
}

input[type="date"],
input[type="text"],
input[type="email"],
input[type="number"] {
  width: 100%;
  padding: 15px 20px;
  border: 3px solid #e0e0e0;
  border-radius: 15px;
  font-size: 1.1em;
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(255, 51, 133, 0.3);
}

.ticket-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa, #fff);
  border-radius: 15px;
  margin-bottom: 15px;
  border-left: 5px solid var(--accent1);
  transition: all 0.3s ease;
}

.ticket-option:hover {
  background: linear-gradient(135deg, #e9ecef, #f8f9fa);
  border-left-color: var(--primary);
  transform: translateX(5px);
}

.ticket-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ticket-name {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--dark);
}

.ticket-price {
  background: var(--secondary);
  color: var(--dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  display: inline-block;
  width: fit-content;
}

.ticket-option input[type="number"] {
  width: 80px;
  margin: 0;
  text-align: center;
  font-size: 1.3em;
  font-weight: 700;
}

.total-box {
  background: linear-gradient(135deg, var(--primary), var(--accent3));
  color: var(--light);
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  font-size: 1.8em;
  margin-top: 25px;
  box-shadow: 0 10px 25px rgba(255, 51, 133, 0.5);
}

.agb-checkbox {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1em;
  cursor: pointer;
}

.agb-checkbox input[type="checkbox"] {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.agb-checkbox a {
  color: var(--primary);
  font-weight: 700;
}

.warning-notice {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 4px solid var(--secondary);
  border-radius: 20px;
  padding: 30px;
  margin: 30px 0;
  animation: pulse 2s ease-in-out infinite;
}

.warning-notice h3 {
  color: var(--accent3);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.warning-notice p {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.paypal-section {
  margin-top: 30px;
}

.paypal-hinweis {
  text-align: center;
  color: #666;
  font-size: 0.95em;
  margin-bottom: 15px;
  font-style: italic;
}

#paypal-button-container {
  min-height: 60px;
  transition: opacity 0.3s ease;
}

.loading {
  text-align: center;
  padding: 40px;
}

.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

/* Footer */
.site-footer {
  background: rgba(45, 26, 71, 0.9);
  color: var(--light);
  text-align: center;
  padding: 30px 20px;
  margin-top: auto;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--light);
  margin: 5% auto;
  padding: 40px;
  border-radius: 30px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideDown 0.3s ease;
}

.close {
  color: #aaa;
  float: right;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close:hover {
  color: var(--primary);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  60% {
    transform: scale(1.1) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

/* Desktop: 3 Karten nebeneinander */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* Tablet: 2 Karten oben, 1 unten */
@media (min-width: 768px) and (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .product-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  
  .shop-header h1 {
    font-size: 3.5em;
  }
  
  .shop-header p {
    font-size: 1.3em;
  }
  
  .product-icon {
    font-size: 5em;
  }
  
  .product-card h2 {
    font-size: 2.2em;
  }
}

/* Mobile: Alle untereinander */
@media (max-width: 767px) {
  .shop-container {
    padding: 30px 15px;
  }
  
  .shop-header {
    margin-bottom: 40px;
  }
  
  .shop-header h1 {
    font-size: 1.8em;
  }
  
  .shop-header p {
    font-size: 0.9em;
  }
  
  .booking-header h1 {
    font-size: 1.8em;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .product-card {
    padding: 25px 18px;
    border-radius: 20px;
  }
  
  .product-icon {
    font-size: 2.8em;
    margin-bottom: 15px;
  }
  
  .product-card h2 {
    font-size: 1.4em;
    margin-bottom: 12px;
    word-break: break-word;
    line-height: 1.3;
  }
  
  .product-card > p {
    font-size: 0.85em;
    margin-bottom: 15px;
  }
  
  .product-details {
    padding: 12px;
    margin: 15px 0;
    border-radius: 12px;
  }
  
  .product-details li {
    font-size: 0.8em;
    padding: 5px 0;
    line-height: 1.4;
  }
  
  .product-info {
    font-size: 0.75em;
    margin: 15px 0;
  }
  
  .btn-shop {
    font-size: 0.9em;
    padding: 11px 28px;
    border-radius: 40px;
  }
  
  .product-coming-soon {
    padding-top: 65px;
  }
  
  .product-coming-soon::before {
    top: 15px;
    left: 15px;
    right: 15px;
    padding: 8px 12px;
    font-size: 0.9em;
    border-radius: 20px;
  }
  
  .booking-content {
    padding: 30px 20px;
    border-radius: 20px;
  }
  
  .ticket-option {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  
  .ticket-option input[type="number"] {
    width: 100%;
  }
  
  .form-section h2 {
    font-size: 1.5em;
  }
  
  .total-box {
    font-size: 1.4em;
    padding: 20px;
  }
  
  .site-footer {
    font-size: 0.85em;
    padding: 25px 15px;
  }
}

