/* ==========================================================================
   Unusual Thinkers — unusual-thinkers.com
   Eigenständiges Stylesheet auf Basis der Brand-Tokens aus dem Design System
   (designtemplate/brand kit/Unusual Thinkers Design System/)
   ========================================================================== */

/* ---- Tokens ---- */
:root {
  /* Basispalette (Brand) */
  --white: #ffffff;
  --ink: #333f50;
  --ink-deep: #23365f;
  --blue-primary: #3458ab;
  --blue-bright: #196bb8;
  --pink: #d3078b;
  --green: #3f8a33;
  --green-light: #6cc05f;
  --yellow: #fcdb48;
  --orange: #df7f2f;
  --purple: #8a278e;
  --teal: #12bcbc;
  --sky: #00afe9;
  --coral: #f15b21;

  /* abgeleitete Neutralwerte */
  --gray-50:  oklch(from var(--ink) 0.985 0.003 h);
  --gray-100: oklch(from var(--ink) 0.96 0.006 h);
  --gray-200: oklch(from var(--ink) 0.91 0.010 h);
  --gray-300: oklch(from var(--ink) 0.83 0.014 h);
  --gray-400: oklch(from var(--ink) 0.68 0.018 h);
  --gray-500: oklch(from var(--ink) 0.54 0.022 h);

  /* Spektrum (Reihenfolge der Logo-Kreise) */
  --spectrum-1: var(--coral);
  --spectrum-2: var(--orange);
  --spectrum-3: var(--yellow);
  --spectrum-4: var(--green-light);
  --spectrum-5: var(--green);
  --spectrum-6: var(--teal);
  --spectrum-7: var(--sky);
  --spectrum-8: var(--blue-primary);
  --spectrum-9: var(--purple);
  --spectrum-10: var(--pink);

  /* Typografie */
  --font-display: "Prosto One", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  /* Layout */
  --content-max: 1160px;
  --content-wide: 1320px;
  --logo-h: 132px;
  /* Header-Höhe = Logo + Innenabstand + Rahmen, für das Mobile-Menü */
  --header-h: calc(var(--logo-h) + 1.7rem + 1px);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgb(35 54 95 / 0.08), 0 1px 2px rgb(35 54 95 / 0.05);
  --shadow-md: 0 6px 18px rgb(35 54 95 / 0.1), 0 2px 6px rgb(35 54 95 / 0.06);
  --shadow-lg: 0 18px 44px rgb(35 54 95 / 0.16), 0 4px 12px rgb(35 54 95 / 0.08);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

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

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--blue-bright) 45%, transparent);
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
  color: var(--ink-deep);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.3; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---- Utility ---- */
.container {
  width: min(100% - 2.5rem, var(--content-max));
  margin-inline: auto;
}
.container--wide { width: min(100% - 2.5rem, var(--content-wide)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  background: var(--eyebrow-dot, var(--blue-primary));
  opacity: 0.85;
  flex: none;
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--sunken { background: var(--gray-50); }
.section--deep {
  background: var(--ink-deep);
  color: var(--white);
}
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--deep .eyebrow { color: var(--sky); }

.lede {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: var(--gray-500);
  max-width: 46em;
}
.section--deep .lede { color: color-mix(in oklch, var(--white) 78%, var(--ink-deep)); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out),
              border-color 180ms var(--ease-out), transform 120ms var(--ease-out),
              box-shadow 180ms var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.96); }

.btn--primary {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--blue-bright); box-shadow: var(--shadow-md); }
/* Kontakt-Button in der Nav: gegen die generischen .site-nav-a-Regeln
   absichern (die sonst Textfarbe --ink und den Hover-Hintergrund kapern). */
.site-nav a.btn--primary { color: var(--white); }
.site-nav a.btn--primary:hover { background: var(--blue-bright); color: var(--white); }

.btn--ghost {
  border-color: var(--gray-300);
  color: var(--ink-deep);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); }

.btn--on-dark {
  background: var(--white);
  color: var(--ink-deep);
}
.btn--on-dark:hover { background: var(--gray-100); }

/* Ghost-Button auf dunklem Grund (CTA-Band, Testimonials) */
.btn--ghost-on-dark {
  border-color: color-mix(in oklch, var(--white) 55%, transparent);
  color: var(--white);
  background: transparent;
}
.btn--ghost-on-dark:hover {
  border-color: var(--white);
  background: color-mix(in oklch, var(--white) 12%, transparent);
}

.btn .arrow { transition: transform 180ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.textlink {
  font-weight: 700;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.textlink .arrow { transition: transform 180ms var(--ease-out); }
.textlink:hover .arrow { transform: translateX(3px); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--white) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in oklch, var(--gray-200) 70%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}
.site-header__logo img { height: var(--logo-h); width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.site-nav a {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
.site-nav a:hover { background: var(--gray-100); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--blue-primary); background: color-mix(in oklch, var(--blue-primary) 9%, white); }
.site-nav .btn { margin-left: 0.5rem; padding: 0.55rem 1.25rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-deep);
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}

/* ---- Breakpoint 768px: Navigation passt nicht mehr neben das Logo ---- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.5rem;
    background: color-mix(in oklch, var(--white) 96%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-115%);
    visibility: hidden;
    transition: transform 260ms var(--ease-out), visibility 0s linear 260ms;
  }
  .site-nav.is-open { transform: translateY(0); visibility: visible; transition-delay: 0s; }
  .site-nav a { padding: 0.8rem 1rem; font-size: 1.05rem; }
  .site-nav .btn { margin: 0.5rem 0 0; justify-content: center; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(5rem, 12vw, 9.5rem) clamp(4.5rem, 10vw, 8rem);
}
.hero__content { position: relative; z-index: 2; max-width: 54rem; }
.hero h1 { margin-bottom: 0.5em; }
.hero .lede { margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Seitenhero (Unterseiten) */
.hero--page { padding-block: clamp(4rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem); }

/* Kreis-Motiv aus dem Logo als Hero-Dekoration */
.circles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.circles i {
  position: absolute;
  border-radius: 50%;
  opacity: 0.16;
  filter: blur(1px);
  animation: drift 22s var(--ease-out) infinite alternate;
}
.circles i:nth-child(1) { width: 34vw; height: 34vw; right: -9vw; top: -12vw; background: var(--sky); animation-duration: 26s; }
.circles i:nth-child(2) { width: 26vw; height: 26vw; right: 9vw; top: 4vw; background: var(--pink); opacity: 0.10; animation-duration: 31s; }
.circles i:nth-child(3) { width: 18vw; height: 18vw; right: 25vw; top: -7vw; background: var(--yellow); opacity: 0.22; animation-duration: 24s; }
.circles i:nth-child(4) { width: 13vw; height: 13vw; right: 3vw; top: 21vw; background: var(--green-light); opacity: 0.16; animation-duration: 28s; }
.circles i:nth-child(5) { width: 9vw; height: 9vw; right: 30vw; top: 13vw; background: var(--purple); opacity: 0.12; animation-duration: 35s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3vw, 2.5vw, 0) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .circles i { animation: none; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---- Scroll-Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Bento / Leistungsfelder ---- */
.bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(12, 1fr);
}
.bento__card {
  grid-column: span 6;
  position: relative;
  overflow: clip;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out),
              border-color 200ms var(--ease-out);
}
.bento__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in oklch, var(--card-accent, var(--blue-primary)) 45%, var(--gray-200));
  text-decoration: none;
}
.bento__card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: var(--card-accent, var(--blue-primary));
  opacity: 0.07;
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
}
.bento__card:hover::after { transform: scale(1.15); opacity: 0.12; }

.bento__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in oklch, var(--card-accent, var(--blue-primary)) 12%, white);
  color: var(--card-accent, var(--blue-primary));
  margin-bottom: 0.9rem;
}
.bento__icon svg { width: 26px; height: 26px; }

.bento__card h3 { margin-bottom: 0.3rem; }
.bento__card p { color: var(--gray-500); font-size: 1rem; }
.bento__card .textlink { margin-top: auto; padding-top: 1rem; font-size: 0.98rem; }

/* Breakpoint 768px: zwei Bento-Spalten werden zu schmal für die Teasertexte */
@media (max-width: 768px) {
  .bento__card { grid-column: span 12; }
}

/* ---- KI-Portfolio-Banner (voll klickbar) ---- */
.ki-banner {
  display: block;
  position: relative;
  overflow: clip;
  background: linear-gradient(100deg, var(--blue-primary) 0%, var(--blue-bright) 52%, var(--teal) 125%);
  color: var(--white);
  text-decoration: none;
  transition: filter 220ms var(--ease-out);
}
.ki-banner__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 130% at 10% 15%, rgb(255 255 255 / 0.20), transparent 60%),
    radial-gradient(50% 130% at 90% 90%, rgb(255 255 255 / 0.12), transparent 55%);
}
.ki-banner:hover { filter: brightness(1.05); text-decoration: none; }
.ki-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding-block: 1.6rem;
  flex-wrap: wrap;
}
.ki-banner__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  line-height: 1.32;
  max-width: 52rem;
  text-align: center;
}
.ki-banner__accent {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in oklch, var(--yellow) 80%, white);
}
.ki-banner__cta {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 0.55);
  font-size: 1.4rem;
  font-weight: 700;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.ki-banner__cta .arrow { transition: transform 200ms var(--ease-out); }
.ki-banner:hover .ki-banner__cta { background: var(--white); color: var(--blue-primary); }
.ki-banner:hover .ki-banner__cta .arrow { transform: translateX(3px); }

@media (max-width: 768px) {
  .ki-banner__inner { justify-content: center; text-align: center; }
}

/* ---- Kunden-Marquee ---- */
.marquee {
  overflow: hidden;
  padding-block: 1.4rem;
  border-block: 1px solid var(--gray-200);
  background: var(--white);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee-label {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
}
.marquee__track span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, var(--gray-300));
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---- Testimonials ---- */
.quotes {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
/* Feste 3er-Reihen (z. B. Kundenstimmen auf Über uns: 3 + 2) */
.quotes--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .quotes--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .quotes--three { grid-template-columns: 1fr; } }
.quote {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--radius-xl);
  background: color-mix(in oklch, var(--white) 7%, transparent);
  border: 1px solid color-mix(in oklch, var(--white) 14%, transparent);
}
.quote blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: color-mix(in oklch, var(--white) 88%, var(--ink-deep));
}
.quote blockquote::before {
  content: "„";
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.5;
  margin-bottom: 0.7rem;
  color: var(--quote-accent, var(--sky));
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  font-size: 0.95rem;
  color: color-mix(in oklch, var(--white) 70%, var(--ink-deep));
}
.quote figcaption strong { color: var(--white); display: block; font-size: 1rem; }

/* helle Variante */
.quotes--light .quote { background: var(--white); border-color: var(--gray-200); box-shadow: var(--shadow-sm); }
.quotes--light .quote blockquote { color: var(--ink); }
.quotes--light .quote figcaption { color: var(--gray-500); }
.quotes--light .quote figcaption strong { color: var(--ink-deep); }

.avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--avatar-bg, var(--blue-primary));
}

/* ---- Feature-Listen / Karten ---- */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { display: flex; align-items: center; gap: 0.7rem; }
.card h3 .dot {
  flex: none;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: var(--dot, var(--blue-primary));
}
.card p { color: var(--gray-500); font-size: 1rem; }

/* ---- Nummerierte Module (Future2Day) ---- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.4rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.step__num {
  counter-increment: step;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  background: var(--step-bg, var(--blue-primary));
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: 0.25rem; font-size: 1.15rem; }
.step p { color: var(--gray-500); font-size: 1rem; }

/* ---- Split-Layout ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
/* Breakpoint 1024px: zwei Fließtext-Spalten nebeneinander werden zu schmal */
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; } }

/* ---- Stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--stat-accent, var(--sky));
  line-height: 1.1;
}
.stat span { color: color-mix(in oklch, var(--white) 75%, var(--ink-deep)); font-size: 0.98rem; }

/* ---- Team ---- */
.team {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.member {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: clip;
}
.member summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  transition: background-color 150ms var(--ease-out);
}
.member summary::-webkit-details-marker { display: none; }
.member summary:hover { background: var(--gray-50); }
.member .avatar { width: 56px; height: 56px; font-size: 1.1rem; }
.member__name { font-weight: 800; color: var(--ink-deep); line-height: 1.3; }
.member__role { font-size: 0.92rem; color: var(--gray-500); }
.member__chev {
  margin-left: auto;
  flex: none;
  color: var(--gray-400);
  transition: transform 200ms var(--ease-out);
}
.member[open] .member__chev { transform: rotate(180deg); }
.member__bio {
  padding: 0 1.4rem 1.5rem;
  font-size: 0.98rem;
  color: var(--gray-500);
}
.member--plain { padding-bottom: 0; }
.member--plain summary { cursor: default; }

/* ---- Timeline (Ralf) ---- */
.timeline {
  position: relative;
  display: grid;
  gap: 1.6rem;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--coral), var(--yellow), var(--green), var(--teal), var(--sky), var(--blue-primary), var(--purple), var(--pink));
  opacity: 0.55;
}
.timeline li { position: relative; list-style: none; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-2rem + 2px);
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-primary);
}
.timeline b { color: var(--ink-deep); }

/* ---- Kontakt ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
/* Breakpoint 768px: Formular und Kontaktkarte untereinander */
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 1.15rem; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--ink-deep);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 14px;
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--blue-bright) 25%, transparent);
}
.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 1.4rem;
}
.form-consent input { margin-top: 0.25rem; accent-color: var(--blue-primary); }

/* Honeypot-Feld: für Menschen unsichtbar, für Bots ausfüllbar */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Status nach dem Absenden */
.form-note {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-lg);
  font-size: 0.98rem;
  margin-bottom: 1.2rem;
}
.form-note.is-ok {
  background: color-mix(in oklch, var(--green) 12%, white);
  border: 1px solid color-mix(in oklch, var(--green) 40%, white);
  color: var(--green);
}
.form-note.is-error {
  background: color-mix(in oklch, var(--red) 10%, white);
  border: 1px solid color-mix(in oklch, var(--red) 35%, white);
  color: var(--red);
}

.contact-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--radius-xl);
  background: var(--ink-deep);
  color: var(--white);
}
.contact-card h3 { color: var(--white); }
.contact-card a { color: var(--sky); font-weight: 700; }
.contact-card .contact-line {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding-block: 0.45rem;
}
.contact-card .contact-line b {
  flex: none;
  width: 5.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--white) 60%, var(--ink-deep));
}

/* ---- CTA-Band ---- */
.cta-band {
  position: relative;
  overflow: clip;
  background: var(--ink-deep);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.4em; }
.cta-band p { color: color-mix(in oklch, var(--white) 78%, var(--ink-deep)); max-width: 38em; margin-inline: auto; }
.cta-band .btn { margin-top: 1.6rem; }
.cta-band .circles i { opacity: 0.13; }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink-deep);
  color: color-mix(in oklch, var(--white) 78%, var(--ink-deep));
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: clamp(4rem, 9vw, 7.5rem);
}
.site-footer a { color: color-mix(in oklch, var(--white) 88%, var(--ink-deep)); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid color-mix(in oklch, var(--white) 14%, transparent);
}
/* Breakpoint 768px: Footer-Spalten stapeln */
@media (max-width: 768px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__logo img { height: 140px; width: auto; margin-bottom: 1.1rem; }
.site-footer .footer-h {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.9rem;
  color: color-mix(in oklch, var(--white) 55%, var(--ink-deep));
}

/* ---- Rechtstexte ---- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  margin-top: 1.8em;
  color: var(--ink-deep);
}
.legal hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 2.4rem 0;
}
.legal ol, .legal ul { padding-left: 1.4rem; display: grid; gap: 0.4rem; }
.legal-note {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--gray-500);
  background: var(--gray-100);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 0.9rem 0;
}

/* ---- Skip-Link für Tastatur- und Screenreader-Nutzung ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.8rem 1.4rem;
  background: var(--ink-deep);
  color: var(--white);
  border-radius: 0 0 var(--radius-lg) 0;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
  top: 0;
  text-decoration: none;
}

/* ==========================================================================
   Content-first-Breakpoints: 360 / 768 / 1024 / 1280 / 1536
   Die 768er- und 1024er-Regeln stehen bei den jeweiligen Komponenten.
   ========================================================================== */

/* ---- 768px: großes Logo passt nicht mehr neben Burger-Button ---- */
@media (max-width: 768px) {
  :root { --logo-h: 96px; }
  .quotes { grid-template-columns: 1fr; }
  .stats { text-align: left; }
}

/* ---- 360px: sehr schmale Geräte, jede Zeile zählt ---- */
@media (max-width: 360px) {
  :root { --logo-h: 72px; }
  .container, .container--wide { width: calc(100% - 1.75rem); }
  body { font-size: 1rem; }
  .section { padding-block: 3rem; }
  .step { grid-template-columns: 1fr; gap: 0.8rem; }
  .marquee__track { gap: 2rem; }
  .marquee__track span { gap: 2rem; }
  .btn { padding: 0.8rem 1.4rem; width: 100%; justify-content: center; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .cta-band { padding: 2rem 1.4rem; }
  .member summary { padding: 1.1rem 1.1rem; gap: 0.75rem; }
  .member__bio { padding: 0 1.1rem 1.2rem; }
}

/* ---- 1280px: mehr Raum, Inhalt darf breiter laufen ---- */
@media (min-width: 1280px) {
  :root { --content-max: 1240px; }
}

/* ---- 1536px: große Displays, Layout und Schrift wachsen mit ---- */
@media (min-width: 1536px) {
  :root {
    --content-max: 1360px;
    --content-wide: 1480px;
  }
  body { font-size: 1.125rem; }
  h1 { font-size: clamp(2.2rem, 5.5vw, 4.8rem); }
}

/* ---- Blog: Übersicht ---- */
.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* Titel-Link deckt die ganze Karte ab, Tag-Links liegen darüber */
.blog-card__link { color: inherit; text-decoration: none; }
.blog-card__link::after { content: ""; position: absolute; inset: 0; }
.blog-card .post-tags { position: relative; z-index: 1; }
.blog-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem 1.6rem 1.7rem;
  flex: 1;
}
.blog-card h2 { font-size: 1.25rem; line-height: 1.3; margin: 0; }
.blog-card__teaser { color: var(--gray-500); font-size: 0.98rem; margin: 0; }
.blog-card .textlink { margin-top: auto; padding-top: 0.8rem; font-size: 0.98rem; }

.post-meta { color: var(--gray-400); font-size: 0.92rem; font-weight: 600; margin: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.4rem 0 0; }
.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-500);
}
.post-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--blue-primary));
}
a.post-tag {
  text-decoration: none;
  transition: border-color 150ms var(--ease-out), color 150ms var(--ease-out),
              background-color 150ms var(--ease-out);
}
a.post-tag:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  text-decoration: none;
}
.post-tag.is-active {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--white);
}
.tag-filter { margin-top: 1.6rem; }

/* ---- Blog: Artikel ---- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose blockquote {
  margin: 1.8rem 0;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 4px solid var(--blue-primary);
  border-radius: 2px;
  color: var(--gray-500);
  font-size: 1.1rem;
}
.prose blockquote p { margin: 0; }
.prose figure { margin: 2.2rem 0; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; }
.prose figcaption { margin-top: 0.7rem; font-size: 0.9rem; color: var(--gray-400); }
.prose video {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 2.2rem 0;
  background: var(--ink-deep);
}
.prose pre {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem;
  overflow-x: auto;
  font-size: 0.9rem;
}
.prose code { font-size: 0.92em; background: var(--gray-100); border-radius: 6px; padding: 0.1em 0.35em; }
.prose pre code { background: none; padding: 0; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: 0.4rem; }
.prose hr { border: none; border-top: 1px solid var(--gray-200); margin: 2.4rem 0; }
.post-hero-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 2.5rem;
}

/* ---- Hinweisbox ---- */
.notice {
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--yellow) 25%, white);
  border: 1px solid color-mix(in oklch, var(--orange) 40%, white);
  color: var(--ink);
  font-size: 0.98rem;
}

/* ---- Team-Grid (Über uns) ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
}
.member-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.member-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.member-card h3 { font-size: 1.1rem; margin: 1.1rem 0 0.3rem; color: var(--ink-deep); }
.member-card p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1rem; }
.member-card .btn { margin-top: auto; padding: 0.5rem 1.2rem; font-size: 0.92rem; }

/* Foto-Platzhalter: Bild als assets/img/<slot-id>.(webp|jpg|jpeg|png) ablegen,
   der Auto-Loader in js/site.js füllt den Slot dann automatisch. */
.img-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: 1.5px dashed var(--gray-300);
  color: var(--gray-400);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 0.7rem;
  overflow: hidden;
}
.img-slot em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.65;
  margin-top: 0.25rem;
  word-break: break-all;
}
.img-slot.is-filled { border: 0; background: none; padding: 0; }
.img-slot.is-filled img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-slot--avatar { width: 120px; height: 120px; border-radius: 50%; flex: none; }
.img-slot--portrait { width: 220px; height: 220px; border-radius: 50%; flex: none; }

/* ---- Bio-Seiten ---- */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 2.2rem;
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--blue-bright); }
.breadcrumb strong { color: var(--ink-deep); font-weight: 700; }
.bio-head {
  display: flex;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: flex-start;
  flex-wrap: wrap;
}
.bio-head > div:last-child { flex: 1 1 24rem; }
.bio-head h1 { margin-bottom: 0.35em; }
.bio-role {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.2rem;
}
.bio-body { max-width: 60rem; margin-top: 1.4rem; }
.bio-body p + p, .bio-head p + p { margin-top: 0.9em; }

/* .btn--ghost-on-dark ist zentral bei den Button-Styles definiert */
