/* ==========================================================================
   HAASE MEDIA – Design System
   Stand: 2026-02-03
   Ästhetik: Refined Editorial – Elegant, vertrauenswürdig, distinktiv
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Farbpalette – Warm & Vertrauenswürdig */
  --color-ink: #1a1a2e;                   /* Tiefes Tintenblau – Headlines */
  --color-text: #3d3d4e;                  /* Warmes Grau – Fließtext */
  --color-text-muted: #6b6b7b;            /* Gedämpft – Sekundärtext */
  --color-accent: #c9823a;                /* Kupfer/Bronze – Akzente, CTAs */
  --color-accent-light: #e0a05c;          /* Helles Kupfer – Hover */
  --color-accent-glow: rgba(201, 130, 58, 0.25);
  --color-surface: #ffffff;               /* Weiß – Hauptflächen */
  --color-surface-elevated: #fefefe;      /* Leicht erhöht */
  --color-surface-alt: #f8f7f4;           /* Warmes Off-White – Sektionen */
  --color-surface-glass: rgba(255, 255, 255, 0.72);
  --color-border: #e8e6e1;                /* Warme Linie */
  --color-border-subtle: #f0eeea;

  /* Semantische Farben */
  --color-positive: #3d8b6e;
  --color-positive-bg: #ecf7f2;
  --color-negative: #c75c5c;
  --color-negative-bg: #fdf2f2;

  /* Typografie */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Font Sizes – Fluid Scale */
  --text-xs: 0.8125rem;     /* 13px */
  --text-sm: 0.875rem;      /* 14px */
  --text-base: 1.0625rem;   /* 17px */
  --text-lg: 1.1875rem;     /* 19px */
  --text-xl: 1.375rem;      /* 22px */
  --text-2xl: 1.75rem;      /* 28px */
  --text-3xl: 2.25rem;      /* 36px */
  --text-4xl: 3rem;         /* 48px */
  --text-5xl: 3.75rem;      /* 60px */

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.65;
  --leading-relaxed: 1.8;

  /* Spacing – 8px Basis */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* Layout */
  --max-width: 1280px;
  --max-width-content: 920px;
  --max-width-narrow: 680px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows – Layered für Tiefe */
  --shadow-xs: 0 1px 2px rgba(26, 26, 46, 0.04);
  --shadow-sm: 0 2px 4px rgba(26, 26, 46, 0.04), 0 4px 8px rgba(26, 26, 46, 0.02);
  --shadow-md: 0 4px 8px rgba(26, 26, 46, 0.04), 0 8px 24px rgba(26, 26, 46, 0.06);
  --shadow-lg: 0 8px 16px rgba(26, 26, 46, 0.04), 0 16px 48px rgba(26, 26, 46, 0.08);
  --shadow-xl: 0 16px 32px rgba(26, 26, 46, 0.06), 0 32px 64px rgba(26, 26, 46, 0.1);
  --shadow-glow: 0 0 0 1px var(--color-accent-glow), 0 8px 32px var(--color-accent-glow);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 280ms;
  --duration-slow: 450ms;
  --duration-slower: 700ms;
}

/* --------------------------------------------------------------------------
   Reset & Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

/* Verbesserte Tastatur-Navigation */
:focus-visible {
  outline: 3px solid rgba(201, 130, 58, 0.55);
  outline-offset: 3px;
}

/* Skip Link – nur bei Fokus sichtbar */
.skip-link {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 20000;
  padding: var(--space-3) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--color-ink);
  transform: translateY(-160%);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Scroll sperren, wenn das mobile Menü offen ist */
body.nav-open {
  overflow: hidden;
}

/* Subtile Grain-Textur für Atmosphäre */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

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

::selection {
  background: var(--color-accent);
  color: white;
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0 0 var(--space-5) 0;
  color: var(--color-ink);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
}

p {
  margin: 0 0 var(--space-5) 0;
}

.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

.price {
  display: inline-block;
  font-size: var(--text-2xl);
  font-family: var(--font-display);
  color: var(--color-ink);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.price span {
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text-muted);
}

.price--hero {
  margin: var(--space-8) 0;
}

.price--xl {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
}

strong, b {
  font-weight: 600;
  color: var(--color-ink);
}

small {
  font-size: var(--text-sm);
}

/* Eyebrow / Label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: fit-content;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin: 0 0 var(--space-5) 0;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: var(--radius-full);
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-10);
  }
}

.container--content {
  max-width: var(--max-width-content);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

section {
  padding: var(--space-20) 0;
  position: relative;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-24) 0;
  }
}

section.alt {
  background-color: var(--color-surface-alt);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  /* backdrop-filter entfernt: es würde position:fixed auf .nav einen
     Enthält-Block erzeugen und das Mobile-Overlay zum Header fixieren. */
}

/* Blur-Hintergrund als Pseudoelement – .nav ist kein Nachkomme davon */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: -1;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.logo img {
  height: 44px;
  width: auto;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.logo:hover img {
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .logo img {
    height: 56px;
  }
}

.nav {
  display: flex;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  position: relative;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: var(--space-2) 0;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.nav a:hover {
  color: var(--color-ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(201, 130, 58, 0.12);
  padding: var(--space-3);
  margin: calc(var(--space-3) * -1);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast);
}

.nav-toggle:hover {
  background: var(--color-surface-alt);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
  border-radius: var(--radius-full);
  transition:
    transform var(--duration-normal) var(--ease-out-expo),
    opacity var(--duration-normal) var(--ease-out-expo),
    background-color var(--duration-normal) var(--ease-out-expo);
  transform-origin: center;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    z-index: 10000;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-10);
    z-index: 9999;
    overscroll-behavior: contain;
  }

  .nav.is-open {
    display: flex;
    animation: fadeIn var(--duration-normal) var(--ease-out-expo);
  }

  .nav a {
    font-size: var(--text-2xl);
    font-family: var(--font-display);
  }

  .nav a::after {
    display: none;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: var(--space-16) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-20) 0 var(--space-24);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-16);
  }
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  margin-bottom: var(--space-6);
  position: relative;
}

.hero h1 br {
  display: none;
}

@media (min-width: 600px) {
  .hero h1 br {
    display: block;
  }
}

/* Akzentlinie neben der Headline */
.hero h1::before {
  content: '';
  position: absolute;
  left: calc(var(--space-6) * -1);
  top: 0.15em;
  width: 3px;
  height: 1.2em;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  border-radius: var(--radius-full);
  display: none;
}

@media (min-width: 1024px) {
  .hero h1::before {
    display: block;
  }
}

.hero .lead {
  margin-bottom: var(--space-8);
}

.hero-image {
  position: relative;
  justify-self: center;
}

@media (max-width: 899px) {
  .hero-image {
    order: -1;
    max-width: 340px;
  }
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

/* Dekorativer Rahmen */
.hero-image::before {
  content: '';
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  right: calc(var(--space-6) * -1);
  bottom: calc(var(--space-6) * -1);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-xl);
  opacity: 0.2;
  z-index: 0;
}

/* Hintergrund-Glühen */
.hero-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.5;
}

@media (max-width: 899px) {
  .hero-image::before,
  .hero-image::after {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(201, 130, 58, 0.12);
  transition:
    transform var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo),
    background-color var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal) var(--ease-out-expo),
    color var(--duration-normal) var(--ease-out-expo);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  color: white;
  box-shadow: var(--shadow-sm), 0 2px 8px var(--color-accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 4px 20px var(--color-accent-glow);
  color: white;
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  padding: var(--space-2) 0;
  border-radius: 0;
}

.btn--ghost::after {
  content: ' →';
  transition: transform var(--duration-fast);
  display: inline-block;
}

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

.btn--ghost:hover::after {
  transform: translateX(4px);
}

/* Button-Gruppe */
.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
  }
}

.card {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition:
    transform var(--duration-slow) var(--ease-out-expo),
    box-shadow var(--duration-slow) var(--ease-out-expo),
    border-color var(--duration-slow) var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.card--center {
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-quart);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-subtle);
}

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

.card h3 {
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.card > p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  flex-grow: 1;
}

.card .price {
  font-size: var(--text-2xl);
  font-family: var(--font-display);
  color: var(--color-ink);
  margin-bottom: var(--space-5);
}

.card .price span {
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text-muted);
}

.card .btn {
  margin-top: auto;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Reference Grid (Referenzen)
   -------------------------------------------------------------------------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.ref-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-slow) var(--ease-out-expo),
    box-shadow var(--duration-slow) var(--ease-out-expo),
    border-color var(--duration-slow) var(--ease-out-expo);
}

.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-border-subtle);
  color: inherit;
}

.ref-card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--color-surface-alt);
}

.ref-card-content {
  padding: var(--space-8);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ref-card h3 {
  margin: 0 0 var(--space-2) 0;
  font-size: var(--text-xl);
}

.ref-card p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4) 0;
  font-size: var(--text-sm);
  flex: 1;
}

.ref-card .url {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Packages (WordPress-Service)
   -------------------------------------------------------------------------- */
.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

@media (min-width: 900px) {
  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.package {
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-elevated);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--duration-slow) var(--ease-out-expo),
    box-shadow var(--duration-slow) var(--ease-out-expo),
    border-color var(--duration-slow) var(--ease-out-expo);
}

.package:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-border-subtle);
}

.package h4 {
  margin: 0 0 var(--space-4) 0;
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 700;
}

.package ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  font-size: var(--text-sm);
}

.package li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.package--highlight {
  border-color: rgba(201, 130, 58, 0.45);
  box-shadow: var(--shadow-glow);
}

.package .price {
  margin-top: auto;
}

/* WordPress-Service: Abschnittstrenner */
.service-section {
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--color-border);
}

.service-section:last-of-type {
  border-bottom: none;
}

/* Referenzen: Bereichstitel */
.ref-section {
  margin-bottom: var(--space-16);
}

.ref-section h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid rgba(201, 130, 58, 0.65);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: var(--max-width-narrow);
  margin: 0 auto var(--space-12);
}

.section-header .eyebrow {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: var(--space-16);
  }
}

.section-header h2 {
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  margin: var(--space-4) auto 0;
  border-radius: var(--radius-full);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Trust / Social Proof
   -------------------------------------------------------------------------- */
.trust {
  padding: var(--space-8);
  background: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.trust blockquote {
  margin: 0 0 var(--space-4) 0;
  font-size: var(--text-xl);
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: var(--leading-snug);
}

.trust cite {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: normal;
}

/* --------------------------------------------------------------------------
   Checklist
   -------------------------------------------------------------------------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
}

.checklist li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  background: var(--color-positive-bg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.55em;
  width: 6px;
  height: 9px;
  border: 2px solid var(--color-positive);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Negativliste */
.checklist--negative li::before {
  background: var(--color-negative-bg);
}

.checklist--negative li::after {
  width: 10px;
  height: 10px;
  border: none;
  background: linear-gradient(45deg, transparent 45%, var(--color-negative) 45%, var(--color-negative) 55%, transparent 55%),
              linear-gradient(-45deg, transparent 45%, var(--color-negative) 45%, var(--color-negative) 55%, transparent 55%);
  transform: none;
  top: 0.55em;
  left: 4px;
}

/* --------------------------------------------------------------------------
   Steps / Prozess
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
  }
}

.step {
  position: relative;
  padding-left: var(--space-16);
}

@media (min-width: 768px) {
  .step {
    padding-left: 0;
    padding-top: var(--space-20);
  }
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  color: white;
  font-size: var(--text-xl);
  font-family: var(--font-display);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

@media (min-width: 768px) {
  .step::before {
    left: 0;
    top: 0;
  }
}

.step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.step p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

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

.faq-question {
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.faq-answer {
  color: var(--color-text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Tables (Pricing / Simple Data)
   -------------------------------------------------------------------------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-10) 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.price-table tr {
  border-bottom: 1px solid var(--color-border);
}

.price-table td {
  padding: var(--space-5) var(--space-6);
  vertical-align: top;
}

.price-table tr:hover td {
  background: rgba(201, 130, 58, 0.06);
}

.price-table tr:last-child {
  border-bottom: none;
}

.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
  color: var(--color-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: var(--space-16) 0 var(--space-10);
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

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

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

.footer a:hover {
  color: white;
}

.footer .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .footer .container {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
  }
}

.footer h4 {
  color: white;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-nav a {
  font-size: var(--text-sm);
}

.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  text-align: center;
  padding: var(--space-20) 0;
  background: var(--color-ink);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 50%, rgba(201, 130, 58, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 80% 50%, rgba(201, 130, 58, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.cta-section .btn {
  margin: 0 var(--space-2);
}

.cta-section .btn--secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.cta-section .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

/* --------------------------------------------------------------------------
   Client Logos Section
   -------------------------------------------------------------------------- */
.client-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  align-items: center;
  justify-items: center;
  padding: var(--space-8) 0;
}

@media (min-width: 600px) {
  .client-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .client-logos {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8) var(--space-6);
  }
}

@media (min-width: 1100px) {
  .client-logos {
    grid-template-columns: repeat(6, 1fr);
  }
}

.client-logo-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 72px;
  padding: var(--space-4);
}

.client-logos img {
  width: 120px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.45;
  transition:
    transform var(--duration-normal) var(--ease-out-expo),
    filter var(--duration-normal) var(--ease-out-expo),
    opacity var(--duration-normal) var(--ease-out-expo);
}

.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

.client-logo-name {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  font-size: var(--text-xs);
  color: var(--color-ink);
  background: var(--color-surface);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  white-space: nowrap;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--duration-normal) var(--ease-out-expo),
    opacity var(--duration-normal) var(--ease-out-expo);
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.client-logo-item:hover .client-logo-name {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   Profile Grid
   -------------------------------------------------------------------------- */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 768px) {
  .profile-grid {
    grid-template-columns: 220px 1fr;
    gap: var(--space-12);
  }
}

.profile-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 767px) {
  .profile-grid {
    text-align: center;
  }

  .profile-grid img {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   Two Column Grid
   -------------------------------------------------------------------------- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

.fineprint {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  margin-top: var(--space-6);
}

.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-5); }
.mt-lg { margin-top: var(--space-8); }
.mt-xl { margin-top: var(--space-12); }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-5); }
.mb-lg { margin-bottom: var(--space-8); }

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