/*
Theme Name: the-price-is-paid
Author: PS
Version: 1.0
*/

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Lato, sans-serif;
}


.header-video {
  position: relative;
  width: 100%;
  height: 100vh; /* <<< WICHTIG */
  overflow: hidden;
}

.header-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}


.header-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu ul li {
  list-style: none; 
}

.menu a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
}

.language-switcher {
  margin-left: 20px;
}

.language-switcher select {
  color: black !important;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.banner-titles {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 100%;
  /*left: 50%; für einmitten der animation*/
  /*transform: translateX(-50%); für einmitten der animation*/
  transform: none;
  /*text-align: center; für einmitten der animation*/
  /*text-align: left;*/
  color: white;
  font-size: 28px;
  font-weight: bold;
  font-family: 'Lato', sans-serif;
  transition: transform 0.1s ease-out, opacity 0.9s ease-out;
  will-change: transform, opacity;
  z-index: 5;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  40% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

#banner-title {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  font-size: 52px;
}

.banner-titles .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.highlight-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.highlight-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: 'Lato', sans-serif;
  color: #222;
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  transition: all 0.6s ease;
  overflow: hidden;
}

.video-wrapper.zoomed {
  max-width: 100vw;
  padding: 0 20px;
}


.video-wrapper.fullscreen {
  height: 100vh;
  transform: scale(1.02);
}


.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.faq-section {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
  font-family: 'Lato', sans-serif;
}

.faq-section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: black;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 0;
  cursor: pointer;
}

.faq-text {
  flex: 1;
  padding-right: 16px; /* Abstand zum Icon */
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* Bei aktivem Zustand Icon rotieren */
.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 0 16px 0;
}

.site-footer {
  background-color: #111;
  color: #eee;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Lato', sans-serif;
}

footer a {
  color: white !important;
  text-decoration: none;
}


.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-  s {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-impressum {
  opacity: 0.5;
  font-size: 14px;
}

.footer-impressum:hover {
  opacity: 0.8;
}

.footer-note p {
  font-size: 14px;
  opacity: 0.8;
}


/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* semi-transparent background */
  display: none; /* Start hidden */
  justify-content: center;
  align-items: center;
}

/* Popup Content */
.popup-content {
  position: relative;
  background: #fff;
  padding: 20px;
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* Close Button (X) */
.popup-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: #333;
  background: transparent;
  border: none;
  cursor: pointer;
}

.popup-close-button:hover {
  color: #d9534f;
}


.popup-content form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.popup-content form label {
  font-weight: 600;
  margin: 10px 0 5px;
  margin-bottom: 0.3rem;
  color: #333;
}

.popup-content form input,
.popup-content form textarea,
.popup-content form button {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.popup-content form input:focus,
.popup-content form textarea:focus {
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
  outline: none;
}

.popup-content form button {
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.popup-content form button:hover {
  background-color: #005f8d;
}

@media (max-width: 600px) {
  .popup-content {
    width: 90%;
    padding: 20px;
  }

  .popup-content form input,
  .popup-content form textarea,
  .popup-content form button {
    font-size: 16px;
  }
}


.download-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.download-list li {
  margin: 0.8rem 0;
}

.download-list a {
  text-decoration: none;
  color: #0073aa;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.3s;
}

.download-list a:hover {
  color: #005f8d;
}


/* Header Styling */
h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

p {
  font-size: 16px;
  line-height: 1.6;
}


/*--------------------------------------------------------------*/
/* Grundlegende Einstellungen für die himmlische Atmosphäre TEST*/
/*--------------------------------------------------------------*/
/* --- Basis: Hell & Himmlisch --- */
body.heavenly-bright {
    margin: 0;
    padding: 0;
    background-color: #fdfbf7; /* Cremeweiß wie die No-Page */
    font-family: 'Lato', sans-serif;
    color: #4a4a4a;
    text-align: center;
    overflow-x: hidden;
    min-height: 100vh;
}

.ambient-sunlight {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* --- Blitze (Paparazzi) auf hellem Grund --- */
#flash-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.camera-flash {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(212, 175, 55, 0.3) 100%);
    border-radius: 50%;
    animation: flashBurst 0.6s ease-out forwards;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

@keyframes flashBurst {
    0% { opacity: 0; transform: scale(0.2); }
    20% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(1.5); }
}

/* --- Content --- */
.celebration-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px;
    position: relative;
    z-index: 10;
}

.golden-title {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 4rem;
    line-height: 1.1;
    background: linear-gradient(110deg, #b38b2d 10%, #d4af37 25%, #fceea4 35%, #d4af37 45%, #b38b2d 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.shimmer-effect { animation: shineText 4s linear infinite; }
@keyframes shineText { to { background-position: 200% center; } }

.subtitle {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1rem;
    color: #c49a6c;
    margin-bottom: 15px;
}

/* --- Bibelvers (Edel & Sauber) --- */
.verse-section { margin: 60px auto; max-width: 800px; }
.verse-section blockquote {
    font-family: 'Mrs Saint Delafield', cursive; /* Unterschrift-Style für den Vers */
    font-size: 3.5rem;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.verse-section cite {
    display: block;
    margin-top: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: #b38b2d;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: normal;
}

/* --- Kacheln (Angelehnt an die No-Page Cards) --- */
.section-label {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.bright-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 40px 25px;
    border-radius: 15px;
    text-decoration: none;
    color: #4a4a4a;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.bright-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.bright-card .icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 15px;
}

.bright-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.bright-card p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* Animationen */
.fade-in-delayed { opacity: 0; transform: translateY(20px); animation: fadeUp 1s ease forwards; }
.fade-in-delayed-2 { animation-delay: 0.4s; }
.fade-in-delayed-3 { animation-delay: 0.8s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .golden-title { font-size: 2.5rem; }
    .verse-section blockquote { font-size: 2.5rem; }
}


/* =========================================
   STYLES FÜR NO.PHP 
   ========================================= */

body.gift-experience-clean {
    margin: 0;
    padding: 0;
    padding-top: 200px !important;
    background-color: #f9f9f9; /* Sehr helles Grau, fast Weiß */
    font-family: 'Lato', sans-serif;
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Hauptbühne: Mehr Abstand nach oben, damit der Brief Platz hat */
.main-stage {
    position: relative;
    width: 100%;
    max-width: 900px; /* Breiterer Container */
    margin: 0 auto;
    padding: 120px 20px 80px; /* 120px oben wichtig für Animation! */
    box-sizing: border-box;
}

/* --- Der Briefumschlag (Vergrößert) --- */
.envelope-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px; /* Deutlich breiter */
    margin: 0 auto 120px; /* Viel Abstand nach unten zu den Kacheln */
    height: 400px; /* Grundhöhe des Umschlags */
    perspective: 1500px;
}

.envelope {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Rückwand */
.envelope-back {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 100%;
    background: #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Die Tasche vorne */
.envelope-front {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 20;
    pointer-events: none;
    /* CSS Trick für Umschlag-Form */
    background: linear-gradient(135deg, #f4f4f4 0%, #ffffff 100%);
    clip-path: polygon(0 100%, 100% 100%, 100% 35%, 50% 60%, 0 35%);
    filter: drop-shadow(0 -5px 10px rgba(0,0,0,0.05));
}

/* Die Lasche (animiert) */
.envelope-flap {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 60%; /* Geht bis über die Mitte */
    background: #dcdcdc;
    background: linear-gradient(to bottom, #eeeeee, #dcdcdc);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: top;
    z-index: 21; 
    animation: openFlapClean 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Der Briefinhalt --- */
.letter-content {
    position: absolute;
    bottom: 10px; left: 5%;
    width: 90%;
    height: 90%; /* Startet fast so groß wie Umschlag */
    background: #fff;
    z-index: 15;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    
    /* Animation: Rausziehen */
    animation: slideLetterOutLarge 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards 1.2s;
}

.letter-paper {
    opacity: 0;
    animation: fadeInText 1s ease forwards 2.5s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Typografie im Brief */
.greeting {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.handwritten-body {
    font-family: 'Caveat', cursive; /* Passt zum Flyer */
    font-size: 1.8rem; /* Größer für Lesbarkeit */
    line-height: 1.5;
    color: #2c2c2c;
    margin-bottom: -15px;
}

.handwritten-body strong {
    color: #b30000; /* Rotes Highlight wie Schleife früher */
    font-weight: 700;
}

.signature-block { text-align: left; margin-top: 10px; }
.sign-off { display: block; font-family: 'Lato', sans-serif; font-size: 0.9rem; color: #666; }
.jesus-sig {
    font-family: 'Mrs Saint Delafield', cursive;
    font-size: 3.5rem;
    color: #333;
    display: block;
    margin-top: -10px;
    transform: rotate(-3deg);
}

/* --- Kacheln (Cards) --- */
.gentle-next-steps {
    text-align: center;
    margin-top: 60px;
    opacity: 0;
    animation: fadeInText 1s ease forwards 3.5s;
}

.offer-intro {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.clean-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.clean-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #f0f0f0;
}

.icon-circle {
    width: 50px; height: 50px;
    background: #fcfcfc;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.clean-card h3 {
    margin: 0 0 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.clean-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #777;
    line-height: 1.4;
}

/* --- Chat Section --- */
.chat-section {
    margin-top: 60px;
    text-align: center;
    opacity: 0;
    animation: fadeInText 1s ease forwards 4s;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.chat-title { font-family: 'Lato', sans-serif; color: #333; font-size: 1.5rem; margin-bottom: 10px; }
.chat-subtitle { color: #888; margin-bottom: 25px; }

.chat-form {
    max-width: 600px;
    margin: 0 auto;
}

.chat-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 5px 5px 5px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s;
}

.chat-input-wrapper:focus-within {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #ccc;
}

.chat-input-wrapper textarea {
    border: none;
    background: transparent;
    flex-grow: 1;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    resize: none;
    outline: none;
    padding: 10px 0;
    color: #333;
}

.btn-send {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    margin-left: 10px;
}

.btn-send:hover { background: #b30000; }

/* --- Animations Keyframes (Angepasst) --- */

@keyframes openFlapClean {
    0% { transform: rotateX(0deg); z-index: 21; }
    100% { transform: rotateX(180deg); z-index: 1; } 
}

/* NEU */
@keyframes slideLetterOutLarge {
    0% { transform: translateY(0); z-index: 15; }
    40% { transform: translateY(-80px); z-index: 15; } 
    41% { z-index: 25; }
    100% { 
        transform: translateY(100px) scale(1);
        z-index: 25; 
        height: auto; 
        min-height: 400px;
    } 
}

@keyframes fadeInText { to { opacity: 1; } }

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .main-stage { padding-top: 120px; }
    .envelope-wrapper { height: 300px; margin-bottom: 150px; }
    .handwritten-body { font-size: 1.4rem; }
    .jesus-sig { font-size: 2.5rem; }
    
    /* Animation mobil etwas kleiner halten */
    @keyframes slideLetterOutLarge {
        0% { transform: translateY(0); z-index: 15; }
        40% { transform: translateY(-60px); z-index: 15; } 
        41% { z-index: 25; }
        100% { transform: translateY(150px) scale(1); z-index: 25; height: auto; min-height: 350px; } 
    } 
}

/* Mobile Anpassungen */
@media (max-width: 375px) {
    .main-stage { padding-top: 280px; }
    .envelope-wrapper { height: 300px; margin-bottom: 150px; }
	.letter-content { padding: 20px; }
    .handwritten-body { font-size: 1.5rem; }
    .jesus-sig { font-size: 2.5rem; }
    
    /* Animation mobil etwas kleiner halten */
    @keyframes slideLetterOutLarge {
        0% { transform: translateY(0); z-index: 15; }
        40% { transform: translateY(-60px); z-index: 15; } 
        41% { z-index: 25; }
        100% { transform: translateY(150px) scale(1); z-index: 25; height: auto; min-height: 350px; } 
    } 
}