/* ============================================================
   elevenOne AI Services – Design-System
   "Precision Noir" Ästhetik
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&display=swap');

/* ── CSS Design-Tokens ────────────────────────────────────── */
:root {
  /* Hintergründe */
  --bg-void:        #080A0D;
  --bg-surface:     #0D1117;
  --bg-elevated:    #141B24;
  --bg-overlay:     rgba(8, 10, 13, 0.92);

  /* Akzente */
  --accent-gold:        #C8A84B;
  --accent-gold-dim:    #8A7030;
  --accent-gold-glow:   rgba(200, 168, 75, 0.15);
  --accent-cyan:        #00E5CC;
  --accent-cyan-dim:    #00A090;
  --accent-cyan-glow:   rgba(0, 229, 204, 0.15);
  --accent-amber:       #FF9500;
  --accent-amber-glow:  rgba(255, 149, 0, 0.15);
  --accent-red:         #FF3B5C;

  /* Text */
  --text-primary:   #E8EAF0;
  --text-secondary: #7A8498;
  --text-muted:     #4A5468;
  --text-accent:    #C8A84B;

  /* Rahmen */
  --border-subtle:  rgba(200, 168, 75, 0.10);
  --border-default: rgba(200, 168, 75, 0.20);
  --border-active:  rgba(200, 168, 75, 0.50);
  --border-cyan:    rgba(0, 229, 204, 0.30);

  /* Abstände (8pt-Raster) */
  --s1: 0.5rem;    /* 8px */
  --s2: 1rem;      /* 16px */
  --s3: 1.5rem;    /* 24px */
  --s4: 2rem;      /* 32px */
  --s6: 3rem;      /* 48px */
  --s8: 4rem;      /* 64px */
  --s12: 6rem;     /* 96px */
  --s16: 8rem;     /* 128px */

  /* Radien */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Typografie */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
  --font-body:    'Fraunces', Georgia, serif;

  /* Animationen */
  --ease-expo:  cubic-bezier(0.19, 1, 0.22, 1);
  --ease-quart: cubic-bezier(0.77, 0, 0.175, 1);
  --t-fast:  150ms;
  --t-base:  300ms;
  --t-slow:  600ms;

  /* Layout */
  --nav-height: 72px;
  --max-width:  1280px;
  --sidebar-width: 240px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Typografie ───────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.label-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.label-mono-muted {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.body-lg { font-size: 1.15rem; font-weight: 300; line-height: 1.7; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }

/* ── Layout-Helfer ────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, var(--s8));
}

.section {
  padding-block: clamp(var(--s8), 10vw, var(--s16));
}

.section-sm {
  padding-block: clamp(var(--s4), 6vw, var(--s8));
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s4); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s4); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s3); }

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--t-slow) ease,
              border-color var(--t-slow) ease,
              backdrop-filter var(--t-slow) ease;
  background: transparent;
}

.site-nav.scrolled {
  background: rgba(4, 6, 9, 0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, var(--s8));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent-gold);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1;
}

.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

/* Nav-Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: var(--s1) var(--s2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: var(--s2);
  right: var(--s2);
  height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-expo);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Nav-Aktionen */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s1);
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-expo),
              opacity var(--t-fast) ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav-Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-void);
  padding: var(--s4);
  flex-direction: column;
  gap: var(--s2);
  z-index: 999;
  overflow-y: auto;
}

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

.nav-mobile .nav-link {
  font-size: 1.1rem;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75em 1.75em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: all var(--t-fast) ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent-gold);
  color: var(--bg-void);
  border-color: var(--accent-gold);
}

.btn-primary:hover {
  background: #d4b55e;
  border-color: #d4b55e;
  box-shadow: 0 0 24px var(--accent-gold-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.btn-secondary:hover {
  background: var(--accent-gold-glow);
  box-shadow: 0 0 16px var(--accent-gold-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-default);
}

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

.btn-cyan {
  background: transparent;
  color: var(--accent-cyan);
  border-color: var(--border-cyan);
}

.btn-cyan:hover {
  background: var(--accent-cyan-glow);
  box-shadow: 0 0 16px var(--accent-cyan-glow);
}

.btn-sm {
  font-size: 0.72rem;
  padding: 0.55em 1.2em;
}

.btn-lg {
  font-size: 0.9rem;
  padding: 0.9em 2.2em;
}

/* ── Status-Badges ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3em 0.75em;
  border-radius: 2px;
  border: 1px solid;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-demo {
  color: var(--text-muted);
  border-color: var(--text-muted);
  background: rgba(74, 84, 104, 0.15);
}
.badge-demo::before { background: var(--text-muted); }

.badge-test {
  color: var(--accent-amber);
  border-color: rgba(255, 149, 0, 0.4);
  background: var(--accent-amber-glow);
}
.badge-test::before {
  background: var(--accent-amber);
  animation: pulse-amber 1.5s ease-in-out infinite;
}

.badge-live {
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 204, 0.4);
  background: var(--accent-cyan-glow);
}
.badge-live::before {
  background: var(--accent-cyan);
  animation: pulse-cyan 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.badge-new {
  color: var(--accent-gold);
  border-color: var(--border-active);
  background: var(--accent-gold-glow);
}
.badge-new::before { background: var(--accent-gold); }

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

@keyframes pulse-cyan {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); box-shadow: 0 0 12px var(--accent-cyan); }
}

/* ── Karten ───────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s4);
  transition: border-color var(--t-base) ease,
              box-shadow var(--t-base) ease,
              transform var(--t-base) var(--ease-expo);
  position: relative;
  overflow: hidden;
}

/* Subtiler Glow-Top-Border bei Hover */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,168,75,0.3), transparent);
  opacity: 0;
  transition: opacity var(--t-base) ease;
}

.card:hover::before { opacity: 1; }

.card:hover {
  border-color: var(--border-default);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5),
              0 0 0 1px var(--border-subtle),
              inset 0 1px 0 rgba(200, 168, 75, 0.04);
  transform: translateY(-4px);
}

.card-elevated {
  background: var(--bg-elevated);
  border-color: var(--border-default);
}

/* UC-Karte */
.uc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: border-color var(--t-base) ease,
              box-shadow var(--t-base) ease,
              transform var(--t-slow) var(--ease-expo);
  position: relative;
  overflow: hidden;
}

.uc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold-dim), transparent);
  opacity: 0;
  transition: opacity var(--t-base) ease;
}

.uc-card:hover {
  border-color: var(--border-active);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 40px var(--accent-gold-glow);
}

.uc-card:hover::before { opacity: 1; }

.uc-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s2);
}

.uc-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-primary);
}

.uc-card-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
}

.uc-card-meta {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-top: var(--s2);
  border-top: 1px solid var(--border-subtle);
}

.uc-card-actions {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}

/* Kategorie-Tags */
.category-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border-radius: 2px;
  border: 1px solid;
}

.cat-dokument  { color: #7B9EFF; border-color: rgba(123,158,255,0.3); background: rgba(123,158,255,0.08); }
.cat-kommunikation { color: #FF7BAC; border-color: rgba(255,123,172,0.3); background: rgba(255,123,172,0.08); }
.cat-analyse   { color: #7BFFD4; border-color: rgba(123,255,212,0.3); background: rgba(123,255,212,0.08); }
.cat-prozess   { color: var(--accent-gold); border-color: var(--border-default); background: var(--accent-gold-glow); }
.cat-hr        { color: #FFB07B; border-color: rgba(255,176,123,0.3); background: rgba(255,176,123,0.08); }

/* Komplexitätspunkte */
.complexity-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.complexity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.complexity-dot.active { background: var(--accent-gold); }

/* ── Formulare ────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-control {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75em 1em;
  width: 100%;
  outline: none;
  transition: border-color var(--t-fast) ease,
              box-shadow var(--t-fast) ease;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.form-control:focus-visible { outline: none; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A8498' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
}

select.form-control option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  appearance: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-sm);
  cursor: pointer;
  position: relative;
  transition: all var(--t-fast) ease;
  margin-top: 2px;
}

.form-check input[type="checkbox"]:checked {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.form-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5L4.5 8 11 1' stroke='%23080A0D' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.form-check-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-error {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-red);
  letter-spacing: 0.05em;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--s12);
  padding-bottom: var(--s4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s8);
  padding-bottom: var(--s8);
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand .nav-logo { margin-bottom: var(--s3); }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: var(--s3);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--s1); }

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--t-fast) ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.footer-col a:hover { color: var(--accent-gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s4);
  gap: var(--s2);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}


/* ── Hero-Bereich ─────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  touch-action: none;
}

.hero-canvas.loaded { opacity: 1; }

/* Zentriertes Vignette-Overlay */
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 50%, rgba(200, 168, 75, 0.05), transparent 70%),
    linear-gradient(to bottom, rgba(8, 10, 13, 0.55) 0%, rgba(8, 10, 13, 0.1) 40%, rgba(8, 10, 13, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── Page-Hero Shader Canvas (Unterseiten) ───────────────── */
.page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  touch-action: none;
}

.page-hero-canvas.loaded { opacity: 1; }

/* Overlay für Sub-Page Hero: stärker abgedunkelt für Text-Lesbarkeit */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,10,13,0.45) 0%, rgba(8,10,13,0.20) 50%, rgba(8,10,13,0.55) 100%),
    linear-gradient(135deg, rgba(200,168,75,0.04) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.page-hero > * { position: relative; z-index: 2; }

/* ── Hero Centered Layout ─────────────────────────────────── */
.hero-center {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, var(--s8));
  padding-block: var(--s16) var(--s12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s3);
}

/* Trust Badge */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.45em 1.2em;
  background: rgba(200, 168, 75, 0.07);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid rgba(200, 168, 75, 0.22);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 168, 75, 0.85);
  margin-bottom: var(--s1);
}

.hero-trust-badge::before {
  content: '✦';
  font-size: 0.6em;
  opacity: 0.7;
}

/* Headline Lines */
.hero-headline-center {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06em;
  margin-block: var(--s1) var(--s2);
}

.hero-hl-line {
  display: block;
  background: linear-gradient(to bottom, #ffffff 0%, rgba(200, 200, 210, 0.70) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-hl-gold {
  background: linear-gradient(135deg, #f0ece0 0%, #C8A84B 48%, #8A7030 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(200, 168, 75, 0.6);
  line-height: 1.75;
  max-width: 560px;
  margin-block: var(--s1) var(--s3);
}

/* CTA Row */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  flex-wrap: wrap;
}

/* Hero Buttons – rounded-full style */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 2.2em;
  background: linear-gradient(135deg, #C8A84B 0%, #d4b55e 50%, #C8A84B 100%);
  background-size: 200% 200%;
  color: var(--bg-void);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform var(--t-base) var(--ease-expo),
              box-shadow var(--t-base) ease,
              background-position var(--t-slow) ease;
}

.btn-hero-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(200, 168, 75, 0.35);
  background-position: 100% 0;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 2.2em;
  background: rgba(200, 168, 75, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(200, 168, 75, 0.9);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid rgba(200, 168, 75, 0.28);
  cursor: pointer;
  transition: transform var(--t-base) var(--ease-expo),
              background var(--t-base) ease,
              border-color var(--t-base) ease;
}

.btn-hero-secondary:hover {
  transform: scale(1.04);
  background: rgba(200, 168, 75, 0.14);
  border-color: rgba(200, 168, 75, 0.50);
}

/* ── Hero Entrance Animations ─────────────────────────────── */
@keyframes hero-fade-down {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-d0 { opacity: 0; animation: hero-fade-down 0.8s var(--ease-expo) 0.15s forwards; }
.hero-d1 { opacity: 0; animation: hero-fade-up   0.9s var(--ease-expo) 0.30s forwards; }
.hero-d2 { opacity: 0; animation: hero-fade-up   0.9s var(--ease-expo) 0.48s forwards; }
.hero-d3 { opacity: 0; animation: hero-fade-up   0.8s var(--ease-expo) 0.65s forwards; }
.hero-d4 { opacity: 0; animation: hero-fade-up   0.8s var(--ease-expo) 0.82s forwards; }

/* ── Page-Hero: Gradient Text Utilities ───────────────────── */
.ph-hl-white {
  background: linear-gradient(to bottom, #ffffff 0%, rgba(200, 200, 210, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ph-hl-gold {
  background: linear-gradient(135deg, #f0ece0 0%, #C8A84B 50%, #8A7030 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Hero-Widget bleibt für Fallback */
.hero-widget {
  background: rgba(20, 27, 36, 0.85);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: var(--s4);
  position: relative;
  overflow: hidden;
}

.hero-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s3);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border-subtle);
}

.widget-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.widget-uc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.widget-uc-item:last-child { border-bottom: none; }

.widget-uc-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.widget-uc-info {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ── Abschnitts-Trennlinie ────────────────────────────────── */
.section-divider {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  margin-bottom: var(--s4);
}

.section-divider.centered { margin-inline: auto; }

/* ── Wert-Props ───────────────────────────────────────────── */
.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s4) var(--s6);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base) ease, transform var(--t-base) var(--ease-expo);
}

.value-card:hover {
  border-color: var(--border-default);
  transform: translateY(-4px);
}

.value-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s3);
  font-size: 1.4rem;
}

.value-number {
  position: absolute;
  bottom: var(--s3);
  right: var(--s4);
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(200, 168, 75, 0.04);
  line-height: 1;
  letter-spacing: 0;
}

/* ── Prozessschritte ──────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--border-default) 10%,
    var(--border-default) 90%,
    transparent
  );
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s2);
  padding: 0 var(--s2);
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border: 2px solid var(--border-default);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-gold);
  background: var(--bg-surface);
  transition: border-color var(--t-base) ease, box-shadow var(--t-base) ease;
}

.process-step:hover .step-number {
  border-color: var(--accent-gold);
  box-shadow: 0 0 24px var(--accent-gold-glow);
}

.step-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Trust-Signale ────────────────────────────────────────── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--s4), 6vw, var(--s12));
  flex-wrap: wrap;
  padding: var(--s6) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast) ease;
}

.trust-item:hover { color: var(--text-secondary); }

.trust-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ── CTA-Banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: clamp(var(--s6), 6vw, var(--s12));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 168, 75, 0.06) 0%, transparent 70%);
}

.cta-banner > * { position: relative; z-index: 1; }

/* ── Scroll-Reveal-Animationen ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-expo),
              transform var(--t-slow) var(--ease-expo);
}

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

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* ── Toast-Benachrichtigungen ─────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: var(--s4);
  right: var(--s4);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  pointer-events: none;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 0.75em;
  min-width: 280px;
  max-width: 400px;
  animation: toast-in 0.4s var(--ease-expo) forwards;
}

.toast.removing {
  animation: toast-out 0.3s var(--ease-quart) forwards;
}

.toast-success { border-left: 3px solid var(--accent-cyan); }
.toast-error   { border-left: 3px solid var(--accent-red); }
.toast-info    { border-left: 3px solid var(--accent-gold); }
.toast-warning { border-left: 3px solid var(--accent-amber); }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 13, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--t-base) var(--ease-expo);
  position: relative;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s4);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--t-fast) ease;
  background: none;
}

.modal-close:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
}

.modal-body {
  overflow-y: auto;
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── Seitenüberschriften ──────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--s12));
  padding-bottom: var(--s12);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-void);
}

/* ── Filter-Bar (Demo) ────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--s1);
  flex-wrap: wrap;
  margin-bottom: var(--s6);
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55em 1.2em;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--t-fast) ease;
}

.filter-btn:hover {
  border-color: var(--border-default);
  color: var(--text-primary);
}

.filter-btn.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: var(--accent-gold-glow);
}

/* ── UC-Grid ──────────────────────────────────────────────── */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s4);
}

/* ── Pricing-Karten ───────────────────────────────────────── */
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  position: relative;
  transition: border-color var(--t-base) ease, transform var(--t-base) var(--ease-expo);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--border-active);
  background: var(--bg-elevated);
  box-shadow: 0 0 60px var(--accent-gold-glow);
}

.pricing-featured-label {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent-gold);
  color: var(--bg-void);
  padding: 0.3em 1em;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-accent);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  color: var(--accent-gold);
  line-height: 1;
}

.pricing-price span {
  font-size: 1rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) 0;
  cursor: pointer;
  gap: var(--s2);
  font-weight: 400;
  color: var(--text-primary);
  font-size: 1rem;
  transition: color var(--t-fast) ease;
}

.faq-question:hover { color: var(--accent-gold); }

.faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all var(--t-base) var(--ease-expo);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-expo),
              padding var(--t-base) ease;
}

.faq-answer-inner {
  padding-bottom: var(--s3);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-item.open .faq-answer { max-height: 400px; }

/* ── Highlight-Box ────────────────────────────────────────── */
.highlight-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--s4) 0;
}

/* ── Section-Hintergrundvarianten ─────────────────────────── */
/* Subtiles Muster für surface-Sections */
.section-surface-pattern {
  background-image: radial-gradient(circle, rgba(200,168,75,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}


/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold-dim); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s4);
  }

  .process-steps::before { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions { display: none; }

  .nav-hamburger { display: flex; }

  .form-row { grid-template-columns: 1fr; }

  .process-steps {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .btn-lg { font-size: 0.8rem; padding: 0.8em 1.5em; }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-primary,
  .btn-hero-secondary { width: 100%; justify-content: center; }

  .hero-trust-badge { font-size: 0.62rem; padding: 0.4em 1em; }

  .pricing-card { padding: var(--s4); }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .site-nav, .site-footer, .hero-canvas { display: none; }
  body { background: white; color: black; }
}
