/* ================================================================
   PFISTERER CONSULTING — Professional Dark Theme
   Inspired by schwarz-digits.de aesthetic
   ================================================================ */

/* ----------------------------------------------------------------
   SELF-HOSTED FONTS (DSGVO-konform, keine Google-Verbindung)
   ---------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  /* Core Colors */
  --c-black: #000000;
  --c-bg: #070a0f;
  --c-bg-elevated: #0d1117;
  --c-surface: #131920;
  --c-surface-hover: #1a2230;
  --c-surface-active: #212b3a;
  --c-border: rgba(255, 255, 255, 0.06);
  --c-border-hover: rgba(255, 255, 255, 0.12);
  
  /* Text */
  --c-text: #e6edf3;
  --c-text-secondary: #8b949e;
  --c-text-tertiary: #6e7681;
  --c-text-inverse: #070a0f;
  
  /* Brand / Accent */
  --c-accent: #00c3cd;
  --c-accent-hover: #00d9e4;
  --c-accent-muted: rgba(0, 195, 205, 0.12);
  --c-accent-glow: rgba(0, 195, 205, 0.25);
  --c-accent-text: #5eead4;
  
  /* Semantic */
  --c-success: #3fb950;
  --c-warning: #d29922;
  
  /* Typography */
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --f-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --fs-xs: 0.75rem;     /* 12px */
  --fs-sm: 0.875rem;    /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md: 1.125rem;    /* 18px */
  --fs-lg: 1.25rem;     /* 20px */
  --fs-xl: 1.5rem;      /* 24px */
  --fs-2xl: 2rem;       /* 32px */
  --fs-3xl: 2.75rem;    /* 44px */
  --fs-4xl: 3.5rem;     /* 56px */
  --fs-5xl: 4.5rem;     /* 72px */
  --fs-6xl: 5.5rem;     /* 88px */
  
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  
  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;
  
  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-32: 8rem;
  
  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 800px;
  --max-w-wide: 1400px;
  --header-h: 72px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Effects */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 200ms;
  --duration-slow: 400ms;
  --duration-dramatic: 600ms;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 4px 20px var(--c-accent-glow);
}


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

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

body {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease); }
ul, ol { list-style: none; }

/* Global heading tracking — "Schwarz Digits" tight typography */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
}


/* ----------------------------------------------------------------
   TYPOGRAPHY (Content from Markdown)
   ---------------------------------------------------------------- */
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.prose h1 { font-size: clamp(var(--fs-3xl), 5vw, var(--fs-4xl)); margin: var(--s-16) 0 var(--s-6); letter-spacing: -0.03em; }
.prose h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl)); margin: var(--s-12) 0 var(--s-4); letter-spacing: -0.025em; }
.prose h3 { font-size: clamp(var(--fs-xl), 3vw, var(--fs-2xl)); margin: var(--s-10) 0 var(--s-3); color: var(--c-text); letter-spacing: -0.015em; }
.prose h4 { font-size: var(--fs-lg); margin: var(--s-8) 0 var(--s-2); }

/* First element after start of prose should have less top margin */
.prose > h2:first-child,
.prose > h3:first-child,
.prose > h4:first-child { margin-top: 0; }

.prose p {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--c-text-secondary);
  margin-bottom: var(--s-6);
}

.prose strong {
  font-weight: var(--fw-semibold);
  color: var(--c-text);
}

.prose a {
  color: var(--c-accent);
  font-weight: var(--fw-medium);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease);
}
.prose a:hover {
  border-bottom-color: var(--c-accent);
}
.prose a.btn {
  color: inherit;
  border-bottom: none;
}
.prose a.btn-primary {
  color: #fff;
}
.prose a.btn-secondary {
  color: var(--c-text);
}

.prose ul,
.prose ol {
  margin: 0 0 var(--s-6) var(--s-6);
  list-style: disc;
}
.prose ol { list-style: decimal; }

.prose li {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--c-text-secondary);
  margin-bottom: var(--s-2);
  padding-left: var(--s-2);
}

.prose blockquote {
  margin: var(--s-8) 0;
  padding: var(--s-6) var(--s-8);
  border-left: 3px solid var(--c-accent);
  background: var(--c-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.prose blockquote p {
  color: var(--c-text);
  margin-bottom: 0;
}

.prose code {
  font-family: var(--f-mono);
  font-size: 0.875em;
  background: var(--c-surface);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  color: var(--c-accent-text);
}

.prose pre {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-6);
  overflow-x: auto;
  margin: var(--s-8) 0;
}
.prose pre code {
  background: transparent;
  padding: 0;
  color: var(--c-text);
}

.prose hr {
  border: none;
  height: 1px;
  background: var(--c-border);
  margin: var(--s-8) 0;
}

/* Hide heading anchor links (Hugo heading IDs) */
.prose h1 > a,
.prose h2 > a,
.prose h3 > a,
.prose h4 > a,
.prose h5 > a,
.prose h6 > a,
h1 > a[href^="#"],
h2 > a[href^="#"],
h3 > a[href^="#"],
h4 > a[href^="#"],
h5 > a[href^="#"],
h6 > a[href^="#"],
.anchor,
a.anchor {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
}

/* Heading anchor links that wrap entire heading text */
h1 > a:only-child,
h2 > a:only-child,
h3 > a:only-child,
h4 > a:only-child {
  display: inline !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  position: static !important;
  color: inherit;
  text-decoration: none;
  border: none;
  pointer-events: none;
}


/* ----------------------------------------------------------------
   LAYOUT UTILITY
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.container--narrow { max-width: var(--max-w-narrow); }
.container--wide { max-width: var(--max-w-wide); }

.section {
  padding: var(--s-16) 0;
}
.section--lg {
  padding: var(--s-24) 0;
}


/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  height: var(--header-h);
  background: rgba(7, 10, 15, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--duration-slow) var(--ease), 
              box-shadow var(--duration-slow) var(--ease);
}
/* Solid header background when mobile nav is open */
.site-header.nav-open {
  background: var(--c-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 15, 0.95);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 var(--s-8);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--c-accent);
  color: var(--c-text-inverse);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
}
.logo-text {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.nav-link {
  position: relative;
  padding: var(--s-2) var(--s-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-secondary);
  border-radius: var(--radius);
  transition: color var(--duration-slow) var(--ease);
}
.nav-link:hover {
  color: var(--c-text);
}
.nav-link.is-active {
  color: var(--c-accent);
}
.nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: var(--s-4);
  right: var(--s-4);
  height: 2px;
  background: var(--c-accent);
  border-radius: 1px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

/* Nav Toggle (Mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: var(--s-2);
  border-radius: var(--radius);
}
.nav-toggle:hover { background: var(--c-surface); }

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-text);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation — Fullscreen Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-bg);
  z-index: 1001;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: var(--header-h);
}
.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-header {
  display: none; /* Close via burger X in header instead */
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: var(--s-6) var(--s-6) var(--s-6);
  gap: 0;
  flex: 1;
}
.mobile-nav-link {
  display: block;
  padding: var(--s-3) var(--s-2);
  font-size: clamp(1.125rem, 3.5vw, 1.375rem);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--c-accent);
}

.mobile-nav-footer {
  padding: var(--s-6);
  margin-top: auto;
}
.mobile-nav-social {
  display: flex;
  gap: var(--s-4);
}
.mobile-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--c-surface-2);
  color: var(--c-text-secondary);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.mobile-social-link:hover {
  background: var(--c-accent);
  color: #fff;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
}
.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-1) var(--s-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-secondary);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.lang-link:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: var(--c-accent-muted);
}
/* (mobile-lang-switch removed — lang switcher now always visible in header) */


/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-6);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-slow) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-text-inverse);
  border-color: var(--c-accent);
}
.btn-primary:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  box-shadow: 0 0 24px var(--c-accent-glow), 0 4px 16px rgba(0, 0, 0, 0.3);
  color: var(--c-text-inverse);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--c-text);
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-secondary:hover {
  border-color: var(--c-text);
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-accent);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--c-accent-muted);
}

.btn-sm {
  padding: var(--s-2) var(--s-4);
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: var(--s-4) var(--s-10);
  font-size: var(--fs-sm);
  border-radius: var(--radius);
  letter-spacing: 0.02em;
}

.btn-full { width: 100%; }


/* ----------------------------------------------------------------
   HERO SECTION (Homepage)
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--s-20) 0 var(--s-16);
  overflow: hidden;
  /* Prevent mobile browser toolbar resize causing reflow on background */
  contain: layout style;
}

/* Background image — covers entire hero */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(100%) contrast(1.1);
  -webkit-filter: grayscale(100%) contrast(1.1);
  z-index: 0;
}

/* Dark gradient overlay for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 10, 15, 0.92) 0%, rgba(7, 10, 15, 0.7) 50%, rgba(7, 10, 15, 0.55) 100%),
    linear-gradient(to top, var(--c-bg) 0%, transparent 30%);
  z-index: 1;
}

/* Grid lines decoration — sits above overlay for subtle texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--c-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-border) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.15;
  mask-image: radial-gradient(ellipse 50% 50% at 30% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 30% 40%, black 0%, transparent 70%);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0;
  background: none;
  border: none;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  margin-bottom: var(--s-6);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-title {
  font-size: clamp(var(--fs-4xl), 7vw, var(--fs-6xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.04em;
  color: var(--c-text);
  margin-bottom: var(--s-6);
  max-width: 900px;
}

.hero-title-accent {
  color: var(--c-accent);
}

.hero-description {
  font-size: clamp(var(--fs-md), 2vw, var(--fs-lg));
  line-height: var(--lh-normal);
  color: var(--c-text-tertiary);
  margin-bottom: var(--s-8);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: var(--s-4);
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--s-12);
  margin-top: var(--s-10);
  padding-top: var(--s-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  padding-left: var(--s-6);
  border-left: 2px solid var(--c-accent);
}

.hero-stat-value {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  line-height: 1;
  margin-bottom: var(--s-2);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--c-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: var(--fw-medium);
}


/* ----------------------------------------------------------------
   HOMEPAGE SECTIONS
   ---------------------------------------------------------------- */
.home-section {
  padding: var(--s-24) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-header {
  max-width: none;
  margin: 0 0 var(--s-12);
  text-align: left;
  padding: 0;
}

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: var(--s-4);
}

.section-title {
  font-size: clamp(var(--fs-2xl), 4.5vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  color: var(--c-text);
  margin-bottom: var(--s-4);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
  max-width: 560px;
}


/* ----------------------------------------------------------------
   SERVICE CARDS (Homepage + List pages)
   ---------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--s-6);
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-slow) var(--ease),
              background var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease-spring),
              box-shadow var(--duration-slow) var(--ease);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  transition: background var(--duration-slow) var(--ease);
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--c-surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.card:hover::before {
  background: var(--c-accent);
}

a.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
a.card:hover {
  border-color: rgba(0, 195, 205, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 195, 205, 0.1);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--c-accent-muted);
  border-radius: var(--radius);
  margin-bottom: var(--s-5);
  font-size: var(--fs-xl);
  color: var(--c-accent);
}

.card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--s-3);
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
}

.card-text {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
  margin-bottom: var(--s-5);
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  transition: gap var(--duration-slow) var(--ease-spring);
}
a.card:hover .card-link {
  gap: var(--s-4);
}


/* ----------------------------------------------------------------
   TRUST / REFERENCE SECTION
   ---------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}

.trust-card {
  background: var(--c-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: var(--s-10) var(--s-8);
  position: relative;
  transition: border-color var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease-spring),
              box-shadow var(--duration-slow) var(--ease);
}
.trust-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.trust-quote {
  font-size: var(--fs-lg);
  font-style: normal;
  color: var(--c-text);
  line-height: var(--lh-normal);
  margin-bottom: var(--s-8);
  letter-spacing: -0.01em;
}
.trust-quote::before { content: '\201E'; color: var(--c-accent); font-size: var(--fs-3xl); line-height: 0; vertical-align: -0.35em; margin-right: var(--s-2); font-weight: var(--fw-bold); }
.trust-quote::after { content: '\201C'; color: var(--c-accent); font-size: var(--fs-3xl); line-height: 0; vertical-align: -0.35em; margin-left: var(--s-1); font-weight: var(--fw-bold); }

.trust-author {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
}

.trust-role {
  font-size: var(--fs-xs);
  color: var(--c-text-tertiary);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
  color: var(--c-success);
  font-weight: var(--fw-medium);
}


/* ----------------------------------------------------------------
   PRICING SECTION
   ---------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.pricing-card {
  background: var(--c-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--s-10) var(--s-8);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease-spring),
              box-shadow var(--duration-slow) var(--ease);
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  transition: background var(--duration-slow) var(--ease);
}
.pricing-card:hover {
  border-color: rgba(0, 195, 205, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 195, 205, 0.06);
}
.pricing-card:hover::before {
  background: var(--c-accent);
}
.pricing-card--featured {
  border-color: rgba(0, 195, 205, 0.3);
  background: linear-gradient(165deg, var(--c-bg-elevated) 0%, rgba(0, 195, 205, 0.04) 100%);
  box-shadow: 0 0 60px rgba(0, 195, 205, 0.08);
}
.pricing-card--featured::before {
  height: 2px;
  background: var(--c-accent);
}
.pricing-card--featured:hover {
  border-color: var(--c-accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 195, 205, 0.15);
}

.pricing-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: var(--s-4);
}

/* ----------------------------------------------------------------
   PROCESS TIMELINE (Homepage)
   Visual roadmap: horizontal line connects numbered steps.
   ---------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* The horizontal track line — sits behind everything */
.process-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(16.66% - 6px);
  right: calc(16.66% - 6px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12) 10%, rgba(255, 255, 255, 0.12) 90%, transparent);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--s-6);
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 195, 205, 0.4);
  background: var(--c-bg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: var(--s-5);
  letter-spacing: 0;
  position: relative;
}

/* Subtle glow behind the active dot */
.process-step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 195, 205, 0.15), transparent 70%);
  z-index: -1;
}

.process-step-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--s-2);
}

.process-step-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-tertiary);
  line-height: var(--lh-normal);
  max-width: 280px;
  margin: 0 auto;
}

/* Connectors are now hidden — line does the work */
.process-step-connector {
  display: none;
}


.pricing-value {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--s-2);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-unit {
  font-size: var(--fs-sm);
  color: var(--c-text-tertiary);
  margin-bottom: var(--s-6);
}

.pricing-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
}


/* ----------------------------------------------------------------
   CTA SECTION
   ---------------------------------------------------------------- */
.cta-section {
  padding: var(--s-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, var(--c-accent-muted), transparent);
  z-index: 0;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.cta-title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--s-4);
  letter-spacing: -0.03em;
}

.cta-text {
  font-size: var(--fs-md);
  color: var(--c-text-secondary);
  margin-bottom: var(--s-8);
}


/* ----------------------------------------------------------------
   PAGE HERO (Subpages)
   ---------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--s-12)) 0 var(--s-10);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--c-accent-muted), transparent),
    linear-gradient(180deg, var(--c-bg-elevated) 0%, var(--c-bg) 100%);
  z-index: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.page-hero-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: var(--s-4);
}

.page-hero-title {
  font-size: clamp(var(--fs-3xl), 6vw, var(--fs-5xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  color: var(--c-text);
  margin-bottom: var(--s-4);
}

.page-hero-desc {
  font-size: clamp(var(--fs-md), 2vw, var(--fs-lg));
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
  max-width: 600px;
}


/* ----------------------------------------------------------------
   ARTICLE CONTENT (Single pages)
   ---------------------------------------------------------------- */
.article-section {
  padding: var(--s-10) 0 var(--s-20);
}

.article-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}


/* ----------------------------------------------------------------
   LIST PAGE (Leistungen, Workshops)
   ---------------------------------------------------------------- */
.list-section {
  padding: var(--s-10) 0 var(--s-20);
}

.list-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.list-intro {
  max-width: none;
  margin: 0 0 var(--s-10);
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}

.list-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-8);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration-slow) var(--ease),
              background var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease-spring),
              box-shadow var(--duration-slow) var(--ease);
}
.list-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-border);
  transition: background var(--duration-slow) var(--ease);
}
.list-card:hover {
  border-color: rgba(0, 195, 205, 0.3);
  background: var(--c-surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.list-card:hover::before {
  background: var(--c-accent);
}

.list-card-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--s-3);
  line-height: var(--lh-snug);
}

.list-card-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
  flex-grow: 1;
  margin-bottom: var(--s-6);
}

.list-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-border);
}

.list-card-meta {
  font-size: var(--fs-xs);
  color: var(--c-text-tertiary);
}

.list-card-action {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  transition: gap var(--duration-slow) var(--ease-spring);
}
.list-card:hover .list-card-action { gap: var(--s-4); }


/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--s-20) 0 var(--s-12);
  margin-top: var(--s-12);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-16);
  margin-bottom: var(--s-16);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.footer-brand .logo-mark {
  width: 28px;
  height: 28px;
  font-size: var(--fs-sm);
}
.footer-brand .logo-text {
  font-size: var(--fs-xs);
}

.footer-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-tertiary);
  line-height: var(--lh-normal);
  max-width: 280px;
}

.footer-heading {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text);
  margin-bottom: var(--s-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: var(--c-text-tertiary);
  transition: color var(--duration) var(--ease);
}
.footer-links a:hover { color: var(--c-text); }

.footer-contact {
  gap: var(--s-4);
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.footer-contact-label {
  font-size: var(--fs-xs);
  color: var(--c-text-tertiary);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact a,
.footer-contact span {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
}
.footer-contact a:hover { color: var(--c-text); }

.footer-social {
  display: flex;
  gap: var(--s-4);
  margin-top: var(--s-5);
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--c-surface-2);
  color: var(--c-text-secondary);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.footer-social-link:hover {
  background: var(--c-accent);
  color: #fff;
}
.footer-social-link svg {
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-8);
  border-top: 1px solid var(--c-border);
}

.footer-copy {
  font-size: var(--fs-xs);
  color: var(--c-text-tertiary);
}

.footer-legal {
  display: flex;
  gap: var(--s-6);
}
.footer-legal a {
  font-size: var(--fs-xs);
  color: var(--c-text-tertiary);
  transition: color var(--duration) var(--ease);
}
.footer-legal a:hover { color: var(--c-text-secondary); }


/* ----------------------------------------------------------------
   MAIN CONTENT OFFSET (for fixed header)
   ---------------------------------------------------------------- */
#content {
  padding-top: var(--header-h);
}

/* Homepage hero has its own padding — extends under fixed header */
.hero { margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + var(--s-16)); }


/* ----------------------------------------------------------------
   WHITEPAPERS
   ---------------------------------------------------------------- */
.whitepaper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-8);
}
.whitepaper-card {
  background: var(--c-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease-spring),
              box-shadow var(--duration-slow) var(--ease);
}
.whitepaper-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-border);
  transition: background var(--duration-slow) var(--ease);
}
.whitepaper-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}
.whitepaper-card:hover::before {
  background: var(--c-accent);
}
.whitepaper-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.whitepaper-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  line-height: var(--lh-snug);
}
.whitepaper-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
}
.whitepaper-topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.whitepaper-topics li {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  padding-left: var(--s-5);
  position: relative;
}
.whitepaper-topics li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: var(--fw-bold);
}
.whitepaper-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ----------------------------------------------------------------
   WHITEPAPER CARDS (Content Pages)
   ---------------------------------------------------------------- */
.wp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-8);
  margin: var(--s-8) 0;
}
.wp-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: border-color var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease-spring);
}
.wp-card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-2px);
}
.wp-card-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wp-card-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  line-height: var(--lh-snug);
  margin: 0;
}
.wp-card-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
  margin: 0;
}
.wp-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.wp-tag {
  display: inline-block;
  background: var(--c-accent-muted);
  color: var(--c-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.wp-card .accordion {
  margin-bottom: 0;
}
.wp-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ----------------------------------------------------------------
   CONTACT GRID
   ---------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin: var(--s-8) 0;
}
.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  transition: border-color var(--duration-slow) var(--ease),
              box-shadow var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease-spring);
}
.contact-card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}
.contact-card--primary {
  border-color: var(--c-accent-muted);
  background: linear-gradient(135deg, var(--c-surface) 0%, rgba(0, 195, 205, 0.06) 100%);
}
.contact-card--primary:hover {
  border-color: var(--c-accent);
  box-shadow: 0 0 32px rgba(0, 195, 205, 0.15), 0 12px 36px rgba(0, 0, 0, 0.3);
}
.contact-card-icon {
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent-muted);
  border-radius: var(--radius);
}
.contact-card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin: 0;
}
.contact-card-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
  margin: 0;
  flex: 1;
}
.contact-card .btn {
  margin-top: auto;
}

/* ----------------------------------------------------------------
   ABOUT STATS & RESULTS
   ---------------------------------------------------------------- */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin: var(--s-8) 0;
}
.about-stat {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-6);
  text-align: left;
}
.about-stat-value {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.about-stat-label {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
}
.about-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin: var(--s-6) 0;
}
.about-result-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: var(--s-5);
}
.about-result-value {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.about-result-label {
  font-size: var(--fs-xs);
  color: var(--c-text-secondary);
  line-height: var(--lh-snug);
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .whitepaper-grid { grid-template-columns: 1fr; }
  .wp-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-results { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-8); }
  .hero-stats { gap: var(--s-8); }
  .process-steps::before { left: 12%; right: 12%; }
}

/* ================================================================
   MOBILE — COMPACT MODE (< 768px)
   Radical mobile-first refactoring: kill giants, compress spacing,
   enforce compact card sizes and readable typography.
   ================================================================ */
@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }

  /* --- Navigation --- */
  .main-nav { display: none; }
  .header-cta-btn { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { padding: 0 var(--s-4); }

  /* --- Container / Wrapper --- */
  .container { padding: 0 var(--s-4); }
  .hero-inner { padding: 0 var(--s-4); }
  .page-hero-inner { padding: 0 var(--s-4); }
  .article-inner { padding: 0 var(--s-4); }
  .cta-inner { padding: 0 var(--s-4); }
  .footer-inner { padding: 0 var(--s-4); }
  .contact-split-inner { padding: 0 var(--s-4); }

  /* --- HERO: 80svh max, compact text --- */
  .hero {
    height: 80svh;
    min-height: 0;
    max-height: 80svh;
    padding: var(--s-8) 0 var(--s-6);
    align-items: flex-end;
  }
  .hero-bg-img {
    object-position: 70% center;
    will-change: auto;
  }
  .hero-overlay {
    background:
      linear-gradient(to top, rgba(7, 10, 15, 0.95) 0%, rgba(7, 10, 15, 0.82) 45%, rgba(7, 10, 15, 0.35) 100%);
  }
  .hero-badge {
    font-size: 0.65rem;
    margin-bottom: var(--s-3);
  }
  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    margin-bottom: var(--s-3);
  }
  .hero-description {
    font-size: var(--fs-sm);
    margin-bottom: var(--s-5);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-3);
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
    padding: var(--s-3) var(--s-6);
    font-size: var(--fs-xs);
  }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--s-3) var(--s-6);
    margin-top: var(--s-5);
    padding-top: var(--s-4);
  }
  .hero-stat { padding-left: var(--s-3); }
  .hero-stat-value { font-size: var(--fs-lg); }
  .hero-stat-label { font-size: 0.6rem; }

  /* --- SECTION SPACING: Compact --- */
  .home-section { padding: var(--s-10) 0; }
  .section { padding: var(--s-10) 0; }
  .section--lg { padding: var(--s-12) 0; }
  .cta-section { padding: var(--s-10) 0; }
  .news-section { padding: var(--s-6) 0 var(--s-10); }

  .section-header { margin: 0 0 var(--s-6); }
  .section-title {
    font-size: clamp(var(--fs-xl), 5vw, var(--fs-2xl));
  }
  .section-subtitle { font-size: var(--fs-sm); }

  /* --- GRIDS: 1-column --- */
  .card-grid--3,
  .card-grid--2 { grid-template-columns: 1fr; gap: var(--s-3); }
  .pricing-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .trust-grid { gap: var(--s-3); }
  .news-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .list-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .whitepaper-grid { gap: var(--s-4); }

  /* --- CARDS: Kill the Giants --- */
  .card,
  .trust-card,
  .news-card,
  .whitepaper-card,
  .list-card {
    padding: var(--s-4);
    min-height: 0;
    height: auto;
  }
  .pricing-card {
    padding: var(--s-5) var(--s-4);
    min-height: 0;
    height: auto;
    border-radius: var(--radius);
  }
  .contact-card {
    padding: var(--s-4);
    min-height: 0;
    height: auto;
  }

  .card-title { font-size: var(--fs-base); }
  .card-text { font-size: var(--fs-xs); margin-bottom: var(--s-3); }
  .card-icon { width: 36px; height: 36px; font-size: var(--fs-base); margin-bottom: var(--s-3); }

  .trust-quote { font-size: var(--fs-base); margin-bottom: var(--s-4); }
  .trust-quote::before, .trust-quote::after { font-size: var(--fs-xl); }

  .pricing-value { font-size: var(--fs-2xl); }
  .pricing-desc { font-size: var(--fs-xs); }

  .whitepaper-card { gap: var(--s-3); }

  /* --- PROCESS TIMELINE: Vertical with left line --- */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 48px;
  }
  .process-steps::before {
    top: 18px;
    bottom: 18px;
    left: 18px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, rgba(0, 195, 205, 0.3), rgba(0, 195, 205, 0.1));
  }
  .process-step {
    text-align: left;
    padding: 0 0 var(--s-6) 0;
    position: relative;
  }
  .process-step:last-child { padding-bottom: 0; }
  .process-step-number {
    position: absolute;
    left: -48px;
    top: 0;
    width: 36px;
    height: 36px;
    font-size: var(--fs-xs);
    border-color: rgba(0, 195, 205, 0.5);
  }
  .process-step-title { font-size: var(--fs-base); margin-bottom: var(--s-1); }
  .process-step-desc { max-width: none; margin: 0; font-size: var(--fs-xs); }

  /* --- PAGE HERO (Subpages) --- */
  .page-hero { padding: calc(var(--header-h) + var(--s-4)) 0 var(--s-4); }
  .page-hero-title {
    font-size: clamp(var(--fs-xl), 6vw, var(--fs-2xl));
  }
  .page-hero-desc { font-size: var(--fs-sm); }

  /* --- ABOUT (Über mich) --- */
  .about-stats { grid-template-columns: 1fr; gap: var(--s-3); }
  .about-results { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .about-stat { padding: var(--s-4); }
  .about-stat-value { font-size: var(--fs-2xl); }
  .about-result-card { padding: var(--s-4); }
  .about-result-value { font-size: var(--fs-xl); }

  /* --- CONTACT — Compact cards, tight image gap --- */
  .contact-split-section { padding: var(--s-4) 0 var(--s-8); }
  .contact-split-image-col { margin-bottom: var(--s-5); }
  .contact-grid { gap: var(--s-3); margin: var(--s-4) 0; }
  .contact-card {
    padding: var(--s-3);
    gap: var(--s-2);
  }
  .contact-card-icon {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
  }
  .contact-card-title { font-size: var(--fs-sm); }
  .contact-card-desc { font-size: var(--fs-xs); line-height: var(--lh-normal); }
  .contact-card .btn { font-size: var(--fs-xs); padding: var(--s-2) var(--s-4); }

  /* --- BUTTONS compact --- */
  .btn-lg {
    padding: var(--s-3) var(--s-6);
    font-size: var(--fs-xs);
  }

  /* --- CTA compact --- */
  .cta-title {
    font-size: clamp(var(--fs-xl), 5vw, var(--fs-2xl));
  }
  .cta-text { font-size: var(--fs-sm); margin-bottom: var(--s-5); }

  /* --- FOOTER compact --- */
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .site-footer { padding: var(--s-8) 0 var(--s-5); margin-top: var(--s-6); }
  .footer-bottom {
    flex-direction: column;
    gap: var(--s-3);
    text-align: center;
  }

  /* --- NEWS --- */
  .news-teaser-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .news-card { padding: var(--s-4); }
  .news-card-title { font-size: var(--fs-base); }

  /* --- WORKSHOPS / ACCORDION compact --- */
  .workshop-meta { gap: var(--s-3) var(--s-5); margin: var(--s-4) 0 var(--s-6); }
  .workshop-meta-value { font-size: var(--fs-sm); }
  details.accordion summary {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    gap: 0.75rem;
  }
  details.accordion .acc-body {
    padding: 0 1rem 1rem;
    font-size: var(--fs-sm);
    line-height: 1.6;
  }
  details.accordion .acc-body li {
    font-size: var(--fs-sm);
    line-height: 1.5;
    margin-bottom: 0.25rem;
  }
  details.accordion .acc-body ul,
  details.accordion .acc-body ol {
    padding-left: 1rem;
    margin: 0.25rem 0;
  }
  details.accordion .acc-body p {
    font-size: var(--fs-sm);
    line-height: 1.6;
    margin-bottom: var(--s-3);
  }
  details.accordion .acc-body h4,
  details.accordion .acc-body strong {
    font-size: var(--fs-sm);
  }
  details.accordion summary .acc-subtitle { font-size: 0.75rem; }
  details.accordion summary .acc-badges { display: none; }

  /* --- LIST PAGES (Leistungen, Workshops) compact --- */
  .list-section { padding: var(--s-6) 0 var(--s-10); }
  .list-inner { padding: 0 var(--s-4); }
  .list-intro { margin: 0 0 var(--s-6); }
  .list-card-title { font-size: var(--fs-base); }
  .list-card-desc { font-size: var(--fs-xs); margin-bottom: var(--s-3); }
  .list-card-footer { padding-top: var(--s-3); }

  /* --- ARTICLE content pages --- */
  .article-section { padding: var(--s-6) 0 var(--s-10); }

  /* --- SECTION IMAGE BANNERS compact --- */
  .section-image-banner { margin-bottom: var(--s-6); }

  /* --- PROSE typography compact — kill the giants --- */
  .prose h1 { font-size: clamp(var(--fs-xl), 5vw, var(--fs-2xl)); margin: var(--s-6) 0 var(--s-3); }
  .prose h2 { font-size: clamp(var(--fs-base), 4.5vw, var(--fs-lg)); margin: var(--s-5) 0 var(--s-2); }
  .prose h3 { font-size: var(--fs-sm); margin: var(--s-4) 0 var(--s-2); font-weight: var(--fw-bold); }
  .prose h4 { font-size: var(--fs-sm); margin: var(--s-3) 0 var(--s-1); }
  .prose p { font-size: var(--fs-sm); line-height: 1.6; margin-bottom: var(--s-4); }
  .prose li { font-size: var(--fs-sm); line-height: 1.5; margin-bottom: var(--s-1); }
  .prose ul, .prose ol { margin: 0 0 var(--s-4) var(--s-4); }
  .prose blockquote { padding: var(--s-3) var(--s-4); margin: var(--s-4) 0; }
  .prose hr { margin: var(--s-5) 0; }
  .prose > h2:first-child,
  .prose > h3:first-child { margin-top: 0; }
}

/* ================================================================
   SMALL MOBILE (< 480px) — Extra compression
   ================================================================ */
@media (max-width: 480px) {
  .hero {
    height: 80svh;
    max-height: 80svh;
    padding: var(--s-6) 0 var(--s-4);
  }
  .hero-title {
    font-size: clamp(1.5rem, 6.5vw, 1.85rem);
    margin-bottom: var(--s-2);
  }
  .hero-badge { margin-bottom: var(--s-2); font-size: 0.6rem; }
  .hero-description { margin-bottom: var(--s-4); font-size: var(--fs-xs); }
  .hero-stats {
    gap: var(--s-2) var(--s-5);
    margin-top: var(--s-4);
    padding-top: var(--s-3);
  }
  .hero-stat-value { font-size: var(--fs-base); }
  .hero-stat-label { font-size: 0.55rem; }
  .hero-actions .btn { padding: var(--s-2) var(--s-5); font-size: 0.7rem; }

  .home-section { padding: var(--s-8) 0; }
  .cta-section { padding: var(--s-8) 0; }
  .section-title { font-size: var(--fs-xl); }

  .card,
  .trust-card,
  .pricing-card,
  .news-card,
  .whitepaper-card,
  .list-card { padding: var(--s-3); }

  .contact-card { padding: var(--s-2); gap: var(--s-1); }
  .contact-card-icon { width: 28px; height: 28px; font-size: 0.9rem; }
  .contact-card-title { font-size: var(--fs-xs); }
  .contact-card-desc { font-size: 0.7rem; }
  .contact-card .btn { font-size: 0.7rem; padding: var(--s-2) var(--s-3); }

  .pricing-value { font-size: var(--fs-xl); }
  .trust-quote { font-size: var(--fs-sm); }

  .process-steps { padding-left: 40px; }
  .process-step-number {
    left: -40px;
    width: 30px;
    height: 30px;
    font-size: 0.65rem;
  }
  .process-steps::before { left: 14px; }

  .about-results { grid-template-columns: 1fr; }

  /* Accordion extra-compact */
  details.accordion summary {
    padding: 0.625rem 0.75rem;
    font-size: 0.8rem;
  }
  details.accordion .acc-body {
    padding: 0 0.75rem 0.75rem;
    font-size: var(--fs-xs);
    line-height: 1.5;
  }
  details.accordion .acc-body li,
  details.accordion .acc-body p { font-size: var(--fs-xs); }

  /* Prose extra-compact */
  .prose h2 { font-size: var(--fs-base); }
  .prose p, .prose li { font-size: var(--fs-xs); }
}


/* ----------------------------------------------------------------
   NEWS / BLOG
   ---------------------------------------------------------------- */
.news-rss {
  margin-top: var(--s-6);
}

.news-section {
  padding: var(--s-10) 0 var(--s-20);
}

.news-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.news-intro {
  max-width: none;
  margin: 0 0 var(--s-8);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--s-6);
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-8);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration-slow) var(--ease),
              background var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease-spring),
              box-shadow var(--duration-slow) var(--ease);
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-border);
  transition: background var(--duration-slow) var(--ease);
}
.news-card:hover {
  border-color: rgba(0, 195, 205, 0.3);
  background: var(--c-surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.news-card:hover::before {
  background: var(--c-accent);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}

.news-card-date {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card-reading {
  font-size: var(--fs-xs);
  color: var(--c-text-tertiary);
}

.news-card-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--s-3);
  line-height: var(--lh-snug);
}

.news-card-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
  flex-grow: 1;
  margin-bottom: var(--s-5);
}

.news-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}

.news-tag {
  display: inline-block;
  padding: var(--s-1) var(--s-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-accent);
  background: var(--c-accent-muted);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.news-card-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  transition: gap var(--duration) var(--ease);
}

/* Article page specific */
.article-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-6);
  flex-wrap: wrap;
  gap: var(--s-4);
}

.article-back {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-accent);
  transition: color var(--duration) var(--ease);
}
.article-back:hover {
  color: var(--c-accent-hover);
}

.article-meta-info {
  font-size: var(--fs-sm);
  color: var(--c-text-tertiary);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.article-meta-sep {
  color: var(--c-text-tertiary);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

/* Share box */
.article-share {
  padding: 0 0 var(--s-12);
}

.share-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-8);
}

.share-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--s-2);
}

.share-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  margin-bottom: var(--s-4);
}

.share-url {
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  color: var(--c-accent-text);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-3) var(--s-4);
  margin-bottom: var(--s-4);
  word-break: break-all;
  user-select: all;
}

.share-feedback {
  font-size: var(--fs-sm);
  color: var(--c-success);
  font-weight: var(--fw-medium);
  margin-left: var(--s-3);
}

/* Article navigation (prev/next) */
.article-nav-section {
  padding: 0 0 var(--s-12);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-6);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--duration-slow) var(--ease),
              background var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease-spring);
}
.article-nav-link:hover {
  border-color: rgba(0, 195, 205, 0.3);
  background: var(--c-surface-hover);
  transform: translateY(-2px);
}

.article-nav-next {
  text-align: right;
  grid-column: 2;
}

.article-nav-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-nav-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  line-height: var(--lh-snug);
}

/* News teaser on homepage — compact, secondary prominence */
.news-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}

.news-teaser-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: var(--s-5) var(--s-6);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration-slow) var(--ease),
              background var(--duration-slow) var(--ease);
}
.news-teaser-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--c-surface);
}

.news-teaser-date {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-text-tertiary);
  margin-bottom: var(--s-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-teaser-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-secondary);
  margin-bottom: var(--s-1);
  line-height: var(--lh-snug);
}

.news-teaser-desc {
  display: none;
}

.news-teaser-link {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-accent);
}

@media (max-width: 768px) {
  .news-teaser-grid { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-next { text-align: left; grid-column: 1; }
}


/* ----------------------------------------------------------------
   SCROLLBAR
   ---------------------------------------------------------------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb {
  background: var(--c-surface-active);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--c-text-tertiary); }


/* ----------------------------------------------------------------
   SELECTION
   ---------------------------------------------------------------- */
::selection {
  background: var(--c-accent-muted);
  color: var(--c-accent);
}


/* ----------------------------------------------------------------
   WORKSHOP META STRIP
   ---------------------------------------------------------------- */
.workshop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6) var(--s-10);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin: var(--s-8) 0 var(--s-12);
}

.workshop-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.workshop-meta-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-tertiary);
  font-weight: var(--fw-medium);
}

.workshop-meta-value {
  font-size: var(--fs-md);
  color: var(--c-text);
  font-weight: var(--fw-semibold);
}

@media (max-width: 480px) {
  .workshop-meta {
    gap: var(--s-4) var(--s-6);
  }
}


/* ----------------------------------------------------------------
   ACCORDION / DETAILS-SUMMARY
   ---------------------------------------------------------------- */
details.accordion {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
details.accordion:hover {
  border-color: var(--c-accent);
}
details.accordion[open] {
  border-color: var(--c-accent);
}

details.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--c-text);
  list-style: none;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease;
}
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion summary::marker { display: none; content: ""; }

details.accordion summary:hover {
  background: var(--c-surface-hover);
  color: var(--c-accent);
}

/* Chevron indicator */
details.accordion summary::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: auto;
}
details.accordion[open] summary::after {
  transform: rotate(-135deg);
}

/* Summary subtitle line */
details.accordion summary .acc-subtitle {
  display: block;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--c-text-secondary);
  margin-top: 0.25rem;
}

/* Summary title wrapper */
details.accordion summary .acc-title {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Accordion body */
details.accordion .acc-body {
  padding: 0 1.5rem 1.5rem;
  color: var(--c-text-secondary);
  line-height: 1.75;
  animation: accSlideDown 0.3s ease;
}

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

details.accordion .acc-body h4,
details.accordion .acc-body strong {
  color: var(--c-text);
}
details.accordion .acc-body ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}
details.accordion .acc-body li {
  margin-bottom: 0.35rem;
}
details.accordion .acc-body ol {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}
details.accordion .acc-body blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  background: var(--c-bg);
  border-radius: var(--radius);
  font-style: italic;
  color: var(--c-text-secondary);
}

/* Key results badge row inside summary */
details.accordion summary .acc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
details.accordion summary .acc-badge {
  display: inline-block;
  background: var(--c-accent-muted);
  color: var(--c-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

/* Responsive accordion — handled in main MOBILE COMPACT MODE block (768px + 480px) */


/* ----------------------------------------------------------------
   PHOTO ASSETS — "Schwarz Digits" Look
   Global filter for all editorial photography
   ---------------------------------------------------------------- */
.about-hero-image,
.contact-split-image,
.section-banner-img {
  filter: grayscale(100%) contrast(1.1);
  -webkit-filter: grayscale(100%) contrast(1.1);
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}


/* ----------------------------------------------------------------
   SECTION IMAGE BANNER
   Reusable full-width image banner used in Workshop, Kontakt, Hero
   ---------------------------------------------------------------- */
.section-image-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  margin-bottom: var(--s-10);
}

/* .section-image-banner--hero removed — hero image now inside .hero as bg */

.section-banner-img {
  filter: grayscale(100%) contrast(1.1);
  -webkit-filter: grayscale(100%) contrast(1.1);
  object-fit: cover;
  object-position: center 40%;
  width: 100%;
  height: 100%;
  display: block;
}

/* .hero-image-divider removed — hero image now inside .hero as bg */


/* ----------------------------------------------------------------
   ABOUT HERO — Split-Screen (Über mich)
   Image left, text right on desktop. Stacked on mobile.
   Constrained to max-width with horizontal padding.
   ---------------------------------------------------------------- */
.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 80% 0%, var(--c-accent-muted), transparent),
    linear-gradient(180deg, var(--c-bg-elevated) 0%, var(--c-bg) 100%);
  z-index: 0;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
  min-height: 520px;
}

.about-hero-image-col {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: center 20%;
}

/* Subtle edge fade into the text side */
.about-hero-image-col::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to left, var(--c-bg), transparent);
  z-index: 1;
}

.about-hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-16) var(--s-6) var(--s-16) var(--s-10);
}

.about-hero-text-col .page-hero-label {
  margin-bottom: var(--s-4);
}

.about-hero-text-col .page-hero-title {
  margin-bottom: var(--s-4);
}

.about-hero-text-col .page-hero-desc {
  max-width: 480px;
}


/* ----------------------------------------------------------------
   CONTACT SPLIT — Image column next to content (Kontakt)
   Full-width content with image integrated above contact cards.
   ---------------------------------------------------------------- */
.contact-split-section {
  padding: var(--s-10) 0 var(--s-20);
}

.contact-split-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.contact-split-content {
  max-width: none;
}

/* Image sits above the contact cards as a full-width banner */
.contact-split-image-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  margin-bottom: var(--s-10);
}

.contact-split-image {
  object-position: 70% center;
}


/* ----------------------------------------------------------------
   RESPONSIVE — Photo Asset Sections
   ---------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .section-image-banner {
    height: 240px;
  }

  .about-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
  }

  .about-hero-image-col {
    height: 400px;
    border-radius: 0;
  }

  .about-hero-image-col::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, var(--c-bg), transparent);
  }

  .about-hero-text-col {
    padding: var(--s-8) var(--s-6) var(--s-10);
  }

  .contact-split-image-col {
    height: 260px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-image-banner {
    height: 200px;
    border-radius: var(--radius);
  }

  .about-hero-image-col {
    height: 300px;
  }

  .about-hero-text-col {
    padding: var(--s-6) var(--s-4) var(--s-8);
  }

  .contact-split-image-col {
    height: 220px;
    border-radius: var(--radius);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .section-image-banner {
    height: 160px;
    margin-bottom: var(--s-6);
  }

  .about-hero-image-col {
    height: 240px;
  }

  .contact-split-image-col {
    height: 180px;
  }
}
