/* =========================================================
   SuryaVibes – Design System
   Indisch-spirituell, männlich-kraftvoll
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- Tokens --- */
:root {
  --gold:    #C8780A;
  --gold-lt: #E09020;
  --deep:    #080C14;
  --deep-2:  #0D1520;
  --deep-3:  #141E2C;
  --accent:  #1A4E6B;
  --accent-lt:#246080;
  --earth:   #3D2B1F;
  --light:   #F5EDD8;
  --light-2: #DDD0B8;
  --teal:    #2A7F7F;
  --teal-lt: #3AA8A8;
  --danger:  #C0392B;

  --font-head: 'Cinzel', 'Palatino Linotype', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius:   8px;
  --radius-lg:16px;
  --shadow:   0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 40px rgba(201,147,58,0.15);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--deep);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lt); }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; letter-spacing: .04em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--gold); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--light); }
h3 { font-size: 1.2rem; color: var(--gold-lt); }
p  { color: var(--light-2); max-width: 68ch; }

/* --- Layout Helpers --- */
.container { width: min(100%, 1120px); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--dark  { background: var(--deep-2); }
.section--earth { background: var(--earth); }
.text-center { text-align: center; }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.mb-4  { margin-bottom: 1rem; }

/* --- Divider --- */
.divider {
  display: flex; align-items: center; gap: 16px;
  margin: 40px 0; opacity: .35;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--gold); }
.divider-symbol { color: var(--gold); font-size: 1.4rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  font-family: var(--font-head); font-size: .9rem; letter-spacing: .08em;
  font-weight: 600; cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: var(--deep);
  box-shadow: 0 4px 20px rgba(201,147,58,.4);
}
.btn--gold:hover { box-shadow: 0 8px 32px rgba(201,147,58,.6); color: var(--deep); }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn--outline:hover { background: rgba(201,147,58,.1); color: var(--gold); }
.btn--accent {
  background: linear-gradient(135deg, var(--accent-lt), var(--accent));
  color: #fff;
  box-shadow: 0 4px 20px rgba(123,79,191,.4);
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,12,26,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,147,58,.15);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1120px; margin: 0 auto;
}
.nav__logo img { height: 44px; }
.nav__logo-text {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  letter-spacing: .1em; color: var(--gold-lt);
}
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a {
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--light-2); font-weight: 500;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta { margin-left: 16px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--light); margin: 5px 0; transition: .3s;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123,79,191,.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(42,127,127,.12) 0%, transparent 60%),
    var(--deep);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9933A' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .5; pointer-events: none;
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero__eyebrow {
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-lt); margin-bottom: 16px; font-weight: 500;
}
.hero__title { margin-bottom: 24px; }
.hero__subtitle { font-size: 1.1rem; margin-bottom: 40px; line-height: 1.8; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual {
  display: flex; justify-content: center; align-items: center;
}
.hero__mandala {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,147,58,.12) 0%, rgba(123,79,191,.08) 60%, transparent 80%);
  border: 1px solid rgba(201,147,58,.2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: pulse-ring 4s ease-in-out infinite;
}
.hero__mandala::before {
  content: '';
  position: absolute; inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(42,127,127,.25);
  animation: pulse-ring 4s ease-in-out infinite reverse;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.04); opacity: .8; }
}

.hero__visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.hero__visual::before {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,140,30,.28) 0%,
    rgba(255,110,20,.10) 45%,
    transparent 70%
  );
  pointer-events: none;
}
.hero__logo-img {
  width: 100%;
  max-width: 380px;
  position: relative;
  filter:
    drop-shadow(0 0 16px rgba(255,140,30,.75))
    drop-shadow(0 0 52px rgba(255,100,20,.28));
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header__label {
  font-size: .75rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--accent-lt); font-weight: 500; margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { margin: 0 auto; text-align: center; font-size: 1.05rem; }

/* =========================================================
   YOUTUBE SECTION
   ========================================================= */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.yt-card {
  background: var(--deep-3);
  border: 1px solid rgba(201,147,58,.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.yt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,147,58,.35);
  box-shadow: var(--shadow-gold);
}
.yt-card__thumb {
  position: relative; padding-bottom: 56.25%; overflow: hidden;
}
.yt-card__thumb iframe,
.yt-card__thumb .yt-placeholder {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.yt-placeholder { cursor: pointer; overflow: hidden; }
.yt-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.yt-placeholder:hover img { transform: scale(1.04); }
.yt-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
  transition: transform .2s;
}
.yt-placeholder:hover .yt-play-btn { transform: translate(-50%,-50%) scale(1.12); }

/* Consent Banner */
#ytConsentBanner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--deep-2);
  border-top: 1px solid rgba(201,147,58,.25);
  z-index: 9999;
  padding: 20px 24px;
  box-shadow: 0 -4px 32px rgba(0,0,0,.5);
}
.yt-consent__inner {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.yt-consent__text {
  flex: 1; min-width: 260px;
  font-size: .88rem; color: var(--light-2);
  max-width: 100%; margin: 0;
}
.yt-consent__text strong { color: var(--light); }
.yt-consent__text a { color: var(--teal-lt); text-decoration: underline; }
.yt-consent__actions {
  display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap;
}
.yt-card__body { padding: 16px 20px; }
.yt-card__title {
  font-size: .95rem; font-weight: 600; color: var(--light);
  line-height: 1.4; margin-bottom: 8px;
}
.yt-card__meta { font-size: .8rem; color: var(--light-2); opacity: .7; }
.yt-channel-cta {
  text-align: center; margin-top: 40px;
}
.yt-channel-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--light-2); font-size: .9rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.15); padding: 10px 24px;
  border-radius: 999px; transition: all .2s;
}
.yt-channel-cta a:hover { border-color: var(--gold); color: var(--gold); }

/* =========================================================
   KURS / THEMEN GRID
   ========================================================= */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.theme-card {
  background: var(--deep-3);
  border: 1px solid rgba(123,79,191,.2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.theme-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.theme-card:hover { transform: translateY(-4px); border-color: rgba(123,79,191,.5); box-shadow: 0 8px 32px rgba(123,79,191,.15); }
.theme-card:hover::before { transform: scaleX(1); }
.theme-card--inactive { opacity: .55; cursor: default; }
.theme-card--inactive:hover { transform: none; }
.theme-card__number {
  font-family: var(--font-head); font-size: 2rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.theme-card__title { font-size: 1.15rem; font-weight: 600; color: var(--light); line-height: 1.3; }
.theme-card__desc { font-size: .88rem; color: var(--light-2); line-height: 1.6; flex: 1; }
.theme-card__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
  font-weight: 600; width: fit-content;
}
.theme-card__badge--soon {
  background: rgba(255,255,255,.07);
  color: var(--light-2);
  border: 1px solid rgba(255,255,255,.1);
}
.theme-card__badge--ready {
  background: rgba(42,127,127,.15);
  color: var(--teal-lt);
  border: 1px solid rgba(42,127,127,.3);
}

/* =========================================================
   AUDIO PLAYER
   ========================================================= */
.audio-player {
  background: var(--deep-3);
  border: 1px solid rgba(201,147,58,.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-gold);
}
.audio-player__title {
  font-family: var(--font-head); font-size: 1.1rem; color: var(--gold);
  margin-bottom: 20px;
}
.audio-player audio {
  width: 100%;
  accent-color: var(--gold);
  height: 44px;
}
.audio-player audio::-webkit-media-controls-panel {
  background: var(--deep-2);
}

/* Tages-Seite Navigation */
.day-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; gap: 16px;
}
.day-nav a { font-size: .9rem; display: flex; align-items: center; gap: 8px; }

/* =========================================================
   ACCESS DENIED / ERROR PAGE
   ========================================================= */
.access-block {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
}
.access-block__card {
  background: var(--deep-3);
  border: 1px solid rgba(201,147,58,.2);
  border-radius: var(--radius-lg);
  padding: 48px; max-width: 480px; text-align: center;
}
.access-block__icon { font-size: 3rem; margin-bottom: 20px; }
.access-block__card h2 { margin-bottom: 16px; }
.access-block__card p { margin: 0 auto 28px; }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.85;
}
.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  font-family: var(--font-head);
  line-height: 1.3;
  letter-spacing: .04em;
}
.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--gold-lt);
  margin: 0 0 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(201,147,58,.2);
}
.legal-content h2 {
  font-size: 1.25rem;
  color: var(--light);
  margin: 48px 0 14px;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--light);
  margin: 32px 0 10px;
}
.legal-content h4 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--light-2);
  margin: 22px 0 8px;
}
.legal-content p {
  color: var(--light-2);
  max-width: 100%;
  margin: 0 0 16px;
}
.legal-content p:last-child {
  margin-bottom: 0;
}
.legal-content a {
  color: var(--teal-lt);
  text-decoration: underline;
  word-break: break-all;
}
.legal-content a:hover {
  color: var(--gold-lt);
}
.legal-content ul {
  padding-left: 28px;
  margin: 0 0 16px;
}
.legal-content ul li {
  color: var(--light-2);
  margin-bottom: 10px;
  line-height: 1.7;
}
.legal-content strong {
  color: var(--light);
  font-weight: 600;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--deep-2);
  border-top: 1px solid rgba(201,147,58,.1);
  padding: 48px 0 24px;
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap; margin-bottom: 32px;
}
.footer__brand p { font-size: .85rem; margin-top: 12px; max-width: 28ch; }
.footer__links h4 {
  font-family: var(--font-head); font-size: .85rem; letter-spacing: .1em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
}
.footer__links ul { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { font-size: .85rem; color: var(--light-2); }
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: var(--light-2); opacity: .5; flex-wrap: wrap; gap: 8px;
}

/* =========================================================
   ANMELDE-MODAL
   ========================================================= */
#svRegisterModal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.sv-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(10,8,18,.82);
  backdrop-filter: blur(6px);
}
.sv-modal__box {
  position: relative; z-index: 1;
  background: var(--deep-2, #1e1630);
  border: 1px solid rgba(201,147,58,.25);
  border-radius: 16px;
  width: 100%; max-width: 440px;
  padding: 36px 32px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.sv-modal__close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; color: var(--light-2);
  font-size: 1.1rem; cursor: pointer; padding: 4px 8px;
  opacity: .6; transition: opacity .2s;
}
.sv-modal__close:hover { opacity: 1; }
.sv-modal__eyebrow {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.sv-modal__title {
  font-family: var(--font-head); font-size: 1.5rem;
  color: var(--light); margin-bottom: 8px;
}
.sv-modal__sub { font-size: .9rem; color: var(--light-2); margin-bottom: 24px; }
.sv-field { margin-bottom: 16px; }
.sv-field label { display: block; font-size: .82rem; color: var(--light-2); margin-bottom: 6px; }
.sv-field input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; color: var(--light); font-size: .95rem;
  transition: border-color .2s; box-sizing: border-box;
}
.sv-field input:focus { outline: none; border-color: var(--gold); }
#svCaptcha { margin: 16px 0; }
.sv-modal__error {
  background: rgba(220,50,50,.15); border: 1px solid rgba(220,50,50,.3);
  border-radius: 8px; padding: 10px 14px;
  font-size: .85rem; color: #f88; margin-bottom: 14px;
}
.sv-modal__submit { width: 100%; margin-top: 4px; }
.sv-modal__legal {
  font-size: .73rem; color: var(--light-2); opacity: .5;
  text-align: center; margin-top: 12px; line-height: 1.5;
}
.sv-modal__success {
  flex-direction: column; align-items: center; text-align: center; gap: 12px;
}
.sv-success__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(80,200,120,.15); border: 2px solid rgba(80,200,120,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #5bc880;
}
.sv-modal__success h3 { color: var(--light); font-family: var(--font-head); font-size: 1.3rem; }
.sv-modal__success p  { color: var(--light-2); font-size: .9rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .nav__links { display: none; }
  .nav-toggle { display: block; }
  .footer__inner { flex-direction: column; }
  .yt-grid { grid-template-columns: 1fr; }
  .themes-grid { grid-template-columns: 1fr; }
  .day-nav { flex-direction: column; }
}
