/*
Theme Name: Astromantie
Theme URI: https://astromantie.com
Author: Astromantie
Description: Custom Theme fuer astromantie.com
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: astromantie
*/

/* ================================================
   CSS CUSTOM PROPERTIES — DARK MODE (DEFAULT)
   ================================================ */
:root {
  --astro-bg: #0a0a1a;
  --astro-bg-alt: rgba(255,255,255,0.01);
  --astro-surface: rgba(255,255,255,0.03);
  --astro-surface-border: rgba(255,255,255,0.07);
  --astro-text: #ffffff;
  --astro-text-mid: rgba(255,255,255,0.6);
  --astro-text-dim: rgba(255,255,255,0.35);
  --astro-accent: #a78bfa;
  --astro-accent-dark: #7c3aed;
  --astro-accent-glow: rgba(124,58,237,0.3);
  --astro-gold: #e8c96a;
  --astro-gold-dark: #d4a843;
  --astro-gold-light: #f5e08a;
  --astro-input-bg: rgba(255,255,255,0.04);
  --astro-input-border: rgba(255,255,255,0.1);
  --astro-btn-gradient: linear-gradient(135deg, #7c3aed, #a78bfa);
  --astro-title-gradient: linear-gradient(135deg, #a78bfa, #e8c96a);
  --astro-form-bg: rgba(15,12,35,0.78);
  --astro-form-glow: linear-gradient(90deg, transparent, #7c3aed, #a78bfa, #7c3aed, transparent);
  --astro-nav-bg: rgba(10,10,26,0.8);
  --astro-footer-border: rgba(255,255,255,0.04);
  --astro-section-alt: rgba(255,255,255,0.01);
  --astro-star-color: #fff;
  --astro-card-glow: borderGlowPulse;
  --astro-subtle-bg: rgba(124,58,237,0.05);
  --astro-checkbox-bg: #7c3aed;
  --astro-card-bg: rgba(15,12,35,0.85);
  --astro-border: rgba(167,139,250,0.15);
  --astro-hero-title-color: #e8e0f0;
  --astro-hero-grad: radial-gradient(ellipse at 30% 20%, rgba(100,80,200,0.18) 0%, transparent 60%), radial-gradient(ellipse at 80% 80%, rgba(60,20,120,0.12) 0%, transparent 50%), #0a0a1a;
  --astro-footer-bg: linear-gradient(180deg, #08051a 0%, #060318 40%, #050214 100%);
  --astro-footer-glow: linear-gradient(90deg, transparent 5%, rgba(232,201,106,0.7) 25%, rgba(167,139,250,0.6) 50%, rgba(232,201,106,0.7) 75%, transparent 95%);
  --astro-footer-glow-soft: linear-gradient(90deg, transparent 10%, rgba(232,201,106,0.12) 30%, rgba(167,139,250,0.08) 50%, rgba(232,201,106,0.12) 70%, transparent 90%);
  --astro-mobile-menu-bg: rgba(10,10,26,0.97);
  --astro-gold-line: rgba(232,201,106,0.3);
  --astro-gold-star: #e8c96a;
  --astro-copyright-text: #ffffff;
  --astro-copyright-link: #e8c96a;
  --astro-copyright-link-border: rgba(232,201,106,0.3);
  --astro-copyright-border: rgba(232,201,106,0.1);
  --astro-social-bg: rgba(255,255,255,0.05);
  --astro-social-border: rgba(255,255,255,0.08);
  --astro-footer-icon-shadow: 0 0 10px rgba(232,201,106,0.4);
  --astro-footer-col-title: #e8c96a;
  --astro-footer-col-item: #ffffff;
  --astro-footer-tagline: #e8e0f0;
  --astro-header-border: rgba(255,255,255,0.04);
  --astro-toggle-bg: rgba(255,255,255,0.06);
  --astro-toggle-border: rgba(255,255,255,0.1);
  --astro-nav-link-color: #ffffff;
  --astro-card-surface: rgba(255,255,255,0.03);
  --astro-card-border: rgba(255,255,255,0.07);
  --astro-upload-active-bg: rgba(124,58,237,0.1);
  --astro-upload-info-border: rgba(167,139,250,0.4);
  --astro-upload-info-bg: rgba(167,139,250,0.1);
  --astro-upload-info-color: rgba(233,213,255,0.8);
  --astro-upload-label-color: #e9d5ff;
  --astro-secondary-btn-border: rgba(167,139,250,0.3);
  --astro-secondary-btn-bg: rgba(255,255,255,0.03);
  --astro-secondary-btn-color: #e8e0f0;
  --astro-payment-border: rgba(255,255,255,0.1);
  --astro-color-scheme: dark;
  --astro-grad-text-color: transparent;
}

/* ================================================
   CSS CUSTOM PROPERTIES — LIGHT MODE
   ================================================ */
body.astro-light-theme {
  --astro-bg: #faf8f4;
  --astro-bg-alt: rgba(201,168,76,0.03);
  --astro-surface: #ffffff;
  --astro-surface-border: rgba(201,168,76,0.15);
  --astro-text: #2a2018;
  --astro-text-mid: #6b5d4f;
  --astro-text-dim: #9a8e7f;
  --astro-accent: #c9a84c;
  --astro-accent-dark: #a07c2a;
  --astro-accent-glow: rgba(201,168,76,0.2);
  --astro-gold: #c9a84c;
  --astro-gold-dark: #a07c2a;
  --astro-gold-light: #e8d48b;
  --astro-input-bg: #f5f2ec;
  --astro-input-border: #e5dfd5;
  --astro-btn-gradient: linear-gradient(135deg, #a07c2a, #c9a84c, #a07c2a);
  --astro-title-gradient: linear-gradient(135deg, #a07c2a, #c9a84c);
  --astro-form-bg: rgba(255,252,245,0.95);
  --astro-form-glow: linear-gradient(90deg, transparent, #c9a84c, #e8d48b, #c9a84c, transparent);
  --astro-nav-bg: rgba(250,248,244,0.9);
  --astro-footer-border: rgba(201,168,76,0.1);
  --astro-section-alt: rgba(201,168,76,0.03);
  --astro-star-color: #c9a84c;
  --astro-card-glow: borderGlowGold;
  --astro-subtle-bg: rgba(201,168,76,0.04);
  --astro-checkbox-bg: #a07c2a;
  --astro-card-bg: rgba(255,255,255,0.9);
  --astro-border: rgba(160,124,42,0.15);
  --astro-hero-title-color: #2a2018;
  --astro-hero-grad: linear-gradient(170deg, #ffffff 0%, #faf8f4 30%, #f0e6d0 70%, rgba(232,212,139,0.1) 100%);
  --astro-footer-bg: linear-gradient(180deg, #f5f0e3 0%, #ede5d0 100%);
  --astro-footer-glow: linear-gradient(90deg, transparent, rgba(201,168,76,0.6), transparent);
  --astro-footer-glow-soft: linear-gradient(90deg, transparent, rgba(201,168,76,0.08), transparent);
  --astro-mobile-menu-bg: rgba(250,248,244,0.97);
  --astro-gold-line: rgba(201,168,76,0.3);
  --astro-gold-star: #c9a84c;
  --astro-copyright-text: #2a2018;
  --astro-copyright-link: #a07c2a;
  --astro-copyright-link-border: rgba(160,124,42,0.3);
  --astro-copyright-border: rgba(201,168,76,0.15);
  --astro-social-bg: rgba(201,168,76,0.08);
  --astro-social-border: rgba(0,0,0,0.06);
  --astro-footer-icon-shadow: none;
  --astro-footer-col-title: #a07c2a;
  --astro-footer-col-item: #2a2018;
  --astro-footer-tagline: #6b5d4f;
  --astro-header-border: rgba(201,168,76,0.08);
  --astro-toggle-bg: rgba(201,168,76,0.1);
  --astro-toggle-border: rgba(201,168,76,0.2);
  --astro-nav-link-color: #2a2018;
  --astro-card-surface: #ffffff;
  --astro-card-border: rgba(201,168,76,0.15);
  --astro-upload-active-bg: rgba(201,168,76,0.06);
  --astro-upload-info-border: rgba(201,168,76,0.35);
  --astro-upload-info-bg: rgba(201,168,76,0.08);
  --astro-upload-info-color: rgba(160,124,42,0.7);
  --astro-upload-label-color: #2a2018;
  --astro-secondary-btn-border: rgba(201,168,76,0.3);
  --astro-secondary-btn-bg: rgba(201,168,76,0.04);
  --astro-secondary-btn-color: #2a2018;
  --astro-payment-border: rgba(0,0,0,0.1);
  --astro-color-scheme: light;
  --astro-grad-text-color: #a07c2a;
}

/* ================================================
   CSS RESET
   ================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ================================================
   BASE TYPOGRAPHY
   ================================================ */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--astro-text);
  background: var(--astro-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.5s, color 0.5s;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  line-height: 1.3;
  color: var(--astro-text);
  transition: color 0.5s;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

p {
  margin-bottom: 1em;
  color: var(--astro-text-mid);
  line-height: 1.8;
  font-size: 14px;
}

a:hover {
  opacity: 0.85;
}

blockquote {
  border-left: 3px solid var(--astro-accent);
  padding-left: 20px;
  font-style: italic;
  color: var(--astro-text-mid);
}

/* ================================================
   GRADIENT TEXT UTILITY
   ================================================ */
.astro-grad-text {
  background: var(--astro-title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--astro-grad-text-color);
  color: var(--astro-grad-text-color);
}

body.astro-light-theme .astro-grad-text {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #a07c2a;
  color: #a07c2a;
}

/* ================================================
   GLOBAL COMPONENTS — BUTTONS
   ================================================ */
.astro-btn-primary {
  display: inline-block;
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  background: var(--astro-btn-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 6px 30px var(--astro-accent-glow);
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.astro-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 35px var(--astro-accent-glow);
}

.astro-btn-primary .astro-btn-main {
  display: block;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.astro-btn-primary .astro-btn-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.astro-btn-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: ctaShimmer 3s linear infinite;
  pointer-events: none;
}

.astro-btn-secondary {
  display: inline-block;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px solid var(--astro-secondary-btn-border);
  background: var(--astro-secondary-btn-bg);
  color: var(--astro-secondary-btn-color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  line-height: 1.4;
  text-align: center;
}

.astro-btn-secondary:hover {
  border-color: var(--astro-accent);
}

.astro-btn-secondary .astro-btn-main {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.astro-btn-secondary .astro-btn-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.6;
  margin-top: 2px;
}

.astro-btn-outline {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 10px;
  border: none;
  background: var(--astro-btn-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 0 20px var(--astro-accent-glow);
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.astro-btn-outline:hover {
  transform: translateY(-1px);
}

/* ================================================
   GLOBAL COMPONENTS — INPUTS & FORMS
   ================================================ */
.astro-input-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--astro-text-mid);
  margin-bottom: 6px;
  display: block;
}

.astro-input-label .astro-optional {
  font-weight: 400;
  font-size: 10px;
  color: var(--astro-text-dim);
}

.astro-input,
.astro-select,
.astro-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--astro-input-border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--astro-text);
  background: var(--astro-input-bg);
  box-sizing: border-box;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  color-scheme: var(--astro-color-scheme);
}

.astro-input:focus,
.astro-select:focus,
.astro-textarea:focus {
  border-color: var(--astro-accent);
}

.astro-textarea {
  resize: vertical;
  min-height: 100px;
}

.astro-select {
  appearance: none;
  cursor: pointer;
}

/* ================================================
   GLOBAL COMPONENTS — CARDS
   ================================================ */
.astro-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--astro-card-surface);
  border: 1px solid var(--astro-surface-border);
  transition: all 0.5s;
}

/* ================================================
   GLOBAL COMPONENTS — FORM CARD
   ================================================ */
.astro-form-card {
  position: relative;
  overflow: visible;
  background: var(--astro-form-bg);
  border-radius: 20px;
  padding: 32px 28px 28px;
  border: 1px solid var(--astro-border);
  backdrop-filter: blur(24px);
  z-index: 1;
  animation: var(--astro-card-glow) 4s ease-in-out infinite;
}

.astro-form-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 6px;
  color: var(--astro-hero-title-color);
}

.astro-form-card-subtitle {
  text-align: center;
  font-size: 12px;
  color: var(--astro-text-dim);
  margin-bottom: 24px;
}

.astro-form-card .astro-form-glow-top {
  position: absolute;
  top: -1px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--astro-form-glow);
  border-radius: 50%;
  filter: blur(3px);
  z-index: 2;
}

.astro-form-card .astro-form-glow-extended {
  position: absolute;
  top: -2px;
  left: 40px;
  right: 40px;
  height: 4px;
  background: var(--astro-form-glow);
  border-radius: 50%;
  filter: blur(8px);
}

@media (max-width: 768px) {
  .astro-form-card {
    padding: 24px 18px 20px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
  }


  /* Tab-Buttons: Auf kleinen Screens Text kleiner + weniger Padding */
  .astro-tab-btn {
    font-size: 11px;
    padding: 9px 6px;
    letter-spacing: 0;
    min-width: 0;
  }
  .astro-tab-btn:nth-child(2),
  .astro-tab-btn:nth-child(3) {
    padding-right: 8px;
    padding-left: 4px;
  }

  /* CTA-Button: Schrift und Padding auf Mobile anpassen damit alles einzeilig bleibt */
  .astro-btn-primary {
    padding: 14px 16px;
  }
  .astro-btn-primary .astro-btn-main {
    font-size: 13px;
  }

  /* Payment-Icons: Gap und Größe auf Mobile verkleinern */
  .astro-payment-row {
    gap: 6px;
  }
  .astro-payment-badge {
    padding: 3px 7px;
    font-size: 8px;
  }
  .astro-pay-icon {
    height: 18px;
  }
  .astro-payment-label {
    font-size: 9px;
  }
}

/* ================================================
   GLOBAL COMPONENTS — UPLOAD BOX
   ================================================ */
.astro-upload-box {
  border: 2px dashed var(--astro-input-border);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  background: var(--astro-input-bg);
  transition: all 0.3s;
  position: relative;
}

.astro-upload-box.uploaded {
  border: 2px solid var(--astro-accent-dark);
  background: var(--astro-upload-active-bg);
}

.astro-upload-box .astro-upload-info {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--astro-upload-info-border);
  background: var(--astro-upload-info-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--astro-upload-info-color);
  cursor: pointer;
}

.astro-upload-box .astro-upload-emoji {
  font-size: 30px;
  margin-bottom: 6px;
}

.astro-upload-box .astro-upload-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--astro-upload-label-color);
}

.astro-upload-box .astro-upload-status {
  font-size: 11px;
  color: var(--astro-text-dim);
  margin-top: 3px;
}

/* ================================================
   GLOBAL COMPONENTS — PRIVACY CHECKBOX
   ================================================ */
.astro-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  border-radius: 10px;
  background: var(--astro-subtle-bg);
}

.astro-privacy-check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--astro-input-border);
  background: var(--astro-input-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-top: 1px;
}

.astro-privacy-check.checked {
  border: none;
  background: var(--astro-checkbox-bg);
}

.astro-privacy-check .checkmark {
  color: #fff;
  font-size: 11px;
  transition: all 0.2s;
  opacity: 0;
}

.astro-privacy-check.checked .checkmark {
  opacity: 1;
}

.astro-privacy-text {
  font-size: 11px;
  color: var(--astro-text-dim);
  line-height: 1.5;
}

.astro-privacy-text a {
  color: var(--astro-accent);
  text-decoration: underline;
}

/* ================================================
   GLOBAL COMPONENTS — PAYMENT ICONS
   ================================================ */
.astro-payment-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  gap: 10px;
  flex-wrap: wrap;
}

.astro-payment-label {
  font-size: 10px;
  color: var(--astro-text-dim);
  font-weight: 400;
}

.astro-payment-badge {
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid var(--astro-payment-border);
}

.astro-payment-badge.paypal { background: #003087; color: #fff; }
.astro-payment-badge.visa { background: #1a1f71; color: #fff; }
.astro-payment-badge.mastercard { background: #1a1a2e; color: #f79e1b; }
.astro-payment-badge.klarna { background: #ffb3c7; color: #0b0b0b; }
.astro-payment-badge.apple { background: #000; color: #fff; }

/* Payment SVG Icons */
.astro-pay-icon {
  height: 22px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.astro-pay-icon:hover {
  opacity: 1;
}

/* ================================================
   GLOBAL COMPONENTS — DIVIDER
   ================================================ */
.astro-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}

.astro-divider-line {
  flex: 1;
  height: 1px;
  background: var(--astro-surface-border);
}

.astro-divider-text {
  font-size: 11px;
  color: var(--astro-text-dim);
  font-weight: 500;
  letter-spacing: 1px;
}

/* ================================================
   GLOBAL COMPONENTS — TAB BAR
   ================================================ */
.astro-tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 3px;
}

body.astro-light-theme .astro-tab-bar {
  background: rgba(0,0,0,0.03);
}

.astro-tab-btn {
  flex: 1;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--astro-text-dim);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
  -webkit-tap-highlight-color: transparent;
}

.astro-tab-btn.active {
  background: var(--astro-btn-gradient);
  color: #fff;
}

/* ================================================
   HEADER
   ================================================ */
.astro-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  min-height: 57px;
  background: var(--astro-nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--astro-header-border);
  transition: all 0.5s;
}

.astro-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.astro-logo img {
  height: 56px;
  width: auto;
  transition: opacity 0.5s;
}

/* Dark Theme (default): Cosmic Logo sichtbar, Bright versteckt */
.astro-logo-cosmic {
  display: block;
}

.astro-logo-bright {
  display: none;
}

/* Light Theme: Bright Logo sichtbar, Cosmic versteckt */
body.astro-light-theme .astro-logo-cosmic {
  display: none;
}

body.astro-light-theme .astro-logo-bright {
  display: block;
}

.astro-nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  color: var(--astro-nav-link-color);
}

.astro-nav-links a,
.astro-nav-links span {
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}

.astro-nav-links a:hover,
.astro-nav-links span:hover {
  opacity: 0.7;
}

.astro-theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--astro-toggle-bg);
  border: 1px solid var(--astro-toggle-border);
  font-size: 16px;
  transition: all 0.3s;
}

.astro-theme-toggle:hover {
  transform: scale(1.05);
}

.astro-header-cta {
  padding: 9px 22px;
  border-radius: 10px;
  border: none;
  background: var(--astro-btn-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 0 20px var(--astro-accent-glow);
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}

.astro-header-cta:hover {
  transform: translateY(-1px);
}

/* ---- Entdecken Dropdown (Desktop) ---- */
.astro-nav-dropdown {
  position: relative;
}

.astro-nav-dropdown-trigger {
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 3px;
  user-select: none;
}

.astro-nav-dropdown-trigger:hover {
  opacity: 0.7;
}

.astro-nav-arrow {
  font-size: 9px;
  transition: transform 0.2s;
  display: inline-block;
}

.astro-nav-dropdown:hover .astro-nav-arrow {
  transform: rotate(180deg);
}

.astro-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--astro-nav-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--astro-header-border);
  border-radius: 12px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(6px);
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

body.astro-light-theme .astro-nav-dropdown-menu {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.astro-nav-dropdown:hover .astro-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.astro-nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--astro-nav-link-color);
  letter-spacing: 0.3px;
  transition: background 0.15s;
  white-space: nowrap;
}

.astro-nav-dropdown-menu a:hover {
  background: var(--astro-toggle-bg);
  opacity: 1;
}

/* ---- Entdecken Dropdown (Mobile) ---- */
.astro-mobile-dropdown {
  text-align: center;
}

.astro-mobile-dropdown-trigger {
  background: none;
  border: none;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--astro-text);
  cursor: pointer;
  letter-spacing: 2px;
  opacity: 0.8;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.astro-mobile-dropdown-trigger:hover {
  opacity: 1;
}

.astro-mobile-dropdown-trigger .astro-nav-arrow {
  font-size: 10px;
  transition: transform 0.2s;
}

.astro-mobile-dropdown.open .astro-nav-arrow {
  transform: rotate(180deg);
}

.astro-mobile-dropdown-menu {
  display: none;
  margin-top: 14px;
}

.astro-mobile-dropdown.open .astro-mobile-dropdown-menu {
  display: block;
}

.astro-mobile-dropdown-menu a {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: var(--astro-text-mid);
  letter-spacing: 1.5px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.astro-mobile-dropdown-menu a:hover {
  opacity: 1;
  color: var(--astro-text);
}

.astro-mobile-controls {
  display: none;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.astro-hamburger {
  display: none;
  width: 34px;
  height: 34px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.astro-hamburger-line {
  width: 20px;
  height: 2px;
  background: var(--astro-text);
  border-radius: 1px;
  transition: all 0.3s;
}

body.menu-open .astro-hamburger-line:nth-child(1) {
  transform: rotate(45deg) translateY(3.5px);
}

body.menu-open .astro-hamburger-line:nth-child(2) {
  opacity: 0;
}

body.menu-open .astro-hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-3.5px);
}

/* Mobile Menu */
.astro-mobile-menu {
  display: none;
  position: fixed;
  top: 63px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--astro-mobile-menu-bg);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  overflow-y: auto;
  animation: fadeUp 0.3s ease-out;
}

body.menu-open .astro-mobile-menu {
  display: flex;
}

.astro-mobile-menu a,
.astro-mobile-menu span {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  color: var(--astro-text);
  cursor: pointer;
  letter-spacing: 0.5px;
  opacity: 1;
  transition: opacity 0.2s, background 0.2s;
  text-decoration: none;
}

.astro-mobile-menu .astro-mobile-cta {
  display: block;
  margin: 8px 20px 24px;
  padding: 14px;
  border-radius: 16px;
  border: none;
  background: var(--astro-btn-gradient);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: 0 0 20px var(--astro-accent-glow);
}

@media (max-width: 768px) {
  .astro-header {
    padding: 12px 20px;
  }

  .astro-logo {
    font-size: 14px;
  }

  .astro-nav-links {
    display: none;
  }

  .astro-nav-dropdown {
    display: none;
  }

  .astro-hamburger {
    display: flex;
  }

  .astro-mobile-controls {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .astro-mobile-controls .astro-theme-toggle {
    display: flex;
  }
}

/* ================================================
   FOOTER
   ================================================ */
.astro-footer {
  position: relative;
  overflow: hidden;
  color: var(--astro-text-dim);
  transition: all 0.5s;
  background: var(--astro-footer-bg);
}

.astro-footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--astro-footer-glow);
}

.astro-footer-glow-soft {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--astro-footer-glow-soft);
  filter: blur(8px);
}

.astro-footer-inner {
  padding: 60px 48px 36px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.astro-footer-brand {
  text-align: center;
  margin-bottom: 44px;
}

.astro-footer-brand-name {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}
.astro-footer-brand-name img {
  height: 120px;
  width: auto;
  max-width: none;
}
.astro-footer-logo-dark { display: block; }
.astro-footer-logo-light { display: none; }
body.astro-light-theme .astro-footer-logo-dark { display: none; }
body.astro-light-theme .astro-footer-logo-light { display: block; }

.astro-footer-brand-tagline {
  font-size: 14px;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 20px;
  color: var(--astro-footer-tagline);
}

.astro-footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.astro-footer-divider-line {
  width: 40px;
  height: 1px;
  background: var(--astro-gold-line);
}

.astro-footer-divider-star {
  color: var(--astro-gold-star);
  font-size: 14px;
}

.astro-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
}

.astro-footer-col {
  text-align: center;
}

.astro-footer-col-icon {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--astro-gold-star);
  text-shadow: var(--astro-footer-icon-shadow);
  font-weight: 300;
}

.astro-footer-col-title {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--astro-footer-col-title);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.astro-footer-col-item {
  display: block;
  font-size: 13px;
  margin-bottom: 11px;
  cursor: pointer;
  color: var(--astro-footer-col-item);
  transition: color 0.2s;
  text-decoration: none;
}

.astro-footer-col-item:hover {
  opacity: 0.7;
}

.astro-footer-copyright {
  border-top: 1px solid var(--astro-copyright-border);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--astro-copyright-text);
}

.astro-footer-copyright a {
  color: var(--astro-copyright-link);
  text-decoration: none;
  border-bottom: 1px solid var(--astro-copyright-link-border);
  transition: border-color 0.2s;
}

.astro-footer-copyright a:hover {
  border-color: var(--astro-copyright-link);
}

.astro-footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.astro-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--astro-social-bg);
  border: 1px solid var(--astro-social-border);
  transition: all 0.3s;
  cursor: pointer;
}

.astro-footer-social a:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .astro-footer-inner {
    padding: 40px 20px 36px;
  }

  .astro-footer-brand-name img {
    height: 96px;
  }

  .astro-footer-brand-tagline {
    font-size: 12px;
  }

  .astro-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================
   CONTENT WRAPPER
   ================================================ */
.astro-content {
  min-height: 60vh;
}

.astro-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.astro-content {
  flex: 1;
}

/* ================================================
   SECTION UTILITIES
   ================================================ */
.astro-section {
  padding: 80px 48px;
  transition: all 0.5s;
}

.astro-section-alt {
  background: var(--astro-section-alt);
}

@media (max-width: 768px) {
  .astro-section {
    padding: 60px 20px;
  }
}

/* ================================================
   @KEYFRAMES ANIMATIONS
   ================================================ */
@keyframes starTwinkle {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.5); }
}

@keyframes nebulaFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(10px, -10px) scale(1.1); opacity: 0.8; }
}

@keyframes formGlowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes ctaShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

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

@keyframes goldDust {
  0% { transform: translateY(-10px) translateX(0); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.4; }
  100% { transform: translateY(calc(100vh * 0.4)) translateX(20px); opacity: 0; }
}

@keyframes goldPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

@keyframes flowerBreathe {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes borderGlowPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(124,58,237,0.15), inset 0 0 8px rgba(124,58,237,0.05), 0 25px 80px rgba(0,0,0,0.5);
    border-color: rgba(124,58,237,0.15);
  }
  50% {
    box-shadow: 0 0 18px rgba(124,58,237,0.3), inset 0 0 12px rgba(124,58,237,0.08), 0 25px 80px rgba(0,0,0,0.5);
    border-color: rgba(167,139,250,0.35);
  }
}

@keyframes borderGlowGold {
  0%, 100% {
    box-shadow: 0 0 10px rgba(201,168,76,0.1), inset 0 0 8px rgba(201,168,76,0.03), 0 15px 60px rgba(160,124,42,0.08);
    border-color: rgba(201,168,76,0.2);
  }
  50% {
    box-shadow: 0 0 22px rgba(201,168,76,0.2), inset 0 0 14px rgba(232,201,106,0.06), 0 15px 60px rgba(160,124,42,0.08);
    border-color: rgba(232,201,106,0.4);
  }
}

@keyframes skyDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(120px); }
}

@keyframes starPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes orbFloat {
  0%, 100% { transform: translate(-20px, -30px); opacity: 0.08; }
  50% { transform: translate(20px, 30px); opacity: 0.12; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes numberGlow {
  0%, 100% { text-shadow: 0 0 40px rgba(167,139,250,0.3), 0 0 80px rgba(124,58,237,0.15); }
  50% { text-shadow: 0 0 60px rgba(167,139,250,0.5), 0 0 120px rgba(124,58,237,0.25); }
}

@keyframes numberGlowGold {
  0%, 100% { text-shadow: 0 0 40px rgba(201,168,76,0.3), 0 0 80px rgba(232,201,106,0.15); }
  50% { text-shadow: 0 0 60px rgba(201,168,76,0.5), 0 0 120px rgba(232,201,106,0.25); }
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-24px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(24px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ---- Mobile Menu: Navigation Items ---- */
.astro-mobile-nav-items {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 8px;
}

.astro-mobile-nav-items > a {
  display: block;
  padding: 14px 12px;
  margin-bottom: 2px;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: 0.5px;
  font-family: 'Cinzel', serif;
  color: var(--astro-text);
  text-decoration: none;
  transition: background 0.2s;
}

.astro-mobile-nav-items > a:hover {
  background: rgba(167, 139, 250, 0.06);
}

/* ---- Mobile Menu: Entdecken Dropdown ---- */
.astro-mobile-dropdown {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

body.astro-light-theme .astro-mobile-dropdown {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.astro-mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: none;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--astro-text-dim, rgba(255,255,255,0.5));
  cursor: pointer;
}

body.astro-light-theme .astro-mobile-dropdown-trigger {
  color: rgba(0, 0, 0, 0.45);
}

.astro-mobile-dropdown-trigger .astro-nav-arrow {
  font-size: 8px;
  transition: transform 0.2s;
}

.astro-mobile-dropdown.open .astro-mobile-dropdown-trigger .astro-nav-arrow {
  transform: rotate(180deg);
}

.astro-mobile-dropdown-menu {
  display: none;
  flex-direction: column;
}

.astro-mobile-dropdown.open .astro-mobile-dropdown-menu {
  display: flex;
}

.astro-mobile-dropdown-menu a {
  display: block;
  padding: 14px 12px;
  margin-bottom: 2px;
  border-radius: 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-family: 'Cinzel', serif;
  color: var(--astro-accent, #a78bfa) !important;
  text-decoration: none;
  transition: background 0.2s;
}

.astro-mobile-dropdown-menu a:hover {
  background: rgba(167, 139, 250, 0.06);
}

/* ---- Mobile Menu: Account Section ---- */
.astro-mobile-account-section {
  padding: 8px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.astro-light-theme .astro-mobile-account-section {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.astro-mobile-section-label {
  font-size: 10px !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  color: var(--astro-text-dim, rgba(255,255,255,0.5)) !important;
  padding: 10px 12px;
  margin-bottom: 4px;
}

body.astro-light-theme .astro-mobile-section-label {
  color: rgba(0, 0, 0, 0.45) !important;
}

.astro-mobile-account-card {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 12px !important;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(167, 139, 250, 0.06);
  text-decoration: none !important;
  transition: background 0.2s;
}

.astro-mobile-account-card:hover {
  background: rgba(167, 139, 250, 0.1);
}

body.astro-light-theme .astro-mobile-account-card {
  background: rgba(167, 139, 250, 0.04);
}

body.astro-light-theme .astro-mobile-account-card:hover {
  background: rgba(167, 139, 250, 0.08);
}

.astro-mobile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.astro-mobile-avatar svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.astro-mobile-avatar-guest {
  background: linear-gradient(135deg, rgba(167,139,250,0.3), rgba(139,92,246,0.3));
}

.astro-mobile-account-text {
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: 'Inter', sans-serif !important;
  color: var(--astro-text) !important;
  letter-spacing: 0 !important;
}

.astro-mobile-chevron {
  margin-left: auto;
  opacity: 0.4;
  flex-shrink: 0;
}

/* ---- Desktop: Nav Actions Container ---- */
.astro-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.astro-nav-separator {
  display: block;
  width: 1px;
  height: 24px;
  background: var(--astro-header-border, rgba(255,255,255,0.08));
  margin: 0 4px;
  flex-shrink: 0;
}

body.astro-light-theme .astro-nav-separator {
  background: rgba(0, 0, 0, 0.1);
}

/* Desktop: Logged-In Avatar (Icon-Only Circle) */
.astro-nav-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(212, 160, 23, 0.4);
  background: rgba(212, 160, 23, 0.06);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.astro-nav-avatar:hover {
  border-color: rgba(212, 160, 23, 0.7);
  background: rgba(212, 160, 23, 0.1);
}

.astro-nav-avatar svg {
  color: #d4a017;
  stroke: #d4a017;
}

body.astro-light-theme .astro-nav-avatar {
  border-color: rgba(184, 134, 11, 0.3);
  background: rgba(184, 134, 11, 0.04);
}

body.astro-light-theme .astro-nav-avatar:hover {
  border-color: rgba(184, 134, 11, 0.5);
  background: rgba(184, 134, 11, 0.08);
}

body.astro-light-theme .astro-nav-avatar svg {
  color: #b8860b;
  stroke: #b8860b;
}

/* Desktop: Logged-Out Login Link */
.astro-nav-login-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--astro-text);
  text-decoration: none;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: opacity 0.2s, background 0.2s;
}

.astro-nav-login-link:hover {
  opacity: 0.7;
  background: rgba(167, 139, 250, 0.06);
}

@media (max-width: 767px) {
  .astro-nav-avatar,
  .astro-nav-separator,
  .astro-nav-actions,
  .astro-nav-login-link { display: none; }
}


/* ================================================
   PRINT STYLES
   ================================================ */
@media print {
  .astro-header,
  .astro-footer,
  .astro-mobile-menu,
  .astro-theme-toggle,
  .astro-hamburger,
  .astro-btn-shimmer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .astro-content {
    padding: 0;
  }

  * {
    animation: none;
    transition: none;
    box-shadow: none;
  }
}
