*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb; 
}

::before,
::after {
  --tw-content: '';
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 56rem; /* max-w-4xl equivalent */
  max-height: 90vh;
  overflow-y: auto;
  margin: 0;
}

@media (min-width: 768px) {
  .modal-content {
    width: 90%;
  }
}

@media (min-width: 1024px) {
  .modal-content {
    width: 80%;
  }
}

/* Custom Properties */
:root {
  --neon-green: #00ff41;
  --neon-blue: #00d4ff;
  --neon-pink: #ff0080;
  --dark-bg: #0a0a0a;
  --dark-card: #1a1a1a;
  /* Transform variables */
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  font-feature-settings: normal;
  font-variation-settings: normal;
}

body {
  margin: 0;
  line-height: inherit;
}

a { text-decoration: none; }

ul { list-style: none; padding-inline-start: 0; }

/* Essential Tailwind Utilities */
.absolute { position: absolute; }
.fixed { position: fixed; }
.relative { position: relative; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.-right-8 { right: -2rem; }
.top-4 { top: 1rem; }
.top-12 { top: 3rem; }
.left-0 { left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-60 { z-index: 60; }

/* Missing utilities used by cookie modal */
.inset-0 { top:0; right:0; bottom:0; left:0; position:fixed; }
.bg-black\/80 { background-color: rgba(0,0,0,0.8); }
.border-neon-pink\/50 { border-color: rgba(255,0,128,0.5); }
.py-3 { padding-top:0.75rem; padding-bottom:0.75rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Grid utilities */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Gap utilities */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.h-6 { height: 1.5rem; }
.h-5 { height: 1.25rem; }
.h-20 { height: 5rem; }
.h-48 { height: 12rem; }
.min-h-screen { min-height: 100vh; }
.w-6 { width: 1.5rem; }
.w-5 { width: 1.25rem; }
.w-20 { width: 5rem; }
.w-full { width: 100%; }
.max-w-4xl { max-width: 56rem; }

.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-2 { gap: 0.5rem; }
.gap-8 { gap: 2rem; }

/* Space utilities (removing old duplicate) */
.space-x-8 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; margin-right: calc(2rem * var(--tw-space-x-reverse)); margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse))); }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(1rem * var(--tw-space-y-reverse)); }

.overflow-hidden { overflow: hidden; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }

.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }

.bg-transparent { background-color: transparent; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }

.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-20 { padding-top: 5rem; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 2.5rem; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

/* Missing font sizes */
.text-8xl { font-size: 6rem; line-height: 1; }

.font-bold { font-weight: 700; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

.text-white { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); }
.text-black { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); }
.text-gray-300 { --tw-text-opacity: 1; color: rgb(209 213 219 / var(--tw-text-opacity)); }
.text-gray-400 { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity)); }
.text-gray-500 { --tw-text-opacity: 1; color: rgb(107 114 128 / var(--tw-text-opacity)); }
.text-neon-green { --tw-text-opacity: 1; color: rgb(0 255 65 / var(--tw-text-opacity)); }
.text-neon-blue { --tw-text-opacity: 1; color: rgb(0 212 255 / var(--tw-text-opacity)); }
.text-neon-pink { --tw-text-opacity: 1; color: rgb(255 0 128 / var(--tw-text-opacity)); }

.bg-dark-bg { --tw-bg-opacity: 1; background-color: rgb(10 10 10 / var(--tw-bg-opacity)); }
.bg-dark-card { --tw-bg-opacity: 1; background-color: rgb(26 26 26 / var(--tw-bg-opacity)); }
.bg-neon-green { --tw-bg-opacity: 1; background-color: rgb(0 255 65 / var(--tw-bg-opacity)); }
/* Added missing solid neon backgrounds */
.bg-neon-pink { --tw-bg-opacity: 1; background-color: rgb(255 0 128 / var(--tw-bg-opacity)); }
.bg-neon-blue { --tw-bg-opacity: 1; background-color: rgb(0 212 255 / var(--tw-bg-opacity)); }

.bg-dark-bg\/90 { background-color: rgb(10 10 10 / 0.9); }
.bg-dark-card\/80 { background-color: rgb(26 26 26 / 0.8); }
.bg-dark-card\/50 { background-color: rgb(26 26 26 / 0.5); }
.bg-neon-green\/20 { background-color: rgb(0 255 65 / 0.2); }
.bg-neon-blue\/20 { background-color: rgb(0 212 255 / 0.2); }
.bg-neon-pink\/20 { background-color: rgb(255 0 128 / 0.2); }

.border-neon-green { --tw-border-opacity: 1; border-color: rgb(0 255 65 / var(--tw-border-opacity)); }
.border-neon-blue { --tw-border-opacity: 1; border-color: rgb(0 212 255 / var(--tw-border-opacity)); }
.border-neon-pink { --tw-border-opacity: 1; border-color: rgb(255 0 128 / var(--tw-border-opacity)); }
.border-neon-green\/30 { border-color: rgb(0 255 65 / 0.3); }
.border-neon-blue\/30 { border-color: rgb(0 212 255 / 0.3); }
.border-neon-pink\/30 { border-color: rgb(255 0 128 / 0.3); }

.from-neon-green\/20 { --tw-gradient-from: rgb(0 255 65 / 0.2) var(--tw-gradient-from-position); --tw-gradient-to: rgb(0 255 65 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-neon-blue\/20 { --tw-gradient-from: rgb(0 212 255 / 0.2) var(--tw-gradient-from-position); --tw-gradient-to: rgb(0 212 255 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-neon-pink\/20 { --tw-gradient-from: rgb(255 0 128 / 0.2) var(--tw-gradient-from-position); --tw-gradient-to: rgb(255 0 128 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-neon-blue\/20 { --tw-gradient-to: rgb(0 212 255 / 0.2) var(--tw-gradient-to-position); }
.to-neon-green\/20 { --tw-gradient-to: rgb(0 255 65 / 0.2) var(--tw-gradient-to-position); }
.to-neon-pink\/20 { --tw-gradient-to: rgb(255 0 128 / 0.2) var(--tw-gradient-to-position); }
/* Added missing black gradient stops used in inputs */
.from-black\/70 { --tw-gradient-from: rgba(0,0,0,0.7) var(--tw-gradient-from-position); --tw-gradient-to: rgba(0,0,0,0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-black\/40 { --tw-gradient-to: rgba(0,0,0,0.4) var(--tw-gradient-to-position); }

/* Red color gradients for FOR SALE ribbon */
.bg-red-600 { --tw-bg-opacity: 1; background-color: rgb(220 38 38 / var(--tw-bg-opacity)); }
.border-red-400 { --tw-border-opacity: 1; border-color: rgb(248 113 113 / var(--tw-border-opacity)); }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.from-red-600 { --tw-gradient-from: rgb(220 38 38) var(--tw-gradient-from-position); --tw-gradient-to: rgb(220 38 38 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-red-500 { --tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), rgb(239 68 68) var(--tw-gradient-via-position), var(--tw-gradient-to); }
.to-red-400 { --tw-gradient-to: rgb(248 113 113) var(--tw-gradient-to-position); }
.from-neon-pink { --tw-gradient-from: rgb(255 0 128) var(--tw-gradient-from-position); --tw-gradient-to: rgb(255 0 128 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-neon-blue { --tw-gradient-to: rgb(0 212 255 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), rgb(0 212 255) var(--tw-gradient-via-position), var(--tw-gradient-to); }
.to-neon-green { --tw-gradient-to: rgb(0 255 65) var(--tw-gradient-to-position); }
.to-neon-blue { --tw-gradient-to: rgb(0 212 255) var(--tw-gradient-to-position); }
.via-transparent { --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to); }
.border-red-300 { --tw-border-opacity: 1; border-color: rgb(252 165 165 / var(--tw-border-opacity)); }

.backdrop-blur-sm { --tw-backdrop-blur: blur(4px); -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); }
.backdrop-blur-md { --tw-backdrop-blur: blur(12px); -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); }

.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

.flex-wrap { flex-wrap: wrap; }
.scroll-smooth { scroll-behavior: smooth; }

/* Transform utilities für Mobile Menu */
.transform { transform: var(--tw-transform); }
.rotate-45 { --tw-rotate: 45deg; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.origin-top-right { transform-origin: top right; }
.shadow-2xl { --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.whitespace-nowrap { white-space: nowrap; }
.text-transparent { color: transparent; }
.opacity-40 { opacity: 0.4; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.translate-y-0 { --tw-translate-y: 0px; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-y-full { --tw-translate-y: -100%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }

/* SVG utilities */
svg { 
  display: block; 
  fill: none;
  stroke: currentColor;
}

/* Button utilities */
button {
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* Base responsive utilities */
.flex { display: flex; }
.hidden { display: none; }
.grid { 
  display: grid; 
  /* Default to single column on mobile */
  grid-template-columns: 1fr;
}
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }

/* Z-index utilities */
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Space utilities */
.space-x-8 > * + * { margin-left: 2rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Grid utilities */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Gap utilities */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Responsive classes - Fix für Navigation */
/* Mobile first approach - wichtig für Tailwind */
@media (min-width: 768px) {
  .md\:text-8xl { font-size: 6rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-right { text-align: right; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:pt-0 { padding-top: 0; }
  .md\:flex { display: flex !important; }  /* Important to override .hidden */
  .md\:hidden { display: none !important; }
  .md\:grid-cols-2 { 
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
  }
  .md\:flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { 
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; 
  }
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .container { max-width: 640px; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; }
}
@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

/* Hover states */
.hover\:text-neon-green:hover { --tw-text-opacity: 1; color: rgb(0 255 65 / var(--tw-text-opacity)); }
.hover\:text-neon-blue:hover { --tw-text-opacity: 1; color: rgb(0 212 255 / var(--tw-text-opacity)); }
.hover\:text-neon-pink:hover { --tw-text-opacity: 1; color: rgb(255 0 128 / var(--tw-text-opacity)); }
.hover\:text-white:hover { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); }
.hover\:text-black:hover { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); }
.hover\:bg-neon-green:hover { --tw-bg-opacity: 1; background-color: rgb(0 255 65 / var(--tw-bg-opacity)); }
.hover\:bg-neon-pink:hover { --tw-bg-opacity: 1; background-color: rgb(255 0 128 / var(--tw-bg-opacity)); }
.hover\:bg-white:hover { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); }
.hover\:border-neon-green:hover { --tw-border-opacity: 1; border-color: rgb(0 255 65 / var(--tw-border-opacity)); }
.hover\:border-neon-blue:hover { --tw-border-opacity: 1; border-color: rgb(0 212 255 / var(--tw-border-opacity)); }
.hover\:border-neon-pink:hover { --tw-border-opacity: 1; border-color: rgb(255 0 128 / var(--tw-border-opacity)); }

/* Focus ring utilities (simplified) */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(255,255,255,0.15); }
.focus\:ring-neon-green\/40:focus { box-shadow: 0 0 0 2px rgba(0,255,65,0.4); }

/* Tracking utility used in form */
.tracking-wide { letter-spacing: 0.05em; }

/* Group hover states - Wichtig für die Service-Boxen */
.group:hover .group-hover\:text-neon-green { --tw-text-opacity: 1; color: rgb(0 255 65 / var(--tw-text-opacity)); }
.group:hover .group-hover\:text-neon-blue { --tw-text-opacity: 1; color: rgb(0 212 255 / var(--tw-text-opacity)); }
.group:hover .group-hover\:text-neon-pink { --tw-text-opacity: 1; color: rgb(255 0 128 / var(--tw-text-opacity)); }
.group:hover .group-hover\:text-white { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); }

/* Group hover states */
.group:hover .group-hover\\:text-neon-green { --tw-text-opacity: 1; color: rgb(0 255 65 / var(--tw-text-opacity)); }
.group:hover .group-hover\\:text-neon-blue { --tw-text-opacity: 1; color: rgb(0 212 255 / var(--tw-text-opacity)); }
.group:hover .group-hover\\:text-neon-pink { --tw-text-opacity: 1; color: rgb(255 0 128 / var(--tw-text-opacity)); }
.group:hover .group-hover\\:text-white { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); }

/* Animations */
@keyframes glow {
  0% { box-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41, 0 0 15px #00ff41; }
  100% { box-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41, 0 0 30px #00ff41; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes matrix {
  0% { transform: translateY(-100%); opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100vw); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-glow { 
  animation: glow 2s ease-in-out infinite alternate;
}
.animate-float { 
  animation: float 6s ease-in-out infinite;
}
.animate-pulse { 
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Custom Effects */
.matrix-bg::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.terminal-cursor {
  position: relative;
  display: inline-block;
}

.terminal-cursor::after {
  content: '█';
  animation: blink 1s infinite;
  color: #00ff41;
  display: inline;
  margin-left: 2px;
}

.scan-line {
  position: relative;
  overflow: hidden;
}

.scan-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.3), transparent);
  animation: scan 3s infinite;
}

.glitch-text {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation-play-state: running;
}

.glitch-text::before {
  animation: glitch-slice 2s infinite linear alternate-reverse;
  color: #ff0080;
  z-index: -1;
  mix-blend-mode: screen;
  text-shadow: 2px 0 #ff0080, -2px 0 #ff0080;
}

.glitch-text::after {
  animation: glitch-slice 2.2s infinite linear alternate;
  color: #00d4ff;
  z-index: -2;
  mix-blend-mode: screen;
  text-shadow: -2px 0 #00d4ff, 2px 0 #00d4ff;
}

/* Enhanced glitch keyframes (keep original glitch for other uses) */
@keyframes glitch-slice {
  0% { clip-path: inset(0 0 0 0); transform: translate(0,0); }
  5% { clip-path: inset(10% 0 60% 0); transform: translate(-2px,2px); }
  10% { clip-path: inset(80% 0 5% 0); transform: translate(2px,-2px); }
  15% { clip-path: inset(40% 0 30% 0); transform: translate(-3px,1px); }
  20% { clip-path: inset(5% 0 70% 0); transform: translate(3px,-1px); }
  25% { clip-path: inset(60% 0 15% 0); transform: translate(-2px,2px); }
  30% { clip-path: inset(10% 0 50% 0); transform: translate(2px,0); }
  35% { clip-path: inset(85% 0 5% 0); transform: translate(-4px,-2px); }
  40% { clip-path: inset(15% 0 65% 0); transform: translate(4px,2px); }
  45% { clip-path: inset(50% 0 20% 0); transform: translate(-2px,1px); }
  50% { clip-path: inset(25% 0 55% 0); transform: translate(2px,-1px); }
  55% { clip-path: inset(70% 0 10% 0); transform: translate(-3px,2px); }
  60% { clip-path: inset(5% 0 80% 0); transform: translate(3px,-2px); }
  65% { clip-path: inset(45% 0 35% 0); transform: translate(-2px,0); }
  70% { clip-path: inset(30% 0 50% 0); transform: translate(2px,1px); }
  75% { clip-path: inset(65% 0 20% 0); transform: translate(-4px,-1px); }
  80% { clip-path: inset(20% 0 60% 0); transform: translate(4px,2px); }
  85% { clip-path: inset(55% 0 25% 0); transform: translate(-2px,-2px); }
  90% { clip-path: inset(35% 0 40% 0); transform: translate(2px,2px); }
  95% { clip-path: inset(75% 0 10% 0); transform: translate(-3px,1px); }
  100% { clip-path: inset(0 0 0 0); transform: translate(0,0); }
}

/* Fix for mobile menu positioning */
.-translate-y-full {
  --tw-translate-y: -100%;
  transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.translate-y-0 {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

/* Additional utilities */
.group { position: relative; }
.transform { transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }

/* Missing stroke utilities for SVG */
.stroke-2 { stroke-width: 2; }

/* Missing fill utilities for SVG */
.fill-none { fill: none; }

/* SVG utilities */
svg {
  display: block;
}

/* SVG stroke utilities */
svg[stroke="currentColor"] { stroke: currentColor; }
svg[fill="none"] { fill: none; }

/* Missing stroke-linecap and stroke-linejoin */
[stroke-linecap="round"] { stroke-linecap: round; }
[stroke-linejoin="round"] { stroke-linejoin: round; }

/* Missing stroke-width */
[stroke-width="2"] { stroke-width: 2; }

/* Current color for SVG */
.text-neon-green svg { color: rgb(0 255 65); }

/* Z-index utilities */
.z-\[-1\] { z-index: -1; }
.z-\[-2\] { z-index: -2; }

/* Mobile Menu Fix */
#mobileMenu {
  top: 65px !important;
}

/* Modal Styles */
#datenschutzModal, #impressumModal {
  animation: modalFadeIn 0.3s ease-out;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#datenschutzModal.hidden, #impressumModal.hidden {
  animation: modalFadeOut 0.3s ease-out;
  display: none !important;
}

/* Overlay effect for body when modal is open - Alternative without filters */
body.modal-open {
  overflow: hidden;
}

/* Create overlay using pseudo-element instead of filters */
body.modal-open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: 40;
  pointer-events: none;
}

/* Ensure modals appear above overlay */
body.modal-open #datenschutzModal,
body.modal-open #impressumModal {
  z-index: 60;
}

/* Contact modal enforced dark fields */
#contactForm .modal-content input[type="text"],
#contactForm .modal-content input[type="email"],
#contactForm .modal-content textarea {
  background: linear-gradient(to right, rgba(0,0,0,0.70), rgba(0,0,0,0.40)) !important;
  color:#fff !important;
  border:1px solid rgba(57,255,20,0.30) !important;
}
#contactForm .modal-content input[type="text"]:focus,
#contactForm .modal-content input[type="email"]:focus,
#contactForm .modal-content textarea:focus {
  border-color:#39ff14 !important;
  box-shadow:0 0 0 2px rgba(57,255,20,0.35) !important;
  outline:0;
}
#contactForm .modal-content ::placeholder { color:#64748b; opacity:1; }

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 56rem; /* max-w-4xl equivalent */
  max-height: 90vh;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .modal-content {
    width: 80%;
  }
}

@media (min-width: 1024px) {
  .modal-content {
    width: 70%;
    max-width: 56rem; /* max-w-4xl equivalent */
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* Modal content animations */
.modal-content {
  animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
  from {
    transform: translate(-50%, -50%) translateY(50px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 1;
  }
}

/* FAQ Styles */
details.faq-item {
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
details.faq-item[open] {
  background: rgb(26 26 26 / 0.8);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.faq-summary {
  position: relative;
}
.faq-summary::-webkit-details-marker { display: none; }
details.faq-item .faq-indicator { font-weight: 700; transition: transform 0.3s ease; }
details.faq-item[open] .faq-indicator { transform: rotate(180deg); }
details.faq-item .faq-content { line-height: 1.6; }
details.faq-item:hover { border-color: rgba(255,255,255,0.25); }

/* Cookie modal specific overrides (typo fix) */
#ckModal { display:flex; align-items:center; justify-content:center; }
#ckModal.hidden { display:none !important; }
#ckModal .modal-content { max-width: 42rem; position:relative; top:auto; left:auto; transform:none; width:100%; margin:0 1rem; animation:none; }
#ckModal button#cookieAcceptBtn { font-weight: 700; letter-spacing: 1px; }

/* Close button hover effect */
#closeDatenschutz:hover, #closeImpressum:hover {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}

/* Scrollbar styling for modals */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.5);
  border-radius: 4px;
}

#datenschutzModal .modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 65, 0.3);
  border-radius: 4px;
}

#impressumModal .modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 4px;
}

#datenschutzModal .modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 65, 0.5);
}

#impressumModal .modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.5);
}

/* Ensure modal content doesn't overflow viewport */
@media (max-height: 600px) {
  .modal-content {
    max-height: 85vh;
    top: 42.5vh;
  }
}

@media (max-height: 400px) {
  .modal-content {
    max-height: 80vh;
    top: 40vh;
  }
}

/* NUCLEAR OVERRIDE for contact form inputs - force dark background */
#contactModal input[type="text"],
#contactModal input[type="email"], 
#contactModal textarea,
.modal-dynamic-content input[type="text"],
.modal-dynamic-content input[type="email"],
.modal-dynamic-content textarea,
div[id*="contact"] input,
div[id*="contact"] textarea {
  background: rgba(26, 26, 26, 0.9) !important;
  background-color: rgba(26, 26, 26, 0.9) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid rgba(0, 255, 65, 0.3) !important;
  /* Kill browser autofill styles */
  -webkit-box-shadow: 0 0 0 1000px rgba(26, 26, 26, 0.9) inset !important;
  box-shadow: 0 0 0 1000px rgba(26, 26, 26, 0.9) inset !important;
}

#contactModal input[type="text"]:focus,
#contactModal input[type="email"]:focus,
#contactModal textarea:focus,
.modal-dynamic-content input[type="text"]:focus,
.modal-dynamic-content input[type="email"]:focus,
.modal-dynamic-content textarea:focus {
  background: rgba(26, 26, 26, 0.95) !important;
  background-color: rgba(26, 26, 26, 0.95) !important;
  border-color: #00ff41 !important;
  box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.4) !important;
  -webkit-box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.4) !important;
  outline: none !important;
}

#contactModal ::placeholder,
.modal-dynamic-content ::placeholder {
  color: #9ca3af !important;
  opacity: 1 !important;
}
 