/* ============================================================
   BERGMANN & PARTNER — STYLES.CSS
   Design: Refined consulting boutique
   Fonts: Instrument Serif (display) + DM Sans (body)
   Palette: Deep Navy, Anthracite, White, Teal accent
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --navy:        #0D1F3C;
  --navy-mid:    #152B52;
  --navy-light:  #1E3A6E;
  --anthracite:  #2C3542;
  --teal:        #0EA5A0;
  --teal-light:  #12B8B3;
  --teal-dim:    rgba(14, 165, 160, 0.12);
  --teal-glow:   rgba(14, 165, 160, 0.25);

  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --gray-50:     #F4F5F7;
  --gray-100:    #E8EAF0;
  --gray-200:    #CED2DC;
  --gray-400:    #8B93A8;
  --gray-600:    #556080;
  --gray-800:    #2C3542;

  --text-primary:   #0D1F3C;
  --text-secondary: #556080;
  --text-muted:     #8B93A8;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

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

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 860px;
  --section-v: 6rem;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(13,31,60,0.06), 0 1px 2px rgba(13,31,60,0.04);
  --shadow-md:  0 4px 16px rgba(13,31,60,0.08), 0 1px 4px rgba(13,31,60,0.04);
  --shadow-lg:  0 12px 40px rgba(13,31,60,0.12), 0 4px 12px rgba(13,31,60,0.06);
  --shadow-xl:  0 24px 64px rgba(13,31,60,0.16), 0 8px 24px rgba(13,31,60,0.08);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --t-fast:    150ms;
  --t-med:     250ms;
  --t-slow:    400ms;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Focus Styles (Accessibility) ── */
:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.375rem;
  transition: all var(--t-med) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(14,165,160,0.28);
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,160,0.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  transform: translateY(-1px);
}

.btn-nav {
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.625rem 1.125rem;
}
.btn-nav:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ── */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--t-med) var(--ease-out);
}
.nav-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 400;
  border-radius: 8px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-amp { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--navy); background: var(--gray-50); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-left: auto;
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: var(--gray-50); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--t-med) var(--ease-out);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  background: var(--white);
  animation: slideDown var(--t-med) var(--ease-out);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-50);
}
.mobile-link:hover { color: var(--navy); }
.mobile-cta { margin-top: 0.75rem; justify-content: center; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Section Base ── */
.section { padding: var(--section-v) 0; }
.section-light { background: var(--white); }
.section-mid   { background: var(--off-white); }
.section-dark  { background: var(--navy); }
.section-cta   { background: var(--navy); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-label-light { color: rgba(14,165,160,0.85); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.section-title-light { color: var(--white); }

.section-intro {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: var(--space-3xl);
  line-height: 1.7;
}

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 6rem 0 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Dot-grid background pattern */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Atmospheric glow */
.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14,165,160,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14,165,160,0.15);
  border: 1px solid rgba(14,165,160,0.3);
  color: var(--teal-light);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-subline {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  font-weight: 400;
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
}
.pill svg { color: var(--teal-light); flex-shrink: 0; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-actions .btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  transform: translateY(-1px);
}

/* Hero Visual Cards */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
  padding: 1.75rem 2rem;
  width: 100%;
  max-width: 340px;
  transition: transform var(--t-med) var(--ease-out);
}
.hero-card:hover { transform: translateY(-4px); }

.hero-card-main {
  background: rgba(14,165,160,0.15);
  border-color: rgba(14,165,160,0.3);
}
.hero-card-accent {
  background: rgba(255,255,255,0.05);
}
.hero-card-sm {
  background: rgba(255,255,255,0.04);
  padding: 1.25rem 2rem;
  max-width: 260px;
  align-self: flex-start;
  margin-left: auto;
}

.hcard-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}
.hcard-value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.hcard-value span { font-size: 1.5rem; opacity: 0.7; }
.hcard-value-sm {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.375rem;
}
.hcard-value-sm strong { font-weight: 600; color: var(--teal-light); }
.hcard-sub { font-size: 0.8125rem; color: rgba(255,255,255,0.5); }

/* ── Feature Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-med) var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-200);
}

.card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--teal-dim);
  border-radius: var(--radius-sm);
  color: var(--teal);
  margin-bottom: 1.125rem;
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}
.card-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Stats Grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: background var(--t-med);
}
.stat-card:hover { background: rgba(255,255,255,0.08); }

.stat-card-accent {
  background: rgba(14,165,160,0.12);
  border-left: 1px solid rgba(14,165,160,0.25);
  border-right: 1px solid rgba(14,165,160,0.25);
}
.stat-card-accent:hover { background: rgba(14,165,160,0.18); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-card-accent .stat-number { color: var(--teal-light); }
.stat-unit { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin: 0.25rem 0; }
.stat-label { font-size: 0.8125rem; color: rgba(255,255,255,0.5); line-height: 1.45; margin-top: 0.625rem; }

.highlight-box {
  background: rgba(14,165,160,0.08);
  border: 1px solid rgba(14,165,160,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
}
.highlight-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 1rem;
}
.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.highlight-list li {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1.55;
}
.highlight-list li::before {
  content: '→';
  color: var(--teal);
  flex-shrink: 0;
}

/* ── Process Timeline ── */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom, var(--teal), var(--gray-100));
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 1.75rem 0;
  position: relative;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.process-step.visible { opacity: 1; transform: translateX(0); }

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--teal);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-med) var(--ease-out);
}
.process-step:hover .step-number {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.step-body {
  padding-top: 0.875rem;
  flex: 1;
}
.step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.step-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; max-width: 680px; }

/* ── Calculator ── */
.calculator-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.calculator-inputs { padding: 2.5rem; }
.calc-field { margin-bottom: 2.25rem; }
.calc-field:last-child { margin-bottom: 0; }

.calc-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.calc-tooltip {
  color: var(--gray-400);
  cursor: help;
  transition: color var(--t-fast);
}
.calc-tooltip:hover { color: var(--teal); }

.range-value-display {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-bottom: 0.625rem;
}
.range-value-display span:first-child {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.range-unit { font-size: 0.875rem; color: var(--text-muted); }

.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--gray-100);
  border-radius: 4px;
  outline: none;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--teal);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow-sm);
  transition: transform var(--t-fast);
}
.calc-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--teal);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow-sm);
  cursor: pointer;
}

.range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); }

/* Calculator Result Panel */
.calculator-result {
  background: var(--navy);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.result-top { flex: 1; }
.result-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.result-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--teal-light);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  transition: all var(--t-med) var(--ease-out);
}
.result-value.updating { opacity: 0.5; transform: scale(0.97); }
.result-note { font-size: 0.8125rem; color: rgba(255,255,255,0.45); line-height: 1.55; }

.result-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 1.5rem 0; }

.result-bottom { margin-bottom: 1.75rem; }
.result-item { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; }
.result-item:last-child { margin-bottom: 0; }
.result-item-label { font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.result-item-value { font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,0.85); }

.calc-cta { align-self: stretch; justify-content: center; }

/* ── Case Studies ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-med) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-200);
}
.case-card-featured {
  border-color: var(--teal);
  box-shadow: 0 4px 24px rgba(14,165,160,0.12), var(--shadow-sm);
}
.case-card-featured:hover {
  box-shadow: 0 12px 40px rgba(14,165,160,0.2), var(--shadow-lg);
}

.case-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.case-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--gray-200);
  line-height: 1;
  letter-spacing: -0.03em;
}
.case-card-featured .case-number { color: var(--teal-dim); filter: none; opacity: 0.6; }

.case-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  padding: 0.3rem 0.625rem;
  border-radius: 100px;
}

.case-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}
.case-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; flex: 1; }

.case-facts { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.case-fact { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding: 0.5rem 0; border-bottom: 1px solid var(--gray-50); }
.case-fact:last-child { border-bottom: none; }
.case-fact-label { font-size: 0.8125rem; color: var(--text-muted); }
.case-fact-value { font-size: 0.875rem; font-weight: 500; color: var(--anthracite); text-align: right; }

.case-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: auto;
}
.case-card-featured .case-result {
  background: var(--teal-dim);
  border: 1px solid rgba(14,165,160,0.2);
}
.case-result-label { font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); }
.case-result-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.case-card-featured .case-result-value { color: var(--teal); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; }

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.375rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--teal); }
.faq-question[aria-expanded="true"] { color: var(--teal); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform var(--t-med) var(--ease-out);
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal);
}

.faq-answer {
  padding: 0 0 1.375rem;
  overflow: hidden;
}
.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
}

/* Animated open/close */
.faq-answer-inner {
  animation: faqOpen var(--t-med) var(--ease-out);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CTA / Contact Section ── */
.section-cta { padding: 5rem 0 6rem; }

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.125rem;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.cta-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.cta-bullets li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
}
.cta-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Contact Form ── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
}

.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.form-row-two > * { flex: 1; min-width: 0; }
.form-group { margin-bottom: 1rem; }
.form-group:last-of-type { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.form-label span { color: var(--text-muted); }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:hover { border-color: var(--gray-200); background: var(--white); }
.form-input:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14,165,160,0.12);
}

.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.875rem;
}
.form-note a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  background: rgba(14,165,160,0.08);
  border: 1px solid rgba(14,165,160,0.25);
  border-radius: var(--radius-md);
  color: var(--teal);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.form-success.visible {
  display: flex;
  animation: faqOpen var(--t-med) var(--ease-out);
}

/* ── Footer ── */
.footer {
  background: var(--anthracite);
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
}
.footer-brand .logo-mark {
  width: 30px;
  height: 30px;
  font-size: 0.6875rem;
  background: rgba(255,255,255,0.1);
}
.footer-name { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.7); }
.footer-tagline { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8125rem; color: rgba(255,255,255,0.45); transition: color var(--t-fast); }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* ── Logo Image ── */
.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── Hero Background Photo ── */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.08;
  filter: grayscale(60%);
}

/* ── Case Card Images ── */
.case-img-wrap {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--gray-50);
}
.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease-out);
}
.case-card:hover .case-img { transform: scale(1.04); }

/* ── Video Section ── */
.video-wrap {
  width: 100%;
}

.video-frame.vertical-video {
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  margin: 0; /* wichtig */
}

.video-frame.vertical-video {
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.video-frame.vertical-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Scroll Animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --section-v: 5rem; }

  .hero .container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .hero-card { max-width: 280px; }
  .hero-card-sm { max-width: 200px; }

  .cta-inner { grid-template-columns: 1fr; gap: 3rem; }

  .calculator-wrap { grid-template-columns: 1fr; }
  .calculator-result { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
}

@media (max-width: 768px) {
  :root { --section-v: 4rem; }

  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 5rem 0 4rem; min-height: unset; }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-visual { display: none; }

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

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

  .form-row { flex-direction: column; gap: 0; }

  .process-timeline::before { left: 22px; }
  .step-number { width: 44px; height: 44px; font-size: 0.875rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.875rem; }
  .footer-brand { margin-right: 0; }
  .footer-tagline { order: 3; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.75rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-pills { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .highlight-list { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
}
