/* =========================
   Digital Sense — SITE CSS (ALL-IN-ONE)
   modern / executive / calm
   built from your BASE + page rules (index, workshops, books, podcast)
   - deduped
   - page-specific overrides grouped
   - ALL mobile at the very end
   ========================= */

/* =========================
   0) TOKENS / ROOT
   ========================= */

:root {
  /* CI Colors */
  --ds-blue: #2a4b7c;
  --ds-charcoal: #1e1e1e;
  --ds-sand: #e8e5e0;
  --ds-white: #ffffff;

  --ds-warm-sand: #d8c8a0;
  --ds-soft-sky: #b9cbe2;

  /* Surfaces / text */
  --bg: var(--ds-white);
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.86);

  --text: var(--ds-charcoal);
  --muted: color-mix(in srgb, var(--ds-charcoal) 62%, white 38%);
  --muted-2: color-mix(in srgb, var(--ds-charcoal) 45%, white 55%);

  --border: color-mix(in srgb, var(--ds-charcoal) 14%, transparent);
  --border-strong: color-mix(in srgb, var(--ds-charcoal) 22%, transparent);

  --accent: var(--ds-blue);
  --accent-2: color-mix(in srgb, var(--ds-blue) 82%, black 18%);
  --focus: color-mix(in srgb, var(--ds-blue) 35%, transparent);

  /* Typography */
  --font-head:
    "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter,
    Roboto, Helvetica, Arial;
  --font-body:
    "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter,
    Roboto, Helvetica, Arial;

  /* Type scale */
  --h1: clamp(2.1rem, 3.4vw, 3.25rem);
  --h2: clamp(1.5rem, 2.3vw, 2.1rem);
  --h3: 1.25rem;
  --body: 1.05rem;
  --small: 0.92rem;

  /* Layout */
  --container: 1120px;
  --gutter: 22px;

  /* Radius + shadow */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --shadow-xs: 0 1px 1px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.1);

  /* Spacing */
  --s-1: 6px;
  --s-2: 10px;
  --s-3: 14px;
  --s-4: 18px;
  --s-5: 24px;
  --s-6: 34px;
  --s-7: 48px;
  --s-8: 64px;

  /* Header */
  --header-h: 72px;

  /* Hero knobs */
  --hero-min-h: 70vh;
  --hero-card-max: 720px;
  --hero-card-pad: clamp(22px, 3.2vw, 40px);
  --hero-radius: 26px;
}

/* =========================
   1) BASE RESET
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

/* =========================
   2) GLOBAL BACKGROUND STAGE
   (SVG layer sits behind everything)
   ========================= */

.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-stage .bg-svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.9;
  transform: scale(1.06);
  transform-origin: center;
}

/* =========================
   3) TYPOGRAPHY
   ========================= */

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-3) 0;
}

h1 {
  font-size: var(--h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h2 {
  font-size: var(--h2);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 {
  font-size: var(--h3);
  font-weight: 700;
}

p {
  margin: 0 0 var(--s-4) 0;
  color: var(--text);
}

small {
  font-size: var(--small);
  color: var(--muted);
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 10px;
}

/* =========================
   4) LAYOUT / STRUCTURE
   ========================= */

main#content {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: var(--s-7) 0 var(--s-8);
}

section {
  margin: 0 0 var(--s-7) 0;
}

/* readable measure for text blocks */
section > p,
section > ul,
section > ol,
article > p {
  max-width: 78ch;
}

/* Lists */
ul,
ol {
  padding-left: 1.15rem;
  margin: 0 0 var(--s-4) 0;
}

li {
  margin: 0 0 var(--s-2) 0;
}

/* =========================
   5) HELPERS / UTILITIES
   ========================= */

.section {
  margin: 0 0 56px 0;
}

.kicker,
.eyebrow {
  margin: 0 0 10px 0;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--muted-2);
}

.lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 78ch;
}

.note,
.muted {
  color: var(--muted);
  max-width: 78ch;
}

.pad-md {
  padding: 18px;
}
.pad-lg {
  padding: 22px;
}

/* Grids */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Optional split helper */
.section-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

/* =========================
   6) SURFACES / CARDS / PANELS
   ========================= */

/* NOTE:
   We do NOT style generic `article`/`figure` as cards globally to avoid
   accidental “giant image” issues (as seen on workshops).
   Only .card and explicit .panel get the surface treatment. */

.card,
.panel,
details.episode {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}

@supports (backdrop-filter: blur(8px)) {
  .card,
  .panel,
  details.episode {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

.card,
.panel {
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

/* Badge (generic) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ds-blue) 18%, transparent);
  background: color-mix(in srgb, var(--ds-blue) 8%, transparent);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 800;
  margin: 0 0 10px 0;
}

/* Links used as “action line” */
a.link {
  font-weight: 850;
  text-decoration: none;
}
a.link:hover {
  text-decoration: underline;
}

/* =========================
   7) BUTTONS / CTA LINKS
   ========================= */

.btn,
a[download],
#hero a[href^="mailto:"],
#cta a[href^="mailto:"],
#cta a,
#hero a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xs);

  color: var(--text);
  font-weight: 750;
  font-family: var(--font-head);
  letter-spacing: -0.01em;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
  text-decoration: none;
}

.btn:hover,
#cta a:hover,
#hero a:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

/* Primary intent (first action in hero + CTA) */
.btn-primary,
.hero-actions a:first-child,
#cta p a:first-child {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ds-blue) 92%, white 8%),
    var(--ds-blue)
  );
  border-color: color-mix(in srgb, var(--ds-blue) 45%, transparent);
  color: white;
}

.btn-primary:hover,
.hero-actions a:first-child:hover,
#cta p a:first-child:hover {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ds-blue) 100%, white 0%),
    color-mix(in srgb, var(--ds-blue) 88%, black 12%)
  );
}

/* =========================
   8) HEADER (sticky + scroll effect)
   ========================= */

/* Sticky breaks if parent has overflow/transform/filter.
   Keep wrapper safe. */
html,
body,
#site-header,
main#content,
#site-footer {
  overflow: visible;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 1000;

  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;

  padding: 12px 24px;

  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

header[role="banner"].is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

header[role="banner"] > div:first-child a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

header[role="banner"] > div:first-child strong {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
}

header[role="banner"] > div:first-child div {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Nav */
nav[aria-label="Hauptnavigation"] ul {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

nav[aria-label="Hauptnavigation"] a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;

  font-family: var(--font-head);
  font-weight: 750;
  color: var(--text);

  transition:
    background 0.18s ease,
    border-color 0.18s ease;
  border: 1px solid transparent;
}

nav[aria-label="Hauptnavigation"] a:hover {
  background: color-mix(in srgb, var(--ds-soft-sky) 26%, transparent);
  text-decoration: none;
}

nav[aria-label="Hauptnavigation"] a.is-active,
nav[aria-label="Hauptnavigation"] a[aria-current="page"] {
  background: color-mix(in srgb, var(--ds-soft-sky) 36%, transparent);
  border-color: color-mix(in srgb, var(--ds-blue) 22%, transparent);
}

/* Header CTA */
header[role="banner"] > div:last-child a {
  border-color: color-mix(in srgb, var(--ds-blue) 22%, transparent);
}

/* =========================
   9) HERO (Video + Fallback)
   ========================= */

#hero {
  position: relative;
  width: 100%;
  min-height: var(--hero-min-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0; /* full-bleed */
  isolation: isolate;
}

#hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0b1220;
}

/* Fallback image sits behind video (and stays if video blocked) */
#hero-media .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 0.95;
}

/* Video cover math */
#hero-media .hero-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;

  top: 50%;
  left: 50%;
  width: max(100vw, calc(var(--hero-min-h) * (16 / 9)));
  height: max(var(--hero-min-h), calc(100vw * (9 / 16)));
  transform: translate(-50%, -50%);
}

/* readability overlay */
#hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.24));
}

.hero-inner {
  position: relative;
  z-index: 5;
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: clamp(8vh, 10vh, 12vh) var(--gutter);
}

.hero-card {
  max-width: var(--hero-card-max);
  padding: var(--hero-card-pad);
  border-radius: var(--hero-radius);

  background: radial-gradient(
    900px 520px at 20% 0%,
    rgba(255, 255, 255, 0.78),
    rgba(255, 255, 255, 0.62) 55%,
    rgba(255, 255, 255, 0.58)
  );
  border: 1px solid rgba(255, 255, 255, 0.28);

  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.08) 38%,
    rgba(255, 255, 255, 0.18) 60%,
    rgba(255, 255, 255, 0.04)
  );
  opacity: 0.55;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  margin: 0 0 14px 0;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 45%, transparent);
}

.hero-subline {
  margin: 0 0 18px 0;
  max-width: 52ch;
  font-size: 1.02rem;
  color: color-mix(in srgb, var(--text) 62%, transparent);
}

.hero-actions {
  margin: 6px 0 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-signature {
  margin: 4px 0 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--muted);
  max-width: 62ch;
}

.hero-signature strong {
  font-family: var(--font-head);
  font-weight: 900;
  color: color-mix(in srgb, var(--text) 86%, transparent);
}

/* =========================
   10) CTA SECTION
   ========================= */

#cta {
  padding: 28px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(
      900px 450px at 20% 0%,
      color-mix(in srgb, var(--ds-blue) 12%, transparent),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.76)
    );
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* =========================
   11) FOOTER
   ========================= */

footer[role="contentinfo"] {
  margin-top: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(232, 229, 224, 0.55)
  );
}

.footer-inner {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 56px 0 40px;
}

.footer-top {
  display: grid;
  gap: 26px;
  align-items: start;
}

.footer-brand strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer-brand p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52ch;
}

.footer-col h4 {
  margin: 0 0 10px 0;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 0 0 8px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  justify-content: center;
}

.footer-bottom small {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 980px) {
  .footer-top {
    grid-template-columns: 1.35fr 0.9fr 0.9fr 1fr 0.9fr;
  }
}

@media (min-width: 640px) and (max-width: 979px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* =========================
   12) DOT NAV (scrollspy)
   ========================= */

#dot-nav {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;

  display: flex;
  flex-direction: column;
  gap: 10px;

  padding: 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

#dot-nav a {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: block;

  background: color-mix(in srgb, var(--ds-charcoal) 22%, transparent);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

#dot-nav a:hover {
  background: color-mix(in srgb, var(--ds-soft-sky) 65%, transparent);
}

#dot-nav a.is-active,
#dot-nav a[aria-current="true"] {
  background: var(--ds-blue);
  border-color: color-mix(in srgb, var(--ds-blue) 45%, transparent);
}

#dot-nav a::after {
  content: attr(title);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;

  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--text);

  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

#dot-nav a:hover::after {
  opacity: 1;
}

/* =========================
   13) INDEX/SHARED COMPONENTS
   (Overview + Persona + Carousel + Feature + Person + Principles)
   ========================= */

/* --- Overview (Intro + Einordnung + Zielgruppe) --- */

.section-overview {
  margin-top: 6px;
  padding-top: 10px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 18px;
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 10px;
}

.pill {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.pill strong {
  font-family: var(--font-head);
  font-weight: 850;
  color: var(--text);
}

/* Insight panel (Einordnung) */
.insight-panel {
  position: relative;
  padding: 28px 28px 30px;
  border-radius: 20px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.78)
  );

  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.insight-panel::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    var(--ds-blue),
    color-mix(in srgb, var(--ds-blue) 40%, transparent)
  );
}

.insight-panel .kicker {
  margin: 0 0 6px 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}

.insight-panel h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ds-blue) 55%, white 45%);
}

/* Audience divider + grid */
.overview-audience {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* Audience note unter den 3 Boxen */
.overview-audience .note {
  margin-top: 18px; /* <- Abstand zu den Boxen */
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 72ch;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

/* Persona cards */
.card.persona {
  padding: 16px;
}

.card.persona h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 850;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
}

/* Mini list (persona) */
.mini-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ds-blue) 50%, white 50%);
}

/* --- Stimmen Carousel --- */

/* --- Stimmen Carousel (FINAL) -----------------------
   Variante B: Center + Peek + Angle + Inactive blur
   - nutzt JS --carousel-edge (setEdgePadding)
   - keine doppelte Definition mehr
----------------------------------------------------- */

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.carousel {
  position: relative;
}

/* Cards dürfen links/rechts "rauslaufen" */
.carousel-viewport {
  overflow: visible;
  border-radius: 20px;

  /* Edge-Fade (optional, sieht clean aus) */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.carousel-track {
  --carousel-gap: 18px;

  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(460px, 1fr);
  gap: var(--carousel-gap);

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;

  /* Center snap */
  scroll-snap-type: x mandatory;
  scroll-padding: 50%;

  /* Edge centering (per JS gesetzt) */
  padding-top: 12px;
  padding-bottom: 18px;
  padding-left: var(--carousel-edge, 0px);
  padding-right: var(--carousel-edge, 0px);

  /* Spacer als echte Grid-Items -> garantiert genug Scrollbreite */
  /* (damit last slide wirklich bis zur Mitte kann) */
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* Spacer links/rechts */
.carousel-track::before,
.carousel-track::after {
  content: "";
  width: var(--carousel-edge, 0px);
}

/* Drag UX + Text markieren aus */
.carousel-track {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;

  /* 3D Look */
  perspective: 1000px;
  transform-style: preserve-3d;
}
.carousel-track:active {
  cursor: grabbing;
}
.carousel-track.is-dragging {
  cursor: grabbing;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* Slide Base */
.quote.quote-slide {
  flex: 0 0 min(460px, 78vw);
  scroll-snap-align: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;

  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);

  padding: 18px 18px 16px;
  min-height: 150px;

  position: relative;
  overflow: hidden;
  text-align: center;

  /* Default: ruhig / inaktiv */
  opacity: 0.58;
  filter: saturate(0.94) blur(0.55px);
  transform: translateZ(0) scale(0.955);
  transition:
    transform 240ms ease,
    opacity 240ms ease,
    filter 240ms ease,
    box-shadow 240ms ease;
  will-change: transform;
}

/* Aura im Slide */
.quote.quote-slide::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto -30%;
  height: 120%;
  background:
    radial-gradient(
      600px 300px at 30% 20%,
      rgba(42, 75, 124, 0.1),
      transparent 55%
    ),
    radial-gradient(
      520px 280px at 75% 35%,
      rgba(185, 203, 226, 0.14),
      transparent 60%
    );
  filter: blur(10px);
  opacity: 0.85;
  pointer-events: none;
}

/* Inhalte im inaktiven Zustand etwas leiser */
.quote.quote-slide:not(.is-active) blockquote,
.quote.quote-slide:not(.is-active) figcaption {
  opacity: 0.55;
}

/* Avatar */
.quote-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

  /* nicht "ziehbar" / nicht klickbar beim Drag */
  pointer-events: none;
}

/* Caption */
.quote.quote-slide figcaption {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
}

/* Quote */
.quote.quote-slide blockquote {
  margin: 0;
  position: relative;
  z-index: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.55;
  font-size: 1rem;
}

/* Active + Nachbarn (JS setzt die Klassen) */
.quote.quote-slide.is-active {
  opacity: 1;
  filter: none;
  transform: translateZ(24px) scale(1);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

.quote.quote-slide.is-left {
  opacity: 0.52;
  filter: saturate(0.92) blur(0.75px);
  transform: translateZ(0) scale(0.945) rotateY(6deg);
}

.quote.quote-slide.is-right {
  opacity: 0.52;
  filter: saturate(0.92) blur(0.75px);
  transform: translateZ(0) scale(0.945) rotateY(-6deg);
}

/* Optional: Hover nur Desktop minimal */
@media (hover: hover) {
  .quote.quote-slide:hover {
    opacity: 0.85;
    transform: translateY(-2px) scale(0.97);
    filter: saturate(0.98);
  }

  .quote.quote-slide.is-active:hover {
    transform: translateZ(26px) translateY(-2px) scale(1);
  }
}

/* Dots */
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(30, 30, 30, 0.18);
  opacity: 0.55;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    width 0.18s ease,
    opacity 0.18s ease;
}

.carousel-dot[aria-current="true"] {
  background: var(--ds-blue);
  border-color: rgba(42, 75, 124, 0.35);
  width: 22px;
  opacity: 1;
}

.carousel-dot:hover {
  transform: translateY(-1px);
}

/* Mobile: Kartenbreite besser */
@media (max-width: 720px) {
  .carousel-track {
    grid-auto-columns: minmax(78vw, 1fr);
    gap: 12px;
    scroll-padding: 50%;
  }

  .quote-avatar {
    width: 86px;
    height: 86px;
  }
}

/* --- Feature Cards (Formate tiles) --- */

#formate .grid.grid-3 {
  gap: 22px;
  align-items: stretch;
}

.card.feature {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px 1fr;
  border-radius: 18px;
}

.card.feature .feature-media {
  height: 220px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #eef2f7;
  overflow: hidden;
}

.card.feature .feature-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 260ms ease;
}

.card.feature .feature-body {
  padding: 18px 20px 20px;
  display: grid;
  gap: 10px;
  align-content: start;
  background: rgba(255, 255, 255, 0.92);
}

/* Badge variant for feature cards */
.card.feature .badge {
  margin: 0;
  width: fit-content;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(42, 75, 124, 0.06);
  color: color-mix(in srgb, var(--ds-blue) 72%, var(--text) 28%);
}

.card.feature h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.card.feature p {
  margin: 0;
  color: var(--muted);
}

.card.feature em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

.card.feature .link {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  text-decoration: none;
}

@media (hover: hover) {
  .card.feature {
    transition:
      transform 180ms ease,
      box-shadow 180ms ease,
      border-color 180ms ease;
  }

  .card.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--ds-blue) 18%, rgba(15, 23, 42, 0.1));
  }

  .card.feature:hover .feature-media img {
    transform: scale(1.06);
  }
}

/* --- Team (person cards) --- */

.card.person {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 180px;
}

.person-media {
  background: #f1f3f7;
  border-right: 1px solid var(--border);
}

.person-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-body {
  padding: 16px 18px 18px;
}

.person-body p {
  color: var(--muted);
}

/* --- Principles (split image + text) --- */

.card.principle.split {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 0;
  overflow: hidden;
}

.principle-media {
  background-size: cover;
  background-position: center;
}

.principle-body {
  padding: 18px 20px;
}

/* =========================
   14) PAGE-SCOPED STYLES
   (ONLY overrides that truly differ)
   ========================= */

/* --- INDEX --- */

.page-index #hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(247, 248, 250, 0.55),
    rgba(247, 248, 250, 0.2) 35%,
    rgba(247, 248, 250, 0) 70%
  );
  z-index: 1;
}

/* --- BOOKS (warm/sand) --- */

#books article p strong {
  letter-spacing: 0.02em;
}

#books article em {
  color: var(--muted);
}

#recommended a[aria-label^="Lesen"] {
  border-color: rgba(10, 91, 211, 0.18);
}

#essays article p,
#recommended article p {
  max-width: 82ch;
}

.page-books .bg-stage .bg-svg {
  opacity: 0.92;
  transform: scale(1.05);
}

.page-books #hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 600px at 18% 10%,
      rgba(245, 158, 11, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 80% 18%,
      rgba(234, 179, 8, 0.1),
      transparent 62%
    );
  z-index: 1;
}

.page-books .hero-card {
  background: rgba(255, 255, 255, 0.76);
}

/* --- PODCAST (cool/airy) --- */

.page-podcast .bg-stage .bg-svg {
  opacity: 0.95;
  transform: scale(1.05);
}

.page-podcast #hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 600px at 18% 10%,
      rgba(56, 189, 248, 0.16),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 80% 18%,
      rgba(59, 130, 246, 0.14),
      transparent 62%
    );
  z-index: 1;
}

.page-podcast .hero-card {
  background: rgba(255, 255, 255, 0.86);
}

/* Podcast page layout */
#episodes-layout {
  display: grid;
  gap: var(--s-5);
  align-items: start;
}

@media (min-width: 980px) {
  #episodes-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

#season-nav nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: sticky;
  top: 90px;
  display: grid;
  gap: 10px;
}

#season-nav a {
  display: block;
  padding: 14px 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

#season-nav a:hover {
  background: rgba(10, 91, 211, 0.08);
}

#season-nav small {
  color: var(--muted);
}

#season-content section {
  margin-bottom: var(--s-6);
}

#episode-list {
  margin-top: var(--s-5);
  display: grid;
  gap: var(--s-4);
}

.episode--featured {
  padding: var(--s-6);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10, 91, 211, 0.22);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.78)
  );
}

.episode--featured h4 {
  font-size: 1.35rem;
  margin-bottom: var(--s-3);
}

.episode--featured nav ul {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.episode--featured nav a {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.episode--featured nav a:hover {
  background: rgba(10, 91, 211, 0.08);
}

.episode-list-collapsible {
  display: grid;
  gap: 10px;
}

details.episode {
  overflow: hidden;
}

details.episode > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 12px;
  align-items: center;
  user-select: none;
}

details.episode > summary::-webkit-details-marker {
  display: none;
}

details.episode > summary span:nth-child(1) {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.02em;
}

details.episode > summary span:nth-child(2) {
  font-weight: 700;
  color: var(--text);
}

details.episode > summary span:nth-child(3) {
  color: var(--muted);
}

details.episode[open] > summary {
  background: rgba(10, 91, 211, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

details.episode > div {
  padding: 14px 16px 18px 16px;
  color: var(--muted);
}

details.episode > div a {
  margin-right: 10px;
}

/* --- WORKSHOPS (warm theme + fixes) --- */

.page-workshops .bg-stage .bg-svg {
  opacity: 0.85;
  transform: scale(1.08);
}

.page-workshops #hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 235, 0.55),
    rgba(255, 248, 235, 0.18) 40%,
    rgba(255, 248, 235, 0) 75%
  );
  z-index: 1;
}

/* Warm nuance for insight panel */
.page-workshops .insight-panel {
  border-color: rgba(120, 75, 30, 0.1);
}

.page-workshops .insight-panel::before {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ds-warm-sand) 85%, var(--ds-blue) 15%),
    color-mix(in srgb, var(--ds-warm-sand) 35%, transparent)
  );
}

.page-workshops .checklist li::before,
.page-workshops .mini-list li::before {
  background: color-mix(in srgb, var(--ds-warm-sand) 55%, white 45%);
}

/* Stimmen aura warmer */
.page-workshops .quote.quote-slide::before {
  background:
    radial-gradient(
      600px 300px at 30% 20%,
      rgba(190, 150, 95, 0.14),
      transparent 55%
    ),
    radial-gradient(
      520px 280px at 75% 35%,
      rgba(251, 191, 36, 0.1),
      transparent 60%
    );
}

/* Arbeitsweise as “executive steps” */
.page-workshops #arbeitsweise ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.page-workshops #arbeitsweise ol li {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(120, 75, 30, 0.1);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.page-workshops #arbeitsweise ol li strong {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
}

/* Podcast links as cards */
.page-workshops #podcast-links > article {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(120, 75, 30, 0.1);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin: 0 0 14px 0;
}

/* Section rhythm warm (only on workshops page) */
.page-workshops section + section {
  padding-top: 22px;
  border-top: 1px solid rgba(120, 75, 30, 0.06);
}

/* Critical fix: workshops formate cards must always be media+body (no runaway images) */
.page-workshops #formate .grid {
  align-items: stretch;
}

.page-workshops #formate .card.feature {
  grid-template-rows: 240px 1fr;
}

.page-workshops #formate .card.feature .feature-media {
  height: 240px;
}

/* =========================
   15) REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  #hero-media .hero-video {
    display: none;
  }
}

/* ==================================================
   16) RESPONSIVE — MOBILE (ALL AT END)
   (everything mobile-only is bundled here)
   ================================================== */

/* Hide dot nav on smaller screens */
@media (max-width: 900px) {
  #dot-nav {
    display: none;
  }
}

@media (max-width: 980px) {
  .section-split {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .card.feature {
    grid-template-rows: 200px 1fr;
  }

  .page-workshops #formate .card.feature {
    grid-template-rows: 210px 1fr;
  }
}

@media (max-width: 820px) {
  header[role="banner"] {
    height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  nav[aria-label="Hauptnavigation"] ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .card.person {
    grid-template-columns: 1fr;
  }

  .person-media {
    border-right: none;
    border-bottom: 1px solid var(--border);
    height: 240px;
  }
}

/* Hero mobile + perf */
@media (max-width: 720px) {
  #hero {
    min-height: 60vh;
  }

  #hero-media .hero-video {
    display: none;
  }

  .hero-inner {
    padding: 8vh var(--gutter);
  }

  .hero-card {
    max-width: 100%;
    padding: 26px;
  }

  h1 {
    line-height: 1.06;
  }

  .section-head-row {
    align-items: flex-start;
  }

  .carousel-track {
    grid-auto-columns: minmax(78vw, 1fr);
    gap: 12px;
    scroll-padding: 16px;
  }

  .page-workshops #podcast-links > article {
    margin-bottom: 12px;
  }
}

/* Podcast: episode summary stacked */
@media (max-width: 640px) {
  details.episode > summary {
    grid-template-columns: 1fr;
  }

  details.episode > summary span:nth-child(3) {
    justify-self: start;
  }
}

/* ===========================
   Digital Sense – Impressum Theme (Styleguide-konform)
   Farben: DS Blue #2A4B7C, Deep Charcoal #1E1E1E, Sand Grey #E8E5E0,
           Warm Sand #D8C8A0, Soft Sky #B9CBE2
   Ziel: Klarheit + KI (ruhig, präzise, elegant)
   =========================== */

:root {
  /* Styleguide-Farben */
  --ds-blue: #2a4b7c;
  --ds-charcoal: #1e1e1e;
  --ds-sand: #e8e5e0;
  --ds-warm: #d8c8a0;
  --ds-sky: #b9cbe2;

  /* UI-Tokens (dark theme) */
  --ds-bg: #0d1422; /* dunkel, aber nicht „tech-kalt“ */
  --ds-bg-2: #0b1220; /* Tiefe */
  --ds-text: rgba(255, 255, 255, 0.92);
  --ds-muted: rgba(255, 255, 255, 0.7);

  /* Card */
  --ds-card: rgba(255, 255, 255, 0.06);
  --ds-card-border: rgba(185, 203, 226, 0.18); /* Soft Sky als Rahmen */
  --ds-sep: rgba(185, 203, 226, 0.14);

  --ds-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* ===========================
   Digital Sense – Light UI (klar, hell, elegant)
   Hintergrund: 3 abstrakte Formen = Denken · Kultur · Handeln
   Styleguide: White / Sand Grey / Soft Sky / Warm Sand / DS Blue
   =========================== */

:root {
  /* Styleguide */
  --ds-blue: #2a4b7c;
  --ds-charcoal: #1e1e1e;
  --ds-sand: #e8e5e0;
  --ds-warm: #d8c8a0;
  --ds-sky: #b9cbe2;

  /* UI tokens */
  --text: var(--ds-charcoal);
  --muted: rgba(30, 30, 30, 0.68);
  --card: rgba(255, 255, 255, 0.78);
  --card-border: rgba(42, 75, 124, 0.14);
  --sep: rgba(42, 75, 124, 0.12);

  --shadow: 0 16px 40px rgba(30, 30, 30, 0.1);
}

/* HELLER, klarer Grund – ohne Grid */
body {
  color: var(--text);
  background:
    /* DENKEN: oben links – klare, ruhige „Lichtfläche“ (Soft Sky) */
    radial-gradient(
      720px 460px at 16% 12%,
      rgba(185, 203, 226, 0.45),
      rgba(185, 203, 226, 0) 62%
    ),
    /* KULTUR: mittig – organische „Wärmezone“ (Warm Sand), sehr subtil */
    radial-gradient(
        760px 520px at 52% 46%,
        rgba(216, 200, 160, 0.28),
        rgba(216, 200, 160, 0) 66%
      ),
    /* HANDELN: rechts unten – gerichtete, „vorwärts“ wirkende Form (DS Blue, sehr transparent) */
    conic-gradient(
        from 210deg at 84% 78%,
        rgba(42, 75, 124, 0.14),
        rgba(42, 75, 124, 0) 30%,
        rgba(42, 75, 124, 0.1) 52%,
        rgba(42, 75, 124, 0) 78%,
        rgba(42, 75, 124, 0.12)
      ),
    /* Basis */ linear-gradient(180deg, #ffffff 0%, var(--ds-sand) 120%);
}

/* Optional: ein sehr dezentes „Linienmotiv“ (KI-Anmutung), aber NICHT Grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background:
    /* feine, weiche Linien – wie neuronale Bahnen, aber sehr subtil */ repeating-linear-gradient(
    115deg,
    rgba(42, 75, 124, 0.06) 0px,
    rgba(42, 75, 124, 0.06) 1px,
    rgba(42, 75, 124, 0) 28px,
    rgba(42, 75, 124, 0) 44px
  );
  mask-image: radial-gradient(
    900px 600px at 55% 35%,
    #000 10%,
    transparent 70%
  );
}

/* Container: weniger Breite = mehr Ruhe */
.container {
  max-width: 980px;
}

/* Headline: klar, DS-typisch */
.section-head .h2 {
  color: var(--ds-charcoal);
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* Panel: hell, elegant, modern */
.panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Typo: weniger Wucht, mehr Lesefluss */
.panel p,
.panel li {
  line-height: 1.7;
  font-size: 1rem;
  margin: 0.75rem 0;
}

/* Überschriften im Panel: klare Hierarchie, nicht laut */
.panel h2 {
  font-size: 1.18rem;
  font-weight: 750;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.panel h3 {
  font-size: 1.02rem;
  font-weight: 750;
  margin: 1.15rem 0 0.35rem 0;
  letter-spacing: -0.01em;
}

/* Muted: wirklich zurückhaltend, aber lesbar */
.muted {
  color: var(--muted);
}

/* Separator: weich, „editorial“ */
.sep {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sep), transparent);
  margin: 1.25rem 0;
}

/* Links: DS Blue als Akzent, elegant */
a.link {
  color: var(--ds-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 75, 124, 0.25);
  transition:
    border-color 160ms ease,
    opacity 160ms ease;
}
a.link:hover {
  border-bottom-color: rgba(42, 75, 124, 0.55);
  opacity: 0.95;
}

/* Footer ruhig halten */
.site-footer {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(42, 75, 124, 0.1);
}
.footer-inner .muted {
  color: rgba(30, 30, 30, 0.55);
}

/* =========================
   Index Rhythm & Type Tuning
   (mehr Luft, weniger Text-Wucht)
   ========================= */

/* 1) Global: Base-Type minimal runter */
:root {
  --body: 1rem; /* war 1.05rem */
  --h2: clamp(1.35rem, 2.1vw, 1.95rem); /* war größer */
  --h3: 1.12rem; /* war 1.25rem */
  --small: 0.88rem; /* war 0.92rem */

  --s-7: 56px; /* war 48px -> mehr vertikaler Rhythmus */
  --s-8: 78px; /* war 64px */
}

/* 2) Sections: mehr Abstand zwischen den großen Bereichen */
.section {
  margin: 0 0 72px 0; /* war 56px */
}

/* wenn ihr section + section nutzt: etwas mehr Luft */
section + section {
  margin-top: 10px;
}

/* 3) Section-Head: Headline okay, aber Subtext ruhiger */
.section-head {
  margin-bottom: 18px;
}

.section-head p.muted {
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 72ch;
}

/* 4) Cards/Panels: mehr Innenluft + weniger Textwucht */
.card,
.panel {
  padding: 22px; /* war 18px */
}

/* Card Texte kleiner + ruhiger */
.card p,
.panel p {
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Muted noch etwas kleiner für Balance */
.muted {
  font-size: 0.95rem;
}

/* 5) Grids: mehr Abstand zwischen Cards */
.grid {
  gap: 26px; /* war 22px */
}

/* 6) Feature Cards („Unsere drei Formate“): Textportionen anpassen */
.card.feature .feature-body {
  padding: 20px 22px 22px; /* etwas luftiger */
  gap: 10px;
}

.card.feature h3 {
  font-size: 1.12rem; /* kleiner als vorher */
  line-height: 1.15;
}

.card.feature p {
  font-size: 0.96rem;
  line-height: 1.6;
}

/* 7) Team Cards („Wer hinter… steht“): etwas mehr Luft + ruhigere Typo */
.card.person .person-body {
  padding: 18px 20px 20px;
}

.card.person h3,
.card.person h4 {
  font-size: 1.12rem;
  line-height: 1.15;
}

.card.person p {
  font-size: 0.96rem;
  line-height: 1.6;
}

/* 8) Haltung Cards: ruhigeres Verhältnis Bild/Text */
.card.principle .principle-body,
#haltung .card .principle-body {
  padding: 18px 20px 20px;
}

#haltung .card h3 {
  font-size: 1.1rem;
}

#haltung .card p {
  font-size: 0.95rem;
}

/* Haltung – Abschlussnote */
#haltung .note {
  margin-top: 20px; /* mehr Luft zu den Cards */
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 72ch;
}

/* 9) Optional: „Stimmen“-Carousel optisch entlasten */
.quote.quote-slide blockquote {
  font-size: 1rem; /* war ~1.05rem */
  line-height: 1.55;
}

main#content {
  padding: 72px 0 92px; /* oben/unten mehr Luft */
}

/* =========================
   Section-Consistency: Head + Divider (Index)
   ========================= */

/* Mehr Luft zwischen Sektionen */
main#content .section {
  margin-bottom: 84px;
  position: relative;
  padding-bottom: 10px;
}

/* Subtiler Trenner zwischen Sektionen (Hairline + Haze) */
main#content .section:not(:last-of-type)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -34px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(42, 75, 124, 0.18),
    transparent
  );
}

main#content .section:not(:last-of-type)::before {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -78px;
  height: 92px;
  pointer-events: none;
  background: radial-gradient(
    60% 70px at 50% 30px,
    rgba(185, 203, 226, 0.22),
    transparent 70%
  );
  opacity: 0.85;
}

/* Section Head: immer gleiches Muster (Kicker-Line + Abstand) */
.section-head {
  margin-bottom: 18px;
  padding-top: 6px;
  position: relative;
}

.section-head::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  margin: 0 0 12px 0;
  background: linear-gradient(
    90deg,
    rgba(42, 75, 124, 0.85),
    rgba(185, 203, 226, 0.55)
  );
  opacity: 0.9;
}

.section-head p.muted {
  max-width: 72ch;
  line-height: 1.6;
}

/* Scroll-Lock: verhindert Background-Scroll */
html.modal-open,
body.modal-open {
  overflow: hidden;
  height: 100%;
}

/* wichtig: position fixed + top wird durch JS gesetzt */
body.modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  /* top: -scrollY setzt euer JS */
}

@media (max-width: 720px) {
  /* Feature Cards: Bildbereich höher + mehr Luft */
  .card.feature {
    grid-template-rows: 240px 1fr; /* war 200px */
  }

  .card.feature .feature-media {
    height: 240px; /* war 200px */
  }

  /* Motiv oben zeigen (mehr "Abstand" im Bild / weniger Kopf abgeschnitten) */
  .card.feature .feature-media img {
    object-position: center top;
  }

  /* Optional: mehr Abstand zwischen Bild und Text */
  .card.feature .feature-body {
    padding-top: 22px; /* war ~20px */
  }
}

@media (max-width: 820px) {
  /* TEAM: Bildbereich höher, damit mehr "Top" sichtbar wird */
  .card.person .person-media {
    height: 420px; /* war 240px */
  }

  .card.person .person-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* zeigt deutlich mehr vom oberen Teil */
  }
}

/* =========================
   Mobile Burger Header
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-left .brand-sub {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 2px;
}

.header-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Burger base (hidden on desktop) */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-xs);
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 2px;
}

/* Mobile nav dropdown */
.mobile-nav {
  margin-top: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mobile-nav a {
  display: block;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 750;
}

.mobile-nav a:hover {
  background: rgba(42, 75, 124, 0.08);
  border-color: rgba(42, 75, 124, 0.18);
  text-decoration: none;
}

/* BREAKPOINT: switch to burger */
@media (max-width: 820px) {
  /* desktop nav hidden */
  .header-nav {
    display: none;
  }

  /* CTA mobil komplett weg */
  .header-cta {
    display: none;
  }

  /* burger visible */
  .burger {
    display: inline-flex;
  }
}

/* =========================
   MOBILE BURGER MENU
   ========================= */

.burger {
  display: none;
  position: absolute;
  top: 14px;
  right: 18px;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;

  z-index: 1200;
}

.burger span {
  width: 18px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

/* Active (X) */
.burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================
   MOBILE NAV PANEL
   ========================= */

.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;

  padding: 96px 22px 32px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transform: translateY(-100%);
  transition: transform 0.35s ease;

  z-index: 1100;
}

.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.nav-mobile a {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

/* OPEN */
.nav-mobile.is-open {
  transform: translateY(0);
}

/* =========================
   HEADER RESPONSIVE RULES
   ========================= */

@media (max-width: 820px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  header[role="banner"] {
    position: relative;
    padding-right: 72px;
  }
}
