/* ============================================================
   PlaceWorkers GmbH - Design System CSS
   Technologie: Pure CSS (kein Framework, kein Build-Tool)
   Stand: 2026-03-23
   ============================================================ */

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;700&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Farben - Primaer */
  --color-primary: #78b830;
  --color-primary-light: #8dd038;
  --color-primary-dark: #4a7520;
  --color-primary-glow: rgba(120, 184, 48, 0.3);
  --color-primary-subtle: rgba(120, 184, 48, 0.1);

  /* Farben - Hintergruende */
  --color-bg: #0b0e14;
  --color-surface: #101520;
  --color-surface-alt: #171d28;
  --color-surface-hover: #1c2435;

  /* Farben - Text */
  --color-text: #e6e8ec;
  --color-text-secondary: #8a90a0;
  --color-text-muted: #4a5268;

  /* Farben - Rahmen */
  --color-border: #1e2838;
  --color-border-light: #2a3548;

  /* Farben - Status */
  --color-success: #78b830;
  --color-error: #e53e3e;
  --color-warning: #f6ad55;

  /* Farben - Overlay */
  --color-overlay: rgba(11, 14, 20, 0.8);
  --color-backdrop: rgba(11, 14, 20, 0.5);

  /* Typografie - Familien */
  --font-heading: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Typografie - Groessen */
  --text-hero: clamp(2.5rem, 5vw, 4rem);
  --text-h1: clamp(2rem, 4vw, 3.5rem);
  --text-h2: clamp(1.75rem, 3vw, 2.5rem);
  --text-h3: clamp(1.25rem, 2vw, 1.75rem);
  --text-h4: clamp(1.1rem, 1.5vw, 1.25rem);
  --text-h5: 1.125rem;
  --text-h6: 1rem;
  --text-body: 1.125rem;
  --text-body-sm: 1rem;
  --text-small: 0.875rem;
  --text-xs: 0.75rem;
  --text-mono: 0.9rem;

  /* Typografie - Zeilenhoehen */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

  /* Typografie - Gewichte */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Sektionen */
  --section-padding: 6rem 0;
  --section-padding-sm: 4rem 0;

  /* Container */
  --container-width: 1180px;
  --container-padding: 2rem;

  /* Border-Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Schatten */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--color-primary-glow);
  --shadow-glow-sm: 0 0 10px var(--color-primary-glow);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-overlay: 30;
  --z-modal: 40;
  --z-nav: 50;
  --z-toast: 60;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--color-primary-light);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================================
   SELECTION & SCROLLBAR
   ============================================================ */
::selection {
  background: var(--color-primary);
  color: var(--color-bg);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* ============================================================
   BARRIEREFREIHEIT
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
  z-index: 100;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

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

/* ============================================================
   TYPOGRAFIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
  margin: 0 0 var(--space-md) 0;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); margin-bottom: var(--space-lg); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); font-weight: var(--weight-semibold); }
h5 { font-size: var(--text-h5); font-weight: var(--weight-semibold); }
h6 { font-size: var(--text-h6); font-weight: var(--weight-medium); }

p {
  margin-bottom: var(--space-md);
  line-height: var(--leading-normal);
}

.text-lg { font-size: 1.25rem; line-height: var(--leading-relaxed); }
.text-sm { font-size: var(--text-small); }
.text-xs { font-size: var(--text-xs); }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-center { text-align: center; }

.mono, code {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  line-height: 1;
}

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

.full-width {
  width: 100%;
  max-width: none;
  padding: 0;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section--no-padding-top { padding-top: 0; }
.section--no-padding-bottom { padding-bottom: 0; }

/* Grid */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Sektions-Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .badge {
  margin-bottom: var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

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

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

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-subtle);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: 0.5rem 1rem;
}

.btn--ghost:hover {
  color: var(--color-primary);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-small);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-body);
}

.btn--submit {
  width: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-bg);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.btn--submit:hover {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.375rem 1rem;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary-dark);
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  line-height: 1;
}

.badge--filled {
  background: var(--color-primary);
  color: var(--color-bg);
  border-color: transparent;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--color-border-light);
  background: var(--color-surface-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--accent {
  border-top: 2px solid var(--color-primary);
}

.card--stat {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

/* ============================================================
   FORM INPUTS
   ============================================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-subtle);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input--error {
  border-color: var(--color-error);
}

.form-error {
  color: var(--color-error);
  font-size: var(--text-xs);
  margin-top: var(--space-xs);
}

/* ============================================================
   TABS
   ============================================================ */
.tabs {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-xs);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-2xl);
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.tab-btn:hover {
  color: var(--color-text-secondary);
}

.tab-btn.active {
  background: var(--color-surface-alt);
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.result-box {
  background: var(--color-primary-subtle);
  border-left: 3px solid var(--color-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: var(--space-lg);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.nav--scrolled {
  background: var(--color-backdrop);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-padding);
}

.nav__logo img {
  height: 37px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  background: var(--color-backdrop);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  position: relative;
}

.nav__link {
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link.active {
  color: var(--color-primary);
}

/* Tubelight Glow */
.nav__glow {
  position: absolute;
  top: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  filter: blur(4px);
  transition: left var(--transition-base), width var(--transition-base);
  pointer-events: none;
}

.nav__glow::after {
  content: '';
  position: absolute;
  inset: -4px -2px;
  background: var(--color-primary);
  filter: blur(8px);
  opacity: 0.5;
  border-radius: var(--radius-full);
}

/* Mobile Menu */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  padding: var(--space-sm);
}

/* Mobile Menu Body Lock (iOS Safari) */
body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  overflow: hidden;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--container-padding);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-small);
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}

.hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  position: relative;
}

.hero__pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-primary);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   LOGO SLIDER
   ============================================================ */
.logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.logo-slider::before,
.logo-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.logo-slider__track {
  display: flex;
  gap: 42px;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.logo-slider:hover .logo-slider__track {
  animation-play-state: paused;
}

.logo-slider__logo {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity var(--transition-base);
}

.logo-slider__logo:hover {
  opacity: 0.8;
}

/* ============================================================
   SERVICE CARDS (Evervault-Effekt)
   ============================================================ */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  aspect-ratio: 1;
  cursor: pointer;
  transition: border-color var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:hover {
  border-color: var(--color-border-light);
}

.service-card__chars {
  position: absolute;
  inset: 0;
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  word-break: break-all;
  color: var(--color-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  overflow: hidden;
}

.service-card:hover .service-card__chars {
  opacity: 0.15;
}

.service-card__gradient {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

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

.service-card__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  text-align: left;
  transition: color var(--transition-fast);
  gap: var(--space-md);
}

.faq-trigger:hover {
  color: var(--color-primary);
}

.faq-trigger__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform var(--transition-base), color var(--transition-base);
}

.faq-trigger.active .faq-trigger__chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-content__inner {
  padding: 0 0 var(--space-lg) 0;
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: border-color var(--transition-fast);
}

.contact-method:hover {
  border-color: var(--color-primary-dark);
}

.contact-method__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Form Icon Position */
.form-group {
  position: relative;
}

.form-group__icon {
  position: absolute;
  left: 1rem;
  top: 2.5rem;
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  pointer-events: none;
}

/* ============================================================
   DACH MAP
   ============================================================ */
.dach-map {
  width: 100%;
  padding: var(--section-padding);
  background: var(--color-surface);
}

.dach-map__svg {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

.dach-map__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  padding-top: var(--space-2xl);
  max-width: var(--container-width);
  margin: 0 auto;
}

.dach-map__stat {
  text-align: center;
}

/* ============================================================
   RADAR
   ============================================================ */
.why-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.radar {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  width: 100%;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

/* ============================================================
   HERO BORDER + CONTENT
   ============================================================ */
.hero__border {
  border: 1px solid var(--color-border);
  padding: var(--space-3xl) var(--space-2xl);
  position: relative;
  max-width: 800px;
}

/* ============================================================
   LOGO SLIDER ITEMS (SAP-Begriffe als Text)
   ============================================================ */
.logo-slider__item {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: color var(--transition-base);
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.logo-slider__item:hover {
  color: var(--color-primary);
  border-color: var(--color-primary-dark);
}

/* ============================================================
   CARD ICON
   ============================================================ */
.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

/* ============================================================
   STEPS LIST (fuer Leistungs-Tabs)
   ============================================================ */
.steps-list {
  margin: var(--space-lg) 0;
}

.step {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-small);
  border-radius: 50%;
}

.step h4 {
  margin-bottom: var(--space-xs);
}

.step p {
  margin-bottom: 0;
  font-size: var(--text-small);
  color: var(--color-text-secondary);
}

/* ============================================================
   TAB CONTENT IMAGE
   ============================================================ */
.tab-content__image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.tab-content__image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.tab-content__image img[style] {
  width: auto;
}

.clean-core-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   SERVICE CARD EXTRAS
   ============================================================ */
.service-card__circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin: 0 auto var(--space-md);
  border: 1px solid var(--color-border);
}

.service-card__circle span {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.service-card__corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.corner {
  position: absolute;
  color: var(--color-text-muted);
  opacity: 0.3;
}

.corner--tl { top: -3px; left: -3px; }
.corner--tr { top: -3px; right: -3px; }
.corner--bl { bottom: -3px; left: -3px; }
.corner--br { bottom: -3px; right: -3px; }

.service-card h3 {
  margin-bottom: var(--space-xs);
}

.service-card:hover .service-card__circle {
  border-color: var(--color-primary-dark);
}

/* Text-Dekoration fuer Links innerhalb von Service-Cards */
.service-card,
.service-card:hover {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   USP LIST (Warum wir)
   ============================================================ */
.usp-list {
  margin-top: var(--space-xl);
}

.usp-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.usp-list__item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.why-us__text p.text-lg {
  color: var(--color-text-secondary);
}

/* ============================================================
   RADAR SWEEP ANIMATION
   ============================================================ */
.radar__sweep {
  animation: radar-spin 10s linear infinite;
  transform-origin: 200px 200px;
}

/* ============================================================
   DACH MAP WRAPPER
   ============================================================ */
.dach-map__wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.city-wetzlar-pulse {
  animation: pulse 2s ease-in-out infinite;
  transform-origin: center;
}

/* ============================================================
   CONTACT FORM EXTRAS
   ============================================================ */
.form-status {
  margin-top: var(--space-md);
  padding: 0;
  font-size: var(--text-small);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.form-status--success {
  color: var(--color-success);
  padding: var(--space-md);
  background: rgba(120, 184, 48, 0.1);
  border: 1px solid rgba(120, 184, 48, 0.3);
}

.form-status--error {
  color: var(--color-error);
  padding: var(--space-md);
  background: rgba(229, 62, 62, 0.1);
  border: 1px solid rgba(229, 62, 62, 0.3);
}

.contact-guarantee {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-primary-subtle);
  border: 1px solid rgba(120, 184, 48, 0.2);
  border-radius: var(--radius-md);
}

.contact-guarantee h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

/* ============================================================
   FOOTER EXTRAS
   ============================================================ */
.footer ul {
  padding: 0;
}

.footer li {
  margin-bottom: var(--space-xs);
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.footer__legal a:hover {
  color: var(--color-primary);
}

/* ============================================================
   NAV TOGGLE LINES
   ============================================================ */
.nav__toggle-line {
  transition: all var(--transition-base);
  transform-origin: center;
}

/* ============================================================
   ANIMATIONS - Keyframes
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  75%, 100% { transform: scale(2.5); opacity: 0; }
}

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

@keyframes dash-flow {
  to { stroke-dashoffset: -24; }
}

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

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-30px);
}

.reveal--left.revealed {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--right.revealed {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal--scale.revealed {
  transform: scale(1);
}

/* Gestaffelte Verzoegerung */
.reveal[style*="--delay"] {
  transition-delay: var(--delay);
}

/* ============================================================
   SPINNER
   ============================================================ */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  max-width: 500px;
  width: calc(100% - 2 * var(--container-padding));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  z-index: var(--z-toast);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.cookie-banner.hidden {
  display: none;
}

/* ============================================================
   RESPONSIVE - Tablet (max-width: 1199px)
   ============================================================ */
@media (max-width: 1199px) {
  :root {
    --section-padding: 4rem 0;
  }

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

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

/* ============================================================
   RESPONSIVE - Mobile (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --container-padding: 1.25rem;
    --section-padding: 3rem 0;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  /* Navigation */
  .nav__links {
    display: none;
  }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: #0b0e14;
    border: none;
    border-radius: 0;
    padding: 5rem var(--container-padding) var(--container-padding);
    justify-content: flex-start;
    align-items: stretch;
    z-index: var(--z-nav);
    overflow-y: auto;
  }

  .nav__link {
    padding: var(--space-md) 0;
    font-size: var(--text-body);
    border-bottom: 1px solid var(--color-border);
  }

  .nav__toggle {
    display: block;
    z-index: calc(var(--z-nav) + 1);
  }

  .nav__glow {
    display: none;
  }

  /* Hero */
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  /* Tabs */
  .tabs {
    flex-direction: column;
  }

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

  /* Service Cards */
  .service-card {
    aspect-ratio: auto;
    min-height: 200px;
  }

  /* Why Us / Radar */
  .why-us {
    grid-template-columns: 1fr;
  }

  .radar {
    max-width: 300px;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
  }

  /* DACH Map Stats */
  .dach-map__stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE - Klein-Mobile (max-width: 479px)
   ============================================================ */
@media (max-width: 479px) {
  :root {
    --container-padding: 1rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .faq-trigger {
    font-size: 1rem;
  }

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

/* ============================================================
   REDUZIERTE BEWEGUNG
   ============================================================ */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .logo-slider__track {
    animation: none;
  }

  .radar__sweep {
    animation: none;
  }
}
