@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700;900&family=Roboto:wght@300;400;600;700&display=swap');

:root {
  --color1: #CC8B00;
  --color2: #3C3C32;
  --color3: #181818;
  --color4: #A8B682;
  --color5: #EFEFEF;
  --body-gradient: linear-gradient(135deg, #181818 0%, #252525 50%, #181818 100%);
}

body {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--body-gradient);
  color: var(--color5);
  overflow-x: hidden;
}



.reveal-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu {
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%);
}

#mobile-menu.active {
  transform: translateX(0);
}

#burger-btn span {
  transition: all 0.3s ease-in-out;
}

#burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#burger-btn.active span:nth-child(2) {
  opacity: 0;
}

#burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

#hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.2s ease-out;
}

.deco-shape-1 {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--color1);
  /* Anpassung */
  border-radius: 50%;
  opacity: 0.5;
  z-index: -1;
}

.parallax-element-slow {
  transition: transform 0.1s ease-out;
}

.parallax-element-fast {
  transition: transform 0.1s ease-out;
}

.section-bg-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.section-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
}

.horizontal-scroll-item {
  min-width: 300px;
  transition: transform 0.5s ease-out;
}

.horizontal-scroll-item:hover {
  transform: scale(1.05);
}

.deco-grid {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background-image: linear-gradient(to right,
      var(--color1) 1px,
      /* Anpassung */
      transparent 1px),
    linear-gradient(to bottom, var(--color1) 1px, transparent 1px);
  /* Anpassung */
  background-size: 40px 40px;
  opacity: 0.15;
  z-index: -1;
}

.split-screen-content {
  padding: 4rem;
}

.split-screen-image {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

.overlapping-image {
  position: absolute;
  top: -10%;
  right: 0;
  width: 60%;
  height: 120%;
  object-fit: cover;
  z-index: 0;
  border-bottom-left-radius: 200px;
}

/* --- Wave Divider --- */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
}

.wave-divider .shape-fill {
  fill: var(--color3);
  /* Wichtig: Füllt die Welle mit der Haupt-Hintergrundfarbe */
}

/* --- Notification --- */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  opacity: 0;
  transform: translateX(400px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  max-width: 350px;
  font-weight: 500;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification.success {
  background-color: var(--color1);
  /* Anpassung */
  color: var(--color3);
  /* Anpassung */
}

.notification.error {
  background-color: #ef4444;
  color: white;
}

/* --- Cookie Popup --- */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color3);
  color: var(--color5);
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cookie-popup-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.cookie-popup-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  color: var(--color1);
  /* Anpassung */
}

.cookie-popup-text {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-popup-link {
  color: var(--color1);
  /* Anpassung */
  text-decoration: underline;
  transition: color 0.3s;
}

.cookie-popup-link:hover {
  color: var(--color4);
  /* Anpassung */
}

.cookie-popup-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--color1);
  /* Anpassung */
  color: var(--color3);
  /* Anpassung */
}

.cookie-btn-accept:hover {
  background-color: var(--color4);
  /* Anpassung */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--color5);
  border: 2px solid var(--color5);
}

.cookie-btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .cookie-popup-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Адаптация таймлайна для мобильных устройств (unverändert beibehalten) */
@media (max-width: 767px) {
  .timeline-node {
    display: none;
  }

  .relative.max-w-4xl.mx-auto>div:first-child {
    display: none;
  }

  .relative.mb-16.grid,
  .relative.grid {
    display: block;
  }

  .relative.mb-16.grid>div,
  .relative.grid>div {
    display: none;
  }

  .relative.mb-16.grid>article,
  .relative.grid>article {
    display: block;
    margin-bottom: 2rem;
  }
}

/* Изменения для Dark Mode (Anpassung der Farben) */
.timeline-dot {
  background-color: var(--color1);
  /* Anpassung */
  color: var(--color3);
  /* Anpassung */
  border: 4px solid var(--color3);
  /* Anpassung */
  box-shadow: 0 0 0 4px var(--color1);
  /* Anpassung */
}

@media (min-width: 768px) {
  .timeline-node::before {
    background-color: var(--color1);
    /* Anpassung */
  }
}

.faq-toggle {
  background-color: var(--color2);
  /* Anpassung */
  color: var(--color5);
}

.faq-toggle:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-question-text {
  color: var(--color1);
  /* Anpassung */
}

.faq-icon {
  color: var(--color1);
  /* Anpassung */
}

.faq-content {
  background-color: var(--color2);
  /* Anpassung */
}

.faq-content p {
  color: var(--color5);
}

.contact-input {
  color: var(--color5);
  background-color: var(--color3);
  border: 2px solid var(--color4);
  /* Anpassung */
}

.contact-input:focus {
  border-color: var(--color1);
  /* Anpassung */
  box-shadow: 0 0 0 3px rgba(253, 216, 53, 0.5);
  /* Anpassung (mit var(--color1) Wert) */
}