/* fallback */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(/assets/css/kJEPBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzBwG-RpA6RzaxHMPdY40KH8nGzv3fzfVJO1Q.woff2) format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Global Theme Colors */
:root {
  --bg-primary: #161616;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #1f1f1f;
  --accent-purple: #a855f7;
  --accent-magenta: #ec4899;
  --accent-cyan: #06b6d4;
}

/* Body and Background */
body {
  background: var(--bg-primary) !important;
}

/* Main Content Background */
main {
  background: #0d0d0d !important;
}

section:not([aria-label="Hauptbanner"]) {
  background: #0d0d0d !important;
}

/* Loading Screen Animation */
@keyframes moveLogoToHeader {
  from {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  to {
    position: fixed;
    top: 18px;
    left: 18px;
    transform: translate(0, 0) scale(0.5);
    opacity: 0;
  }
}

@keyframes fadeOutBackground {
  from { opacity: 1; }
  to { opacity: 0; }
}

#loading-screen {
  background: var(--bg-primary);
  animation: none;
}

#loading-screen.quick-exit {
  animation: fadeOutBackground 0.3s ease-in forwards;
}

#loading-screen.quick-exit .loading-content {
  animation: moveLogoToHeader 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.logo-text {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-magenta) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#loading-screen .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-magenta) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3)) drop-shadow(0 0 40px rgba(236, 72, 153, 0.2));
}

/* Header Styling */
header {
  background: var(--bg-primary) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none !important;
}

/* Mobile Menu */
#mobile-menu {
  background: var(--bg-secondary) !important;
  border-top: none !important;
}

/* Footer Styling */
footer {
  background: #161616 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: none !important;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.8), rgba(236, 72, 153, 0.8), rgba(6, 182, 212, 0.8), transparent);
  z-index: 100;
  pointer-events: none;
}

footer .absolute {
  display: none !important;
}

footer .border-t {
  border-top: none !important;
}

/* Ensure all sections have correct background */
section {
  background: var(--bg-primary) !important;
}

main {
  background: var(--bg-primary) !important;
}

/* Buttons and Interactive Elements */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-magenta) 100%) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-magenta) 0%, var(--accent-cyan) 100%) !important;
}

/* Glass Cards */
.glass-card {
  background: rgba(168, 85, 247, 0.05) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
}

.glass-card:hover {
  background: rgba(168, 85, 247, 0.1) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
}

/* Links and Text */
a {
  color: var(--accent-cyan);
}

a:hover {
  color: var(--accent-purple);
}

/* Scroll to Top Button */
.progress-wrap {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%) !important;
  right: 24px !important;
  bottom: 96px !important;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3) !important;
  width: 56px !important;
  height: 56px !important;
}

.progress-wrap:hover {
  box-shadow: 0 15px 35px rgba(251, 191, 36, 0.4) !important;
}

/* Hero Section - Simplified */
section[aria-label="Hauptbanner"] {
  background: var(--bg-primary) !important;
  position: relative;
  overflow: hidden;
}

/* Image Slider */
.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  touch-action: none;
  user-select: none;
  pointer-events: auto;
}

.slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 4;
  pointer-events: none !important;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  pointer-events: auto;
}

.slider-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slider-slide.active {
  opacity: 1;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(10%) brightness(0.5) contrast(1.05) blur(2px);
  display: block;
}

.slider-btn {
  display: none !important;
}

.slider-btn-prev {
  display: none !important;
}

.slider-btn-next {
  display: none !important;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 50;
}

@media (max-width: 768px) {
  .slider-dots {
    bottom: 25px;
  }
}

@media (max-width: 480px) {
  .slider-dots {
    bottom: 20px;
  }
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: linear-gradient(135deg, #a855f7, #ec4899, #06b6d4);
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .slider-btn-prev {
    left: 10px;
  }
  
  .slider-btn-next {
    right: 10px;
  }
  
  .slider-dots {
    bottom: 20px;
    gap: 8px;
  }
  
  .slider-dot {
    width: 10px;
    height: 10px;
  }
  
  .slider-dot.active {
    width: 25px;
  }
}

/* Remove excessive gradient overlays - Make them almost invisible */
.absolute.top-0.right-0 {
  opacity: 0.05 !important;
}

.absolute.bottom-0.left-0 {
  opacity: 0.05 !important;
}

/* Services Section - Simplified */
#services .absolute {
  opacity: 0.05 !important;
}

/* Hide all gradient overlays and pseudo-elements */
body::before,
body::after,
section::before,
section::after,
main::before,
main::after {
  display: none !important;
}

/* Hide any absolute positioned gradient elements */
.absolute.top-0.right-0,
.absolute.bottom-0.left-0,
.absolute.inset-0 {
  display: none !important;
}

/* Service Cards - Simplified */
.glass-card {
  background: rgba(168, 85, 247, 0.08) !important;
  border: 1px solid rgba(168, 85, 247, 0.15) !important;
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(168, 85, 247, 0.12) !important;
  border-color: rgba(168, 85, 247, 0.25) !important;
  box-shadow: none !important;
}

/* Hover glow effect for all interactive elements - REMOVED */
a:hover,
button:hover,
.nav-link:hover {
  text-shadow: none;
}

/* Section hover effect - REMOVED */
section:hover {
  box-shadow: none !important;
}

/* Reduce color intensity */
.from-primary {
  --tw-gradient-from: var(--accent-purple) !important;
}

.to-primary-dark {
  --tw-gradient-to: #7e22ce !important;
}

.from-secondary {
  --tw-gradient-from: var(--accent-cyan) !important;
}

.to-secondary {
  --tw-gradient-to: var(--accent-cyan) !important;
}


/* Scroll to Top Button - Merged from scroll-to-top.css */
.progress-wrap {
    position: fixed !important;
    right: 24px !important;
    bottom: 96px !important;
    height: 56px !important;
    width: 56px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    z-index: 40 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%) !important;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.4);
}

.progress-wrap svg {
    width: 100%;
    height: 100%;
}

.progress-wrap svg path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    box-sizing: border-box;
    transition: all 200ms linear;
}

.progress-wrap::after {
    position: absolute;
    content: '↑';
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-align: center;
    line-height: 56px;
    z-index: 10;
    transition: all 200ms linear;
}

.progress-wrap:hover::after {
    transform: scale(1.2);
}

/* Tooltip Styling - handled by Tailwind classes */
