*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

:root {
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  
  --primary: #000000;
  --accent: #6366f1;
  --background: #ffffff;
  --surface: #fafafa;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-30: 10rem;

  /* Border radius */
  --radius: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Enhanced Micro-Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* Animation Classes */
.fade-up {
  animation: fadeInUp 0.8s var(--ease) forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.fade-left {
  animation: fadeInLeft 0.8s var(--ease) forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.fade-right {
  animation: fadeInRight 0.8s var(--ease) forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.scale-in {
  animation: scaleIn 0.6s var(--ease) forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

/* Enhanced Interactive Elements */
.section__card:hover {
  transform: translateY(-8px) scale(1.02);
  transition: all 0.4s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 24px rgba(var(--accent-rgb), 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.9);
}

.nav__link:hover {
  transform: translateY(-1px);
}

/* Staggered animations for multiple elements */
.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }

.feature:nth-child(1) { animation-delay: 0.15s; }
.feature:nth-child(2) { animation-delay: 0.3s; }
.feature:nth-child(3) { animation-delay: 0.45s; }
  --duration: 200ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--neutral-800);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(1.7rem, 5vw, 3rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.5rem); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

h2 i{
  font-style:normal;
  color:var(--accent);
  font-weight:100;
}
p {
  color: var(--neutral-600);
  line-height: 1.7;
}

.lead {
  font-size: var(--font-size-lg);
  color: var(--neutral-600);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--neutral-800);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-20) 0;
}

/* Header */
.header {
  position: fixed;
  top: var(--space-6);
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 var(--space-6);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo Box */
.logo {
  font-size: var(--font-size-s);
  font-weight: 500;
  color:var(--accent) !important;
  text-decoration: none;
  padding:10px 17px 12px 17px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-2xl);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  letter-spacing: -0.01em;
  font-family: var(--font-sans);
  transition: none;
  letter-spacing:0.2px;
}
.logo small{
  position: relative;
  display: block;
  letter-spacing:1px !important;
  line-height:4px !important;
  font-size: 12px !important;
  color:#666691 !important;
  margin-bottom:5px;
}


/* Navigation Box */
.nav {
  display: flex;
  gap: var(--space-1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  padding: var(--space-2);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.3s var(--ease);
  position: relative;
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.03);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.nav:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-color: rgba(99, 102, 241, 0.1);
}

.nav:hover::before {
  opacity: 1;
}

.nav a {
  color: var(--neutral-600);
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: var(--space-3) var(--space-4);
  transition: all 0.3s var(--ease);
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(168, 85, 247, 0.8));
  transition: width 0.3s var(--ease);
  border-radius: 1px;
}

.nav a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav a:active {
  transform: translateY(0);
}

/* Button in nav */
.nav .btn--link {
  border:1px solid var(--accent);
  background: white;
  color: var(--accent);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-sm);
  border: 1px solid var(--accent);
  transition: all 0.2s var(--ease);
}

.nav .btn--link:hover {
  color:white;
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav .btn--link:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  width: 2.5rem;
  height: 2.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nav-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.1);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-radius: var(--radius-lg);
}

.nav-toggle:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.nav-toggle:hover::before {
  opacity: 1;
}

.nav-toggle:active {
  transform: scale(0.95);
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--primary);
  margin: 3px 0;
  transition: all 0.3s var(--ease);
  position: relative;
  z-index: 1;
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-15px);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Enhanced Responsive Header Optimizations */
@media (max-width: 1200px) {
  .header {
    top: var(--space-4);
    padding: 0 var(--space-4);
  }
  
  .logo {
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-4);
  }
  
  .nav {
    gap: var(--space-2);
    padding: var(--space-1);
  }
  
  .nav a {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 1024px) {
  .header__inner {
    height: 3.5rem;
  }
  
  .logo {
    font-size: var(--font-size-sm);
    letter-spacing: 1px;
  }
  
  .nav {
    padding: var(--space-1);
    border-radius: var(--radius-lg);
  }
  
  .nav a {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 768px) {
  .header {
    position: fixed;
    top: var(--space-3);
    padding: 0 var(--space-3);
    backdrop-filter: blur(20px);
    z-index: 60;
  }
  
  .header__inner {
    height: 3rem;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 0 var(--space-1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:0 2px 10px rgba(0, 0, 0, 0.15)
  }
  
  .logo {
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-4);
    letter-spacing: 1px;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.95);
  }
  
  .nav {
    position: fixed;
    top: 4.5rem;
    left: 50%;
    right: auto;
    width: calc(100vw - 2rem);
    max-width: 380px;
    transform: translateX(-50%) translateY(-30px) scale(0.95);
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: var(--space-6);
    border-radius: var(--radius-2xl);
    box-shadow: 
      0 25px 50px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(255, 255, 255, 0.8),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    transform-origin: top center;
  }
  
  .nav::before {
    opacity: 0;
  }
  
  .nav::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -1px 2px rgba(0, 0, 0, 0.1));
  }
  
  .nav.open {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }
  
  .nav.closing {
    transform: translateX(-50%) translateY(-20px) scale(0.98);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav a {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-base);
    border-radius: var(--radius-xl);
    text-align: center;
    justify-content: center;
    margin-bottom: var(--space-2);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease);
  }
  
  .nav a:last-child {
    margin-bottom: 0;
  }
  
  .nav a:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px) scale(1.02);
  }
  
  .nav a.btn--link {
    background: var(--accent);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  }
  
  .nav a.btn--link:hover {
    background: var(--accent-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  }
  
  .nav-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 480px) {
  .header {
    top: var(--space-2);
    padding: 0 var(--space-2);
  }
  
  .header__inner {
    height: 2.75rem;
    padding: 0 var(--space-1);
  }
  
  .logo {
    font-size: var(--font-size-xs);
    padding: var(--space-1) var(--space-3);
    letter-spacing: 0.5px;
  }
  
  .nav {
    top: 3.5rem;
    width: calc(100vw - 1rem);
    max-width: 320px;
    padding: var(--space-4);
    border-radius: var(--radius-xl);
  }
  
  .nav a {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-1);
  }
  
  .nav-toggle {
    width: 2.25rem;
    height: 2.25rem;
    padding: var(--space-1);
  }
  
  .nav-toggle span {
    width: 1rem;
    height: 1px;
    margin: 2px 0;
  }
}

/* Enhanced Mobile Header Animations */
@media (max-width: 768px) {
  .nav a {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav.open a {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav.open a:nth-child(1) { transition-delay: 0.1s; }
  .nav.open a:nth-child(2) { transition-delay: 0.15s; }
  .nav.open a:nth-child(3) { transition-delay: 0.2s; }
  
  /* Smooth scroll offset for fixed header */
  html {
    scroll-padding-top: 5rem;
  }
}

/* Original 768px media query content preserved */

/* Hero */
.hero {
  padding: var(--space-30) var(--space-16) var(--space-20) var(--space-16);
  text-align: center;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  right: -10%;
  bottom: -20%;
  background: radial-gradient(circle at 50% 50%, 
    rgba(99, 102, 241, 0.03) 0%, 
    transparent 60%
  );
  pointer-events: none;
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-16);
  align-items: center;
}

.hero__text {
  order: 1;
}

.hero__image {
  order: 2;
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait {
  width: 320px;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8);
  transition: all 0.4s var(--ease);
  will-change: transform;
}

.portrait:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 32px 64px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.9);
}

.portrait__badge {
  position: absolute;
  bottom: 10px;
  right: -10px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: white;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 4px 16px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  line-height: 1.2;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: float 4s ease-in-out infinite;
}

.badge__icon {
  font-size: 1rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.badge__text strong {
  font-weight: 600;
  display: block;
  font-size: var(--font-size-sm);
}

.hero h1 {
  margin-bottom: var(--space-6);
  will-change: transform;
}

.hero h1 i {
  font-style: normal;
  color: var(--accent);
  font-weight: 400;
}

.hero p {
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  will-change: transform;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

@media(max-width: 768px) {
  .hero h1 {
    font-size:28px;
  }
  .portrait {
    width:320px;
    height: auto;
  }
  .hero__inner{
    gap: var(--space-3);
  }
}

/* Ticks */
.ticks {
  list-style: none;
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

.ticks li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  border: none;
  font-size: var(--font-size-base);
}

.btn--primary {
  background: var(--primary);
  color: white;
}

.btn--primary:hover {
  color: white;
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--neutral-200);
}

.btn--secondary:hover {
  background: var(--neutral-100);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--neutral-600);
  font-weight:300;
}

.btn--ghost:hover {
  background: var(--surface);
  color: var(--primary);
}

.btn--link {
  background: var(--accent);
  color: var(--accent);
  padding: var(--space-2) var(--space-4);
}

.btn--link:hover {
  color: var(--primary);
  background: var(--accent);
}

/* Info Tabs Section */
.section--info-tabs {
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(99, 102, 241, 0.02) 50%,
    rgba(255, 255, 255, 1) 100%
  );
  position: relative;
  overflow: hidden;
}

.info-tabs {
  /*max-width: 1000px;*/
  margin: 0 auto;
}

.info-tabs__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.info-tabs__header h2 {
  margin-bottom: var(--space-4);
}

.info-tabs__header .lead {
  font-size: var(--font-size-lg);
  color: var(--neutral-600);
  font-weight: 500;
}

.info-tabs__nav {
  display: flex;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: var(--space-2);
  border-radius: var(--radius-xl);
  border: 1px solid var(--neutral-200);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: var(--space-8);
}

.info-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--neutral-600);
  position: relative;
  overflow: hidden;
}

.info-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-lg);
}

.info-tab:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.info-tab:hover::before {
  opacity: 0.05;
}

.info-tab.active {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.info-tab.active::before {
  opacity: 0;
}

.tab-icon {
  font-size: var(--font-size-xl);
  transition: transform 0.3s ease;
}

.info-tab.active .tab-icon {
  transform: scale(1.1);
}

.tab-label {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.info-tabs__content {
  position: relative;
  min-height: 500px;
}

.tab-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.tab-panel.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.tab-panel__inner {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--neutral-200);
}

.tab-panel h3 {
  font-size: var(--font-size-2xl);
  color: var(--primary);
  margin-bottom: var(--space-6);
  /*padding-bottom: var(--space-4);*/
  /*border-bottom: 2px solid var(--neutral-100);*/
}

.intro-text {
  font-size: var(--font-size-lg);
  color: var(--neutral-700);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8) 0;
}

.service-list li {
  position: relative;
  padding-left: var(--space-10);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--neutral-100);
}

.service-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: white;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.service-list li strong {
  display: block;
  color: var(--primary);
  font-weight: 600;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.service-list li p {
  margin: 0;
  color: var(--neutral-600);
  line-height: 1.7;
}

/* Styled list for legal sections */
.styled-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
}

.styled-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-4);
  color: var(--neutral-700);
  line-height: 1.7;
}

.styled-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.highlight-box {
  display: flex;
  gap: var(--space-6);
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.08), 
    rgba(168, 85, 247, 0.05)
  );
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-top: var(--space-8);
}

.highlight-icon {
  font-size: 3rem;
  flex-shrink: 0;
  line-height: 1;
}

.highlight-content h4 {
  color: var(--accent);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.highlight-content p {
  margin: 0;
  line-height: 1.8;
  color: var(--neutral-700);
}

.legal-section {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--neutral-100);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h4 {
  color: var(--primary);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.legal-section p {
  line-height: 1.8;
  color: var(--neutral-600);
  margin-bottom: var(--space-4);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.dual-systems {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  border: 1px solid var(--neutral-200);
}

.dual-systems h4 {
  color: var(--neutral-700);
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2);
}

.systems-grid span {
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
  padding: var(--space-2) var(--space-3);
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
}

.systems-grid span::before {
  content: "•";
  color: var(--accent);
  font-weight: 700;
  margin-right: var(--space-2);
}

.info-box {
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  border: 2px solid;
}

.info-box h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.info-box p {
  margin-bottom: var(--space-3);
  line-height: 1.8;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box--primary {
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.1), 
    rgba(168, 85, 247, 0.05)
  );
  border-color: rgba(99, 102, 241, 0.3);
}

.info-box--primary h4 {
  color: var(--accent);
}

.info-box--warning {
  background: linear-gradient(135deg, 
    rgba(239, 68, 68, 0.1), 
    rgba(220, 38, 38, 0.05)
  );
  border-color: rgba(239, 68, 68, 0.3);
  display: flex;
  gap: var(--space-4);
}

.info-box--warning h4 {
  color: #dc2626;
}

.info-box--update {
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.1), 
    rgba(217, 119, 6, 0.05)
  );
  border-color: rgba(245, 158, 11, 0.3);
  display: flex;
  gap: var(--space-4);
}

.info-box--update h4 {
  color: #d97706;
}

.info-box__icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.info-box__content {
  flex: 1;
}

.info-tabs__cta {
  text-align: center;
  margin-top: var(--space-10);
  padding: var(--space-8);
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.05), 
    rgba(168, 85, 247, 0.03)
  );
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.info-tabs__cta p {
  font-size: var(--font-size-xl);
  color: var(--neutral-700);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

/* Responsive Tabs */
@media (max-width: 768px) {
  .info-tabs__nav {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .info-tab {
    padding: var(--space-3) var(--space-4);
  }
  
  .tab-panel__inner {
    padding: var(--space-6);
  }
  
  .tab-panel h3 {
    font-size: var(--font-size-xl);
  }
  
  .service-list li {
    padding-left: var(--space-8);
  }
  
  .service-list li::before {
    width: 28px;
    height: 28px;
    font-size: var(--font-size-base);
  }
  
  .service-list li strong {
    font-size: var(--font-size-base);
  }
  
  .highlight-box {
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
  }
  
  .highlight-icon {
    font-size: 2rem;
  }
  
  .highlight-content h4 {
    font-size: var(--font-size-lg);
  }
  
  .systems-grid {
    grid-template-columns: 1fr;
  }
  
  .info-box {
    padding: var(--space-4);
  }
  
  .info-box--warning,
  .info-box--update {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .info-box__icon {
    font-size: 1.5rem;
  }
  
  .info-tabs__cta {
    padding: var(--space-6);
  }
  
  .info-tabs__cta p {
    font-size: var(--font-size-base);
  }
}

/* Modern Services Section */
.section--services {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 50%, #ffffff 100%);
  position: relative;
  padding: var(--space-16) 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-intro {
  font-size: 1.125rem;
  color: var(--neutral-600);
  margin-top: var(--space-4);
  line-height: 1.7;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-16);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
  
  /* Letzte 3 Items zentriert in der zweiten Zeile */
  .service-card:nth-child(5) {
    grid-column: 1 / 2;
  }
  
  .service-card:nth-child(6) {
    grid-column: 2 / 3;
  }
  
  .service-card:nth-child(7) {
    grid-column: 3 / 4;
  }
}

@media (min-width: 1280px) {
  .services-grid {
    gap: var(--space-7);
  }
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: var(--space-6);
  margin: var(--space-1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.03), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
  position: relative;
  z-index: 1;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card:hover .service-card__icon {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
  color: #1e293b;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.service-card p {
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  font-size: 0.9375rem;
}

/* Highlight Section */
.highlight-section {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 20px;
  padding: var(--space-12);
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.highlight-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.highlight-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.highlight-section__icon {
  font-size: 3.5rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  position: relative;
  z-index: 1;
}

.highlight-section__content {
  position: relative;
  z-index: 1;
}

.highlight-section__content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.highlight-section__content p {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin: 0;
  font-size: 1rem;
}

.highlight-section__content strong {
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .section--services {
    padding: var(--space-12) 0;
  }

  .section-header {
    margin-bottom: var(--space-10);
  }

  .highlight-section {
    flex-direction: column;
    padding: var(--space-8);
    gap: var(--space-6);
  }
  
  .highlight-section__icon {
    font-size: 2.5rem;
  }

  .highlight-section__content h3 {
    font-size: 1.25rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .service-card {
    padding: var(--space-6);
  }
}

/* USP Grid */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.usp-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  text-align: center;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  will-change: transform;
  transform-origin: center center;
}

.usp-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(99, 102, 241, 0.2);
}

.usp-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  transition: all 0.3s var(--ease);
  filter: grayscale(0.3);
}

.usp-card:hover .usp-icon {
  transform: scale(1.1) rotate(5deg);
  filter: grayscale(0);
}

.usp-card h3 {
  margin-bottom: var(--space-4);
  font-size: var(--font-size-xl);
}

.usp-card p {
  margin-bottom: 0;
}

/* Quiz */
.quiz-section {
  position: relative;
  overflow: hidden;
}

.quiz {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Blurry Blobs Background */
.blurry-blobs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.325;
  will-change: transform;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.blob-0{
  display:block;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(168, 85, 247, 0.35));
  top: -25%;
  left: 0;
  right:0;
  margin:0 auto;
  animation: blob-float-0 6s ease-in-out infinite;
}
.blob-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent), rgba(99, 102, 241, 0.7));
  top: 22%;
  left: -10%;
  animation: blob-float-1 8s ease-in-out infinite;
}

.blob-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #8b5cf6, rgba(139, 92, 246, 0.5));
  top: 60%;
  right: -5%;
  animation: blob-float-2 10s ease-in-out infinite;
  animation-delay: -2s;
}

.blob-3 {
  width: 400px;
  height: 500px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.6), rgba(168, 85, 247, 0.4));
  top: 30%;
  right: 20%;
  animation: blob-float-3 12s ease-in-out infinite;
  animation-delay: -4s;
}

.blob-4 {
  width: 300px;
  height: 400px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), var(--accent));
  top: 20%;
  left: 24%;
  animation: blob-float-4 9s ease-in-out infinite;
  animation-delay: -1s;
}

.blob-5 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.6), rgba(99, 102, 241, 0.5));
  top: 5%;
  right: 30%;
  animation: blob-float-5 11s ease-in-out infinite;
  animation-delay: -3s;
}

/* Blob Animations */
@keyframes blob-float-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(30px, -20px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translate(-20px, -40px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translate(-40px, 20px) rotate(270deg) scale(1.05);
  }
}

@keyframes blob-float-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(-25px, 35px) rotate(120deg) scale(1.15);
  }
  66% {
    transform: translate(40px, -30px) rotate(240deg) scale(0.85);
  }
}

@keyframes blob-float-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  20% {
    transform: translate(20px, 30px) rotate(72deg) scale(1.2);
  }
  40% {
    transform: translate(-35px, 10px) rotate(144deg) scale(0.8);
  }
  60% {
    transform: translate(15px, -25px) rotate(216deg) scale(1.1);
  }
  80% {
    transform: translate(-10px, -15px) rotate(288deg) scale(0.95);
  }
}

@keyframes blob-float-4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  30% {
    transform: translate(-30px, -25px) rotate(108deg) scale(1.08);
  }
  70% {
    transform: translate(35px, 20px) rotate(252deg) scale(0.92);
  }
}

@keyframes blob-float-5 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(15px, -30px) rotate(90deg) scale(1.3);
  }
  50% {
    transform: translate(-25px, 15px) rotate(180deg) scale(0.7);
  }
  75% {
    transform: translate(20px, 25px) rotate(270deg) scale(1.1);
  }
}

.quiz h2 {
  text-align: center;
  margin-bottom: var(--space-12);
}

.quiz__progress-wrap {
  margin-bottom: var(--space-8);
}

.quiz__step-label {
  display: block;
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--neutral-500);
  margin-bottom: var(--space-4);
}

.quiz__progress {
  height: 10px;
  background: #c7caff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.quiz__progress-bar {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s var(--ease);
  width: 0%;
}

.quiz__slide {
  background-color: rgba(255, 255, 255,0.45);
  backdrop-filter: blur(35px);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  border: 1px solid var(--neutral-200);
  margin-bottom: var(--space-6);
}

.quiz__slide h3 {
  margin-bottom: var(--space-6);
  font-size: var(--font-size-xl);
}

.quiz__btns {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

/* Quiz Loading Animation */
.quiz__loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-8);
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--neutral-200);
  gap: var(--space-6);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz__loading.show {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(99, 102, 241, 0.1);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-dots {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.loading-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: loadingDots 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dot:nth-child(3) { animation-delay: 0s; }

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes loadingDots {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.loading-text {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--primary);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.loading-subtext {
  font-size: var(--font-size-sm);
  color: var(--neutral-500);
  max-width: 300px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

/* Quiz Result Animation */
.quiz__result {
  opacity: 0;
  backdrop-filter: blur(24px) saturate(140%);
  background-color: #ffffff76;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz__result.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.quiz__summary {
  opacity: 0;
  animation: slideInResult 0.6s ease-out 0.2s forwards;
}

@keyframes slideInResult {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quiz Slides Animation */
.quiz__slides {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz__slides.hiding {
  opacity: 0;
  transform: translateX(-20px) scale(0.98);
}

/* Quiz Error Message */
.quiz__error {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: center;
  color: #dc2626;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
  /* Standardmäßig versteckt */
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease-out;
}

/* Error sichtbar machen */
.quiz__error.show {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
  animation: slideInError 0.4s ease-out;
}

@keyframes slideInError {
  0% {
    transform: translateY(-15px) scale(0.9);
    opacity: 0;
  }
  50% {
    transform: translateY(3px) scale(1.03);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.quiz__btn {
  padding: var(--space-4);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  background: white;
  text-align: left;
}

.quiz__btn:hover {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.05);
}

.quiz__btn[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.1);
}

.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-8);
}

.quiz__result {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  border: 1px solid var(--neutral-200);
  text-align: center;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-form-wrapper h2 {
  margin-bottom: var(--space-4);
}

.contact-form-wrapper > p {
  margin-bottom: var(--space-8);
}

/* Enhanced Form Styles with Modern UX */
.contact__form {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  border: 1px solid var(--neutral-200);
  position: relative;
}

.form-group {
  position: relative;
  margin-bottom: var(--space-6);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-4) var(--space-3);
  border: 2px solid var(--neutral-300);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

/* Enhanced valid state */
.form-group input.valid,
.form-group textarea.valid {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.02);
}

.form-group input.valid:focus,
.form-group textarea.valid:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Enhanced error state */
.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.02);
  animation: shake 0.5s ease-in-out;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Floating labels */
.form-group label {
  position: absolute;
  left: var(--space-3);
  top: var(--space-4);
  color: var(--neutral-500);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  background: white;
  padding: 0 var(--space-1);
  font-weight: 500;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  font-size: var(--font-size-sm);
  color: var(--accent);
  font-weight: 600;
}

.form-group input.valid + label,
.form-group textarea.valid + label {
  color: #10b981;
}

.form-group input.error + label,
.form-group textarea.error + label {
  color: #ef4444;
}

/* Field error messages */
.error {
  color: #ef4444;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-top: var(--space-2);
  display: none;
  align-items: center;
  gap: var(--space-1);
  animation: fadeInScale 0.2s ease-out;
}

/* Show error when display is set to block */
.error[style*="block"] {
  display: flex !important;
}

/*
.error::before {
  content: "⚠️";
  font-size: var(--font-size-xs);
}
*/

/* Global error styling */
.global-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  display: none;
  align-items: center;
  gap: var(--space-3);
  animation: slideInDown 0.3s ease-out;
}

.error-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.error-text {
  color: #dc2626;
  font-weight: 500;
  font-size: var(--font-size-sm);
}

/* Enhanced textarea */
.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Character counter for textarea */
.form-group textarea + label::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  right: 0;
  font-size: var(--font-size-xs);
  color: var(--neutral-400);
}

/* Enhanced checkbox styling */
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin: var(--space-6) 0;
  cursor: pointer;
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}

.check:hover {
  background: rgba(99, 102, 241, 0.02);
}

.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.check span {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
  line-height: 1.5;
  user-select: none;
}

.check span a {
  color: var(--accent);
  text-decoration: underline;
}

/* Enhanced submit button */
.btn[type="submit"] {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.loading {
  background: var(--neutral-400);
  cursor: not-allowed;
  pointer-events: none;
}

.btn.success {
  background: #10b981;
  transform: scale(1.02);
}

.btn.error {
  background: #ef4444;
  animation: pulse 0.5s ease-in-out;
}

/* Button animations */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: var(--space-2);
}

.btn-icon {
  margin-right: var(--space-2);
  font-weight: bold;
}

/* Success message enhanced */
.form-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065f46;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  text-align: center;
  margin-top: var(--space-6);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.form-success::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shine 1.5s ease-in-out;
}

/* Animations */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
  20%, 40%, 60%, 80% { transform: translateX(8px); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Form help text */
.form-help {
  display: block;
  text-align: center;
  color: var(--neutral-500);
  font-size: var(--font-size-xs);
  margin-top: var(--space-3);
  font-style: italic;
}

/* Honeypot hidden field */
.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8) var(--space-6) var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
}

.contact-card .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.contact-card:hover .icon {
  transform: scale(1.2) rotate(-5deg);
}

.contact-card p {
  margin: 0;
  font-size: var(--font-size-sm);
}

.contact-card strong {
  color: var(--primary);
  font-weight: 600;
}

/* Öffnungszeiten Styling */
.opening-hours-card {
  background: white;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.opening-hours-content {
  flex: 1;
}

.opening-hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0 0.1rem 0;
}

.opening-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.opening-hours__row.special {
  font-style: italic;
  opacity: 0.8;
  font-size: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

.day {
  font-weight: 500;
  color: var(--text);
  font-size: 1rem;
}

.time {
  font-weight: 600;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}
.day.extra,
.time.extra {
  font-size: 0.725rem;
}


.current-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.85rem;
}

.status-indicator {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.status-indicator.open {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.status-indicator.closed {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

.status-text {
  font-weight: 500;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: var(--background);
  padding: var(--space-24) 0 var(--space-12);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--accent) 50%, 
    transparent 100%
  );
}

.footer__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.footer__brand {
  margin-bottom: var(--space-16);
}

.footer__brand h3 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 300;
  margin-bottom: var(--space-6);
  color: var(--primary);
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: var(--font-size-lg);
  color: var(--neutral-500);
  margin-bottom: var(--space-8);
  font-weight: 300;
  line-height: 1.6;
}

.footer__contact {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  margin-bottom: var(--space-16);
  flex-wrap: wrap;
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-decoration: none;
  color: var(--neutral-600);
  transition: all var(--duration) var(--ease);
  padding: var(--space-3);
  border-radius: var(--radius-xl);
  min-width: 120px;
  background-color: #f7f8fd;
}

.footer__contact-item:hover {
  color: var(--primary);
  background: var(--surface);
  transform: translateY(-2px);
}

.footer__contact-item .icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-2);
  opacity: 0.7;
  transition: opacity var(--duration) var(--ease);
}

.footer__contact-item:hover .icon {
  opacity: 1;
}

.footer__contact-label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--neutral-400);
}

.footer__contact-value {
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.footer__services {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-16);
  flex-wrap: wrap;
}

.footer__service {
  font-size: var(--font-size-sm);
  color: var(--neutral-500);
  padding: var(--space-2) var(--space-4);
  background: var(--surface);
  border-radius: var(--radius-xl);
  transition: all var(--duration) var(--ease);
  border: 1px solid transparent;
}

.footer__service:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.05);
}

.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--neutral-200);
  flex-wrap: wrap;
}

.footer__copyright {
  color: var(--neutral-400);
  font-size: var(--font-size-xs);
  font-weight: 300;
}

.footer__links {
  display: flex;
  gap: var(--space-6);
}

.footer__links a {
  color: var(--neutral-400);
  font-size: var(--font-size-xs);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
  position: relative;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}

.footer__links a:hover::after {
  width: 100%;
}

/* Decorative elements */
.footer__decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* Utilities */
.text-center { text-align: center; }
.hidden { display: none; }

/* Fade animations */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button ripple effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  animation: ripple 0.6s linear;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Modern Micro Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
  100% { transform: scale(1); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.2); }
  50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
}

/* Quiz button active state */
.quiz__btn.active {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}

/* Quiz shake animation */
.quiz__slide.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { 
    transform: translateX(0); 
  }
  10%, 30%, 50%, 70%, 90% { 
    transform: translateX(-8px); 
  }
  20%, 40%, 60%, 80% { 
    transform: translateX(8px); 
  }
}

/* Quiz result variants */
.quiz__result.danger {
  background-color: #fef2f282;
  backdrop-filter: blur(24px) saturate(140%);
}

.quiz__result.warning {
  background-color: #fffbeb75;
  backdrop-filter: blur(24px) saturate(140%);
}

.quiz__result.neutral {
  background-color: #f0f9ff8d;
  backdrop-filter: blur(24px) saturate(140%);
}

.quiz__summary h3 {
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.quiz__summary p {
  margin-bottom: var(--space-6);
  font-size: var(--font-size-lg);
}

/* Quiz specific styles */
.quiz__slides {
  position: relative;
}

.quiz__slide {
  display: none;
}

.quiz__slide.active {
  display: block;
}

/* Responsive */
/* Mobile First Design */
@media (max-width: 1024px) {
  .hero {
    padding: var(--space-16) 0 var(--space-12);
  }
  
  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: center;
  }
  
  .hero__text {
    order: 2;
  }
  
  .hero__image {
    order: 1;
    margin-bottom: var(--space-6);
  }
  
  .portrait {
    width: 240px;
    height: 300px;
  }
  
  .portrait__badge {
    bottom: -8px;
    right: -8px;
    padding: var(--space-1) var(--space-2);
    font-size: 0.65rem;
  }
  
  .badge__icon {
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .portrait {
    width: 220px;
    height: auto;
  }
  
  .portrait__badge {
    position: absolute;
    bottom: 10px;
    right:-30px;
    margin-top: var(--space-3);
    display: inline-flex;
    padding: var(--space-2) var(--space-3);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .section {
    padding: var(--space-16) 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-20) var(--space-3) 0 var(--space-3);
  }
  
  .hero__content {
    gap: var(--space-6);
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
  }
  
  .hero__content > * {
    order: 999;
  }
  .hero__text h1 {
    order: 1 !important;
    margin-bottom: var(--space-6);
  }
  .hero__image {
    order: 2 !important;
    margin-bottom: var(--space-4);
  }
  
  .hero__text p.lead {
    order: 3 !important;
  }
  
  .hero__ctas {
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-6);
    order: 4 !important;
  }
  
  .ticks {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    order: 5 !important;
  }
  
  .hero__text {
    order: 1;
    display: contents;
  }
  
  .blob {
    filter: blur(40px);
    opacity: 0.25;
  }
  
  .blob-1 {
    width: 200px;
    height: 200px;
    top: 5%;
    left: -20%;
  }
  
  .blob-2 {
    width: 150px;
    height: 150px;
    top: 70%;
    right: -15%;
  }
  
  .blob-3 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 10%;
  }
  
  .blob-4 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 5%;
  }
  
  .blob-5 {
    width: 80px;
    height: 80px;
    top: 15%;
    right: 40%;
  }
  
  .usp-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .quiz__nav {
    flex-direction: column;
    gap: var(--space-1);
  }
  
  .footer {
    padding: var(--space-16) 0 var(--space-8);
  }
  
  .footer__contact {
    flex-direction: column;
    gap: var(--space-6);
  }
  
  .footer__contact-item {
    min-width: auto;
  }
  
  .footer__services {
    gap: var(--space-3);
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .footer__decoration {
    width: 250px;
    height: 250px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Enhanced Contact Form UX Styles */
.form-message {
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: 500;
  animation: slideInFromTop 0.3s ease-out;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-message.success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 1px solid #10b981;
  color: #065f46;
}

.form-message.error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 1px solid #ef4444;
  color: #991b1b;
}

.message-icon {
  font-size: var(--font-size-lg);
  font-weight: bold;
}

.message-text {
  flex: 1;
  line-height: 1.5;
}

/* Field-specific error styles - enhanced for contact form */
.contact__form .field-error {
  display: none;
  color: #dc2626;
  font-size: var(--font-size-sm);
  margin-top: var(--space-2);
  padding-left: var(--space-2);
  animation: fadeInScale 0.2s ease-out;
}

/* Note: .form-group input.error styles are already defined earlier in the CSS */

/* Shake animation for error fields */
.contact__form .form-group.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 20%, 40%, 60%, 80% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
}

/* Enhanced button states */
.contact__form button[type="submit"] {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact__form button[type="submit"].loading {
  background: var(--neutral-400);
  cursor: not-allowed;
}

.contact__form button[type="submit"].success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transform: scale(1.02);
}

.contact__form button[type="submit"].error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  animation: pulse 0.5s ease-in-out;
}

/* Button spinner */
.button-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 2px solid white;
  animation: spin 1s linear infinite;
  margin-right: var(--space-2);
}

.button-icon {
  margin-right: var(--space-2);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Screen reader only content */
.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;
}

/* Mobile optimizations for form messages */
@media (max-width: 768px) {
  .form-message {
    padding: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-sm);
  }
  
  .field-error {
    font-size: var(--font-size-xs);
  }
}

/* Enhanced Quiz Result Styles */
.quiz__result-content {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: resultFadeIn 0.6s ease-out forwards;
}

.quiz__result-icon {
  font-size: 4rem;
  margin-bottom: var(--space-4);
  display: block;
}

.quiz__result-icon.high-risk {
  color: #ef4444;
  animation: pulse 2s infinite;
}

.quiz__result-icon.medium-risk {
  color: #f59e0b;
}

.quiz__result-icon.low-risk {
  color: #10b981;
}

.quiz__result-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--neutral-900);
}

.quiz__result-description {
  font-size: var(--font-size-lg);
  line-height: 1.6;
  color: var(--neutral-700);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.quiz__result-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.quiz__result-actions .btn {
  min-width: 200px;
}

@keyframes resultFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Quiz Navigation Enhancements */
.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-6);
  gap: var(--space-4);
}

.quiz__nav .btn {
  min-width: 120px;
  transition: all 0.3s ease;
}

.quiz__nav .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.quiz__nav .btn:not(:disabled):hover {
  transform: translateY(-2px);
}

/* Quiz Options Enhanced */
.quiz__option {
  display: block;
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.quiz__option:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quiz__option input[type="radio"] {
  margin-right: var(--space-3);
  transform: scale(1.2);
}

.quiz__option input[type="radio"]:checked + .quiz__option-text {
  font-weight: 600;
  color: var(--accent);
}

.quiz__option:has(input[type="radio"]:checked) {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
}

.quiz__option-text {
  font-size: var(--font-size-base);
  line-height: 1.5;
  transition: all 0.3s ease;
}

/* Mobile Quiz Optimizations */
@media (max-width: 768px) {
  .quiz__result-content {
    padding: var(--space-6);
  }
  
  .quiz__result-title {
    font-size: var(--font-size-xl);
  }
  
  .quiz__result-description {
    font-size: var(--font-size-base);
  }
  
  .quiz__result-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .quiz__result-actions .btn {
    min-width: auto;
  }
  
  .quiz__nav {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .quiz__nav .btn {
    width: 100%;
    min-width: auto;
  }
  
  .quiz__option {
    padding: var(--space-3);
  }
}
