/* ============================================================
   Weddy Games — statische Website
   Reines CSS, keine externen Fonts oder Tracker.
   Farben zentral hier anpassbar.
   ============================================================ */

:root {
  --cream: #f8f4ec;
  --sand: #e9dfd2;
  --ink: #2c1e19;
  --ink-soft: #65534a;
  --sage: #6b7a5e;
  --sage-dark: #525f48;
  --terracotta: #6b7a5e;
  --white: #fffaf2;
  --radius: 14px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

img { max-width: 100%; display: block; }

a { color: var(--sage-dark); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

.section-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-intro {
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 40px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  background: rgba(248, 244, 236, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sand);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo span { color: var(--terracotta); }

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--terracotta); }
.nav-links a.btn, .nav-links a.btn:hover { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--sage-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage);
}

.btn-outline:hover { background: var(--sage); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--sand) 0%, var(--cream) 60%);
  padding: 96px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.9rem;
  margin-bottom: 18px;
}

.hero p.sub {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.badge {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Spiele ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.game-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand);
  display: flex;
  flex-direction: column;
}

.game-card .text { padding: 20px 22px 24px; }

.game-card h3 { font-size: 1.25rem; margin-bottom: 8px; }

.game-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* Foto-Platzhalter: durch echte Fotos ersetzen (siehe HTML-Kommentare) */
.photo-placeholder {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 12px, #e0d1c0 12px, #e0d1c0 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  padding: 12px;
}

.photo-placeholder svg { opacity: 0.55; }

/* ---------- Preise ---------- */
#preise { background: var(--ink); }
#preise .section-title { color: var(--cream); }
#preise .section-intro, #preise .price-note { color: var(--sand); }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(44, 30, 25, 0.06);
}

.price-table th, .price-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--sand);
}

.price-table th {
  background: var(--sand);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.price-table tr:last-child td { border-bottom: none; }

.price-note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 6px; }

.step p { color: var(--ink-soft); font-size: 0.95rem; }

.hinweis {
  margin-top: 34px;
  background: var(--white);
  border-left: 4px solid var(--terracotta);
  border-radius: 8px;
  padding: 18px 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Über uns ---------- */
#ueber-uns { background: var(--ink); color: var(--sand); }
#ueber-uns .section-title { color: var(--cream); }

.about {
  max-width: 720px;
}

.about p + p { margin-top: 14px; }

/* ---------- Kontakt ---------- */
#kontakt { text-align: center; }

#kontakt .section-intro { margin-left: auto; margin-right: auto; }

.contact-mail {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 22px;
  display: inline-block;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #e9dfd2;
  padding: 36px 0;
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

footer a { color: #e9dfd2; text-decoration: none; }

footer a:hover { color: var(--white); }

.footer-links { display: flex; gap: 20px; }

/* ---------- Rechtsseiten (Impressum/Datenschutz) ---------- */
.legal { max-width: 720px; }

.legal h1 { font-size: 2rem; margin: 12px 0 26px; }

.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }

.legal p + p { margin-top: 10px; }

.legal ul { margin: 10px 0 10px 22px; }

/* Klar markierte Platzhalter für noch fehlende Angaben */
.todo-marker {
  background: #fff3cd;
  border: 1px dashed #d9a400;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.9em;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  section { padding: 52px 0; }
  .nav { justify-content: center; }
}
