/* ===================================================================
   NORDLICHT CONSULT — HIGH-END EDITORIAL DESIGN SYSTEM
   =================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400;1,9..40,500&family=Instrument+Serif:ital@0;1&display=swap');

/* ===================================================================
   DESIGN TOKENS
   =================================================================== */
:root {
  /* --- Color Palette --- */
  --navy: #0B2545;
  --navy-deep: #081C36;
  --navy-light: #0F3060;
  --teal: #1A7A8A;
  --teal-hover: #15626F;
  --gold: #C4A35A;
  --gold-muted: #B8984F;

  /* Light mode */
  --bg: #F8F9FA;
  --bg-warm: #F0EFEB;
  --bg-warm-alt: #E8E6E0;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --text-faint: #9CA3AF;
  --border: rgba(26, 26, 46, 0.1);
  --border-strong: rgba(26, 26, 46, 0.18);

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

  /* Fluid type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.775rem + 0.2vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
  --text-hero: clamp(3rem, 2rem + 5vw, 5.5rem);
  --text-display: clamp(4rem, 2.5rem + 7.5vw, 8rem);

  /* --- Spacing (4px base) --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Section spacing */
  --section-pad-y: clamp(4rem, 6vw, 8rem);
  --section-pad-x: clamp(1.25rem, 4vw, 3rem);

  /* --- Layout --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-max: 1400px;

  /* --- Radius --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 8px 32px rgba(11, 37, 69, 0.12);

  /* --- Transitions --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --bg: #0D1117;
  --bg-warm: #131820;
  --bg-warm-alt: #1A2030;
  --surface: #161B22;
  --text: #E2E4E8;
  --text-muted: #8B949E;
  --text-faint: #6E7681;
  --border: rgba(226, 228, 232, 0.1);
  --border-strong: rgba(226, 228, 232, 0.16);
  --navy: #0F2D52;
  --navy-deep: #0A1F3A;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { line-height: 1.15; font-weight: 400; }

/* ===================================================================
   SKIP LINK
   =================================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--teal);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 1000;
  font-size: var(--text-sm);
  font-weight: 500;
}
.skip-link:focus {
  top: var(--space-4);
}

/* ===================================================================
   HEADER / NAVIGATION
   =================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) var(--section-pad-x);
  transition: background var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base);
}

.header--scrolled {
  background: rgba(248, 249, 250, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .header--scrolled {
  background: rgba(13, 17, 23, 0.92);
}

.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header__logo svg { flex-shrink: 0; }

/* Hero state: white logo */
.header:not(.header--scrolled) .header__logo { color: #fff; }

/* Non-hero pages */
.header--light:not(.header--scrolled) .header__logo { color: var(--text); }

.header__nav {
  display: none;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .header__nav { display: flex; }
}

.header__nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.header__nav a:hover,
.header__nav a[aria-current="page"] {
  color: #fff;
}

.header__nav a:hover::after,
.header__nav a[aria-current="page"]::after {
  width: 100%;
}

/* Scrolled state nav links */
.header--scrolled .header__nav a {
  color: var(--text-muted);
}
.header--scrolled .header__nav a:hover,
.header--scrolled .header__nav a[aria-current="page"] {
  color: var(--text);
}

/* Light header (non-hero pages) */
.header--light:not(.header--scrolled) .header__nav a {
  color: var(--text-muted);
}
.header--light:not(.header--scrolled) .header__nav a:hover,
.header--light:not(.header--scrolled) .header__nav a[aria-current="page"] {
  color: var(--text);
}

/* Dark mode toggle */
.dark-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}
.dark-toggle:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255,255,255,0.08);
}
.header--scrolled .dark-toggle,
.header--light:not(.header--scrolled) .dark-toggle {
  border-color: var(--border-strong);
  color: var(--text-muted);
}
.header--scrolled .dark-toggle:hover,
.header--light:not(.header--scrolled) .dark-toggle:hover {
  border-color: var(--text-muted);
  color: var(--text);
  background: var(--border);
}

.dark-toggle svg { width: 18px; height: 18px; }
.dark-toggle .icon-moon { display: block; }
.dark-toggle .icon-sun { display: none; }
[data-theme="dark"] .dark-toggle .icon-moon { display: none; }
[data-theme="dark"] .dark-toggle .icon-sun { display: block; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 110;
}
@media (min-width: 1024px) {
  .hamburger { display: none; }
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform var(--transition-base), opacity var(--transition-fast);
  display: block;
}
.header--scrolled .hamburger span,
.header--light:not(.header--scrolled) .hamburger span {
  background: var(--text);
}

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

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: var(--surface);
  z-index: 105;
  padding: calc(var(--space-32) + var(--space-4)) var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transform: translateX(100%);
  transition: transform 400ms var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  color: var(--text);
  display: block;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--teal); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.5);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--ease-out);
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-32) + var(--space-8)) var(--section-pad-x) var(--space-16);
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    padding: 0 var(--section-pad-x);
  }
}

.hero__text {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gold);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-6);
}

.hero__overline::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  color: #fff;
  margin-bottom: var(--space-6);
  font-weight: 400;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero__image {
  position: relative;
  z-index: 1;
  display: none;
}

@media (min-width: 768px) {
  .hero__image {
    display: block;
    height: 100vh;
    height: 100svh;
  }
  .hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  }
}

/* Gold accent bar on hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--teal);
  color: #fff;
}
.btn--primary:hover {
  background: var(--teal-hover);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn--outline-dark:hover {
  border-color: var(--text-muted);
  background: var(--border);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.btn--gold:hover {
  background: var(--gold-muted);
}

.btn-arrow {
  transition: transform var(--transition-fast);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ===================================================================
   OVERLINES & SECTION HEADINGS
   =================================================================== */
.overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gold);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-4);
}
.overline::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--gold);
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--text);
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}

/* ===================================================================
   SECTION LAYOUTS
   =================================================================== */
.section {
  padding: var(--section-pad-y) var(--section-pad-x);
}

.section--warm { background: var(--bg-warm); }
.section--dark {
  background: var(--navy);
  color: #fff;
}
.section--dark .section-heading { color: #fff; }
.section--dark .section-sub { color: rgba(255,255,255,0.65); }
.section--dark .overline { color: var(--gold); }

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

.container--narrow {
  max-width: var(--content-default);
  margin: 0 auto;
}

/* ===================================================================
   PAIN SECTION — Asymmetric 2-col
   =================================================================== */
.pain {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

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

.pain__text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.pain__text p {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 52ch;
}

.pain__image {
  position: relative;
}
.pain__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .pain__image {
    margin-top: var(--space-8);
    margin-right: calc(-1 * var(--space-8));
  }
}

/* ===================================================================
   SERVICES PREVIEW — Staggered Cards
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

.service-card {
  padding: var(--space-8) var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
  position: relative;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Stagger: offset odd cards on desktop */
@media (min-width: 768px) {
  .service-card:nth-child(even) {
    margin-top: var(--space-12);
  }
}

.service-card__number {
  font-family: var(--font-display);
  font-size: var(--text-display);
  color: var(--border);
  line-height: 0.85;
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  pointer-events: none;
  user-select: none;
}
[data-theme="dark"] .service-card__number {
  color: rgba(255,255,255,0.06);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  position: relative;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition-fast);
}
.service-card:hover .service-card__link { gap: var(--space-3); }

/* ===================================================================
   FULL-BLEED IMAGE DIVIDER
   =================================================================== */
.full-bleed {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.full-bleed img {
  width: 100%;
  height: clamp(240px, 35vw, 480px);
  object-fit: cover;
}

/* ===================================================================
   PROMISE / VALUES — Dark bg, editorial layout
   =================================================================== */
.values-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .values-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
    align-items: start;
  }
}

.value-main {
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.value-main__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #fff;
  margin-bottom: var(--space-3);
}

.value-main__text {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.values-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.value-item {
  padding: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.value-item:last-child { border-bottom: none; }

.value-item__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-2);
}

.value-item__text {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ===================================================================
   TESTIMONIALS — Asymmetric
   =================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-10);
    align-items: start;
  }
}

.testimonial {
  padding: var(--space-8);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: var(--text-display);
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: -0.15em;
  left: var(--space-4);
  line-height: 1;
  pointer-events: none;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: var(--space-4);
  color: var(--text);
}

.testimonial__author {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .testimonial:nth-child(2) {
    margin-top: var(--space-16);
  }
}

/* ===================================================================
   CTA SECTION
   =================================================================== */
.cta-section {
  text-align: left;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: #fff;
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-lg);
  max-width: 520px;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

/* Gold accent line */
.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: var(--space-6);
}

/* ===================================================================
   PAGE HERO (inner pages)
   =================================================================== */
.page-hero {
  background: var(--navy);
  padding: calc(var(--space-32) + var(--space-16)) var(--section-pad-x) var(--space-16);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}

.page-hero .overline { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: #fff;
  max-width: 700px;
}

.page-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-top: var(--space-4);
  line-height: 1.6;
}

/* ===================================================================
   LEISTUNGEN — Service Detail Blocks
   =================================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--border);
}

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

@media (min-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-16);
  }
  .service-detail--reverse {
    grid-template-columns: 1.4fr 1fr;
  }
  .service-detail--reverse .service-detail__number {
    order: 2;
  }
}

.service-detail__number {
  font-family: var(--font-display);
  font-size: var(--text-display);
  color: var(--border);
  line-height: 0.85;
  display: flex;
  align-items: flex-start;
}
[data-theme="dark"] .service-detail__number { color: rgba(255,255,255,0.06); }

.service-detail__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.service-detail__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--teal);
  margin-bottom: var(--space-4);
}

.service-detail__content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  max-width: 56ch;
}

.service-detail__points {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-detail__points li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--text);
}

.service-detail__points li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.6em;
}

/* ===================================================================
   METHODIK — Phases with oversized numbers
   =================================================================== */
.phase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.phase:last-of-type { border-bottom: none; }

@media (min-width: 768px) {
  .phase {
    grid-template-columns: auto 1fr;
    gap: var(--space-10);
    align-items: start;
  }
}

.phase__number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 4rem + 5vw, 9rem);
  line-height: 0.85;
  color: var(--border);
  user-select: none;
}
[data-theme="dark"] .phase__number { color: rgba(255,255,255,0.06); }

.phase__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.phase__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--teal);
  margin-bottom: var(--space-4);
}

.phase__content p {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
}

/* ===================================================================
   REFERENZEN — Case Studies
   =================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-8);
  }
  .case-card:first-child {
    grid-row: span 2;
  }
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.case-card__image {
  height: 200px;
  overflow: hidden;
}
.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.case-card:hover .case-card__image img { transform: scale(1.03); }

@media (min-width: 768px) {
  .case-card:first-child .case-card__image {
    height: 280px;
  }
}

.case-card__body {
  padding: var(--space-6);
}

.case-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: var(--space-3);
}

.case-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.case-card__text {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.case-card__metric {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.case-card__metric-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--teal);
}

.case-card__metric-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-12) 0;
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: #fff;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}

/* ===================================================================
   ÜBER UNS — Team / About
   =================================================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
  }
}

.about-intro__text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  max-width: 52ch;
}

.about-intro__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Team members */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
  .team-card:nth-child(2) {
    margin-top: var(--space-8);
  }
  .team-card:nth-child(3) {
    margin-top: var(--space-16);
  }
}

.team-card {
  text-align: left;
}

.team-card__avatar {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.team-card__avatar-initials {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--text-faint);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--teal);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* About values — editorial */
.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
@media (min-width: 768px) {
  .about-values {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.about-value {
  padding: var(--space-8);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .about-value {
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
  .about-value:last-child { border-right: none; }
}

.about-value__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.about-value__text {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ===================================================================
   KONTAKT — Split Form
   =================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-16);
    align-items: start;
  }
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 122, 138, 0.15);
}

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

.contact-info {
  padding: var(--space-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
  color: var(--text-muted);
}

.contact-info__item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--teal);
  margin-top: 2px;
}

.contact-info__item a {
  color: var(--teal);
}
.contact-info__item a:hover {
  text-decoration: underline;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.5);
  padding: var(--space-12) var(--section-pad-x) var(--space-8);
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

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

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-4);
}

.footer a {
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}
.footer a:hover { color: rgba(255,255,255,0.9); }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__bottom {
  max-width: var(--content-max);
  margin: var(--space-8) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
}

.footer__bottom a {
  font-size: var(--text-xs);
}

/* ===================================================================
   SCROLL ANIMATIONS — CSS native (clip-path + opacity)
   =================================================================== */
.reveal {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: revealFade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes revealFade {
  to { opacity: 1; }
}

.reveal-clip {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-clip {
    clip-path: inset(100% 0 0 0);
    animation: revealClip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes revealClip {
  to { clip-path: inset(0 0 0 0); }
}

.reveal-left {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-left {
    clip-path: inset(0 100% 0 0);
    animation: revealLeft linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes revealLeft {
  to { clip-path: inset(0 0 0 0); }
}

.reveal-right {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-right {
    clip-path: inset(0 0 0 100%);
    animation: revealRight linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes revealRight {
  to { clip-path: inset(0 0 0 0); }
}

/* Stagger children */
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 80ms; }
.stagger > *:nth-child(3) { animation-delay: 160ms; }
.stagger > *:nth-child(4) { animation-delay: 240ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-clip, .reveal-left, .reveal-right {
    opacity: 1 !important;
    clip-path: none !important;
    animation: none !important;
  }
}

/* ===================================================================
   MARQUEE — Horizontal element
   =================================================================== */
.marquee-section {
  overflow: hidden;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: flex;
  gap: var(--space-12);
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--text-faint);
  white-space: nowrap;
  font-style: italic;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

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

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
