/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Calibri", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--dark-bg);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* ===== COLORS & VARIABLES ===== */
:root {
  --primary-color: #0c3145;
  --secondary-color: #2792c3;

  /* --- Dark Theme Palette --- */
  --dark-bg: #0a101f;
  --content-bg: #0e1629;
  --card-bg: #161d31;
  --card-border: rgba(136, 157, 184, 0.2);

  --text-headings: #ffffff;
  --text-body: #a8b5c8;
  --text-light: #f5f7fa;

  /* --- Compatibility Mapping --- */
  /* This maps old variable names to their new roles in the dark theme */
  --white: #ffffff; /* Stays #ffffff for elements that must be white */
  --light-gray: var(--text-light); /* Used as a light text color now */
  --dark-gray: var(
    --text-body
  ); /* Was dark text, now maps to main light text */
  --text-color: var(--text-body); /* Main text color */

  --glass-bg: rgba(22, 29, 49, 0.6);
  --glass-border: rgba(136, 157, 184, 0.2);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.4);
  --border-radius: 0px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ACCESSIBILITY ===== */
*:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 10001;
  border-radius: 0px;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* Keyboard Navigation */
.keyboard-navigation *:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===== GLASMORPHISMUS EFFECT ===== */
.glass-effect {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: var(--glass-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.glass-effect:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-title {
  color: var(--text-headings);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header {
  margin-bottom: 4rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 0px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
h2 {
  color: var(--text-headings);
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--white), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  color: var(--text-headings);
  margin-bottom: 1rem;
  margin-top: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--white), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary-two {
  background: transparent;
  color: var(--light-gray);
  border: 2px solid var(--secondary-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary-two:hover {
  background: var(--secondary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ===== COOKIEBAR ===== */
.cookiebar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookiebar.show {
  transform: translateY(0);
}

.cookiebar-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  max-height: 80vh;
  overflow-y: auto;
  background: rgba(12, 49, 69, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 0px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Compact View Styles */
.cookiebar-compact {
  text-align: center;
}

.cookiebar-compact .cookiebar-description {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-size: 0.95rem;
  font-weight: 500;
}

.cookiebar-buttons-compact {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cookiebar-buttons-compact .btn {
  flex: 1;
  min-width: 120px;
  max-width: 160px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Detailed View Styles */
.cookiebar-detailed {
  /* Existing detailed styles remain the same */
}

.cookiebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookiebar-header h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cookiebar-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
  transition: var(--transition);
  font-weight: 600;
}

.cookiebar-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.cookiebar-description {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 500;
}

.cookie-categories {
  margin-bottom: 2rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.cookie-category:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-toggle-wrapper {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.cookie-toggle {
  display: none;
}

.toggle-label {
  display: block;
  width: 50px;
  height: 26px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle:checked + .toggle-label {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.cookie-toggle:checked + .toggle-label .toggle-slider {
  transform: translateX(24px);
}

.cookie-toggle:disabled + .toggle-label {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(39, 146, 195, 0.7);
}

.cookie-category-info h4 {
  color: var(--white);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cookie-category-info p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 400;
}

.cookiebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.cookiebar-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cookiebar-buttons .btn {
  flex: 1;
  min-width: 140px;
  font-weight: 600;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.cookie-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookiebar {
    padding: 0.75rem;
  }

  .cookiebar-content {
    padding: 1.5rem;
    max-height: 85vh;
    background: rgba(12, 49, 69, 0.97);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  }

  .cookiebar-compact .cookiebar-description {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
  }

  .cookiebar-buttons-compact {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookiebar-buttons-compact .btn {
    width: 100%;
    max-width: none;
    min-width: auto;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 0.95rem;
  }

  .cookiebar-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  }

  .cookiebar-close {
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .cookie-category {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .cookie-category-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-category-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  }

  .cookie-category-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
  }

  .cookiebar-buttons {
    flex-direction: column;
  }

  .cookiebar-buttons .btn {
    width: 100%;
    min-width: auto;
    font-weight: 600;
    padding: 14px 20px;
  }

  .cookiebar-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
  }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
  /* backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); */
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    border-bottom-color 0.3s ease, transform 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.nav-brand {
  display: flex;
  align-items: center;
  z-index: 10001;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: var(--transition);
}

.nav-logo:hover {
  transform: translateY(-1px);
}

.nav-logo-img {
  padding-top: 10px;
  padding-bottom: 10px;
  height: 120px;
  width: auto;
  transition: var(--transition);
}

.nav-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 0;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  opacity: 0;
  transition: var(--transition);
  border-radius: 0px;
}

.nav-link:hover::before,
.nav-link:focus::before {
  opacity: 0.1;
}

.nav-link:hover,
.nav-link:focus {
  text-shadow: none;
  color: var(--secondary-color);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--white);
  background: rgba(12, 49, 69, 0.08);
}

.nav-link.active::before {
  opacity: 0.1;
}

.navbar:hover {
  /* No background change on hover needed for dark theme */
}

.navbar:hover .nav-link.active {
  /* Entfernt - kein spezieller Hover-Effekt mehr */
}

.nav-link-text {
  position: relative;
  z-index: 1;
}

.nav-cta {
  margin-left: 1rem;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 25px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(12, 49, 69, 0.2);
  position: relative;
  overflow: hidden;
}

.nav-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.nav-cta-btn:hover::before {
  left: 100%;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(12, 49, 69, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  border-radius: 0px;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(12, 49, 69, 0.05);
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: white;
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Logo */
.nav-mobile-logo {
  display: none;
  text-align: center;
}

.nav-mobile-logo-img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(12, 49, 69, 0.3));
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
    justify-content: space-between;
  }

  .nav-brand-text {
    display: none;
  }

  .nav-mobile-logo {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgb(16 63 87);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    text-align: center;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.3rem 2rem;
    border-radius: 15px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  .nav-cta-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Desktop Navigation - Explizite Regeln */
@media (min-width: 769px) {
  .nav-menu {
    position: static !important;
    display: flex !important;
    align-items: center;
    gap: 2rem;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    transform: none !important;
    transition: none !important;
    padding: 0 !important;
  }

  .nav-list {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    flex-direction: row !important;
    text-align: left !important;
  }

  .nav-cta {
    margin-left: 1rem !important;
    margin-top: 0 !important;
  }

  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .nav-container {
    height: 70px;
  }

  .nav-logo-img {
    height: 55px;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  outline: none !important;
  border: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-focus-ring-color: transparent !important;
  cursor: default !important;
}

.hero-video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-video::-webkit-media-controls-timeline {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-video::-webkit-media-controls-current-time-display {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-video::-webkit-media-controls-time-remaining-display {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-video::-webkit-media-controls-mute-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-video::-webkit-media-controls-volume-slider {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-video::-webkit-media-controls-fullscreen-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Firefox */
.hero-video::-moz-media-controls {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Internet Explorer */
.hero-video::-ms-media-controls {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Zusätzliche Sicherheitsmaßnahmen */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.hero-overlay {
  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;
  max-width: 800px;
  text-align: center;
}

.hero-logo {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  max-width: 400px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  transition: var(--transition);
}

.hero-logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}

.hero-title {
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: var(--white);
  /* font-size: clamp(2.5rem, 5vw, 4rem); */
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: var(--light-gray);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
}

.scroll-text {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--white);
  margin: 0 auto;
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--white);
}

/* ===== USP SECTION ===== */
.usp {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #060b17 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.usp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.usp-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.usp-text {
  max-width: 900px;
  margin: 0 auto 5rem;
  position: relative;
}

.usp-text h2 {
  color: var(--text-headings);
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--white), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.usp-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--dark-gray);
  max-width: 800px;
  margin: 0 auto;
}

.usp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.feature-card {
  /* padding: 3rem 2rem; */
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background-color: var(--card-bg);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background-color: var(--card-bg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
  z-index: 2;
  position: relative;
}

.feature-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: var(--transition);
}

.feature-card:hover .feature-icon::before {
  transform: translateX(100%);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  color: var(--text-headings);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--dark-gray);
  line-height: 1.6;
  font-size: 1rem;
}

/* Stats Section */
.usp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--card-border);
}

.stat-card {
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 0px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: scaleX(1);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transition: var(--transition);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(136, 157, 184, 0.3);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(12, 49, 69, 0.2);
}

.stat-icon svg {
  width: 30px;
  height: 30px;
  color: var(--white);
  z-index: 2;
  position: relative;
}

.stat-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: var(--transition);
}

.stat-card:hover .stat-icon::before {
  transform: translateX(100%);
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(12, 49, 69, 0.3);
}

.stat-content {
  margin-bottom: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.3rem;
  transition: var(--transition);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 12px rgba(12, 49, 69, 0.1);
  line-height: 1;
}

.stat-card:hover .stat-number {
  transform: scale(1.05);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.stat-description {
  font-size: 0.75rem;
  color: var(--dark-gray);
  opacity: 0.8;
  font-style: italic;
  line-height: 1.2;
}

.stat-progress {
  margin-top: 1rem;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
  width: 0%;
  transition: width 2s ease-in-out;
  position: relative;
  overflow: hidden;
}

.progress-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.stat-card:hover .progress-bar::before {
  animation-duration: 1s;
}

.progress-bar.completed::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  animation: pulse 1.5s ease-in-out;
}

@keyframes pulse {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* Mobile Responsive for Stat Cards */
@media (max-width: 768px) {
  .usp-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
  }

  .stat-card {
    padding: 1.2rem;
    min-height: 180px;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
  }

  .stat-icon svg {
    width: 25px;
    height: 25px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .stat-description {
    font-size: 0.7rem;
  }

  .stat-progress {
    height: 3px;
  }
}

@media (max-width: 480px) {
  .usp-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .stat-card {
    padding: 1rem;
    min-height: 160px;
  }

  .stat-icon {
    width: 45px;
    height: 45px;
  }

  .stat-icon svg {
    width: 22px;
    height: 22px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-description {
    font-size: 0.65rem;
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 1;
}

.team-hero {
  text-align: center;
  margin-bottom: 5rem;
}

.team-hero-image {
  width: 100vw;
  height: auto;
  margin-left: calc(-50vw + 50%);
  /* margin-right: calc(-50vw + 50%); */
  border-radius: 0px;
}

.timeline-section {
  margin-bottom: 5rem;
  /* background-color: var(--content-bg); */
}

.timeline-title {
  text-align: center;
  color: var(--text-headings);
  font-size: 2.5rem;
  margin-bottom: 4rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline-enhanced {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline-enhanced::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 0.2rem;
  width: 45%;
  opacity: 0;
  animation: slideInTimeline 0.8s ease forwards;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 55%;
  text-align: left;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(39, 146, 195, 0.3);
  z-index: 2;
}

.timeline-item.left::before {
  right: -62px;
}

.timeline-item.right::before {
  left: -62px;
}

.timeline-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
}

.timeline-item.left .timeline-date {
  align-items: flex-end;
  margin-right: 2rem;
}

.timeline-item.right .timeline-date {
  align-items: flex-start;
  margin-left: 2rem;
}

.timeline-date .month {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-date .year {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-headings);
  line-height: 1;
}

.timeline-content {
  padding: 1.5rem;
  position: relative;
  transition: var(--transition);
}

.timeline-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.timeline-image:hover {
  transform: scale(1.02);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border: 15px solid transparent;
}

.timeline-item.left .timeline-content::before {
  right: -30px;
  border-left-color: var(--glass-bg);
}

.timeline-item.right .timeline-content::before {
  left: -30px;
  border-right-color: var(--glass-bg);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content h4 {
  color: var(--text-headings);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.timeline-content p {
  color: var(--dark-gray);
  line-height: 1.6;
  margin: 0;
}

@keyframes slideInTimeline {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation for timeline items */
.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
  animation-delay: 0.5s;
}
.timeline-item:nth-child(6) {
  animation-delay: 0.6s;
}
.timeline-item:nth-child(7) {
  animation-delay: 0.7s;
}
.timeline-item:nth-child(8) {
  animation-delay: 0.8s;
}
.timeline-item:nth-child(9) {
  animation-delay: 0.9s;
}
.timeline-item:nth-child(10) {
  animation-delay: 1s;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--secondary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 3rem;
}

.timeline-year {
  position: absolute;
  left: -3rem;
  top: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.timeline-content {
  padding: 1.5rem;
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-image-container {
  padding: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition);
  transform-origin: center top;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2rem;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-3px);
}

.value-card h3 {
  color: var(--text-headings);
  margin-bottom: 1rem;
}

.quotes {
  text-align: center;
  margin-top: 4rem;
}

.quotes h3 {
  color: var(--text-headings);
  margin-bottom: 2rem;
}

.quotes-slider {
  position: relative;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.quote-card {
  padding: 2rem;
  display: none;
  transition: var(--transition);
}

.quote-card.active {
  display: block;
}

.quote-card blockquote {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
}

.quote-card cite {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.quotes-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.quote-nav-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--card-bg);
  cursor: pointer;
  transition: var(--transition);
}

.quote-nav-btn.active,
.quote-nav-btn:hover {
  background: var(--secondary-color);
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--content-bg);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg10.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  background-color: var(--card-bg);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
  z-index: 2;
  position: relative;
}

.service-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: var(--transition);
}

.service-card:hover .service-icon::before {
  transform: translateX(100%);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  color: var(--text-headings);
  margin-bottom: 1rem;
}

.service-card p {
  line-height: 1.6;
}

/* ===== CAREERS SECTION ===== */
.careers {
  position: relative;
  overflow: hidden;
}

.careers::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg14.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.careers .container {
  position: relative;
  z-index: 1;
}

.careers-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.job-posting {
  padding: 3rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
}

.job-posting h3 {
  color: var(--text-headings);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.5rem;
}

.job-content {
  flex: 1;
}

.job-section {
  margin-bottom: 2rem;
}

.job-section h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.job-section ul {
  list-style: none;
  padding-left: 0;
}

.job-section li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.job-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.job-apply {
  text-align: center;
  margin-top: auto;
  padding-top: 2rem;
}

/* ===== FAQ SECTION ===== */
.faq {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #060b17 100%);
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.faq-categories {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.faq-category {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  overflow: hidden;
}

.faq-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.faq-category-header {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(39, 146, 195, 0.05)
  );
  border-bottom: 1px solid var(--card-border);
}

.faq-category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(12, 49, 69, 0.2);
}

.faq-category-icon svg {
  width: 28px;
  height: 28px;
}

.faq-category-info h3 {
  color: var(--text-headings);
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.faq-category-info p {
  color: var(--dark-gray);
  margin: 0;
  opacity: 0.8;
  font-size: 0.95rem;
}

.faq-items {
  padding: 0 2rem 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
  transition: var(--transition);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--secondary-color);
}

.faq-question:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.faq-arrow {
  width: 24px;
  height: 24px;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.open {
  max-height: 500px;
  transition: max-height 0.4s ease-in, padding 0.3s ease-in;
}

.faq-answer-content {
  padding: 0 0 1.5rem 0;
  border-left: 3px solid var(--secondary-color);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

.faq-answer-content p {
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.faq-cta {
  margin-top: 1rem;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.faq-footer {
  background: var(--content-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.faq-footer-content h3 {
  color: var(--text-headings);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.faq-footer-content p {
  color: var(--dark-gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq-footer-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-category-header {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .faq-category-icon {
    width: 50px;
    height: 50px;
  }

  .faq-category-icon svg {
    width: 24px;
    height: 24px;
  }

  .faq-category-info h3 {
    font-size: 1.3rem;
  }

  .faq-items {
    padding: 0 1.5rem 1.5rem;
  }

  .faq-question {
    padding: 1rem 0;
    font-size: 1rem;
  }

  .faq-answer-content {
    padding-left: 1rem;
    margin-left: 0.25rem;
  }

  .faq-footer {
    padding: 2rem 1.5rem;
  }

  .faq-footer-content h3 {
    font-size: 1.5rem;
  }

  .faq-footer-buttons {
    flex-direction: column;
    align-items: center;
  }

  .faq-footer-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .faq-category-header {
    padding: 1rem;
  }

  .faq-items {
    padding: 0 1rem 1rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer-content p {
    font-size: 0.9rem;
  }

  .faq-footer {
    padding: 1.5rem 1rem;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg13.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: stretch;
}

.contact-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
}

.contact-card h3 {
  color: var(--text-headings);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--secondary-color);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.form {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form h3 {
  color: var(--text-headings);
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--card-border);
  border-radius: 0px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--content-bg);
  color: var(--text-headings);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  background: var(--dark-bg);
  outline: none;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--secondary-color);
  border-radius: 0px;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  background-color: var(--content-bg);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 2px;
  color: var(--secondary-color);
  font-weight: bold;
}

.maps-section {
  margin: 3rem 0;
}

.maps-placeholder {
  padding: 3rem;
  text-align: center;
  cursor: pointer;
}

.maps-placeholder h3 {
  color: var(--text-headings);
  margin-bottom: 1rem;
}

.maps-placeholder p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.maps-cookie-info {
  font-size: 0.9rem;
  color: var(--dark-gray);
  font-style: italic;
  background: rgba(39, 146, 195, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
}

.maps-embed {
  border-radius: 0px;
  overflow: hidden;
  height: 400px;
}

.maps-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Maps Button Enhancement */
.maps-placeholder .btn {
  background: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
  box-shadow: 0 4px 16px rgba(12, 49, 69, 0.3);
  transition: var(--transition);
}

.maps-placeholder .btn:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(39, 146, 195, 0.4);
}

.social-media {
  text-align: center;
}

.social-media h3 {
  color: var(--text-headings);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: 0px;
  border: 1px solid var(--card-border);
  color: var(--light-gray);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.social-icon {
  font-size: 1.5rem;
}

/* SVG Social Media Icons */
.social-icon-svg {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

.footer-social-icon {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

.footer-social-link:hover .footer-social-icon {
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--card-border);
}

.footer-content {
  padding: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Logo Section - Spalte 1 */
.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-img {
  height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-copyright {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.powered-by {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.powered-by-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.7;
}

.powered-by-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.powered-by-text {
  font-size: 0.75rem;
  color: var(--light-gray);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.powered-by-logo {
  height: 16px;
  width: auto;
  filter: brightness(0.8);
  transition: var(--transition);
}

.powered-by-link:hover .powered-by-logo {
  filter: brightness(1);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-section a:hover {
  color: var(--white);
  text-decoration: underline;
  transform: translateX(2px);
}

/* Social Media Links */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  border-radius: 8px;
}

.footer-social-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  padding-left: 0.5rem;
  transform: translateX(2px);
}

.footer-social-icon {
  width: 24px;
  height: 24px;
  transition: var(--transition);
  flex-shrink: 0;
}

.footer-social-link:hover .footer-social-icon {
  transform: scale(1.1);
}

.footer-social-link span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* Makes SVG white */
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.back-to-top:hover .back-to-top-icon {
  transform: scale(1.1);
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablet Größen */
@media (max-width: 768px) and (min-width: 481px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 60px 0;
  }

  /* Responsive Anpassungen für Tablet */
  .usp-features,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .careers-content {
    grid-template-columns: 1fr;
  }

  .usp-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Kontakt-Bereich bleibt 2-spaltig auf Tablets */
  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-grid {
    /* Wird durch die neuen 5-spaltigen Regeln oben gehandhabt */
  }
}

/* Tablet und kleinere Desktops */
@media (max-width: 1024px) and (min-width: 481px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 60px 0;
  }
}

/* Mobile Geräte */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 60px 0;
  }

  /* Hero */
  .hero-logo {
    margin-bottom: 2rem;
  }

  .hero-logo-img {
    max-width: 240px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Team Mobile - 2 Personen pro Zeile auch auf kleinsten Geräten */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .team-member-image {
    height: 200px;
  }

  .team-member-info {
    padding: 0.8rem;
  }

  .team-member-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .team-role {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }

  .team-description {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  /* About - Timeline Mobile */
  .team-hero-image {
    max-width: 100%;
  }

  .timeline-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }

  .timeline-enhanced {
    padding: 1rem 0;
  }

  .timeline-enhanced::before {
    left: 30px;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    padding-left: 80px;
    margin-bottom: 0.5rem;
  }

  .timeline-item::before {
    left: 20px !important;
    right: auto !important;
  }

  .timeline-date {
    align-items: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }

  .timeline-date .month {
    font-size: 1rem;
  }

  .timeline-date .year {
    font-size: 1.5rem;
  }

  .timeline-content::before {
    left: -30px !important;
    right: auto !important;
    border-right-color: var(--glass-bg) !important;
    border-left-color: transparent !important;
  }

  .timeline-content {
    padding: 1rem;
  }

  .timeline-content h4 {
    font-size: 1.2rem;
  }

  /* Team Mobile */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-member {
    padding: 1.5rem;
  }

  .team-member-image {
    width: 120px;
    height: 120px;
  }

  .team-category-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .team-category {
    margin-bottom: 3rem;
  }

  /* References Mobile */
  .references-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reference-card {
    margin-bottom: 1rem;
  }

  .reference-content {
    padding: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  /* Features and Services */
  .usp-features,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .careers-content {
    grid-template-columns: 1fr;
  }

  .usp-stats {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .social-link {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    /* Wird durch die neuen 5-spaltigen Regeln oben gehandhabt */
  }

  /* Cookiebar */
  .cookiebar-buttons {
    flex-direction: column;
  }

  .cookiebar .btn {
    width: 100%;
  }

  .feature-card,
  .service-card,
  .value-card {
    /* padding: 1.5rem; */
  }

  .job-posting,
  .contact-card,
  .form {
    padding: 2rem;
  }

  .timeline-content {
    padding: 1rem;
  }

  .quote-card {
    padding: 1.5rem;
  }

  /* Timeline Mobile Small */
  .timeline-item {
    padding-left: 60px;
  }

  .timeline-enhanced::before {
    left: 20px;
  }

  .timeline-item::before {
    left: 10px !important;
    width: 16px;
    height: 16px;
  }

  .timeline-date .year {
    font-size: 1.3rem;
  }

  .timeline-content::before {
    left: -25px !important;
    border-width: 12px;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }

  .footer-logo-section {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo-section {
    grid-column: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2rem;
    margin-bottom: 1rem;
  }

  .powered-by {
    text-align: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
  }

  .powered-by-text {
    font-size: 0.7rem;
  }

  .powered-by-logo {
    height: 14px;
  }

  .footer-social {
    align-items: center;
  }

  .footer-social-link {
    justify-content: center;
  }
}

/* Contact Social Media */
.contact-social {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(12, 49, 69, 0.1);
}

.contact-social h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--card-bg);
  border-radius: 0px;
  color: var(--light-gray);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--card-border);
}

.contact-social-link:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(39, 146, 195, 0.2);
}

.contact-social-icon {
  width: 20px;
  height: 20px;
  transition: var(--transition);
  flex-shrink: 0;
}

.contact-social-link:hover .contact-social-icon {
  transform: scale(1.1);
}

.contact-social-link span {
  font-size: 0.95rem;
}

.timeline-toggle-container {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 0.5rem 0;
  position: relative;
  z-index: 10;
}

.timeline-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  transition: var(--transition);
  cursor: pointer;
}

.timeline-toggle-btn:hover {
  background: #2178a3;
  transform: translateY(-2px);
}

.toggle-arrow {
  transition: transform 0.3s ease;
}

.timeline-toggle-btn.expanded .toggle-arrow {
  transform: rotate(180deg);
}

.timeline-more {
  overflow: hidden;
  transition: all 0.5s ease;
}

/* ===== TEAM SECTION ===== */
.team {
  background: var(--content-bg);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg12.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.team .container {
  position: relative;
  z-index: 1;
}

.team-category {
  margin-bottom: 4rem;
  position: relative;
}

.team-category:last-child {
  margin-bottom: 0;
}

.team-category-title {
  text-align: center;
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-category-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--white));
  border-radius: 2px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  max-width: 1400px;
}

@media (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-member {
  padding: 0;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 49, 69, 0.1);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.team-member-image {
  width: 100%;
  height: 350px;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition);
}

.team-member-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(
    to top,
    rgba(12, 49, 69, 0.9),
    rgba(12, 49, 69, 0.7) 50%,
    transparent
  );
  color: var(--white);
  transform: translateY(0);
  transition: var(--transition);
}

.team-member-info h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.team-role {
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0;
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.team-description {
  color: var(--white);
  line-height: 1.6;
  font-size: 0.95rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  margin: 0;
  /* padding: 0 1rem; */
}

.team-member:hover .team-description,
.team-member:focus .team-description {
  max-height: 200px;
  opacity: 1;
  margin-top: 1rem;
}

.team-member:hover .team-image,
.team-member:focus .team-image {
  transform: scale(1.05);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .team-member {
    padding: 0;
  }

  .team-member-image {
    height: 250px;
  }

  .team-member-info {
    padding: 1rem;
  }

  .team-member-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .team-role {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .team-description {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* Visual separation between categories */
.team-category:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -2rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(12, 49, 69, 0.2),
    transparent
  );
}

/* ===== REFERENCES SECTION ===== */
.references {
  background: var(--dark-bg);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.reference-card {
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
}

.reference-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.reference-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.reference-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.reference-card:hover .reference-img {
  transform: scale(1.05);
}

.reference-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.reference-content h3 {
  color: var(--text-headings);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.reference-category {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.reference-description {
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.reference-details {
  margin-top: auto;
}

.reference-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(39, 146, 195, 0.15);
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.reference-detail svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.references-testimonials {
  text-align: center;
  margin-top: 5rem;
}

.references-testimonials h3 {
  color: var(--text-headings);
  margin-bottom: 3rem;
  font-size: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  background-color: var(--content-bg);
  border: 1px solid var(--card-border);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.testimonial blockquote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial blockquote::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--secondary-color);
  position: absolute;
  top: -1rem;
  left: -1rem;
  opacity: 0.3;
}

.testimonial cite {
  color: var(--text-headings);
  font-weight: 600;
  font-size: 0.95rem;
  font-style: normal;
}

.progress-bar.completed::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  animation: pulse 1.5s ease-in-out;
}

@keyframes pulse {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* ===== ANIMATIONS & MOVEMENT ===== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatReverse {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes backgroundMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Floating Elements */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

.float-animation-reverse {
  animation: floatReverse 8s ease-in-out infinite;
}

.pulse-animation {
  animation: pulse 4s ease-in-out infinite;
}

/* Enhanced Feature Cards with 3D Flip */
.feature-card {
  height: 280px;
  perspective: 1000px;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.feature-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner {
  transform: rotateY(180deg);
}

.feature-card-front,
.feature-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-card-front {
  background: linear-gradient(135deg, var(--card-bg), rgba(22, 29, 49, 0.8));
}

.feature-card-back {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  transform: rotateY(180deg);
  color: var(--white);
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card:hover .feature-card-front,
.feature-card:hover .feature-card-back {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Front side styling */
.feature-card-front .feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.feature-card-front .feature-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

.feature-card-front h3 {
  color: var(--text-headings);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.feature-card-front .feature-summary {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.9;
  font-style: italic;
}

/* Back side styling - same as front side */
.feature-card-back .feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.feature-card-back .feature-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

.feature-card-back h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-card-back .feature-summary {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.9;
  font-style: italic;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .feature-card {
    height: 260px;
  }

  .feature-card-front,
  .feature-card-back {
    padding: 1.25rem;
  }

  .feature-card-front .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .feature-card-front .feature-icon svg {
    width: 30px;
    height: 30px;
  }

  .feature-card-front .feature-icon,
  .feature-card-back .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .feature-card-front .feature-icon svg,
  .feature-card-back .feature-icon svg {
    width: 30px;
    height: 30px;
  }

  .feature-card-front h3,
  .feature-card-back h3 {
    font-size: 1.1rem;
  }

  .feature-card-front .feature-summary,
  .feature-card-back .feature-summary {
    font-size: 0.85rem;
  }
}

/* Enhanced Team Cards */
.team-member {
  padding: 0;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* border-radius: 8px; */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background-color: var(--card-bg);
  transform: translateY(0);
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(39, 146, 195, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  z-index: 1;
}

.team-member:hover::before {
  left: 100%;
}

.team-member:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

.team-member:hover .team-image {
  transform: scale(1.1);
}

/* Enhanced Service Cards */
.service-card {
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(39, 146, 195, 0.05),
    transparent 50%,
    rgba(12, 49, 69, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
  background-color: var(--card-bg);
}

.service-card:hover .service-icon {
  transform: scale(1.15);
  animation: float 3s ease-in-out infinite;
}

/* Enhanced Stats Cards */
.stat-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(136, 157, 184, 0.4);
}

.stat-card:hover .stat-icon {
  transform: scale(1.2) rotate(10deg);
  animation: pulse 2s ease-in-out infinite;
}

/* Enhanced Navigation */
.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:hover {
  text-shadow: none;
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Background Animations */
.usp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg2.jpg");
  background-size: 120% 120%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
  animation: backgroundMove 20s ease-in-out infinite;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg10.jpg");
  background-size: 110% 110%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
  animation: backgroundMove 25s ease-in-out infinite reverse;
}

.team::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg12.jpg");
  background-size: 115% 115%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
  animation: backgroundMove 30s ease-in-out infinite;
}

/* Enhanced Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 0px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

/* Enhanced FAQ Cards */
.faq-category:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.faq-category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(12, 49, 69, 0.2);
  transition: var(--transition);
}

.faq-category:hover .faq-category-icon {
  transform: scale(1.1) rotate(5deg);
  animation: pulse 3s ease-in-out infinite;
}

/* Contact Cards Enhancement */
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.form:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Reference Cards Enhancement */
.reference-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.reference-card:hover .reference-img {
  transform: scale(1.08);
}

/* Testimonial Enhancement */
.testimonial:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Timeline Enhancement */
.timeline-content:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.timeline-image:hover {
  transform: scale(1.05);
}

/* Scroll Indicator Animation */
.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--white);
  margin: 0 auto;
  position: relative;
  animation: float 2s ease-in-out infinite;
}

/* Back to Top Enhancement */
.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-hover);
  animation: pulse 1s ease-in-out infinite;
}

/* Social Links Enhancement */
.social-link:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-hover);
}

/* Enhanced Glass Effect */
.glass-effect:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px) scale(1.02);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* Staggered Animations for Grid Items */
.usp-features .feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.usp-features .feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.usp-features .feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.usp-features .feature-card:nth-child(4) {
  animation-delay: 0.4s;
}
.usp-features .feature-card:nth-child(5) {
  animation-delay: 0.5s;
}
.usp-features .feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

.team-grid .team-member:nth-child(odd) {
  animation: slideInLeft 0.8s ease-out;
}

.team-grid .team-member:nth-child(even) {
  animation: slideInRight 0.8s ease-out;
}

.services-grid .service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.services-grid .service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.services-grid .service-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Enhanced Mobile Animations */
@media (max-width: 768px) {
  /* Disable hover effects for feature cards on mobile - use click toggle instead */
  .feature-card:hover {
    transform: none;
  }

  .feature-card:hover .feature-card-inner {
    transform: none;
  }

  /* Mobile click toggle states */
  .feature-card:not(.flipped) .feature-card-inner {
    transform: rotateY(0deg);
  }

  .feature-card.flipped .feature-card-inner {
    transform: rotateY(180deg);
  }

  /* Add visual feedback for mobile taps */
  .feature-card:active {
    transform: scale(0.98);
  }

  .team-member:hover {
    transform: translateY(-5px) scale(1.01);
  }

  .service-card:hover {
    transform: translateY(-5px) scale(1.01);
  }

  .stat-card:hover {
    transform: translateY(-8px) scale(1.02);
  }

  /* Fix background images for mobile - prevent stretching/distortion */
  .usp::before,
  .services::before,
  .team::before {
    background-size: cover !important;
    background-position: center center !important;
    animation: none !important;
  }

  .about::before,
  .careers::before,
  .faq::before,
  .contact::before {
    background-size: cover;
    background-position: center center;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .float-animation,
  .float-animation-reverse,
  .pulse-animation,
  .scroll-arrow {
    animation: none;
  }

  .usp::before,
  .services::before,
  .team::before {
    animation: none;
    background-size: cover;
  }
}
