/* Grundlayout */
body {
  background-color: var(--bg);
  color: var(--accent);
  transition: background-color 0.3s ease;
  margin: 0;
  font-family: sans-serif;
  overflow-x: hidden; /* Verhindert horizontales Herausrutschen / Scrollen */
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}
#pakete {
  scroll-margin-top: 120px;
}

/* Navigationsleiste oben */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-sizing: border-box;
  z-index: 100;
  background-color: #221f1a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #f7f3ce;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Buchen-Button */
.btn-buchen {
  background-color: #f7f3ce;
  color: #14120e;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: transform 0.2s, background-color 0.2s;
  animation: pulseButton 2.5s infinite;
}

.btn-buchen:hover {
  transform: scale(1.05);
}

/* Das Logo-Element klickbar machen */
.popcorn-logo {
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Die Animations-Klasse, die per JavaScript aktiviert wird */
.popcorn-logo.spin-grow {
  transform: scale(1.5) rotate(360deg);
}

/* Eigene Schriftart */
@font-face {
  font-family: 'Bristol';
  src: url('fonts/Bristol.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Hero-Bereich (Zentriert den Inhalt und hält Abstand zur Navbar) */
.hero-section {
  width: 100%;
  text-align: center;
  margin-top: 140px; /* Bringt den Inhalt unter die fixierte Navbar */
  position: relative;
}

/* Logo Animation */
.logo {
  margin: 0; /* damit die H1 genauso aussieht wie vorher das div */
  font-size: clamp(2.4rem, 13vw, 5rem);
  font-family: 'Bristol', sans-serif;
  font-weight: bold;
  color: #f7f3ce;
  display: inline-flex; /* Hält die Buchstaben für die Animation zusammen */
  gap: clamp(4px, 1.4vw, 10px);
  letter-spacing: -1px;
  justify-content: center;
}

.logo span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-50px);
  animation: springenVonLinks 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation-delay: calc(var(--i) * 0.1s);
}

@keyframes springenVonLinks {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  70% {
    opacity: 1;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Der neue Untertitel */
.subtitle {
  color: #f7f3e8;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 15px;
  margin-bottom: 40px; /* Abstand zur Laufleiste */
  font-family: sans-serif;
  text-align: center;
}

/* Lauftext (Ticker) - Ohne Verschiebungs-Bugs */
.ticker {
  width: 100%;
  background-color: #f7f3e8;
  color: #14120e;
  padding: 12px 0;
  white-space: nowrap;
  overflow: hidden;
  font-family: sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  box-sizing: border-box;
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: lauftext 36s linear infinite; 
}

.ticker span {
  display: inline-block;
}

@keyframes lauftext {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Container für die 3 Spalten */
.features-section {
  display: flex;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Einzelne Box / Karte */
.feature-card {
  background-color: #f7f3ce; /* Der Rosé-Ton aus deinem Design */
  color: #14120e;
  padding: 40px 30px;
  border-radius: 16px;
  flex: 1;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

/* Kleiner Hover-Effekt beim Darüberfahren */
.feature-card:hover {
  transform: translateY(-8px);
}

/* Überschrift in der Box */
.feature-card h3 {
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-weight: bold;
}

/* Fließtext */
.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  font-family: sans-serif;
}

/* Responsive: Auf Handys untereinander anzeigen */
@media (max-width: 900px) {
  .features-section {
    flex-direction: column;
  }
}

.pakete {
  color: #f7f3e8;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 15px;
  margin-bottom: 40px;
  font-family: sans-serif;
  text-align: center;
}

.pakete2 {
  color: #f7f3e8;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 5px;
  font-family: sans-serif;
  text-align: center;
}

.packages-zigzag-section {
  width: 100%;
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: sans-serif;
}

.packages-zigzag-section .section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #f7f3ce;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.packages-zigzag-section .section-subtitle {
  text-align: center;
  color: #f7f3ce;
  opacity: 0.8;
  margin-bottom: 50px;
}

.packages-zigzag-section .package-row {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #221f1a;
  color: #f7f3ce;
  border-radius: 20px;
  margin-bottom: 40px;
  padding: 40px;
  box-sizing: border-box;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.packages-zigzag-section .package-row.reverse {
  flex-direction: row-reverse;
}

.packages-zigzag-section .package-image {
  flex: 1;
  text-align: center;
}

.packages-zigzag-section .package-image img {
  width: 100%;
  max-width: 280px;
  height: 220px;
  object-fit: cover;
  border-radius: 50% 30% 60% 40% / 40% 60% 30% 50%;
  display: block;
  margin: 0 auto;
}

.packages-zigzag-section .package-text {
  flex: 1.2;
}

.packages-zigzag-section .package-text h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.packages-zigzag-section .pkg-lead {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 15px;
}

.packages-zigzag-section .package-text ul {
  padding-left: 20px;
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.packages-zigzag-section .package-text li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .packages-zigzag-section .package-row, 
  .packages-zigzag-section .package-row.reverse {
    flex-direction: column;
    padding: 25px;
  }
}

/* Übergang für das Bild geschmeidig machen */
.packages-zigzag-section .package-image img {
  transition: border-radius 0.6s ease, transform 0.6s ease !important;
}

/* Der Hover-Effekt: Blob formt sich um und zoomt leicht ran */
.packages-zigzag-section .package-row:hover .package-image img {
  border-radius: 40% 60% 30% 70% / 60% 40% 50% 50% !important;
  transform: scale(1.05) !important;
}

.sonderwunsch{
  color: #f7f3e8;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 15px;
  margin-bottom: 40px;
  font-family: sans-serif;
  text-align: center;
}

/* Container für die Ausrichtung */
.cta-container {
  text-align: center;
  margin: 60px 0 100px 0;
}

/* Der große, animierte Button */
.btn-cta-large {
  display: inline-block;
  background-color: #f7f3ce; /* Dein heller Ton */
  color: #14120e;
  font-family: sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 20px 50px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  /* Die permanente Pulsier-Animation */
  animation: pulseButton 2.5s infinite;
}

/* Hover-Effekt: Wenn man mit der Maus darüber fährt */
.btn-cta-large:hover {
  transform: scale(1.08);
  background-color: #ffffff;
  box-shadow: 0 15px 35px rgba(247, 243, 206, 0.4);
  animation: none; /* Stoppt das Pulsieren beim Berühren, damit der Hover smooth läuft */
}

/* Keyframes für den Pulsier-Effekt */
@keyframes pulseButton {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(247, 243, 206, 0.4);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 15px rgba(247, 243, 206, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(247, 243, 206, 0);
  }
}

/* Variablen für Dark/Light Mode */
:root, [data-theme="dark"] {
  --bg: #14120e;
  --accent: #f7f3ce;
  --on-accent: #14120e;
}

[data-theme="light"] {
  --bg: #7c7269;
  --accent: #14120e;
  --on-accent: #f7f3ce;
}

/* Theme-Umschalter-Button unten rechts */
.theme-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--on-accent);
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 200;
}

.site-footer {
  text-align: center;
  padding: 20px 0;
  background-color: #221f1a; /* Dunkler Hintergrund */
  margin-top: 40px;
}

.site-footer a {
  color: #d1d5db; /* Helle Textfarbe */
  font-size: 0.85rem; /* Kleine Schriftgröße */
  text-decoration: underline; /* Unterstreichung wie auf dem Bild */
  margin: 0 15px; /* Abstand zwischen den Links */
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #ffffff; /* Farbe beim Drüberfahren mit der Maus */
}

/*Kontakt*/

/* Container als 2-Spalten-Layout */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background-color: #1e1e1e;
  color: #ffffff;
  padding: 40px;
  border-radius: 8px;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: min(300px, 100%);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #666;
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  box-sizing: border-box;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 20px;
}

/* Absende-Button */
.submit-btn {
  width: 100%;
  background-color: #e2f1ad; /* Helles Gelb-Grün wie im Bild */
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/*Datenschutz*/

.datenschutz-container {
    max-width: 800px;
    margin: 30px auto;
    background-color: #161412; /* Exakter dunkler Hintergrund der Website */
    border: 1px solid #2d2621;
    border-radius: 12px;
    padding: 40px;
    color: #f4ecd8; /* Cremefarbener Text passend zur Navigation */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.datenschutz-header {
    text-align: center;
    margin-bottom: 35px;
    border-bottom: 1px solid #2d2621;
    padding-bottom: 20px;
}

.datenschutz-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f4ecd8; /* Cremeton */
    margin-bottom: 6px;
}

.datenschutz-header .date {
    color: #b8aaa0; /* Dezentere Farbe für das Datum */
    font-size: 0.9rem;
}

.datenschutz-content section {
    margin-bottom: 30px;
}

.datenschutz-content h3 {
    font-size: 1.2rem;
    color: #f4ecd8; /* Cremeton für die Überschriften */
    margin-bottom: 10px;
    border-left: 3px solid #f4ecd8;
    padding-left: 10px;
}

.datenschutz-content p {
    margin-bottom: 10px;
    color: #f4ecd8;
}

.datenschutz-content .intro {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: #b8aaa0;
}

.datenschutz-content .address-box {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #2d2621;
}

.datenschutz-content ul {
    margin: 8px 0 12px 20px;
}

.datenschutz-content li {
    margin-bottom: 5px;
    color: #b8aaa0;
}

/* Impressum */

.impressum-container {
    max-width: 800px;
    margin: 30px auto;
    background-color: #161412; /* Exakter dunkler Hintergrund der Website */
    border: 1px solid #2d2621;
    border-radius: 12px;
    padding: 40px;
    color: #f4ecd8; /* Cremefarbener Text */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.impressum-header {
    text-align: center;
    margin-bottom: 35px;
    border-bottom: 1px solid #2d2621;
    padding-bottom: 20px;
}

.impressum-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f4ecd8;
    margin-bottom: 6px;
}

.impressum-header .subtitle {
    color: #b8aaa0;
    font-size: 0.95rem;
}

.impressum-content section {
    margin-bottom: 30px;
}

.impressum-content h3 {
    font-size: 1.2rem;
    color: #f4ecd8;
    margin-bottom: 10px;
    border-left: 3px solid #f4ecd8;
    padding-left: 10px;
}

.impressum-content p {
    margin-bottom: 8px;
    color: #f4ecd8;
}

.impressum-content a {
    color: #f4ecd8;
    text-decoration: underline;
}

.impressum-content a:hover {
    color: #b8aaa0;
}

.impressum-content .address-box {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #2d2621;
}


/* ============================================================
   Ergänzungen
   ============================================================ */

/* Vorher als Inline-Style im HTML */
.popcorn-logo {
  height: 40px;
  width: auto;
}

.pkg-extra {
  color: #ffffff;
}

/* Spam-Falle im Formular (für Menschen unsichtbar) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Formular */
.contact-form {
  color-scheme: dark; /* Dropdown und Datumsauswahl passend zum dunklen Formular */
}

.form-group select option {
  background-color: #1e1e1e;
  color: #ffffff;
}

.form-checkbox a {
  color: inherit;
  text-decoration: underline;
}

.form-status {
  text-align: center;
  margin-top: 14px;
  min-height: 1.5em;
}

.form-status.is-ok {
  color: #e2f1ad;
}

.form-status.is-error {
  color: #ff9b9b;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Sichtbarer Fokus bei Bedienung mit der Tastatur */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f7f3ce;
  outline-offset: 3px;
}

/* Handy-Ansicht */
@media (max-width: 600px) {
  .navbar {
    padding: 12px 16px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
  }

  .btn-buchen {
    padding: 8px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
  }

  .popcorn-logo {
    height: 32px;
  }

  .hero-section {
    margin-top: 90px;
  }

  .subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0 16px;
  }

  .pakete {
    font-size: 1.5rem;
  }

  .contact-container {
    padding: 20px;
    gap: 24px;
  }

  .impressum-container,
  .datenschutz-container {
    padding: 24px 18px;
    margin: 20px 12px;
  }
}

/* Für Nutzer, die in ihrem System "Bewegung reduzieren" eingestellt haben */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track,
  .btn-buchen,
  .btn-cta-large {
    animation: none;
  }

  .logo span {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
