/* =============================================
   Globale Stile & Variablen (Farben von Tobias)
   ============================================= */
:root {
  --gold: #D4AF37;
  --tuerkis: #A3E3CD;
  --tuerkis-dark: #7fc9b0;
  --text-dark: #1e2a2a;
  --text-light: #4a5b5b;
  --background-light: #fefefe;
  --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
  --border-radius-card: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--background-light);
  color: var(--text-dark);
  line-height: 1.5;
}

p {
  margin-bottom: 1.5rem;
  }

ul, ol {
  padding-left: 1.8rem;   /* oder 1.5rem, je nach Geschmack */
  margin: 0.5rem 0;
}

/* Container & Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

main {
  max-width: 1280px;      /* breiter als das nicht mehr */
  margin: 0 auto;         /* zentriert */
  padding: 2rem 1.5rem;   /* oben/unten 2rem, links/rechts 1.5rem */
  z-index: 1;            /* damit es über dem Parallax-Bild liegt */
}

/* Header & Navigation (wird per JS geladen, aber Styles gelten) */
.main-header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--tuerkis);
}

.main-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0.2rem;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: bold;
}

/* Buttons & Links */
.btn, .btn-package, .btn-secondary {
  display: inline-block;
  background: var(--gold);
  color: var(--text-dark);
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.btn:hover, .btn-package:hover {
  background: #c5a42f;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--tuerkis);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: var(--tuerkis-dark);
}

/* Paket-Cards (wird auf mehreren Seiten verwendet) */
.package-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.package-card {
  flex: 1;
  min-width: 280px;
  background: white;
  border-radius: var(--border-radius-card);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.12);
}

.package-card.premium {
  border-top: 6px solid var(--tuerkis);
  background: #fefaf5;
}

.package-card.deluxe {
  border-top: 6px solid var(--gold);
  background: #fafefc;
}
small {
  font-size: 0.9rem;
  color: var(--text-light);
}
.badge {
  display: inline-block;
  background: var(--tuerkis);
  color: var(--text-dark);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}
.price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--gold);
  margin: 0.5rem 0;
}
.portrait {
  max-width: 300px;
  border-radius: 50%;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Testimonials */
.testimonial {
  background: #fefaf5;
  border-radius: 32px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 8px solid var(--gold);
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
}

/* Formular */
.form-group {
  margin-bottom: 1.2rem;
}
input, select, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-family: inherit;
}
button[type="submit"] {
  background: var(--gold);
  border: none;
  padding: 0.8rem;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Footer */
.main-footer {
  background: #1e2a2a;
  color: #ccc;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}
.main-footer a {
  color: var(--gold);
  text-decoration: none;
}
.main-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    gap: 1rem;
  }
  .package-grid {
    flex-direction: column;
    align-items: center;
  }
}

.parallax-container {
  position: relative;
  width: 100%;
  height: 50vh; /* Das Fenster ist so hoch wie 50% des Bildschirms */
  overflow: hidden; /* Schneidet alles ab, was über das Fenster hinausgeht */
}

/* Das große Bild im Hintergrund */
.parallax-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140%; /* 40% höher als der Container, um Platz für die Bewegung zu haben */
  object-fit: cover; /* Bild verzerreungsfrei einpassen */
  
  /* Das ist das Geheimnis: Wir verschieben das Bild über eine CSS-Variable */
  transform: translateY(var(--scroll-offset, 0px));
  will-change: transform; /* Sorgt für flüssige Hardware-Beschleunigung */
}

section {
  margin-bottom: 5rem;
}