/* ===================================================
   ASTRO-ADVISER 2026 — Design System
   =================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --color-teal-deep: #0f3b3f;
  --color-teal: #1a5c63;
  --color-teal-light: #2a8a94;
  --color-gold: #c9943e;
  --color-gold-light: #e5be7a;
  --color-gold-glow: rgba(201, 148, 62, 0.3);

  /* Neutrals */
  --color-cream: #f8f4ee;
  --color-cream-dark: #ede6da;
  --color-white: #ffffff;
  --color-dark: #0e1b1d;
  --color-text: #2c3e40;
  --color-text-light: #6b8a8e;

  /* Status */
  --color-error: #d64545;
  --color-success: #2ea66e;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-width: 1200px;
  --gap: clamp(1rem, 2vw, 2rem);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 30px var(--color-gold-glow);

  /* Glass */
  --glass-bg: rgba(15, 59, 63, 0.85);
  --glass-blur: blur(20px);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overflow-x: hidden;
  /* Chrome iOS "Darken websites"-Feature sperren:
     Die Seite ist ausschließlich im Light-Farbschema designed.
     Ohne das invertiert Chrome heuristisch weiße Schrift → schwarz. */
  color-scheme: light only;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-cream);
  overflow-x: hidden;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  -webkit-text-size-adjust: 100%;
  /* Force-Dark verhindert sonst auch hier Farbmanipulation */
  color-scheme: light only;
  /* Momentum-Scrolling (Chrome iOS optimiert für flüssiges Scrollen) */
  -webkit-overflow-scrolling: touch;
}

/* Bilder & SVGs vor automatischer Hintergrund-Matte durch Chromes
   Force-Dark schützen (z.B. transparente PNGs wie Sonnenscheibe) */
img, svg, picture, video {
  color-scheme: light only;
  background-color: transparent;
}

/* Form-Controls: Chrome iOS rendert Inputs bei Dark-Override
   plötzlich mit dunkler Textfarbe. Mit light only bleiben sie stabil. */
input, textarea, select, button {
  color-scheme: light;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ---------- Utility Classes ---------- */
.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-teal);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 2.5rem;
  max-width: 700px;
}

/* ---------- Animations ---------- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.animate-in:nth-child(2) {
  transition-delay: 0.1s;
}

.animate-in:nth-child(3) {
  transition-delay: 0.2s;
}


/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
}

.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: height var(--transition);
}

.site-header.scrolled .logo-img {
  height: 35px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.cta-nav {
  background: var(--color-gold);
  color: var(--color-dark);
  font-weight: 600;
}

.nav-link.cta-nav:hover {
  background: var(--color-gold-light);
  color: var(--color-dark);
  box-shadow: var(--shadow-gold);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, var(--color-teal-deep) 0%, var(--color-teal) 40%, #1a4f5a 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(201, 148, 62, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(42, 138, 148, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(201, 148, 62, 0.4);
  border-radius: 50%;
  animation: float var(--dur) var(--delay) infinite ease-in-out;
}

@keyframes float {

  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }

  50% {
    opacity: 1;
    transform: translateY(-80px) scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-logo-wrap {
  margin-bottom: 2rem;
}

.hero-logo {
  height: clamp(140px, 25vw, 260px);
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 30px rgba(201, 148, 62, 0.3));
  animation: logoGlow 4s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from {
    filter: drop-shadow(0 8px 30px rgba(201, 148, 62, 0.2));
  }

  to {
    filter: drop-shadow(0 8px 50px rgba(201, 148, 62, 0.45));
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    height: 30px;
  }

  50% {
    opacity: 1;
    height: 50px;
  }
}


/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  /* iOS Safari: kein 300ms-Tap-Delay, sofortiger Klick */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  /* Stellt sicher, dass Taps zuverlässig durchkommen */
  user-select: none;
  -webkit-user-select: none;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Hover-Effekte NUR auf Geräten mit echter Hover-Fähigkeit (Desktop).
   Auf Touch-Geräten (iPhone/iPad) kein "Sticky Hover" mehr, der den
   ersten Tap verschluckt. */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--color-gold-light);
    color: var(--color-dark);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
  }
  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
  }
}

/* Active-State für Touch-Feedback (wenn der Finger drückt) */
.btn-primary:active {
  background: var(--color-gold-light);
  transform: scale(0.98);
}
.btn-outline:active {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(0.98);
}

.btn-full {
  width: 100%;
}


/* ===================================================
   SECTIONS
   =================================================== */
.section {
  padding: var(--section-padding) 0;
}

/* ---------- About Section ---------- */
.section-about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.image-frame {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  /* Bildausschnitt mittig — zeigt den Kopf zentral, überschüssiges
     wird gleichmäßig oben + unten gekappt */
  object-position: center 30%;
  transition: transform 0.6s var(--ease);
}

.image-frame:hover img {
  transform: scale(1.03);
}

.image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--color-gold);
  border-radius: 1rem;
  z-index: -1;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-cream-dark);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-teal);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}


/* ---------- Services Section ---------- */
.section-services {
  background: var(--color-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.service-card {
  position: relative;
  background: var(--color-white);
  border-radius: 1.2rem;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card:hover .service-accent {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal-deep), var(--color-teal));
  color: var(--color-gold-light);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-teal-deep);
}

.service-card p {
  font-size: 0.93rem;
  margin-bottom: 0.8rem;
  color: var(--color-text-light);
}

.service-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}


/* ---------- Consultation Section ---------- */
.section-consultation {
  background: var(--color-white);
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.consultation-info h3 {
  font-size: 1.2rem;
  color: var(--color-teal);
  margin: 2rem 0 1rem;
}

.requirement-list {
  list-style: none;
  padding: 0;
}

.requirement-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 1.05rem;
}

.req-icon {
  color: var(--color-gold);
  font-size: 0.8rem;
}

.req-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
}

.topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.topic-tag {
  padding: 0.4rem 1rem;
  background: var(--color-cream);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-teal);
  transition: all var(--transition);
}

.topic-tag:hover {
  background: var(--color-teal);
  color: #fff;
}

/* Price Card */
.price-card {
  background: linear-gradient(145deg, var(--color-teal-deep), var(--color-teal));
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  color: #fff;
  text-align: center;
  position: sticky;
  top: 120px;
}

.price-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.price-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.price-sales {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.55rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.price-card .btn-primary {
  background: var(--color-gold);
  color: var(--color-dark);
}

.price-card .btn-primary:hover {
  background: var(--color-gold-light);
}

.btn-paypal {
  background: #0079C1;
  /* PayPal Blue */
  color: #fff;
  border: 1px solid #0079C1;
  margin-top: 1rem;
}

.btn-paypal:hover {
  background: #00457C;
  border-color: #00457C;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 121, 193, 0.3);
  color: #fff;
}

.mt-3 {
  margin-top: 1rem !important;
}

/* ===================================================
   MOON SECTION
   =================================================== */
.section-moon {
  background: var(--color-white);
}

.moon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 3rem;
  align-items: stretch;
  margin-top: 3rem;
}

.moon-grid > * {
  align-self: stretch;
  height: 100%;
}

/* Moon-Widget füllt die komplette Zelle und zentriert den Mond darin */
.moon-grid > #moonWidget {
  min-height: 0;
  justify-content: center;
  padding: 2.5rem 1.75rem;
}

@media (max-width: 900px) {
  .moon-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;          /* stretch-Trick NUR auf Desktop */
    align-items: start;
    gap: 2rem;
  }
  .moon-grid > * {
    height: auto;
    align-self: auto;
  }
  /* Moon-Widget mobil kompakter */
  .moon-grid > #moonWidget {
    min-height: 0 !important;
    padding: 1.75rem 1.25rem;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
  /* Mond-SVG mobil kleiner, damit Widget nicht zu lang wirkt */
  #moonWidget .mw-moon-wrap {
    width: min(170px, 45vw) !important;
  }
  #moonWidget .mw-meta {
    gap: 0.35rem 1.25rem;
    font-size: 0.78rem;
  }
}

.moon-iframe-wrapper {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
}

.moon-info-card {
  background: var(--color-white);
  padding: 2rem 2.25rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.moon-info-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.25rem;
}

.moon-info-card h3 {
  font-size: 1.8rem;
  color: var(--color-teal-deep);
  margin-top: 0;
  margin-bottom: 0;
}

.moon-info-card p {
  color: var(--color-text);
  line-height: 1.8;
  font-size: 1.1rem;
}

.moon-iframe-wrapper:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 148, 62, 0.4);
}

.moon-iframe {
  width: 100%;
  height: 100%;
  border: none;
}



/* ===================================================
   CONTACT SECTION
   =================================================== */
.section-contact {
  background: var(--color-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-methods {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border-radius: 0.75rem;
  transition: all var(--transition);
}

.contact-method:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.method-icon {
  font-size: 1.5rem;
  min-width: 2.5rem;
  text-align: center;
}

.method-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.1rem;
}

.method-detail a {
  font-weight: 600;
  color: var(--color-teal);
}

.contact-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(201, 148, 62, 0.08);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 0.5rem 0.5rem 0;
}

/* ---------- Contact Form ---------- */
.contact-form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 1.2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid var(--color-cream-dark);
  border-radius: 0.6rem;
  background: var(--color-cream);
  color: var(--color-text);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-teal);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(26, 92, 99, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-error);
}

.form-group input.success,
.form-group textarea.success {
  border-color: var(--color-success);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: block;
  font-size: 0.78rem;
  color: var(--color-error);
  margin-top: 0.3rem;
  min-height: 1.1em;
}

/* Checkbox */
.form-privacy {
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--color-teal);
}

.checkbox-label a {
  text-decoration: underline;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 2rem;
  animation: fadeUp 0.6s var(--ease);
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===================================================
   MULTI-STEP FORM
   =================================================== */
.contact-form-container {
  position: relative;
}

/* ---------- Fortschrittsanzeige ---------- */
.form-progress {
  margin-bottom: 2.25rem;
}

.form-progress-bar {
  position: relative;
  height: 3px;
  background: rgba(15, 59, 63, 0.12);
  border-radius: 3px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.form-progress-fill {
  height: 100%;
  width: 33.333%;
  background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
  border-radius: 3px;
  transition: width 0.5s var(--ease);
}

.form-progress-steps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.form-step-indicator {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  cursor: default;
  user-select: none;
}

.form-step-indicator .step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 2px solid rgba(15, 59, 63, 0.18);
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: all 0.3s var(--ease);
}

.form-step-indicator .step-label {
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}

.form-step-indicator.active .step-number {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-teal-deep);
  box-shadow: 0 0 0 4px rgba(201, 148, 62, 0.15);
}

.form-step-indicator.active .step-label {
  color: var(--color-teal-deep);
  font-weight: 600;
}

.form-step-indicator.completed .step-number {
  background: var(--color-teal-deep);
  border-color: var(--color-teal-deep);
  color: var(--color-gold-light);
}

.form-step-indicator.completed .step-number::after {
  content: "✓";
}

.form-step-indicator.completed .step-number > span,
.form-step-indicator.completed .step-number { font-size: 0; }
.form-step-indicator.completed .step-number::after { font-size: 0.95rem; }

/* ---------- Steps ---------- */
.multi-step-form {
  position: relative;
}

.form-step {
  border: none;
  padding: 0;
  margin: 0;
  display: none;
  animation: fadeUp 0.4s var(--ease);
}

.form-step.active {
  display: block;
}

.form-step-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-teal-deep);
  margin-bottom: 0.5rem;
  padding: 0;
}

.form-step-hint {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

/* Date/Time Inputs an das Design anpassen - iOS-safe */
.form-group input[type="date"],
.form-group input[type="time"] {
  font-family: var(--font-body);
  color: var(--color-text);
  /* iOS Safari: eigenes Rendering überschreiben */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  /* Wichtig: box-sizing zwingt iOS, Padding in die Breite einzurechnen */
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  /* iOS fügt bei type=date/time einen Min-Content hinzu → verhindern */
  min-height: 3rem;
  min-width: 0;
  /* iOS: Font-Size muss mind. 16px sein, sonst zoomt Safari beim Fokus */
  font-size: 16px;
  line-height: 1.3;
  /* Overflow-Schutz: falls Inhalt doch zu breit wird, gekappt statt rausgedrückt */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* iOS zeigt Platzhaltertext für leeres date/time in unterschiedlicher Opazität */
.form-group input[type="date"]::-webkit-date-and-time-value,
.form-group input[type="time"]::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.3em;
}

/* Kalender-Indicator (iOS/Safari-Pfeil) — dezenter machen */
.form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0.6;
  cursor: pointer;
  padding: 0;
  margin-left: 0.25rem;
}

/* ---------- Nav Buttons ---------- */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 59, 63, 0.08);
}

.form-nav .btn {
  flex: 0 0 auto;
  min-width: 140px;
}

#btnNext,
#btnSubmit {
  margin-left: auto;
}

/* ---------- Erfolgs-Panel ---------- */
.form-success-panel {
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeUp 0.6s var(--ease);
}

.success-icon-big {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-success), #3bc485);
  color: #fff;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(46, 166, 110, 0.3);
  animation: successPop 0.5s var(--ease);
}

@keyframes successPop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

.form-success-panel h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-teal-deep);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.form-success-panel p {
  font-size: 1.05rem;
  color: var(--color-text);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .form-step-indicator .step-label {
    display: none;
  }
  .form-nav {
    flex-direction: column-reverse;
  }
  .form-nav .btn {
    width: 100%;
  }
}


/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--color-teal-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-small {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  transition: all var(--transition);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon:hover {
  background: var(--color-gold);
  color: var(--color-teal-deep);
  transform: translateY(-3px);
}

.footer-small {
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer-links h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}


/* ===================================================
   RESPONSIVE
   =================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .image-frame img {
    height: 350px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .consultation-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===================================================
   LEGAL PAGES
   =================================================== */
.legal-content {
  background: var(--color-white);
  padding: 4rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
}

.legal-content h3 {
  font-size: 1.6rem;
  color: var(--color-teal-deep);
  margin: 3rem 0 1.5rem;
  border-bottom: 2px solid var(--color-cream-dark);
  padding-bottom: 0.5rem;
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content h4 {
  font-size: 1.2rem;
  color: var(--color-teal);
  margin: 2rem 0 1rem;
}

.legal-content p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-content p strong {
  color: var(--color-teal-deep);
}

.legal-content a {
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-underline-offset: 4px;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 2.5rem 1.5rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    background: rgba(15, 59, 63, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
    z-index: 990;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    align-items: center;
  }

  .nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1.6rem;
    border-bottom: none;
    text-align: center;
  }

  .nav-link.cta-nav {
    margin-top: 1rem;
    text-align: center;
    border-radius: 100px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .image-frame img {
    height: 280px;
  }
}

/* Very small */
@media (max-width: 400px) {
  .hero-title {
    font-size: 2rem;
  }

  .about-stats {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}


/* =====================================================================
   SCROLL-TO-TOP BUTTON
   ===================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-teal-deep);
  color: var(--color-gold-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(15, 59, 63, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.3s var(--ease),
              transform 0.3s var(--ease),
              visibility 0s linear 0.3s,
              background 0.25s var(--ease),
              color 0.25s var(--ease);
  z-index: 800;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .scroll-top-btn:hover {
    background: var(--color-gold);
    color: var(--color-teal-deep);
    transform: translateY(-4px) scale(1.05);
  }
}

.scroll-top-btn:active {
  transform: translateY(0) scale(0.95);
}

@media (max-width: 600px) {
  .scroll-top-btn {
    width: 44px;
    height: 44px;
    bottom: 16px;
    right: 16px;
  }
}


/* =====================================================================
   COOKIE-BANNER (DSGVO)
   ===================================================================== */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  background: rgba(15, 59, 63, 0.97);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(201, 148, 62, 0.25);
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  color: var(--color-cream);
  padding: 1.5rem 1.75rem;
  opacity: 0;
  transform: translateY(40px);
  animation: cookieSlideIn 0.5s var(--ease) 0.4s forwards;
  max-width: 1100px;
  margin: 0 auto;
}

.cookie-banner[hidden] {
  display: none !important;
}

@keyframes cookieSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.cookie-text h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.cookie-text p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(248, 244, 238, 0.8);
  margin: 0;
  max-width: 680px;
}

.cookie-text a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  color: var(--color-gold);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie {
  padding: 0.7rem 1.35rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-cookie-primary {
  background: var(--color-gold);
  color: var(--color-teal-deep);
  border-color: var(--color-gold);
}

.btn-cookie-ghost {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(248, 244, 238, 0.3);
}

@media (hover: hover) and (pointer: fine) {
  .btn-cookie-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    transform: translateY(-2px);
  }
  .btn-cookie-ghost:hover {
    background: rgba(248, 244, 238, 0.08);
    border-color: rgba(248, 244, 238, 0.5);
  }
}

.btn-cookie:active {
  transform: scale(0.97);
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 1.25rem 1.25rem;
  }
  .cookie-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cookie-text h3 {
    font-size: 1.05rem;
  }
  .cookie-text p {
    font-size: 0.82rem;
  }
  .cookie-actions {
    justify-content: stretch;
  }
  .btn-cookie {
    flex: 1;
    padding: 0.85rem 1rem;
  }
  /* Scroll-Top-Button zur Seite schieben, wenn Banner sichtbar */
  .cookie-banner:not([hidden]) ~ .scroll-top-btn {
    bottom: 180px;
  }
}


/* =====================================================================
   BEKANNT AUS — Trust-Strip (schlanker Banner, keine Section)
   ===================================================================== */
.press-strip {
  background: var(--color-white);
  border-top: 1px solid rgba(15, 59, 63, 0.06);
  border-bottom: 1px solid rgba(15, 59, 63, 0.06);
  padding: 1.75rem 0;
}

.press-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}

.press-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  white-space: nowrap;
}

.press-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.press-list li {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-teal-deep);
  position: relative;
  transition: color 0.3s var(--ease);
}

.press-list li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: calc(-1 * clamp(0.75rem, 1.75vw, 1.5rem));
  top: 50%;
  transform: translateY(-55%);
  color: var(--color-gold);
  font-size: 1.5rem;
  opacity: 0.55;
  font-weight: 400;
}

.press-list li:hover {
  color: var(--color-gold);
}

@media (max-width: 600px) {
  .press-strip { padding: 1.25rem 0; }
  .press-inner { flex-direction: column; gap: 0.75rem; }
  .press-list li:not(:last-child)::after { display: none; }
  .press-list { gap: 0.75rem 1.5rem; }
}


/* =====================================================================
   TIERSCHUTZ — Ein Herz für Tiere
   ===================================================================== */
.section-tierschutz {
  background: linear-gradient(135deg, #fdfaf3 0%, var(--color-cream) 100%);
  position: relative;
  overflow: hidden;
}

.section-tierschutz::before {
  content: "♡";
  position: absolute;
  top: -40px;
  left: -30px;
  font-size: 320px;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.04;
  font-family: var(--font-heading);
  pointer-events: none;
}

.tierschutz-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
}

.tierschutz-text h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.tierschutz-text .lead {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.tierschutz-text strong {
  color: var(--color-teal-deep);
}

.tierschutz-divider {
  margin: 1.75rem 0 1.5rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-gold);
  letter-spacing: 0.8rem;
  opacity: 0.7;
  position: relative;
}
.tierschutz-divider::before,
.tierschutz-divider::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  vertical-align: middle;
  margin: 0 0.75rem;
}

.tierschutz-quote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-gold);
  background: rgba(201, 148, 62, 0.06);
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-teal-deep);
  border-radius: 0 0.6rem 0.6rem 0;
}

.tierschutz-quote .quote-author {
  display: inline-block;
  margin-top: 0.5rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
}

.tierschutz-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.ts-badge {
  background: var(--color-white);
  border: 1px solid rgba(201, 148, 62, 0.25);
  border-radius: 1rem;
  padding: 1.1rem 0.75rem;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.ts-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ts-badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.ts-badge-label {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
}

.image-frame-rounded {
  border-radius: 1.5rem !important;
}

.image-frame-rounded img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.image-frame-rounded:hover img {
  transform: scale(1.03);
}

.image-accent-left {
  right: auto !important;
  left: -20px;
  bottom: -20px;
  border-color: var(--color-teal-light) !important;
}

@media (max-width: 860px) {
  .tierschutz-grid {
    grid-template-columns: 1fr;
  }
  .tierschutz-image { order: -1; }
  .image-frame-rounded img { height: 380px; }
  .tierschutz-badges { grid-template-columns: 1fr; }
}


/* =====================================================================
   ASTROLOGIE — Was ist Astrologie?
   ===================================================================== */
.section-astrologie {
  background: radial-gradient(ellipse at top, #0f3b3f 0%, #071f22 100%);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.section-astrologie::before,
.section-astrologie::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.section-astrologie::before {
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 148, 62, 0.18), transparent 70%);
}
.section-astrologie::after {
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42, 138, 148, 0.18), transparent 70%);
}

.section-astrologie .section-label.center,
.section-astrologie .section-title.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-astrologie .section-label {
  color: var(--color-gold);
}

.section-astrologie .section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  color: var(--color-cream);
  max-width: 780px;
  margin-bottom: 3.5rem;
  line-height: 1.2;
}

.astrologie-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ---------- Sonnenbogenscheibe ---------- */
.sonnenscheibe-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sonnenscheibe-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: sonnenRotate 120s linear infinite;
  filter: drop-shadow(0 10px 40px rgba(201, 148, 62, 0.3));
}

.sonnenscheibe-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(201, 148, 62, 0.35), transparent 65%);
  filter: blur(30px);
  z-index: 1;
  animation: sonnenPulse 6s ease-in-out infinite;
}

@keyframes sonnenRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes sonnenPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .sonnenscheibe-wrap img { animation: none; }
  .sonnenscheibe-glow    { animation: none; }
}

/* iOS/Mobile: Sonnen-Rotation aus, nur noch der sanfte Pulse.
   Dauerrotation frisst Akku und kann Safari zum Stocken bringen. */
@media (max-width: 768px) {
  .sonnenscheibe-wrap img { animation: none; }
  .hero-logo { animation-duration: 8s; } /* Glow langsamer */
}

/* ---------- Astrologie-Text ---------- */
.astrologie-text {
  color: rgba(248, 244, 238, 0.88);
}

.astrologie-text p {
  margin-bottom: 1.15rem;
  line-height: 1.8;
  font-size: 1rem;
}

.astrologie-lead {
  font-family: var(--font-heading);
  font-size: 1.3rem !important;
  font-style: italic;
  color: var(--color-gold-light) !important;
  line-height: 1.55 !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(201, 148, 62, 0.25);
}

.astrologie-text strong {
  color: var(--color-gold);
  font-weight: 600;
}

.astrologie-text em {
  color: var(--color-gold-light);
  font-style: normal;
  font-weight: 500;
}

.astrologie-highlight {
  font-family: var(--font-heading);
  font-size: 1.4rem !important;
  font-weight: 600;
  text-align: center;
  padding: 1.1rem 1.5rem !important;
  margin: 1.75rem 0 !important;
  background: linear-gradient(135deg, rgba(201, 148, 62, 0.12), rgba(42, 138, 148, 0.08));
  border: 1px solid rgba(201, 148, 62, 0.3);
  border-radius: 0.8rem;
  color: var(--color-cream) !important;
  line-height: 1.4 !important;
}

.astrologie-highlight strong {
  color: var(--color-gold-light);
}

@media (max-width: 860px) {
  .astrologie-grid {
    grid-template-columns: 1fr;
  }
  .sonnenscheibe-wrap {
    max-width: 320px;
  }
}


/* =====================================================================
   GÄSTEBUCH
   ===================================================================== */
.section-guestbook {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
  position: relative;
  overflow: hidden;
}

.section-guestbook::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--color-gold-glow), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.section-guestbook .section-label {
  text-align: center;
}

.section-guestbook .section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 auto 1rem;
  max-width: 800px;
}

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--color-text-light);
  font-size: 1.05rem;
}

/* ---------- Infinite Ticker ---------- */
.guestbook-ticker {
  position: relative;
  overflow: hidden;
  margin-bottom: 4.5rem;
  padding: 1.25rem 0;
  /* Sanfte Fade-Ränder links/rechts (breiter Verlauf für weichen Übergang) */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0,0,0,0.2) 3%,
    rgba(0,0,0,0.8) 9%,
    #000 14%,
    #000 86%,
    rgba(0,0,0,0.8) 91%,
    rgba(0,0,0,0.2) 97%,
    transparent 100%
  );
          mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0,0,0,0.2) 3%,
    rgba(0,0,0,0.8) 9%,
    #000 14%,
    #000 86%,
    rgba(0,0,0,0.8) 91%,
    rgba(0,0,0,0.2) 97%,
    transparent 100%
  );
  /* Eigener Stacking-Context, damit Mask-Image auch über GPU-Layers greift */
  isolation: isolate;
}

.gb-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: gbScroll var(--gb-ticker-duration, 80s) linear infinite;
  /* will-change entfernt: der GPU-Layer verhinderte, dass die Mask-Image
     des Parents auf den Track wirkte → harte Kanten. Ohne will-change
     erbt der Track den Stacking-Context des Parents, Mask greift sauber. */
}

/* Pause on hover / focus */
.guestbook-ticker:hover .gb-track,
.guestbook-ticker:focus-within .gb-track {
  animation-play-state: paused;
}

@keyframes gbScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reduced-Motion: kein Auto-Scroll */
@media (prefers-reduced-motion: reduce) {
  .gb-track {
    animation: none;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 1rem;
  }
}

.gb-card {
  flex: 0 0 340px;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(201, 148, 62, 0.18);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 10px 40px rgba(15, 59, 63, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.gb-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal-light), var(--color-gold));
  opacity: 0.7;
}

.gb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(15, 59, 63, 0.15);
}

.gb-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.gb-author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--color-teal-deep);
  line-height: 1.1;
}

.gb-date {
  font-size: 0.78rem;
  color: var(--color-text-light);
  white-space: nowrap;
  letter-spacing: 0.02em;
  padding-top: 0.25rem;
}

.gb-stars {
  color: var(--color-gold);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.9rem;
  line-height: 1;
}

.gb-stars .gb-star-empty {
  color: rgba(15, 59, 63, 0.18);
}

.gb-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
  flex-grow: 1;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}

.gb-text::-webkit-scrollbar {
  width: 3px;
}

.gb-text::-webkit-scrollbar-thumb {
  background: var(--color-gold-light);
  border-radius: 3px;
}

.gb-quote-mark {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--color-gold);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  pointer-events: none;
}

.gb-loading {
  text-align: center;
  padding: 3rem;
  color: var(--color-text-light);
  width: 100%;
}

/* ---------- Formular ---------- */
.guestbook-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(15, 59, 63, 0.04);
  border: 1px solid rgba(201, 148, 62, 0.2);
  border-radius: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.gb-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gb-form-header h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--color-teal-deep);
  margin-bottom: 1rem;
}

.gb-privacy-notice {
  background: linear-gradient(135deg, rgba(201, 148, 62, 0.12), rgba(201, 148, 62, 0.04));
  border-left: 3px solid var(--color-gold);
  border-radius: 0.6rem;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text);
  text-align: left;
}

.gb-privacy-notice strong {
  color: var(--color-teal-deep);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.guestbook-form .form-group {
  margin-bottom: 1.25rem;
}

.guestbook-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-teal-deep);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.label-hint {
  color: var(--color-text-light);
  font-weight: 400;
  font-size: 0.78rem;
}

.guestbook-form input[type="text"],
.guestbook-form input[type="email"],
.guestbook-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 59, 63, 0.15);
  border-radius: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.85);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 148, 62, 0.15);
}

.guestbook-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
  line-height: 1.6;
}

/* ---------- Sterne-Rating ---------- */
.gb-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
}

.gb-star {
  background: none;
  border: none;
  padding: 0 0.15rem;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(15, 59, 63, 0.18);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.gb-star:hover,
.gb-star:focus-visible {
  outline: none;
  transform: scale(1.15);
}

.gb-star.active {
  color: var(--color-gold);
  text-shadow: 0 0 14px rgba(201, 148, 62, 0.45);
}

/* Hover-Preview: alle Sterne links vom gehoverten einfärben */
.gb-rating:hover .gb-star { color: rgba(15, 59, 63, 0.18); }
.gb-rating .gb-star:hover,
.gb-rating .gb-star:hover ~ .gb-star:not(:hover) { /* dummy, wird per JS gesetzt */ }

.gb-rating.preview .gb-star.preview-lit {
  color: var(--color-gold-light);
}

.gb-rating-label {
  margin-left: 0.85rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  transition: color 0.25s var(--ease);
}

.gb-rating.has-value .gb-rating-label {
  color: var(--color-teal-deep);
  font-weight: 500;
  font-style: normal;
}

/* Mobile: Label unter die Sterne, damit "Hervorragend" nicht überläuft */
@media (max-width: 560px) {
  .gb-rating {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
  .gb-rating-label {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }
}

.gb-char-counter {
  text-align: right;
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 0.3rem;
}

.gb-honey {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
}

.gb-form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  font-style: italic;
}

.gb-form-success {
  margin-top: 1.5rem;
  background: rgba(46, 166, 110, 0.1);
  border: 1px solid rgba(46, 166, 110, 0.3);
  border-radius: 0.8rem;
  padding: 1.25rem;
  text-align: center;
  color: var(--color-success);
}

.gb-form-success .success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.gb-form-error {
  margin-top: 1.25rem;
  background: rgba(214, 69, 69, 0.08);
  border: 1px solid rgba(214, 69, 69, 0.3);
  border-radius: 0.7rem;
  padding: 1rem;
  color: var(--color-error);
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* =====================================================
     TICKER AUF MOBILE: komplett neu als NATIVES Scroll
     ===================================================== */
  /* CSS-Marquee auf Mobile DEAKTIVIEREN — iOS Safari kann keine
     100+ animierten Karten handhaben ohne Memory-Crash */
  .guestbook-ticker {
    padding: 1rem 0;
    /* Mask entfernen: auf Mobile stört der Fade den Scroll-Effekt */
    -webkit-mask-image: none;
            mask-image: none;
  }

  /* Track wird zum nativen Scroll-Container */
  .gb-track {
    animation: none !important;
    width: 100% !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem 1rem;
    gap: 1rem;
    /* KEIN will-change oder translateZ — das bringt iOS zum Absturz */
    will-change: auto;
    transform: none;
  }

  /* Scrollbar dezent */
  .gb-track::-webkit-scrollbar {
    height: 3px;
  }
  .gb-track::-webkit-scrollbar-thumb {
    background: rgba(201, 148, 62, 0.4);
    border-radius: 3px;
  }

  .gb-card {
    flex: 0 0 82vw;
    max-width: 340px;
    scroll-snap-align: center;
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .gb-card .gb-text {
    max-height: 220px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gb-card {
    flex: 0 0 88vw;
    max-width: 320px;
  }
}