/* Johann Bauerfeind · Biotech Consulting
   Gestaltung nach Johanns Projekt "Portfolio" (React/Tailwind), hier als reines CSS. */

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

/* ---------- Tokens ---------- */
:root {
  --black: #000;
  --dark: #1a1a1a;          /* brand.dark */
  --ink: #171717;           /* neutral-900 */
  --gray: #d7d7d7;          /* brand.gray */
  --gray-90: rgba(215, 215, 215, .9);
  --gray-80: rgba(215, 215, 215, .8);
  --gray-70: rgba(215, 215, 215, .7);
  --gray-60: rgba(215, 215, 215, .6);
  --accent: #3b82f6;        /* brand.accent */
  --accent-strong: #2563eb; /* Flächen mit weißer Schrift (Kontrast AA) */
  --line: rgba(255, 255, 255, .1);
  --container: 80rem;
  --gutter: 1.5rem;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --font: 'Raleway', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: var(--font);
  font-variant-numeric: lining-nums;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--accent-strong); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.text-accent { color: var(--accent); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1.25rem; background: #fff; color: #000; font-weight: 700; font-size: .875rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Icons im Stil von lucide */
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--xs { width: .75rem; height: .75rem; stroke-width: 2; }
.icon--sm { width: 1rem; height: 1rem; stroke-width: 2; }
.icon--md { width: 1.25rem; height: 1.25rem; }
.icon--lg { width: 2rem; height: 2rem; stroke-width: 1.5; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-block: 1.5rem;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled {
  padding-block: 1rem;
  background: rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo {
  position: relative; z-index: 2;
  font-size: 1.125rem; font-weight: 700; letter-spacing: .2em; color: #fff;
  transition: color .3s var(--ease);
}
.logo:hover { color: var(--accent); }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-link {
  font-size: .875rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  color: var(--gray-80);
  transition: color .3s var(--ease);
}
.nav-link:hover { color: var(--accent); }
.nav-link[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: .2rem; }

.line-switch {
  display: flex; align-items: center;
  margin-left: 1rem; padding: .25rem;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
}
.line-switch__active,
.line-switch__link { padding: .25rem .75rem; font-size: .75rem; font-weight: 700; border-radius: 999px; }
.line-switch__active { color: #000; background: #fff; cursor: default; }
.line-switch__link { display: inline-flex; align-items: center; gap: .25rem; color: rgba(215, 215, 215, .7); transition: color .3s var(--ease); }
.line-switch__link:hover { color: #fff; }

.lang-switch { display: flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.lang-switch__current { color: #fff; }
.lang-switch__sep { color: rgba(255, 255, 255, .3); font-weight: 300; }
.lang-switch__link { color: var(--gray-70); transition: color .3s var(--ease); }
.lang-switch__link:hover { color: var(--accent); }

.btn-cta {
  padding: .5rem 1.5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #000; background: #fff; border: 1px solid #fff;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-cta:hover { color: #fff; background: var(--accent-strong); border-color: var(--accent-strong); }

.menu-toggle {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; margin-right: -.625rem;
  color: #fff; background: none; border: 0; cursor: pointer;
}
.menu-toggle .icon { width: 1.5rem; height: 1.5rem; stroke-width: 2; }
.menu-toggle .icon--close,
.menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (min-width: 768px) { .logo { font-size: 1.25rem; } }
@media (min-width: 1200px) and (max-width: 1379px) {
  .nav-desktop { gap: 1.5rem; }
  .line-switch { margin-left: 0; }
}
@media (min-width: 1200px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}

/* ---------- Mobile-Menü (Overlay) ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 2.5rem 3rem;
  background: #000; overflow-y: auto;
  animation: menu-in .3s var(--ease) both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 2rem; }
.mobile-menu__link { font-size: 1.5rem; font-weight: 300; color: rgba(255, 255, 255, .85); transition: color .3s var(--ease); }
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__divider { height: 1px; margin-block: 2.5rem 1.5rem; background: var(--line); }
.mobile-menu__lines { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu__label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-70); }
.mobile-menu__switch { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.mobile-menu__current { font-weight: 700; color: #fff; border-bottom: 1px solid var(--accent); }
.mobile-menu__other { display: inline-flex; align-items: center; gap: .25rem; color: var(--gray-70); }
.mobile-menu__other:hover { color: #fff; }
.mobile-menu__lines--lang { margin-top: 1.75rem; }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 38rem; height: 100vh; height: 100svh; max-height: 75rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 25%; }
.hero__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); mix-blend-mode: multiply; }
.hero__gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .88) 100%),
    linear-gradient(to right, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, 0) 70%);
}
.hero__content { position: relative; z-index: 1; animation: fade-in-up 1s var(--ease) both; }
.hero__identity { display: inline-flex; width: max-content; flex-direction: column; align-items: center; }
.hero__name {
  display: inline-block;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  font-size: clamp(2.125rem, 6vw, 4.5rem); font-weight: 500; line-height: 1.08;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gray);
  border-bottom: 1px solid transparent;
  text-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  transition: border-color .5s var(--ease);
}
.hero__name:hover { border-bottom-color: rgba(255, 255, 255, .2); }
.hero__name span { display: block; }
.hero__rule { width: 1px; height: 2rem; margin: 0 0 1.75rem; background: linear-gradient(to bottom, transparent, var(--accent), transparent); }
.hero__kicker {
  margin-bottom: 1.25rem;
  font-size: .8125rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gray-90);
}
.hero__claim {
  max-width: 30ch;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 300; line-height: 1.45;
  color: var(--gray-90);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.25rem; margin-top: 2.5rem; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 2rem;
  font-size: .875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn-ghost:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.link-down {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-80);
  transition: color .3s var(--ease);
}
.link-down .icon { transition: transform .3s var(--ease); }
.link-down:hover { color: #fff; }
.link-down:hover .icon { transform: translateY(.25rem); }

@media (max-width: 767px) {
  /* Handy: Foto nur oben, Text auf Schwarz darunter, damit das Gesicht frei bleibt */
  .hero__media { bottom: auto; height: 60%; }
  .hero__media img { object-position: 72% 20%; }
  .hero__gradient {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .75) 82%, #000 100%);
  }
  .hero { padding-bottom: 3rem; }
  .hero__name { font-size: 2rem; margin-bottom: 1rem; padding-bottom: .5rem; }
  .hero__rule { height: 1.5rem; margin-bottom: 1.25rem; }
  .hero__actions { margin-top: 2rem; }
}

@media (min-width: 768px) {
  .hero { align-items: center; padding-bottom: 0; }
  .hero__content { padding-top: 5rem; }
  .hero__rule { height: 3rem; margin-bottom: 2rem; }
  .hero__actions { margin-top: 3rem; }
}

@keyframes fade-in-up { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }

/* ---------- Sektionen ---------- */
.section { position: relative; padding-block: 5rem; overflow: hidden; }
.section--dark { background: var(--dark); }
.section--black { background: var(--black); }
@media (min-width: 768px) {
  .section { padding-block: 6rem; }
  .section--lg { padding-block: 8rem; }
}

.eyebrow {
  display: block; margin-bottom: 1rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
}
.h2 {
  margin-bottom: 2rem;
  font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 300; line-height: 1.15;
  color: var(--gray);
}
.h2 strong { color: #fff; font-weight: 700; }
.h2--white { color: #fff; }
.h2--center { margin-bottom: 0; font-size: clamp(1.875rem, 3vw, 2.25rem); color: #fff; }
.bar { width: 3rem; height: .25rem; margin-bottom: 2rem; background: var(--accent); }
.copy { margin-bottom: 1.5rem; font-size: 1.125rem; font-weight: 300; line-height: 1.65; color: var(--gray-70); }
.copy--lg { margin-bottom: 0; }
.highlight {
  padding-left: 1rem;
  font-size: 1.125rem; font-weight: 500; line-height: 1.65; color: #fff;
  border-left: 2px solid var(--accent);
}
.section-head { margin-bottom: 4rem; text-align: center; }
.section-head--left { text-align: left; }
.section-head--left .h2 { margin-bottom: 1rem; }
.section-intro { max-width: 40rem; font-size: 1.125rem; font-weight: 300; line-height: 1.65; color: var(--gray-70); }

/* ---------- Kundenstimmen ---------- */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.testimonial {
  display: flex; min-width: 0; flex-direction: column; margin: 0; padding: 1.5rem;
  background: var(--ink); border: 1px solid rgba(255, 255, 255, .08); border-top: 2px solid var(--accent);
}
.testimonial__quote { margin: 0; color: #fff; font-size: 1rem; font-weight: 300; line-height: 1.7; }
.testimonial__author { display: block; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.testimonial__name { display: block; color: #fff; font-size: .9375rem; font-weight: 700; }
.testimonial__role { display: block; margin-top: .25rem; color: var(--gray-70); font-size: .8125rem; line-height: 1.45; }

/* ---------- Ansatz (About) ---------- */
.split { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 3rem; }
.split__text { order: 2; width: 100%; }
.split__media { order: 1; width: 100%; }
@media (min-width: 768px) {
  .split { flex-direction: row; }
  .split__text { order: 1; width: 50%; }
  .split__media { order: 2; width: 50%; }
}
@media (min-width: 1024px) { .split { gap: 5rem; } }

.portrait { position: relative; display: flex; justify-content: center; }
.portrait__ring,
.portrait__glow { position: absolute; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.portrait__ring { width: 16rem; height: 16rem; border: 1px solid rgba(59, 130, 246, .2); }
.portrait__glow { width: 300px; height: 300px; background: linear-gradient(to top right, rgba(59, 130, 246, .12), transparent); filter: blur(64px); }
.portrait img {
  position: relative; z-index: 1;
  width: auto; max-height: 500px;
  filter: grayscale(1) drop-shadow(0 25px 25px rgba(0, 0, 0, .3));
  transition: filter .7s var(--ease);
}
.portrait:hover img { filter: grayscale(0) drop-shadow(0 25px 25px rgba(0, 0, 0, .3)); }
@media (min-width: 768px) {
  .portrait { justify-content: flex-end; }
  .portrait__ring { left: auto; right: 2.5rem; width: 24rem; height: 24rem; transform: translateY(-50%); }
  .portrait__glow { left: auto; right: 0; width: 500px; height: 500px; transform: translateY(-50%); }
  .portrait img { max-height: 600px; margin-right: 3.5rem; }
}

/* ---------- Leistungen (Karten) ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 19rem;
  overflow: hidden; border-radius: 2px;
  background: linear-gradient(160deg, #1f1f1f 0%, var(--ink) 45%, #050505 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: border-color .5s var(--ease);
}
@media (min-width: 640px) { .card { min-height: 28rem; } }
/* feines Raster als Struktur statt Foto */
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 2rem 2rem;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 80%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 80%);
  opacity: .9;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%);
  opacity: .9;
}
.card__glow {
  position: absolute; right: -30%; bottom: -25%; z-index: -1;
  width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .22), transparent 70%);
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.card__num {
  position: absolute; top: 1.75rem; left: 2rem;
  font-size: 3.5rem; font-weight: 300; line-height: 1; letter-spacing: .04em;
  color: rgba(255, 255, 255, .14);
  transition: color .5s var(--ease);
}
.card__icon { position: absolute; top: 2rem; right: 2rem; color: var(--accent); opacity: .85; }
.card__body { position: relative; padding: 2rem; transform: translateY(.5rem); transition: transform .5s var(--ease); }
.card__body::before {
  content: ''; display: block; height: 1px; margin-bottom: 1.75rem;
  background: linear-gradient(to right, rgba(255, 255, 255, .18), transparent);
}
.card__title {
  margin-bottom: 1rem; padding-left: 1rem;
  font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase;
  color: #fff;
  border-left: 4px solid var(--accent);
  -webkit-hyphens: manual; hyphens: manual;
}
.card__text {
  padding-left: 1rem;
  font-size: .9375rem; line-height: 1.65; color: var(--gray-90);
  border-left: 4px solid transparent;
  transition: border-color .5s var(--ease);
}
.card:hover { border-color: rgba(59, 130, 246, .3); }
.card:hover::before { transform: scale(1.1); opacity: .5; }
.card:hover .card__glow { opacity: 1; }
.card:hover .card__num { color: rgba(59, 130, 246, .55); }
.card:hover .card__body { transform: none; }
.card:hover .card__text { border-left-color: rgba(215, 215, 215, .2); }
@media (min-width: 640px) {
  .card__body { min-height: 18.5rem; }
}
@media (min-width: 1200px) and (max-width: 1379px) { .card__title { font-size: 1.125rem; letter-spacing: .08em; } }

.price-note { margin-top: 3rem; text-align: center; font-size: .9375rem; letter-spacing: .02em; color: var(--gray-70); }

/* ---------- Werdegang ---------- */
.cv { position: relative; display: grid; gap: 3rem; }
.degree { font-size: 1.0625rem; font-weight: 400; line-height: 1.6; color: #fff; }
.degree__label { display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-70); }
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute; top: .5rem; bottom: .75rem; left: .3125rem; width: 1px;
  background: linear-gradient(to bottom, var(--accent), rgba(255, 255, 255, .12));
}
.timeline__item { position: relative; padding: 0 0 2.5rem 2.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ''; position: absolute; top: .3rem; left: 0;
  width: .6875rem; height: .6875rem; border-radius: 50%;
  background: var(--dark); border: 1px solid var(--accent);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.timeline__item:hover::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(59, 130, 246, .15); }
.timeline__year { display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.timeline__text { font-size: 1.125rem; font-weight: 300; line-height: 1.55; color: var(--gray); }
.timeline__note { display: block; margin-top: .25rem; font-size: .9375rem; color: var(--gray-70); }
@media (min-width: 900px) {
  .cv { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .timeline__item { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.5rem; }
  .timeline__year { margin-bottom: 0; padding-top: .3rem; }
}

/* ---------- Eigene Gründungen ---------- */
.ventures { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .ventures { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ventures { grid-template-columns: repeat(4, 1fr); } }
.venture {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 10rem; padding: 2rem;
  background: rgba(23, 23, 23, .6);
  border: 1px solid rgba(255, 255, 255, .06); border-radius: 2px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.venture::before {
  content: ''; position: absolute; top: -1px; left: -1px;
  width: 3rem; height: 2px; background: var(--accent);
  transition: width .5s var(--ease);
}
.venture:hover { border-color: rgba(59, 130, 246, .3); background: rgba(23, 23, 23, .9); }
.venture:hover::before { width: calc(100% + 2px); }
.venture__name { margin-bottom: auto; padding-bottom: 2rem; font-size: 1.875rem; font-weight: 300; letter-spacing: .02em; color: #fff; }
.venture__role { font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.venture__period { margin-top: .5rem; font-size: .9375rem; color: var(--gray-70); }
@media (min-width: 1024px) { .venture { min-height: 12.5rem; } }

/* ---------- Sachverständiger (heller Teaser) ---------- */
.sv { padding-block: 5rem; background: var(--gray); color: var(--dark); border-top: 1px solid var(--line); }
.sv__card {
  display: flex; flex-direction: column; gap: 2.5rem;
  padding: 2.5rem 2rem;
  background: #fff; border-left: 8px solid #262626; border-radius: 2px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}
.sv__label { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #525252; }
.sv__title { margin-bottom: 1rem; font-size: clamp(1.5rem, 2.6vw, 1.875rem); font-weight: 700; line-height: 1.25; color: #000; }
.sv__lead { line-height: 1.65; color: #525252; }
.sv__lead strong { font-weight: 700; color: #000; }
.sv__meta { margin-top: .5rem; font-size: .875rem; font-style: italic; color: #5c5c5c; }
.sv__note { margin-top: 1rem; font-size: .9375rem; line-height: 1.6; color: #404040; }
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  padding: 1rem 2rem;
  font-weight: 700; letter-spacing: .05em;
  color: #fff; background: var(--ink);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .15);
  transition: background-color .3s var(--ease);
}
.btn-dark .icon { transition: transform .3s var(--ease); }
.btn-dark:hover { background: var(--accent-strong); }
.btn-dark:hover .icon { transform: translateX(.25rem); }
@media (max-width: 899px) { .btn-dark { width: 100%; justify-content: space-between; padding-inline: 1.5rem; } }
@media (min-width: 900px) {
  .sv__card { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem; }
  .sv__text { width: 66%; }
  .sv__action { display: flex; justify-content: flex-end; width: 34%; }
}

/* ---------- Kontakt ---------- */
.contact { position: relative; padding-block: 5rem; overflow: hidden; background: var(--ink); color: var(--gray); }
.contact__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom right, var(--ink), #000 55%, rgba(23, 23, 23, .9));
}
.contact__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 3rem 3rem;
  -webkit-mask-image: radial-gradient(ellipse at 80% 40%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 80% 40%, #000, transparent 70%);
}
.contact__grid { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4rem; }
.contact__intro .h2 { margin-bottom: 1.5rem; }
.contact__panel {
  padding: 2rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line); border-radius: 2px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.contact__panel-title { margin-bottom: 2rem; padding-left: 1rem; font-size: 1.25rem; font-weight: 500; color: #fff; border-left: 4px solid var(--accent); }
.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .05); border-radius: 2px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
a.contact-item:hover { background: rgba(255, 255, 255, .1); border-color: rgba(59, 130, 246, .3); }
.contact-item__icon { display: flex; padding: .75rem; border-radius: 50%; background: rgba(0, 0, 0, .4); color: var(--accent); transition: transform .3s var(--ease); }
a.contact-item:hover .contact-item__icon { transform: scale(1.1); }
.contact-item__label { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.contact-item__value { display: block; margin-top: .125rem; font-size: 1rem; color: var(--gray-80); overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .contact { padding-block: 8rem; }
  .contact__panel { padding: 2.5rem; }
}
@media (min-width: 1024px) {
  .contact__grid { flex-direction: row; align-items: flex-start; }
  .contact__intro, .contact__panel { width: 50%; }
  .contact__intro { padding-right: 2rem; }
}

/* ---------- Kontaktformular ---------- */
.contact-list--intro { margin-top: 2.5rem; }
.form-grid { display: grid; gap: 0 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.field label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-80); }
.field__opt { font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--gray-70); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem;
  font: inherit; font-size: 1rem; line-height: 1.5; color: #fff;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(215, 215, 215, .45); border-radius: 2px;
  color-scheme: dark;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, .35);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #f87171; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select select option { color: #fff; background: #111; }
.select::after {
  content: ''; position: absolute; top: 50%; right: 1.1rem;
  width: .5rem; height: .5rem;
  border-right: 2px solid var(--gray-80); border-bottom: 2px solid var(--gray-80);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field--check { flex-direction: row; align-items: flex-start; gap: .75rem; margin-top: .25rem; }
.field--check input { flex: none; width: 1.125rem; height: 1.125rem; margin: .2rem 0 0; padding: 0; accent-color: var(--accent-strong); cursor: pointer; }
.field--check label { font-size: .875rem; font-weight: 400; line-height: 1.6; letter-spacing: 0; text-transform: none; color: var(--gray-80); cursor: pointer; }
.field--check a, .form-status a, .form-notice a { color: #fff; border-bottom: 1px solid rgba(59, 130, 246, .7); }
.field--check a:hover, .form-status a:hover, .form-notice a:hover { border-bottom-color: #fff; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; margin-top: .75rem; padding: 1rem 1.5rem;
  font: inherit; font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--accent-strong); border: 0; border-radius: 2px; cursor: pointer;
  transition: background-color .3s var(--ease);
}
.btn-submit:hover { background: #1d4ed8; }
.btn-submit:disabled { opacity: .6; cursor: progress; }
.form-hint { margin-top: 1rem; font-size: .8125rem; color: var(--gray-70); }
.form-status { margin-top: 1rem; font-size: .9375rem; line-height: 1.55; color: #fff; }
.form-status:empty { display: none; }
.form-status--ok, .form-status--error, .form-notice { padding: .9rem 1rem; background: rgba(255, 255, 255, .05); border-left: 3px solid var(--accent); }
.form-status--error, .form-notice--error { border-left-color: #f87171; }
.form-notice { display: none; margin-bottom: 1.5rem; font-size: .9375rem; line-height: 1.55; color: #fff; }
.form-notice:target, .form-notice.is-visible { display: block; }
.form-status:focus, .form-notice:focus { outline: none; }

/* ---------- Footer ---------- */
.footer { padding-block: 4rem; background: #000; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 300; color: var(--gray-70); }
.footer__grid { display: grid; gap: 3rem; }
.footer__logo { display: block; margin-bottom: 1.5rem; font-size: 1.125rem; font-weight: 700; letter-spacing: .2em; color: #fff; }
.footer__brand p { line-height: 1.65; }
.footer__credit { margin-top: .5rem; font-size: .75rem; color: var(--gray-60); }
.footer__copy { margin-top: 1.5rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-60); }
.footer__title { margin-bottom: 1.5rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer__list { display: flex; flex-direction: column; gap: 1rem; }
.footer__list li { display: flex; align-items: flex-start; gap: .75rem; line-height: 1.5; }
.footer__list .icon { margin-top: .15rem; }
.footer__list a:hover, .footer__links a:hover { color: #fff; }
.footer__links { display: flex; flex-direction: column; gap: .75rem; }
.footer__links a {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.footer__links a:hover { border-bottom-color: #fff; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1.3fr 1fr 1fr; } }

/* ---------- Unterseiten: Seitenkopf, Inhalte ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: 8.5rem 4rem;
  background: var(--dark);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 3rem 3rem;
  -webkit-mask-image: radial-gradient(ellipse at 85% 30%, #000, transparent 65%);
  mask-image: radial-gradient(ellipse at 85% 30%, #000, transparent 65%);
}
.page-hero > .container { position: relative; }
.page-hero__grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.page-hero__title { max-width: 20ch; margin-bottom: 1.5rem; font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 300; line-height: 1.1; color: var(--gray); }
.page-hero__title strong { font-weight: 700; color: #fff; }
.page-hero__lead { max-width: 40rem; font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 300; line-height: 1.55; color: var(--gray-90); }
.page-hero__lead--sub { margin-top: 1rem; font-size: 1.0625rem; color: var(--gray-70); }
.page-hero__icon { flex: none; display: none; color: var(--accent); opacity: .85; }
.page-hero__icon .icon--lg { width: 4rem; height: 4rem; stroke-width: 1.25; }
.page-hero--about { padding-bottom: 5rem; }
.page-hero--about .bar { margin-top: 1.75rem; }
.page-hero--about .split__text .copy { margin-bottom: 1.25rem; }
@media (min-width: 768px) {
  .page-hero { padding-block: 10rem 5rem; }
  .page-hero__icon { display: block; margin-top: 3rem; }
}

.breadcrumb { margin-bottom: 2rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .8125rem; color: var(--gray-70); }
.breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: '/'; color: rgba(215, 215, 215, .4); }
.breadcrumb a { color: var(--gray-80); border-bottom: 1px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease); }
.breadcrumb a:hover { color: #fff; border-bottom-color: var(--accent); }
.breadcrumb [aria-current] { color: #fff; }

.prose > p, .prose > ul, .prose > .h3 { max-width: 46rem; }
.prose > .steps { max-width: 72rem; }
.h3 { margin: 3.5rem 0 1rem; font-size: .8125rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.prose > .h3:first-child { margin-top: 0; }
.copy--white { color: var(--gray); }
.note { margin-top: 1rem; font-size: .9375rem; color: var(--gray-70); }
.section--compact { padding-block: 3.5rem; }
@media (min-width: 768px) { .section--compact { padding-block: 4rem; } }

.steps { display: grid; gap: 1rem; margin-top: 1.5rem; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; padding: 1.75rem 1.5rem 1.5rem;
  background: linear-gradient(160deg, #1b1b1b, var(--ink) 60%, #080808);
  border: 1px solid rgba(255, 255, 255, .06); border-radius: 2px;
  transition: border-color .4s var(--ease);
}
.step::before { content: ''; position: absolute; top: -1px; left: -1px; width: 2.5rem; height: 2px; background: var(--accent); transition: width .5s var(--ease); }
.step:hover { border-color: rgba(59, 130, 246, .3); }
.step:hover::before { width: calc(100% + 2px); }
.step__num { display: block; margin-bottom: 1rem; font-size: 2.25rem; font-weight: 300; line-height: 1; color: rgba(255, 255, 255, .2); }
.step__title { margin-bottom: .5rem; font-size: 1.0625rem; font-weight: 700; letter-spacing: .02em; color: #fff; }
.step__text { font-size: .9375rem; line-height: 1.6; color: var(--gray-80); }

.result-list { display: grid; gap: .75rem; }
.result-list li { position: relative; padding-left: 1.75rem; font-size: 1.0625rem; line-height: 1.55; color: var(--gray); }
.result-list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 1rem; height: 2px; background: var(--accent); }

.cta-band { position: relative; padding-block: 4.5rem; background: linear-gradient(to bottom right, var(--ink), #000 60%, rgba(23, 23, 23, .9)); border-top: 1px solid var(--line); }
.cta-band__inner { display: flex; flex-direction: column; gap: 2rem; }
.cta-band .h2 { margin-bottom: 1rem; }
.cta-band .copy { max-width: 40rem; }
.cta-band .btn-ghost { align-self: flex-start; }
@media (min-width: 900px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band .btn-ghost { align-self: center; flex: none; }
}

.more-links { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .more-links { grid-template-columns: repeat(3, 1fr); } }
.more-link {
  display: flex; align-items: center; gap: 1rem; height: 100%;
  padding: 1.25rem 1.25rem; background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 2px; color: #fff;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.more-link:hover { border-color: rgba(59, 130, 246, .4); background: rgba(255, 255, 255, .07); }
.more-link__num { font-size: 1.5rem; font-weight: 300; color: rgba(255, 255, 255, .35); }
.more-link__name { flex: 1; font-weight: 500; line-height: 1.35; }
.more-link .icon { color: var(--accent); transition: transform .3s var(--ease); }
.more-link:hover .icon { transform: translateX(.25rem); }

.press-list { display: grid; gap: 1.5rem; max-width: 56rem; }
.press-item { position: relative; padding: 2rem; background: rgba(23, 23, 23, .6); border: 1px solid rgba(255, 255, 255, .06); border-radius: 2px; }
.press-item::before { content: ''; position: absolute; top: -1px; left: -1px; width: 3rem; height: 2px; background: var(--accent); }
.press-item__meta { margin-bottom: .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.press-item__title { margin-bottom: .75rem; font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 300; line-height: 1.25; color: #fff; }
.press-item__title a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.press-item__title a:hover { border-bottom-color: var(--accent); }
.press-item__text { margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.6; color: var(--gray-80); }
.press-item__link, .timeline__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  border-bottom: 1px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease);
}
.press-item__link:hover, .timeline__link:hover { color: #fff; border-bottom-color: #fff; }
.timeline__link { margin-top: .75rem; }
.timeline__text .timeline__link { display: flex; width: max-content; max-width: 100%; }
.cv__intro .timeline__link { margin-top: 1.25rem; }

/* Leistungskarten mit Link: ganze Karte klickbar */
.card--link .card__body, .card--link:hover .card__body { position: static; transform: none; }
.card--link .card__link::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.card--link .card__link:focus-visible { outline: none; }
.card--link:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; padding-left: 1.25rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card__more .icon { transition: transform .3s var(--ease); }
.card--link:hover .card__more .icon { transform: translateX(.25rem); }

/* ---------- Rechtstexte (Unterseiten) ---------- */
.page-legal { padding-block: 8rem 6rem; background: var(--dark); min-height: 70vh; }
.legal { max-width: 48rem; }
.staging-badge {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-bottom: 2.5rem; padding: .75rem 1.25rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: #fff; background: rgba(59, 130, 246, .12);
  border: 1px solid var(--accent); border-radius: 2px;
}
.legal h1 { margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.15; color: #fff; }
.legal h2 { margin: 3rem 0 1rem; font-size: .8125rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.legal p, .legal li { font-size: 1rem; line-height: 1.7; color: var(--gray-80); }
.legal p + p, .legal ul + p { margin-top: 1rem; }
.legal ul { margin-top: .75rem; padding-left: 1.25rem; list-style: disc; }
.legal li + li { margin-top: .25rem; }
.legal a { color: #fff; border-bottom: 1px solid rgba(59, 130, 246, .6); transition: border-color .3s var(--ease); }
.legal a:hover { border-bottom-color: #fff; }
.legal .open { color: #fff; font-weight: 500; }
.legal .stand { margin-top: 4rem; font-size: .875rem; color: var(--gray-70); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
