/* =============================================================================
   Bewerbungsseite Marie Kautz – Stylesheet
   -----------------------------------------------------------------------------
   Aufbau:
     01  Schriften (lokal, DSGVO-konform)
     02  Design-Tokens (Farben, Schriften, Abstände)
     03  Basis & Helfer (Reset, Container, Buttons, Eyebrow, Tags)
     04  Preloader & Cursor
     05  Header
     06  Hero
     07  Laufband
     08  Profil & Schwerpunkte (Karten, Kennzahlen)
     09  Anzeige ↔ Profil
     10  Arbeitsprobe (Flyer vorher/nachher)
     11  KI-Hinweis
     12  Projekte (horizontaler Scroll)
     13  Ideen für die EWG
     14  Werdegang
     15  Kontakt & Footer
     16  Barrierefreiheit (reduzierte Bewegung)

   Gestaltungsregel: Alle Schatten sind harte Farbkanten (box-shadow ohne Blur),
   passend zum Vektor-Illustrationsstil. Farben aus mariekautz.de + Erdtöne.
   ========================================================================== */


/* 01  Schriften ------------------------------------------------------------ */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  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 { /* nur für den kyrillischen Namen im Preloader */
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}


/* 02  Design-Tokens -------------------------------------------------------- */
:root {
  /* Grundfarben von mariekautz.de */
  --color-bg:          #F9F9F9;
  --color-surface:     #FFFFFF;
  --color-text:        #404040;
  --color-heading:     #303030;
  --color-ink:         #0F0F0F;
  --color-muted:       #5F645A;
  --color-line:        #E5E5E5;

  /* Akzent Lachs (Shop) – hell für Flächen, dunkel für Text */
  --color-accent:          #D7AA98;
  --color-accent-shadow:   #B98673;
  --color-accent-heading:  #9A6552;  /* große Schrift, Kontrast ≥ 3:1   */
  --color-accent-text:     #7F503F;  /* kleine Schrift, Kontrast ≥ 4.5:1 */

  /* Erdtöne aus Maries Illustrationen */
  --color-blush:       #EEDBD3;
  --color-sand:        #F4E3D7;
  --color-ochre:       #E3A462;
  --color-ochre-dark:  #C98A48;
  --color-brown:       #7A4F22;
  --color-olive:       #403D2C;
  --color-olive-dark:  #2E2C20;
  --color-moss:        #56644C;
  --color-moss-dark:   #3E4A36;
  --color-on-dark:     #E8DDCE;
  --color-pen:         #C4372D;

  /* Typografie */
  --font-display: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Open Sans", "Segoe UI", Arial, sans-serif;
  --font-hand:    "Caveat", "Bradley Hand", cursive;

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
  --section-space: clamp(96px, 12vw, 150px);
  --header-height: 76px;

  color-scheme: light;
}


/* 03  Basis & Helfer ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--color-bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--color-heading); line-height: 1; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--color-accent-text); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

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

/* Kleine Überschrift über Abschnitten */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; line-height: 1.4;
  letter-spacing: .2em; text-transform: uppercase; color: var(--color-accent-text);
}
.eyebrow::before { content: ""; flex: 0 0 28px; height: 2px; background: currentColor; }
.eyebrow--on-dark  { color: var(--color-accent); }
.eyebrow--on-green { color: var(--color-sand); }

/* Große Abschnittsüberschrift */
.section-title {
  font-size: clamp(40px, 5.8vw, 90px); font-weight: 800; line-height: .92;
  letter-spacing: -.035em; text-transform: uppercase;
}
.section-title em { color: var(--color-accent-heading); }
.section-title--light { color: var(--color-sand); }
.section-title--light em { color: var(--color-accent); }

/* Buttons im Stil von mariekautz.de: schwarz, Versalien, harter Schatten */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px;
  background: var(--color-ink); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--color-accent);
  transition: transform .3s, box-shadow .3s;
}
.btn:hover { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--color-accent); }
.btn--small { padding: 12px 18px; box-shadow: 4px 4px 0 var(--color-accent); }

.tag-list, .chip-list, .project-card__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li {
  padding: 8px 14px; background: var(--color-surface); color: var(--color-heading);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; box-shadow: 3px 3px 0 var(--color-accent-shadow);
}
.chip-list li { padding: 8px 14px; background: var(--color-sand); color: var(--color-heading); font-size: 13px; font-weight: 600; }


/* 04  Preloader & Cursor --------------------------------------------------- */
.preloader { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.preloader__panel { position: absolute; inset: 0; }
.preloader__panel--accent { background: var(--color-accent); }
.preloader__panel--dark {
  display: flex; flex-direction: column; justify-content: space-between; padding: 32px;
  background: var(--color-olive);
}
.preloader__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 7vw, 96px); color: var(--color-sand); }
.preloader__count {
  align-self: flex-end; font-family: var(--font-display); font-weight: 800; line-height: .8;
  font-size: clamp(70px, 14vw, 200px); color: var(--color-accent); font-variant-numeric: tabular-nums;
}
html:not(.js) .preloader { display: none; }
/* Sicherheitsnetz: falls JavaScript hängt, verschwindet der Preloader nach 5 s von selbst */
.js .preloader { animation: preloader-failsafe 0s 5s forwards; }
@keyframes preloader-failsafe { to { visibility: hidden; } }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--color-accent-shadow); opacity: 0;
  transition: width .25s, height .25s, margin .25s, background .25s, opacity .3s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-large { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(215, 170, 152, .45); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }


/* 05  Header --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-height);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 28px;
  transition: background .3s, box-shadow .3s;
}
.site-header.is-solid { background: rgba(249, 249, 249, .95); box-shadow: 0 1px 0 var(--color-line); }
.site-header__logo { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--color-ink); text-decoration: none; }
.site-header__nav ul { display: flex; gap: 34px; }
.site-header__nav a {
  position: relative; text-decoration: none; color: var(--color-heading);
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.site-header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: right; transition: transform .35s;
}
.site-header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 900px) {
  .site-header { padding: 0 18px; height: 64px; }
  .site-header__nav { display: none; }
}


/* 06  Hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 60px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.hero__title {
  margin-bottom: 30px; font-size: clamp(36px, 5.6vw, 96px); font-weight: 800; line-height: .9;
  letter-spacing: -.035em; text-transform: uppercase;
}
.hero__title em { color: var(--color-accent-heading); }
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line > span { display: inline-block; }
.hero__intro { max-width: 54ch; font-size: clamp(17px, 1.3vw, 20px); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.hero__availability { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--color-heading); }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-moss); box-shadow: 0 0 0 4px rgba(86, 100, 76, .2); }

.hero__art { position: relative; justify-self: center; width: min(520px, 100%); aspect-ratio: 400 / 480; }
.hero__art svg { position: absolute; overflow: visible; }
.hero__wheel { top: -12%; right: -28%; width: 95%; height: auto; aspect-ratio: 1; }
.hero__portrait { inset: 0; width: 100%; height: 100%; }
.hero__note {
  position: absolute; z-index: 2; padding: 6px 14px; white-space: nowrap;
  background: var(--color-surface); color: var(--color-heading);
  font-family: var(--font-hand); font-weight: 700; font-size: 24px;
}
.hero__note--hello { left: -8%; top: 58%; transform: rotate(-5deg); box-shadow: 5px 5px 0 var(--color-ochre); }
.hero__note--pitch { right: -4%; top: 12%; transform: rotate(4deg); box-shadow: 5px 5px 0 var(--color-moss); }

.hero__scroll-hint {
  position: absolute; left: 50%; bottom: 26px; margin: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--color-muted);
}
.hero__scroll-hint span { position: relative; width: 2px; height: 44px; overflow: hidden; background: var(--color-line); }
.hero__scroll-hint span::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--color-accent-shadow); animation: scroll-drip 1.8s infinite;
}
@keyframes scroll-drip { to { top: 100%; } }

@media (max-width: 900px) {
  .hero { padding-top: 90px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; width: min(340px, 86%); margin-top: 20px; }
  .hero__note { font-size: 19px; }
  .hero__scroll-hint { display: none; }
}


/* 07  Laufband ------------------------------------------------------------- */
.marquee { overflow: hidden; padding: 22px 0; background: var(--color-olive); color: var(--color-sand); white-space: nowrap; }
.marquee__track {
  display: inline-flex; gap: 48px; will-change: transform;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 48px); text-transform: uppercase;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after {
  content: ""; width: 16px; height: 16px; transform: rotate(45deg);
  background: var(--color-accent); box-shadow: 4px 4px 0 var(--color-accent-shadow);
}


/* 08  Profil & Schwerpunkte ------------------------------------------------ */
.profile { padding: var(--section-space) 0 110px; }
.profile__statement {
  max-width: 24ch; margin: 30px 0 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 60px); line-height: 1.12;
  letter-spacing: -.02em; color: var(--color-heading);
}
.profile__statement em { color: var(--color-accent-heading); }
/* Wort-für-Wort-Effekt: unbeleuchtete Wörter bleiben lesbar (Kontrast ≥ 3:1) */
.js .profile__statement .word { color: #8A8A8A; transition: color .35s; }
.js .profile__statement .word.is-lit { color: inherit; }

.worlds { padding-bottom: 80px; }
.world-card {
  position: sticky; top: 110px; min-height: min(560px, 76svh); margin-bottom: 8vh; padding: 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 50px; align-items: center;
  transform-origin: 50% 0;
}
.world-card--sand  { background: var(--color-sand); }
.world-card--blush { background: var(--color-blush); }
.world-card--olive { background: var(--color-olive); color: var(--color-on-dark); }
.world-card--olive .world-card__title { color: var(--color-sand); }
.world-card--olive .world-card__label { color: var(--color-accent); }
.world-card__label { margin: 0; font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .2em; color: var(--color-accent-text); }
.world-card__title { margin: 14px 0 22px; font-size: clamp(34px, 4.2vw, 64px); font-weight: 800; letter-spacing: -.03em; }
.world-card__text > p { max-width: 48ch; font-size: 18px; }
.world-card .tag-list { margin-top: 22px; }
.world-card__art { width: 100%; height: auto; max-height: 420px; }
@media (max-width: 900px) {
  .world-card { top: 84px; grid-template-columns: 1fr; gap: 20px; padding: 32px; }
  .world-card__art { order: -1; max-height: 220px; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; border-block: 2px solid var(--color-heading); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 36px 28px; border-right: 1px solid var(--color-line); }
.stat:last-child { border-right: 0; }
.stat__value {
  margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(46px, 5.6vw, 86px);
  line-height: 1; letter-spacing: -.04em; color: var(--color-heading); font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--color-muted); }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--color-line); }
  .stat:nth-child(2) { border-right: 0; }
}


/* 09  Anzeige ↔ Profil ----------------------------------------------------- */
.requirements { padding: var(--section-space) 0 120px; }
.requirements__list { margin-top: 70px; border-top: 2px solid var(--color-heading); }
.requirement {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.3fr); gap: 30px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--color-line);
}
.requirement::before { /* Hover-Fläche */
  content: ""; position: absolute; inset: 0 -24px; z-index: -1; background: var(--color-sand);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.6, 0, .2, 1);
}
.requirement:hover::before { transform: scaleY(1); }
.requirement__check { width: 40px; height: 40px; }
.requirement__check rect { fill: var(--color-blush); }
.requirement__check path { fill: none; stroke: var(--color-moss); stroke-width: 4; stroke-linecap: square; }
.requirement__title { font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.requirement__text { margin: 0; }
.requirement--honest .requirement__title { color: var(--color-accent-heading); }
.requirement--honest .requirement__check rect { fill: var(--color-sand); }
.requirement--honest .requirement__check path { stroke: var(--color-accent-shadow); }
@media (max-width: 900px) {
  .requirement { grid-template-columns: 44px 1fr; gap: 16px; }
  .requirement__text { grid-column: 2; }
}


/* 10  Arbeitsprobe (Flyer) ------------------------------------------------- */
.work-sample { overflow: hidden; background: var(--color-olive); color: var(--color-on-dark); }
.work-sample__pin {
  height: 100svh; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; align-items: center;
  padding: 90px max(var(--gutter), calc((100vw - var(--container)) / 2)) 30px;
}
.work-sample__title {
  color: var(--color-sand); font-size: clamp(36px, 4.4vw, 68px); font-weight: 800; line-height: .95;
  letter-spacing: -.03em; text-transform: uppercase;
}
.work-sample__title em { color: var(--color-accent); }
.work-sample__lead { max-width: 44ch; margin-top: 24px; }
.work-sample__brief {
  max-width: 46ch; margin-top: 22px; padding: 18px 20px; font-size: 14px;
  background: var(--color-olive-dark); box-shadow: 6px 6px 0 var(--color-moss-dark);
}
.work-sample__brief strong { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent); }
.work-sample__steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.work-sample__steps li {
  padding: 8px 14px; background: var(--color-olive-dark); color: #A89E86;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: .3s;
}
.work-sample__steps li.is-active { background: var(--color-accent); color: var(--color-ink); box-shadow: 4px 4px 0 var(--color-accent-shadow); }
.work-sample__stage { position: relative; height: min(80svh, 780px); display: grid; place-items: center; }

.flyer { position: absolute; width: min(420px, 80vw); aspect-ratio: 1 / 1.414; margin: 0; will-change: transform; }
.flyer--bad img { width: 100%; height: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.flyer--good {
  display: flex; flex-direction: column; padding: 30px 28px 24px;
  background: var(--color-sand); color: var(--color-heading); box-shadow: 14px 14px 0 var(--color-accent-shadow);
}
.flyer__kicker { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--color-accent-text); }
.flyer__headline {
  margin-top: 14px; font-family: var(--font-display); font-size: 46px; font-weight: 900; line-height: .88;
  letter-spacing: -.04em; text-transform: uppercase; color: var(--color-heading);
}
.flyer__headline em { color: var(--color-moss); }
.flyer__illustration { flex: 1; min-height: 0; display: grid; place-items: center; }
.flyer__illustration svg { width: 86%; max-height: 100%; }
.flyer__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding-top: 12px; border-top: 2px solid var(--color-heading); font-size: 12.5px; line-height: 1.3; }
.flyer__facts b { display: block; margin-bottom: 2px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent-text); }
.flyer__footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 11px; color: var(--color-muted); }
.flyer__footer strong { font-size: 13px; color: var(--color-heading); }

/* Handschriftliche Korrekturnotizen */
.flyer__note {
  position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)); white-space: nowrap;
  padding: 2px 10px; background: #FFF8F2; color: var(--color-pen); box-shadow: 3px 3px 0 var(--color-pen);
  font-family: var(--font-hand); font-weight: 700; font-size: clamp(20px, 2vw, 28px); line-height: 1;
}
.flyer__note--fix { color: var(--color-moss-dark); box-shadow: 3px 3px 0 var(--color-moss); }
.flyer__strike { position: absolute; inset: -5% -7%; width: 114%; height: 110%; overflow: visible; pointer-events: none; }
.flyer__strike path { fill: none; stroke: var(--color-pen); stroke-width: 2.4; stroke-linecap: round; }
.flyer__stamp {
  position: absolute; left: 50%; top: 46%; padding: 2px 20px; white-space: nowrap;
  border: 6px solid var(--color-pen); background: rgba(255, 248, 242, .88); color: var(--color-pen);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5vw, 66px); text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-14deg);
}
/* Ohne JavaScript: beide Flyer nebeneinander, ohne Notizen */
html:not(.js) .work-sample__pin, .is-static .work-sample__pin { height: auto; grid-template-columns: 1fr; }
html:not(.js) .work-sample__stage, .is-static .work-sample__stage { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; padding: 20px 0; }
html:not(.js) .flyer, .is-static .flyer { position: relative; }
html:not(.js) .flyer__note, html:not(.js) .flyer__strike, html:not(.js) .flyer__stamp,
.is-static .flyer__note, .is-static .flyer__strike, .is-static .flyer__stamp { display: none; }

@media (max-width: 900px) {
  .work-sample__pin { grid-template-columns: 1fr; align-content: start; gap: 6px; padding-top: 80px; }
  .work-sample__lead, .work-sample__brief { display: none; }
  .work-sample__title { font-size: 28px; }
  .work-sample__stage { height: 66svh; }
  .flyer { width: min(300px, 70vw); }
  .flyer__headline { font-size: 32px; }
  .flyer__note { font-size: 18px; }
}


/* 11  KI-Hinweis ----------------------------------------------------------- */
.ai-note { padding: var(--section-space) 0; background: var(--color-blush); }
.ai-note__title { font-size: clamp(40px, 6vw, 96px); font-weight: 900; line-height: .92; letter-spacing: -.04em; text-transform: uppercase; }
.ai-note__strike { position: relative; color: var(--color-accent-heading); }
.ai-note__strike > span {
  position: absolute; left: -3%; right: -3%; top: 50%; height: .1em; background: var(--color-heading);
  transform: scaleX(0); transform-origin: 0 50%;
}
html:not(.js) .ai-note__strike > span { transform: scaleX(1); }
.ai-note__lead { max-width: 58ch; margin-top: 34px; font-size: clamp(18px, 1.5vw, 22px); color: var(--color-heading); }
.ai-note__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 70px; }
.ai-step { padding: 34px; background: var(--color-surface); box-shadow: 10px 10px 0 var(--color-accent-shadow); }
.ai-step__number { display: block; font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 1; letter-spacing: -.04em; color: var(--color-accent-heading); }
.ai-step h3 { margin: 14px 0 10px; font-size: 28px; font-weight: 800; }
.ai-step p { margin: 0; font-size: 16px; }
@media (max-width: 900px) { .ai-note__steps { grid-template-columns: 1fr; } }


/* 12  Projekte ------------------------------------------------------------- */
.projects { overflow: hidden; }
.projects__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.projects__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.projects__counter { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--color-accent-text); font-variant-numeric: tabular-nums; }
.projects__track {
  display: flex; gap: 34px; width: max-content; will-change: transform;
  padding: 44px max(var(--gutter), calc((100vw - var(--container)) / 2)) 30px;
}
.project-card {
  display: flex; flex-direction: column; width: min(420px, 78vw);
  background: var(--color-surface); box-shadow: 12px 12px 0 var(--color-blush);
  transition: transform .35s, box-shadow .35s;
}
.project-card:hover { transform: translate(8px, 8px); box-shadow: 4px 4px 0 var(--color-accent-shadow); }
.project-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.project-card__media img, .project-card__media svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-card__body { flex: 1; display: flex; flex-direction: column; padding: 26px 28px 30px; }
.project-card__meta { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent-text); }
.project-card h3 { margin: 10px 0 12px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.project-card__body > p:not(.project-card__meta) { margin: 0 0 16px; font-size: 15.5px; }
.project-card__tags { margin-top: auto; gap: 8px; }
.project-card__tags li { padding: 5px 11px; background: var(--color-sand); color: var(--color-heading); font-size: 12px; font-weight: 600; }

/* Breite Instagram-Karte mit scrollendem Handy */
.project-card--wide { flex-direction: row; width: min(720px, 88vw); }
.project-card__phone-stage { flex: 0 0 46%; display: grid; place-items: center; padding: 26px 0; background: var(--color-moss); }
.insta-phone { width: 200px; height: 422px; padding: 8px; border-radius: 30px; background: var(--color-olive-dark); box-shadow: 10px 10px 0 var(--color-moss-dark); }
.insta-phone__screen { position: relative; height: 406px; overflow: hidden; border-radius: 23px; background: #0B0F14; }
.insta-phone__feed { position: absolute; left: 0; top: 0; width: 100%; animation: insta-scroll 46s linear infinite alternate; }
.insta-phone:hover .insta-phone__feed { animation-play-state: paused; }
@keyframes insta-scroll {
  0%, 4%    { transform: translateY(0); }
  96%, 100% { transform: translateY(calc(-100% + 406px)); }
}

@media (max-width: 900px) {
  .projects__counter { display: none; }
  .projects__pin { height: auto; padding: 110px 0 70px; }
  .projects__track { flex-direction: column; width: auto; padding: 36px var(--gutter); }
  .project-card, .project-card--wide { width: auto; }
  .project-card--wide { flex-direction: column; }
}
html:not(.js) .projects__pin { height: auto; }
html:not(.js) .projects__track { flex-wrap: wrap; width: auto; }


/* 13  Ideen für die EWG ---------------------------------------------------- */
.ideas { padding: var(--section-space) 0; background: var(--color-moss); color: var(--color-on-dark); }
.ideas__lead { max-width: 60ch; margin-top: 28px; font-size: 18px; }
.ideas__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; align-items: center; margin-top: 70px; }
.idea { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid rgba(244, 227, 215, .25); }
.idea__number { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: .9; color: var(--color-accent); }
.idea h3 { margin-bottom: 10px; font-size: 28px; font-weight: 800; color: var(--color-sand); }
.idea p { margin: 0; font-size: 16px; }

.script-phone {
  justify-self: center; width: 320px; aspect-ratio: 9 / 18.5; margin: 0; padding: 12px;
  border-radius: 40px; background: var(--color-olive-dark); box-shadow: 16px 16px 0 var(--color-moss-dark);
}
.script-phone__screen { display: flex; flex-direction: column; height: 100%; padding: 42px 18px 18px; overflow: hidden; border-radius: 30px; background: var(--color-sand); color: var(--color-heading); }
.script-phone__title { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent-text); }
.script-beat { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--color-accent); font-size: 13.5px; line-height: 1.35; }
.script-beat p { margin: 0; }
.script-beat strong { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.script-beat__time { font-family: var(--font-display); font-weight: 800; color: var(--color-accent-text); }
.watchtime { margin-top: auto; }
.watchtime p { display: flex; justify-content: space-between; margin: 0; font-size: 11px; font-weight: 700; color: var(--color-muted); }
.watchtime__bar { height: 10px; margin-top: 6px; background: var(--color-blush); }
.watchtime__bar span { display: block; width: 30%; height: 100%; background: var(--color-accent-shadow); }
@media (max-width: 900px) {
  .ideas__layout { grid-template-columns: 1fr; }
  .script-phone { width: 280px; }
}


/* 14  Werdegang ------------------------------------------------------------ */
.career { padding: var(--section-space) 0 120px; }
.career__layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 80px; margin-top: 70px; }
.timeline { position: relative; padding-left: 70px; }
.timeline__line { position: absolute; left: 22px; top: 6px; bottom: 0; width: 4px; background: var(--color-line); }
.timeline__line span { position: absolute; inset: 0; background: var(--color-accent-shadow); transform: scaleY(0); transform-origin: 50% 0; }
html:not(.js) .timeline__line span { transform: none; }
.timeline__item { position: relative; padding-bottom: 54px; }
.timeline__item::before { /* Raute als Station */
  content: ""; position: absolute; left: -58px; top: 4px; width: 22px; height: 22px;
  background: var(--color-surface); border: 3px solid var(--color-heading); transform: rotate(45deg);
}
.timeline__item.is-reached::before { background: var(--color-accent); border-color: var(--color-accent-shadow); box-shadow: 3px 3px 0 var(--color-accent-shadow); }
.timeline__item time { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--color-accent-text); }
.timeline__item h3 { margin: 6px 0 8px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.timeline__item p { max-width: 60ch; margin: 0; }
.timeline__item--next h3 { color: var(--color-accent-heading); }

.skills h3 { margin-bottom: 22px; font-size: 26px; font-weight: 800; }
.skills__list { margin-bottom: 40px; }
.skill { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin-bottom: 20px; font-size: 15px; }
.skill__name { font-weight: 600; color: var(--color-heading); }
.skill__level { color: var(--color-muted); }
.skill__bar { grid-column: 1 / -1; position: relative; height: 10px; background: var(--color-line); }
.skill__bar span { position: absolute; inset: 0 auto 0 0; width: var(--level); background: var(--color-moss); box-shadow: 3px 3px 0 var(--color-moss-dark); transform-origin: 0 50%; }
@media (max-width: 900px) { .career__layout { grid-template-columns: 1fr; gap: 50px; } }


/* 15  Kontakt & Footer ----------------------------------------------------- */
.contact { overflow: hidden; padding: 160px 0 110px; background: var(--color-olive); color: var(--color-on-dark); }
.contact__title {
  color: var(--color-sand); font-size: clamp(52px, 10vw, 170px); font-weight: 900; line-height: .86;
  letter-spacing: -.05em; text-transform: uppercase;
}
.contact__title em { color: var(--color-accent); }
.contact__lead { max-width: 56ch; margin-top: 34px; font-size: 19px; }
.contact__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 64px; }
.contact-card {
  display: block; padding: 28px; text-decoration: none; background: var(--color-sand); color: var(--color-heading);
  box-shadow: 10px 10px 0 var(--color-accent); transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translate(10px, 10px); box-shadow: 0 0 0 var(--color-accent); }
.contact-card__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--color-accent-text); }
.contact-card__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 1.8vw, 26px); word-break: break-word; }
.contact__goodbye { display: flex; flex-wrap: wrap; align-items: center; gap: 34px; margin-top: 80px; }
.contact__goodbye svg { width: 150px; height: 170px; }
.contact__goodbye p { margin: 0; font-family: var(--font-hand); font-weight: 700; font-size: clamp(30px, 3vw, 42px); color: var(--color-sand); }
@media (max-width: 900px) { .contact__links { grid-template-columns: 1fr; } }

.site-footer { padding: 34px 0; background: var(--color-olive-dark); color: #C9C0AE; font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer__inner p { margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 26px; }
.site-footer__links a { color: var(--color-sand); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-footer__links a:hover { color: var(--color-accent); }


/* 16  Barrierefreiheit ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .world-card { position: relative; top: 0; }
}
