/* Gemeinsame Stile für netzer.cloud — von index.html und den
   Projektseiten unter /projekte/ genutzt. */

  :root {
    /* terminal base — near-neutral, green only as accent */
    --bg:        #07090a;
    --bg-2:      #0c1113;
    --navy:      #131a1c;
    --text:      #e9edeb;
    --text-dim:  #a2aba7;
    --muted:     #6b7773;

    /* muted phosphor accents */
    --accent:      #4fb888;
    --accent-2:    #7fd0a6;
    --accent-3:    #43a99a;
    --accent-deep: #23694c;
    --accent-ghost:rgba(79,184,136,0.12);
    --live:        #6fc79c;
    --amber:       #d8a95e;

    /* glass */
    --glass-bg:    linear-gradient(155deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02));
    --glass-bg-2:  linear-gradient(155deg, rgba(79,184,136,0.09), rgba(255,255,255,0.02));
    --glass-line:  rgba(255,255,255,0.11);
    --glass-blur:  blur(22px) saturate(135%);
    --glass-shadow: 0 24px 60px -26px rgba(0,4,3,0.88), inset 0 1px 0 rgba(255,255,255,0.12);

    --sans: "Manrope", system-ui, -apple-system, sans-serif;
    --display: "Space Grotesk", system-ui, sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --maxw: 1180px;
    --pad: clamp(20px, 5vw, 72px);
    --ease: cubic-bezier(.2,.7,.2,1);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
  }

  /* ===== ambient light field ===== */
  .ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  .ambient .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    will-change: transform;
  }
  .orb { opacity: 0.34; }
  .orb.o1 { width: 640px; height: 640px; top: -200px; left: -140px;
    background: radial-gradient(circle at 30% 30%, #1d5c43, transparent 68%);
    animation: drift1 22s ease-in-out infinite; }
  .orb.o2 { width: 580px; height: 580px; top: 6%; right: -180px;
    background: radial-gradient(circle at 50% 50%, #1b5350, transparent 66%);
    opacity: 0.26; animation: drift2 26s ease-in-out infinite; }
  .orb.o3 { width: 700px; height: 700px; bottom: -280px; left: 22%;
    background: radial-gradient(circle at 50% 50%, #16302a, transparent 70%);
    opacity: 0.5; animation: drift3 30s ease-in-out infinite; }
  .orb.o4 { width: 520px; height: 520px; top: 42%; left: -160px;
    background: radial-gradient(circle at 50% 50%, #23503c, transparent 68%);
    opacity: 0.2; animation: drift2 34s ease-in-out infinite reverse; }

  /* slow rotating aurora sweep */
  .ambient .beam {
    position: absolute;
    top: -60vh; left: 50%;
    width: 190vw; height: 190vh;
    transform: translateX(-50%);
    background: conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(79,184,136,0.07) 24deg,
      transparent 62deg,
      transparent 190deg,
      rgba(255,255,255,0.045) 222deg,
      transparent 268deg);
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 10%, transparent 72%);
            mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 10%, transparent 72%);
    animation: spin 60s linear infinite;
    will-change: transform;
  }
  .ambient .grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 74px 74px;
    -webkit-mask-image: radial-gradient(ellipse 100% 72% at 50% 0%, #000 28%, transparent 78%);
            mask-image: radial-gradient(ellipse 100% 72% at 50% 0%, #000 28%, transparent 78%);
  }
  .ambient .grain {
    position: absolute; inset: -200%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.05;
    mix-blend-mode: overlay;
    animation: grainShift 7s steps(6) infinite;
  }
  .ambient .vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 90% 70% at 50% 45%, transparent 40%, rgba(3,5,6,0.8) 100%);
  }
  /* CRT scanlines + phosphor glow */
  .ambient .scan {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.035) 0px,
      rgba(255,255,255,0.035) 1px,
      transparent 1px,
      transparent 3px);
    opacity: 0.34;
    animation: flicker 5.5s steps(30) infinite;
  }
  .ambient .sweep {
    position: absolute;
    left: 0; right: 0; height: 26vh;
    top: -30vh;
    background: linear-gradient(180deg, transparent, rgba(127,208,166,0.028), transparent);
    animation: crtSweep 9s linear infinite;
  }
  @keyframes flicker { 0%,100% { opacity: .34; } 47% { opacity: .3; } 48% { opacity: .42; } 49% { opacity: .32; } }
  @keyframes crtSweep { 0% { top: -30vh; } 100% { top: 110vh; } }
  @keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(60px,40px)} }
  @keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,50px)} }
  @keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-40px)} }
  @keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
  @keyframes grainShift {
    0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)}
    60%{transform:translate(-2%,-2%)} 80%{transform:translate(3%,1%)} 100%{transform:translate(0,0)}
  }

  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--accent); color: #03150c; }

  .wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .mono {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .mono.prompt { text-transform: none; letter-spacing: 0.02em; }
  .mono.prompt::before { content: "$ "; color: var(--accent); }

  /* ===== reusable glass ===== */
  .glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
  }
  .glass::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 55%;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.07), transparent 88%);
    pointer-events: none;
  }
  /* cursor spotlight on interactive cards */
  .spot::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(79,184,136,0.13), transparent 62%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    z-index: 0;
  }
  .spot:hover::before { opacity: 1; }
  .spot > * { position: relative; z-index: 1; }

  /* ===== boot / loading overlay ===== */
  .boot {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background: #030806;
    font-family: var(--mono);
    /* fades itself out even if JS never runs */
    animation: bootOut .55s ease 2.5s forwards;
  }
  .boot.done { animation: bootOut .55s ease forwards; }
  body.booting { overflow: hidden; }
  @keyframes bootOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }
  .boot::after {
    content: "";
    position: absolute; inset: 0;
    background: repeating-linear-gradient(180deg, rgba(127,208,166,0.05) 0 1px, transparent 1px 3px);
    pointer-events: none;
  }
  .boot-inner {
    width: min(560px, calc(100% - 44px));
    font-size: clamp(0.72rem, 1.9vw, 0.84rem);
    line-height: 1.85;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(79,184,136,0.3);
  }
  .boot-inner .cmd { color: var(--text); }
  .boot-inner .ok { color: var(--accent-2); }
  .boot-inner .dim { color: var(--muted); }
  .boot-line { opacity: 0; animation: bootLine .01s linear forwards; }
  .boot-line:nth-child(1) { animation-delay: .10s; }
  .boot-line:nth-child(2) { animation-delay: .55s; }
  .boot-line:nth-child(3) { animation-delay: .85s; }
  .boot-line:nth-child(4) { animation-delay: 1.15s; }
  .boot-line:nth-child(5) { animation-delay: 1.45s; }
  .boot-line:nth-child(6) { animation-delay: 1.75s; }
  .boot-line:nth-child(7) { animation-delay: 2.05s; }
  @keyframes bootLine { to { opacity: 1; } }
  .boot-bar {
    margin-top: 14px;
    height: 6px;
    border: 1px solid rgba(79,184,136,0.3);
    border-radius: 3px;
    overflow: hidden;
  }
  .boot-bar span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-2));
    box-shadow: 0 0 14px var(--accent);
    animation: bootFill 2.35s cubic-bezier(.5,.05,.2,1) forwards;
  }
  @keyframes bootFill { 0% { width: 0; } 35% { width: 42%; } 70% { width: 71%; } 100% { width: 100%; } }
  .caret {
    display: inline-block;
    width: 0.58em; height: 1.05em;
    margin-left: 0.14em;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    vertical-align: -0.16em;
    animation: blink 1.05s steps(2) infinite;
  }
  @keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

  /* ===== scroll progress ===== */
  .progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 60;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-3));
    transform: scaleX(0);
    transform-origin: 0 50%;
    box-shadow: 0 0 16px -2px var(--accent);
  }

  /* ============ NAV ============ */
  header {
    position: fixed;
    top: 14px; left: 0; right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    transition: top .35s var(--ease);
  }
  .nav {
    width: 100%;
    max-width: var(--maxw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    padding: 0 12px 0 20px;
    border-radius: 100px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    box-shadow: var(--glass-shadow);
    transition: box-shadow .35s ease, border-color .35s ease;
  }
  body.scrolled .nav { border-color: rgba(79,184,136,0.32); box-shadow: 0 20px 50px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(79,184,136,.08); }
  .brand {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-shadow: none;
  }
  .brand .path { color: var(--text); }
  @media (max-width: 400px) { .brand { font-size: 0.68rem; } }
  .brand .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 0 3px var(--accent-ghost);
    animation: beacon 3s ease-in-out infinite;
  }
  @keyframes beacon {
    0%,100% { box-shadow: 0 0 10px var(--accent), 0 0 0 3px var(--accent-ghost); }
    50%     { box-shadow: 0 0 18px var(--accent), 0 0 0 7px rgba(79,184,136,0.05); }
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.6vw, 22px);
  }
  .nav-links a.plain {
    position: relative;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 6px 2px;
    transition: color .2s ease;
  }
  .nav-links a.plain::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-3));
    transition: right .32s var(--ease);
  }
  .nav-links a.plain:hover { color: var(--text); }
  .nav-links a.plain:hover::after, .nav-links a.plain.active::after { right: 0; }
  .nav-links a.cta {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #03150c;
    padding: 10px 18px;
    border-radius: 100px;
    background: linear-gradient(160deg, var(--accent-2), var(--accent) 55%, #3d9f74);
    box-shadow: 0 8px 22px -10px var(--accent), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .nav-links a.cta { white-space: nowrap; }
  .nav-links a.cta .short { display: none; }
  @media (max-width: 620px) {
    .nav-links a.cta .long { display: none; }
    .nav-links a.cta .short { display: inline; }
  }
  .nav-links a.cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px var(--accent), inset 0 1px 0 rgba(255,255,255,0.4); }
  @media (max-width: 860px) { .nav-links a.plain { display: none; } }

  /* ============ SIDE RAIL ============ */
  .rail {
    position: fixed;
    left: 26px; top: 50%;
    transform: translateY(-50%);
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .rail a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .25s ease;
  }
  .rail .bead {
    width: 7px; height: 7px;
    border-radius: 50%;
    border: 1px solid rgba(160,175,168,0.42);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease);
  }
  .rail .lbl { opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s var(--ease); }
  .rail a:hover .lbl, .rail a.active .lbl { opacity: 1; transform: none; }
  .rail a:hover, .rail a.active { color: var(--text); }
  .rail a.active .bead {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    transform: scale(1.35);
  }
  @media (max-width: 1400px) { .rail { display: none; } }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    z-index: 1;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 90px;
    overflow: clip;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.85fr;
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
  }
  @media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    margin-bottom: 30px;
  }
  .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text);
    padding: 9px 16px;
    border-radius: 100px;
    background: var(--glass-bg-2);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    box-shadow: var(--glass-shadow);
  }
  .status-pill .live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 9px var(--live);
    animation: pulse 2.6s ease-in-out infinite;
  }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

  .hero h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.4rem, 6.4vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
  }
  .hero h1 .ln { display: block; overflow: hidden; white-space: nowrap; }
  .hero h1 .ch {
    display: inline-block;
    animation: charIn .9s var(--ease) both;
  }
  @keyframes charIn {
    from { opacity: 0; transform: translateY(0.85em) rotate(4deg); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: none; }
  }
  .hero h1 .accent .ch {
    background: linear-gradient(115deg, var(--accent-2) 0%, var(--accent) 30%, var(--accent-3) 55%, var(--accent-2) 80%);
    background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: charIn .9s var(--ease) both;
  }
  @keyframes sheen { to { background-position: 250% 0; } }

  .tagline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4em;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.2rem, 2.8vw, 1.85rem);
    letter-spacing: -0.015em;
    color: var(--text);
    margin-top: 30px;
  }
  .tagline .fixed { color: var(--text-dim); }
  .tagline .fixed::before { content: "> "; font-family: var(--mono); color: var(--accent); }
  .rot {
    position: relative;
    display: inline-block;
    height: 1.3em;
    overflow: hidden;
    vertical-align: bottom;
  }
  .rot-sizer { visibility: hidden; display: block; height: 0; overflow: hidden; }
  .rot-track {
    display: block;
    transition: transform .62s cubic-bezier(.7,0,.2,1);
    will-change: transform;
  }
  .rot-track span {
    display: block;
    height: 1.3em;
    line-height: 1.3em;
    background: linear-gradient(100deg, var(--accent-2), var(--accent-3));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    white-space: nowrap;
  }

  .hero p.lede {
    margin-top: 22px;
    max-width: 56ch;
    color: var(--text-dim);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
  }
  .hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    color: var(--text-dim);
    padding: 11px 16px;
    border-radius: 12px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    box-shadow: var(--glass-shadow);
    transition: transform .2s ease, color .2s ease, border-color .2s ease;
  }
  a.chip:hover { transform: translateY(-2px); color: var(--text); border-color: var(--accent); }
  .chip svg { color: var(--accent); flex: 0 0 auto; }

  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
  }
  .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 15px 24px;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  }
  .btn-primary {
    color: #03150c;
    background: linear-gradient(160deg, var(--accent-2), var(--accent) 55%, #3d9f74);
    box-shadow: 0 14px 34px -14px var(--accent), inset 0 1px 0 rgba(255,255,255,0.3);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px var(--accent), inset 0 1px 0 rgba(255,255,255,0.4); }
  .btn-primary svg { transition: transform .2s ease; }
  .btn-primary:hover svg { transform: translateX(3px); }
  .btn-ghost {
    color: var(--text);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    box-shadow: var(--glass-shadow);
  }
  .btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); }

  /* hero side card — terminal window */
  .hero-card {
    border-radius: 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .term-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(140,220,175,0.16);
    background: rgba(6,20,14,0.55);
  }
  .term-bar .tb {
    width: 10px; height: 10px; border-radius: 50%;
    background: #2b3d34;
  }
  .term-bar .tb.r { background: #ff5f57; }
  .term-bar .tb.y { background: var(--amber); }
  .term-bar .tb.g { background: var(--accent); box-shadow: 0 0 9px var(--accent); }
  .term-bar .term-title {
    margin-left: 8px;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: var(--muted);
  }
  .hero-card .body-pad { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 20px; }

  .facts { display: flex; flex-direction: column; gap: 0; }
  .fact {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px dashed rgba(140,220,175,0.14);
  }
  .fact:first-child { border-top: 0; }
  .fact .f-k {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .fact .f-k::before { content: "› "; color: var(--accent); }
  .fact .f-v { font-family: var(--mono); font-weight: 500; font-size: 0.86rem; text-align: right; color: var(--text); }
  .fact .f-v .hl { color: var(--accent-2); }

  /* mobile: kompakte zweispaltige Terminal-Ausgabe */
  @media (max-width: 980px) {
    .hero-card { margin-top: 34px; }
    .hero-card .body-pad { padding: 0; gap: 0; }
    .facts {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 20px;
      padding: 6px 18px 14px;
    }
    .fact {
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 2px;
      padding: 11px 0;
    }
    .fact .f-v { text-align: left; font-size: 0.9rem; }
    .fact:nth-child(2) { border-top: 0; }
    .fact:last-child { grid-column: 1 / -1; }
  }

  /* ============ MARQUEE BAND ============ */
  .marquee-band {
    position: relative;
    z-index: 1;
    padding: 26px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: linear-gradient(180deg, rgba(79,184,136,0.045), rgba(255,255,255,0.02));
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }
  .marquee { display: flex; width: max-content; animation: slide 34s linear infinite; }
  .marquee.rev { animation-duration: 46s; animation-direction: reverse; opacity: .45; margin-top: 8px; }
  .marquee span {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.5rem, 4.2vw, 3rem);
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(180,196,189,0.4);
    white-space: nowrap;
  }
  .marquee span i {
    font-style: normal;
    -webkit-text-stroke: 0;
    color: var(--accent);
    font-size: 0.5em;
  }
  .marquee span b {
    font-weight: 600;
    -webkit-text-stroke: 0;
    color: var(--text);
  }
  @keyframes slide { to { transform: translateX(-50%); } }
  .marquee-band:hover .marquee { animation-play-state: paused; }

  /* ============ SECTION SHELL ============ */
  section.block {
    position: relative;
    z-index: 1;
    padding-top: clamp(70px, 10vh, 130px);
    padding-bottom: clamp(70px, 10vh, 130px);
  }
  .sec-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 48px;
  }
  .sec-head .idx {
    font-family: var(--mono);
    font-size: clamp(0.8rem, 1.6vw, 1.05rem);
    letter-spacing: 0.08em;
    color: var(--accent);
    text-shadow: 0 0 18px rgba(79,184,136,0.3);
  }
  .sec-head .idx::before { content: "["; opacity: .55; }
  .sec-head .idx::after { content: "]"; opacity: .55; }
  .sec-head h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.7rem, 4.6vw, 3.1rem);
    letter-spacing: -0.03em;
    white-space: nowrap;
    background: linear-gradient(180deg, #ffffff, #a8d9c0);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  .sec-head .tail::before { content: "// "; color: var(--accent); opacity: .75; }
  .sec-head .rule {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0.14) 30%, transparent);
    align-self: center;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1.1s var(--ease) .15s;
  }
  .reveal.in .rule, .sec-head.in .rule { transform: scaleX(1); }
  .sec-head .tail { white-space: nowrap; }
  @media (max-width: 720px) {
    .sec-head { flex-wrap: wrap; gap: 12px; }
    .sec-head h2 { white-space: normal; font-size: clamp(1.5rem, 7.6vw, 2.2rem); }
    .sec-head .rule { flex-basis: 100%; }
    .sec-head .tail { display: none; }
  }

  /* ============ PROFIL ============ */
  .panel { border-radius: 26px; padding: clamp(28px, 4vw, 52px); }
  .profil-grid {
    display: grid;
    grid-template-columns: 0.46fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
  }
  @media (max-width: 760px) { .profil-grid { grid-template-columns: 1fr; gap: 24px; } }
  .profil-grid .lead {
    font-family: var(--display);
    font-size: clamp(1.5rem, 3.4vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.14;
    color: var(--text);
    text-wrap: balance;
  }
  .profil-grid .lead .hl {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.14em;
    background: linear-gradient(100deg, var(--accent-2), var(--accent-3));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  .profil-grid .body p {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    margin-bottom: 18px;
    text-wrap: pretty;
  }
  .profil-grid .body p:last-child { margin-bottom: 0; }
  .profil-grid .body p strong { color: var(--text); font-weight: 600; }

  /* ============ TIMELINE / ERFAHRUNG ============ */
  .tl-wrap { position: relative; padding-left: 46px; }
  @media (max-width: 760px) { .tl-wrap { padding-left: 26px; } }
  .tl-track {
    position: absolute;
    left: 15px; top: 6px; bottom: 6px;
    width: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
  }
  @media (max-width: 760px) { .tl-track { left: 5px; } }
  .tl-fill {
    position: absolute;
    left: 0; top: 0; width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-2), var(--accent), var(--accent-3));
    box-shadow: 0 0 14px var(--accent);
  }
  .timeline { display: flex; flex-direction: column; gap: 22px; }
  .tl-item {
    position: relative;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: clamp(20px, 4vw, 48px);
    border-radius: 22px;
    padding: clamp(24px, 3vw, 38px);
    overflow: visible;
    transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
  }
  .tl-item:hover {
    transform: translateY(-5px) scale(1.006);
    border-color: rgba(79,184,136,0.42);
    box-shadow: 0 34px 70px -32px rgba(0,0,0,.9), 0 0 0 1px rgba(79,184,136,.10);
  }
  @media (max-width: 760px) { .tl-item { grid-template-columns: 1fr; gap: 16px; } }
  .tl-node {
    position: absolute;
    left: -38px; top: 34px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 2px solid rgba(160,175,168,0.42);
    transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s var(--ease);
  }
  @media (max-width: 760px) { .tl-node { left: -26px; top: 28px; } }
  .reveal.in .tl-node, .tl-item.in .tl-node {
    background: var(--accent);
    border-color: var(--accent-2);
    box-shadow: 0 0 16px var(--accent);
    transform: scale(1.12);
  }

  .tl-meta .when {
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
  }
  .tl-meta .when::before {
    content: "";
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 9px var(--accent);
  }
  .tl-meta .org {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 7px;
  }
  .tl-meta .loc {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .tl-body .role {
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }
  .tl-body ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .tl-body li {
    position: relative;
    padding-left: 26px;
    color: var(--text-dim);
    font-size: 1rem;
    text-wrap: pretty;
    transition: color .25s ease;
  }
  .tl-item:hover .tl-body li { color: #c3cbe4; }
  .tl-body li::before {
    content: "›";
    position: absolute;
    left: 2px; top: 0;
    font-family: var(--mono);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--accent);
    transition: color .3s ease, transform .3s var(--ease);
  }
  .tl-item:hover .tl-body li::before { color: var(--accent-2); transform: translateX(2px); }
  .tl-body a.verify {
    color: var(--accent-2);
    border-bottom: 1px solid rgba(127,208,166,0.35);
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease;
  }
  .tl-body a.verify:hover { color: var(--text); border-color: var(--accent); }
  .tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .tl-tags .tag {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    color: var(--text-dim);
    padding: 6px 11px;
    border: 1px solid var(--glass-line);
    border-radius: 7px;
    background: rgba(255,255,255,0.04);
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease, transform .2s var(--ease);
  }
  .tl-tags .tag::before { content: "["; color: var(--accent); opacity: .7; }
  .tl-tags .tag::after { content: "]"; color: var(--accent); opacity: .7; }
  .tl-tags .tag:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }

  /* ============ KOMPETENZEN (bento) ============ */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }
  .skill-card { border-radius: 24px; padding: 32px 30px; transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease; }
  .skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79,184,136,0.42);
    box-shadow: 0 34px 70px -32px rgba(0,0,0,.9), 0 0 0 1px rgba(79,184,136,.10);
  }
  .sc-a { grid-column: span 3; }
  .sc-b { grid-column: span 3; }
  .sc-c { grid-column: span 4; }
  .sc-d { grid-column: span 2; }
  @media (max-width: 980px) { .skills-grid { grid-template-columns: 1fr; } .sc-a, .sc-b, .sc-c, .sc-d { grid-column: auto; } }
  .skill-card .k-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }
  .skill-card .k-num {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    padding: 4px 9px;
    border: 1px solid rgba(79,184,136,0.3);
    border-radius: 7px;
    background: rgba(79,184,136,0.07);
  }
  .skill-card .k-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.22rem;
    letter-spacing: -0.02em;
  }
  .skill-list { display: flex; flex-wrap: wrap; gap: 9px; }
  .skill-list span {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: -0.005em;
    color: var(--text-dim);
    padding: 9px 14px;
    border: 1px solid var(--glass-line);
    border-radius: 10px;
    background: rgba(255,255,255,0.045);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px) scale(.96);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s ease, border-color .2s ease, background .2s ease;
  }
  .skill-list span::before { content: "▸ "; color: var(--accent); }
  .reveal.in .skill-list span { opacity: 1; transform: none; }
  .skill-list span:hover { color: var(--text); border-color: var(--accent); background: rgba(79,184,136,0.1); }

  /* languages */
  .lang-rows { display: flex; flex-direction: column; gap: 18px; }
  .lang-row { display: flex; flex-direction: column; gap: 8px; }
  .lang-row .lr-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .lang-row .lr-name { font-weight: 600; font-size: 1rem; }
  .lang-row .lr-level {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .lang-row .bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; }
  .lang-row .bar span {
    display: block; height: 100%; border-radius: 6px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-3));
    box-shadow: 0 0 14px -2px var(--accent);
    transition: width 1.3s var(--ease) .2s;
  }
  .reveal.in .lang-row .bar span { width: var(--w); }

  /* ============ INTERESSEN ============ */
  .interests { display: flex; flex-wrap: wrap; gap: 14px; }
  .interests .pill {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.05rem, 2.5vw, 1.45rem);
    letter-spacing: -0.02em;
    color: var(--text);
    padding: 16px 30px;
    border-radius: 100px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    box-shadow: var(--glass-shadow);
    transition: transform .28s var(--ease), border-color .28s ease, color .28s ease, box-shadow .28s ease;
  }
  .interests .pill:hover {
    transform: translateY(-5px) rotate(-1.2deg);
    border-color: var(--accent);
    color: var(--accent-2);
    box-shadow: 0 22px 44px -24px var(--accent);
  }

  /* ============ FOOTER / KONTAKT ============ */
  footer {
    position: relative;
    z-index: 1;
    padding-top: clamp(50px, 8vh, 90px);
    padding-bottom: 48px;
  }
  .foot-panel {
    border-radius: 28px;
    padding: clamp(36px, 5.5vw, 66px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }
  .foot-panel h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(2rem, 5.6vw, 3.9rem);
    letter-spacing: -0.035em;
    line-height: 0.98;
  }
  .foot-panel h2 a {
    background: linear-gradient(115deg, var(--accent-2), var(--accent) 40%, var(--accent-3));
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: sheen 6s linear infinite;
  }
  .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    color: #03150c;
    padding: 16px 22px;
    border-radius: 14px;
    background: linear-gradient(160deg, var(--accent-2), var(--accent) 55%, #3d9f74);
    box-shadow: 0 14px 34px -14px var(--accent), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
  }
  .contact-link:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px var(--accent), inset 0 1px 0 rgba(255,255,255,0.4); }
  @media (max-width: 460px) {
    .contact-link { font-size: 0.7rem; padding: 14px 16px; gap: 9px; }
  }

  .foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 0 6px;
  }
  .foot-bottom .col { display: flex; gap: 22px; flex-wrap: wrap; }

  /* ============ REVEAL ============ */
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
    transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  }
  .reveal.in { opacity: 1; transform: none; filter: none; }

  /* ===== anchor offset under floating nav ===== */
  section[id], footer[id] { scroll-margin-top: 100px; }

  /* ===== focus states ===== */
  a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 10px;
  }

  /* ===== Impressum dialog ===== */
  dialog.imp {
    margin: auto;
    max-width: 540px;
    width: calc(100% - 40px);
    border: 1px solid var(--glass-line);
    border-radius: 24px;
    background: linear-gradient(155deg, #0a1c14, #05100b);
    color: var(--text);
    padding: 0;
    position: relative;
    box-shadow: 0 40px 100px -30px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.14);
  }
  dialog.imp::backdrop { background: rgba(4,8,20,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  dialog.imp[open] { animation: impIn .3s var(--ease); }
  @keyframes impIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
  .imp-inner { padding: 38px 34px 34px; }
  dialog.imp h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 22px; }
  dialog.imp p { color: var(--text-dim); font-size: 0.98rem; line-height: 1.6; margin-bottom: 14px; }
  dialog.imp p:last-child { margin-bottom: 0; }
  dialog.imp p strong { color: var(--text); font-weight: 600; }
  dialog.imp a { color: var(--accent); }
  dialog.imp .imp-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
  dialog.imp .imp-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 11px; cursor: pointer; font-size: 0.9rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--glass-line);
    color: var(--text-dim);
    transition: color .2s ease, border-color .2s ease;
  }
  dialog.imp .imp-close:hover { color: var(--text); border-color: var(--accent); }
  .foot-bottom a.imp-link { color: var(--text-dim); transition: color .2s ease; cursor: pointer; }
  .foot-bottom a.imp-link:hover { color: var(--accent); }

  /* ===== reduced motion ===== */
  @media (prefers-reduced-motion: reduce) {
    .orb, .beam, .grain, .scan, .sweep, .marquee, .status-pill, .status-pill .live-dot,
    .brand .dot, .btn-primary::after, .hero h1 .ch, .foot-panel h2 a,
    .caret, .boot, .boot-line, .boot-bar span { animation: none !important; }
    .caret { opacity: .8; }
    .boot { display: none !important; }
    .hero h1 .accent .ch { background-position: 0 0; }
    .reveal { opacity: 1; transform: none; filter: none; transition: none; }
    .sec-head .rule { transform: scaleX(1); }
    .skill-list span { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
  }

  /* ===== print: clean CV ===== */
  @media print {
    .ambient, header, .rail, .progress, .marquee-band, .hero-cta, .status-pill,
    dialog.imp, .sec-head .rule, .tl-track, .tl-node,
    .boot, .caret, .term-bar, .p-bar { display: none !important; }
    body { background: #fff !important; color: #14181f !important; }
    .reveal, .reveal.in { opacity: 1 !important; transform: none !important; filter: none !important; }
    .skill-list span { opacity: 1 !important; transform: none !important; }
    .lang-row .bar span { width: var(--w) !important; transition: none !important; }
    .glass { background: #fff !important; box-shadow: none !important; border: 1px solid #d4d8e0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    .glass::after, .spot::before { display: none !important; }
    .hero { min-height: auto !important; padding-top: 8px !important; padding-bottom: 18px !important; }
    .hero-grid { grid-template-columns: 1fr !important; }
    .tl-wrap { padding-left: 0 !important; }
    .skills-grid { grid-template-columns: 1fr 1fr !important; }
    .proj-grid { grid-template-columns: 1fr 1fr !important; }
    .proj-card { break-inside: avoid; page-break-inside: avoid; }
    .proj-card .p-body { padding: 18px 18px 16px !important; }
    .proj-card h3, .proj-card .p-kind { color: #14181f !important; }
    .proj-card .p-read, .proj-card .p-live { color: #0d6b41 !important; }
    .sc-a, .sc-b, .sc-c, .sc-d { grid-column: auto !important; }
    .hero h1 .accent .ch, .foot-panel h2 a, .sec-head h2, .profil-grid .lead .hl, .rot-track span {
      -webkit-text-fill-color: #0d6b41 !important; color: #0d6b41 !important; background: none !important;
    }
    .sec-head h2 { -webkit-text-fill-color: #14181f !important; color: #14181f !important; }
    .marquee span { -webkit-text-stroke: 0 !important; }
    .mono.prompt::before, .tagline .fixed::before { content: none !important; }
    h1, h2, h3, .org, .role, .lead, .k-title, strong, .f-v { color: #14181f !important; }
    .tagline, .lede, .body p, .tl-body li, .skill-list span, .loc, .lr-name, .mono, .lr-level, .chip, .f-k { color: #3a4150 !important; }
    .when, .sec-head .idx, .k-num, .tl-meta .when, a { color: #0d6b41 !important; }
    .tl-meta .when::before, .tl-body li::before { background: #0d6b41 !important; box-shadow: none !important; }
    .skill-list span, .tl-tags .tag, .chip, .k-num { border: 1px solid #d4d8e0 !important; background: #f6f7fa !important; }
    .lang-row .bar { background: #e6e8ee !important; }
    .lang-row .bar span { background: #0d6b41 !important; box-shadow: none !important; }
    section.block { padding: 16px 0 !important; }
    .tl-item, .skill-card, .panel, .foot-panel { break-inside: avoid; page-break-inside: avoid; }
    a { text-decoration: none; }
    @page { margin: 14mm; }
  }

/* ============ PROJEKTSEITEN (/projekte/) ============ */
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 26px;
}
.crumbs a { color: var(--accent); }
.crumbs a:hover { color: var(--accent-2); }
.crumbs .sep { color: var(--muted); }

.case-hero { padding-top: 132px; padding-bottom: 20px; }
.case-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-top: 14px;
}
.case-hero h1 .accent {
  background: linear-gradient(115deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.case-hero .claim {
  margin-top: 22px;
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--text-dim);
  text-wrap: pretty;
}
.case-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Faktenleiste */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}
@media (max-width: 860px) { .specs { grid-template-columns: repeat(2, 1fr); } }
.spec {
  border-radius: 18px;
  padding: 22px 22px 20px;
}
.spec .s-k {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.spec .s-k::before { content: "› "; color: var(--accent); }
.spec .s-v { font-family: var(--mono); font-size: 0.95rem; color: var(--text); line-height: 1.45; }
.spec .s-v b { font-weight: 500; color: var(--accent-2); }

/* Fließtext-Blöcke */
.prose { max-width: 74ch; }
.prose p {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.09rem);
  margin-bottom: 18px;
  text-wrap: pretty;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--accent-2);
  background: rgba(79,184,136,0.08);
  border: 1px solid rgba(79,184,136,0.2);
  border-radius: 6px;
  padding: 1px 6px;
}
.prose a { color: var(--accent-2); border-bottom: 1px solid rgba(127,208,166,0.35); }
.prose a:hover { color: var(--text); border-color: var(--accent); }

/* Funktionsraster */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  border-radius: 20px;
  padding: 26px 24px;
  transition: transform .3s var(--ease), border-color .3s ease;
}
.feat:hover { transform: translateY(-4px); border-color: rgba(79,184,136,0.42); }
.feat h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.feat h3::before { content: "▸ "; font-family: var(--mono); color: var(--accent); }
.feat p { color: var(--text-dim); font-size: 0.97rem; text-wrap: pretty; }

/* Terminal-Codeblock */
.term-block { border-radius: 16px; overflow: hidden; margin-top: 26px; }
.term-block .tb-head {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,16,14,0.5);
}
.term-block .tb-head .tb { width: 10px; height: 10px; border-radius: 50%; }
.term-block .tb-head .tb.r { background: #e05c56; }
.term-block .tb-head .tb.y { background: var(--amber); }
.term-block .tb-head .tb.g { background: var(--accent); }
.term-block .tb-head .name {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.term-block pre {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--text-dim);
}
.term-block pre .c { color: var(--muted); }
.term-block pre .k { color: var(--accent); }
.term-block pre .s { color: var(--accent-2); }

/* Ablauf-Schritte */
.steps { display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
  border-radius: 16px;
  padding: 20px 22px;
}
.step .n {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 3px;
}
.step h3 { font-family: var(--display); font-weight: 600; font-size: 1.02rem; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 0.97rem; text-wrap: pretty; }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 8px; } }

/* ============ PROJEKT-TEASER (Startseite) ============ */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .proj-grid { grid-template-columns: 1fr; } }
.proj-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}
.proj-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79,184,136,0.42);
  box-shadow: 0 34px 70px -32px rgba(0,0,0,.9), 0 0 0 1px rgba(79,184,136,.10);
}
.proj-card .p-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,16,14,0.45);
}
.proj-card .p-bar .tb { width: 9px; height: 9px; border-radius: 50%; }
.proj-card .p-bar .tb.r { background: #e05c56; }
.proj-card .p-bar .tb.y { background: var(--amber); }
.proj-card .p-bar .tb.g { background: var(--accent); }
.proj-card .p-bar .host {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.proj-card .p-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 26px;
  gap: 14px;
}
.proj-card .p-kind {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.proj-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.proj-card p {
  color: var(--text-dim);
  font-size: 1rem;
  text-wrap: pretty;
}
.proj-card .p-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.proj-card .p-tags span {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  padding: 6px 11px;
  border: 1px solid var(--glass-line);
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
}
.proj-card .p-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.1);
}
.proj-card .p-read {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-2);
  transition: gap .2s var(--ease), color .2s ease;
}
.proj-card .p-read:hover { gap: 14px; color: var(--text); }
.proj-card .p-live {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  transition: color .2s ease;
}
.proj-card .p-live:hover { color: var(--accent); }
