@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');


* Grundstil & Reset *
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { 
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #111;
  color: #eee; 
  line-height: 1.6;
  overflow-x: hidden;
}
 
.element-to-animate {
  opacity: 0; /* Startet unsichtbar */
}

/* US Flagge */
/* US FLAGGE oben*/
.lang-switch {
  display: flex; /* Flexbox für saubere Ausrichtung */
  align-items: center; /* Vertikale Zentrierung des Bildes */
  justify-content: center; /* Horizontale Zentrierung */
  position: absolute; /* Zentrierung auf der Seite */
  top: 52px; /* Abstand vom oberen Rand */
  left: 50%; /* Mittig positioniert */
  transform: translateX(-50%); /* Zentriert den Container horizontal */
  padding: 10px; /* Erhöhter Innenabstand für mehr Platz */
}

.flag-icon {
  width: 50px; /* Größere Breite für das Bild */
  height: auto; /* Behält das Seitenverhältnis bei */
  display: block; /* Entfernt unnötige Abstände unter dem Bild */
  cursor: pointer; /* Zeigt an, dass das Bild klickbar ist */
  transition: transform 0.3s ease; /* Sanfte Skalierung beim Hover */
  margin-top: 5px; /* Leichter Abstand nach oben innerhalb des Containers */
}

.flag-icon:hover {
  transform: scale(1.1); /* Leichtes Vergrößern beim Hover für Interaktivität */
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
  .flag-icon {
    width: 50px; /* Größere Breite auf Mobilgeräten */
    margin-top: 5px; /* Mehr Abstand nach oben innerhalb des Containers */
  }

  .lang-switch {
    padding: 10px; /* Größerer Innenabstand auf Mobilgeräten */
    top: 60px; /* Mehr Abstand vom oberen Rand */
  }
}


.btn-confirm {
  background: black;
  color: #D4AF37; /* Goldene Schrift */
  border: 1px solid #D4AF37; /* Dünne goldene Umrandung */
  padding: 10px 20px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
}

/* Hover-Effekt mit leichtem Glow */
.btn-confirm:hover {
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  color: #FFD700; /* Helleres Gold beim Hover */
  border-color: #FFD700;
}

.btn-accept {
  background: linear-gradient(90deg, #ffd90073, #d4af3777); /* Goldener Farbverlauf */
  color: black;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* Hover-Effekt mit Glow und Farb-Shift */
.btn-accept:hover {
  background: linear-gradient(90deg, #FFD700, #FFC107);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 25px rgba(255, 215, 0, 0.5);
  transform: scale(1.05);
}






/* Toggle-Items */
.toggle-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Kippschalter */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cccccc44;
  transition: .4s;
  border-radius: 20px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #ffffff1e;
}
input:checked + .slider:before {
  transform: translateX(20px);
}

/* Mobile Ansicht */





/* Header & Navigation */
header {
  position: fixed;  /* Fixiert den Header beim Scrollen */
  top: 0;
  left: 0;  /* Stellt sicher, dass der Header immer ganz links startet */
  right: 0; /* Stellt sicher, dass der Header nicht über den Rand geht */
  width: 100%; /* Nimmt die volle Breite ein, aber nicht mehr */
  max-width: 100vw; /* Verhindert, dass er über den Viewport hinausgeht */
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  padding: 5px 15px; /* Weniger Padding, um Verschiebung zu vermeiden */
  margin: 0; /* Entfernt ungewollte Ränder */
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box; /* Verhindert, dass Padding die Breite beeinflusst */
}

/* Raleway für alle Texte im Header */
header,
header * {
  font-family: 'Raleway', sans-serif !important;
}

/* Overlay Styling */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}

/* Navigation fixen */
.navbar ul {
  display: flex;
  justify-content: flex-end; /* Hält das Menü rechts ausgerichtet */
  gap: 20px; /* Fügt Abstand zwischen den Menüelementen hinzu */
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

/* Falls dein Menü trotzdem über den Rand geht */
@media (max-width: 1024px) {
  .navbar ul {
    justify-content: center; /* Zentriert das Menü für kleinere Bildschirme */
  }
}

nav ul {
  font-family: 'Raleway', sans-serif;
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 30px;
}
nav ul li a {
  font-family: 'Raleway', sans-serif;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 0.9rem; /* Reduziert die Schriftgröße auf ca. 14.4px */
}
nav ul li a:hover {
  color: #D4AF37;
}
@media (max-width: 768px) {
  nav ul li a {
    font-size: 10px; /* Kleinere Schrift für die Navigation */
  }
}

/* Styling für die Menüpunkte */
.main-nav ul li a {
  font-family: 'Raleway', sans-serif; /* Schriftart Raleway */
  font-weight: 400; /* Normales Gewicht */
  color: white; /* Bestehende Farbe */
  text-decoration: none; /* Entfernt Unterstreichung */
  padding: 6px 3px; /* Abstand für besseres Aussehen */
  transition: color 0.3s ease; /* Sanfte Farbübergänge */
}

.main-nav ul li a:hover {
  color: gold; /* Hover-Effekt für Menüpunkte */
}

/* CTA-Button Styling */
.main-nav .cta-button {
  font-family: 'Raleway', sans-serif; /* Schriftart Raleway */
  font-weight: 700; /* Fettes Gewicht für CTA-Button */
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 3px;
  text-transform: uppercase;
  border: 1px solid gold;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  animation: pulse 2s infinite;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  top: 14px; /* Schiebt den Button nach oben */
  margin-top: 0px; /* Weniger Abstand nach oben */
  margin-right: 320px; /* Mehr Abstand nach rechts */
}

.main-nav .cta-button:hover {
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8),
              0 0 20px rgba(255, 215, 0, 0.6); /* Stärkerer Leuchteffekt beim Hover */
  transform: scale(1.05); /* Leichte Vergrößerung beim Hover */
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7),
                0 0 15px rgba(255, 215, 0, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .main-nav ul li a {
    font-family: 'Raleway', sans-serif; /* Schriftart Raleway */
    font-weight: 400; /* Normales Gewicht */
    font-size: 0.9rem; /* Angemessene Schriftgröße für Menüpunkte */
  }

  .main-nav .cta-button {
    font-family: 'Raleway', sans-serif; /* Schriftart Raleway */
    font-weight: 700; /* Fettes Gewicht */
    display: block;
    margin: 15px auto 0;
    padding: 6px 16px;
    font-size: 0.4rem;
    text-align: center;
    width: fit-content;
  }

  /* Startseite (erstes Element) ausblenden */
  .main-nav ul li:nth-child(1) {
    display: none;
  }

  /* Unser Team ausblenden */
  .main-nav ul li:nth-child(3) {
    display: none;
  }

  /* Services nach links ausrichten */
  .main-nav ul li:nth-child(2) {
    margin-right: auto;
    margin-left: 0;
    display: none;
  }
}

/* Hero Section */
#hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}
.hero-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}
.hero-content h1 {
  font-family: "Futura", "Gill Sans", sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  color: #ffd900cb;
}
.hero-content p {
  font-family: 'Lora', serif;
  font-size: 1.0em;
  font-weight: 300;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .hero-content {
    margin-top: 90px;
  }

  .hero-content h1 {
    font-size: 9px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 
                 0 0 20px rgba(255, 215, 0, 0.5);
    animation: glow 1.5s infinite alternate;
  }

  @keyframes glow {
    0% {
      text-shadow: 0 0 5px rgba(255, 215, 0, 0.5), 
                   0 0 10px rgba(255, 215, 0, 0.3);
    }
    100% {
      text-shadow: 0 0 10px rgba(255, 215, 0, 0.9), 
                   0 0 20px rgba(255, 215, 0, 0.6);
    }
  }
}



.cta-button {
  position: absolute; /* Positioniert den Button relativ zum Header */
  top: 20px; /* Abstand vom oberen Rand */
  right: 20px; /* Abstand vom rechten Rand */
  background-color: #fbff0067; /* Grüne Farbe für Auffälligkeit */
  color: white; /* Weißer Text */
  padding: 10px 20px; /* Innenabstand für Größe */
  border-radius: 5px; /* Abgerundete Ecken */
  text-decoration: none; /* Keine Unterstreichung */
  font-weight: bold; /* Fettschrift für Betonung */
  transition: background-color 0.3s, transform 0.3s; /* Sanfte Übergänge für Hover-Effekte */
}

.cta-button:hover {
  background-color: #faf600af; /* Dunkleres Grün beim Überfahren */
  transform: scale(1.05); /* Leichtes Vergrößern beim Hover */
}
@media (max-width: 768px) {
  .cta-button {
    top: 10px; /* Weniger Abstand oben */
    right: 10px; /* Weniger Abstand rechts */
    padding: 8px 15px; /* Kleinerer Button */
    font-size: 14px; /* Kleinere Schrift */
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
}
.cta-buttons a {
  padding: 15px 30px;
  border: 2px solid #ffd900a2;
  color: #ffd900cb;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}
.cta-buttons a:hover {
  background: #ffd900cb;
  color: #111;
}

.logo-container {
  position: absolute;
  top: 0px; /* Logo direkt am oberen Rand */
  left: 50%; /* Mittig positioniert */
  transform: translateX(-50%); /* Zentriert den Container */
  text-align: center; /* Zentriert Inline- oder Inline-Block-Elemente */
  max-width: 200px; /* Reduzierte maximale Breite für kleineren Container */
  width: 100%; /* Sorgt dafür, dass der Container nicht breiter als nötig wird */
}

.logo-container img {
  width: 90%; /* Kleinere Breite für das Bild */
  height: auto; /* Behält das Seitenverhältnis */
  display: block; /* Entfernt unnötige Abstände und ermöglicht Zentrierung */
  margin: 0 auto; /* Zentriert das Bild horizontal */
  max-width: 35%; /* Kleinere maximale Breite für das Bild */
}

@media (max-width: 768px) {
  .logo-container {
    top: 0px; /* Logo direkt am oberen Rand in mobiler Ansicht */
    left: 50%;
    transform: translateX(-50%);
    width: 100%; /* Erhöht die Breite auf 100% der verfügbaren Breite */
    max-width: 240px; /* Reduzierte maximale Breite für mehr Platz */
  }

  /* Bild im Container */
  .logo-container img {
    width: 80%; /* Kleinere Breite für das Bild in mobiler Ansicht */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* Falls Text im Container ist (z. B. ein Firmenname) */
  .logo-container span, 
  .logo-container p {
    font-size: 0.5rem; /* Noch kleinere Schriftgröße für mobile Ansicht */
  }
}

.logo:hover {
  animation: glow 1.5s infinite;
}

@keyframes glow {
  0% { text-shadow: 0 0 5px #D4AF37; }
  50% { text-shadow: 0 0 30px #D4AF37; }
  100% { text-shadow: 0 0 20px #D4AF37; }
}

/* Volle Deckkraft beim Hover */
.logo-container img:hover {
  opacity: 0.8; /* Wenn die Maus darüberfährt, wird das Logo vollständig sichtbar */
}

.logo {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8em; /* Kleinere Schriftgröße für Text-Logo */
  font-weight: 700;
  margin-left: 30px;
  color: #e5e5e5dc;
  cursor: pointer;
  transition: all 0.3s ease;
}


/* Responsive Anpassungen */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0);
  }
  .logo {
    display: none; 
  }
  nav ul li {
    margin-left: 10px;
  }
  #services {
    padding: 80px 20px;
    display: block;
  }
  
  .service-detail {
    padding: 40px 20px;
    display: flex;
  }
  

  
  #contact {
    padding: 80px 20px;
    display: flex;
  }
  .hero-content h1 {
    font-size: 2.5em;
  }
}



/* Services Section */
#services {
  padding: 100px 50px;
  background: linear-gradient(to bottom right, #000000, #666666);
}

#services h2 {
  text-align: center;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  color: #ffd900b0;
}

.service-title {
  font-family: 'Montserrat', sans-serif;
  color: #ffd900a9; /* Goldene Farbe */
  font-size: 1.2em;
  margin-top: 60px; /* Erhöht den Abstand nach unten */
  padding-top: 15px; /* Falls noch mehr Abstand nötig ist */
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 20px; /* Fügt links und rechts Abstand hinzu */
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* Eine Spalte pro Zeile */
    gap: 15px; /* Etwas kleinerer Abstand für mobile Ansicht */
  }
}

/* Service-Karten */
.service-card {
  font-family: 'Montserrat', sans-serif;
  position: relative; /* Wichtig für das Pseudoelement */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  z-index: 1; /* Standard-z-index */
  font-size: 0.9rem;
}

.service-card:hover {
  transform: translateY(-50px) scale(1.2);
  z-index: 10; /* Erhöht den z-index beim Hover */
}

/* Pseudoelement für den Hintergrund-Effekt */
.service-card::before {
  content: "";
  position: fixed; /* Deckt den gesamten Viewport ab */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dunkler Hintergrund */
  backdrop-filter: blur(5px); /* Verschwimmt den Hintergrund */
  opacity: 0; /* Standardmäßig unsichtbar */
  transition: opacity 0.3s ease-in-out;
  z-index: -1; /* Unter der Karte */
  pointer-events: none; /* Ermöglicht Interaktion mit der Karte */
}

.service-card:hover::before {
  opacity: 1; /* Overlay wird sichtbar */
}

/* Standardmäßiges Hintergrundvideo (als Standbild sichtbar, aber dunkler) */
.service-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1; /* Standardmäßig sichtbar */
  filter: brightness(40%); /* 40% Helligkeit = dunkler Effekt */
  transition: filter 0.3s ease-in-out;
  z-index: 0;
}


/* Hover-Effekt: Video wird leicht heller */
.service-card:hover .service-video {
  filter: brightness(80%); /* Erhöht die Helligkeit bei Hover */
}


/* Inhalt der Karte */
.service-card h3,
.service-card p,
.service-card a {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 15px;
  color: #ffd900a9;
}

.service-card p {
  margin-bottom: 20px;
  font-size: 0.95em;
}

.service-card a {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #ffd90085;
  color: #ffd900cb;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  font-weight: 600;
}

.service-card a:hover {
  background: #ffd900b6;
  color: #111;
}

/* Video wird erst beim Hover sichtbar */
.service-card:hover .service-video {
  opacity: 1;
}

/* Globaler Hintergrund mit linear-gradient von Schwarz zu Grau und Standard-Fonts */
body {
  background: linear-gradient(135deg, #000000, #333333);
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

/* Standard-Gradient für alle Service-Details */
.service-detail {
  position: relative;
  padding: 30px 20px; /* Gleicher Abstand links und rechts */
  border-top: 1px solid #333;
  color: white;
  text-align: center;
  background: linear-gradient(315deg, #1a1a1a 0%, #4747479c 100%);
  background-size: 100% 200%;
  animation: gradientAnimation 15s ease infinite;
}

/* Vereinheitlichung für #service4 und #service6 */
#service4,
#service6 {
  background: linear-gradient(315deg, #1a1a1a 0%, #4747479c 100%); /* Gleicher Gradient wie andere */
  background-size: 100% 100%;
  animation: gradientAnimation 15s ease infinite; /* Einheitliche Animation */
}

@keyframes gradientAnimation {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Überschriften im Service-Bereich */
.service-detail h3 {
  font-family: 'Unica One', sans-serif;
  color: #ffd900; /* volle Deckkraft für einheitliche Helligkeit */
  margin-bottom: 20px;
  font-size: 2rem;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.1), 0 0 5px rgba(255,255,255,0.05);
  letter-spacing: 0.5px;
  padding: 0 20px; /* Gleicher horizontaler Abstand */
}

/* Fließtexte und Listen in Raleway */
.service-detail p {
  font-family: 'Raleway', sans-serif;
  color: #ffffff; /* volle Deckkraft für einheitliche Helligkeit */
  margin-bottom: 20px;
  padding: 0 20px; /* Symmetrische horizontale Abstände */
}



.intro-text {
  font-family: 'Playfair', sans-serif;
  font-size: 1.1em;
  line-height: 1.6;
  color: #f5f5f5;
  text-align: center;
}

/* Sanfte Fade-In Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* CSS für das Services-GIF mit pulsierendem Lichteffekt - eindeutige Klassennamen */
/* CSS für das Services-GIF mit pulsierendem Lichteffekt - eindeutige Klassennamen */
/* CSS für das Services-GIF mit pulsierendem Lichteffekt - eindeutige Klassennamen */
.unique-gif-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  position: relative;
  cursor: pointer; /* Zeigt an, dass das Element anklickbar ist */
}

.unique-services-animation {
  width: 80px;
  height: auto;
  z-index: 2;
  position: relative;
}

/* Dezenterer Heiligenschein */
.unique-gif-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 30%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 1;
  animation: unique-inner-pulse 3s infinite ease-in-out;
  opacity: 0.4;
}

@keyframes unique-inner-pulse {
  0% {
    width: 100px;
    height: 100px;
    opacity: 0.4;
  }
  50% {
    width: 105px;
    height: 105px;
    opacity: 0.2;
  }
  100% {
    width: 100px;
    height: 100px;
    opacity: 0.4;
  }
}

.unique-gif-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(255,255,255,0) 60%, rgba(255,255,255,0.07) 70%, rgba(255,255,255,0) 80%);
  border-radius: 50%;
  z-index: 1;
  animation: unique-outer-pulse 4s infinite ease-in-out;
}

@keyframes unique-outer-pulse {
  0% {
    width: 60px;
    height: 60px;
    opacity: 0.3;
  }
  50% {
    width: 90px;
    height: 90px;
    opacity: 0.15;
  }
  100% {
    width: 90px;
    height: 90px;
    opacity: 0.3;
  }
}

/* Explosionseffekt bei Touch/Klick */
.unique-gif-wrapper.exploding::before {
  animation: unique-explosion 0.8s ease-out forwards;
}

@keyframes unique-explosion {
  0% {
    width: 100px;
    height: 100px;
    opacity: 0.6;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

/* Bei Explosion auch den äußeren Ring animieren */
.unique-gif-wrapper.exploding::after {
  animation: unique-outer-explosion 1s ease-out forwards;
}

@keyframes unique-outer-explosion {
  0% {
    width: 90px;
    height: 90px;
    opacity: 0.4;
  }
  100% {
    width: 220px;
    height: 220px;
    opacity: 0;
  }
}

/* styles.css - Dein komplettes CSS mit den Mobil-Parallax-Erweiterungen */

/* Parallax Sections */
.parallax-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Static Background Sections */
.static-background {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Video-Hintergrund */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
}

/* Hintergrundbilder für deine Service-Sektionen mit dunklerem Overlay */
#service1 {
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://cloudcastlesolutions.com/images/detsec1.jpg');
}
#service2 {
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://cloudcastlesolutions.com/images/detsec2.jpeg');
}
#service3 {
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://cloudcastlesolutions.com/images/3doptnice.jpg');
}
#service4 {
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://cloudcastlesolutions.com/images/detsec4.jpg');
}
#service5 {
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://cloudcastlesolutions.com/images/tin-can-3984776_1920.jpg');
}
#service6 {
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://cloudcastlesolutions.com/images/new-brighton-1239724_1920.jpg');
}

/* Key-Visual Styling */
.service-detail .key-visual {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: rgba(0,0,0,0.1);
  z-index: 1;
}

/* Content-Bereich */
.service-detail .content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Eleganter CTA-Button */
.cta-detail {
  display: inline-block;
  padding: 12px 25px;
  border: 2px solid #ffd900;
  color: #ffd900;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  font-weight: 600;
  border-radius: 4px;
  background: transparent;
  margin: 20px 0 60px;
}
.cta-detail:hover {
  background: #ffd900;
  color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
 
/* Mobile-Optimierungen */
@media (max-width: 767px) {
  .service-detail {
    padding: 20px !important;
  }

  .service-detail h3 {
    font-size: 1.5rem !important;
    padding: 0 20px !important;
    text-align: center !important;
  }

  .service-detail p {
    padding: 0 20px !important;
    font-size: 0.95rem !important;
    text-align: center !important;
    margin-bottom: 15px !important;
  }

  /* Fix für mobile Ansicht - alle Hintergründe festsetzen */
  .parallax-section,
  .static-background {
    background-attachment: scroll !important;
    min-height: auto !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Spezieller Fix für die Sektionen 1, 2, 3 und 5 */
  #service1,
  #service2,
  #service3,
  #service5 {
    background-attachment: scroll !important;
    background-position: center !important;
    background-size: cover !important;
    overflow-x: hidden !important;
    background-repeat: no-repeat !important;
  }

  .background-video {
    display: none !important;
  }

  .service-detail .content {
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .cta-detail {
    padding: 10px 20px !important;
    font-size: 1rem !important;
    margin: 15px 0 40px !important;
  }

  /* Mobile Parallax mit Überlappung */
  .mobile-parallax {
    position: relative;
    z-index: 1;
  }
  .mobile-parallax::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 130%;
    width: 100%;
    background-image: inherit;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
    transform: translateY(-15%) scale(1.1);
    will-change: transform;
    transition: transform 0.3s ease-out;
    pointer-events: none;
  }
  .mobile-parallax:nth-of-type(even)::before {
    transform: translateY(-10%) scale(1.15);
  }

  /* Horizontale Shifts für 2,4,6 */
  .horizontal-shift::before {
    animation: horizontalParallax 10s ease-in-out infinite alternate;
  }
  @keyframes horizontalParallax {
    0% {
      background-position: 60% center;
    }
    100% {
      background-position: 40% center;
    }
  }

  /* Smooth Scroll für schönes Feeling */
  html {
    scroll-behavior: smooth;
  }
}

/* Zusätzliche Fix für iOS Safari */
@supports (-webkit-touch-callout: none) {
  .static-background,
  #service1,
  #service2,
  #service3,
  #service5 {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
  }
}

/* Globale Box-Sizing-Regel */
* {
  box-sizing: border-box;
}

/* Fix für overflow-x auf dem body */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}





/* Über uns (About) Section */
#about {
  padding: 60px 50px;
  background-color: #1a1a1a;
  text-align: center;
}

#about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
}


/* Footer */
/* Footer-Styling */
.glow-footer {
  position: relative;
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 40px 20px; /* Gleichmäßiger Abstand oben und unten */
  font-size: 1em;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

/* Sanfte Lichtwelle über den gesamten Footer */
.glow-footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 250%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-50%);
  animation: full-glow 4s infinite ease-in-out;
  filter: blur(18px);
}

/* Dezenter goldener Glanzeffekt in der Mitte */
.gold-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%; /* Etwas schmaler für mehr Eleganz */
  height: 6px;
  background: linear-gradient(to right, rgba(255, 215, 0, 0) 0%, rgba(255, 215, 0, 0.6) 50%, rgba(255, 215, 0, 0) 100%);
  transform: translate(-50%, -50%);
  filter: blur(5px); /* Weniger verschwommen */
  opacity: 0.4; /* Reduzierte Intensität */
  animation: gold-glow 3s infinite alternate ease-in-out;
}

/* Animierte Lichtwellen für den Glow */
@keyframes full-glow {
  0%, 100% {
    opacity: 0.25;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1.2);
  }
}

/* Sanftere Pulsierung für das goldene Licht */
@keyframes gold-glow {
  0% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scaleX(1.03);
  }
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scaleX(1.1);
  }
}

/* Dezentes Leuchten nach oben */
.glow-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0.4;
  pointer-events: none;
}


/* Responsive Anpassungen */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  
  nav ul li {
    margin-left: 90px;
  }
  #services {
    padding: 80px 20px;
    display: block;
}

.service-detail {
    padding: 80px 20px;
    display: block;
}


  .hero-content h1 {
    font-size: 2.5em;
  }
}


.service-card button {
  margin-top: 0.8rem;
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 4px;
  background: var(--primary-color);
  color: var(--bg-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-speed), transform var(--transition-speed);
  outline: 1px solid gold; /* Hinzugefügt */
}
.service-card button:hover {
  background: #b3922ec9;
  transform: scale(1.05);
  box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.7); /* Goldener Innen-Schatten */
}
.service-card h3,
.service-card p,
.service-card button {
  position: relative;
  transition: background var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
  z-index: 1; /* Höher als das Video (z-index: 0) */
}


/* Menü-Button (☰) */
/* Menü-Button */
.menu-button {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 18px;
  cursor: pointer;
  color: #D4AF37; /* Gold */
  background: none;
  border: none;
  z-index: 1001;
}

/* Seitenmenü (anfangs verborgen) */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px; /* Menü versteckt */
  width: 300px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
  transition: left 0.4s ease-in-out;
  padding-top: 50px; /* Abstand zum oberen Rand */
  z-index: 1000;
  overflow-y: auto;
}

/* Menü aktiv (eingeblendet) */
/* Menü aktiv (eingeblendet) */
/* Menü aktiv (eingeblendet) */
/* Menü aktiv (eingeblendet) */
.side-menu.active {
  left: 0;
}

/* Submenü (enthält alle 6 Unterpunkte) */
.submenu {
  font-family: 'Raleway', sans-serif; /* Schriftart Raleway für Konsistenz */
  display: block;
  padding-left: 15px; /* Standard-Abstand für Desktop */
  margin-top: 5px;
  list-style: none;
  padding: 0;
}

.submenu li {
  padding: 10px 20px;
}

.submenu a {
  font-family: 'Raleway', sans-serif; /* Schriftart Raleway */
  font-weight: 400; /* Normales Gewicht */
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

.submenu a:hover {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .menu-button {
    top: 26px;
    left: 25px;
    font-size: 16px;
  }

  .side-menu {
    width: 250px;
    left: -250px;
    padding-top: 120px;
  }

  .side-menu.active {
    left: 0;
  }

  .submenu {
    padding-left: 5px; /* Reduzierter linker Abstand für Submenü */
  }

  .submenu li {
    padding: 8px 5px; /* Reduzierter linker und rechter Abstand für Listenelemente */
  }

  .submenu a {
    font-family: 'Raleway', sans-serif; /* Schriftart Raleway */
    font-weight: 400; /* Normales Gewicht */
    font-size: 14px;
  }
}

.email-label,
.message-label {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Arial Narrow', sans-serif;
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .email-label,
  .message-label {
    padding: 0 35px 0 5px;
    margin: 0 auto 15px auto; /* Zentriert die Felder */
    width: 90%; /* 10% schmaler als der Bildschirm */
    max-width: 400px; /* Maximale Breite begrenzen */
    box-sizing: border-box;
  }
}
  
  /* Sicherstellen dass das Eltern-Element auch Abstände hat */
  .form-container {
    padding: 0 15px;
  }


.message-label {
  margin-top: 20px; /* Zusätzlicher Abstand nach oben für das Nachrichtenfeld */
}

/* Entferne den statischen Hintergrund, falls noch vorhanden */
#hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* Verhindert Überlauf von Elementen */
  background: none; /* Falls vorher ein statisches Hintergrundbild war */
}

/* Hintergrundvideo soll über die gesamte Breite und Höhe gehen */
.hero-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Stellt sicher, dass das Video den ganzen Bildschirm füllt */
  z-index: -1; /* Damit es hinter dem Inhalt bleibt */
}

/* Falls das Video zu dunkel/hell ist, Overlay hinzufügen */
#hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Leichtes Dunkel-Overlay für bessere Lesbarkeit */
  z-index: 0;
}



/* Mobile Ansicht: Header kleiner machen */
@media (max-width: 768px) {
  header {
    padding: 10px 10px;  /* Weniger Padding für eine kleinere Höhe */
  }

  .navbar {
    font-size: 14px;  /* Verkleinert die Schriftgröße der Navigation */
  }
}

/* ==============================
   TEAM SECTION STYLING
   ============================== */
/* Über uns (About) Section */
#about {
  padding: 100px 50px;
  background-color: #1a1a1a;
  text-align: center;
}
#about h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #ffd900cb;
}
#about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
}

/* CONTAINER FÜR TEAM KARTEN */
.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 20px;
}

/* Einzelne Team-Karte (dunkles Design, wird weiter unten überschrieben für helle Karten) */
.team-member {
  position: relative;
  background: #2b2b2b;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  width: 250px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Profilbilder im Kreis mit Rand */
.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 3px solid #FFD700;
  transition: transform 0.3s ease;
}
.team-member:hover img {
  transform: scale(1.05) rotate(1deg);
}

/* Name (h3) */
.team-member h3 {
  font-size: 18px;
  margin: 5px 0;
  color: #FFD700;
}

/* Positions-Titel */
.team-member .position {
  font-size: 14px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.team-member:hover .position {
  color: #ffa500;
}

/* Beschreibungstext */
.team-member p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.4;
}
.team-member p:not(.position) {
  margin-top: 6px;
}

/* ---- Helle Karten (zweites Layout) ---- */
.team-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
}

.team-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.team-member {
  width: 48%; /* für zwei Karten nebeneinander */
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.team-member img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #333;
}

.team-member .position {
  font-size: 1.2em;
  font-weight: bold;
  color: #555;
  margin-bottom: 15px;
}

.team-member p {
  font-size: 1em;
  line-height: 1.6;
  color: #666;
}

/* ---- Responsive Anpassungen ---- */
@media (max-width: 768px) {
  /* Kein Abstand links/rechts, Karten gehen bis zum Rand */
  .team-container {
    padding: 5;
    gap: 15px;
  }

#about {
    padding: 80px 20px;
    display: block;
}

#contact {
    padding: 80px 0px;
    display: block;
}

  .team-row {
    flex-direction: column;
    gap: 15px;
  }

  .team-member {
    width: 100%;
  }
}



  /* Stil für die Zitat-Section */
.quote-section {
  position: relative;
  width: 100%;
  height: 60vh; /* 60% der Bildschirmhöhe */
  overflow: hidden;
}


/* Hintergrundvideo */
.quote-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Stellt sicher, dass das Video den Bereich abdeckt */
  z-index: 1;
}

/* Overlay für besseren Kontrast */
.quote-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5); /* Leicht dunkles Overlay für bessere Lesbarkeit */
}

/* Zitat-Text */
.quote-text {
  max-width: 800px;
  text-align: center;
  color: #fff;
    font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.5;
  opacity: 0; /* Startet unsichtbar */
  animation: fadeIn 2s ease-in forwards; /* Blendet das Zitat langsam ein */
}

/* Name des Autors */
.quote-text footer {
  font-style: italic;
  font-weight: 200;
  opacity: 0.8;
  padding-top: 0;
  padding-bottom: 0;
}

/* Animations-Keyframe */
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Responsives Design für kleinere Geräte */
@media (max-width: 768px) {
  .quote-text {
      font-size: 1.3rem;
      padding: 1rem;
  }
}



/* Hintergrundvideo Styling */
#background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Zentriert das Video */
  width: 100%;
  height: 100%;
  object-fit: cover; /* Deckt den ganzen Bereich ab */
  z-index: -1; /* WICHTIG: Damit das Video hinter dem Inhalt bleibt */
  opacity: 0.5; /* Optional: Abdunkeln für bessere Lesbarkeit */
}



#modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.89);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
#modal.active {
  display: flex;
}
.modal-content {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  position: relative;
  text-align: center;  /* Inhalt zentrieren */
  color: #ffffffe5;
}

.modal-content h3 {
  color: #f3c702;
  margin-bottom: 1rem;
}
.modal-content p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color:#ffffff ;
}

/* Optional: Eleganter Schimmer-Effekt über Text-Shadow */
.modal-content h3,
#modal-details {
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

/* Falls du eine animierte Variante wünschst, kannst du diesen Schimmer animieren */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200% auto;
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f3c702; /* Kein Hintergrund */
  color: #000000; /* #d4af37, Gold für das X */
  border: 2px #f3c702; /* Goldener Kreis */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-weight: bold;
  line-height: 30px;
}
.modal-close:hover {
  background: #0000006e; /* Halbtransparentes Weiß */
  color: var(--bg-color); /* Schwarzes X */
  animation: heartbeatGlow 1.5s infinite; /* Pulsierender Lichteffekt */
}

/* Animation für den Herzschlag-Effekt */
@keyframes heartbeatGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); /* Start: Kein Glühen */
  }
  20% {
    box-shadow: 0 0 10px 5px rgba(212, 175, 55, 0.9); /* Erster "Schlag": Starkes Glühen */
  }
  30% {
    box-shadow: 0 0 5px 2px rgba(212, 175, 55, 0.5); /* Schnelles Zurückziehen */
  }
  50% {
    box-shadow: 0 0 8px 4px rgba(212, 175, 55, 0.8); /* Zweiter "Schlag": Etwas schwächer */
  }
  60% {
    box-shadow: 0 0 3px 1px rgba(212, 175, 55, 0.4); /* Zurückziehen */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); /* Ende: Kein Glühen */
  }
}



  /* Größere Lichtexplosion mit Mocha-Farbe */
  .mochaLightBurst {
    position: fixed; /* Positioniert das Element absolut im Viewport */
    top: 40%; /* Setzt die obere Kante des Elements auf 50% des Viewports */
    left: 50%; /* Setzt die linke Kante des Elements auf 50% des Viewports */
    transform: translate(-50%, -50%) rotate(45deg); /* Zentriert das Element und dreht es um 45 Grad für eine spitze, pyramidenartige Form */
    width: 0; /* Setzt die anfängliche Breite des Elements auf 0 */
    height: 0; /* Setzt die anfängliche Höhe des Elements auf 0 */
    background: radial-gradient(ellipse at center, rgba(139, 69, 19, 1) 0%, rgba(255, 255, 255, 0) 70%); /* Erzeugt einen radialen Farbverlauf von Braun zu transparent */
    opacity: 0; /* Macht das Element anfänglich unsichtbar */
    pointer-events: none; /* Verhindert, dass das Element auf Mausereignisse reagiert */
    z-index: 9999; /* Setzt den Stapelkontext hoch, um es über allem anzuzeigen */
    animation: mochaBurst 0.6s forwards; /* Wendet die Animation "mochaBurst" an */
  }
  
  @keyframes mochaBurst {
    0% {
      width: 0; /* Anfängliche Breite ist 0 */
      height: 0; /* Anfängliche Höhe ist 0 */
      opacity: 1; /* Anfängliche Deckkraft ist 1 (voll sichtbar) */
    }
    100% {
      width: 3000px; /* Endgültige Breite ist 1000 Pixel */
      height: 3000px; /* Endgültige Höhe ist 1000 Pixel */
      opacity: 0; /* Endgültige Deckkraft ist 0 (unsichtbar) */
    }
  }

  button[type="submit"] {
    display: block; /* Macht den Button zu einem Block-Element */
    margin: 0 auto; /* Zentriert den Button horizontal */
    padding: 12px 24px; /* Gute Klickfläche */
    background-color: #a5a5a5c5; /* Goldener Farbton */
    color: #000; /* Schwarzer Text */
    border: none;
    border-radius: 4px; /* Leicht abgerundete Ecken */
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease; /* Sanfte Hover-Animation */
  }
  
  /* Optional: Hover-Effekt */
  button[type="submit"]:hover {
    background-color: #ffc800; /* Etwas dunkleres Gold */
    transform: scale(1.05); /* Leichte Vergrößerung */
  }
  
  /* Für mobile Ansicht anpassen */
  @media (max-width: 768px) {
    button[type="submit"] {
      width: 90%; /* Mehr Breite auf kleinen Bildschirmen */
      max-width: 300px; /* Maximale Breite begrenzen */
      padding: 15px; /* Größere Klickfläche für Touch */
    }
  }

  /* dark-theme.css - Schwarz-Gold Theme Styles */

/* Hintergrund- und Textfarben */
.bg-black {
  background-color: #000;
}
.text-gold {
  color: #d4af37;
}

/* Separator (Trennlinie) */
.separator-gold {
  width: 60px;
  height: 4px;
  background-color: #d4af37;
  margin: 16px auto;
}

/* Buttons */
.btn-gold {
  background-color: #d4af37;
  color: #000;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-gold:hover {
  background-color: #b5942e;
}






/* Formular-Styling */
.form-dark input,
.form-dark textarea,
.form-dark select {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 4px;
  color: #d4af37;
}
.form-dark input::placeholder,
.form-dark textarea::placeholder {
  color: #777;
}

/* Kontakt-Icons */
.gold-icon i,
.link-gold,
.footer-dark .footer-social a {
  color: #d4af37;
}

/* Footer */
.footer-dark {
  background-color: #000;
  color: #d4af37;
}
.footer-dark a.link-gold:hover {
  text-decoration: underline;
}

/* Newsletter */
.newsletter-dark .newsletter-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Container-Abstände */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-header {
  text-align: center;
  padding-top: 30px; /* Statt margin-top */
  margin-bottom: 40px;
  font-family: 'Playfair Display', serif; /* Elegante Google Font */
}

.section-header h2 {
  font-size: 2.5rem;
  color: #d4af37;
  margin-top: 12px;
}

/* Kontakt & Enquire Section */
#contact {
  padding: 100px 50px;
  background-color: #111;
  text-align: center;
}
#contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #ffd900cb;
}

/* Mobile Ansicht (max-width: 768px) */
@media (max-width: 768px) {
  #contact h2 {
    font-size: 2em; /* Etwas kleiner als auf Desktop */
    margin-bottom: 20px; /* Auch den Abstand etwas reduzieren */
  }
}

#contact p {
  margin-bottom: 40px;
  font-size: 1.1em; /* Standardgröße für Desktop */
  line-height: 1.6; /* Bessere Lesbarkeit */
}

/* Mobile Ansicht (max-width: 768px) */
@media (max-width: 768px) {
  #contact p {
    font-size: 1.4em;
    margin: 0 15px 30px 15px; /* Oben:0, Rechts:15px, Unten:30px, Links:15px */
    line-height: 1.7;
    padding: 0 10px; /* Zusätzlicher Padding für bessere Lesbarkeit */
  }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #333;
  background: #222;
  color: #eee;
  border-radius: 4px;
  font-size: 1em;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ffd900cb;
}

/* Nachricht senden contact Button unten*/

.contact-form button {
  padding: 15px 30px;
  border: 2px solid #493e009a;
  background: transparent;
  color: #caad08cb;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.contact-form button:hover {
  background: #ffd900a2;
  color: #111;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  font-size: 1.8rem;
  color: #bebebe;
  min-width: 40px;
  margin-top: 21px;
  text-align: center;
  position: relative;
  transition: all 0.8s ease-in-out;
  filter: drop-shadow(0 0 8px rgba(255, 103, 2, 0.664));
  animation: royal-pulse 2s infinite ease-in-out;
}

.contact-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  border: 2px solid rgba(238, 234, 3, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 1.2s ease;
  pointer-events: none;
}

.contact-icon:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px rgba(238, 234, 3, 0.5));
  animation-play-state: paused;
}

.contact-icon:hover::after {
  transform: translate(-50%, -50%) scale(1.8);
  opacity: 1;
}

@keyframes royal-pulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 10px rgba(238, 234, 3, 0.3);
  }
  50% {
    transform: scale(1.08);
    text-shadow: 0 0 25px rgba(238, 234, 3, 0.7);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 10px rgba(238, 234, 3, 0.3);
  }
}

.contact-text h3 {
  margin-bottom: 5px;
  font-size: 1.3rem;
  color: #ffffffe7; /* Reines Weiß */
  font-weight: 500; /* Leichtes Font-Weight für Eleganz */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Subtiler Schatten für bessere Lesbarkeit */
  transition: color 0.3s ease; /* Sanfter Farbübergang */
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #BFA6A0; /* Mocha Mousse */
  color: #070202d5;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}


.social-link:hover {
  background-color: #C41E3A;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.contact-form {
  background-color: #F9F9F9;
  padding: 30px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.151);
  color: #000; /* Schriftfarbe explizit auf Schwarz setzen */
}



.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  width: auto;
  margin-top: 5px;
}

.form-checkbox label {
  color: #000; /* Schwarz */
}


.contact-map {
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 150px; /* mehr Innenabstand nach unten */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
}
@media (max-width: 768px) {
  .contact-map {
    padding-bottom: 300px; /* oder derselbe Wert wie oben */
  }
}




/* Newsletter Section */
.newsletter {
  background-color: #8C6E4F; /* Mocha Mousse */
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;

  padding: 3rem 0;
}


.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.newsletter-text {
  flex: 1;
}

.newsletter-text h3 {
  font-family: 'Montserrat', sans-serif;

  color: #FFFFFF;
  margin-bottom: 10px;
}

.newsletter-form {
  flex: 1;
}

.newsletter-input-group {
  display: flex;
}

.newsletter-input-group input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

.newsletter-input-group .btn {
  border-radius: 0 4px 4px 0;
}

/* Footer */
footer {
  background-color: #111;
  color: #FFFFFF;
  padding: 4rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  align-items: flex-start; /* Elemente oben ausrichten */
}

.footer-logo {
  flex: 1;
  min-width: 200px;
  margin-top: -20px; /* Logo nach oben verschieben */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Standardausrichtung für Desktop */
}

.footer-logo img {
  width: 270px;
  height: auto;
  max-width: 100%;
}

.footer-logo p {
  margin-top: 15px;
  color: #aaa;
}

/* Mobile Ansicht - zentrierte Ausrichtung */
@media (max-width: 768px) {
  .footer-logo {
    align-items: center; /* Zentriert auf mobilen Geräten */
    text-align: center;
    margin-top: 0; /* Optional: Vertikalen Versatz auf Mobile entfernen */
    width: 100%; /* Volle Breite auf Mobile */
    flex: 0 0 100%; /* Flex-Basis auf 100% setzen */
  }
  
  .footer-logo img {
    width: 250px; /* Optional: Etwas kleiner auf Mobile */
  }
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
}

.footer-column h4 {
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #C41E3A;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #aaa;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #FFFFFF;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #aaa;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  color: #777;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #0C4A34;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background-color: #C41E3A;
}


  
  /* Verbesserte Flip-Animation */
  .epicFlipAnimation {
    animation: epicFlip 1s forwards;
  }
  
  @keyframes epicFlip {
    0% {
      transform: perspective(800px) rotateY(0deg) scale(1);
      opacity: 1;
    }
    50% {
      transform: perspective(800px) rotateY(180deg) scale(1.2);
      opacity: 0.7;
    }
    100% {
      transform: perspective(800px) rotateY(360deg) scale(0);
      opacity: 0;
    }
  }
  
  /* Größere Lichtexplosion mit Mocha-Farbe */
  .mochaLightBurst {
    position: fixed; /* Positioniert das Element absolut im Viewport */
    top: 40%; /* Setzt die obere Kante des Elements auf 50% des Viewports */
    left: 50%; /* Setzt die linke Kante des Elements auf 50% des Viewports */
    transform: translate(-50%, -50%) rotate(45deg); /* Zentriert das Element und dreht es um 45 Grad für eine spitze, pyramidenartige Form */
    width: 0; /* Setzt die anfängliche Breite des Elements auf 0 */
    height: 0; /* Setzt die anfängliche Höhe des Elements auf 0 */
    background: radial-gradient(ellipse at center, rgba(139, 69, 19, 1) 0%, rgba(255, 255, 255, 0) 70%); /* Erzeugt einen radialen Farbverlauf von Braun zu transparent */
    opacity: 0; /* Macht das Element anfänglich unsichtbar */
    pointer-events: none; /* Verhindert, dass das Element auf Mausereignisse reagiert */
    z-index: 9999; /* Setzt den Stapelkontext hoch, um es über allem anzuzeigen */
    animation: mochaBurst 0.6s forwards; /* Wendet die Animation "mochaBurst" an */
  }
  
  @keyframes mochaBurst {
    0% {
      width: 0; /* Anfängliche Breite ist 0 */
      height: 0; /* Anfängliche Höhe ist 0 */
      opacity: 1; /* Anfängliche Deckkraft ist 1 (voll sichtbar) */
    }
    100% {
      width: 3000px; /* Endgültige Breite ist 1000 Pixel */
      height: 3000px; /* Endgültige Höhe ist 1000 Pixel */
      opacity: 0; /* Endgültige Deckkraft ist 0 (unsichtbar) */
    }
  }

  

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
      font-size: 3rem;
  }
  
  .hero h1 {
      font-size: 3.5rem;
  }
  
  .about-content {
      flex-direction: column;
  }
  
  .newsletter-content {
      flex-direction: column;
      text-align: center;
  }
  
  .contact-content {
      grid-template-columns: 1fr;
  }
  
  .contact-map {
      height: 300px;
  }
}

.separator {
  width: 60px;
  height: 3px;
  background-color: #d4af37; /* Gold */
  margin: 9px auto 32px auto; /* oben: 9px, unten: 24px */
  border-radius: 2px;
}


/* ==================== FAQ SECTION ==================== */
.faq-section {
  background-color: var(--col-dark-grey);
  padding: var(--spacing) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing);
  margin-top: var(--spacing);
}

.faq-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.faq-question {
  display: flex;
  flex-direction: column;    /* alles untereinander */
  align-items: flex-start;   /* linksbündig */
  gap: 10px;                 /* Abstand zwischen den Elementen */
  padding: var(--spacing);
  cursor: pointer;
  position: relative;
}



.faq-question h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #d4af37 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 1.6rem;
    letter-spacing: 0.3px;
  }
}

/* ===== Pulsierender Glow für das + Icon –  mit Goldschimmer ===== */
@keyframes faqPulse {
  0%   { transform: scale(1);
         filter: drop-shadow(0 0 4px rgba(212,175,55,0.25))               /* goldener Schein */
                 drop-shadow(0 0 2px rgba(255,255,255,0.35)); }           /* kühles Weiß   */
  50%  { transform: scale(1.15);
         filter: drop-shadow(0 0 12px rgba(212,175,55,0.55))
                 drop-shadow(0 0 6px rgba(255,255,255,0.6)); }
  100% { transform: scale(1);
         filter: drop-shadow(0 0 4px rgba(212,175,55,0.25))
                 drop-shadow(0 0 2px rgba(255,255,255,0.35)); }
}

.faq-icon {
  color: rgba(255,255,255,0.75);        /* trüberes Weiß */
  font-size: 1.4rem;
  animation: faqPulse 2.5s ease-in-out infinite;
  transition: transform .3s ease;
}

/* Wenn die Karte offen ist: kein Puls, Icon gedreht */
.faq-card.open .faq-icon{
  animation-play-state: paused;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 2px rgba(212,175,55,0.4));  /* leichter Goldrest */
}



/* Answer initially hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--spacing);
  transition: max-height var(--transition) ease;
}

/* Wenn .open auf .faq-card gesetzt wird, öffne die Antwort */
.faq-card.open .faq-answer {
  max-height: 200px; /* genug Höhe für deinen Text */
  padding-bottom: var(--spacing);
}

/* Optional: Icon drehen, wenn offen */
.faq-card.open .faq-icon {
  transform: rotate(45deg);
}

.faq-image img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;         /* Bild füllt Container */
  object-position: bottom;   /* Fokus auf unteren Teil */
  display: block;
  border-radius: 8px;
}





/* FAQ Section – Dunkles Theme */
.faq-dark .faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.faq-dark .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333;
}

.faq-dark .faq-question {
  background-color: #111;
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-dark .faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
}

.faq-dark .faq-icon {
  color: #d4af37;
  transition: transform 0.3s ease;
}

.faq-dark .faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-dark .faq-answer {
  background-color: #222;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-dark .faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq-dark .faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

.faq-subline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #bbb;
  margin: 6px 0 0;
  line-height: 1.4;
  text-align: center; /* <-- Hinzugefügt */
}

