/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-gold: #d4af37;
  --primary-gold-dark: #b8941f;
  --primary-gold-light: #e5c158;
  --dark-bg: #0f0f0f;
  --dark-secondary: #1a1a1a;
  --dark-tertiary: #252525;
  --text-light: #ffffff;
  --text-muted: #aaaaaa;
  --border-dark: #333333;
  --accent-red: #dc2626;
  --success-green: #10b981;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  position: relative;
  /* Max-Breite für die Website */
  max-width: 1470px;
  margin: 0 auto;
}

/* Global Light Rays & Lens Reflections */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 85% 85%, rgba(212, 175, 55, 0.1) 0%, transparent 30%);
  animation: moveGradient 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Lens Reflections - subtle bright spots */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle 150px at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 100%),
    radial-gradient(circle 80px at 85% 15%, rgba(212, 175, 55, 0.06) 0%, transparent 100%),
    radial-gradient(circle 200px at 50% 10%, rgba(212, 175, 55, 0.05) 0%, transparent 100%),
    radial-gradient(circle 120px at 25% 85%, rgba(212, 175, 55, 0.07) 0%, transparent 100%),
    radial-gradient(circle 90px at 90% 75%, rgba(212, 175, 55, 0.06) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

@keyframes moveGradient {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-40px, 50px);
  }
  50% {
    transform: translate(20px, 100px);
  }
  75% {
    transform: translate(-20px, 50px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Header */
header {
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(25, 25, 25, 0.98) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.3s ease-out;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
  max-height: 100%;
}

.logo-image {
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
  /* Logo sitzt über dem headerimg */
  position: relative;
  z-index: 2;
}

.logo:hover .logo-image {
  transform: scale(1.1);
}

.logo-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
}

.logo-text {
  display: none;
}

.header-text-img {
  max-height: 50px;
  width: auto;
  object-fit: cover;
  transition: all 0.3s ease;
  /* headerimg sitzt hinter dem Logo */
  position: relative;
  z-index: 1;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 12%,
    rgba(0, 0, 0, 1) 88%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 12%,
    rgba(0, 0, 0, 1) 88%,
    rgba(0, 0, 0, 0) 100%
  );
}

.logo:hover .header-text-img {
  transform: scale(1.05);
}

.logo-brand {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-gold);
  letter-spacing: 0.5px;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.logo:hover {
  transform: translateX(4px);
}

.logo:hover .logo-icon {
  animation: bounce 0.6s ease;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-icon {
  font-size: 1.1rem;
  display: inline-flex;
}

.nav-link:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-gold);
  transform: translateY(-2px);
}

.cta-header {
  padding: 0.7rem 1.6rem;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  color: var(--dark-bg);
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.95rem;
  border: 2px solid transparent;
  position: relative;
  z-index: 1001;
}

.cta-header:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.4);
  border-color: var(--primary-gold);
}

/* Hero Section */
.hero {
  background: #0f0f0f;
  padding: 0;
  position: relative;
  overflow: hidden;
  /* Feste Höhe für konsistente Button-Positionierung */
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero > * {
  position: relative;
  z-index: 3;
}

/* =====================================
   HERO IMAGE CONTAINER - Full Width
   ===================================== */

.hero-image-container {
  /* Bild respektiert die max-width der Website */
  width: 100%;
  max-width: 1470px;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  /* object-fit Optionen:
     - cover: Bild füllt Container (kann zuschneiden)
     - contain: Ganzes Bild sichtbar (kann Lücken haben)
     - fill: Dehnt Bild auf Container Größe
     - scale-down: Kleiner oder original Größe
  */
  object-fit: cover;
  /* object-position: Bild-Position justieren
     z.B. center, top, bottom, left, right, center top, etc.
  */
  object-position: center;
}

/* Desktop Bild - immer angezeigt */
.hero-image-desktop {
  display: block;
}

/* Mobile Bild - anfangs versteckt */
.hero-image-mobile {
  display: none;
}

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

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease-out 0.3s both;
  /* Buttons fest auf dem Hero positionieren */
  position: absolute;
  z-index: 10;
  
  /* ===== BUTTONS-POSITION FEST AUF DER HERO =====
     Die Buttons haben eine feste Pixel-Position 
     von oben innerhalb der Hero-Section
     - Wert erhöhen = Buttons gehen nach unten
     - Wert verringern = Buttons gehen nach oben
  */
  top: 500px;
  transform: translateX(-50%);
}

/* Desktop: Reihenfolge Shop → Termin → Kontakt */
.hero-btn-shop { order: 1; }
.hero-btn-termin { order: 2; }
.hero-btn-kontakt { order: 3; }

/* Termin-Button spezifisches Styling */
.hero-btn-termin {
  background: rgba(0, 0, 0, 0.7);
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
  position: relative;
  overflow: hidden;
  animation: terminPulse 3s ease-in-out infinite;
}

@keyframes terminPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 16px 4px rgba(212, 175, 55, 0.2); }
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  color: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold));
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.7);
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn-secondary:hover {
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.3);
}

.btn-secondary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Services Section */
.services {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 50%, var(--dark-bg) 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.services h2 {
  font-size: 2.8rem;
  margin-bottom: 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(135deg, rgba(37, 37, 37, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid var(--border-dark);
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-gold), transparent, var(--primary-gold-dark));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: 12px;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.2);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-gold);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 500;
}

/* Termin Section */
.termin-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.termin-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.12), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(26, 26, 26, 0.78), rgba(15, 15, 15, 0.3));
  pointer-events: none;
}

.termin-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* Termin Content Wrapper */
.termin-content-wrapper {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  background: linear-gradient(145deg, rgba(37, 37, 37, 0.82) 0%, rgba(26, 26, 26, 0.72) 100%);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  z-index: 1;
}

.termin-content-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28), transparent 22%, transparent 78%, rgba(212, 175, 55, 0.14));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.termin-content-wrapper:hover {
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Termin-Formular Styling */
.termin-content-wrapper p {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.termin-content-wrapper label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--border-dark);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
}

.termin-content-wrapper label:hover {
  border-color: var(--primary-gold);
  background: rgba(212, 175, 55, 0.05);
  transform: translateX(4px);
}

.termin-content-wrapper input[type="checkbox"],
.termin-content-wrapper input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-gold);
  cursor: pointer;
  flex-shrink: 0;
}

.termin-content-wrapper input[type="text"],
.termin-content-wrapper input[type="email"],
.termin-content-wrapper input[type="tel"],
.termin-content-wrapper input[type="date"],
.termin-content-wrapper select,
.termin-content-wrapper textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(37, 37, 37, 0.9);
  color: var(--text-light);
  border: 2px solid var(--border-dark);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
}

.termin-content-wrapper input[type="text"]:focus,
.termin-content-wrapper input[type="email"]:focus,
.termin-content-wrapper input[type="tel"]:focus,
.termin-content-wrapper select:focus,
.termin-content-wrapper textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.termin-content-wrapper select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Weiter-Button im Termin */
.termin-content-wrapper button[type="submit"],
.termin-content-wrapper .tableWeiter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  color: var(--dark-bg);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  font-family: inherit;
}

.termin-content-wrapper button[type="submit"]:hover,
.termin-content-wrapper .tableWeiter:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Tabellen im Termin (Kalender etc.) */
.termin-content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.termin-content-wrapper td,
.termin-content-wrapper th {
  padding: 0.75rem;
  text-align: center;
  color: var(--text-light);
  border: 1px solid var(--border-dark);
}

.termin-content-wrapper th {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-gold);
  font-weight: 700;
}

.termin-content-wrapper td a {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.termin-content-wrapper td a:hover {
  background: var(--primary-gold);
  color: var(--dark-bg);
}

/* ============ Formular-Felder (Tabellen-Ersatz) ============ */
.termin-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.termin-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.termin-field-label {
  display: block !important;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: none !important;
  cursor: default !important;
}

.termin-field-label:hover {
  transform: none !important;
  border-color: transparent !important;
}

.termin-field-input {
  width: 100%;
}

.termin-field-input input,
.termin-field-input select,
.termin-field-input textarea {
  width: 100%;
}

/* ============ Moderner Kalender ============ */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-dark);
}

.cal-range {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-gold);
  letter-spacing: 0.5px;
}

.cal-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.cal-nav-btn:hover:not(:disabled) {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.cal-nav-btn:disabled,
.cal-nav-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Tag-Tabs */
.cal-day-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.cal-day-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.75rem 1rem;
  min-width: 70px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--border-dark);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  flex: 1;
}

.cal-day-tab:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.05);
}

.cal-day-tab.cal-day-active {
  border-color: var(--primary-gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.cal-day-tab.cal-day-today {
  border-color: var(--success-green);
}

.cal-day-tab.cal-day-today.cal-day-active {
  border-color: var(--primary-gold);
}

.cal-day-tab.cal-day-past {
  opacity: 0.4;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(51, 51, 51, 0.5);
  cursor: not-allowed;
  pointer-events: none;
}

.cal-day-tab.cal-day-past .cal-day-name,
.cal-day-tab.cal-day-past .cal-day-date {
  color: var(--text-muted);
  text-decoration: line-through;
}

.cal-day-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-light);
}

.cal-day-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cal-day-badge {
  font-size: 0.65rem;
  background: var(--success-green);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Zeitslot-Panels */
.cal-slots-hidden {
  display: none !important;
}

.cal-time-group {
  margin-bottom: 1.5rem;
}

.cal-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cal-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
}

.cal-slot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid var(--border-dark);
  border-radius: 8px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cal-slot-btn:hover {
  border-color: var(--primary-gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.cal-no-slots {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
}

.cal-no-slots p {
  font-weight: 500 !important;
  font-size: 0.95rem !important;
}

@media (max-width: 768px) {
  .cal-day-tabs {
    gap: 0.35rem;
  }

  .cal-day-tab {
    min-width: 55px;
    padding: 0.6rem 0.5rem;
  }

  .cal-day-name {
    font-size: 0.85rem;
  }

  .cal-day-date {
    font-size: 0.7rem;
  }

  .cal-slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }

  .cal-slot-btn {
    padding: 0.55rem 0.4rem;
    font-size: 0.8rem;
  }

  .cal-header {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .cal-nav-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Termin Form Header (Zurück + Termin-Info) */
.termin-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-dark);
}

.termin-back-btn {
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  white-space: nowrap;
}

.termin-selected-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: right;
  flex: 1;
}

.termin-selected-info strong {
  color: var(--text-light);
  font-weight: 600;
}

@media (max-width: 768px) {
  .termin-form-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .termin-selected-info {
    text-align: center;
    font-size: 0.85rem;
  }
}

/* Toast-Notification */
.termin-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #dc2626;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.4);
  z-index: 10000;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  max-width: 90vw;
  text-align: center;
  pointer-events: none;
}

.termin-toast-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Loading & Error States */
.termin-loading {
  text-align: center;
  padding: 3rem 1rem;
}

.termin-loading p {
  color: var(--text-muted) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
}

.termin-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-dark);
  border-top-color: var(--primary-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.termin-error {
  text-align: center;
  padding: 2rem;
}

.termin-error p {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .termin-section h2 {
    font-size: 1.75rem;
  }

  .termin-content-wrapper {
    padding: 1.5rem;
  }

  .termin-content-wrapper label {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }
}

/* Shop Section */
.shop-section {
  background-color: var(--dark-bg);
  position: relative;
}

.shop-container {
  padding: 2rem;
  background-color: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.shop-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* PP3P Shop Container Fixes - Prevent hover effects overflow */
#rfh-main {
  overflow: hidden !important;
  position: relative;
  z-index: 1;
  width: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="200" height="200" fill="%231a1a1a"/><rect width="200" height="200" fill="url(%23grid)"/></svg>');
  background-size: 20px 20px;
  background-color: var(--dark-secondary);
  min-height: 600px;
}

#rfh-main * {
  font-family: inherit;
}

/* PP3P Button Overflow Prevention */
#rfh-main button,
#rfh-main a.btn,
#rfh-main .btn,
#rfh-main [role="button"],
#rfh-main input[type="button"],
#rfh-main input[type="submit"] {
  overflow: hidden !important;
  position: relative !important;
  max-width: 100%;
}

/* PP3P Menu/Modal Container - Keep on top */
#rfh-main .modal,
#rfh-main .dropdown,
#rfh-main .popover,
#rfh-main [class*="overlay"],
#rfh-main [class*="menu"],
#rfh-main [class*="tooltip"] {
  z-index: 100 !important;
}

.shop-header {
  background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
  border-bottom: 2px solid var(--primary-gold);
  padding: 2rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.shop-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.shop-header h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 0.25rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.shop-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
  font-weight: 500;
  line-height: 1.5;
}

footer {
  background: linear-gradient(180deg, var(--dark-tertiary) 0%, var(--dark-bg) 100%);
  border-top: 3px solid var(--primary-gold);
  padding: 4rem 2rem 2rem;
  margin-top: 5rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
  opacity: 0.5;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-gold);
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-section p {
  color: var(--text-muted);
  line-height: 2;
  font-weight: 500;
}

.footer-section a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  padding-left: 0;
}

.footer-section a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-gold);
  padding-left: 12px;
}

.footer-section a:hover::before {
  width: 8px;
}

/* Business Hours Styling */
.business-hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hour-item {
  display: flex;
  gap: 1rem;
}

.hour-item .day {
  min-width: 45px;
  font-weight: 600;
  color: var(--text-light);
}

.hour-item .time {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  margin-top: 2rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Contact Section */
.contact {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(37, 37, 37, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
  color: var(--text-light);
  border: 2px solid var(--border-dark);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  background: linear-gradient(135deg, rgba(37, 37, 37, 1) 0%, rgba(26, 26, 26, 1) 100%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25), inset 0 0 10px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

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

/* Contact Links - Email & Phone */
.contact-wrapper a[href^="mailto:"],
.contact-wrapper a[href^="tel:"] {
  transition: all 0.3s ease;
}

.contact-wrapper a[href^="mailto:"]:hover,
.contact-wrapper a[href^="tel:"]:hover {
  color: var(--primary-gold-light) !important;
  transform: translateX(4px);
}

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  color: var(--dark-bg);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold));
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(212, 175, 55, 0.4);
}

.submit-btn:hover::before {
  left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0.75rem 1rem;
    gap: 1rem;
  }

  .logo-brand {
    font-size: 1.1rem;
  }

  .logo-tagline {
    font-size: 0.65rem;
  }

  .nav-menu {
    gap: 0;
    flex: 1;
  }

  .nav-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .nav-icon {
    font-size: 1rem;
  }

  .cta-header {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    /* Mobile: Button nach links schieben und über headerimg */
    margin-left: -150px;
    z-index: 1002;
  }

  /* Mobile: Header-Bild nach links verschieben */
  .header-text-img {
    margin-left: -50px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  /* Mobile: Höhere Hero um das hochformat-Bild anzuzeigen */
  .hero {
    height: 800px;
  }

  /* Mobile: Desktop-Bild verstecken */
  .hero-image-desktop {
    display: none;
  }

  /* Mobile: Hochformat-Bild anzeigen */
  .hero-image-mobile {
    display: block;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Mobile: Reihenfolge Shop → Termin → Kontakt */
  .hero-btn-shop { order: 1; }
  .hero-btn-termin { order: 2; }
  .hero-btn-kontakt { order: 3; }

  .btn {
    width: 100%;
  }

  /* Mobile: Termin-Section kompakter */
  .termin-section {
    padding: 3rem 1rem;
  }

  .termin-content-wrapper {
    padding: 1.25rem;
    border-radius: 10px;
  }

  .termin-content-wrapper p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .termin-content-wrapper label {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .termin-content-wrapper input[type="checkbox"],
  .termin-content-wrapper input[type="radio"] {
    width: 18px;
    height: 18px;
  }

  .termin-content-wrapper input[type="text"],
  .termin-content-wrapper input[type="email"],
  .termin-content-wrapper input[type="tel"],
  .termin-content-wrapper input[type="date"],
  .termin-content-wrapper select,
  .termin-content-wrapper textarea {
    padding: 0.7rem 0.85rem;
    font-size: 16px; /* Verhindert iOS Auto-Zoom */
    margin-bottom: 0.5rem;
  }

  .termin-content-wrapper button[type="submit"],
  .termin-content-wrapper .tableWeiter {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Mobile: Tabellen in Formularen vertikal darstellen */
  .termin-content-wrapper table {
    display: block;
    width: 100%;
    border: none;
  }

  .termin-content-wrapper table tbody {
    display: block;
  }

  .termin-content-wrapper table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
    border: none;
  }

  .termin-content-wrapper table td,
  .termin-content-wrapper table th {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    padding: 0.3rem 0;
  }

  .termin-content-wrapper table th {
    background: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.2rem;
  }

  .termin-content-wrapper table td {
    padding: 0;
  }

  .termin-content-wrapper table td input,
  .termin-content-wrapper table td select,
  .termin-content-wrapper table td textarea {
    width: 100%;
  }

  /* Mobile Kalender-Optimierungen */
  .cal-header {
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
  }

  .cal-range {
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
    order: -1;
    margin-bottom: 0.5rem;
  }

  .cal-day-tabs {
    gap: 0.3rem;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .cal-day-tab {
    min-width: 52px;
    padding: 0.5rem 0.35rem;
    border-radius: 8px;
  }

  .cal-time-group {
    margin-bottom: 1rem;
  }

  .cal-group-title {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .cal-slot-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }

  .cal-slot-btn {
    padding: 0.5rem 0.3rem;
    font-size: 0.78rem;
    border-radius: 6px;
  }

  .services h2 {
    font-size: 1.75rem;
  }

  .shop-header {
    padding: 1.5rem;
  }

  .shop-header h1 {
    font-size: 1.6rem;
  }

  .shop-header p {
    font-size: 0.9rem;
  }

  .shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .shop-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-direction: column;
  }

  .filter-group input,
  .filter-group select {
    width: 100%;
  }

  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .modal-content {
    width: 95%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.6rem 0.75rem;
    gap: 0.75rem;
  }

  .logo-icon {
    font-size: 1.6rem;
  }

  .logo-brand {
    font-size: 1rem;
  }

  .logo-text {
    gap: -2px;
  }

  .logo-tagline {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .cta-header {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .shop-header {
    padding: 1rem;
  }

  .shop-header h1 {
    font-size: 1.4rem;
  }

  .shop-header p {
    font-size: 0.85rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    padding: 0.75rem;
  }

  .submit-btn {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

.slide-in {
  animation: slideIn 0.5s ease-out;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 50%, var(--dark-bg) 100%);
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.how-it-works h2 {
  font-size: 2.8rem;
  margin-bottom: 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background: linear-gradient(135deg, rgba(37, 37, 37, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid var(--border-dark);
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.step-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-gold), transparent, var(--primary-gold-dark));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: 12px;
  pointer-events: none;
}

.step-card:hover::before {
  opacity: 1;
}

.step-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.2);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  color: var(--dark-bg);
  font-size: 2.5rem;
  font-weight: 900;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  transition: transform 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1);
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-gold);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.step-card p {
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 500;
}

/* Legal Content Pages */
.legal-content {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.legal-text {
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 500;
}

.legal-text h2 {
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.legal-text h3 {
  font-size: 1.3rem;
  color: var(--primary-gold-light);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.legal-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-text ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-text li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.legal-text strong {
  color: var(--text-light);
  font-weight: 700;
}

/* Utilities */
.hidden {
  display: none;
}

/* Responsive adjustments for how-it-works */
@media (max-width: 768px) {
  .how-it-works h2 {
    font-size: 1.75rem;
  }

  .steps-grid {
    gap: 1.5rem;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .step-card h3 {
    font-size: 1.1rem;
  }

  .step-card p {
    font-size: 0.9rem;
  }

  .legal-content {
    padding: 2rem 1rem;
  }

  .legal-content h1 {
    font-size: 1.75rem;
  }

  .legal-text h2 {
    font-size: 1.3rem;
  }

  .legal-text h3 {
    font-size: 1rem;
  }
}

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

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}




/* =========================
   Мобильная адоптация
   ========================= */
@media (max-width: 768px) {
  /* Общие отступы и контейнеры */
  body {
    max-width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  header {
    position: sticky;
    top: 0;
  }

  .header-container {
    padding: 0.5rem 1rem;
    gap: 1rem;
  }

  /* Лого и текст в шапке */
  .logo-image {
    width: 40px;
    height: 40px;
  }

  .header-text-img {
    max-height: 36px;
  }

  /* Навигация: более компактная, перенос по строкам */
  .nav-menu {
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .cta-header {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  /* HERO: высота и кнопки */
  .hero {
    height: auto;
    min-height: 480px;
    padding: 4rem 1rem 3rem;
    align-items: flex-end;
  }

  .hero-image-container {
    height: 100%;
  }

  /* Показываем мобильное изображение, скрываем десктопное */
  .hero-image-desktop {
    display: none;
  }

  .hero-image-mobile {
    display: block;
  }

  .hero-cta {
    position: relative;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-top: auto;
    padding-top: 1.5rem;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* Можно поменять порядок кнопок на мобильном, если нужно */
  .hero-btn-shop { order: 2; }
  .hero-btn-termin { order: 1; }
  .hero-btn-kontakt { order: 3; }

  /* Services / Termin / Contact секции — меньше отступы */
  .services,
  .termin-section,
  .contact {
    padding: 3rem 1.25rem;
  }

  .services h2,
  .termin-section h2 {
    font-size: 1.9rem;
    margin-bottom: 2.5rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  /* Termin-Formular уже частично адаптирован, чуть ужмём */
  .termin-content-wrapper {
    padding: 1.5rem 1.25rem;
  }

  .termin-content-wrapper p {
    font-size: 1rem;
  }

  /* Shop-Header и контейнер */
  .shop-header {
    padding: 1.5rem 1.25rem;
  }

  .shop-header h1 {
    font-size: 1.4rem;
  }

  .shop-header p {
    font-size: 0.9rem;
  }

  .shop-container {
    padding: 1.5rem 1rem;
  }

  /* Footer: одна колонка */
  footer {
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

/* Очень маленькие экраны (старые телефоны) */
@media (max-width: 480px) {
  .hero {
    min-height: 420px;
    padding: 3.5rem 1rem 2.5rem;
  }

  .hero-cta {
    max-width: 320px;
  }

  .nav-menu {
    justify-content: center;
  }

  .cta-header {
    align-self: stretch;
    text-align: center;
  }
}



/* =========================
   MOBILE HERO FIX — FINAL
   ========================= */
@media (max-width: 768px) {

  /* Убираем фиксированную высоту hero */
  .hero {
    height: auto !important;
    min-height: 420px;
    padding-bottom: 2rem;
    display: flex;
    align-items: flex-end;
  }

  /* Показываем мобильное изображение */
  .hero-image-desktop {
    display: none !important;
  }

  .hero-image-mobile {
    display: block !important;
  }

  /* Контейнер кнопок */
  .hero-cta {
    position: relative !important;     /* убираем absolute */
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    width: 100%;
    max-width: 340px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
    z-index: 10;
  }

  /* Кнопки */
  .hero-cta .btn {
    width: 100% !important;
    max-width: 300px !important;
    padding: 0.85rem 1rem !important;
    font-size: 1rem !important;
    text-align: center;
  }

  /* Чтобы порядок был логичным */
  .hero-btn-shop { order: 1; }
  .hero-btn-termin { order: 2; }
  .hero-btn-kontakt { order: 3; }
}


/* =========================
   MOBILE FIX — функциональные секции
   ========================= */
@media (max-width: 768px) {

  /* Центрируем заголовок */
  .how-it-works h2 {
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 2rem;
  }

  /* Сетка шагов — в одну колонку */
  .steps-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Карточки — по центру */
  .step-card {
    width: 100%;
    max-width: 360px;
    text-align: center;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    /* ВАЖНО — отключаем оформление ссылки */
    text-decoration: none !important;
    color: inherit !important;
    display: block;
  }
  
  .step-card * {
  text-decoration: none !important;
  }
  

  /* Номер шага — по центру */
  .step-number {
    margin: 0 auto 0.75rem auto;
  }
}

/* =========================
   SHOP HEADER CENTER FIX
   ========================= */
.shop-header .container {
  text-align: center;
}

.shop-header h1 {
  display: inline-block;
  text-align: center;
  line-height: 1.3;
}

.shop-header p {
  text-align: center;
}

/* Убираем подчёркивание у кликабельных карточек */
.step-card,
.step-card *,
.step-card:visited,
.step-card:active,
.step-card:hover {
  text-decoration: none !important;
  color: inherit !important;
}

/* Делаем внутренние элементы блочными, чтобы underline не мог появиться */
.step-card .step-number,
.step-card h3,
.step-card p {
  display: block;
}

/* Стиль календаря */
.termin-month-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.termin-month-calendar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.month-header {
  text-align: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.month-header p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.month-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.month-overview-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.month-overview-value {
  color: var(--primary-gold);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
}

.month-overview-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.month-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.month-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.month-legend-swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 4px;
  border: 1px solid var(--border-dark);
}

.month-legend-available {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06));
  border-color: rgba(212, 175, 55, 0.35);
}

.month-legend-selected {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--primary-gold);
}

.month-legend-today {
  background: rgba(16, 185, 129, 0.16);
  border-color: var(--success-green);
}

.month-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.month-grid-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.month-cell {
  min-height: 116px;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  font-size: 0.9rem;
  position: relative;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
  text-align: left;
  padding: 0.85rem 0.75rem 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.month-cell-empty {
  background: transparent;
  border: none;
  min-height: 116px;
  pointer-events: none;
}

.month-cell .day-number {
  position: absolute;
  top: 0.7rem;
  left: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
}

.month-cell .day-name {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.month-cell .day-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}

.month-cell-available {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.13), rgba(212, 175, 55, 0.04));
  border-color: rgba(212, 175, 55, 0.35);
}

.month-cell-available:hover {
  transform: translateY(-2px);
  border-color: var(--primary-gold);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.14);
}

.month-cell-unavailable {
  background: rgba(255, 255, 255, 0.02);
}

.month-cell-unavailable:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.month-cell-today {
  border-color: var(--success-green);
}

.month-cell-selected {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.55), 0 14px 32px rgba(212, 175, 55, 0.16);
}

.month-cell-past {
  opacity: 0.5;
}

.termin-month-slots {
  position: sticky;
  top: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.slots-header {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.slots-header h4 {
  margin: 0;
  font-size: 1.2rem;
}

.slots-label {
  margin: 0 0 0.3rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.month-status-pill {
  display: inline-flex;
  margin-top: 0.8rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--primary-gold);
  font-size: 0.78rem;
  font-weight: 700;
}

.month-status-pill-muted {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.slots-list {
  min-height: 80px;
}

.slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.slot-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #1976d2;
  background: #fff;
  color: #1976d2;
  font-size: 0.85rem;
  cursor: pointer;
}

.slot-btn:hover {
  background: #1976d2;
  color: #fff;
}

@media (max-width: 980px) {
  .termin-month-layout {
    grid-template-columns: 1fr;
  }

  .termin-month-slots {
    position: static;
  }
}

@media (max-width: 768px) {
  .termin-content-wrapper {
    padding: 1.1rem;
    border-radius: 18px;
  }

  .termin-month-calendar,
  .termin-month-slots {
    padding: 1rem;
    border-radius: 14px;
  }

  .month-overview {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .month-legend {
    gap: 0.55rem 0.85rem;
  }

  .month-header {
    width: 100%;
    order: -1;
    margin-bottom: 0;
  }

  .month-grid-header {
    gap: 0.35rem;
    font-size: 0.72rem;
  }

  .month-grid-body {
    gap: 0.35rem;
  }

  .month-cell,
  .month-cell-empty {
    min-height: 92px;
  }

  .month-cell {
    padding: 0.7rem 0.55rem 0.55rem;
  }

  .month-cell .day-number {
    top: 0.55rem;
    left: 0.55rem;
    font-size: 0.92rem;
  }

  .month-cell .day-name {
    font-size: 0.68rem;
  }

  .month-cell .day-meta {
    font-size: 0.72rem;
  }

  .cal-header {
    align-items: stretch;
    justify-content: center;
    gap: 0.7rem;
  }

  .cal-nav-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0.7rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 560px) {
  .termin-section {
    padding: 2.6rem 0.75rem;
  }

  .termin-section h2 {
    font-size: 1.7rem;
    margin-bottom: 0.85rem;
  }

  .termin-content-wrapper {
    padding: 0.85rem;
    border-radius: 16px;
  }

  .termin-month-layout {
    gap: 1rem;
  }

  .termin-month-calendar,
  .termin-month-slots {
    padding: 0.85rem;
    border-radius: 12px;
  }

  .cal-header {
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
  }

  .cal-range {
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  .month-header p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .month-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .month-overview-card:last-child {
    grid-column: 1 / -1;
  }

  .month-overview-card {
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
  }

  .month-overview-value {
    font-size: 1rem;
  }

  .month-overview-label {
    font-size: 0.72rem;
  }

  .month-legend {
    gap: 0.45rem 0.75rem;
    margin-bottom: 0.75rem;
  }

  .month-legend-item {
    font-size: 0.72rem;
  }

  .month-grid-header {
    gap: 0.22rem;
    font-size: 0.63rem;
    margin-bottom: 0.4rem;
  }

  .month-grid-body {
    gap: 0.22rem;
  }

  .month-cell,
  .month-cell-empty {
    min-height: 74px;
    border-radius: 10px;
  }

  .month-cell {
    padding: 1.5rem 0.3rem 0.35rem;
    gap: 0.15rem;
  }

  .month-cell .day-number {
    top: 0.38rem;
    left: 0.4rem;
    font-size: 0.82rem;
  }

  .month-cell .day-name {
    display: none;
  }

  .month-cell .day-meta {
    font-size: 0.62rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .slots-header {
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
  }

  .slots-header h4 {
    font-size: 1.05rem;
  }

  .slots-label {
    font-size: 0.74rem;
  }

  .month-status-pill {
    margin-top: 0.6rem;
    font-size: 0.7rem;
  }

  .cal-group-title {
    font-size: 0.86rem;
    margin-bottom: 0.55rem;
  }

  .cal-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .cal-slot-btn {
    min-height: 42px;
    padding: 0.55rem 0.4rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 390px) {
  .termin-section {
    padding: 2.3rem 0.55rem;
  }

  .termin-content-wrapper {
    padding: 0.75rem;
  }

  .month-overview {
    grid-template-columns: 1fr;
  }

  .month-overview-card:last-child {
    grid-column: auto;
  }

  .month-grid-header {
    font-size: 0.58rem;
  }

  .month-cell,
  .month-cell-empty {
    min-height: 68px;
  }

  .month-cell {
    padding: 1.4rem 0.22rem 0.28rem;
  }

  .month-cell .day-number {
    left: 0.32rem;
    font-size: 0.76rem;
  }

  .month-cell .day-meta {
    font-size: 0.56rem;
  }

  .cal-nav-btn {
    padding: 0.65rem 0.55rem;
    font-size: 0.74rem;
  }
}




/* Оплата в магазине */
/* ====== BACKDROP ====== */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  backdrop-filter: blur(3px);
}

/* ====== MODAL WINDOW ====== */
.payment-modal-content {
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  width: 92%;
  max-width: 420px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  animation: fadeIn 0.25s ease-out;
  text-align: left;
  font-family: system-ui, sans-serif;
}

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

/* ====== HEADERS ====== */
.payment-modal-content h2 {
  margin-top: 0;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  text-align: center;
}

.payment-modal-content h3 {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

/* ====== RADIO OPTIONS ====== */
.payment-options {
  margin: 20px 0;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 17px;
}

.pay-option:hover {
  border-color: #0077cc;
  background: #f0f7ff;
}

.pay-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #0077cc;
}

/* ====== INPUT FIELDS ====== */
.payment-modal-content input[type="text"],
.payment-modal-content input[type="email"],
.payment-modal-content input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 16px;
  transition: 0.2s;
}

.payment-modal-content input:focus {
  border-color: #0077cc;
  box-shadow: 0 0 0 2px rgba(0,119,204,0.2);
  outline: none;
}

/* ====== BUTTONS (УНИКАЛЬНЫЕ!) ====== */
.payment-btn {
  width: 100%;
  background: #0077cc;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 10px;
}

.payment-btn:hover {
  background: #005fa3;
}

.payment-btn:active {
  transform: scale(0.98);
}

/* ====== BANK INFO BLOCK ====== */
.bank-info {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 8px;
  margin: 15px 0;
  text-align: left;
  border-left: 4px solid #0077cc;
}



/* Делает текст в модалке чёрным */
.payment-modal-content,
.payment-modal-content p,
.payment-modal-content h2,
.payment-modal-content strong,
.payment-modal-content div {
  color: #000 !important;
}


/* Финальная модалка */
.final-modal {
  padding: 30px;
  border-top: 6px solid #005bbb;
}

.final-icon {
  font-size: 48px;
  color: #005bbb;
  margin-bottom: 10px;
  font-weight: bold;
}

.btn-final-ok {
  background: #005bbb;
  color: #fff !important;
  padding: 14px;
  border-radius: 8px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: 0.2s;
}

.btn-final-ok:hover {
  background: #004999;
}

/* модалка оплаты и отправки */
.option-card {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 8px 0;
    cursor: pointer;
    background: #fafafa;
    transition: 0.2s;
}

.option-card:hover {
    background: #e8f0ff;
}

.option-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.back-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* настройка услуг в 2 колонки*/
/* ===== Leistungen: Mobile = 1 Spalte ===== */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== Leistungen: Desktop = 2 Spalten ===== */
@media (min-width: 769px) {
    .checkbox-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 20px; /* вертикальный / горизонтальный отступ */
        align-items: start;
    }

    .checkbox-group > div {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}
