* { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --bg: #080c11;
      --surface: rgba(18, 24, 33, 0.86);
      --surface-solid: #121821;
      --text: #88a8c0;
      --muted: #9aa8bc;
      --soft: #c7d0df;
      --accent: #79adff;
      --accent-2: #8b5cf6;
      --green: #5cffb1;
      --line: rgba(255, 255, 255, 0.09);
      --line-strong: rgba(255, 255, 255, 0.16);
      --shadow: 0 32px 80px rgba(0,0,0,0.45);
      --radius: 28px;
      --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: -2;
      background:
        radial-gradient(circle at 10% 0%, rgba(121,173,255,0.16), transparent 31%),
        radial-gradient(circle at 100% 25%, rgba(139,92,246,0.11), transparent 34%),
        radial-gradient(circle at 50% 100%, rgba(92,255,177,0.06), transparent 30%);
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: -1;
      opacity: 0.04;
      background-image:
        linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
      background-size: 42px 42px;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; }
    p { color: var(--muted); line-height: 1.8; }
    section { padding: 110px 0; position: relative; }
    .container { width: min(1220px, 90%); margin: 0 auto; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 15px;
      margin-bottom: 22px;
      border: 1px solid rgba(121,173,255,0.22);
      background: rgba(121,173,255,0.10);
      color: var(--accent);
      border-radius: 999px;
      font-weight: 700;
      font-size: 0.88rem;
      letter-spacing: 0.02em;
    }

    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 18px rgba(92,255,177,0.55);
    }

    h1, h2, h3 { line-height: 1.05; letter-spacing: -0.04em; }
    h1 { font-size: clamp(3.2rem, 8vw, 6.9rem); font-weight: 900; margin-bottom: 28px; }
    h1 span, .gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    h2 { font-size: clamp(2.3rem, 4vw, 4.2rem); font-weight: 850; margin-bottom: 18px; }
    h3 { font-size: 1.5rem; font-weight: 800; }

    .section-title { margin-bottom: 58px; max-width: 900px; }
    .section-title p { font-size: 1.06rem; }
    .section-title.center { text-align: center; margin-inline: auto; }

    nav {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(8,12,17,0.72);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--line);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 19px 0;
      gap: 26px;
    }

    .logo { font-weight: 900; letter-spacing: 0.08em; font-size: 0.96rem; white-space: nowrap; }
    .nav-links { display: flex; align-items: center; gap: 25px; }
    .nav-links a { text-decoration: none; color: var(--muted); font-weight: 650; font-size: 0.94rem; transition: 0.25s ease; }
    .nav-links a:hover { color: var(--text); }

    .nav-toggle,
    .nav-toggle-label {
      display: none;
    }

    .nav-toggle-label {
      width: 46px;
      height: 46px;
      border: 1px solid var(--line-strong);
      border-radius: 14px;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      background: rgba(255,255,255,0.04);
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
      content: "";
      display: block;
      width: 20px;
      height: 2px;
      border-radius: 999px;
      background: var(--text);
      transition: .2s ease;
    }

    .nav-toggle-label span {
      position: relative;
    }

    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
      position: absolute;
      left: 0;
    }

    .nav-toggle-label span::before { top: -7px; }
    .nav-toggle-label span::after { top: 7px; }

    .linkedin-btn {
      padding: 10px 16px;
      border-radius: 12px;
      background: rgba(121,173,255,0.12);
      border: 1px solid rgba(121,173,255,0.26);
      color: var(--accent) !important;
    }

    .hero { min-height: 100vh; display: flex; align-items: center; padding-top: 130px; overflow: hidden; }
    .hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: center; }
    .hero-copy p { font-size: 1.15rem; max-width: 700px; }

    .hero-actions { display: flex; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 52px;
      padding: 0 24px;
      border-radius: 16px;
      font-weight: 800;
      text-decoration: none;
      transition: .25s ease;
      border: 1px solid transparent;
    }
    .btn-primary { background: var(--gradient); color: white; box-shadow: 0 18px 45px rgba(121,173,255,0.18); }
    .btn-primary:hover { transform: translateY(-3px); }
    .btn-secondary { background: rgba(255,255,255,0.035); border-color: var(--line); color: var(--text); }
    .btn-secondary:hover { background: rgba(255,255,255,0.07); }

    .hero-link { margin-top: 24px; }
    .hero-link a { color: var(--soft); text-decoration: none; font-weight: 650; }
    .hero-link a:hover { color: var(--accent); }

    .hero-card { position: relative; }
    .hero-card::before {
      content: "";
      position: absolute;
      inset: -18px;
      background: var(--gradient);
      filter: blur(50px);
      opacity: .18;
      z-index: -1;
    }
    .portrait {
      width: 100%;
      border-radius: 34px;
      border: 1px solid var(--line-strong);
      box-shadow: var(--shadow);
      object-fit: cover;
      aspect-ratio: 4 / 5;
      object-position: center top;
    }

    .intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; align-items: start; }
    .intro-card, .skill-card, .timeline, .contact-card, .imprint-card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 24px 60px rgba(0,0,0,.23);
    }
    .intro-card { padding: 34px; }
    .intro-card strong { color: var(--text); }
    .intro-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
    .mini { padding: 22px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 20px; }
    .mini b { display: block; font-size: 1.35rem; margin-bottom: 6px; }
    .mini span { color: var(--muted); font-size: .93rem; }

    .formula { padding-top: 90px; }
    .formula-visual { margin-top: 44px; border-radius: 34px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
    .formula-visual img { width: 100%; height: clamp(320px, 46vw, 620px); object-fit: cover; object-position: center 48%; }
    .formula-content { margin-top: 34px; display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
    .formula-text { padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
    .formula-text a { color: var(--accent); text-decoration: none; font-weight: 800; }
    .formula-text ul { margin-top: 18px; padding-left: 18px; color: var(--muted); line-height: 1.85; }
    .formula-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .stat { padding: 29px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
    .stat b { display: block; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; margin-bottom: 10px; }
    .stat span { color: var(--muted); font-weight: 650; }

    .awards-block { margin-top: 34px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: stretch; }
    .awards-block .formula-visual { margin-top: 0; height: 100%; }
    .awards-block .formula-visual img { height: 100%; min-height: 380px; object-position: center; }

    /* MF17 transparent PNG as chapter divider */
    .mf17-divider {
      padding: 46px 0 28px;
      overflow: hidden;
      background:
        radial-gradient(circle at center, rgba(121,173,255,.10), transparent 46%),
        linear-gradient(180deg, rgba(8,12,17,0), rgba(8,12,17,.92), rgba(8,12,17,0));
    }
    .mf17-divider img {
      width: min(1500px, 96%);
      max-height: 560px;
      margin: 0 auto;
      object-fit: contain;
      background: transparent;
      filter: drop-shadow(0 34px 60px rgba(0,0,0,.42));
    }

    .full-width-image { padding: 0; }
    .full-width-image img { width: 100%; height: 520px; object-fit: cover; display: block; }

    .skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .skill-card { padding: 32px; }
    .skill-card h3 { margin-bottom: 24px; }
    .skill-list { list-style: none; display: grid; gap: 14px; }
    .skill-list li { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--soft); }
    .skill-list li:last-child { border-bottom: 0; padding-bottom: 0; }
    .skill-list span { color: var(--muted); text-align: right; white-space: nowrap; }

    .timeline { padding: 38px; }
    .timeline-item { position: relative; padding-left: 36px; padding-bottom: 36px; border-left: 2px solid var(--line); }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-item::before { content: ""; position: absolute; left: -9px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 22px rgba(121,173,255,.45); }
    .timeline-item h3 { margin-bottom: 7px; }
    .timeline-item time { display: inline-block; color: var(--accent); font-weight: 800; margin-bottom: 12px; }

    .projects {
      overflow: hidden;
      padding-top: 120px;
    }

    /* MF17 transparent PNG as 5–8 % watermark in project section */
    .projects::before {
      content: "";
      position: absolute;
      inset: 22px 0 auto 0;
      height: 1080px;
      background: url("assets/mf17_transparent.png") center top / min(1500px, 90%) auto no-repeat;
      opacity: .065;
      pointer-events: none;
      mask-image: linear-gradient(to bottom, transparent 0%, black 13%, black 78%, transparent 100%);
    }

    .project-stack { display: grid; gap: 42px; position: relative; }

    .case-card {
      background: rgba(18,24,33,.9);
      border: 1px solid var(--line);
      border-radius: 34px;
      overflow: hidden;
      box-shadow: 0 25px 70px rgba(0,0,0,.25);
    }

    .case-header {
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      gap: 30px;
      align-items: center;
      padding: 36px;
      border-bottom: 1px solid var(--line);
      position: relative;
      overflow: hidden;
    }

    .case-header::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(121,173,255,.13), transparent 38%);
      pointer-events: none;
    }

    .case-header > * { position: relative; }
    .case-hero-img {
      border-radius: 26px;
      overflow: hidden;
      background: #e5e7eb;
      border: 1px solid rgba(0,0,0,0.08);
      min-height: 360px;
    }
    .case-hero-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }

    .case-body { padding: 36px; }
    .case-body ul { margin-top: 20px; padding-left: 18px; color: var(--muted); line-height: 1.85; }

    .metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 6px; }
    .metric {
      background: rgba(255,255,255,.035);
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 20px;
    }
    .metric b { display: block; font-size: 1.55rem; margin-bottom: 8px; }
    .metric span { color: var(--muted); font-size: .94rem; }

    .process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
    .process-card { border-radius: 22px; overflow: hidden; border: 1px solid rgba(0,0,0,0.08); background: #e5e7eb; display:flex; flex-direction:column; }
    .process-card img { width: 100%; height: 480px; object-fit: cover; }
    .process-card.contain img { object-fit: contain; padding: 14px; }
    .process-card figcaption { padding: 16px 18px; color: var(--soft); font-weight: 750; border-top: 1px solid var(--line); }
    .process-card.wide { grid-column: span 2; }
    .process-card.wide img { height: 720px; object-fit: contain; padding: 16px; }
    .process-card.real img { height: 720px; object-fit: cover; }

    .contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .contact-card { padding: 28px; }
    .contact-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
    .contact-card a { text-decoration: none; color: var(--muted); }
    .contact-card a:hover { color: var(--accent); }

    .imprint-card { padding: 34px; max-width: 1200px; }
    footer { padding: 38px 0; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }

    @media (max-width: 1060px) {
      .hero-grid, .intro-grid, .awards-block, .case-header { grid-template-columns: 1fr; }
      .skills-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
      .mf17-divider img { width: 98%; max-height: 720px; }
    }

    @media (max-width: 760px) {
      section { padding: 78px 0; }
      .container { width: min(100% - 28px, 1220px); }
      .hero { padding-top: 105px; }
      .hero-grid { gap: 38px; }
      .hero-actions { flex-direction: column; }
      .btn { width: 100%; }
      .intro-highlights, .formula-stats, .skills-grid, .process-grid, .metric-grid, .contact-grid { grid-template-columns: 1fr; }
      .case-hero-img, .process-card img, .process-card.wide img, .process-card.real img { min-height: unset; height: auto; max-height: none; }
      .mf17-divider { padding: 32px 0 18px; }
      .mf17-divider img { width: 112%; margin-left: -6%; }
      .full-width-image img { height: 1080px; }
      h1 { font-size: clamp(3rem, 18vw, 4.6rem); }
    }

    @media (max-width: 1060px) {
      :root {
        --radius: 20px;
      }

      body::before {
        background:
          radial-gradient(circle at 50% 0%, rgba(121,173,255,0.13), transparent 42%),
          radial-gradient(circle at 50% 100%, rgba(92,255,177,0.055), transparent 36%);
      }

      body::after {
        background-size: 30px 30px;
      }

      nav {
        background: rgba(8,12,17,0.9);
      }

      .nav-inner {
        padding: 13px 0;
        position: relative;
      }

      .nav-toggle-label {
        display: inline-flex;
      }

      .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: grid;
        gap: 6px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(18,24,33,0.98);
        box-shadow: 0 24px 60px rgba(0,0,0,.36);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: .2s ease;
      }

      .nav-links a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 12px;
        border-radius: 12px;
      }

      .nav-links a:hover {
        background: rgba(255,255,255,0.055);
      }

      .linkedin-btn {
        justify-content: center;
        margin-top: 4px;
      }

      .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
      }

      .nav-toggle:checked ~ .nav-toggle-label span::before {
        top: 0;
        transform: rotate(45deg);
      }

      .nav-toggle:checked ~ .nav-toggle-label span::after {
        top: 0;
        transform: rotate(-45deg);
      }

      .nav-toggle:checked ~ .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }
    }

    @media (max-width: 640px) {
      .container { width: min(100% - 24px, 1220px); }
      .logo { font-size: .82rem; letter-spacing: .06em; }
      .eyebrow { font-size: .76rem; padding: 8px 12px; gap: 8px; }
      h1 { font-size: clamp(2.55rem, 15vw, 4.2rem); margin-bottom: 20px; }
      h2 { font-size: clamp(2rem, 10vw, 3rem); }
      h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
      p { line-height: 1.68; }
      .section-title { margin-bottom: 34px; }
      .hero { min-height: auto; padding-bottom: 64px; align-items: start; }
      .hero-copy p { font-size: 1rem; }
      .hero-card { order: -1; }
      .portrait { border-radius: 22px; max-height: 420px; object-position: center 18%; }
      .intro-card,
      .skill-card,
      .timeline,
      .contact-card,
      .imprint-card,
      .formula-text,
      .case-body {
        padding: 22px;
      }
      .formula-visual,
      .event-video-card,
      .case-card {
        border-radius: 22px;
      }
      .formula-visual img { height: clamp(240px, 62vw, 360px); }
      .awards-block .formula-visual img { min-height: 260px; }
      .event-video-copy { padding: 22px; }
      .case-header { padding: 20px; gap: 22px; }
      .case-hero-img { border-radius: 18px; min-height: 230px; }
      .case-hero-img img { padding: 10px; }
      .metric,
      .mini,
      .stat {
        padding: 18px;
        border-radius: 16px;
      }
      .timeline-item { padding-left: 26px; padding-bottom: 30px; }
      .process-card { border-radius: 18px; }
      .process-card figcaption { padding: 13px 14px; font-size: .9rem; }
      .full-width-image img { height: 360px; }
      .projects::before { height: 620px; background-size: 130% auto; }
    }
  
    /* Neutral grey backgrounds for all technical image frames */
    .case-hero-img,
    .process-card,
    .process-card.contain,
    .process-card.real,
    .process-card.system {
      background: #e5e7eb !important;
    }

    .case-hero-img img,
    .process-card img,
    .process-card.contain img,
    .process-card.real img,
    .process-card.system img {
      background: #e5e7eb !important;
    }

    .process-card {
      display: flex;
      flex-direction: column;
    }

    .process-card img {
      flex: 1;
    }

    .process-card figcaption {
      margin-top: auto;
      background: rgba(18, 24, 33, 0.96);
    }

    .process-card.system img {
      object-fit: contain;
      transform: scale(1.);
    }

    .process-card.real img {
      object-fit: contain;
      padding: 1px;
    }

    .steering-hero img {
      transform: scale(0.9);
      object-fit: contain;
      padding: 1px;
    }

  
    /* ==========================================================
       UNIVERSALE BILDSKALIERUNG
       ==========================================================
       Verwendung direkt im HTML:

       <figure class="process-card contain img-adjust scale-115">
         ...
       </figure>

       Oder frei steuerbar:

       <figure class="process-card contain img-adjust"
               style="--img-scale:1.22; --img-padding:6px; --img-fit:contain; --img-position:center;">
         ...
       </figure>

       Optionen:
       --img-scale     Skalierung, z. B. 0.90, 1.00, 1.15, 1.35
       --img-padding   Innenabstand, z. B. 0px, 8px, 20px
       --img-fit       contain oder cover
       --img-position  center, center top, center bottom
    */

    .img-adjust img {
      transform: scale(var(--img-scale, 1));
      object-fit: var(--img-fit, contain) !important;
      object-position: var(--img-position, center) !important;
      padding: var(--img-padding, 14px) !important;
      transform-origin: center center;
    }

    .scale-85 img  { --img-scale: 0.85; }
    .scale-90 img  { --img-scale: 0.90; }
    .scale-95 img  { --img-scale: 0.95; }
    .scale-100 img { --img-scale: 1.00; }
    .scale-105 img { --img-scale: 1.05; }
    .scale-110 img { --img-scale: 1.10; }
    .scale-115 img { --img-scale: 1.15; }
    .scale-120 img { --img-scale: 1.20; }
    .scale-125 img { --img-scale: 1.25; }
    .scale-130 img { --img-scale: 1.30; }
    .scale-135 img { --img-scale: 1.35; }
    .scale-140 img { --img-scale: 1.40; }
    .scale-145 img { --img-scale: 1.45; }
    .scale-150 img { --img-scale: 1.50; }

    .pad-0 img  { --img-padding: 0px; }
    .pad-4 img  { --img-padding: 4px; }
    .pad-8 img  { --img-padding: 8px; }
    .pad-12 img { --img-padding: 12px; }
    .pad-14 img { --img-padding: 14px; }
    .pad-16 img { --img-padding: 16px; }
    .pad-20 img { --img-padding: 20px; }
    .pad-24 img { --img-padding: 24px; }
    .pad-28 img { --img-padding: 28px; }
    .pad-32 img { --img-padding: 32px; }

    .fit-cover img   { --img-fit: cover; }
    .fit-contain img { --img-fit: contain; }

    .pos-center img { --img-position: center; }
    .pos-top img    { --img-position: center top; }
    .pos-bottom img { --img-position: center bottom; }
    .pos-left img   { --img-position: left center; }
    .pos-right img  { --img-position: right center; }

  
    /* Event Video */
    .event-video-section {
      padding-top: 36px;
      padding-bottom: 70px;
    }
    .event-video-card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 34px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .event-video-copy {
      padding: 34px 36px 22px;
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      gap: 28px;
      align-items: end;
    }
    .event-video-copy h3 {
      font-size: clamp(1.8rem, 3vw, 2.8rem);
      margin-bottom: 12px;
    }
    .event-video-frame {
      background: #05070a;
      border-top: 1px solid var(--line);
    }
    .event-video-frame video {
      width: 100%;
      max-height: 680px;
      display: block;
      object-fit: cover;
      background: #05070a;
    }
    @media (max-width: 900px) {
      .event-video-copy { grid-template-columns: 1fr; }
    }
