/* --- Core Variables & Reset --- */
:root {
  --color1: #3b82f6; /* Hauptblau (Focus) */
  --color2: #1e40af; /* Dunkelblau (Vertrauen) */
  --color3: #111827; /* Deep Charcoal (Text) */
  --color4: #60a5fa; /* Hellblau (Akzent) */
  --color5: #f8fafc; /* Hintergrund-Grau */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, -apple-system, sans-serif;
  color: var(--color3);
  background-color: var(--color5);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Reveal Animations --- */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-element.is-visible,
.reveal-element.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero & Background Elements --- */
.deco-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--color4) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  opacity: 0.15;
  z-index: 0;
}

.deco-shape-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--color1), var(--color4));
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
}

/* --- Wave Divider for Sections --- */
.wave-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-divider .shape-fill {
  fill: #ffffff; /* Matches the white section above it */
}

/* --- Interactive Elements --- */
.contact-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--color3);
  background-color: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: var(--transition);
}

.contact-input:focus {
  outline: none;
  border-color: var(--color1);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* --- Cookie Popup (Compliance Style) --- */
.cookie-popup {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Utility Classes --- */
.text-color1 { color: var(--color1); }
.bg-color1 { background-color: var(--color1); }
.bg-color3 { background-color: var(--color3); }

/* --- FAQ Accordion Styles --- */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before { width: 100%; height: 2px; }
.faq-icon::after { width: 2px; height: 100%; }

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-content {
  max-height: 300px;
}

/* --- Responsive Adaptations --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .split-screen-content {
    padding: 2rem;
  }
}

/* Notification Toast */
#notification {
    transition: var(--transition);
    transform: translateX(120%);
}

#notification:not(.hidden) {
    transform: translateX(0);
    display: block !important;
}