/* ===========================
   GLOBAL.CSS – Pia Vinici
   Nur Reset, Fonts & gemeinsame
   Utilities – KEIN Theme!
=========================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

img, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: 2px solid #b8860b;
  outline-offset: 3px;
}

/* --- FONTS --- */
:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Quicksand', sans-serif;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- BACK BUTTON (alle Unterseiten) --- */
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  transition: all var(--transition);
}
.back-btn:hover {
  color: #fff;
  background: rgba(0,0,0,0.55);
}

/* --- SITE FOOTER (index.html) --- */
.site-footer {
  background: #0c0a08;
  color: rgba(255,255,255,0.38);
  text-align: center;
  padding: 36px clamp(1rem, 4vw, 2rem);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  letter-spacing: 0.06em;
}
.footer-links a:hover { color: #ffd700; }

/* --- AGE GATE --- */
.age-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; padding: 1.5rem;
}
.age-modal {
  max-width: 480px; width: 100%;
  background: #111; color: #f7f7f7;
  border-radius: 12px; padding: 2rem 1.75rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.65);
  text-align: left;
}
.age-modal h2 {
  font-family: var(--font-display);
  font-size: 1.6rem; margin-bottom: 0.75rem;
}
.age-modal p { font-size: 0.95rem; line-height: 1.6; }
.age-actions {
  display: flex; gap: 0.75rem;
  margin-top: 1.5rem; flex-wrap: wrap;
}
.btn-age-confirm, .btn-age-deny {
  flex: 1 1 140px; padding: 0.7rem 1rem;
  border-radius: var(--radius-full); border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.9rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.btn-age-confirm { background: #c79d6a; color: #111; }
.btn-age-confirm:hover { background: #d3aa76; }
.btn-age-deny { background: transparent; color: #f7f7f7; border: 1px solid rgba(255,255,255,0.3); }
.btn-age-deny:hover { background: rgba(255,255,255,0.06); }
.age-note { margin-top: 1rem; font-size: 0.8rem; opacity: 0.8; }

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 9998; padding: 0.75rem; display: none;
}
.cookie-inner {
  max-width: 960px; margin: 0 auto;
  background: rgba(10,10,10,0.96); color: #f5f5f5;
  border-radius: var(--radius-full); padding: 0.9rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.65);
}
.cookie-text { font-size: 0.8rem; line-height: 1.5; flex: 1 1 auto; }
.cookie-text a { color: #ffd700; text-decoration: underline; }
.cookie-actions { display: flex; flex-shrink: 0; gap: 0.5rem; }
.btn-cookie-primary, .btn-cookie-secondary {
  padding: 0.45rem 0.9rem; border-radius: var(--radius-full);
  border: none; cursor: pointer; font-family: var(--font-body);
  font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; white-space: nowrap;
}
.btn-cookie-primary { background: #c79d6a; color: #111; }
.btn-cookie-primary:hover { background: #d3aa76; }
.btn-cookie-secondary { background: transparent; color: #f5f5f5; border: 1px solid rgba(255,255,255,0.35); }
.btn-cookie-secondary:hover { background: rgba(255,255,255,0.08); }
.cookie-btn {
  position: fixed; bottom: 20px; left: 20px; z-index: 999;
  width: 44px; height: 44px; display: flex;
  align-items: center; justify-content: center;
  background: #fff; border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  color: #7a7166; cursor: pointer;
}
.cookie-btn:hover { color: #b8860b; }

@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; border-radius: 18px; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}