#portrait,
#events,
#auto,
#galerie {
  scroll-margin-top: 140px;
}

:root {
  --nav-height: 110px;
  --nav-shrink: 70px;
}

h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  color: chocolate;
  font-family: ArchivoBlack-Regular;
  font-size: 24px;
}

.legal a {
  color: white;
}
.legal a:hover {
  color: chocolate;
  text-decoration: none;
}

.titel {
  position: sticky;
  top: var(--nav-height);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);

  padding: 6px 0;
  margin: 0;
  z-index: 1;
}
.hero img {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  object-fit: cover; /* Center-Crop */
  object-position: center; /* Mittelpunkt bleibt */
  display: block;
}

.vibrantbg {
  padding: 24px 0;
  background-image: 
        /* 1. EBENE (Ganz oben): Sanfter Fadeout in Weiß nach oben und unten */
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 15%,
      rgba(255, 255, 255, 0) 85%,
      rgba(255, 255, 255, 1) 100%
    ),
    /* 2. EBENE: Deutlich mehr Weiß in der Mitte der Seite */
    radial-gradient(
        circle at center,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 35%,
        rgba(255, 255, 255, 0) 70%
      ),
    /* 3. EBENE (Ganz unten): Chocolate und Grau an den seitlichen Rändern */
    radial-gradient(ellipse at 0% 50%, chocolate 0%, rgba(210, 105, 30, 0) 60%),
    radial-gradient(ellipse at 100% 50%, gray 0%, rgba(128, 128, 128, 0) 60%);

  /* Fixiert den Hintergrund, damit er beim Scrollen stehen bleibt */
  background-attachment: fixed;
}

/* =========================
   FOTOBEGLEITUNG GRID
========================= */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  align-items: stretch;
}

.event-grid img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

/* Textbox in der Mitte */
.event-grid .event-text {
  margin: 0;
  max-width: none;

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.bilder {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
  margin-bottom: 64px;
}
.portraits-text {
  justify-content: center;
  margin: 32px 0px;
  background: white;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  flex-shrink: 1;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.portraits-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}
.portraits img {
  width: 300px;
}

.events {
  display: flex;
}
.grufo {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.events .event-text {
  margin-left: 16px;
}

.grufo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  flex-grow: 1;
  width: 100%;
  height: 30vh;
}

/*Event*/

.fotos {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}
.fotos img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  flex-grow: 1;
  width: 100%;
  height: 30vh;
}
.event-text {
  justify-self: center;
  margin: 32px 0px;
  background: white;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  flex-shrink: 1;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.event-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.auto {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.auto img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  flex-grow: 1;
  width: 100%;
  height: 30vh;
}
.cta-section {
  padding: 100px 20px;
  padding-bottom: 30vh;
  margin: 0;

  background-color: #ffffff;

  background-image:
    /* 1. Weiße Schutzebenen für Textlesbarkeit */
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 10%,
      rgba(255, 255, 255, 0) 90%,
      rgba(255, 255, 255, 1) 100%
    ),
    radial-gradient(
      ellipse at center,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0) 70%
    ),
    /* 2. LENS FLARE EFFEKTE (Heller Kern -> Weicher Schein -> Transparent) */
    /* Normales Chocolate Flare (Links oben) */
    radial-gradient(
        ellipse at 10% 15%,
        rgba(210, 105, 30, 0.7) 0%,
        rgba(210, 105, 30, 0.15) 20%,
        rgba(210, 105, 30, 0) 55%
      ),
    /* Helles Orange Flare (Rechts oben) */
    radial-gradient(
        circle at 85% 25%,
        rgba(255, 180, 110, 0.8) 0%,
        rgba(255, 180, 110, 0.2) 25%,
        rgba(255, 180, 110, 0) 60%
      ),
    /* Helles Grau Flare (Links unten) */
    radial-gradient(
        circle at 15% 85%,
        rgba(180, 180, 180, 0.6) 0%,
        rgba(180, 180, 180, 0.15) 20%,
        rgba(180, 180, 180, 0) 55%
      ),
    /* Dunkles Grau Flare (Rechts unten) */
    radial-gradient(
        ellipse at 85% 80%,
        rgba(80, 80, 80, 0.4) 0%,
        rgba(80, 80, 80, 0.1) 25%,
        rgba(80, 80, 80, 0) 50%
      );

  background-attachment: fixed;

  text-align: center;
}

/* Inhalt */
.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Überschrift */
.cta-section h2 {
  font-family: "ArchivoBlack-Regular", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: chocolate;
}
.cta-section p {
  color: black;
}

/* Button */
.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: chocolate;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: black;
  color: white;
  transform: translateY(-3px);
}

* {
  box-sizing: border-box;
}
.fotos,
.auto {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.fotos img,
.auto img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  flex-grow: 1;
  width: 100%;
  height: 30vh;
}

/* --- Preistabellen (Pakete) --- */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 32px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 1px solid rgba(210, 105, 30, 0.3);
  border-radius: 16px;
  padding: 32px;
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(210, 105, 30, 0.15);
}

.pricing-card h2 {
  color: chocolate;
  margin-top: 0;
  font-size: 1.5rem;
}

.pricing-price {
  font-family: "ArchivoBlack-Regular", sans-serif;
  font-size: 2rem;
  color: #111;
  margin: 16px 0;
}

.pricing-price span {
  font-family: "DroidSans", sans-serif;
  font-size: 1rem;
  color: gray;
  font-weight: normal;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  font-family: "DroidSans", sans-serif;
  line-height: 1.4;
}

/* Kleiner Haken vor jedem Listenpunkt */
.pricing-features li::before {
  content: "✔";
  color: chocolate;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.pricing-card .btn {
  text-align: center;
  font-size: 18px;
  padding: 12px;
  margin-top: auto;
}

/* Hervorhebung des Pro-Pakets */
.pricing-card.pro {
  border: 2px solid chocolate;
  position: relative;
  background: linear-gradient(to bottom, #fffaf5, #ffffff);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: chocolate;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-family: "ArchivoBlack-Regular", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

@media (max-width: 1280px) {
  .bilder {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .event-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Nur 3 Elemente anzeigen */
  .event-grid > *:nth-child(n + 6) {
    display: none;
  }

  .event-grid img {
    width: 100%;
    height: auto;
    min-height: unset;
  }

  .event-grid .event-text {
    order: 2;
  }
  .bilder {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Textbox immer unter den Bildern */
  .bilder .portraits-text {
    order: 99;
  }

  /* Bilder zentrieren */
  .bilder img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
  }
  /* Nur Überschriften zentrieren */
  .titel,
  .legal h1 {
    text-align: center;
  }

  /* ABER Listen links lassen */
  .legal ol,
  .legal li,
  .legal p {
    text-align: left;
  }

  .legal ol {
    padding-left: 20px;
  }

  /* Textboxen komplett zentrieren */
  .event-text,
  .portraits-text,
  .legal {
    text-align: center;
    align-items: center;
  }

  /* =========================
     MOBILE: Bilder untereinander
  ========================= */

  .fotos,
  .auto {
    display: flex;
    flex-direction: column; /* <<< WICHTIG */
    gap: 16px;

    overflow: visible; /* kein Scroll mehr */
    padding: 0 16px;
  }

  .fotos img,
  .auto img {
    width: 100%;
    height: auto; /* wichtig für saubere Skalierung */
    object-fit: cover;

    border-radius: 0; /* bleibt wie Desktop */
  }
  /* Gruppen & Familienfotos + alle legal-H1 sauber zentrieren */
  .legal h1 {
    text-align: center !important;
    margin: 0 auto;
    display: block;
  }

  /* falls der Container selbst versetzt ist */
  .legal {
    text-align: center;
  }
}
/*class="vibrantbg" für hintergrund*/
