/* ============================================================
   SOULEYA – Base Styles & Reset
   ============================================================ */

/* Georgia ist systemseitig vorhanden – kein Google Fonts Import nötig */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--bg-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .4s, color .3s;
}

/* ── Typografie ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  line-height: var(--leading-tight);
  color: var(--text-h);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }

p {
  color: var(--text-body);
  line-height: var(--leading-relaxed);
  font-weight: 400;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold2);
}

img, video {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-label);
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--text-base);
}

ul, ol {
  list-style: none;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

/* ── Labels (uppercase, letter-spacing erlaubt) ── */
.label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

/* ── Divider ── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--gold3);
  margin: var(--space-4) auto;
  opacity: 0.4;
}

/* ── Accessibility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background-color: rgba(200, 169, 110, 0.3);
  color: var(--text-h);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-solid); }
::-webkit-scrollbar-thumb { background: var(--gold3); border-radius: var(--radius-full); }

/* ── Animationen ── */
@keyframes enso-draw {
  from { stroke-dashoffset: 280; }
  to   { stroke-dashoffset: 15; }
}

@keyframes soft-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes counter-glow {
  0%, 100% { text-shadow: 0 0 20px rgba(200, 169, 110, 0.3); }
  50%      { text-shadow: 0 0 40px rgba(200, 169, 110, 0.5); }
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
