@import url('fonts/fonts.css');

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

/* ── Basis (alle Seiten) ─────────────────────────────────────────── */
html, body {
  width: 100%;
  background: #000;
}


/* ══ Startseite ══════════════════════════════════════════════════ */

body.home {
  height: 100%;
  overflow: hidden;
}

/* Splide fullscreen */
#splide {
  width: 100vw;
  height: 100vh;
}

.splide__track,
.splide__list,
.splide__slide {
  height: 100%;
}

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.splide__arrow { display: none; }

/* Control-Pill */
#controls {
  position: fixed;
  bottom: 2rem;
  left: 0;
  right: 0;
  width: fit-content;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 20;
  user-select: none;
}

#controls.visible { opacity: 1; }

.ctrl-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.ctrl-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.ctrl-btn:active { transform: scale(0.88); }

.ctrl-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}

.ctrl-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 6px;
  flex-shrink: 0;
}

#slide-counter {
  color: rgba(255, 255, 255, 0.55);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  padding: 0 8px 0 4px;
  white-space: nowrap;
}

/* Rechtliche Links */
#legal {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 20;
}

#legal.visible { opacity: 1; }

#legal a {
  color: rgba(255, 255, 255, 0.4);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

#legal a:hover { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 900px) {
  #legal {
    bottom: 0.5rem;
    left: 0;
    right: 0;
    width: fit-content;
    margin-inline: auto;
    white-space: nowrap;
  }
}

/* Fortschrittsbalken */
#splide-progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  width: 0%;
  z-index: 30;
}


/* ══ Inhaltsseiten (Impressum, Datenschutz) ══════════════════════ */

body.content {
  min-height: 100%;
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem 8rem;
}

h1 {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.9rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Datenschutz: mehr Abstand vor h2 wegen dichtem Inhalt */
.page-datenschutz h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.3;
}

p + p {
  margin-top: 1rem;
}

ul {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

li {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Navigation */
nav {
  position: fixed;
  bottom: 2rem;
  left: 0;
  right: 0;
  width: fit-content;
  margin-inline: auto;
  display: flex;
  gap: 12px;
  padding: 6px 14px;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  white-space: nowrap;
}

nav a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav a:hover { color: rgba(255, 255, 255, 0.85); }

nav .divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  align-self: stretch;
}
