/* Local Fonts – Variable Fonts (eine Datei = alle Weights) */
@font-face {
  font-family: 'Bebas Neue';
  src: url('Fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Outfit';
  src: url('Fonts/Outfit-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('Fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('Fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg-primary: #09090b;
  --bg-secondary: #121215;
  --bg-tertiary: #1c1c21;
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  /* ============================================================
     AKZENTFARBE - Flieder
     Alle Akzente der Seite haengen an diesen vier Werten.
     Zum Nachjustieren nur --accent-rgb, --accent-primary,
     --accent-secondary und --accent-light aendern.
     ============================================================ */
  --accent-rgb: 183, 138, 220;            /* #b78adc als RGB (fuer rgba()) */
  --accent-primary: #b78adc;              /* Flieder, Hauptton */
  --accent-secondary: #7d55a8;            /* dunkleres Flieder/Violett */
  --accent-light: #ddc6f2;                /* helles Flieder fuer Verlauf-Highlight */

  --accent-lilac: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-primary) 50%, var(--accent-secondary) 100%);
  --accent-lilac-glow: rgba(var(--accent-rgb), 0.15);

  /* Alias-Namen: alte Bezeichner bleiben gueltig, damit bestehender
     Code (z. B. app.js) nicht bricht. Zeigen jetzt auf Flieder. */
  --gold-primary: var(--accent-primary);
  --gold-secondary: var(--accent-secondary);
  --accent-gold: var(--accent-lilac);
  --accent-gold-glow: var(--accent-lilac-glow);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(var(--accent-rgb), 0.2);
  --font-display: 'Bebas Neue', 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-secondary);
}

/* ==========================================================================
   LOADING SCREEN (Premium Transition)
   ========================================================================== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #050507;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 1.2s cubic-bezier(0.85, 0, 0.15, 1);
  overflow: hidden;
}

/* Diagonal scanning background light */
#loading-screen::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.loading-container {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: visible;
}

.loading-dash {
  display: block;
  color: var(--text-secondary);
  margin: 0 6px;
  opacity: 0;
  flex-shrink: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.loading-static {
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  white-space: nowrap;
  flex-shrink: 0;
}

.word-wrapper {
  height: clamp(1rem, 3vw, 3rem);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: width 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.word-swap {
  position: absolute;
  left: 0;
  transform: translateY(40px);
  opacity: 0;
  background: var(--accent-gold);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  white-space: nowrap;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 20px rgba(var(--accent-rgb), 0.1));
  transition: all 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.word-swap.active {
  opacity: 1;
  transform: translateY(0);
}

.word-swap.exit {
  opacity: 0;
  transform: translateY(-40px);
}

/* Loading Line Progress Indicator */
.loading-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent-gold);
  box-shadow: 0 0 15px var(--gold-primary);
  transition: width 0.4s ease-out;
}

/* Fade out classes applied via JS */
#loading-screen.dismissed {
  transform: translateY(-100%);
  pointer-events: none;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}

header.scrolled {
  padding: 16px 8%;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
}

/* ------------------------------------------------------------
   Logo als Schriftzug (ersetzt die fruehere Grafik)
   ------------------------------------------------------------ */
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  transition: font-size 0.4s ease, opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.85;
}

/* Der Akzent-Teil des Schriftzugs ("IT") im Flieder-Verlauf */
.logo span {
  background: var(--accent-lilac);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

header.scrolled .logo {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

.logo-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.15);
  background: rgba(var(--accent-rgb), 0.03);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION WITH VIDEO BACKGROUND
   ========================================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 8%;
  background-color: var(--bg-primary);
  background-image: url('Home_Background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--bg-primary) 0%, rgba(9,9,11,0.75) 35%, rgba(9,9,11,0.35) 65%, rgba(9,9,11,0.65) 100%),
              radial-gradient(circle at center, transparent 20%, var(--bg-primary) 90%),
              linear-gradient(to bottom, rgba(9,9,11,0.4) 0%, var(--bg-primary) 98%);
  z-index: 2;
}

/* Fallback/Overlay Canvas for interactive particle visualization */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  margin-top: 80px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1s 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.hero-title span {
  display: inline-block;
  background: var(--accent-gold);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  background: var(--accent-gold);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 25px rgba(var(--accent-rgb), 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.45);
}

.btn-secondary {
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-primary);
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 10;
  transition: color 0.3s ease;
}

.scroll-indicator:hover {
  color: var(--text-primary);
}

.scroll-indicator::after {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--text-muted);
  transition: background-color 0.3s ease, width 0.3s ease;
}

.scroll-indicator:hover::after {
  background-color: var(--gold-primary);
  width: 60px;
}

/* ==========================================================================
   PARTNER LOGO SLIDER (Infinite Scroll Carousel)
   ========================================================================== */
.partner-slider-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.slider-title {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.slider-container {
  width: 100%;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* Gradient overlays for smooth fading edges */
.slider-container::before,
.slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.slider-track {
  display: flex;
  gap: 60px;
  width: max-content;
  /* animation handled by JS initSliders() */
}

.slider-item {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid var(--border-color);
  position: relative;
}

.slider-item-content {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-secondary);
  z-index: 2;
}

.slider-item img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.4);
  z-index: 2;
}

.slider-item-label {
  position: absolute;
  bottom: -22px;
  font-size: 0.65rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  pointer-events: none;
}

/* ==========================================================================
   SHOWCASE SLIDER SECTION
   ========================================================================== */
.showcase-section {
  padding: 120px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.showcase-section .section-header {
  padding: 0 8%;
  margin-bottom: 60px;
}

.showcase-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Fade edges - subtle, not wide enough to hide items */
.showcase-slider-wrap::before,
.showcase-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.showcase-slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}
.showcase-slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.showcase-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 20px 0 40px;
  /* animation handled by JS initSliders() */
}

.showcase-card {
  position: relative;
  width: 380px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
  display: block;
  border: 1px solid var(--border-color);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
}

.showcase-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-glow);
  border-color: var(--border-glow);
}

.showcase-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Placeholder gradient until real images are added */
.showcase-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* Real image support: img inside .showcase-img-wrap */
.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover .showcase-img-wrap img {
  transform: scale(1.05);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 22px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.showcase-card:hover .showcase-overlay {
  opacity: 1;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.showcase-link-icon {
  font-size: 1.4rem;
  color: var(--gold-primary);
  transform: translateY(4px);
  transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-link-icon {
  transform: translateY(0);
}

/* ==========================================================================
   METRICS / HIGHLIGHTS SECTION
   ========================================================================== */
.metrics-section {
  padding: 120px 8%;
  background-color: var(--bg-primary);
  position: relative;
  z-index: 10;
}

.section-header {
  margin-bottom: 80px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}

.section-title span {
  background: var(--accent-gold);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Grid Layout */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.metric-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px 30px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.metric-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 100%, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.metric-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--accent-rgb), 0.05);
}

.metric-card:hover::after {
  opacity: 1;
}

.metric-badge {
  align-self: flex-start;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-primary);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  padding: 4px 12px;
  border-radius: 20px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin: 24px 0 12px 0;
  letter-spacing: -0.03em;
}

.metric-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.metric-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   ABOUT / RATING PROCEDURE SECTION
   ========================================================================= */
.procedure-section {
  padding: 120px 8%;
  background-color: var(--bg-secondary);
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-color);
}

.procedure-layout {
  display: flex;
  gap: 80px;
  align-items: center;
}

.procedure-info {
  flex: 1.2;
}

.procedure-info p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.procedure-accent-text {
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  border-left: 3px solid var(--gold-primary);
  padding-left: 24px;
  margin-bottom: 40px;
}

.procedure-interactive {
  flex: 0.8;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.procedure-interactive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gold);
}

.badge-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 30px auto;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--gold-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.15);
}

.badge-logo span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gold-primary);
}

.badge-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--accent-gold);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.badge-score-lbl {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.badge-list {
  text-align: left;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge-list li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.badge-list li span:last-child {
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   CONTACT / CTA SECTION
   ========================================================================== */
.contact-section {
  padding: 120px 8%;
  background-color: var(--bg-primary);
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-color);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: var(--text-primary);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  color: var(--gold-primary);
}

.contact-item:hover .contact-icon {
  border-color: var(--gold-primary);
  background-color: rgba(var(--accent-rgb), 0.05);
  transform: translateY(-2px);
}

.contact-form {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.1);
}

.btn-submit {
  align-self: flex-start;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: #050507;
  border-top: 1px solid var(--border-color);
  padding: 60px 8%;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
}

.footer-logo span {
  background: var(--accent-gold);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 1200px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  header {
    padding: 20px 5%;
  }
  header.scrolled {
    padding: 14px 5%;
  }
  #hero {
    padding: 0 5%;
  }
  .hero-content {
    max-width: 100%;
  }
  .procedure-layout {
    flex-direction: column;
    gap: 40px;
  }
  .procedure-interactive {
    width: 100%;
    padding: 36px 28px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form {
    padding: 36px 28px;
  }
  .metrics-section, .procedure-section, .contact-section {
    padding: 80px 5%;
  }
  .showcase-section {
    padding: 80px 0;
  }
  .showcase-section .section-header {
    padding: 0 5%;
  }
  footer {
    padding: 40px 5%;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .logo {
    font-size: 1.35rem;
  }
  header.scrolled .logo {
    font-size: 1.15rem;
  }

  /* Hero */
  #hero {
    padding: 0 5%;
    align-items: flex-end;
    padding-bottom: 100px;
  }
  .hero-content {
    max-width: 100%;
    width: 100%;
    margin-top: 100px;
  }
  .hero-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    flex-wrap: wrap;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary, .btn-secondary {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  /* Sections */
  .metrics-section, .procedure-section, .contact-section {
    padding: 60px 5%;
  }
  .section-header {
    margin-bottom: 48px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .metric-card {
    min-height: auto;
    padding: 28px 24px;
  }

  /* Procedure / Reviews */
  .procedure-layout {
    flex-direction: column;
    gap: 32px;
  }
  .procedure-interactive {
    padding: 32px 20px;
    width: 100%;
  }
  .procedure-accent-text {
    font-size: 1.1rem;
  }

  /* Contact */
  .contact-form {
    padding: 28px 20px;
  }
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  .contact-item {
    font-size: 0.95rem;
  }

  /* Footer */
  footer {
    padding: 36px 5%;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  /* Review card */
  .review-quote {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  /* Loading animation – noch kleiner auf sehr schmalen Screens */
  .loading-container {
    font-size: clamp(0.65rem, 4.5vw, 1.1rem);
  }
  .word-wrapper {
    width: clamp(100px, 45vw, 200px);
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
    word-break: break-word;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .hero-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  /* Sections */
  .section-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
    word-break: break-word;
  }
  .metrics-section, .procedure-section, .contact-section {
    padding: 48px 4%;
  }

  /* Showcase cards etwas schmaler */
  .showcase-card {
    width: 300px;
    height: 190px;
  }

  /* Slider items kleiner */
  .slider-item {
    width: 90px;
    height: 90px;
  }
  .slider-track {
    gap: 40px;
  }
}

/* ==========================================================================
   SERVICE CARDS – Icon statt Zahl
   ========================================================================== */
.metric-val {
  display: none;
}

.metric-icon {
  margin: 16px 0 20px 0;
  color: var(--gold-primary);
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.metric-card:hover .metric-icon {
  opacity: 1;
  transform: translateY(-2px);
}

/* ==========================================================================
   KUNDENBEWERTUNGEN / REVIEW CARD
   ========================================================================== */
.review-card-wrap {
  text-align: left !important;
}

.review-stars {
  font-size: 1.4rem;
  color: var(--gold-primary);
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.review-quote {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  border: none;
  padding: 0;
  margin: 0 0 28px 0;
  quotes: "\201E" "\201C";
}

.review-quote::before {
  content: open-quote;
  font-family: Georgia, serif;
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.6rem;
  color: var(--gold-primary);
  margin-right: 4px;
  opacity: 0.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--gold-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.review-company {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.review-placeholder-hint {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  opacity: 0.6;
}

/* ==========================================================================
   MOBILE NAV OVERLAY
   ========================================================================== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.97);
  backdrop-filter: blur(20px);
  z-index: 2000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.mobile-nav-overlay.open {
  display: flex;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
}

.mobile-nav-close:hover {
  color: var(--text-primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--text-primary);
}

.mobile-nav-cta {
  font-size: clamp(1rem, 4vw, 1.2rem) !important;
  color: var(--gold-primary) !important;
  border: 1px solid var(--gold-primary);
  padding: 12px 32px;
  border-radius: 4px;
  margin-top: 8px;
}



/* ── Kontaktformular: Honeypot, Status & Datenschutzhinweis ───────────── */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 1.2em;
}
.form-status.success { color: #6ee7a8; }
.form-status.error   { color: #f2a2a2; }

.form-privacy-hint {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.form-privacy-hint a { color: var(--gold-primary); text-decoration: none; }
.form-privacy-hint a:hover { text-decoration: underline; }
