/* ===========================
   UMFRAGEN.CSS – Pia Vinici
   Vollständig, keine global.css nötig
=========================== */


/* --- RESET --- */
*, *::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;
}


/* --- TOKENS --- */
: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);
  --gold:         #b8860b;
  --gold-light:   #ffd700;
  --gold-hover:   #9a6e09;
  --teal:         #2a9d8f;
  --dark:         #111111;
  --soft:         #f7f3ef;
  --surface:      #ffffff;
  --text:         #2c2c2c;
  --text-muted:   #7a7166;
  --text-faint:   #b0a89e;
  --border:       rgba(60, 40, 20, 0.12);
  --divider:      #ddd8d0;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.14);
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--soft);
  color: var(--text);
}


/* --- HEADER --- */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px clamp(1rem, 4vw, 2rem);
  background: rgba(8, 6, 4, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-social { display: none; }
.header-spacer { display: none; }

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-img {
  height: 88px;
  width: auto;
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 4px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.9))
          drop-shadow(0 0 2px #fff);
}

.hero-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}


/* --- ZURÜCK BUTTON --- */
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px 8px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.1);
}

.back-btn:hover {
  color: #fff;
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.2);
}


/* --- HERO --- */
/* --- HERO --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* WICHTIG: min-height statt height, damit es mitwachsen kann! */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 140px; /* Platz für den festen Header */
  padding-bottom: 80px; /* Platz unten */
  /* overflow: hidden; WURDE GELÖSCHT, damit man scrollen kann! */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: blur(2px);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.08) 55%,
    rgba(0,0,0,0.28) 100%
  );
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 40px;
  padding-inline: 1rem;
}

.hero-logo {
  height: clamp(160px, 28vw, 480px);
  width: auto;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.9))
          drop-shadow(0 0 2px #fff);
}

.hero-divider {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.55);
  margin: 0 auto 16px;
}

.hero-sub {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 14px;
}

.ex-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.4rem + 3vw, 4.2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 16px;
}

.ex-sub {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  max-width: 34rem;
  margin-inline: auto;
}


/* --- HERO CTA WRAP --- */
/* --- HERO CTA WRAP --- */
.hero-cta-wrap {
  position: relative; /* WICHTIG: War vorher absolute! */
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: 640px; /* Etwas breiter für die Umfragen */
  padding-inline: clamp(1rem, 4vw, 2rem);
  margin-top: 40px; /* Schiebt die Boxen brav unter den Text */
  /* bottom, left, transform und pointer-events wurden hier gelöscht */
}

.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: all;
  width: 100%;
}


/* --- UMFRAGE BEREICH --- */
.poll-wrap {
  width: 100%;
}

.poll-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.45);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  padding: 32px 0;
}

.poll-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.poll-empty {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  line-height: 1.7;
  padding: 32px 0;
}

.poll-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.poll-question {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  font-weight: 400;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}

.poll-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.poll-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-xl);
  padding: 14px 12px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  font-family: var(--font-body);
  color: rgba(255,255,255,0.8);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.poll-option:hover {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.poll-option:active {
  transform: translateY(0);
}

.poll-option.selected {
  border-color: var(--gold-light);
  background: rgba(255,215,0,0.1);
  color: var(--gold-light);
  box-shadow: 0 4px 20px rgba(184,134,11,0.3);
}

.poll-option-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 4px);
}

.poll-option-label {
  text-align: center;
}

.poll-vote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #b8860b 0%, #ffd700 50%, #b8860b 100%);
  background-size: 200% 100%;
  color: #111;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 48px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 32px rgba(184,134,11,0.5), 0 2px 8px rgba(0,0,0,0.28);
  animation: pulse-gold 2.4s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 6px 32px rgba(184,134,11,0.5), 0 2px 8px rgba(0,0,0,0.28);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 10px 44px rgba(255,215,0,0.7), 0 4px 12px rgba(0,0,0,0.3);
    transform: scale(1.04);
  }
}

.poll-vote-btn:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
  animation: none;
}

.poll-vote-btn:not(:disabled):hover {
  background-position: 100% 0;
  box-shadow: 0 10px 44px rgba(255,215,0,0.65), 0 4px 12px rgba(0,0,0,0.3);
  animation: none;
}

.poll-results {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}

.poll-results-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  font-weight: 400;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 4px;
}

.poll-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.poll-bar-item.my-vote {
  border-color: rgba(255,215,0,0.35);
  background: rgba(255,215,0,0.06);
}

.poll-bar-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.poll-bar-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poll-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.poll-bar-label {
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.poll-bar-pct {
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  font-weight: 700;
  color: var(--gold-light);
}

.poll-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
}

.poll-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.poll-bar-count {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}

.poll-voted-hint {
  text-align: center;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  color: rgba(255,215,0,0.6);
  letter-spacing: 0.06em;
}

.poll-single {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  margin-top: 8px;
}

.poll-single:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.suggestion-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.suggestion-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
}

.suggestion-btn:disabled {
  opacity: 0.5;
  cursor: default;
}


/* --- FOOTER --- */
.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: var(--gold-light);
}


/* --- 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);
}


/* --- MOBILE --- */
@media (max-width: 640px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 18px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .hero-text {
    margin-bottom: 24px;
  }

  .hero-logo {
    height: clamp(120px, 40vw, 220px);
  }

  .ex-title {
    font-size: clamp(2rem, 1.3rem + 4vw, 3.1rem);
  }

  .ex-sub {
    font-size: 1rem;
    line-height: 1.7;
    padding-inline: 0.5rem;
  }

  .hero-cta-wrap {
    bottom: 28px;
  }

  .poll-options {
    grid-template-columns: 1fr;
  }

  .poll-option-img {
    height: 160px;
  }

  .poll-vote-btn {
    width: 100%;
    padding: 14px 32px;
  }

  .suggestion-btn {
    padding: 14px 32px;
  }
}