/* content.css - Stile für den Hauptinhalt */

.main-content {
  flex: 1;
  padding: 0;
}

/* Hero Section */
.hero {
  background-color: #121212;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 60px 20px;
}

.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  filter: drop-shadow(0 0 20px rgba(139, 0, 0, 0.5));
}

.date {
  font-family: var(--font-main);
  font-size: 3.5rem;
  color: var(--color-text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 3px;
}

/* About Us Section */
.about-us {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-top: 40px;
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-medium);
  text-align: justify;
}

.about-image {
  flex: 0 0 400px;
  text-align: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--color-primary-dark);
}

/* RSVP Form */
.rsvp-form {
  background: var(--color-surface);
  padding: 0 20px 80px 20px; /* Kein oberes Padding */
  margin: 0 0 60px 0; /* Kein oberer Margin */
}

.rsvp-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-text-medium);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background-color: var(--color-background);
  border: 1px solid #444;
  color: var(--color-text-light);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-accent);
  transition: border-color 0.3s, box-shadow 0.3s;
  min-height: 44px; /* Touch-Target-Mindestgröße */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 2px rgba(153, 0, 0, 0.2);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  cursor: pointer;
  padding: 10px 15px;
  background-color: rgba(26, 26, 26, 0.5);
  border-radius: 6px;
  transition: background-color 0.3s;
  min-height: 44px;
  font-weight: normal;
}

.checkbox-group label:hover {
  background-color: rgba(26, 26, 26, 0.8);
}

.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"] {
  width: auto;
  margin-right: 8px;
  min-height: auto;
}

.no-kids-fullwidth {
  width: 100vw;
  max-width: none;
  display: block;
  margin: 0 0 40px 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Details Page Styles */
.main-content-details {
  flex: 1;
  padding: 40px 20px;
}

.highlight-message {
  background: rgba(18, 18, 18, 0.9);
  color: #ff0040; /* Neon-Pink */
  text-align: center;
  padding: 25px 30px;
  margin: 40px auto;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 1.8rem;
  font-weight: 600;
  max-width: 700px;
  border: 3px solid #ff0040;

  /* Neon-Glow-Effekte */
  text-shadow:
    0 0 5px #ff0040,
    0 0 10px #ff0040,
    0 0 15px #ff0040,
    0 0 20px #ff0040,
    0 0 35px #ff0040,
    0 0 40px #ff0040;

  box-shadow:
    0 0 5px #ff0040,
    0 0 10px #ff0040,
    0 0 15px #ff0040,
    inset 0 0 5px rgba(255, 0, 64, 0.2);

  /* Flacker-Animation */
  animation: neonFlicker 2s infinite alternate;

  /* Zusätzliche Neon-Eigenschaften */
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

/* Flacker-Keyframes */
@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow:
      0 0 5px #ff0040,
      0 0 10px #ff0040,
      0 0 15px #ff0040,
      0 0 20px #ff0040,
      0 0 35px #ff0040,
      0 0 40px #ff0040;

    box-shadow:
      0 0 5px #ff0040,
      0 0 10px #ff0040,
      0 0 15px #ff0040,
      inset 0 0 5px rgba(255, 0, 64, 0.2);
  }

  20%, 24%, 55% {
    text-shadow:
      0 0 2px #ff0040,
      0 0 5px #ff0040,
      0 0 8px #ff0040,
      0 0 12px #ff0040;

    box-shadow:
      0 0 2px #ff0040,
      0 0 5px #ff0040,
      0 0 8px #ff0040,
      inset 0 0 3px rgba(255, 0, 64, 0.1);
  }

  22% {
    text-shadow:
      0 0 1px #ff0040,
      0 0 3px #ff0040;

    box-shadow:
      0 0 1px #ff0040,
      0 0 3px #ff0040,
      inset 0 0 2px rgba(255, 0, 64, 0.05);
  }
}

/* Zusätzlicher Hintergrund-Glow-Effekt */
.highlight-message::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg,
  transparent,
  rgba(255, 0, 64, 0.1),
  transparent,
  rgba(255, 0, 64, 0.1),
  transparent
  );
  border-radius: 15px;
  z-index: -1;
  animation: neonBackgroundPulse 3s ease-in-out infinite;
}

@keyframes neonBackgroundPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.02);
  }
}

/* Hover-Effekt für das Neonschild */
.highlight-message:hover {
  animation: neonFlickerIntense 1.5s infinite alternate;
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

@keyframes neonFlickerIntense {
  0%, 100% {
    text-shadow:
      0 0 8px #ff0040,
      0 0 15px #ff0040,
      0 0 25px #ff0040,
      0 0 35px #ff0040,
      0 0 50px #ff0040,
      0 0 60px #ff0040;

    box-shadow:
      0 0 8px #ff0040,
      0 0 15px #ff0040,
      0 0 25px #ff0040,
      inset 0 0 8px rgba(255, 0, 64, 0.3);
  }

  50% {
    text-shadow:
      0 0 3px #ff0040,
      0 0 8px #ff0040,
      0 0 15px #ff0040,
      0 0 25px #ff0040;

    box-shadow:
      0 0 3px #ff0040,
      0 0 8px #ff0040,
      0 0 15px #ff0040,
      inset 0 0 5px rgba(255, 0, 64, 0.2);
  }
}

.event-details {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.event-details p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-medium);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.dresscode-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  margin: 40px 0;
}

.dos-donts {
  text-align: center;
  max-width: 800px; /* Vergrößert von 600px auf 800px */
  width: 100%;
  padding: 30px;
  background: rgba(30, 30, 30, 0.3);
  border-radius: 16px;
  border: 1px solid rgba(139, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.dos-donts:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dos-donts:first-child {
  background: rgba(139, 0, 0, 0.1);
}

.dos-donts:last-child {
  background: rgba(139, 0, 0, 0.1);
}

.dos-donts h4 {
  font-family: var(--font-main);
  font-size: 2rem;
  color: var(--color-text-light);
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.dos-donts:first-child h4 {
  color: #90EE90;
}

.dos-donts:last-child h4 {
  color: #FFB6C1;
}

.dress-img {
  width: 100%;
  max-width: 700px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: 3px solid var(--color-primary-dark);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.dos-donts:first-child .dress-img {
  border-color: var(--color-primary-dark);
}

.dos-donts:last-child .dress-img {
  border-color: var(--color-primary-dark);
}

.dress-img:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.trauzeugen-content,
.details-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin: 40px 0;
}

.detail-item {
  background: var(--color-surface);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--color-primary-dark);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.detail-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.detail-item img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--color-primary-dark);
}

.detail-item h3 {
  font-family: var(--font-main);
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.detail-item p {
  color: var(--color-text-medium);
  margin-bottom: 8px;
  font-size: 1rem;
}

.detail-item a {
  color: var(--color-primary-light);
  text-decoration: none;
  font-weight: 600;
}

.detail-item a:hover {
  color: var(--color-text-light);
  text-decoration: underline;
}

.wishlist-content {
  background: var(--color-surface);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--color-primary-dark);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin: 40px auto;
  max-width: 700px;
}

.wishlist-item p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text-medium);
  margin-bottom: 10px;
}

/* Zusätzliche Styles für more_infos.html */
.location-map {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.location-content {
  margin-top: 40px;
}

.location-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-medium);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.map-container {
  background: var(--color-surface);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-primary-dark);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin: 40px auto;
  max-width: 700px;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  border: none;
}

/* Responsive Design für Content */
@media (max-width: 1200px) {
  .dresscode-images {
    gap: 50px;
  }

  .dos-donts {
    max-width: 700px;
  }

  .dress-img {
    max-width: 600px;
    min-height: 350px;
    max-height: 450px;
  }

  .dos-donts h4 {
    font-size: 1.8rem;
  }
}

@media (max-width: 1024px) {
  .no-kids-fullwidth {
    width: 100vw;
    max-width: none;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 40px;
  }


  .about-content {
    gap: 40px;
  }

  .about-image {
    flex: 0 0 350px;
  }

  .dresscode-images {
    gap: 45px;
  }

  .dos-donts {
    max-width: 600px;
    padding: 25px;
  }

  .dress-img {
    max-width: 550px;
    min-height: 320px;
    max-height: 400px;
  }

  .dos-donts h4 {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .no-kids-fullwidth {
    width: 100vw; /* Vollständige Viewport-Breite */
    max-width: none;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 30px;
    padding: 0; /* Kein Padding */
    box-sizing: border-box;
    height: auto;
    min-height: 200px; /* Mindesthöhe für bessere Darstellung */
    object-fit: cover; /* Bild füllt Container vollständig aus */
    object-position: center top; /* Positionierung oben im Container */
  }


  .hero {
    min-height: 60vh;
    padding: 40px 15px;
  }

  .hero-logo {
    max-width: 300px;
    margin-bottom: 30px;
  }

  .date {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .about-us {
    padding: 60px 15px;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .about-image {
    flex: none;
    order: -1; /* Bild vor Text */
  }

  .about-text {
    max-width: none;
  }

  .about-text p {
    text-align: left;
    font-size: 1rem;
  }

  .rsvp-form {
    background: var(--color-surface);
    padding: 0 20px 80px 20px;
    margin: 0 0 60px 0;
  }

  .checkbox-group {
    flex-direction: column;
    gap: 12px;
  }

  .checkbox-group label {
    padding: 15px;
    justify-content: flex-start;
  }

  input, select, textarea {
    font-size: 16px; /* Verhindert Zoom auf iOS */
    padding: 18px 15px;
  }

  .btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.1rem;
    min-height: 50px;
  }

  .main-content-details {
    padding: 30px 15px;
  }

  .highlight-message {
    font-size: 1.5rem;
    padding: 20px 25px;
    margin: 30px auto;
    letter-spacing: 1.5px;
  }

  .dresscode-images {
    gap: 40px;
  }

  .dos-donts {
    max-width: 95%;
    padding: 20px;
  }

  .dress-img {
    max-width: 100%;
    min-height: 280px;
    max-height: 350px;
  }

  .dos-donts h4 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .trauzeugen-content,
  .details-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-item {
    padding: 25px;
  }

  .detail-item img {
    width: 120px;
    height: 120px;
  }

  .wishlist-content {
    padding: 30px 20px;
    margin: 30px 15px;
  }

  .location-map {
    padding: 60px 15px;
  }

  .map-container {
    padding: 15px;
    margin: 30px auto;
  }

  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .no-kids-fullwidth {
    margin-bottom: 25px;
    padding: 0; /* Kein Padding entfernt */
    min-height: 150px; /* Angepasste Mindesthöhe für sehr kleine Bildschirme */
    object-fit: cover;
    object-position: center top;
  }


  .hero {
    min-height: 50vh;
    padding: 30px 10px;
  }

  .hero-logo {
    max-width: 250px;
    margin-bottom: 25px;
  }

  .date {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .about-us {
    padding: 40px 10px;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .rsvp-form {
    padding: 0 10px 60px 10px; /* Noch weniger Padding */
    margin: 0; /* Komplett kein Margin */
  }

  .form-group {
    margin-bottom: 20px;
  }

  input, select, textarea {
    padding: 16px 12px;
  }

  .checkbox-group label {
    padding: 12px;
    font-size: 0.95rem;
  }

  .btn {
    padding: 16px 20px;
    font-size: 1rem;
  }

  .highlight-message {
    font-size: 1.3rem;
    padding: 18px 20px;
    letter-spacing: 1px;

    /* Reduzierte Effekte für bessere Performance auf mobilen Geräten */
    text-shadow:
      0 0 3px #ff0040,
      0 0 6px #ff0040,
      0 0 9px #ff0040,
      0 0 12px #ff0040;

    box-shadow:
      0 0 3px #ff0040,
      0 0 6px #ff0040,
      0 0 9px #ff0040;
  }

  .dresscode-images {
    gap: 35px;
  }

  .dos-donts {
    padding: 15px;
  }

  .dress-img {
    max-width: 100%;
    min-height: 250px;
    max-height: 320px;
  }

  .dos-donts h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .detail-item {
    padding: 20px 15px;
  }

  .detail-item img {
    width: 100px;
    height: 100px;
  }

  .detail-item h3 {
    font-size: 1.3rem;
  }

  .wishlist-content {
    padding: 25px 15px;
  }

  .wishlist-item p {
    font-size: 1.1rem;
  }

  .location-map {
    padding: 40px 10px;
  }

  .map-container iframe {
    height: 300px;
  }

  .location-content p {
    font-size: 1rem;
    text-align: center;
  }
}

.hinweis-balken {
  border-left: 5px solid var(--color-primary-dark);
  padding: 15px;
  background-color: rgb(41, 41, 41);
  margin-left: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .highlight-message {
    animation: neonSteady 4s ease-in-out infinite;
  }

  .highlight-message:hover {
    animation: neonSteady 4s ease-in-out infinite;
  }

  .highlight-message::before {
    animation: none;
  }
}

@keyframes neonSteady {
  0%, 100% {
    opacity: 0.9;
  }
  50% {
    opacity: 1;
  }
}
