/* ═══════════════════════════════════════════════════════════════════
   global.css – Gemeinsame Styles für alle Seiten der Fetish Villa Dresden
   Eingebunden per <link> in jeder HTML-Seite.
   Seitenspezifische Styles bleiben im jeweiligen <style>-Tag.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Web Fonts ── */
@font-face {
  font-family: 'Bebas Neue';
  src: url('fonts/bebas-neue-v16-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('fonts/dm-serif-display-v17-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('fonts/dm-serif-display-v17-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-v17-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-v17-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-v17-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── CSS-Variablen ── */
:root {
  --black: #080608;
  --off-white: #F0EBF0;
  --red: #A10000;
  --red-dim: #5a0000;
  --gold: #C9A97A;
  --gray-dark: #100e10;
  --gray-subtle: #261f26;
  --text-muted: #7a7080;
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); }

/* ── Buttons ── */
.btn-primary {
  background: var(--red);
  color: var(--off-white);
  text-decoration: none;
  padding: 0.95rem 2rem;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
  border-radius: 2px;
  display: inline-block;
}
.btn-primary:hover { background: var(--red-dim); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--off-white);
  text-decoration: none;
  padding: 0.95rem 2rem;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  border: 1px solid rgba(240,235,240,0.3);
  transition: border-color 0.2s, color 0.2s;
  border-radius: 2px;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--off-white); color: var(--off-white); }

/* ── Typografie-Utilities ── */
.section-label {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
  font-weight: normal;
  font-size: 0.88em;
}

/* ── Page Header ── */
.page-header {
  padding: 9rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-subtle);
}
.page-header .eyebrow {
  font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  max-width: 900px;
  margin: 0 auto;
}
.page-header h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
  font-weight: normal;
  font-size: 0.88em;
}

/* ── CTA-Band ── */
.cta-band {
  padding: clamp(4rem, 8vw, 6rem) 2rem;
  text-align: center;
  border-top: 1px solid var(--gray-subtle);
  background: var(--gray-dark);
}
.cta-band-inner { max-width: 700px; margin: 0 auto; }
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.cta-band-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
  font-weight: normal;
  font-size: 0.88em;
}
.cta-band-text {
  color: rgba(240,235,240,0.65);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ── Lightbox-Basis (galerie.html + obergeschoss.html) ── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--off-white);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.5rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 1001;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--red); border-color: var(--red); }
.lightbox-close { top: 2rem; right: 2rem; }
.lightbox-prev  { top: 50%; left: 2rem;  transform: translateY(-50%); }
.lightbox-next  { top: 50%; right: 2rem; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(240,235,240,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

/* ── Modus-Schalter (neuigkeiten.html + veranstaltungen.html) ── */
.mode-a { display: none; }
.mode-b { display: none; }
body[data-mode="a"] .mode-a { display: block; }
body[data-mode="b"] .mode-b { display: block; }

/* ── Slideshow / Redirect (neuigkeiten.html + veranstaltungen.html) ── */
.redirect-wrap {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}
.slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideFade 27s infinite;
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 9s; }
.slide:nth-child(3) { animation-delay: 18s; }
@keyframes slideFade {
  0%   { opacity: 0; }
  11%  { opacity: 1; }
  33%  { opacity: 1; }
  44%  { opacity: 0; }
  100% { opacity: 0; }
}
.slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,6,8,0.6) 0%, rgba(8,6,8,0.85) 100%);
  z-index: 1;
}
.redirect-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}
.redirect-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2rem;
  font-weight: 500;
}
.redirect-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}
.redirect-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
  font-weight: normal;
  font-size: 0.88em;
}
.redirect-text {
  font-size: 1.05rem;
  color: rgba(240,235,240,0.8);
  max-width: 52ch;
  margin: 0 auto 3rem;
  line-height: 1.85;
}
.redirect-text strong { color: var(--gold); font-weight: 400; }
.redirect-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--red);
  color: var(--off-white);
  text-decoration: none;
  padding: 1.25rem 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s, gap 0.3s;
  border-radius: 2px;
}
.redirect-cta:hover { background: var(--red-dim); gap: 1.5rem; transform: translateY(-2px); }
.redirect-cta-arrow {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
}
.redirect-hint {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: rgba(240,235,240,0.45);
  letter-spacing: 0.05em;
  font-style: italic;
}

@media (max-width: 768px) {
  .redirect-wrap { padding: 7rem 1.5rem 3rem; }
  .slide:nth-child(2), .slide:nth-child(3) { display: none; }
  .slide:nth-child(1) { animation: none; opacity: 1; }
}
