/*
Theme Name: Eternity Nail Spa
Theme URI: https://eternity-nail.de
Author: Eternity Nail Spa Beauty
Description: Premium Liquid Glass — Multi-Page Application v3.0
Version: 3.0
License: Private
Text Domain: eternity-nail
*/

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1.1rem; line-height: 1.8;
  background: #FAFAF7; color: #1A1A1A;
  overflow-x: hidden;
}
:root {
  --gold:      #C9A84C;
  --gold-lt:   #E2C97E;
  --gold-dk:   #9A7A2E;
  --gold-pale: #FAF3E0;
  --ivory:     #FAFAF7;
  --charcoal:  #1A1A1A;
  --mid:       #555555;
  --glass-bg:     rgba(255,255,255,0.18);
  --glass-border: rgba(255,255,255,0.35);
  --glass-shadow: rgba(0,0,0,0.18);
  --glass-dark-bg:    rgba(20,20,20,0.55);
  --glass-dark-border:rgba(201,168,76,0.28);
}
img { max-width:100%; display:block; }
a   { text-decoration:none; color:inherit; }
button { font-family: inherit; cursor:pointer; }
ul { list-style:none; padding:0; margin:0; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; }

/* ═══════════════════════════════════════════════
   LIQUID GLASS COMPONENTS
═══════════════════════════════════════════════ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow),
              inset 0 1px 0 rgba(255,255,255,0.6),
              inset 0 -1px 0 rgba(255,255,255,0.1);
}
.glass-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-dark-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4),
              inset 0 1px 0 rgba(201,168,76,0.2),
              inset 0 -1px 0 rgba(0,0,0,0.2);
}
.glass-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07),
              inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.4s ease;
}
#navbar.scrolled {
  background: rgba(20,20,20,0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  box-shadow: 0 4px 40px rgba(0,0,0,0.3);
  padding: 0.9rem 0;
}
.nav-link {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.82);
  position: relative; padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-link::after {
  content:''; position:absolute; bottom:0; left:0; right:0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.35s ease;
}
.nav-link:hover { color: var(--gold-lt); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--gold-lt); }

/* ═══════════════════════════════════════════════
   INNER PAGE HERO (Über uns, Services, etc.)
═══════════════════════════════════════════════ */
.inner-hero {
  background: linear-gradient(160deg, #0c0c0c 0%, #191919 60%, #0e0e0e 100%);
  padding: 10rem 0 5rem;
  position: relative; overflow: hidden;
}
.inner-hero::before {
  content:''; position:absolute; inset:0; opacity:0.05;
  background-image:
    radial-gradient(circle at 20% 20%, #C9A84C 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, #C9A84C 1px, transparent 1px);
  background-size: 72px 72px, 96px 96px;
}
.inner-hero-inner {
  max-width:56rem; margin:0 auto; padding:0 1.5rem; position:relative; z-index:2; text-align:center;
}
.inner-hero-eyebrow {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.inner-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400; line-height: 1.05; color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.inner-hero h1 em { font-style: italic; color: var(--gold-lt); }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width:14px; height:14px; color: rgba(255,255,255,0.25); }

/* ═══════════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════════ */
#mobile-menu {
  display: none; position:fixed; inset:0; z-index:999;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
#mobile-menu.open { display: flex; }
.mobile-nav-link {
  font-family: "Playfair Display", serif;
  font-size: 2rem; font-weight: 400; font-style: italic;
  color: rgba(255,255,255,0.88); letter-spacing: 0.05em;
  transition: color 0.3s;
}
.mobile-nav-link:hover { color: var(--gold-lt); }

/* ═══════════════════════════════════════════════
   HERO (homepage)
═══════════════════════════════════════════════ */
.hero-section {
  position:relative; height:100vh; min-height:680px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.hero-bg {
  position:absolute; inset:0;
  background: linear-gradient(160deg, #0c0c0c 0%, #191919 45%, #0e0e0e 100%);
}
.hero-pattern {
  position:absolute; inset:0; opacity:0.06;
  background-image:
    radial-gradient(circle at 20% 20%, #C9A84C 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, #C9A84C 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, #C9A84C 0.5px, transparent 0.5px);
  background-size: 72px 72px, 96px 96px, 36px 36px;
}
.hero-glow {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:800px; height:800px; border-radius:50%; pointer-events:none;
  background: radial-gradient(circle, rgba(201,168,76,0.11) 0%, transparent 68%);
}
.hero-content { position:relative; z-index:2; text-align:center; padding:0 1.5rem; }
.hero-eyebrow {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold);
  opacity:0; transform: translateY(18px);
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(3.2rem, 8.5vw, 7.5rem);
  font-weight: 400; line-height: 1.0; color: #fff;
  opacity:0; transform: translateY(24px);
  animation: fadeUp 0.9s 0.55s ease forwards;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.hero-title em { font-style: italic; color: var(--gold-lt); }
.hero-subtitle {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.88rem; font-weight: 300; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  opacity:0; transform: translateY(18px);
  animation: fadeUp 0.8s 0.75s ease forwards;
}
.hero-cta { opacity:0; transform:translateY(18px); animation: fadeUp 0.8s 0.95s ease forwards; }

/* Buttons */
.btn-glass-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(201,168,76,0.15);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(201,168,76,0.55);
  color: var(--gold-lt);
  padding: 1rem 2.4rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(201,168,76,0.18), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.35s ease; position:relative; overflow:hidden;
}
.btn-glass-gold:hover {
  background: var(--gold); color: #1a1a1a;
  border-color: var(--gold);
  box-shadow: 0 6px 28px rgba(201,168,76,0.45);
  transform: translateY(-2px);
}
.btn-gold-solid {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold-lt));
  color: #fff;
  padding: 1.05rem 2.6rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(201,168,76,0.38);
  transition: all 0.3s ease;
}
.btn-gold-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201,168,76,0.55);
  color: #fff;
}
.btn-outline-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--gold);
  padding: 1rem 2.4rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1.5px solid var(--gold);
  transition: all 0.3s ease; position:relative; overflow:hidden;
}
.btn-outline-gold::before {
  content:''; position:absolute; inset:0;
  background: var(--gold); transform: translateX(-101%);
  transition: transform 0.35s ease; z-index:-1;
}
.btn-outline-gold:hover { color: #1a1a1a; }
.btn-outline-gold:hover::before { transform: translateX(0); }

/* Scroll indicator */
.hero-scroll {
  position:absolute; bottom:2.5rem; left:50%; transform:translateX(-50%);
  z-index:2; display:flex; flex-direction:column; align-items:center; gap:6px;
  opacity:0; animation: fadeIn 1s 1.4s ease forwards;
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
.scroll-text {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.38);
}

/* ═══════════════════════════════════════════════
   SECTION HEADINGS
═══════════════════════════════════════════════ */
.section-tag {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 14px; justify-content: center;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 500; line-height: 1.1; color: var(--charcoal);
}
.section-title em { font-style: italic; color: var(--gold-dk); }
.section-title.light { color: #fff; }
.section-title.light em { color: var(--gold-lt); }
.gold-line {
  display:inline-block; width:56px; height:1.5px;
  background: linear-gradient(90deg,transparent,var(--gold),transparent);
}
.gold-line-full {
  width:100%; height:1px;
  background: linear-gradient(90deg,transparent,var(--gold) 40%,var(--gold) 60%,transparent);
}
.text-body     { font-size: 1.1rem; line-height: 1.82; }
.text-body-lg  { font-size: 1.18rem; line-height: 1.85; }

/* ═══════════════════════════════════════════════
   SERVICE CARDS
═══════════════════════════════════════════════ */
.service-card {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow: 0 4px 28px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,1);
  position:relative; overflow:hidden;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.service-card::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg,var(--gold-dk),var(--gold-lt),var(--gold-dk));
  transform: scaleX(0); transform-origin: center; transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-9px); box-shadow: 0 24px 60px rgba(0,0,0,0.13); }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .svc-icon { transform: scale(1.1) rotate(-4deg); }
.svc-icon { font-size: 2.8rem; transition: transform 0.4s ease; display: inline-block; }
.service-card-dark {
  background: rgba(20,20,20,0.62);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201,168,76,0.18);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(201,168,76,0.1);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.service-card-dark:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(201,168,76,0.14);
}

/* ═══════════════════════════════════════════════
   PRICE ITEMS
═══════════════════════════════════════════════ */
.price-item {
  display:flex; justify-content:space-between; align-items:baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: padding-left 0.3s ease;
  font-size: 1rem;
}
.price-item:hover { padding-left: 10px; }
.price-item:last-child { border-bottom:none; }

/* ═══════════════════════════════════════════════
   BOOKING SECTION
═══════════════════════════════════════════════ */
#booking-section {
  background: linear-gradient(140deg, #0d0d0d 0%, #1a1a1a 50%, #111 100%);
  position: relative; overflow: hidden;
}
#booking-section::before {
  content:''; position:absolute; inset:0; opacity:0.05;
  background-image: radial-gradient(circle, #C9A84C 1px, transparent 1px);
  background-size: 44px 44px;
}
.booking-glow {
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:800px; height:500px; pointer-events:none;
  background: radial-gradient(ellipse, rgba(201,168,76,0.1) 0%, transparent 70%);
}
.booking-form-wrap {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(28px) saturate(1.5); -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(201,168,76,0.4);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}
.ff-group { margin-bottom: 1.5rem; }
.ff-label {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(201,168,76,0.8);
  margin-bottom: 0.55rem;
}
.ff-input {
  width: 100%; background: rgba(255,255,255,0.07); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-family: "Source Sans 3", sans-serif; font-size: 1rem; font-weight: 400;
  color: #fff; letter-spacing: 0.02em; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  -webkit-appearance: none;
}
.ff-input::placeholder { color: rgba(255,255,255,0.28); }
.ff-input:focus {
  border-color: rgba(201,168,76,0.65); background: rgba(255,255,255,0.11);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.ff-input option { background: #1a1a1a; color: #fff; }
.btn-booking-submit {
  width: 100%; padding: 1.15rem 2rem;
  background: linear-gradient(135deg, var(--gold-dk), #D4AA4E, var(--gold-lt));
  color: #fff;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: none; border-radius: 10px;
  box-shadow: 0 6px 28px rgba(201,168,76,0.38), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: all 0.35s ease; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-booking-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.55);
}

/* CF7 styling */
#booking-section .wpcf7-form input,
#booking-section .wpcf7-form select,
#booking-section .wpcf7-form textarea {
  width: 100%; background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 8px !important; padding: 0.85rem 1.1rem !important;
  font-family: "Source Sans 3", sans-serif !important;
  font-size: 1rem !important; color: #fff !important; outline: none !important;
  transition: border-color 0.3s, box-shadow 0.3s !important;
}
#booking-section .wpcf7-form input:focus,
#booking-section .wpcf7-form select:focus,
#booking-section .wpcf7-form textarea:focus {
  border-color: rgba(201,168,76,0.65) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12) !important;
}
#booking-section .wpcf7-form input[type="submit"],
#booking-section .wpcf7-form .wpcf7-submit {
  background: linear-gradient(135deg,var(--gold-dk),var(--gold-lt)) !important;
  color: #fff !important; font-weight: 700 !important;
  letter-spacing: 0.14em !important; text-transform: uppercase !important;
  border: none !important; border-radius: 10px !important;
  padding: 1.1rem 2rem !important; cursor: pointer !important;
  box-shadow: 0 6px 28px rgba(201,168,76,0.38) !important;
  transition: all 0.3s !important;
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════ */
.testi-card {
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,1);
  padding: 2.4rem; position:relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.11); }
.testi-card::before {
  content:'"'; position:absolute; top:14px; left:22px;
  font-family: "Playfair Display", serif; font-size:90px;
  color: var(--gold); opacity:0.12; line-height:1;
}
.testi-text { font-size: 1.05rem; line-height: 1.82; color: var(--mid); font-style: italic; }
.stars { color: var(--gold); letter-spacing: 4px; font-size: 1rem; }

/* ═══════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════ */
.gallery-item { overflow:hidden; position:relative; cursor:pointer; }
.gallery-item::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.62) 100%);
  opacity:0; transition: opacity 0.4s;
  pointer-events: none;
}
.gallery-item:hover::after { opacity:1; }
.gallery-bg {
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:hover .gallery-bg { transform: scale(1.06); }
/* Video blocks — eigenständig, keine gallery-item Effekte */
.gallery-video-block {
  background: #000;
  border-radius: 0;
  position: relative;
  overflow: visible;
}
.gallery-video-block video {
  width: 100%;
  display: block;
  max-height: 420px;
  background: #000;
  cursor: default;
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact-glass {
  background: rgba(20,20,20,0.55);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(201,168,76,0.22);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4), inset 0 1px 0 rgba(201,168,76,0.15);
}

/* ═══════════════════════════════════════════════
   OPENING HOURS BAR
═══════════════════════════════════════════════ */
.hours-bar {
  background: rgba(250,243,224,0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

/* ═══════════════════════════════════════════════
   FLOATING BUTTONS
═══════════════════════════════════════════════ */
.float-btn {
  position:fixed; z-index:800;
  width:54px; height:54px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor:pointer; border:none;
}
.float-btn:hover { transform: scale(1.12); }
#btn-top {
  bottom:2rem; right:1.6rem;
  background: rgba(26,26,26,0.75); backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.4);
  opacity:0; pointer-events:none; transition: opacity 0.4s, transform 0.3s;
}
#btn-top.visible { opacity:1; pointer-events:all; }
#btn-book {
  bottom:2rem; left:1.6rem;
  background: linear-gradient(135deg,var(--gold-dk),var(--gold-lt));
  box-shadow: 0 6px 28px rgba(201,168,76,0.45);
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer-link {
  font-size: 0.92rem; color: rgba(255,255,255,0.45); letter-spacing: 0.04em;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--gold-lt); }

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════ */
[data-anim] { opacity:0; transition: opacity 0.75s ease, transform 0.75s ease; }
[data-anim="fade-up"]    { transform: translateY(36px); }
[data-anim="fade-left"]  { transform: translateX(-36px); }
[data-anim="fade-right"] { transform: translateX(36px); }
[data-anim="fade-in"]    { transform: none; }
[data-anim="zoom-in"]    { transform: scale(0.93); }
[data-anim].visible { opacity:1; transform: none !important; }

/* ═══════════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════════ */
@keyframes fadeUp   { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn   { from{opacity:0} to{opacity:1} }
@keyframes scrollPulse { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.12)} }
@keyframes spinSlow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.spin-slow { animation: spinSlow 22s linear infinite; }
.spin-slow-r { animation: spinSlow 16s linear infinite reverse; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  html { font-size: 16px; }
  .hero-title { font-size: clamp(2.8rem, 12.5vw, 5rem); }
  .section-title { font-size: clamp(1.9rem, 7.5vw, 3rem); }
  .text-body { font-size: 1rem; }
  .btn-gold-solid, .btn-glass-gold, .btn-outline-gold { padding: 0.9rem 1.8rem; }
  .btn-booking-submit { font-size: 0.95rem; padding: 1rem 1.4rem; }
  .testi-card { padding: 1.8rem; }
  .booking-form-wrap { padding: 1.8rem !important; }
  .inner-hero { padding: 8rem 0 3.5rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.4rem, 14vw, 3.6rem); }
  .hero-cta { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════
   ETERNITY — SERVICE WARENKORB SYSTEM
═══════════════════════════════════════════════ */

/* ── Add-Button neben jedem Preis ── */
.eternity-add-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.eternity-add-btn:hover {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
  transform: scale(1.15);
}
.eternity-add-btn.added {
  background: #2a7a2a;
  border-color: #4caf50;
  color: #fff;
}

/* ── Toast Benachrichtigung ── */
#eternity-toast {
  position: fixed;
  bottom: 5.5rem; left: 1.6rem;
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  display: flex; align-items: center; gap: 12px;
  z-index: 9999;
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  pointer-events: none;
}
#eternity-toast.show {
  transform: translateX(0);
  opacity: 1;
}
#eternity-toast-icon {
  width: 32px; height: 32px;
  background: rgba(76,175,80,0.2);
  border: 1px solid rgba(76,175,80,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #4caf50;
  font-size: 1rem;
  flex-shrink: 0;
  font-weight: 700;
}
#eternity-toast-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
#eternity-toast-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* ── Floating Cart Button (links unten) ── */
#eternity-cart-btn {
  position: fixed;
  bottom: 2rem; left: 1.6rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold-lt));
  border: none;
  color: #1a1a1a;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(201,168,76,0.5);
  z-index: 800;
  transition: transform .3s, box-shadow .3s;
}
#eternity-cart-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(201,168,76,0.65);
}
#eternity-cart-count {
  position: absolute;
  top: -4px; right: -4px;
  width: 22px; height: 22px;
  background: #e53935;
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #0d0d0d;
  font-family: 'Source Sans 3', sans-serif;
}
#eternity-cart-count.bounce {
  animation: eternity-badge-bounce .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes eternity-badge-bounce {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* ── Overlay ── */
#eternity-cart-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  z-index: 1099;
}
#eternity-cart-overlay.open { display: block; }

/* ── Slide-in Panel ── */
#eternity-cart-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: #111;
  border-left: 1px solid rgba(201,168,76,0.18);
  box-shadow: -12px 0 60px rgba(0,0,0,0.6);
  z-index: 1100;
  display: flex; flex-direction: column;
  transform: translateX(110%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
#eternity-cart-panel.open { transform: translateX(0); }

#eternity-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  background: rgba(201,168,76,0.04);
  flex-shrink: 0;
}

#eternity-cart-items {
  padding: 0.75rem 0;
  flex-shrink: 0;
  max-height: 200px;
  overflow-y: auto;
}

.eternity-cart-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 1rem;
  transition: background .15s;
}
.eternity-cart-item:hover { background: rgba(255,255,255,0.03); }

/* ── Formular im Panel ── */
.eternity-field-group {
  margin-bottom: 1rem;
}
.eternity-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-bottom: 6px;
}
.eternity-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 0.92rem;
  padding: 0.65rem 0.9rem;
  font-family: 'Source Sans 3', sans-serif;
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
  outline: none;
}
.eternity-input:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}
.eternity-input.error { border-color: #e53935; }
.eternity-input option { background: #1a1a1a; color: #fff; }
textarea.eternity-input { resize: vertical; min-height: 72px; }

.eternity-error {
  display: none;
  color: #ff6b6b;
  font-size: 0.72rem;
  margin-top: 4px;
}

#eternity-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold-lt));
  color: #1a1a1a;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .2s, box-shadow .2s;
  margin-top: 1.25rem;
  font-family: 'Source Sans 3', sans-serif;
}
#eternity-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.45);
}

/* ── Preisliste: price-item row angepasst ── */
.eternity-price-row .price-item,
.price-item.eternity-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Scrollbar Panel ── */
#eternity-cart-items::-webkit-scrollbar,
#eternity-cart-form::-webkit-scrollbar { width: 4px; }
#eternity-cart-items::-webkit-scrollbar-track,
#eternity-cart-form::-webkit-scrollbar-track { background: transparent; }
#eternity-cart-items::-webkit-scrollbar-thumb,
#eternity-cart-form::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.3);
  border-radius: 2px;
}

/* ── Mobile ── */
@media (max-width: 640px) {
  #eternity-cart-panel { width: 100vw; }
  #eternity-toast { left: 1rem; right: 1rem; max-width: none; bottom: 5rem; }
  #eternity-cart-btn { left: 1rem; bottom: 1.5rem; width: 52px; height: 52px; }
}

/* ═══════════════════════════════════════════════
   STARTSEITE — SERVICE CHIP PICKER
═══════════════════════════════════════════════ */
.hs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hs-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.45rem 0.9rem;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 100px;
  color: rgba(255,255,255,0.8);
  font-size: 0.83rem;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
  white-space: nowrap;
}
.hs-chip:hover {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}
.hs-chip.added {
  background: rgba(76,175,80,0.15);
  border-color: rgba(76,175,80,0.5);
  color: #4caf50;
}

/* #btn-book wird versteckt wenn eternity-cart-btn sichtbar ist */
#btn-book { transition: opacity .3s, transform .3s; }

/* Cart-Btn anfangs unsichtbar bis JS initialisiert */
#eternity-cart-btn { display: none; }

/* ── CF7 Checkbox Multi-Service Auswahl ── */
.ef-service-group {
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(201,168,76,0.03);
}
.ef-service-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  padding: 1.1rem 1.25rem 0.6rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.ef-service-category {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ef-service-category:last-child {
  border-bottom: none;
}
.ef-category-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.55rem;
  opacity: 0.85;
}
/* CF7 checkbox item styling */
.ef-service-category .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0.2rem 0.35rem 0.2rem 0;
}
.ef-service-category .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  padding: 0.3rem 0.7rem 0.3rem 0.35rem;
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 100px;
  background: rgba(201,168,76,0.04);
  transition: all .18s;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.ef-service-category .wpcf7-list-item label:hover {
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.1);
  color: #fff;
}
.ef-service-category .wpcf7-list-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
.ef-service-category .wpcf7-list-item input[type="checkbox"]:checked + span {
  color: var(--gold);
}
.ef-service-category .wpcf7-list-item:has(input:checked) label {
  border-color: var(--gold);
  background: rgba(201,168,76,0.12);
  color: var(--gold-lt);
}

/* ═══════════════════════════════════════════════
   MULTI-SERVICE MODAL (CF7 Buchungsformular)
═══════════════════════════════════════════════ */
#ms-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 99998;
  backdrop-filter: blur(3px);
}
#ms-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 94vw);
  max-height: 80vh;
  min-height: 400px;
  background: #13131f;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 18px;
  z-index: 99999;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  overflow: hidden;
}
.ms-trigger-btn {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-family: "Source Sans 3", sans-serif;
  letter-spacing: 0.02em;
}
.ms-trigger-btn:hover,
.ms-trigger-btn:focus {
  border-color: rgba(201,168,76,0.65) !important;
  background: rgba(255,255,255,0.11) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  outline: none;
}
.ms-trigger-btn #ms-trigger-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ms-cat {
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A84C;
  font-weight: 700;
  margin: 1rem 0 0.3rem;
  padding: 0 14px;
}
.ms-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ms-chip {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 11px 14px !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background .15s;
  background: transparent !important;
  width: 100%;
  box-sizing: border-box;
}
.ms-chip:last-child {
  border-bottom: none !important;
}
.ms-chip:hover {
  background: rgba(201,168,76,0.07) !important;
}
.ms-chip input[type="checkbox"] {
  accent-color: #C9A84C;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  cursor: pointer;
  flex-shrink: 0 !important;
  margin: 0 !important;
}
.ms-chip span {
  font-size: 0.88rem !important;
  color: rgba(255,255,255,0.72) !important;
  line-height: 1.4 !important;
  flex: 1;
  white-space: normal !important;
  word-break: normal !important;
}
.ms-chip:has(input:checked) {
  background: rgba(201,168,76,0.08) !important;
}
.ms-chip:has(input:checked) span {
  color: #C9A84C !important;
  font-weight: 600 !important;
}

/* ═══════════════════════════════════════════════
   MS-MODAL PORTAL FIX
   Modal wird per JS an body.ms-modal-portal angehängt
   → kein backdrop-filter stacking-context Problem mehr
═══════════════════════════════════════════════ */
body > #ms-overlay,
body > #ms-modal {
  /* Wenn am body: sicher über allem */
  z-index: 999998 !important;
}
body > #ms-modal {
  z-index: 999999 !important;
}

/* ═══════════════════════════════════════════════
   MOBILE OPTIMIERUNGEN (v9 — ergänzt)
═══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Booking Section ── */
  #termin-section { padding: 3rem 0 2.5rem; }
  .booking-form-wrap { padding: 1.4rem !important; }

  /* Formular: 1 Spalte statt 2 */
  .booking-form-wrap .grid.md\:grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .booking-form-wrap .md\:col-span-2 {
    grid-column: span 1 !important;
  }

  /* ff-group Abstände */
  .ff-group { margin-bottom: 1.1rem; }
  .ff-input  { font-size: 0.95rem; padding: 0.75rem 0.9rem; }
  .ff-label  { font-size: 0.63rem; }

  /* Service Trigger Button — nicht abschneiden */
  .ms-trigger-btn { min-height: 46px; }
  .ms-trigger-btn #ms-trigger-label {
    font-size: 0.88rem;
    white-space: normal;
    line-height: 1.35;
    max-height: 3.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* Submit Button */
  .btn-booking-submit { font-size: 0.9rem; padding: 0.95rem 1.2rem; }

  /* Trust Badges: 2×2 statt 4 in einer Reihe */
  #termin-section .grid.grid-cols-2.md\:grid-cols-4 {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Preis-Übersicht: 1 Spalte */
  .grid.md\:grid-cols-3 { grid-template-columns: 1fr !important; }

  /* Gallery Strip: 2 Spalten, kleinere Höhe */
  .grid.grid-cols-2.md\:grid-cols-4 > div { height: 160px !important; }

  /* Atmosphäre-Grid: 2×3 */
  .grid.grid-cols-2.md\:grid-cols-3 > div { height: 140px !important; }

  /* Über uns: stat zahlen */
  .grid.grid-cols-2 .border-l-2 { padding-left: 0.75rem; }
  .grid.grid-cols-2 .border-l-2 > div:first-child { font-size: 2.2rem !important; }

  /* Direkt anrufen Block */
  .glass-dark a[href^="tel"] { font-size: 1.45rem !important; }

  /* Section padding allgemein */
  section[style*="padding:5rem"] { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  section[style*="padding:4rem"] { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
}

@media (max-width: 480px) {
  /* ── Modal auf kleinen Screens ── */
  #ms-modal {
    width: 100% !important;
    max-width: 100% !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    border-radius: 18px 18px 0 0 !important;
    max-height: 88vh !important;
  }

  /* MS Modal Inhalt kompakter */
  #ms-modal > div:first-child { padding: 1rem 1.2rem; }
  #ms-modal > div:last-child  { padding: 0.75rem 1.2rem; }
  .ms-cat  { padding: 0 10px; font-size: 0.6rem; }
  .ms-chip { padding: 10px 12px !important; }
  .ms-chip span { font-size: 0.84rem !important; }

  /* Cart Panel voll-breit */
  #eternity-cart-panel { width: 100vw !important; }

  /* Hero subtitle kleiner */
  .hero-subtitle { font-size: 0.82rem; letter-spacing: 0.2em; }

  /* Booking Form Wrap */
  .booking-form-wrap { border-radius: 14px !important; }

  /* Price Items overflow */
  .price-item { flex-wrap: wrap; gap: 4px; }

  /* CTA Buttons full width auf kleinen Screens */
  .hero-cta a { width: 100%; max-width: 280px; text-align: center; justify-content: center; }
}
