/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;700&display=swap');

/* Farben */
:root {
  --primary: #2f4f3f;
  --background: #fffdf9;
  --text: #4a4a4a;

  --hero-title: #ffffff;
  --hero-subtitle: #ffffff;

  --card-bg: rgba(255, 255, 255, 0.7);
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #1c1c1c;
    --text: #e6e6e6;

    --hero-title: #e6e6e6;
    --hero-subtitle: #e6e6e6;

    --card-bg: rgba(40, 40, 40, 0.8);
  }
}

/* Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  line-height: 1.7;
}

.section {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

@media (prefers-color-scheme: dark) {
  .navbar {
    background: rgba(20, 20, 20, 0.85);
  }
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.6;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero */
.hero {
  height: 100vh;
  background: url('hero.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.hero-overlay {
  background: linear-gradient(
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.35)
    );
  margin-top: -10vh;
  padding: 3rem 2rem;
  border-radius: 20px;
  max-width: 650px;
  text-align: center;
  color: white;
}

.hero h1, .hero h2, .hero-date, .welcome-text {
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Moderner Countdown */
.countdown-modern {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.cd-box {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  padding: 1rem 1.4rem;
  border-radius: 12px;
  min-width: 90px;
  color: white;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.cd-box span {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.cd-box label {
  font-size: 0.9rem;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

/* Info Items */
.info-item {
  margin-bottom: 3rem;
  font-size: 1.15rem;
}

.info-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--primary);
}

.button {
  padding: 1rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

#upload{
  padding-top: 0;
}


/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 450px;
  margin: auto;
}

input, textarea, select {
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid #d8cfcf;
  background: #fffdfb;
  font-size: 1rem;
}

button {
  padding: 1rem;
  background: var(--primary);
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

a[href^="tel:"] {
  color: var(--primary-color) !important;
  font-weight: 700;
  text-decoration: none;
}

a[href^="tel:"]:hover {
  text-decoration: underline;
}

button:hover {
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 70px;
    background: var(--background);
    flex-direction: column;
    padding: 1.5rem;
    width: 200px;
    display: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  @media (prefers-color-scheme: dark) {
    .nav-links {
      background: #222;
    }
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero h2 { font-size: 1.5rem; }
}
