/* ============================================================================
   RICHARD BADER GMBH - MINIMALIST DESIGN SYSTEM
   Black, White, and Orange - Clean Modern Aesthetic
   ============================================================================ */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Background Colors - Minimalist Black & White */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #ffffff;
  --color-bg-tertiary: #fafafa;
  --color-bg-dark: #000000;
  --color-bg-hero: #000000;

  /* Orange Accent Palette (Vibrant) */
  --color-accent-primary: #FF6B00;
  --color-accent-secondary: #FF8533;
  --color-accent-dark: #E55D00;
  --color-accent-light: #FFE4D4;

  /* Text Colors */
  --color-text-primary: #000000;
  --color-text-secondary: #333333;
  --color-text-muted: #666666;
  --color-text-light: #ffffff;
  --color-text-on-accent: #ffffff;

  /* Borders */
  --color-border: #e0e0e0;
  --color-border-dark: #333333;

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
  --font-mono: ui-monospace, "SF Mono", Monaco, "Cascadia Code",
    "Roboto Mono", Menlo, Consolas, "Liberation Mono",
    "Courier New", monospace;

  --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: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;
  --font-size-hero: clamp(2.5rem, 5vw, 4.5rem);

  /* 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;

  /* Border Radius - Minimal */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;

  /* Shadows - Subtle */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-Index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
}

/* --------------------------------------------------------------------------
   CSS RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  background: var(--color-accent-primary);
  color: white;
  padding: var(--space-3) var(--space-6);
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

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

:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
}

.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 700;
  color: var(--color-text-light);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--color-accent-primary);
}

.section-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.section-number {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: var(--color-accent-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  font-weight: 400;
  max-width: 600px;
}

p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-dark);
}

/* --------------------------------------------------------------------------
   LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

.section-light {
  background: var(--color-bg-secondary);
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-text-light);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   NAVIGATION - Kassow Style
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  background: transparent;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav.scrolled .nav-link {
  color: var(--color-text-secondary);
}

.nav.scrolled .nav-link:hover,
.nav.scrolled .nav-link.active {
  color: var(--color-accent-primary);
}

.nav.scrolled .nav-brand {
  color: var(--color-text-primary);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-logo {
  width: 44px;
  height: 44px;
  transition: opacity var(--transition-fast);
}

.logo-dark {
  display: none;
}

.nav.scrolled .logo-light {
  display: none;
}

.nav.scrolled .logo-dark {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-link {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-light);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav.scrolled .lang-toggle {
  background: var(--color-bg-secondary);
  border-color: var(--color-border);
}

.lang-btn {
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav.scrolled .lang-btn {
  color: var(--color-text-muted);
}

.lang-btn:hover {
  color: white;
}

.nav.scrolled .lang-btn:hover {
  color: var(--color-text-primary);
}

.lang-btn.active {
  background: var(--color-accent-primary);
  color: white !important;
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav.scrolled .nav-toggle span {
  background: var(--color-text-primary);
}

/* Static Nav for Legal Pages */
.nav-static {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--shadow-md);
}

.nav-static .nav-link {
  color: var(--color-text-secondary) !important;
}

.nav-static .nav-link:hover,
.nav-static .nav-link.active {
  color: var(--color-accent-primary) !important;
}

.nav-static .nav-brand {
  color: var(--color-text-primary) !important;
}

.nav-static .logo-light {
  display: none !important;
}

.nav-static .logo-dark {
  display: block !important;
}

.nav-static .lang-toggle {
  background: var(--color-bg-secondary);
  border-color: var(--color-border);
}

.nav-static .lang-btn {
  color: var(--color-text-muted);
}

.nav-static .lang-btn:hover {
  color: var(--color-text-primary);
}

.nav-static .nav-toggle span {
  background: var(--color-text-primary) !important;
}

/* --------------------------------------------------------------------------
   HERO SECTION - Kassow Style with 3D Scroll
   -------------------------------------------------------------------------- */
.hero {
  /* Full viewport height to prevent content below from showing on initial load */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--color-bg-hero);
  overflow: hidden;
}

.hero>.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Intro Loader */
#intro-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* Allows clicking through after opacity 0 */
}

/* The loading star */
.intro-star {
  font-size: 8rem;
  color: var(--color-accent-primary);
  opacity: 0;
  transform: scale(0);
  /* Start invisible, zoom in with dramatic entrance */
  animation: intro-zoom-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    intro-pulse 1.5s ease-in-out 0.6s infinite;
  position: absolute;
  z-index: 10000;
}

@keyframes intro-zoom-in {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    filter: drop-shadow(0 0 0 transparent);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 20px var(--color-accent-primary));
  }
}

@keyframes intro-pulse {

  0%,
  100% {
    filter: drop-shadow(0 0 15px var(--color-accent-primary));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 40px var(--color-accent-primary));
    transform: scale(1.1);
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transform: scale(1.1);
  transition: transform 0.1s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: var(--space-24) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(241, 139, 51, 0.2);
  border: 1px solid rgba(241, 139, 51, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--color-accent-primary);
  margin-bottom: var(--space-6);
  font-weight: 500;
  /* Entrance animation */
  animation: badge-entrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(-20px) scale(0.9);
}

@keyframes badge-entrance {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.8);
    filter: blur(10px);
  }

  40% {
    opacity: 1;
    filter: blur(0);
  }

  60% {
    transform: translateY(5px) scale(1.05);
  }

  80% {
    transform: translateY(-3px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Star interaction - shimmer and glow effect */
/* Star interaction */
.hero-star {
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: star-shimmer 3s ease-in-out infinite;

  /* Dimensions for the container */
  width: 1.2rem;
  height: 1.2rem;
  position: relative;
  /* Ensure no rect artifacts from font */
  line-height: 1;
}

/* The actual star character */
.hero-star::before {
  content: '✦';
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* The green dot (hidden by default) */
.hero-star::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #09bd54;
  /* Emerald green */
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);


}

@keyframes star-shimmer {

  0%,
  100% {
    filter: drop-shadow(0 0 2px var(--color-accent-primary));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 5px var(--color-accent-primary));
    transform: scale(1.1);
  }
}

/* Badge Hover Interaction - Status Indicator */
.hero-badge {
  transition: border-color 0.5s ease, background-color 0.5s ease;
  cursor: default;
}

.hero-badge:hover .hero-star {
  /* Stop shimmer on wrapper */
  animation: none;
  filter: none;
  transform: scale(1);
}

.hero-badge:hover .hero-star::before {
  /* Hide the star character */
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

.hero-badge:hover .hero-star::after {
  /* Show the green dot */
  opacity: 1;
  transform: scale(1);
}

/* Hero title entrance animation */
.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 700;
  color: var(--color-text-light);
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: title-entrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  animation-play-state: paused;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes title-entrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title .accent {
  color: var(--color-accent-primary);
}

/* Hero subtitle entrance */
.hero-subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.8);
  margin: var(--space-6) 0;
  max-width: 550px;
  line-height: 1.6;
  animation: subtitle-entrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  animation-play-state: paused;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes subtitle-entrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero CTA entrance */
.hero-cta {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
  animation: cta-entrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
  animation-play-state: paused;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes cta-entrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.scroll-indicator::after {
  content: '↓';
  font-size: var(--font-size-2xl);
}

/* --------------------------------------------------------------------------
   BUTTONS - Kassow Style
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}

.btn-outline-dark:hover {
  background: var(--color-text-primary);
  color: white;
}

/* --------------------------------------------------------------------------
   CARDS - Kassow Style
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-6);
  color: var(--color-accent-primary);
}

.card-sketch {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  background: var(--color-bg-dark);
  transition: transform var(--transition-base);
}

.service-card:hover .card-sketch {
  transform: scale(1.02);
}

.card-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.card-text {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.7;
}

/* Feature card with number */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-16) 0;
}

.feature-card:nth-child(even) {
  direction: rtl;
}

.feature-card:nth-child(even)>* {
  direction: ltr;
}

.feature-content {
  max-width: 500px;
}

.feature-image {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   SERVICES GRID
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.tag {
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   ROLLING CAPABILITIES BANNER
   -------------------------------------------------------------------------- */
.capabilities-banner {
  position: relative;
  /* Was absolute, now relative to flow in flex column */
  width: 100%;
  z-index: 10;
  background: transparent;
  padding: var(--space-4) 0;
  margin-top: var(--space-8);
  margin-bottom: 120px;
  /* Space for scroll indicator */
  overflow: hidden;
}

.capabilities-track {
  display: flex;
  width: max-content;
  animation: scroll-banner 80s linear infinite;
}

.capabilities-content {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0 var(--space-4) 0 0;
  /* Only right padding to match gap at seam */
}

.capability-item {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}

/* Mouse hover zoom effect on individual items */
.capability-item:hover {
  transform: scale(1.15);
  color: var(--color-accent-primary);
  background: rgba(255, 107, 0, 0.1);
}

.capability-divider {
  color: var(--color-accent-primary);
  font-size: var(--font-size-lg);
  transition: transform 0.3s ease;
}

.capability-item:hover+.capability-divider,
.capability-divider:has(+ .capability-item:hover) {
  transform: scale(1.2);
}

@keyframes scroll-banner {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.3333%);
  }
}

/* NO pause on hover - continuous scrolling */

/* Stats grid kept for sozial.html */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat-item,
.stat-card {
  color: white;
}

.stat-value {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.contact-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.contact-card:hover {
  background: var(--color-bg-primary);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
  font-size: var(--font-size-2xl);
  color: var(--color-accent-primary);
}

.contact-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.contact-value {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-text-primary);
}

.contact-value a {
  color: var(--color-accent-primary);
}

/* --------------------------------------------------------------------------
   GALLERY
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: white;
}

.gallery-caption h3 {
  font-size: var(--font-size-lg);
  color: white;
  margin-bottom: var(--space-2);
}

.gallery-caption p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* --------------------------------------------------------------------------
   TIMELINE
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

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

.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) - 6px);
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--color-accent-primary);
  border: 3px solid var(--color-bg-primary);
  border-radius: var(--radius-full);
}

.timeline-year {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
}

.timeline-content {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

/* --------------------------------------------------------------------------
   ADDRESS CARD
   -------------------------------------------------------------------------- */
.address-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.address-card address {
  font-style: normal;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.address-card strong {
  color: var(--color-text-primary);
  display: block;
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   FOOTER - Kassow Style
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  max-width: 300px;
}

.footer-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   LEGAL PAGES
   -------------------------------------------------------------------------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-24) var(--space-6);
}

.legal-content h2 {
  font-size: var(--font-size-2xl);
  margin: var(--space-8) 0 var(--space-4);
  color: var(--color-text-primary);
}

.legal-content h3 {
  font-size: var(--font-size-lg);
  margin: var(--space-6) 0 var(--space-3);
}

.legal-content p,
.legal-content li {
  color: var(--color-text-secondary);
}

.legal-content ul {
  padding-left: var(--space-6);
}

.legal-content a {
  color: var(--color-accent-primary);
}

/* --------------------------------------------------------------------------
   PAGE HEADER
   -------------------------------------------------------------------------- */
.page-header {
  padding: calc(var(--space-24) + 80px) 0 var(--space-16);
  text-align: center;
  background: var(--color-bg-dark);
  color: white;
}

.page-title {
  font-size: var(--font-size-4xl);
  color: white;
  margin-bottom: var(--space-4);
}

.page-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-lg);
}

/* --------------------------------------------------------------------------
   OFFICE CARDS (Unser Büro Page)
   -------------------------------------------------------------------------- */
.office-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.office-card-image {
  position: relative;
  min-height: 300px;
}

.office-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-card-content {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.office-card-content h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.office-card-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.office-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
}

.office-features li {
  padding: var(--space-2) 0;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

.office-features li:last-child {
  border-bottom: none;
}

.office-address {
  padding: var(--space-4);
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.office-address strong {
  color: var(--color-text-primary);
  display: block;
  margin-bottom: var(--space-2);
}

@media screen and (max-width: 768px) {
  .office-card {
    grid-template-columns: 1fr;
  }

  .office-card-image {
    min-height: 200px;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-card {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .feature-card:nth-child(even) {
    direction: ltr;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --font-size-hero: 2.25rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    z-index: 100;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu .nav-link {
    color: var(--color-text-secondary);
    padding: var(--space-3) var(--space-4);
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero Section Mobile Improvements */
  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding: var(--space-20) 0 var(--space-12) 0;
  }

  .hero-badge {
    margin-bottom: var(--space-4);
  }

  .hero-subtitle {
    margin: var(--space-4) 0;
    font-size: var(--font-size-lg);
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
  }

  /* Section Spacing - Add breathing room */
  .section {
    padding: var(--space-20) 0;
  }

  .section-number {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-3);
  }

  .section-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-4);
  }

  .subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-6);
  }

  /* Service Cards - Better spacing */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .card {
    padding: var(--space-6);
    margin-bottom: 0;
  }

  .service-card {
    margin-bottom: 0;
  }

  /* Featured Experience Card */
  .card[style*="margin-bottom: var(--space-16)"] {
    margin-bottom: var(--space-8) !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  /* Gallery and Stats */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .scroll-indicator {
    display: none;
  }

  /* Mobile Adjustments for Banner */
  .capabilities-banner {
    bottom: var(--space-4);
    padding: var(--space-2) 0;
  }

  .capability-item {
    font-size: var(--font-size-xs);
  }

  .capabilities-track {
    animation-duration: 60s;
  }

  /* Legal Content Mobile */
  .legal-content {
    padding: calc(var(--space-20) + 60px) var(--space-4) var(--space-16);
  }

  .legal-content h1 {
    font-size: var(--font-size-2xl);
  }

  .legal-content h2 {
    font-size: var(--font-size-xl);
    margin: var(--space-6) 0 var(--space-3);
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .section-number {
    font-size: var(--font-size-3xl);
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .card {
    padding: var(--space-5);
  }

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

  .hero-content {
    padding: var(--space-16) 0 var(--space-10) 0;
  }

  .hero-badge {
    font-size: var(--font-size-xs);
    padding: var(--space-2) var(--space-3);
  }

  .btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-sm);
  }

  /* Legal content even smaller */
  .legal-content {
    padding: calc(var(--space-16) + 60px) var(--space-3) var(--space-12);
  }
}

/* --------------------------------------------------------------------------
   PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {

  .nav,
  .skip-link,
  .btn,
  .scroll-indicator {
    display: none !important;
  }

  .hero {
    min-height: auto;
    background: white;
    color: black;
  }

  .hero-title {
    color: black;
  }

  .footer {
    background: white;
    color: black;
  }
}

/* --------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   3D PARALLAX SCROLL EFFECT
   -------------------------------------------------------------------------- */
.parallax-container {
  perspective: 1000px;
  perspective-origin: center;
  overflow: hidden;
}

.parallax-layer {
  transform-style: preserve-3d;
  will-change: transform;
}

.parallax-slow {
  transform: translateZ(-100px) scale(1.1);
}

.parallax-fast {
  transform: translateZ(100px) scale(0.9);
}