/* TE Consulting · Gestaltung
   Richtung: große, eng gesetzte Schrift, fast nur Grau und Schwarz,
   stark gerundete Bildflächen, ein dunkler Abschnitt. Farbe kommt
   nur aus den Bildkarten. */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f6f5;
  --paper: #ffffff;
  --ink: #121518;
  --ink-2: #33393e;
  --muted: #61676d;
  --line: #dcdcd8;
  --dark: #0e171c;
  --dark-muted: #9aa7ae;
  --dark-line: #2a383f;
  --dot: #5ab88f;
  --error: #b3261e;

  --r-lg: 36px;
  --r-md: 24px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 13vw, 200px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.04em; line-height: .98; }
a { color: inherit; }
::selection { background: var(--ink); color: #fff; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .is-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }

/* Kleine Randnotizen */
.meta { font-size: 14px; line-height: 1.4; color: var(--muted); }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .4s ease, color .4s ease, box-shadow .5s ease, transform .6s var(--ease-out);
}
/* Wie die Kacheln: Der Knopf hebt sich leicht an und wirft einen weichen Schatten */
.btn:hover { background: #22292e; transform: translateY(-3px); box-shadow: 0 18px 32px -18px rgba(18, 21, 24, .5); }
.btn:active { transform: translateY(-1px) scale(.98); transition-duration: .15s; }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn-small { min-height: 44px; padding: 0 22px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px transparent, 0 18px 32px -20px rgba(18, 21, 24, .35); }

/* ---------- Kopfzeile ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: 12px; pointer-events: none; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px;
  max-width: calc(1440px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter) + 24px);
  padding: 0 10px 0 20px; border-radius: 999px; pointer-events: auto;
  transition: background-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
.site-header.scrolled .header-inner {
  background: rgba(246, 246, 245, .72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(18, 21, 24, .07), 0 12px 32px -16px rgba(18, 21, 24, .25);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 0 rgba(90, 184, 143, .5); transition: box-shadow .5s var(--ease-out); }
.brand:hover .brand-mark { box-shadow: 0 0 0 6px rgba(90, 184, 143, .18); }

/* ---------- Start ---------- */
.hero { position: relative; min-height: 100svh; padding: 112px 0 48px; display: flex; flex-direction: column; overflow: hidden; }
.hero > .wrap { flex: 1; display: flex; flex-direction: column; }
.hero-title {
  position: relative; z-index: 2;
  margin-top: auto; padding-top: 40px;
  font-size: clamp(52px, 11vw, 184px);
  line-height: .9; letter-spacing: -.055em; font-weight: 500;
}
.hero-title .line { display: block; will-change: transform; }
.hero-title .line > span { display: inline-block; }
.hero-title .l2 { padding-left: 6vw; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-top: clamp(36px, 4.4vw, 64px); position: relative; z-index: 3; }
.hero-lead { max-width: 30em; font-size: clamp(18px, .5vw + 15px, 21px); color: var(--ink-2); }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* Einmaliger Auftritt beim Laden */
@keyframes rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.reveal { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
.reveal-fade { animation: fade 1.4s ease both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }

/* ---------- Kacheln: Lichtkegel und Neigung ----------
   [data-spot] bekommt einen weichen Lichtfleck unter dem Zeiger,
   [data-tilt] neigt sich leicht zum Zeiger hin. Die Werte setzt
   das Skript als --mx/--my und --rx/--ry. */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(90, 184, 143, .14)), transparent 60%);
  opacity: 0; transition: opacity .5s ease;
}
[data-spot]:hover::after { opacity: 1; }
[data-tilt] {
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift, 0px), 0);
  transition: transform .7s var(--ease-out), box-shadow .6s var(--ease-out), background-color .4s ease;
  transform-style: preserve-3d;
}
[data-tilt]:hover { --lift: -8px; transition: transform .25s ease-out, box-shadow .6s var(--ease-out); }

/* ---------- Qualifikationen ---------- */
.proof-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 28px; border-top: 1px solid var(--line); margin-top: 0; }
.proof-list li { margin-top: -1px; }
.proof-list li { font-size: 15px; line-height: 1.45; color: var(--muted); padding-top: 14px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / 0 1.5px no-repeat; transition: background-size .6s var(--ease-out), color .3s ease; }
.proof-list li:hover { background-size: 100% 1.5px; color: var(--ink-2); }
.proof-list strong { display: block; color: var(--ink); font-weight: 500; font-size: 17px; }

/* ---------- Abschnitte allgemein ---------- */
.section { padding: var(--section) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head h2 { font-size: clamp(44px, 6.4vw, 104px); letter-spacing: -.05em; line-height: .94; }
.section-head p { max-width: 26em; color: var(--ink-2); font-size: 19px; }

/* ---------- Ausgangslage ---------- */
.statement { font-size: clamp(34px, 4.6vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; max-width: 15em; }
.statement .soft { color: #9da2a6; }
.situation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 112px); }
.situation-grid p {
  color: var(--ink-2); padding: clamp(24px, 2.4vw, 36px); min-height: 220px;
  border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .5s ease, box-shadow .5s ease, transform .6s var(--ease-out), color .4s ease;
}
.situation-grid p:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px transparent, 0 24px 48px -28px rgba(18, 21, 24, .3); transform: translateY(-6px); }

/* ---------- Leistungen ---------- */
.services { padding-top: 0; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  display: flex; flex-direction: column;
  min-height: 640px; padding: clamp(28px, 2.6vw, 44px);
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px rgba(18, 21, 24, .04), 0 1px 2px rgba(18, 21, 24, .04);
}
.service:hover { box-shadow: 0 0 0 1px rgba(18, 21, 24, .06), 0 40px 80px -40px rgba(18, 21, 24, .35); }
.service h3, .service-question { transition: transform .6s var(--ease-out); }
.service:hover h3 { transform: translate3d(0, 0, 30px); }
.service:hover .service-question { transform: translate3d(0, 0, 18px); }
.service-facts div { transition: padding .5s var(--ease-out); }
.service-facts div:hover { padding-left: 8px; }
.service h3 { font-size: clamp(34px, 3vw, 50px); letter-spacing: -.045em; line-height: 1; }
.service-question { margin-top: 14px; font-size: 20px; line-height: 1.3; color: var(--muted); letter-spacing: -.015em; }
.service-body { margin-top: auto; padding-top: 48px; }
.service-body > p { color: var(--ink-2); }
.service-facts { margin-top: 28px; border-top: 1px solid var(--line); }
.service-facts div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.service-facts dt { color: var(--muted); }
.service.is-dark { background: var(--dark); color: #fff; --spot: rgba(90, 184, 143, .22); }
.service.is-dark:hover { box-shadow: 0 40px 80px -36px rgba(14, 23, 28, .7); }
.service.is-dark .service-question, .service.is-dark .service-facts dt { color: var(--dark-muted); }
.service.is-dark .service-body > p { color: #d5dbde; }
.service.is-dark .service-facts, .service.is-dark .service-facts div { border-color: var(--dark-line); }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps { gap: 12px; }
.steps li {
  counter-increment: step; padding: 24px 24px 32px; border-radius: var(--r-md);
  transition: background-color .5s ease, box-shadow .5s ease, transform .6s var(--ease-out);
}
.steps li:hover { background: var(--paper); transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(18, 21, 24, .3); }
.steps li::before {
  content: counter(step);
  display: block;
  font-size: clamp(96px, 11vw, 176px); font-weight: 500; line-height: .8; letter-spacing: -.06em;
  color: #d6d8d9; margin-bottom: 36px;
  transition: color .5s ease, transform .7s var(--ease-out);
}
.steps li:hover::before { color: var(--ink); transform: translateX(10px); }
.steps h3 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 12px; padding-top: 18px; border-top: 1px solid var(--ink); }
.steps p { color: var(--ink-2); font-size: 17px; }

/* ---------- Arbeitsweise (dunkel) ---------- */
.dark { background: var(--dark); color: #fff; }
.approach { position: relative; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.approach h2 { font-size: clamp(56px, 8.4vw, 148px); letter-spacing: -.06em; line-height: .88; position: sticky; top: 120px; }
.approach-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.principles div {
  position: relative; padding: 34px 24px 34px 0; border-top: 1px solid var(--dark-line);
  background: linear-gradient(90deg, rgba(90, 184, 143, .1), transparent 70%) 0 0 / 0 100% no-repeat;
  transition: background-size .8s var(--ease-out);
}
.principles div:last-child { border-bottom: 1px solid var(--dark-line); }
.principles div::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: var(--dot); box-shadow: 0 0 16px rgba(90, 184, 143, .7);
  transform: scale(0); transition: transform .5s var(--ease-out);
}
.principles dt, .principles dd { transition: transform .7s var(--ease-out), color .4s ease; }
.principles div:hover { background-size: 100% 100%; }
.principles div:hover::before { transform: scale(1); }
.principles div:hover dt, .principles div:hover dd { transform: translateX(34px); }
.principles div:hover dd { color: #c9d3d8; }
.principles dt { font-size: clamp(26px, 2.2vw, 36px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.principles dd { margin-top: 10px; color: var(--dark-muted); max-width: 30em; }

/* ---------- Über mich ---------- */
.about { background: var(--paper); }
.about-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.portrait { position: sticky; top: 110px; border-radius: var(--r-lg); overflow: hidden; --spot: rgba(255, 255, 255, .18); }
.portrait::after { z-index: 1; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--bg); transition: transform 1.2s var(--ease-out), filter .8s ease; filter: grayscale(.15); }
.portrait:hover img { transform: scale(1.045); filter: none; }
.about h2 { font-size: clamp(48px, 6.4vw, 104px); letter-spacing: -.055em; line-height: .92; }
.about-lead { margin-top: 32px; font-size: clamp(22px, 1.2vw + 14px, 30px); line-height: 1.25; letter-spacing: -.025em; max-width: 20em; }
.about-text > p:not(.about-lead) { margin-top: 20px; color: var(--ink-2); max-width: 34em; }
.quote { margin: 56px 0; }
.quote p { font-size: clamp(30px, 2.8vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.cv { border-top: 1px solid var(--line); max-width: 44em; }
.cv li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.cv span { color: var(--ink); font-weight: 500; }
.cv li { transition: padding .5s var(--ease-out), color .3s ease; }
.cv li:hover { padding-left: 10px; color: var(--ink-2); }

/* ---------- Eigenes Format ---------- */
.service-custom {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-top: 16px; padding: clamp(28px, 2.6vw, 44px);
  border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .5s ease, box-shadow .5s ease, transform .6s var(--ease-out);
}
.service-custom:hover { background: var(--paper); box-shadow: inset 0 0 0 1px transparent, 0 30px 60px -36px rgba(18, 21, 24, .3); transform: translateY(-4px); }
.service-custom > div { max-width: 46em; min-width: 0; }
.service-custom h3 { font-size: clamp(28px, 2.4vw, 40px); letter-spacing: -.04em; line-height: 1.05; }
.service-custom p { margin-top: 12px; color: var(--ink-2); }

/* ---------- Häufige Fragen ---------- */
.faq-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.faq h2 { font-size: clamp(48px, 6.4vw, 104px); letter-spacing: -.055em; line-height: .92; position: sticky; top: 120px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(20px, 1.4vw, 24px); font-weight: 500; letter-spacing: -.025em; line-height: 1.25;
  transition: padding .5s var(--ease-out), color .3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { padding-left: 10px; }
.faq-icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .3s ease, box-shadow .3s ease, transform .5s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-icon { background: var(--ink); color: #fff; box-shadow: none; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--dot); color: #fff; box-shadow: none; }
.faq-item p { padding: 0 64px 28px 0; color: var(--ink-2); max-width: 40em; }
.faq-item[open] p { animation: faq-open .5s var(--ease-out); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Link "Mehr erfahren" in den Leistungskarten ---------- */
.service-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
  font-weight: 500; text-decoration: none; letter-spacing: -.01em;
}
.service.is-dark .service-link { border-color: var(--dark-line); }
.service-arrow {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color .4s ease, transform .6s var(--ease-out), box-shadow .4s ease;
}
.service-arrow::before, .service-arrow::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: background-color .4s ease; }
.service-arrow::before { width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; }
.service-arrow::after { width: 7px; height: 7px; background: none; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translate(-1px, -50%) rotate(45deg); margin-left: 0; }
.service-link:hover .service-arrow, .format-link:hover .service-arrow { background: var(--dot); box-shadow: inset 0 0 0 1.5px var(--dot); color: #fff; transform: translateX(4px); }

/* ---------- Unterseiten ---------- */
.sub-hero { padding: 128px 0 clamp(64px, 8vw, 120px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 15px; color: var(--muted); margin-bottom: clamp(32px, 5vw, 72px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.sub-title { font-size: clamp(52px, 9vw, 150px); letter-spacing: -.055em; line-height: .92; max-width: 11em; }
.sub-question { margin-top: 20px; font-size: clamp(24px, 2.4vw, 40px); letter-spacing: -.035em; line-height: 1.1; color: var(--muted); }
.sub-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-top: clamp(40px, 5vw, 72px); }
.facts-bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(48px, 6vw, 88px); }
.facts-bar div { padding: 20px 22px; border-radius: var(--r-md); background: var(--paper); box-shadow: 0 0 0 1px rgba(18, 21, 24, .04); }
.facts-bar dt { font-size: 14px; color: var(--muted); }
.facts-bar dd { margin-top: 4px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.subpage .situations { padding-top: 0; }
.fit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.subpage .process { padding-top: 0; }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps-5 li::before { font-size: clamp(80px, 8vw, 132px); }
.subpage .approach h2 { font-size: clamp(44px, 5.6vw, 92px); line-height: .95; }
.results { counter-reset: none; }
.results li {
  position: relative; padding: 26px 0 26px 34px; border-top: 1px solid var(--dark-line);
  font-size: clamp(22px, 1.8vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.2;
  transition: padding .6s var(--ease-out);
}
.results li:last-child { border-bottom: 1px solid var(--dark-line); }
.results li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 14px rgba(90, 184, 143, .6); }
.results li:hover { padding-left: 46px; }
.faq-more { padding-top: 24px; color: var(--muted); font-size: 16px; }
.cta-band {
  padding: clamp(36px, 5vw, 80px); border-radius: var(--r-lg); background: var(--dark); color: #fff;
  --spot: rgba(90, 184, 143, .2);
}
.cta-band h2 { font-size: clamp(40px, 5.6vw, 92px); letter-spacing: -.055em; line-height: .95; max-width: 12em; }
.cta-band p { margin-top: 20px; color: #c9d3d8; max-width: 32em; }
.cta-band .hero-actions { justify-content: flex-start; margin-top: 36px; gap: 24px; }
.cta-phone { color: #fff; text-decoration: none; font-weight: 500; padding: 10px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease-out); }
.cta-phone:hover { background-size: 100% 1.5px; }
.more-formats { margin-top: clamp(72px, 9vw, 140px); }
.more-title { font-size: clamp(32px, 3.2vw, 52px); letter-spacing: -.045em; margin-bottom: 28px; }
.format-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.format-link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 24px;
  padding: clamp(24px, 2.6vw, 40px); border-radius: var(--r-lg); background: var(--paper); text-decoration: none;
  box-shadow: 0 0 0 1px rgba(18, 21, 24, .04);
  transition: transform .6s var(--ease-out), box-shadow .5s ease;
}
.format-link:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(18, 21, 24, .06), 0 30px 60px -34px rgba(18, 21, 24, .35); }
.format-name { font-size: clamp(26px, 2.4vw, 38px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.format-q { grid-column: 1; color: var(--muted); }
.format-link .service-arrow { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- Kontakt ---------- */
.contact h2 { font-size: clamp(52px, 9.6vw, 160px); letter-spacing: -.06em; line-height: .9; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); margin-top: clamp(48px, 6vw, 96px); align-items: start; }
.contact-intro > p { color: var(--ink-2); max-width: 26em; }
.contact-direct { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-direct li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.contact-direct span { color: var(--muted); }
.contact-direct a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease-out); }
.contact-direct a:hover { background-size: 100% 1.5px; }

.contact-form { position: relative; background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgba(18, 21, 24, .04), 0 40px 80px -48px rgba(18, 21, 24, .3); padding: clamp(24px, 3.4vw, 52px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label { font-size: 15px; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
input, textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--bg); border: 0; border-radius: 16px;
  padding: 14px 16px;
  box-shadow: inset 0 0 0 1.5px #8a9095;
  transition: box-shadow .2s ease, background-color .2s ease;
}
textarea { resize: vertical; min-height: 150px; }
input:hover, textarea:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
input:focus, textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.field-error { display: none; color: var(--error); font-size: 15px; }
.field.invalid input, .field.invalid textarea { box-shadow: inset 0 0 0 2px var(--error); }
.field.invalid .field-error { display: block; }
.form-note { font-size: 15px; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { padding: 16px 18px; border-radius: 16px; font-size: 16px; }
.form-status:focus { outline: none; }
.form-status.ok { background: #e6f3ec; color: #14432b; }
.form-status.err { background: #fbe9e7; color: #7c1d16; }
.contact-form.sent .field, .contact-form.sent .field-row, .contact-form.sent .form-note, .contact-form.sent button { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button { justify-self: start; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--dark); color: #fff; padding: 56px 0 32px; overflow: hidden; }
.footer-word { font-size: clamp(60px, 15.4vw, 250px); font-weight: 500; letter-spacing: -.065em; line-height: .82; white-space: nowrap; margin: 8px 0 64px; will-change: transform; }
.footer-word .dot { display: inline-block; width: .15em; height: .15em; border-radius: 50%; background: var(--dot); margin-left: .03em; transition: box-shadow .8s var(--ease-out); }
.site-footer:hover .footer-word .dot { box-shadow: 0 0 0 .06em rgba(90, 184, 143, .2), 0 0 .5em rgba(90, 184, 143, .5); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-inner p { color: var(--dark-muted); font-size: 15px; }
.footer-inner strong { color: #fff; font-weight: 500; }
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-formats a { color: var(--dark-muted) !important; }
.footer-formats a:hover { color: #fff !important; }
.faq-item p a { text-underline-offset: 3px; }
.site-footer nav a { color: #fff; text-decoration: none; font-size: 15px; padding: 10px 0; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 150px 0 var(--section); }
.legal .wrap { max-width: 860px; }
.legal .back { display: inline-block; margin-bottom: 40px; font-size: 15px; color: var(--muted); }
.legal h1 { font-size: clamp(48px, 6vw, 96px); letter-spacing: -.055em; margin-bottom: 56px; }
.legal h2 { font-size: clamp(24px, 1vw + 18px, 32px); letter-spacing: -.03em; line-height: 1.1; margin: 52px 0 14px; }
.legal h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; margin: 28px 0 8px; }
.legal p, .legal li { max-width: 40em; color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal-box { margin-top: 32px; padding: 24px 28px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.legal-box p + p { margin-top: 12px; }
.legal .placeholder { background: #fff1c2; padding: 0 4px; border-radius: 4px; }

/* ---------- Kopfzeile: Knöpfe ---------- */
.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Übersicht (Menü) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--dark); color: #fff;
  overflow-y: auto;
  opacity: 0; transform: translateY(-16px);
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
}
.menu.open { opacity: 1; transform: none; }
.menu[hidden] { display: none; }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; padding-bottom: 40px; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 64px; margin: 12px -12px 0; padding: 0 10px 0 20px; }
.menu-close { background: #fff; color: var(--ink); }
.menu-close:hover { background: #fff; }
.menu-nav { margin: auto 0; padding: 40px 0; }
.menu-nav li { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 80ms); }
.menu.open .menu-nav li { opacity: 1; transform: none; }
.menu-nav a {
  display: inline-block; padding: 2px 0;
  font-size: clamp(44px, 7.4vw, 112px); font-weight: 500; letter-spacing: -.055em; line-height: 1;
  text-decoration: none; color: #fff; transition: color .25s ease;
}
.menu-nav ul:hover a { color: #5d6a71; }
.menu-nav ul:hover a:hover, .menu-nav a:focus-visible { color: #fff; }
.menu-foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--dark-line); }
.menu-foot a:not(.btn) { color: var(--dark-muted); text-decoration: none; font-size: 17px; padding: 10px 0; }
.menu-foot a:not(.btn):hover { color: #fff; }
.menu-foot .btn { margin-left: auto; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 18px 32px -18px rgba(0, 0, 0, .7); }
.menu :focus-visible { outline-color: #fff; }
.no-scroll { overflow: hidden; }

/* ---------- Kompass-Intro ----------
   Läuft nur, wenn das Skript im Kopf "has-intro" setzt.
   Ablauf: Schwarz. Der Kompass zeichnet sich als feine Linie ein,
   die Nadel dreht sich und bleibt auf Norden stehen. Entlang der
   Nadel reißt eine Lichtlinie auf, und die Fläche teilt sich in
   zwei Hälften, die zur Seite gleiten. Darunter liegt die Seite. */
.intro { display: none; }
.has-intro .intro {
  --black: #050708;
  --t-split: 3.05s;
  position: fixed; inset: 0; z-index: 90;
  display: block; cursor: pointer;
  color: #f2f4f3;
  animation: intro-gone 0s linear calc(var(--t-split) + 1.25s) forwards;
}
.intro-half {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(closest-side, rgba(90, 184, 143, .07), transparent 70%) center / min(120vw, 120svh) min(120vw, 120svh) no-repeat,
    var(--black);
  will-change: transform;
}
.intro-half.l { clip-path: inset(0 50% 0 0); animation: split-l 1.25s cubic-bezier(.83, 0, .17, 1) var(--t-split) forwards; }
.intro-half.r { clip-path: inset(0 0 0 50%); animation: split-r 1.25s cubic-bezier(.83, 0, .17, 1) var(--t-split) forwards; }
@keyframes split-l { to { transform: translate3d(-51vw, 0, 0); } }
@keyframes split-r { to { transform: translate3d(51vw, 0, 0); } }
@keyframes intro-gone { to { visibility: hidden; } }

/* Lichtlinie entlang der Nadel */
.intro-seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: linear-gradient(to bottom, transparent, #8be0b9 18%, #fff 50%, #8be0b9 82%, transparent);
  box-shadow: 0 0 18px 2px rgba(90, 184, 143, .55), 0 0 60px 8px rgba(90, 184, 143, .25);
  transform: scaleY(0); opacity: 0;
  animation: seam .5s cubic-bezier(.65, 0, .35, 1) calc(var(--t-split) - .45s) forwards,
             seam-out .6s ease calc(var(--t-split) + .25s) forwards;
}
@keyframes seam { from { transform: scaleY(0); opacity: 1; } to { transform: scaleY(1); opacity: 1; } }
@keyframes seam-out { from { transform: scaleY(1); opacity: 1; } to { transform: scaleY(1); opacity: 0; } }

/* Der Kompass füllt immer den Bildschirm */
.compass {
  width: min(92vw, 92svh); height: auto; overflow: visible;
  animation: compass-in 1.4s cubic-bezier(.16, 1, .3, 1) .1s both;
}
@keyframes compass-in { from { opacity: 0; transform: scale(.9); filter: blur(14px); } to { opacity: 1; transform: none; filter: blur(0); } }
.compass * { vector-effect: non-scaling-stroke; }
.c-ring { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 200px 200px; animation: draw 1.6s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.c-faint { fill: none; stroke: currentColor; stroke-opacity: .16; stroke-width: 1; }
.c-ticks { fill: none; stroke: currentColor; }
.t-minor { stroke-opacity: .28; stroke-width: 1; }
.t-mid { stroke-opacity: .55; stroke-width: 1; }
.t-major { stroke-width: 1.6; }
.c-cross { fill: none; stroke: currentColor; stroke-opacity: .1; stroke-width: 1; }
.c-nums { font-family: inherit; font-size: 8.5px; letter-spacing: .04em; text-anchor: middle; fill: currentColor; fill-opacity: .45; }
.c-letters { font-family: inherit; font-size: 21px; font-weight: 500; text-anchor: middle; fill: currentColor; }
.c-ticks, .c-nums, .c-letters, .c-faint, .c-cross { opacity: 0; animation: fade .9s ease .55s forwards; }
.c-letters { animation-delay: .8s; }
.needle {
  transform-origin: 200px 200px;
  animation: needle 2.2s cubic-bezier(.3, .1, .2, 1) .55s both;
}
.n-north { fill: var(--dot); filter: drop-shadow(0 0 6px rgba(90, 184, 143, .8)); }
.n-south { fill: none; stroke: currentColor; stroke-width: 1.2; }
.n-pin { fill: var(--black, #050708); stroke: currentColor; stroke-width: 1.4; }
@keyframes needle {
  0%   { transform: rotate(-200deg); opacity: 0; }
  8%   { opacity: 1; }
  42%  { transform: rotate(420deg); }
  60%  { transform: rotate(336deg); }
  74%  { transform: rotate(372deg); }
  86%  { transform: rotate(356deg); }
  94%  { transform: rotate(361.5deg); }
  100% { transform: rotate(360deg); }
}

/* Die Seite darunter kommt beim Teilen aus der Tiefe nach vorn */
.has-intro main, .has-intro .site-header { animation: page-in 1.5s cubic-bezier(.16, 1, .3, 1) var(--t-page, 3.15s) both; }
@keyframes page-in { from { transform: scale(.94); filter: blur(6px) brightness(.6); } to { transform: none; filter: none; } }
.has-intro .hero .reveal { animation-name: rise-only; animation-delay: calc(var(--i, 0) * 110ms + 3450ms); }
/* Ohne Ausblenden: So zählt Google die Überschrift schon beim ersten Zeichnen (wichtig für die Ladezeit-Wertung LCP). */
@keyframes rise-only { from { transform: translateY(48px); } to { transform: none; } }

/* Überspringen per Klick oder Taste */
.has-intro .intro.skip { animation: intro-skip .4s ease forwards; }
.has-intro .intro.skip * { animation-play-state: paused; }
@keyframes intro-skip { to { opacity: 0; visibility: hidden; } }
.has-intro.intro-skipped main, .has-intro.intro-skipped .site-header { animation: none; }
.has-intro.intro-skipped .hero .reveal { animation-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Bildschirmgrößen ---------- */
@media (max-width: 1100px) {
  .facts-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fit-grid { grid-template-columns: 1fr 1fr; }
  .steps-5 { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr 1fr; }
  .service.is-dark { grid-column: span 2; min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 64px; }
  .proof-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero { padding-top: 96px; }
  .hero-title .l2 { padding-left: 0; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .service-list { grid-template-columns: 1fr; }
  .service, .service.is-dark { grid-column: auto; min-height: 0; }
  .approach-stage { grid-template-columns: 1fr; }
  .approach h2 { position: static; }
  .situation-grid { grid-template-columns: 1fr; }
  .situation-grid p { min-height: 0; }
  .about-inner { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 420px; }
  .contact-inner { grid-template-columns: 1fr; }
  .faq-inner { grid-template-columns: 1fr; }
  .sub-bottom { grid-template-columns: 1fr; }
  .sub-bottom .hero-actions { justify-content: flex-start; }
  .facts-bar { grid-template-columns: 1fr 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .faq-item p { padding-right: 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .header-contact { display: none; }
  .menu-top { height: 56px; padding-left: 16px; }
  .menu-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .menu-foot .btn { margin: 16px 0 0; width: 100%; }
  .header-inner { height: 56px; padding-left: 16px; }
  .hero-title { font-size: 12vw; }
  .proof-list { grid-template-columns: 1fr; gap: 18px; }
  .steps, .steps-5 { grid-template-columns: 1fr; }
  .sub-hero { padding-top: 104px; }
  .facts-bar { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cv li, .contact-direct li { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade { animation: none; }
  .menu, .menu-nav li { transition: none; }
  .service, .btn, .steps li::before { transition: none; }
  .btn:hover, .btn:active { transform: none; }
  .service:hover { transform: none; }
  [data-tilt], [data-tilt]:hover, .situation-grid p:hover, .steps li:hover { transform: none; }
  .principles div:hover dt, .principles div:hover dd, .portrait:hover img { transform: none; }
  .service-custom:hover, .format-link:hover { transform: none; }
  .results li:hover { padding-left: 34px; }
  .faq-item[open] p { animation: none; }
}
@media (hover: none) {
  [data-spot]::after { display: none; }
}
