/* ==========================================================================
   Microteaming – Stylesheet (v2, 10.11.2026)
   Premium-Beratung, selbstbewusst: Navy-Einstieg mit sehr grosser Serif-
   Ueberschrift, Leistungen im Zentrum, viel Luft, keine Rundungen, keine
   Schatten, keine Kaertchen. Ueberschriften Source Serif 4 (Display-Schnitt
   ueber opsz), Text und Bedienelemente DM Sans. Root = 16 px. Kein JS.
   ========================================================================== */

:root {
  --navy:        #071A2B;
  --navy-line:   #1F3A52;   /* Linien auf Navy */
  --on-navy:     #FFFFFF;
  --on-navy-mid: #A3B4C3;   /* 8,3 : 1 auf Navy */
  --paper:       #FFFFFF;
  --mist:        #EEF2F4;   /* abgesetzte helle Flaeche, kuehl */
  --ink:         #0C1824;   /* Text, navy-getoent */
  --ink-mid:     #46525D;   /* 7,9 : 1 auf Weiss, 7,1 : 1 auf Mist */
  --line:        #D3DAE0;
  --accent:      #1F7A73;   /* Links und Ziffern auf Hell (5,1 : 1) */
  --accent-dark: #17605A;
  --teal:        #2D9C94;   /* auf Navy (5,3 : 1), Linien, grosse Zahlen */
  --teal-light:  #6CCBC1;   /* Hover auf Navy */

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --section-y: clamp(88px, 11vw, 168px);
}

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

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

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;          /* 17 px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1 0 auto; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  color: inherit;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
cite { font-family: var(--serif); font-style: italic; }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.hero :focus-visible,
.band :focus-visible,
.closing :focus-visible { outline-color: var(--teal-light); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9375rem;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* --- Raster: schmale Beschriftungsspalte + Inhalt ----------------------- */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  column-gap: clamp(24px, 4vw, 64px);
}
.grid__main { grid-column: 2; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .grid__main { grid-column: 1; }
}

/* Abschnittsname: klein, ruhig, Satzschreibung, mit kurzer Linie darueber */
.label {
  margin: 0 0 24px;
  padding-top: 14px;
  border-top: 2px solid var(--accent);
  width: fit-content;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
}
.label--light { border-top-color: var(--teal); color: var(--on-navy); }

/* --- Bedienelemente ---------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 18px 30px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--light { background: var(--on-navy); color: var(--navy); }
.btn--light:hover { background: var(--teal-light); color: var(--navy); }
.btn--outline { border-color: var(--on-navy-mid); color: var(--on-navy); }
.btn--outline:hover { border-color: var(--on-navy); background: var(--on-navy); color: var(--navy); }

.link {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-thickness 0.15s ease, color 0.15s ease;
}
.link:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
.link--light { color: var(--on-navy); text-decoration-color: var(--teal); }
.link--light:hover { color: var(--on-navy); text-decoration-color: var(--teal-light); }

.source {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-mid);
}

.wordmark {
  font-family: var(--sans);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: inherit; }

/* --- Kopfzeile --------------------------------------------------------- */
.site-header { position: relative; z-index: 2; }
.site-header--light { border-bottom: 1px solid var(--line); background: var(--paper); }

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 88px;
}

.nav__links {
  display: flex;
  gap: 36px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
}
.nav__links a:hover { color: var(--ink); }

.nav__contact {
  margin-left: auto;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav__links + .nav__contact { margin-left: 0; }
.nav__contact:hover { background: var(--ink); color: var(--paper); }

.site-header--dark .wordmark { color: var(--on-navy); }
.site-header--dark .nav__links a { color: var(--on-navy-mid); }
.site-header--dark .nav__links a:hover { color: var(--on-navy); }
.site-header--dark .nav__contact { border-color: var(--on-navy-mid); color: var(--on-navy); }
.site-header--dark .nav__contact:hover { background: var(--on-navy); border-color: var(--on-navy); color: var(--navy); }

@media (max-width: 760px) {
  .nav { height: 72px; }
  .nav__links { display: none; }
  .nav__links + .nav__contact { margin-left: auto; }
}

/* --- Einstieg (Navy) --------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: min(100svh, 1040px);
  background: var(--navy);
  color: var(--on-navy);
}

.hero__net {
  position: absolute;
  z-index: 0;
  top: 46%;
  right: max(-10vw, -170px);
  width: min(50vw, 74svh, 820px);
  max-width: none;
  transform: translateY(-50%);
  pointer-events: none;
}
.net__all { fill: none; stroke: var(--navy-line); stroke-width: 1; }
.net__team path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }
.net__dots circle { fill: #2E4D66; }
.net__people circle { fill: var(--on-navy); }

/* Einzige automatische Bewegung der Seite: das Netz baut sich einmal auf. */
@media (prefers-reduced-motion: no-preference) {
  .net__all, .net__dots { animation: fade-in 1.2s ease-out both; }
  .net__people { animation: fade-in 0.6s 0.5s ease-out both; }
  .net__team path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  .net__team path:nth-child(1) { animation-delay: 0.7s; }
  .net__team path:nth-child(2) { animation-delay: 0.82s; }
  .net__team path:nth-child(3) { animation-delay: 0.94s; }
  .net__team path:nth-child(4) { animation-delay: 1.06s; }
  .net__team path:nth-child(5) { animation-delay: 1.25s; }
  .net__team path:nth-child(6) { animation-delay: 1.37s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .link, .nav__contact { transition: none; }
}

.hero__body {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(40px, 6vh, 96px);
}

.hero__title {
  max-width: 20ch;
  margin-bottom: clamp(24px, 3.5vw, 40px);
  font-size: clamp(2.6rem, 6.4vw, 5.75rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 58ch;
  margin-bottom: 40px;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--on-navy-mid);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
}

.hero__fields {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(28px, 4vw, 48px);
}
.hero__fields ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--navy-line);
}
.hero__fields li + li { border-left: 1px solid var(--navy-line); }
.hero__fields a {
  display: block;
  height: 100%;
  padding: 22px 24px 4px;
  color: var(--on-navy);
  text-decoration: none;
}
.hero__fields li:first-child a { padding-left: 0; }
.hero__field-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  transition: color 0.15s ease;
}
.hero__field-text {
  display: block;
  margin-top: 4px;
  font-size: 0.9375rem;
  color: var(--on-navy-mid);
}
.hero__fields a:hover .hero__field-name { color: var(--teal-light); }

@media (min-width: 761px) and (max-width: 1040px) {
  .hero__fields ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__fields li:nth-child(3) { border-left: 0; }
  .hero__fields li:nth-child(3) a { padding-left: 0; }
  .hero__fields li:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
}

@media (max-width: 760px) {
  .hero__net { top: -18vw; right: -62vw; width: 125vw; transform: none; opacity: 0.4; }
  .hero__net .net__people { display: none; }   /* keine Punkte hinter dem Text */
  .hero__fields ul { grid-template-columns: 1fr; }
  .hero__fields li + li { border-left: 0; border-top: 1px solid var(--navy-line); }
  .hero__fields a, .hero__fields li:first-child a { padding: 16px 0; }
}

/* --- Abschnitte -------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section__head { margin-bottom: clamp(48px, 6vw, 88px); }
.section__head .label { align-self: start; }

/* Haltung */
.intro .label { align-self: start; margin-top: 12px; }
.statement {
  max-width: 32ch;
  margin-bottom: clamp(40px, 5vw, 64px);
  font-family: var(--serif);
  font-size: clamp(1.875rem, 3.6vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.intro__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  max-width: 920px;
  color: var(--ink-mid);
}
@media (max-width: 700px) { .intro__cols { grid-template-columns: 1fr; } }

/* Leistungen */
.services { padding-top: 0; }
.service {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  row-gap: 20px;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.service .grid__main > p {
  max-width: 58ch;
  font-size: 1.1875rem;
  line-height: 1.6;
}
.service__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.service__list li {
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
}
@media (max-width: 860px) {
  .service__list { grid-template-columns: 1fr; gap: 0; margin-top: 20px; }
  .service__list li { padding: 12px 0; border-top: 1px solid var(--line); }
  .service__list li:first-child { border-top: 2px solid var(--ink); }
}

/* Projekte (beispielhafte Vorhaben) */
.project {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(32px, 5vw, 80px);
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.project:last-child { border-bottom: 1px solid var(--line); }
.project__field {
  margin-bottom: 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
}
.project h3 {
  margin-bottom: 28px;
  font-size: clamp(1.75rem, 2.6vw, 2.375rem);
}

.crew { margin: 0; padding: 0; list-style: none; }
.crew__m {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0 9px 26px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.crew__m:last-child { border-bottom: 1px solid var(--line); }
.crew__m span { flex: none; font-size: 0.8125rem; color: var(--ink-mid); }
.crew__m::before {          /* Marke: gefuellt = intern, Ring = Freelance, Raute = KI-Agent */
  content: "";
  position: absolute;
  left: 2px;
  top: calc(9px + 0.7em - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-sizing: border-box;
}
.crew__m--int::before   { background: var(--ink); }
.crew__m--free::before  { border: 1.5px solid var(--ink); }
.crew__m--agent::before { border-radius: 0; background: var(--teal); transform: rotate(45deg) scale(0.85); }

.project__facts { margin: 0; }
.project__facts > div {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 8px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.project__facts > div:first-child { border-top: 0; padding-top: 6px; }
.project__facts dt {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}
.project__facts dd { margin: 0; color: var(--ink); }

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stack li {
  padding: 3px 10px;
  border: 1px solid var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .project { grid-template-columns: 1fr; }
  .project__facts > div { grid-template-columns: 1fr; gap: 4px; }
  .project__facts > div:first-child { border-top: 1px solid var(--line); padding-top: 18px; }
}

/* Karussell um die Projekte. Basis ohne JS: Scroll-Snap; js/carousel.js
   ergaenzt Pfeile, Zaehler und aktiven Reiter (.is-enhanced). */
.carousel__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 8px;
}
.carousel__nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.carousel__nav a {
  display: inline-block;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.carousel__nav a:hover { color: var(--ink); }
.carousel__nav a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }

.carousel__controls { display: flex; align-items: center; gap: 10px; }
.carousel__controls[hidden] { display: none; }
.carousel__count {
  min-width: 3.5em;
  margin-right: 6px;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-mid);
  text-align: right;
}
.carousel__btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.carousel__btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.carousel__btn:disabled { border-color: var(--line); color: var(--line); cursor: default; }

.carousel__track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  column-gap: 64px;
  align-items: start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.carousel.is-enhanced .carousel__track { scrollbar-width: none; }
.carousel.is-enhanced .carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: 6px; }

.carousel__slide { scroll-snap-align: start; }   /* kein scroll-snap-stop: always, sonst bricht Chrome Spruenge ueber mehrere Folien ab */
.carousel__slide.project,
.carousel__slide.project:last-child { border-top: 0; border-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
  .carousel__nav a, .carousel__btn { transition: none; }
}
@media (max-width: 760px) {
  .carousel__track { column-gap: 32px; }
  .carousel__nav ol { gap: 0 20px; }
  /* Mit JS reichen mobil Pfeile und Zaehler; ohne JS bleiben die Reiter */
  .carousel.is-enhanced .carousel__nav { display: none; }
  .carousel.is-enhanced .carousel__bar { justify-content: flex-start; }
}

/* Vorgehen */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before {   /* durchgehende Zeitleiste */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
}
.step { position: relative; padding-top: 36px; }
.step::before {    /* Marke auf der Zeitleiste */
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--accent);
}
.step__no {
  display: block;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.step h3 { margin-bottom: 18px; font-size: clamp(1.625rem, 2.2vw, 2rem); }
.step p { color: var(--ink-mid); }
.step__result {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.step__result dd { margin: 0; color: var(--ink); }
.step__result dt {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--accent);
}

.principle {
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.principle .label { align-self: start; }
.principle__text {
  max-width: 30ch;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { display: none; }
  .step { border-top: 1px solid var(--ink); }
}

/* --- Band (Navy, Belege) ----------------------------------------------- */
.band {
  padding-block: var(--section-y);
  background: var(--navy);
  color: var(--on-navy);
}
.band .source { color: var(--on-navy-mid); }

.band__lead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(24px, 3vw, 40px);
}
.band__figure {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(6.5rem, 19vw, 17rem);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--teal);
  white-space: nowrap;
}
.band__text { max-width: 34ch; }
.band__text p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.band__text .source { margin-top: 20px; }

.band__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 36px;
  border-top: 1px solid var(--navy-line);
}
.fact p { color: var(--on-navy-mid); font-size: 0.9875rem; }
.fact .source { margin-top: 16px; font-size: 0.8125rem; }
.fact .fact__figure,
.fact .fact__title {
  margin-bottom: 16px;
  font-family: var(--serif);
  line-height: 1;
  color: var(--on-navy);
}
.fact .fact__figure { font-size: clamp(2.75rem, 4vw, 3.5rem); letter-spacing: -0.03em; color: var(--teal); }
.fact .fact__title { font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.1; }
.fact__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 20px; }
.fact .fact__cite { margin-top: 20px; }
.fact__cite a { color: var(--on-navy-mid); overflow-wrap: anywhere; }
.fact__cite a:hover { color: var(--on-navy); }
.founder__text p a { color: var(--accent); text-underline-offset: 0.2em; }

@media (max-width: 900px) {
  .band__facts { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .band__lead { grid-template-columns: 1fr; gap: 24px; }
}

/* --- Gruender ---------------------------------------------------------- */
.founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}
.founder__photo { display: block; background: #030303; }
.founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.founder__text { padding-bottom: 8px; }
.founder__text h2 { margin-bottom: 32px; }
.founder__text p { max-width: 54ch; color: var(--ink-mid); }
.founder__text .label { color: var(--ink); }
.founder__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; }

@media (max-width: 760px) {
  .founder__grid { grid-template-columns: 1fr; align-items: start; }
  .founder__photo { max-width: 440px; }
}

/* --- Kontakt + Fuss (Navy) --------------------------------------------- */
.closing {
  background: var(--navy);
  color: var(--on-navy);
}
.closing__contact { padding-block: var(--section-y) clamp(72px, 9vw, 128px); }
.closing h2 {
  max-width: 16ch;
  margin-bottom: 32px;
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.closing__lead { max-width: 52ch; color: var(--on-navy-mid); font-size: 1.125rem; }
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
  margin-top: 48px;
}
.closing__mail {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
  color: var(--on-navy);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}
.closing__mail:hover { color: var(--on-navy); text-decoration-color: var(--teal-light); text-decoration-thickness: 2px; }

.closing__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 40px;
  padding-block: 32px 40px;
  border-top: 1px solid var(--navy-line);
  font-size: 0.875rem;
}
.closing__legal .wordmark { font-size: 1.125rem; color: var(--on-navy); }
.closing__links {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.closing__links a { color: var(--on-navy-mid); text-decoration: none; }
.closing__links a:hover,
.closing__links a[aria-current] { color: var(--on-navy); text-decoration: underline; text-underline-offset: 0.25em; }
.closing__copy { margin: 0 0 0 auto; color: var(--on-navy-mid); }
@media (max-width: 600px) { .closing__copy { margin-left: 0; width: 100%; } }

/* --- Rechtsseiten und 404 ---------------------------------------------- */
.legal { padding-block: clamp(56px, 7vw, 104px) var(--section-y); }
.legal h1 {
  margin-bottom: 40px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.legal h2 {
  margin: 48px 0 12px;
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.legal__body { max-width: 68ch; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.closing__legal:only-child { border-top: 0; }

.notfound { padding-block: clamp(80px, 12vw, 160px); }
.notfound h1 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.notfound p { max-width: 52ch; color: var(--ink-mid); }
.notfound .link { display: inline-block; margin-top: 12px; }

/* Platzhalter fuer offene Angaben – nur noch auf den Rechtsseiten */
.tbd {
  margin: 24px 0;
  padding: 10px 14px;
  border: 1px dashed #B45309;
  background: #FFF7ED;
  color: #7C2D12;
  font-size: 0.875rem;
  line-height: 1.5;
}
.tbd--inline { display: inline; margin: 0; padding: 1px 6px; font-size: 0.8125rem; }

/* ==========================================================================
   Bilder und Infografiken (v10, 10.11.2026)
   Eine Bildsprache fuer alles: Kreis gefuellt = Mensch aus dem Haus,
   Ring = Freelance, Raute in Teal = KI, Quadrat = Daten und Systeme.
   Linien 1,5 px in Ink, Akzent Teal, keine Verlaeufe, keine Schatten.
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Legende (Haltung, Projekte) */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink-mid);
}
.legend__i { position: relative; padding-left: 20px; }
.legend__i::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  box-sizing: border-box;
}
.legend__i--int::before   { background: var(--ink); }
.legend__i--free::before  { border: 1.5px solid var(--ink); }
.legend__i--agent::before { border-radius: 0; background: var(--teal); transform: rotate(45deg) scale(0.85); }
.legend__i--sys::before   { border-radius: 0; border: 1.5px solid var(--ink); }
.legend--flow { margin-top: 24px; }

/* Anatomie eines Microteams (Haltung) */
.anatomy {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 5vw, 72px);
  align-items: center;
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.anatomy__svg { width: 100%; max-width: 520px; overflow: visible; }
.anatomy figcaption { display: grid; gap: 14px; color: var(--ink-mid); }
.anatomy__title {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.an-ring   { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.an-spoke  { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.an-core   { fill: var(--navy); }
.an-core-t { fill: #fff; font-family: var(--sans); font-size: 18px; font-weight: 500; text-anchor: middle; }
.an-person--int  { fill: var(--ink); }
.an-person--free { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.an-role   { fill: var(--ink); font-family: var(--sans); font-size: 19px; font-weight: 500; text-anchor: middle; }
.an-agent  { fill: var(--teal); }
.an-agent-t { fill: var(--accent); font-family: var(--sans); font-size: 18px; font-weight: 500; }
.an-ring-t { fill: var(--ink-mid); font-family: var(--sans); font-size: 16px; text-anchor: middle; }
@media (max-width: 860px) {
  .anatomy { grid-template-columns: 1fr; }
  .anatomy__svg { max-width: 420px; }
}

/* Piktogramme der Leistungen */
.service__head { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.service__icon { width: 120px; height: 120px; overflow: visible; }
.ic-line   { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.ic-thick  { stroke-width: 2.5; }
.ic-dash   { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 4; }
.ic-dot    { fill: var(--ink); }
.ic-fill   { fill: var(--ink); }
.ic-accent { fill: var(--teal); }
@media (max-width: 860px) {
  .service__head { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
  .service__icon { width: 64px; height: 64px; flex: none; }
}

/* Ablauf je Projekt (Infografik im Karussell) */
.flow { grid-column: 1 / -1; margin: 8px 0 0; padding: 24px 28px 26px; background: var(--paper); }
.flow__title {
  margin-bottom: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}
.flow ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.flow__step {
  position: relative;
  padding: 30px 18px 0 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.flow__step::before {          /* Marke */
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--paper);
}
.flow__step::after {           /* Verbindungslinie zur naechsten Marke */
  content: "";
  position: absolute;
  left: 20px;
  right: 6px;
  top: 6.5px;
  height: 1px;
  background: var(--ink);
}
.flow__step:last-child::after { display: none; }
.flow__step--int::before   { background: var(--ink); }
.flow__step--free::before  { border: 2px solid var(--ink); }
.flow__step--agent::before { border-radius: 0; background: var(--teal); transform: rotate(45deg) scale(0.85); }
.flow__step--sys::before   { border-radius: 0; border: 1.5px solid var(--ink); }
@media (max-width: 860px) {
  .flow ol { grid-template-columns: 1fr; }
  .flow__step { padding: 0 0 18px 30px; }
  .flow__step::after { left: 6.5px; right: auto; top: 20px; bottom: 2px; width: 1px; height: auto; }
}

/* Zellteilung unter "Grundsatz" */
.principle__main { display: grid; gap: clamp(32px, 4vw, 48px); }
.cells { margin: 0; }
.cells__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.cell {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}
.cell + .cell::before {        /* Verbindung von Zelle zu Zelle */
  content: "";
  position: absolute;
  right: calc(50% + 62px);
  width: calc(100% - 124px + 16px);
  top: 59px;
  height: 1px;
  background: var(--ink);
}
.cell__team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 8px;
  width: 120px;
  height: 120px;
  margin-bottom: 14px;
  padding: 26px;
  border: 2px dashed var(--teal);
  border-radius: 50%;
}
.cell__name { font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; }
.cell__note { font-size: 0.875rem; color: var(--ink-mid); }
.cells figcaption { font-size: 0.875rem; color: var(--ink-mid); }
.d { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box; }
.d--int   { background: var(--ink); }
.d--free  { border: 2px solid var(--ink); }
.d--agent { border-radius: 0; background: var(--teal); transform: rotate(45deg) scale(0.8); margin-left: 4px; }
@media (max-width: 600px) {
  .cells__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cell__team { width: 88px; height: 88px; padding: 16px; gap: 5px; }
  .cell + .cell::before { display: none; }
  .cell__name { font-size: 1.0625rem; }
  .d { width: 11px; height: 11px; }
}

/* Diagramme im Band (echte Tabellen, ein Wert je Balken direkt beschriftet) */
.chart { margin: 28px 0 0; }
.bars { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.bars caption {
  margin-bottom: 10px;
  text-align: left;
  font-size: 0.8125rem;
  color: var(--on-navy-mid);
}
.bars th {
  width: 7.5em;
  padding: 5px 12px 5px 0;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
  color: var(--on-navy-mid);
}
.bars td { padding: 5px 0; white-space: nowrap; }
.bar {
  display: inline-block;
  height: 10px;
  margin-right: 10px;
  vertical-align: middle;
  background: #3E5C76;          /* gedaempft; hervorgehobene Zeile in Teal */
}
.bars__hl .bar { background: var(--teal); }
.bars__hl th, .bars__hl .bar__v { color: var(--on-navy); }
.bar__v { color: var(--on-navy-mid); font-variant-numeric: tabular-nums; }
/* Ringelmann: Breite in % der Spur (max. 100 %) */
.chart--ring td { width: 100%; }
.bar--100 { width: calc((100% - 4.5em) * 1.00); }
.bar--93  { width: calc((100% - 4.5em) * 0.93); }
.bar--85  { width: calc((100% - 4.5em) * 0.85); }
.bar--49  { width: calc((100% - 4.5em) * 0.49); }
/* QSM-Index: 600 % = volle Spur */
.bar--q70  { width: calc((100% - 5em) * 70 / 600); }
.bar--q450 { width: calc((100% - 5em) * 450 / 600); }
.bar--q600 { width: calc((100% - 5em) * 600 / 600); }
.bars--index th { width: 5.5em; }

/* Skala 1 bis 10 fuer Hackman und Vidmar */
.scale { position: relative; height: 54px; margin-top: 8px; }
.scale::before {                /* Achse */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: var(--navy-line);
}
.scale__band {                  /* 3 bis 5 Personen */
  position: absolute;
  top: 16px;
  height: 13px;
  left: calc(2 / 9 * 100%);
  width: calc(2 / 9 * 100%);
  background: #1F3A52;
}
.scale__mark {
  position: absolute;
  top: 10px;
  left: calc(3.6 / 9 * 100%);
  width: 2px;
  height: 25px;
  margin-left: -1px;
  background: var(--teal);
}
.scale__mark span {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8125rem;
  color: var(--on-navy);
}
.scale__ticks {
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-style: normal;
  color: var(--on-navy-mid);
}
.scale__ticks i { font-style: normal; width: 0; display: flex; justify-content: center; }
.chart--scale figcaption { margin-top: 6px; font-size: 0.8125rem; color: var(--on-navy-mid); }
.band__text { max-width: 40ch; }

/* --- Druck ------------------------------------------------------------- */
@media print {
  .hero__net, .skip-link, .nav__links, .tbd { display: none; }
  .hero, .band, .closing { background: none; color: var(--ink); min-height: 0; }
  .hero__lead, .band .source, .fact p, .closing__lead { color: var(--ink-mid); }
  a { color: var(--ink); }
}
