/* POTTFIT Prime — Teilnahmebedingungen (Light Theme, matched to pottfit-prime.de) */

:root {
  --black: #000000;
  --dark: #2d2d2d;
  --grey-900: #1a1a1a;
  --grey-800: #3a3a3a;
  --grey-500: #6c757d;
  --grey-300: #d5d5d5;
  --grey-100: #f5f5f3;
  --grey-50: #fafaf8;
  --white: #ffffff;
  --gold: #c3955b;
  --gold-dark: #8a5224;
  --gold-light: #e8c28e;
  --gold-pale: #f5e9d5;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--dark);
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.gold { color: var(--gold); }
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95em;
  color: var(--gold-dark);
  background: var(--gold-pale);
  padding: 2px 7px;
  border-radius: 4px;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.container.narrow { max-width: 720px; }

a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}
a:hover { opacity: 0.75; }

h1, h2, h3, h4 { font-weight: 900; letter-spacing: -0.01em; color: var(--dark); }
p { margin-bottom: 1rem; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 100px 0 90px;
  text-align: center;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 30%, rgba(195,149,91,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(195,149,91,0.15) 0%, transparent 60%),
    linear-gradient(180deg, #111111 0%, #1a1a1a 50%, #2d2d2d 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(195,149,91,0.015) 100px, rgba(195,149,91,0.015) 101px);
}
.hero-content { position: relative; z-index: 2; }
.hero-logo {
  height: 44px;
  margin-bottom: 44px;
  opacity: 0.95;
  filter: drop-shadow(0 2px 20px rgba(195,149,91,0.2));
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero-subtitle {
  font-size: clamp(15px, 1.9vw, 18px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.18em;
  padding: 18px 38px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.25s, background 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(195,149,91,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gold-dark);
  box-shadow: 0 10px 28px rgba(138,82,36,0.4);
  text-decoration: none;
  opacity: 1;
}

/* ========== SECTIONS ========== */
.section {
  padding: 90px 0;
  position: relative;
}
.section-light { background: var(--white); }
.section-grey { background: var(--grey-50); }
.section-progress {
  background: var(--white);
  padding: 80px 0 100px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  color: var(--dark);
}
.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey-800);
  max-width: 640px;
}

/* ========== PROGRESS BAR ========== */
.progress-wrap {
  margin-top: 24px;
}
.progress-bar-container {
  position: relative;
  padding: 160px 55px 70px;
}
.progress-track {
  position: relative;
  height: 12px;
  background: var(--grey-100);
  border-radius: 100px;
  border: 1px solid var(--grey-300);
  overflow: visible;
}
.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 55%, var(--gold-light) 100%);
  border-radius: 100px;
  box-shadow: 0 0 16px rgba(195,149,91,0.4);
  transition: width 1.8s cubic-bezier(.22,1,.36,1);
}
.progress-dots {
  position: absolute;
  inset: 0;
}
.progress-dot {
  position: absolute;
  transform: translateX(-50%);
  top: 50%;
  margin-top: -7px;
}
.progress-dot.dot-start { transform: translateX(0); }
.dot-inner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--gold);
}
.dot-label {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 0.03em;
}
.dot-label span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
}
.progress-dot.dot-start .dot-label { left: 0; transform: none; text-align: left; }

.gift-row {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 55px;
  right: 55px;
  pointer-events: none;
}
@media (max-width: 640px) {
  .gift-row { left: 45px; right: 45px; }
}
@media (max-width: 460px) {
  .gift-row { left: 38px; right: 38px; }
}
.gift-item {
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  width: 110px;
  text-align: center;
  pointer-events: auto;
}
.gift-icon-wrap {
  position: relative;
  width: 74px;
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gift-icon {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 12px rgba(195,149,91,0.3));
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}
.gift-item:hover .gift-icon { transform: translateY(-3px) scale(1.05); }

.gift-open .gift-icon {
  animation: gift-bob 3s ease-in-out infinite;
}
@keyframes gift-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.gift-confetti {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 20px;
  animation: sparkle 2.4s ease-in-out infinite;
  z-index: 3;
}
@keyframes sparkle {
  0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(15deg); }
}

.gift-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.2;
  animation: pulse-ring 2.2s ease-out infinite;
  z-index: 1;
}
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

.gift-finale .gift-icon {
  filter: drop-shadow(0 4px 20px rgba(195,149,91,0.5));
  animation: finale-glow 3s ease-in-out infinite;
}
@keyframes finale-glow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 20px rgba(195,149,91,0.5)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 4px 28px rgba(195,149,91,0.75)); }
}

.gift-label {
  font-size: 22px;
  font-weight: 900;
  margin-top: 12px;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.gift-finale .gift-label { color: var(--gold-dark); }
.gift-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-top: 2px;
}
.gift-open .gift-sub { color: var(--gold-dark); }
.gift-current .gift-sub { color: var(--gold-dark); }

.progress-meta {
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding-top: 20px;
  border-top: 1px solid var(--grey-300);
}
.progress-updated {
  font-size: 12px;
  color: var(--grey-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========== STEPS ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.step {
  padding: 32px 26px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(195,149,91,0.12);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 18px;
}
.step-title {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--dark);
}
.step-desc {
  font-size: 14.5px;
  color: var(--grey-800);
  line-height: 1.6;
}
.step-desc a { color: var(--gold-dark); }

/* ========== RULES LIST ========== */
.rule-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rule-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: var(--grey-50);
  border: 1px solid var(--grey-300);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--grey-800);
}
.rule-list li strong { color: var(--dark); }
.rule-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

/* ========== LEGAL ========== */
.section-legal {
  background: var(--grey-50);
  border-top: 1px solid var(--grey-300);
  padding: 90px 0 100px;
}
.section-legal .section-title { margin-bottom: 40px; }
.section-legal h3 {
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 32px;
  margin-bottom: 10px;
}
.section-legal h3:first-of-type { margin-top: 12px; }
.section-legal p, .section-legal li {
  color: var(--grey-800);
  font-size: 14.5px;
  line-height: 1.7;
}
.section-legal ul, .section-legal ol {
  padding-left: 24px;
  margin-bottom: 14px;
}
.section-legal li { margin-bottom: 4px; }
.section-legal strong { color: var(--dark); font-weight: 700; }
.legal-meta {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--grey-300);
  font-size: 12px;
  color: var(--grey-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========== FOOTER ========== */
.footer {
  padding: 40px 0 48px;
  background: var(--dark);
  color: var(--white);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo {
  height: 28px;
  opacity: 0.85;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); text-decoration: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  .hero { padding: 70px 0 70px; }
  .section { padding: 60px 0; }
  .gift-item { width: 90px; top: 8px; }
  .gift-icon { width: 52px; height: 52px; }
  .gift-icon-wrap { width: 60px; height: 60px; }
  .gift-label { font-size: 18px; margin-top: 10px; }
  .gift-sub { font-size: 10px; }
  .progress-bar-container { padding: 125px 45px 60px; }
  .btn { padding: 16px 30px; font-size: 13px; }
}

@media (max-width: 460px) {
  .gift-item { width: 74px; top: 8px; }
  .gift-icon { width: 44px; height: 44px; }
  .gift-icon-wrap { width: 50px; height: 50px; }
  .gift-label { font-size: 15px; }
  .gift-sub { font-size: 9px; letter-spacing: 0.08em; }
  .dot-label { font-size: 11px; }
  .dot-label span { font-size: 9px; }
  .progress-bar-container { padding: 110px 38px 50px; }
}
