/* Luisa Andorff – persönliche Website
   Designsystem nach dem Designleitfaden: fast Schwarz, große weiße Typografie,
   einzelne Akzentwörter in Lavendel, feine violette Linien, 3D-Objekte im Verlauf
   Cyan → Lavendel → Violett. Die Schriften werden im <head> jeder Seite eingebunden. */

/* ------------------------------------------------------------ Tokens */
:root {
  --bg: #060509;
  --surface: #0d0a14;
  --surface-2: #120e1c;
  --ink: #f6f4fb;
  --text: #d8d4e5;
  --muted: #a49eb9;
  --faint: #7a7394;
  --lav: #d0b1ff;
  --lav-2: #be9ef6;
  --aqua: #b6e8e9;
  --violet: #a63cf0;
  --line: rgba(208, 177, 255, .3);
  --line-soft: rgba(208, 177, 255, .14);
  --grad: linear-gradient(120deg, #b6e8e9 0%, #afc4f0 30%, #a98bf5 64%, #a63cf0 100%);

  --font-display: "Archivo Expanded", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1280px;
  --radius: 28px;
  --section-space: clamp(112px, 13vw, 200px);
  --nav-h: 76px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------------------------------------ Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.62 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01";
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
/* Sehr lange Wörter (z. B. „Geschäftsprozessoptimierung“) umbrechen, statt über den Rand zu ragen */
h1, h2, h3, h4, p, li { overflow-wrap: break-word; }
.chip, .cert-title, .tl-role, .kpi-label, .card-text { -webkit-hyphens: auto; hyphens: auto; }
ul, ol { list-style: none; }
button { font: inherit; }
::selection { background: rgba(208, 177, 255, .35); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 4px; border-radius: 8px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 14px 20px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus-visible { top: 16px; }

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------ Typografie */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  font: 500 .78rem/1.2 var(--font-mono);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--lav);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h2 {
  font: 400 clamp(2.1rem, 5vw, 4.75rem)/1.04 var(--font-display);
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}
.h3 {
  font: 400 clamp(1.45rem, 2.5vw, 2.2rem)/1.14 var(--font-display);
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
.accent { font-style: normal; font-weight: 800; color: var(--lav); }
.lead {
  font: 400 clamp(1.2rem, 1.75vw, 1.55rem)/1.45 var(--font-body);
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: pretty;
}

/* feine Linie, die sich beim Scrollen zeichnet */
.divider {
  height: 1px;
  margin-bottom: clamp(48px, 6.5vw, 96px);
  background: linear-gradient(90deg, rgba(208, 177, 255, .65), rgba(166, 60, 240, .35) 45%, rgba(166, 60, 240, 0));
  transform-origin: left center;
}

/* ------------------------------------------------------------ Buttons */
.btn {
  --h: 56px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 16px;
  height: var(--h); padding: 0 8px 0 26px;
  border: 1px solid var(--line); border-radius: 999px;
  font: 600 .8rem/1 var(--font-display);
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap; cursor: pointer;
  transition: border-color .35s var(--ease), box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}
.btn .btn-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 1px solid rgba(208, 177, 255, .5);
}
.btn .btn-icon .icon { width: 17px; height: 17px; transition: transform .45s var(--ease-out); }
.btn--primary {
  background: linear-gradient(90deg, #0d0a14 28%, #4a1fb3 100%);
  border-color: rgba(176, 110, 250, .7);
}
.btn--primary::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: linear-gradient(90deg, rgba(13, 10, 20, 0) 25%, #8a4cf6 100%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.btn--outline { padding: 0 24px; background: rgba(13, 10, 20, .4); }
.btn--outline .icon, .btn--icon-plain > .icon { width: 17px; height: 17px; color: var(--lav); transition: transform .45s var(--ease-out); }
.btn--icon-plain { padding: 0 26px; }
.btn--small { --h: 42px; gap: 8px; padding: 0 16px 0 18px; font-size: .7rem; }
.btn--small .icon { width: 15px; height: 15px; color: var(--lav); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { border-color: var(--lav); box-shadow: 0 14px 44px -20px rgba(166, 60, 240, .9); }
  .btn--primary:hover::before { opacity: .6; }
  .btn:hover .btn-icon .icon { transform: translateY(2px); }
  .btn:hover > .icon { transform: translate(2px, -2px); }
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 2px;
  font: 500 .98rem/1 var(--font-body); color: var(--text);
  transition: color .3s var(--ease);
}
.link-arrow .icon { width: 17px; height: 17px; color: var(--lav); transition: transform .45s var(--ease-out); }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover .icon { transform: translateY(2px); }

/* ------------------------------------------------------------ Navigation */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(6, 5, 9, .8);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font: 800 1.4rem/1 var(--font-display); letter-spacing: -.01em;
  color: var(--ink); padding: 10px 4px 10px 0;
}
.logo-dot { color: var(--lav); }
.nav-links { display: flex; gap: clamp(22px, 2.6vw, 40px); }
.nav-links a {
  position: relative; display: block; padding: 12px 0;
  font: 500 .95rem/1 var(--font-body); color: var(--muted);
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--lav); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-ext {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 2px;
  font: 500 .95rem/1 var(--font-body); color: var(--text);
}
.nav-ext .icon { width: 16px; height: 16px; color: var(--lav); transition: transform .45s var(--ease-out); }
.nav-ext:hover { color: var(--ink); }
.nav-ext:hover .icon { transform: translate(2px, -2px); }
.nav-back { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; font-weight: 500; color: var(--text); }
.nav-back:hover { color: var(--ink); }
.icon--flip { transform: scaleX(-1); width: 16px; height: 16px; color: var(--lav); }

.lang-switch { display: flex; align-items: center; gap: 2px; font: 500 .8rem/1 var(--font-mono); letter-spacing: .08em; }
.lang-switch a { padding: 14px 6px; color: var(--faint); transition: color .3s var(--ease); }
.lang-switch a[aria-current] { color: var(--ink); }
.lang-switch a:hover { color: var(--lav); }
.lang-sep { color: var(--faint); opacity: .7; }

.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1023px) {
  :root { --nav-h: 68px; }
  .nav, .nav-actions > .nav-ext, .nav-actions > .btn { display: none; }
  .nav-actions { gap: 10px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(13, 10, 20, .6);
    color: var(--ink); cursor: pointer;
  }
  .menu-icon { position: relative; width: 18px; height: 10px; }
  .menu-icon i {
    position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px;
    background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out);
  }
  .menu-icon i:first-child { top: 0; }
  .menu-icon i:last-child { top: 8.5px; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { top: 4.25px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { top: 4.25px; transform: rotate(-45deg); }
  .mobile-menu {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    padding: 4px 0 28px;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-links a {
    display: flex; align-items: center; min-height: 60px;
    font: 400 1.45rem/1.2 var(--font-display); letter-spacing: -.01em; color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
  }
  .mobile-links a[aria-current] { color: var(--lav); }
  .mobile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
}

/* ------------------------------------------------------------ 3D-Objekte */
.obj { position: absolute; pointer-events: none; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); will-change: transform; }
.obj img { width: 100%; height: auto; animation: float var(--dur, 11s) ease-in-out infinite var(--delay, 0s); }
.obj.is-paused img { animation-play-state: paused; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, calc(var(--amp, 12px) * -1), 0) rotate(var(--rot, 3deg)); }
}

/* ------------------------------------------------------------ Hero */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + clamp(28px, 5vh, 64px)) 0 clamp(28px, 4vh, 48px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; right: -14vw; top: -18vw;
  width: 72vw; height: 72vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(closest-side, rgba(112, 52, 224, .32), rgba(82, 34, 170, .12) 48%, rgba(6, 5, 9, 0) 72%);
}
.dot-grid {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 8px);
  width: 260px; height: 190px; opacity: .7;
  background-image: radial-gradient(rgba(208, 177, 255, .38) 1px, transparent 1.5px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(215deg, #000 15%, transparent 72%);
  mask-image: linear-gradient(215deg, #000 15%, transparent 72%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 88px);
}
.hero-title { font-weight: 400; }
.hero-eyebrow { display: flex; margin-bottom: clamp(22px, 3.2vh, 36px); }
.statement {
  display: block;
  font: 400 clamp(3.3rem, 5.6vw, 6.1rem)/.98 var(--font-display);
  letter-spacing: -.035em;
  color: var(--ink);
}
.statement .line { display: block; overflow: hidden; padding: 0 .04em .07em 0; margin-bottom: -.05em; }
.statement .line-inner { display: block; }
.hero-copy { margin-top: clamp(26px, 4vh, 40px); max-width: 35em; font-size: clamp(1.02rem, 1.15vw, 1.13rem); color: var(--text); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(28px, 4.2vh, 44px); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 500px); aspect-ratio: 1 / 1; margin-right: clamp(0px, 2vw, 24px); }
.avatar { position: absolute; inset: 0; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
.avatar-ring {
  width: 100%; height: 100%; border-radius: 50%; padding: 3px;
  background: var(--grad);
  box-shadow: 0 50px 140px -50px rgba(150, 80, 245, .7), 0 0 0 1px rgba(208, 177, 255, .08);
}
.avatar-img { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--bg); border: 7px solid var(--bg); }
.avatar-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Begrüßung: Hand winkt, wenn der Avatar ins Bild kommt (nur mit Bewegung, siehe unten) */
.greet {
  position: absolute; left: 3%; bottom: 9%; z-index: 2;
  width: clamp(58px, 5.8vw, 78px); aspect-ratio: 1 / 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #1b1330, #0b0812 70%);
  box-shadow: 0 0 0 1.5px rgba(208, 177, 255, .6), 0 18px 44px -16px rgba(166, 60, 240, .9);
  font-size: clamp(28px, 2.9vw, 38px); line-height: 1;
  opacity: 0; transform: scale(.4); pointer-events: none;
}
.greet-hand { display: block; transform-origin: 72% 78%; }

.hero-range { margin-top: clamp(40px, 7vh, 88px); padding-top: 20px; border-top: 1px solid var(--line-soft); }
.range { font: 500 .74rem/1.7 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------ Abschnitte */
.section { position: relative; padding-top: var(--section-space); }
.section-head { display: grid; justify-items: start; gap: 22px; margin-bottom: clamp(48px, 6vw, 88px); max-width: 1040px; }

/* About: Überschrift, darunter links der Leitsatz, rechts der Fließtext (asymmetrisches Raster) */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(40px, 7vw, 112px); align-items: start;
}
.about-grid .lead { max-width: 18em; }
.about-body { display: grid; gap: 18px; color: var(--text); font-size: clamp(1.02rem, 1.1vw, 1.1rem); }
.about-body p { max-width: 40em; text-wrap: pretty; }

/* About: 3D-Objekte der Wirkung-Karten – rechts neben der Überschrift (schwebend, am Desktop
   mit sanfter Mausreaktion) und klein unter dem Leitsatz, damit die linke Spalte nicht leer wirkt */
.section-head--objs {
  max-width: none; grid-template-columns: minmax(0, max-content) auto;
  justify-content: start; align-items: center; column-gap: clamp(24px, 5vw, 96px);
}
.section-head--objs > .eyebrow, .section-head--objs > .h2 { grid-column: 1; }
.section-head--objs > .h2 { max-width: 11em; }
.head-objs {
  position: relative; grid-column: 2; grid-row: 1 / span 2; align-self: center;
  width: clamp(150px, 15vw, 226px); aspect-ratio: 11 / 8; margin-top: clamp(10px, 2vw, 34px);
}
.about-obj--ring { left: 0; bottom: 0; width: 62%; --dur: 13s; --amp: 9px; --rot: -7deg; }
.about-obj--spark { right: 2%; top: 0; width: 39%; --dur: 10s; --amp: 11px; --rot: 12deg; --delay: -4s; }
.about-lead { display: grid; align-content: start; }
.about-icons { display: flex; align-items: flex-start; gap: clamp(18px, 2.3vw, 32px); margin-top: clamp(36px, 4.6vw, 64px); }
.about-icon { position: relative; width: clamp(38px, 3.3vw, 50px); --dur: 10s; --amp: 5px; --rot: 6deg; }
.about-icon:nth-child(2) { margin-top: 12px; --delay: -2.5s; }
.about-icon:nth-child(3) { margin-top: 2px; --delay: -5s; }
.about-icon:nth-child(4) { margin-top: 10px; --delay: -7.5s; }
@media (max-width: 767px) {
  /* schmal: Überschrift über die volle Breite, die Objekte klein oben rechts neben der Kennzeile
     (endet oberhalb der Überschrift, damit sie auch auf 320 px nie in den Text ragen) */
  .section-head--objs { grid-template-columns: minmax(0, 1fr); position: relative; }
  .section-head--objs > .h2 { max-width: none; }
  .head-objs { position: absolute; right: 0; top: -34px; width: 84px; margin-top: 0; }
}

/* Karten (Leitfaden: dunkle Fläche, feine Verlaufskontur) */
.card {
  position: relative; isolation: isolate;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 15, 32, .92), rgba(9, 7, 14, .92));
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(208, 177, 255, .6), rgba(208, 177, 255, .14) 55%, rgba(208, 177, 255, .04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(166, 60, 240, .2), rgba(166, 60, 240, 0) 65%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.card--glow {
  background:
    radial-gradient(115% 85% at 0% 0%, rgba(126, 64, 236, .62), rgba(70, 30, 150, .22) 38%, rgba(9, 7, 14, 0) 68%),
    linear-gradient(180deg, rgba(20, 15, 32, .92), rgba(9, 7, 14, .92));
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 34px 80px -44px rgba(166, 60, 240, .75); }
  .card:hover::after { opacity: 1; }
  .card:hover::before { background: linear-gradient(180deg, rgba(222, 200, 255, .95), rgba(166, 60, 240, .4) 55%, rgba(208, 177, 255, .1)); }
}

/* Wirkung: Kennzahlen, darunter die vier Karten in einer Reihe */
.kpis { margin-bottom: clamp(48px, 6vw, 80px); }
.kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.kpi { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 28px); padding: clamp(24px, 3vw, 36px) clamp(16px, 2.6vw, 40px); border-left: 1px solid var(--line-soft); }
.kpi:first-child { padding-left: 0; border-left: 0; }
.kpi-value {
  display: inline-flex; align-items: flex-start; flex: none;
  font: 800 clamp(3.6rem, 6.4vw, 6.4rem)/.84 var(--font-display);
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-right: .06em;
}
.kpi-prefix { font-size: .5em; line-height: 1; margin: .12em .03em 0 0; }
.kpi-text { padding-top: .2em; }
.kpi-unit { font: 500 .74rem/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--lav); }
.kpi-label { margin-top: 10px; max-width: 17em; font: 500 clamp(1rem, 1.15vw, 1.1rem)/1.38 var(--font-body); color: var(--ink); text-wrap: balance; }
.kpi-small { margin-top: 6px; max-width: 22em; font-size: .92rem; color: var(--muted); text-wrap: pretty; }

.impact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.impact-card { display: flex; flex-direction: column; padding: 20px 20px 22px; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-num {
  font: 500 .74rem/1 var(--font-mono); letter-spacing: .1em; color: var(--lav);
  padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px;
}
.card-obj { position: relative; width: clamp(56px, 5vw, 76px); margin: -4px -2px 0 0; --dur: 9s; --amp: 6px; --rot: 6deg; }
.impact-card:nth-child(2) .card-obj { --delay: -2s; }
.impact-card:nth-child(3) .card-obj { --delay: -4s; }
.impact-card:nth-child(4) .card-obj { --delay: -6s; }
.card-label {
  display: block; margin-top: auto; padding-top: 28px;
  font: 700 clamp(.8rem, .86vw, .92rem)/1.25 var(--font-display);
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
}
.label-row { display: flex; align-items: center; gap: 8px; }
.label-arrow { width: 16px; height: 16px; color: var(--lav); }
.card-label .accent-text { display: block; margin-top: 5px; }
.accent-text { color: var(--lav); }
.card-text { margin-top: 12px; color: var(--text); font-size: .95rem; line-height: 1.5; text-wrap: pretty; min-height: calc(1.5em * 4); }

/* Erfahrung */
.tl-group + .tl-group { margin-top: clamp(48px, 6vw, 80px); }
.tl-group-title {
  margin-bottom: 18px;
  font: 600 .95rem/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--lav);
}
.timeline { border-top: 1px solid var(--line-soft); }
.tl-item {
  position: relative;
  display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3.2fr);
  gap: 8px clamp(20px, 3vw, 40px); align-items: baseline;
  padding: clamp(22px, 2.5vw, 32px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.tl-item::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -.5); z-index: -1;
  background: linear-gradient(90deg, rgba(166, 60, 240, .1), rgba(166, 60, 240, 0) 70%);
  opacity: 0; transition: opacity .5s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .tl-item:hover::before { opacity: 1; } }
.tl-date {
  display: flex; align-items: center; gap: 14px;
  font: 500 .86rem/1.3 var(--font-mono); letter-spacing: .03em;
  color: var(--muted); white-space: nowrap;
}
.tl-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; border: 1.5px solid var(--lav); }
.is-current .tl-dot { border: 0; background: var(--aqua); box-shadow: 0 0 0 4px rgba(182, 232, 233, .16); }
.is-current .tl-date { color: var(--ink); }
.tl-role { font: 500 clamp(1.12rem, 1.75vw, 1.55rem)/1.28 var(--font-display); letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.tl-org { margin-top: 6px; font-weight: 500; color: var(--lav); }
.tl-loc { margin-top: 4px; font: 500 .82rem/1.4 var(--font-mono); letter-spacing: .03em; color: var(--muted); }
.experience-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px 48px; margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 3.6vw, 48px);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 150% at 100% 100%, rgba(120, 58, 230, .34), rgba(120, 58, 230, 0) 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.cta-text { max-width: 26em; font: 400 clamp(1.15rem, 1.75vw, 1.5rem)/1.4 var(--font-display); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }

/* Skills */
.section-sub {
  margin-top: 6px; padding-left: 18px; border-left: 2px solid var(--lav);
  font: 500 clamp(1.15rem, 1.6vw, 1.45rem)/1.35 var(--font-body); letter-spacing: -.01em; color: var(--ink);
}
.skill-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.skill-group { padding-top: 26px; border-top: 1px solid var(--line); }
.skill-index { font: 500 .78rem/1 var(--font-mono); letter-spacing: .12em; color: var(--faint); }
.skill-group-title { margin-top: 14px; font: 400 clamp(1.45rem, 2.3vw, 2.05rem)/1.1 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 17px 11px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(22, 14, 40, .6);
  font: 500 .95rem/1.25 var(--font-body); color: var(--ink);
}
.chip::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--aqua); }

/* Zertifikate */
.certs { margin-top: clamp(80px, 10vw, 144px); }
.certs-head { display: grid; justify-items: start; gap: 18px; margin-bottom: clamp(32px, 4vw, 48px); }
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cert-card { display: grid; align-content: start; gap: 10px; padding: 26px 26px 30px; }
.cert-icon { width: 30px; height: 30px; margin-bottom: 20px; color: var(--aqua); }
.cert-issuer { font: 500 .82rem/1 var(--font-mono); letter-spacing: .1em; color: var(--lav); }
.cert-title { font: 500 clamp(1.05rem, 1.3vw, 1.22rem)/1.32 var(--font-display); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }

/* Connect */
.connect-grid { display: grid; justify-items: start; gap: clamp(28px, 3.5vw, 44px); }
.connect-grid .h2 { max-width: 14em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Footer */
.site-footer { padding: var(--section-space) 0 36px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.footer-name { font: 800 clamp(1.4rem, 2vw, 1.8rem)/1 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
.footer-motto { margin-top: 14px; font: 500 .74rem/1.6 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-links { display: grid; gap: 2px; }
.footer-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--text); transition: color .3s var(--ease); }
.footer-link .icon { width: 15px; height: 15px; color: var(--lav); }
.footer-link:hover { color: var(--ink); }
.lang-switch--footer { margin-top: -8px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: .88rem; color: var(--faint);
}
.legal-links { display: flex; gap: 22px; }
.legal-links a { padding: 8px 0; transition: color .3s var(--ease); }
.legal-links a:hover { color: var(--ink); }

/* Rechtsseiten */
.legal { padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) 0 0; }
.legal-content { max-width: 780px; }
.legal-content h1 { margin-bottom: clamp(32px, 4vw, 48px); }
.legal-content h2 { margin: 36px 0 10px; font: 600 1.05rem/1.35 var(--font-display); letter-spacing: .01em; color: var(--ink); }
.legal-content p + p { margin-top: 12px; }
.legal-content a { color: var(--lav); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 48px 0; text-align: center; }
.nf-inner { display: grid; justify-items: center; gap: 28px; }
.logo--big { font-size: 2.2rem; }
.obj--404 { position: relative; width: 150px; }
.nf-block { display: grid; justify-items: center; gap: 18px; }
.nf-block + .nf-block { padding-top: 28px; border-top: 1px solid var(--line-soft); }
.nf-block .h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }

/* ------------------------------------------------------------ Responsiv */

@media (max-width: 999px) {
  .skill-groups { grid-template-columns: 1fr; gap: 36px; }
  .impact-grid {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
    scrollbar-width: none;
  }
  .impact-grid::-webkit-scrollbar { display: none; }
  .impact-card { flex: 0 0 min(76vw, 290px); scroll-snap-align: start; }
}
@media (max-width: 1023px) {
  .hero { justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; justify-self: start; width: min(62vw, 320px); margin: 8px 0 0 clamp(8px, 4vw, 40px); }
  .statement { font-size: clamp(2.35rem, 8.6vw, 4.6rem); }
  .hero-copy { max-width: 38em; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .lead { max-width: 26em; }
  .kpi { flex-direction: column; gap: 10px; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-top .lang-switch--footer { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 767px) {
  :root { --radius: 22px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .hero-actions .btn--outline { justify-content: center; }
  .kpi-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .kpi { flex-direction: row; align-items: center; gap: 20px; padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line-soft); }
  .kpi:first-child { padding-left: 0; }
  .kpi-value { font-size: clamp(3.6rem, 17vw, 4.6rem); min-width: 1.6em; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .skill-groups { grid-template-columns: 1fr; gap: 36px; }
  .cert-grid { grid-template-columns: 1fr; gap: 14px; }
  .experience-cta .btn { width: 100%; justify-content: space-between; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }

}
@media (max-width: 379px) {
  .statement { font-size: 2.1rem; }
  .btn { padding-left: 20px; font-size: .74rem; }
}

/* ------------------------------------------------------------ Bewegung
   Nur aktiv, wenn JavaScript läuft (Klasse "js" am <html>) und niemand
   "Bewegung reduzieren" eingestellt hat. Ohne JS ist alles sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Hero-Eintritt */
  html.js .hero .line-inner { transform: translate3d(0, 108%, 0); }
  html.js .hero-eyebrow, html.js .hero-copy, html.js .hero-actions, html.js .hero-range { opacity: 0; transform: translate3d(0, 14px, 0); }
  html.js .hero .avatar-ring { opacity: 0; transform: scale(.965); }
  html.js.is-loaded .hero .line-inner { transform: none; transition: transform 1.15s var(--ease-out); }
  html.js.is-loaded .hero .line:nth-child(2) .line-inner { transition-delay: .11s; }
  html.js.is-loaded .hero .line:nth-child(3) .line-inner { transition-delay: .22s; }
  html.js.is-loaded .hero-eyebrow,
  html.js.is-loaded .hero-copy,
  html.js.is-loaded .hero-actions,
  html.js.is-loaded .hero-range { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
  html.js.is-loaded .hero-copy { transition-delay: .45s; }
  html.js.is-loaded .hero-actions { transition-delay: .58s; }
  html.js.is-loaded .hero-range { transition-delay: .8s; }
  html.js.is-loaded .hero .avatar-ring { opacity: 1; transform: none; transition: opacity 1.3s var(--ease-out) .15s, transform 1.6s var(--ease-out) .15s; }

  /* Einblenden beim Scrollen (einmalig) */
  html.js [data-reveal] { opacity: 0; }
  html.js [data-reveal].is-visible { opacity: 1; animation: reveal .95s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
  @keyframes reveal { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }

  /* Linien zeichnen sich von links nach rechts */
  html.js .divider[data-reveal] { opacity: 1; transform: scaleX(0); }
  html.js .divider[data-reveal].is-visible { transform: scaleX(1); animation: none; transition: transform 1.5s var(--ease-out); }

  /* Begrüßung: Hand erscheint, winkt und verschwindet wieder; der Avatar neigt sich leicht */
  .avatar.is-greeting .greet { animation: greet-pop 2.8s var(--ease-out) both; }
  .avatar.is-greeting .greet-hand { animation: greet-wave 1.9s ease-in-out .3s both; }
  .avatar.is-greeting .avatar-img img { animation: greet-tilt 2.4s var(--ease-out) both; }
  @keyframes greet-pop {
    0% { opacity: 0; transform: scale(.4) translate3d(0, 12px, 0); }
    14% { opacity: 1; transform: scale(1); }
    84% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(.85); }
  }
  @keyframes greet-wave {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(18deg); }
    22% { transform: rotate(-8deg); }
    34% { transform: rotate(18deg); }
    46% { transform: rotate(-6deg); }
    58% { transform: rotate(14deg); }
    72% { transform: rotate(0deg); }
  }
  @keyframes greet-tilt {
    0%, 100% { transform: none; }
    28% { transform: rotate(-3deg) scale(1.025); }
    58% { transform: rotate(1.6deg) scale(1.025); }
    82% { transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .obj img { animation: none; }
  .card, .btn, .card::after { transition: none; }
}
@media (hover: none) {
  .obj { will-change: auto; }
}
