/* === FACHWERK16 Ticketshop Styles === */

/* Kein Abstand zwischen Navbar und Inhalt –
   Webflow setzt body { justify-content: space-between },
   das verteilt Elemente und erzeugt Lücken bei wenig Inhalt */
body {
  justify-content: flex-start !important;
}

/* ================================================
   SHOP FRONTEND
   ================================================ */

/* Shop-Bereich – gleiche Abstände wie .section auf der Hauptseite */
.shop-section {
  padding: 40px 10%;
  max-width: 1400px;
  margin: 0 auto;
}

.shop-heading {
  font-family: Taffy, sans-serif;
  font-weight: 600;
  color: var(--highlights-color);
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.shop-subheading {
  font-family: Taffy, sans-serif;
  font-weight: 400;
  color: var(--highlights-color);
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}

/* Event-Karten Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.shop-card {
  background-color: var(--highlights-color);
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.shop-card-img {
  width: calc(100% - 24px);
  margin: 12px 12px 0 12px;
  border-radius: 8px;
  aspect-ratio: 148 / 105;
  object-fit: contain;
  display: block;
  background: var(--highlights-color);
}

.shop-card-placeholder {
  width: calc(100% - 24px);
  margin: 12px 12px 0 12px;
  border-radius: 8px;
  aspect-ratio: 148 / 105;
  background-color: #a5baa3;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Taffy, sans-serif;
  font-size: 22px;
  color: #fff;
}

.shop-card-body {
  padding: 20px 22px 25px;
}

.shop-card-date {
  font-family: Taffy, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.shop-card-title {
  font-family: Taffy, sans-serif;
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.shop-card-location {
  font-family: Taffy, sans-serif;
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 16px;
}

.shop-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 10px;
}

.shop-card-price {
  font-family: Taffy, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.shop-card-tickets {
  font-family: Taffy, sans-serif;
  font-size: 12px;
  opacity: 0.65;
  margin-bottom: 16px;
}

.shop-card-btn {
  display: inline-block;
  background-color: #a5baa3;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-family: Taffy, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.shop-card-btn:hover {
  background-color: #8aab87;
  color: #fff;
}

.shop-card-btn.disabled {
  background-color: rgba(255, 255, 255, 0.25);
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.6);
}

/* Karten-Slider (Shop-Startseite) */
.card-slider {
  position: relative;
  width: calc(100% - 24px);
  margin: 12px 12px 0 12px;
  border-radius: 8px;
  aspect-ratio: 148 / 105;
  overflow: hidden;
  background: var(--highlights-color);
}

.card-slider .shop-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s;
}

.card-slider .shop-card-img.active {
  opacity: 1;
  position: relative;
}

.card-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  line-height: 1;
}

.card-slider:hover .card-slider-arrow {
  opacity: 1;
}

.card-slider-arrow.left { left: 8px; }
.card-slider-arrow.right { right: 8px; }

.card-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

/* ================================================
   EVENT-DETAILSEITE
   ================================================ */
.event-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px 10%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.event-detail-img {
  width: 100%;
  height: auto;
  display: block;
}

.event-detail-placeholder {
  width: 100%;
  height: 400px;
  background-color: #a5baa3;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Taffy, sans-serif;
  font-size: 28px;
  color: #fff;
}

.event-detail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 10px;
}

.event-detail-title {
  font-family: Taffy, sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--highlights-color);
  line-height: 1.2;
}

.event-detail-meta {
  font-family: Taffy, sans-serif;
  font-size: 16px;
  color: var(--highlights-color);
  opacity: 0.75;
}

.event-detail-meta strong {
  opacity: 1;
}

.event-detail-desc {
  font-family: Taffy, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-top: 5px;
}

.event-detail-price {
  font-family: Taffy, sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--highlights-color);
  margin-top: 8px;
}

.event-detail-price small {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.7;
}

/* Event-Detail Slider */
.event-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.event-slider-track {
  position: relative;
  width: 100%;
}

.event-slider-slide {
  display: none;
}

.event-slider-slide.active {
  display: block;
}

.event-slider-slide .event-detail-img {
  width: 100%;
  height: auto;
  display: block;
}

.event-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  line-height: 1;
}

.event-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.event-slider-arrow.left { left: 12px; }
.event-slider-arrow.right { right: 12px; }

.event-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.event-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background-color 0.2s;
}

.event-slider-dot.active {
  background: var(--highlights-color);
}

.event-slider-dot:hover {
  background: #a5baa3;
}

/* ================================================
   BUCHUNGSFORMULAR
   ================================================ */
.booking-form {
  max-width: 720px;
  margin: 40px auto 60px;
  padding: 45px 50px;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.booking-form h2 {
  font-family: Taffy, sans-serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--highlights-color);
  margin-bottom: 30px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: Taffy, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--highlights-color);
  margin-bottom: 6px;
}

.form-group label .required {
  color: #c0392b;
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  font-family: Taffy, sans-serif;
  font-size: 15px;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s, background-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #a5baa3;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(165, 186, 163, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

.form-hint {
  font-family: Taffy, sans-serif;
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

.form-submit {
  display: block;
  width: 100%;
  background-color: #a5baa3;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 16px;
  font-family: Taffy, sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  margin-top: 28px;
}

.form-submit:hover {
  background-color: var(--main-color);
}

.form-submit:active {
  transform: scale(0.99);
}

/* Zahlungsart-Auswahl */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-method-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.payment-method-option:hover {
  border-color: #a5baa3;
}

.payment-method-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #a5baa3;
  flex-shrink: 0;
}

.payment-method-option input[type="radio"]:checked ~ .payment-method-label {
  color: #333;
}

.payment-method-option:has(input:checked) {
  border-color: #a5baa3;
  background: #f0f7f0;
}

.payment-method-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.payment-method-label strong {
  font-size: 15px;
  color: #333;
}

.payment-method-label small {
  font-size: 12px;
  color: #888;
}

/* Banküberweisung Info auf Success-Seite */
.bank-transfer-info {
  margin-top: 25px;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.bank-transfer-info h2 {
  font-family: Taffy, sans-serif;
  font-size: 22px;
  color: var(--highlights-color);
  margin-bottom: 10px;
}

.bank-details {
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 10px;
}

.bank-details p {
  margin: 6px 0;
  font-size: 15px;
}

.form-error {
  background: #fef2f2;
  color: #c0392b;
  padding: 14px 20px;
  border-radius: 6px;
  border-left: 4px solid #c0392b;
  margin-bottom: 24px;
  font-family: Taffy, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.form-success {
  background: #f0fdf4;
  color: #27ae60;
  padding: 14px 20px;
  border-radius: 6px;
  border-left: 4px solid #27ae60;
  margin-bottom: 24px;
  font-family: Taffy, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

/* ================================================
   ERFOLGS-/ABBRUCHSEITE
   ================================================ */
.success-box {
  max-width: 600px;
  margin: 60px auto;
  padding: 55px 50px;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.success-box h1 {
  font-family: Taffy, sans-serif;
  font-size: 32px;
  color: #a5baa3;
  margin-bottom: 20px;
}

.success-box p {
  font-family: Taffy, sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.back-btn {
  display: inline-block;
  background-color: #a5baa3;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px 32px;
  font-family: Taffy, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 24px;
  transition: background-color 0.2s;
}

.back-btn:hover {
  background-color: var(--main-color);
  color: #fff;
}

/* ================================================
   ADMIN PANEL
   ================================================ */

/* Admin-Navigationsleiste unter dem Header */
.admin-nav {
  background: var(--highlights-color);
  padding: 0 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0 !important;
}

.admin-nav-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.admin-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-nav-link {
  display: inline-block;
  padding: 12px 18px;
  font-family: Taffy, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
  border-bottom: 3px solid transparent;
}

.admin-nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

.admin-nav-link.active {
  color: #fff;
  border-bottom-color: #a5baa3;
}

.admin-nav-user {
  font-family: Taffy, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 8px;
}

.admin-nav-logout {
  display: inline-block;
  padding: 6px 14px;
  font-family: Taffy, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(192, 57, 43, 0.8);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.admin-nav-logout:hover {
  background: #c0392b;
}

/* Admin-Wrap */
.admin-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px 10%;
}

.admin-page-title {
  font-family: Taffy, sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--highlights-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-page-title .actions {
  display: flex;
  gap: 8px;
}

/* Admin-Buttons */
.admin-btn {
  display: inline-block;
  background-color: #a5baa3;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-family: Taffy, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  white-space: nowrap;
}

.admin-btn:hover {
  background-color: #8aab87;
  color: #fff;
}

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

.admin-btn.danger {
  background-color: #e74c3c;
  color: #fff;
}

.admin-btn.danger:hover {
  background-color: #c0392b;
  color: #fff;
}

.admin-btn.secondary {
  background-color: var(--highlights-color);
  color: #fff;
}

.admin-btn.secondary:hover {
  background-color: #736966;
  color: #fff;
}

.admin-btn.lg {
  padding: 11px 24px;
  font-size: 15px;
}

/* Admin-Tabellen */
.admin-table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.admin-table th,
.admin-table td {
  padding: 13px 18px;
  text-align: left;
  font-family: Taffy, sans-serif;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.admin-table th {
  background: var(--highlights-color);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: sticky;
  top: 0;
}

.admin-table th:first-child {
  border-radius: 0;
}

.admin-table th:last-child {
  border-radius: 0;
}

.admin-table tbody tr {
  transition: background-color 0.15s;
}

.admin-table tbody tr:hover {
  background: #fafff9;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table .actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-table a {
  color: var(--highlights-color);
  text-decoration: none;
}

.admin-table a:hover {
  color: #a5baa3;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: Taffy, sans-serif;
  letter-spacing: 0.3px;
}

.badge.active { background: #a5baa3; color: #fff; }
.badge.inactive { background: #e0e0e0; color: #777; }
.badge.paid { background: #27ae60; color: #fff; }
.badge.pending { background: #f39c12; color: #fff; }
.badge.bank_transfer { background: #3498db; color: #fff; }
.badge.cancelled { background: #e74c3c; color: #fff; }

/* Admin-Statistiken */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.admin-stat-card {
  background: #fff;
  padding: 22px 20px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.admin-stat-number {
  font-family: Taffy, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--highlights-color);
  line-height: 1;
}

.admin-stat-label {
  font-family: Taffy, sans-serif;
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

/* Admin-Filter */
.admin-filter {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.admin-filter select {
  padding: 9px 14px;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  font-family: Taffy, sans-serif;
  font-size: 14px;
  color: #333;
  background: #fafafa;
  min-width: 240px;
  transition: border-color 0.2s;
}

.admin-filter select:focus {
  outline: none;
  border-color: #a5baa3;
}

/* Tabelleninfo */
.table-info {
  font-family: Taffy, sans-serif;
  font-size: 13px;
  color: #999;
  margin-top: 12px;
}

/* Login */
.login-box {
  max-width: 420px;
  margin: 80px auto;
  padding: 50px 45px;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.login-box h1 {
  font-family: Taffy, sans-serif;
  font-size: 28px;
  color: var(--highlights-color);
  text-align: center;
  margin-bottom: 8px;
}

.login-subtitle {
  font-family: Taffy, sans-serif;
  font-size: 14px;
  color: #999;
  text-align: center;
  margin-bottom: 30px;
}

/* Admin Bild-Preview */
.admin-image-preview {
  display: inline-block;
  position: relative;
  margin-bottom: 12px;
}

.admin-image-preview img {
  max-width: 200px;
  border-radius: 8px;
  display: block;
}

.admin-image-preview .badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

/* Admin Galerie-Grid */
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.admin-gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.admin-gallery-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.admin-gallery-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(231, 76, 60, 0.85);
  color: #fff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.admin-gallery-delete:hover {
  background: #c0392b;
  color: #fff;
}

/* Admin Event Form */
.admin-form {
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 45px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

/* Keine Events */
.no-events {
  text-align: center;
  padding: 80px 20px;
  font-family: Taffy, sans-serif;
  font-size: 18px;
  color: var(--highlights-color);
  opacity: 0.6;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

/* Alte admin-header Klasse als Fallback */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-header h1 {
  font-family: Taffy, sans-serif;
  font-size: 28px;
  color: var(--highlights-color);
}

/* ================================================
   TICKET-PANEL (inline in event-detail-info)
   ================================================ */
.event-ticket-panel {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 2px solid rgba(165, 186, 163, 0.35);
}

.event-ticket-panel-title {
  font-family: Taffy, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--highlights-color);
  opacity: 0.5;
  margin-bottom: 18px;
}

.event-ticket-panel .ticket-cat-row {
  border-bottom: 1px solid rgba(165, 186, 163, 0.2);
}

.event-ticket-panel .ticket-cat-row:last-child {
  border-bottom: none;
}

.event-ticket-panel .ticket-cat-name {
  font-size: 16px;
}

.event-ticket-panel .ticket-cat-price {
  font-size: 13px;
  color: #a5baa3;
}

.event-ticket-panel .ticket-total-row {
  border-top: 2px solid rgba(165, 186, 163, 0.35);
  margin-top: 4px;
  font-size: 18px;
}

.event-detail-avail {
  font-family: Taffy, sans-serif;
  font-size: 13px;
  color: #a5baa3;
  font-weight: 600;
  margin-top: 14px;
  letter-spacing: 0.2px;
}

.event-detail-avail.low {
  color: #e67e22;
}

.event-detail-soldout {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 2px solid rgba(165, 186, 163, 0.35);
  font-family: Taffy, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--highlights-color);
  opacity: 0.5;
}

.event-detail-nobook {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 2px solid rgba(165, 186, 163, 0.35);
  font-family: Taffy, sans-serif;
  font-size: 15px;
  color: var(--highlights-color);
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ================================================
   TICKET-AUSWAHL (event.php)
   ================================================ */
.ticket-selector {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.ticket-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}

.ticket-cat-row:last-child {
  border-bottom: none;
}

.ticket-cat-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ticket-cat-name {
  font-family: Taffy, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--highlights-color);
}

.ticket-cat-price {
  font-family: Taffy, sans-serif;
  font-size: 14px;
  color: #999;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.qty-btn {
  background: #f5f5f5;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 22px;
  font-family: Taffy, sans-serif;
  color: var(--highlights-color);
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.qty-btn:hover {
  background: #e0e0e0;
}

.qty-input {
  width: 52px !important;
  text-align: center !important;
  border: none !important;
  border-left: 2px solid #e8e8e8 !important;
  border-right: 2px solid #e8e8e8 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  height: 44px !important;
  background: #fff !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--highlights-color) !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ticket-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 8px;
  font-family: Taffy, sans-serif;
  font-size: 20px;
  color: var(--highlights-color);
  border-top: 2px solid #e8e8e8;
  margin-top: 10px;
}

/* ================================================
   KASSEN-SEITE (order.php)
   ================================================ */
.checkout-wrap {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 36px;
  max-width: 1380px;
  margin: 50px auto 70px;
  padding: 0 3%;
  align-items: start;
}

.order-summary {
  background: var(--highlights-color);
  color: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  position: sticky;
  top: 20px;
}

.order-summary h2 {
  font-family: Taffy, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.6;
  margin-bottom: 16px;
}

.order-summary-event {
  font-family: Taffy, sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.order-summary-meta {
  font-family: Taffy, sans-serif;
  font-size: 14px;
  opacity: 0.65;
  margin-bottom: 3px;
}

.order-summary-items {
  margin: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 18px;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: Taffy, sans-serif;
  font-size: 15px;
  margin-bottom: 12px;
  gap: 12px;
}

.order-summary-item span:last-child {
  white-space: nowrap;
  opacity: 0.85;
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  font-family: Taffy, sans-serif;
  font-size: 22px;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 16px;
  margin-top: 8px;
}

.checkout-form-box {
  background: #f5f4f0;
  box-shadow: 0 4px 32px rgba(136,125,124,0.13);
  padding: 44px 40px;
  border-radius: 12px;
  border: 1.5px solid rgba(165,186,163,0.2);
}

.checkout-form-box h2 {
  font-family: Taffy, sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--highlights-color);
  margin-bottom: 24px;
}

.checkout-back-link {
  background: none;
  border: none;
  padding: 0;
  font-family: Taffy, sans-serif;
  font-size: 13px;
  color: rgba(0,0,0,0.4);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.checkout-back-link:hover {
  color: var(--highlights-color);
}

.payment-step-header {
  margin-bottom: 28px;
}
.payment-step-header .checkout-back-link {
  display: inline-block;
  margin-bottom: 16px;
}
.payment-step-header h2 {
  margin: 0;
}

#payment-element-wrap {
  min-height: 120px;
}

.payment-submit-btn {
  margin-top: 28px !important;
}

.payment-secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-family: Taffy, sans-serif;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.3px;
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ================================================
   RESPONSIVE
   ================================================ */

/* Tablet (≤ 991px) */
@media screen and (max-width: 991px) {
  .shop-section {
    padding: 30px 6%;
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-detail {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 6%;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Checkout-Stack (≤ 900px) */
@media screen and (max-width: 900px) {
  .checkout-wrap {
    grid-template-columns: 1fr;
    padding: 0 5%;
    margin: 24px auto 50px;
    gap: 20px;
  }
  .order-summary {
    position: static;
  }
  .checkout-form-box {
    padding: 30px 24px;
    border-radius: 10px;
  }
}

/* Mobile (≤ 767px) */
@media screen and (max-width: 767px) {
  /* Allgemein */
  .shop-section {
    padding: 20px 4%;
  }
  .shop-heading {
    font-size: 26px;
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .shop-card-title {
    font-size: 16px;
  }
  .shop-card-body {
    padding: 14px 16px 20px;
  }
  .shop-card-price {
    font-size: 19px;
  }
  .shop-card-btn {
    padding: 9px 14px;
    font-size: 13px;
  }

  /* iOS-Zoom-Verhinderung: Inputs brauchen mind. 16px */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Event-Detailseite */
  .event-detail {
    padding: 18px 4%;
    gap: 20px;
  }
  .event-detail-desc {
    font-size: 15px;
  }

  /* Ticket-Stepper: Wrap auf sehr schmalen Screens */
  .ticket-cat-row {
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
  }
  .ticket-cat-info {
    flex: 1;
    min-width: 0;
  }
  /* Slider-Pfeile immer sichtbar auf Touch */
  .card-slider-arrow,
  .event-slider-arrow {
    opacity: 1;
  }
  .event-slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  /* Kassenseite */
  .checkout-wrap {
    padding: 0 3%;
    margin: 14px auto 36px;
    gap: 16px;
  }
  .checkout-form-box {
    padding: 22px 18px;
  }
  .order-summary {
    padding: 24px 22px;
  }
  .order-summary-event {
    font-size: 18px;
  }
  .order-summary-total {
    font-size: 20px;
  }
  .payment-step-header h2 {
    font-size: 20px;
  }

  /* Erfolgsseite */
  .success-box {
    margin: 20px 4%;
    padding: 30px 20px;
  }
  .success-box h1 {
    font-size: 26px;
  }

  /* Buchungsformular (Legacy) */
  .booking-form {
    margin: 20px 4%;
    padding: 28px 20px;
  }

  /* Admin */
  .admin-wrap {
    padding: 20px 4%;
  }
  .admin-nav {
    padding: 0 4%;
  }
  .admin-page-title {
    font-size: 20px;
  }
  .admin-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .admin-table th,
  .admin-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  .admin-form {
    padding: 25px 20px;
  }
  .admin-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  .login-box {
    margin: 40px 4%;
    padding: 35px 22px;
  }
  .admin-filter select {
    min-width: 100%;
  }
}

/* Kleine Smartphones (≤ 480px) */
@media screen and (max-width: 480px) {
  .shop-section {
    padding: 16px 4%;
  }
  .shop-card-body {
    padding: 12px 12px 16px;
  }
  .shop-card-title {
    font-size: 15px;
  }
  .shop-card-price {
    font-size: 17px;
  }
  .shop-card-btn {
    padding: 8px 10px;
    font-size: 12px;
  }

  /* Größere Touch-Targets für Stepper */
  .qty-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .qty-input {
    height: 50px !important;
    width: 48px !important;
    font-size: 19px !important;
  }

  /* Event-Detailseite */
  .event-detail {
    padding: 14px 4%;
    gap: 16px;
  }

  /* Kassenseite */
  .checkout-form-box {
    padding: 18px 14px;
  }
  .order-summary {
    padding: 20px 18px;
    border-radius: 10px;
  }
  .checkout-form-box h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .form-submit {
    font-size: 16px;
    padding: 15px;
  }

  /* Erfolgsseite */
  .success-box {
    margin: 16px 3%;
    padding: 26px 18px;
  }
  .success-box h1 {
    font-size: 23px;
  }
  .back-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
