/* ==================================================================
   Vitronis - Stylesheet (ausgelagert aus der fruheren index.html)
   ================================================================== */

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

    :root {
      --bg:          #04070F;
      --bg-2:        #0A1322;
      --surface:     #0D1525;
      --surface-2:   #111C2F;
      --glass:       rgba(13, 21, 37, 0.72);
      --text:        #EAF0FB;
      --muted:       #8A95AD;
      --faint:       #78859E;
      --border:      rgba(255,255,255,0.07);
      --border-s:    rgba(255,255,255,0.13);
      --brand:       #4F86FF;
      --brand-2:     #2BA8FF;
      --good:        #1ECC95;
      --gold:        #D4AF37;
      --gold-2:      #F0D77B;
      --radius:      24px;
      --radius-md:   18px;
      --radius-sm:   12px;
      --font:        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      line-height: 1.65;
    }

    /* ── Language toggle ───────────────────────────────────────────── */
    .en { display: none; }
    body.lang-en .de { display: none; }
    body.lang-en .en { display: revert; }

    /* ── Scroll-reveal ─────────────────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(36px);
      transition: opacity 0.45s ease, transform 0.45s ease;
    }
    .reveal.visible { opacity: 1; transform: none; }
    .reveal-left {
      opacity: 0;
      transform: translateX(-48px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .reveal-right {
      opacity: 0;
      transform: translateX(48px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
    .delay-1 { transition-delay: 0.04s; }
    .delay-2 { transition-delay: 0.08s; }
    .delay-3 { transition-delay: 0.12s; }
    .delay-4 { transition-delay: 0.16s; }
    .delay-5 { transition-delay: 0.20s; }

    /* ── NAV ────────────────────────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 40px;
      background: rgba(4, 7, 15, 0.7);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }
    .nav-brand img { height: 32px; width: auto; }
    .nav-brand span {
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: var(--text);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 500;
      letter-spacing: 0.03em;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--text); }
    .lang-toggle {
      display: flex;
      align-items: center;
      gap: 2px;
      background: var(--surface-2);
      border: 1px solid var(--border-s);
      border-radius: 999px;
      padding: 3px;
    }
    .lang-toggle button {
      background: none;
      border: none;
      color: var(--muted);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      padding: 4px 12px;
      border-radius: 999px;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
      font-family: var(--font);
    }
    .lang-toggle button.active { background: var(--brand); color: #fff; }

    /* ── HERO ───────────────────────────────────────────────────────── */
    #hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 120px 24px 80px;
      position: relative;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,134,255,0.18) 0%, transparent 70%),
                  radial-gradient(ellipse 60% 40% at 20% 80%, rgba(43,168,255,0.10) 0%, transparent 60%),
                  radial-gradient(ellipse 50% 50% at 80% 70%, rgba(30,204,149,0.06) 0%, transparent 60%);
    }
    .hero-glow {
      position: absolute;
      top: 18%; left: 50%;
      transform: translateX(-50%);
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(79,134,255,0.12) 0%, transparent 70%);
      border-radius: 50%;
      animation: pulse 4s ease-in-out infinite;
      pointer-events: none;
    }
    @keyframes pulse {
      0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
      50%       { opacity: 1;   transform: translateX(-50%) scale(1.1); }
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 760px;
      width: 100%;
      text-align: center;
    }
    .hero-logo {
      display: block;
      width: 140px;
      height: auto;
      margin: 0 auto 28px;
      filter: drop-shadow(0 0 28px rgba(79,134,255,0.5));
    }
    .hero-label {
      display: block;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--brand-2);
      background: rgba(43,168,255,0.12);
      border: 1px solid rgba(43,168,255,0.25);
      border-radius: 999px;
      padding: 5px 16px;
      margin: 0 auto 20px;
      width: fit-content;
    }
    .hero-title {
      font-size: clamp(2.6rem, 6vw, 4.8rem);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
      background: linear-gradient(135deg, #fff 0%, #EAF0FB 40%, var(--brand-2) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-sub {
      font-size: clamp(1rem, 2vw, 1.2rem);
      color: var(--muted);
      max-width: 560px;
      margin: 0 auto 44px;
      line-height: 1.7;
    }

    /* Hero screenshots — no phone frame */
    .hero-screenshots {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 28px;
      flex-wrap: wrap;
      margin-top: 16px;
      margin-bottom: 120px;
    }
    .hero-screenshot {
      width: 220px;
      height: auto;
      border-radius: 28px;
      box-shadow: 0 28px 70px rgba(0,0,0,0.65);
      display: block;
      animation: screenshot-float 6s ease-in-out infinite;
    }
    .hero-screenshot:nth-child(2) { animation-delay: -3s; }
    @keyframes screenshot-float {
      0%, 100% { transform: translateY(0px); }
      50%       { transform: translateY(-14px); }
    }

    /* Platzhalter fuer kommende Hero-Visuals */
    .hero-placeholder {
      display: none;
    }

    /* EKG line — centered, proper waveform */
    .ekg-container {
      position: relative;
      width: 100%;
      margin-top: clamp(24px, 4vh, 48px);
      height: 120px;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      pointer-events: none;
    }
    .ekg-svg {
      width: 100%;
      max-width: 960px;
      height: 88px;
      overflow: visible;
    }
    .ekg-line {
      fill: none;
      stroke: url(#ekgGrad);
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 2400;
      stroke-dashoffset: 2400;
      animation: draw-ekg 3.2s ease forwards 0.6s;
    }
    @keyframes draw-ekg { to { stroke-dashoffset: 0; } }

    /* -- EKG: dauerhafter Herzschlag (Monitor-Sweep) ---------------- */
    .ekg-line.ekg-base { opacity: 0.22; }
    .ekg-line.ekg-sweep {
      stroke: #8ED4FF;
      stroke-width: 2.6;
      stroke-dasharray: 170 1412;
      stroke-dashoffset: 170;
      filter: drop-shadow(0 0 5px rgba(43,168,255,0.85));
      animation: ekg-sweep 3.8s linear 0.8s infinite;
    }
    @keyframes ekg-sweep {
      from { stroke-dashoffset: 170; }
      to   { stroke-dashoffset: -1242; }
    }
    /* Kopf-Punkt: gleicher Pfad, gleiche CSS-Animation -> immer synchron */
    .ekg-line.ekg-head {
      stroke: #EAF6FF;
      stroke-width: 7;
      stroke-linecap: round;
      stroke-dasharray: 0.5 1582;
      stroke-dashoffset: 0;
      filter: drop-shadow(0 0 8px rgba(43,168,255,0.95));
      animation: ekg-head 3.8s linear 0.8s infinite;
    }
    @keyframes ekg-head {
      from { stroke-dashoffset: 0; }
      to   { stroke-dashoffset: -1412; }
    }
    @media (prefers-reduced-motion: reduce) {
      .ekg-line.ekg-base { opacity: 0.55; }
      .ekg-line.ekg-sweep { display: none; }
      .ekg-line.ekg-head { display: none; }
    }

    /* ── SECTION COMMONS ────────────────────────────────────────────── */
    section { padding: 120px 24px; }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .section-label {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--brand);
      margin-bottom: 12px;
    }
    .section-title {
      font-size: clamp(1.9rem, 4vw, 3rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.12;
      margin-bottom: 20px;
    }
    .section-body {
      font-size: 1.05rem;
      color: var(--muted);
      max-width: 580px;
      line-height: 1.75;
    }

    /* ── VISION ─────────────────────────────────────────────────────── */
    #vision { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
    .vision-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .vision-stat-row {
      display: flex;
      gap: 40px;
      margin-top: 48px;
      flex-wrap: wrap;
    }
    .vision-stat h3 {
      font-size: 2.4rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
    }
    .vision-stat p { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
    .vision-visual { position: relative; display: flex; justify-content: center; }
    .vision-card {
      background: var(--glass);
      border: 1px solid var(--border-s);
      border-radius: var(--radius);
      padding: 36px;
      backdrop-filter: blur(16px);
      box-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.07);
      max-width: 400px;
      width: 100%;
    }
    .vision-card-icon {
      width: 52px; height: 52px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      display: flex; align-items: center; justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 20px;
      box-shadow: 0 8px 20px rgba(79,134,255,0.35);
    }
    .vision-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
    .vision-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
    .vision-card-glow {
      position: absolute;
      inset: -40px;
      background: radial-gradient(circle at center, rgba(79,134,255,0.08) 0%, transparent 70%);
      pointer-events: none;
      border-radius: 50%;
    }

    /* ── FEATURES ───────────────────────────────────────────────────── */
    #features { background: var(--bg-2); }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 60px;
    }
    .feature-card {
      background: var(--glass);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 36px 30px;
      backdrop-filter: blur(12px);
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }
    .feature-card:hover {
      border-color: var(--border-s);
      transform: translateY(-6px);
      box-shadow: 0 24px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(79,134,255,0.15);
    }
    .feature-icon {
      width: 54px; height: 54px;
      border-radius: 16px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.6rem;
      margin-bottom: 20px;
    }
    .feature-icon.blue {
      background: linear-gradient(135deg, rgba(79,134,255,0.2), rgba(43,168,255,0.1));
      border: 1px solid rgba(79,134,255,0.25);
    }
    .feature-icon.green {
      background: linear-gradient(135deg, rgba(30,204,149,0.2), rgba(30,204,149,0.1));
      border: 1px solid rgba(30,204,149,0.25);
    }
    .feature-icon.red {
      background: linear-gradient(135deg, rgba(255,98,117,0.2), rgba(255,98,117,0.1));
      border: 1px solid rgba(255,98,117,0.25);
    }
    .feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
    .feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

    /* App screenshots — no phone frame */
    .app-showcase {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 40px;
      margin-top: 80px;
      flex-wrap: wrap;
    }
    .app-screenshot-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
    .app-screenshot {
      width: 260px;
      border-radius: 32px;
      box-shadow: 0 40px 100px rgba(0,0,0,0.7);
      display: block;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .app-screenshot:hover {
      transform: translateY(-12px) scale(1.02);
      box-shadow: 0 56px 120px rgba(0,0,0,0.8), 0 0 40px rgba(79,134,255,0.15);
    }
    .app-screenshot-label { font-size: 0.75rem; color: var(--faint); letter-spacing: 0.05em; }

    /* ── TIMELINE ───────────────────────────────────────────────────── */
    #timeline { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
    .timeline-wrap { position: relative; margin-top: 72px; }
    .timeline-line {
      position: absolute;
      left: 50%;
      top: 0; bottom: 0;
      width: 2px;
      transform: translateX(-50%);
      background: linear-gradient(180deg, transparent, var(--brand) 10%, var(--brand-2) 90%, transparent);
      opacity: 0.3;
    }
    .timeline-item {
      display: grid;
      grid-template-columns: 1fr 60px 1fr;
      align-items: stretch;
      margin-bottom: 80px;
    }
    .timeline-item:last-child { margin-bottom: 0; }

    /* Left and right cells: flex column, content centered vertically */
    .tl-left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-end;
      text-align: right;
      padding: 0 40px 0 0;
    }
    .tl-right {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      text-align: left;
      padding: 0 0 0 40px;
    }
    /* Dot column: always centered */
    .tl-dot {
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
    }
    .timeline-dot-inner {
      width: 18px; height: 18px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      box-shadow: 0 0 0 5px rgba(79,134,255,0.15), 0 0 20px rgba(79,134,255,0.4);
      flex-shrink: 0;
    }
    .timeline-date {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--brand-2);
      margin-bottom: 8px;
    }
    .timeline-h { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
    .timeline-p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
    .timeline-img {
      width: 100%;
      max-width: 380px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-s);
      box-shadow: 0 16px 40px rgba(0,0,0,0.5);
      object-fit: cover;
      height: 220px;
    }

    /* ── TEAM ───────────────────────────────────────────────────────── */
    #team { background: var(--bg); }
    .team-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      margin-top: 60px;
    }
    .team-grid-mentor {
      display: grid;
      grid-template-columns: 1fr;
      max-width: 380px;
      margin: 28px auto 0;
    }
    .team-card {
      background: var(--glass);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      backdrop-filter: blur(12px);
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }
    .team-card:hover {
      border-color: rgba(79,134,255,0.3);
      transform: translateY(-8px);
      box-shadow: 0 28px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(79,134,255,0.12);
    }
    .team-photo-wrap {
      width: 100%;
      aspect-ratio: 3 / 4;
      overflow: hidden;
    }
    .team-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }
    .team-photo-kyle { object-position: center 10%; }
    .team-photo-timo { object-position: center 10%; }
    .team-photo-seb  { object-position: center 75%; transform: scale(1.2); transform-origin: center 75%; }
    .team-info { padding: 24px 26px 28px; }
    .team-role {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--brand-2);
      margin-bottom: 6px;
    }
    .team-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
    .team-bio { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
    .team-school {
      margin-top: 16px;
      font-size: 0.75rem;
      color: var(--faint);
      display: flex; align-items: center; gap: 6px;
    }

    /* ── FOOTER ─────────────────────────────────────────────────────── */
    footer {
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding: 60px 24px;
      text-align: center;
    }
    .footer-logo { width: auto; height: 48px; margin-bottom: 16px; opacity: 0.9; }
    .footer-slogan { font-size: 1rem; color: var(--muted); margin-bottom: 6px; }
    .footer-school { font-size: 0.8rem; color: var(--faint); margin-bottom: 28px; }
    .footer-divider { width: 48px; height: 1px; background: var(--border-s); margin: 0 auto 20px; }
    .footer-copy { font-size: 0.78rem; color: var(--faint); }
    .footer-impressum-link {
      display: inline-block;
      margin-top: 16px;
      font-size: 0.78rem;
      color: var(--faint);
      text-decoration: underline;
      text-underline-offset: 3px;
      transition: color 0.2s;
    }
    .footer-impressum-link:hover { color: var(--muted); }

    /* ── IMPRESSUM ──────────────────────────────────────────────────── */
    .impressum-inner {
      max-width: 680px;
      margin: 0 auto;
    }
    .impressum-inner h2 {
      font-size: 1.6rem;
      font-weight: 800;
      letter-spacing: -0.01em;
      margin-bottom: 32px;
    }
    .impressum-block {
      margin-bottom: 32px;
    }
    .impressum-block h3 {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--brand);
      margin-bottom: 10px;
    }
    .impressum-block p {
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.8;
    }
    .impressum-block p span.placeholder {
      color: var(--faint);
      font-style: italic;
    }

    /* ── RESPONSIVE ─────────────────────────────────────────────────── */
    @media (max-width: 900px) {
      nav { padding: 14px 20px; }
      .nav-links { display: none; }
      .vision-grid { grid-template-columns: 1fr; gap: 48px; }
      .features-grid { grid-template-columns: 1fr; }
      .team-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
      .team-grid-mentor { max-width: 400px; }
      .timeline-item {
        display: block;
        padding-left: 36px;
        position: relative;
        margin-bottom: 60px;
      }
      .timeline-line { left: 9px; }
      .tl-dot {
        position: absolute;
        left: 0; top: 0;
        height: 100%;
        width: 18px;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 4px;
      }
      .tl-left, .tl-right {
        padding: 0;
        margin-bottom: 16px;
        text-align: left !important;
        align-items: flex-start !important;
      }
      .timeline-img { max-width: 100%; }
    }
  
    /* ── FOOTER COLUMNS ─────────────────────────────────────────────── */
    .footer-inner {
      max-width: 1080px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.7fr 1fr 1fr;
      gap: 56px;
      text-align: left;
      align-items: start;
    }
    .footer-brand { max-width: 440px; }
    .footer-col-title {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--brand);
      margin-bottom: 18px;
    }
    .footer-links { list-style: none; margin: 0; padding: 0; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links li:last-child { margin-bottom: 0; }
    .footer-links a {
      display: inline-block;
      font-family: var(--font);
      font-size: 0.9rem;
      color: var(--muted);
      text-decoration: none;
      cursor: pointer;
      transition: color 0.2s, transform 0.2s;
    }
    .footer-links a:hover { color: var(--text); transform: translateX(2px); }
    .footer-bottom {
      max-width: 1080px;
      margin: 48px auto 0;
      padding-top: 24px;
      border-top: 1px solid var(--border-s);
      text-align: left;
    }

    /* ── LEGAL MODALS ───────────────────────────────────────────────── */
    .legal-modal {
      position: fixed;
      inset: 0;
      z-index: 2000;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding: 48px 20px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .legal-modal.is-open, .legal-modal:target { display: flex; }
    .legal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(4, 7, 15, 0.8);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      cursor: default;
    }
    .legal-panel {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 780px;
      margin: auto;
      background: var(--surface);
      border: 1px solid var(--border-s);
      border-radius: var(--radius);
      padding: 56px 48px 44px;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
      animation: legalIn 0.28s ease both;
    }
    @keyframes legalIn {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .legal-close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      line-height: 1;
      font-family: var(--font);
      color: var(--muted);
      text-decoration: none;
      background: var(--surface-2);
      border: 1px solid var(--border-s);
      border-radius: 999px;
      cursor: pointer;
      transition: color 0.2s, background 0.2s;
    }
    .legal-close:hover { color: var(--text); background: var(--glass); }
    body.legal-locked { overflow: hidden; }

    @media (max-width: 760px) {
      .footer-inner { grid-template-columns: 1fr; gap: 36px; }
      .footer-brand { max-width: none; }
      .legal-modal { padding: 20px 12px; }
      .legal-panel { padding: 52px 22px 32px; border-radius: 18px; }
    }
  
    /* ── TEAM · MENTOR ACCENT (gold) ─────────────────────────────────── */
    .team-card-mentor {
      border-color: rgba(212, 175, 55, 0.34);
      box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12),
                  0 18px 48px rgba(212, 175, 55, 0.08);
    }
    .team-card-mentor:hover {
      border-color: rgba(212, 175, 55, 0.55);
      box-shadow: 0 28px 64px rgba(0, 0, 0, 0.6),
                  0 0 0 1px rgba(212, 175, 55, 0.22),
                  0 0 40px rgba(212, 175, 55, 0.10);
    }
    .team-card-mentor .team-photo-wrap {
      border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    }
    .team-card-mentor .team-role { color: var(--gold-2); }

    /* ── TEAM · ALUMNI (retired members) ─────────────────────────────── */
    .team-card-alumni { background: var(--surface-2); }
    .team-card-alumni:hover {
      border-color: var(--border-s);
      box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
    }
    .team-card-alumni .team-photo {
      filter: grayscale(100%) contrast(0.94) brightness(0.94);
      transition: filter 0.4s ease;
    }
    .team-card-alumni:hover .team-photo { filter: grayscale(100%) contrast(1) brightness(1); }
    .team-card-alumni .team-role { color: var(--faint); }
    .team-card-alumni .team-name { color: var(--muted); }

    .team-dates {
      margin-top: 18px;
      padding-top: 14px;
      border-top: 1px solid var(--border-s);
      display: flex;
      flex-direction: column;
      gap: 7px;
    }
    .team-dates-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
    }
    .team-dates-key {
      font-size: 0.64rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--faint);
    }
    .team-dates-val {
      font-size: 0.8rem;
      color: var(--muted);
      white-space: nowrap;
    }

    /* main team grid now holds two active members */
    .team-grid {
      grid-template-columns: repeat(2, 1fr);
      max-width: 728px;
      margin-left: auto;
      margin-right: auto;
    }
    @media (max-width: 760px) {
      .team-grid { grid-template-columns: 1fr; max-width: 380px; }
    }
  
    /* ── PAGE ROUTER: es wird immer nur die aktive Sektion gezeigt ── */
    body.router-ready { overflow-anchor: none; }
    body.router-ready > section,
    body.router-ready > section#hero { display: none; }
    body.router-ready > section.page-active { display: block; min-height: 70vh; }
    body.router-ready > section#hero.page-active { display: flex; min-height: 100vh; }
    body.router-ready .nav-links a { display: inline-block; }
    body.router-ready .nav-links a.is-current { color: var(--text); }
    body.router-ready .nav-links a.is-current::after {
      content: '';
      display: block;
      height: 2px;
      margin-top: 5px;
      border-radius: 2px;
      background: var(--brand);
    }

    /* -- MOBILES MENUE (Hamburger) -------------------------------- */
    .nav-toggle {
      display: none;
      background: none;
      border: 1px solid var(--border-s);
      border-radius: 10px;
      padding: 8px 9px;
      margin-left: 12px;
      cursor: pointer;
      line-height: 0;
    }
    .nav-toggle span {
      display: block;
      width: 20px;
      height: 2px;
      margin: 4px 0;
      border-radius: 2px;
      background: var(--text);
      transition: transform 0.25s ease, opacity 0.2s ease;
    }
    nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
    nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    @media (max-width: 900px) {
      .nav-toggle { display: block; }
      nav { flex-wrap: wrap; }
      nav .lang-toggle { margin-left: auto; }
      nav .nav-links,
      body.router-ready nav .nav-links { display: none; }
      nav.menu-open .nav-links,
      body.router-ready nav.menu-open .nav-links {
        display: flex;
        order: 3;
        flex-basis: 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 12px 0 2px;
        padding-top: 8px;
        border-top: 1px solid var(--border);
      }
      nav.menu-open .nav-links li { width: 100%; }
      nav.menu-open .nav-links a,
      body.router-ready nav.menu-open .nav-links a {
        display: block;
        width: 100%;
        padding: 13px 2px;
        font-size: 1rem;
      }
      body.router-ready nav.menu-open .nav-links a.is-current { color: var(--brand); }
      body.router-ready nav.menu-open .nav-links a.is-current::after { display: none; }
    }
  
    /* -- KONTAKT ---------------------------------------------------- */
    .contact-wrap { max-width: 760px; margin: 0 auto; }
    .contact-mail {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-top: 20px;
      color: var(--brand);
      text-decoration: none;
      font-weight: 600;
      font-size: 1.02rem;
      letter-spacing: 0.01em;
    }
    .contact-mail:hover { text-decoration: underline; }
    .contact-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 38px 38px 34px;
      margin-top: 44px;
    }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
    .form-field { display: block; margin-bottom: 18px; }
    .form-label {
      display: block;
      margin-bottom: 8px;
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .form-field input,
    .form-field select,
    .form-field textarea {
      width: 100%;
      box-sizing: border-box;
      background: var(--surface-2);
      border: 1px solid var(--border-s);
      border-radius: var(--radius-sm);
      padding: 13px 15px;
      color: var(--text);
      font-family: var(--font);
      font-size: 0.95rem;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .form-field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
    .form-field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 0 3px rgba(79,134,255,0.18);
    }
    .form-field input::placeholder,
    .form-field textarea::placeholder { color: var(--faint); }
    .form-consent {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      margin: 2px 0 24px;
      font-size: 0.84rem;
      line-height: 1.55;
      color: var(--muted);
    }
    .form-consent label { cursor: pointer; }
    .form-consent input {
      flex: none;
      width: 17px;
      height: 17px;
      margin-top: 2px;
      accent-color: var(--brand);
      cursor: pointer;
    }
    .form-consent a { color: var(--brand); text-decoration: none; }
    .form-consent a:hover { text-decoration: underline; }
    .form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
    .form-submit {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      border: none;
      border-radius: 999px;
      padding: 14px 32px;
      color: #fff;
      font-family: var(--font);
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      cursor: pointer;
      box-shadow: 0 8px 28px rgba(79,134,255,0.35);
      transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    }
    .form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(79,134,255,0.5); }
    .form-submit[disabled] { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
    .form-note { margin-top: 14px; font-size: 0.78rem; color: var(--faint); }
    .form-status {
      display: none;
      margin-top: 18px;
      padding: 14px 16px;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      line-height: 1.55;
    }
    .form-status.show { display: block; }
    .form-status.ok  { background: rgba(30,204,149,0.12); border: 1px solid rgba(30,204,149,0.35); color: #7CE8C4; }
    .form-status.err { background: rgba(255,92,92,0.10); border: 1px solid rgba(255,92,92,0.32); color: #FF9D9D; }

    @media (max-width: 760px) {
      .contact-card { padding: 24px 18px 22px; margin-top: 32px; }
      .form-row { grid-template-columns: 1fr; }
    }

    /* ── SOCIAL / INSTAGRAM ─────────────────────────────────────────── */
    .footer-social { list-style: none; margin: 0; padding: 0; }
    .footer-social li { margin-bottom: 12px; }
    .footer-social li:last-child { margin-bottom: 0; }
    .footer-social a {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--font);
      font-size: 0.9rem;
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s, transform 0.2s;
    }
    .footer-social a:hover { color: var(--text); transform: translateX(2px); }
    .footer-social svg { width: 18px; height: 18px; flex: 0 0 auto; }

    /* ── BILD-SEITENVERHAELTNIS (verhindert verzerrte Bilder) ────────── */
    img { max-width: 100%; }


    /* -- BARRIEREFREIHEIT ------------------------------------------- */
    .skip-link {
      position: absolute; left: -9999px; top: 0; z-index: 99999;
      background: var(--brand); color: #fff; padding: 12px 22px;
      border-radius: 0 0 10px 0; font-size: 0.9rem; font-weight: 700;
      text-decoration: none;
    }
    .skip-link:focus { left: 0; }
    a:focus-visible, button:focus-visible, input:focus-visible,
    select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
      outline: 3px solid var(--brand-2);
      outline-offset: 3px;
      border-radius: 6px;
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
      }
      .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
    }

  
/* == VITRONIS UI-ERWEITERUNG (Buttons, CTA-Band, Seitenlinks) ====== */
    .cta-row {
      display: flex; flex-wrap: wrap; gap: 14px;
      justify-content: center; margin: 6px 0 18px;
    }
    .btn {
      display: inline-flex; align-items: center; gap: 9px;
      border-radius: 999px; padding: 14px 30px;
      font-size: 0.92rem; font-weight: 700; letter-spacing: 0.01em;
      text-decoration: none; cursor: pointer; border: 1px solid transparent;
      transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
      white-space: nowrap;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
    .btn--primary {
      background: linear-gradient(135deg, var(--brand) 0%, #7AA2FF 100%);
      color: #04070F;
      box-shadow: 0 10px 30px rgba(79,134,255,0.28);
    }
    .btn--primary:hover { box-shadow: 0 14px 38px rgba(79,134,255,0.42); }
    .btn--ghost {
      background: var(--glass); color: var(--text);
      border-color: var(--border-s); backdrop-filter: blur(12px);
    }
    .btn--ghost:hover { border-color: rgba(255,255,255,0.28); }
    .btn--quiet {
      background: transparent; color: var(--muted);
      border-color: transparent; padding: 14px 12px;
    }
    .btn--quiet:hover { color: var(--text); }

    /* Navigations-CTA */
    .nav-links a.nav-cta {
      background: linear-gradient(135deg, var(--brand) 0%, #7AA2FF 100%);
      color: #04070F; font-weight: 700;
      padding: 8px 16px; border-radius: 999px;
    }
    .nav-links a.nav-cta::after { display: none !important; }
    .nav-links a.nav-cta:hover { filter: brightness(1.08); }

    /* Abschluss-Band mit Handlungsaufforderung */
    .cta-band {
      display: block;
      padding: 88px 24px 78px;
      border-top: 1px solid var(--border-s);
      background: radial-gradient(1000px 380px at 50% 0%, rgba(79,134,255,0.16) 0%, rgba(4,7,15,0) 70%), var(--bg-2);
    }
    .cta-band-inner { text-align: center; }
    .cta-band-title {
      font-size: clamp(1.6rem, 3.2vw, 2.4rem);
      font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
      margin-bottom: 14px;
    }
    .cta-band-sub {
      color: var(--muted); font-size: 1rem; line-height: 1.7;
      max-width: 560px; margin: 0 auto 26px;
    }
    .page-more {
      margin-top: 34px; padding-top: 22px;
      border-top: 1px solid rgba(255,255,255,0.07);
    }
    .page-more-label {
      font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
    }
    .page-more ul {
      list-style: none; display: flex; flex-wrap: wrap;
      gap: 10px 26px; justify-content: center;
    }
    .page-more a {
      color: var(--muted); text-decoration: none; font-size: 0.9rem;
      border-bottom: 1px solid transparent; padding-bottom: 2px;
    }
    .page-more a:hover { color: var(--text); border-bottom-color: var(--brand); }

    /* Rechtstexte als eigene Seiten */
    #legal .impressum-inner h1 {
      font-size: clamp(1.8rem, 3.4vw, 2.4rem);
      font-weight: 800; letter-spacing: -0.01em; margin-bottom: 32px;
    }
    #legal { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
    #fehler .impressum-inner { text-align: center; }

    @media (max-width: 600px) {
      .btn { width: 100%; justify-content: center; }
      .cta-row { flex-direction: column; }
      .cta-band { padding: 64px 20px 58px; }
    }


/* ==================================================================
   Presse & Öffentlichkeitsarbeit (/presse)
   ================================================================== */

.presse-intro { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.presse-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.presse-intro p { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }

.presse-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; max-width: 1180px; margin: 0 auto; }

.presse-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.presse-item:hover { transform: translateY(-4px); border-color: var(--border-s); box-shadow: 0 18px 40px rgba(0,0,0,0.38); }

.presse-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }

.presse-cover { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 126px; padding: 26px 22px; text-align: center; border-bottom: 1px solid var(--border); background: radial-gradient(120% 140% at 50% 0%, rgba(79,134,255,0.16) 0%, rgba(79,134,255,0) 60%), linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%); transition: background .3s ease; }
.presse-cover::before { content: ""; flex: none; width: 26px; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F86FF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='14' height='14' rx='1.5'/%3E%3Cpath d='M17 9h3a1 1 0 0 1 1 1v7.5a1.5 1.5 0 0 1-3 0z'/%3E%3Cpath d='M6 9h8M6 12h8M6 15h5'/%3E%3C/svg%3E") no-repeat center / contain; }
.presse-cover-name { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; color: var(--text); }
.presse-item:hover .presse-cover { background: radial-gradient(120% 140% at 50% 0%, rgba(79,134,255,0.26) 0%, rgba(79,134,255,0) 62%), linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%); }

.presse-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }

.presse-date { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }

.presse-body h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--text); }
.presse-body p { color: var(--muted); font-size: 0.93rem; line-height: 1.6; margin-bottom: 14px; }

.presse-more { margin-top: auto; font-size: 0.88rem; font-weight: 600; color: var(--brand); }
.presse-item:hover .presse-more { color: var(--brand-2); }

.presse-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--radius-md); }

.presse-note { max-width: 760px; margin: 44px auto 0; text-align: center; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.presse-note a { color: var(--brand); text-decoration: none; border-bottom: 1px solid rgba(79,134,255,0.4); }
.presse-note a:hover { color: var(--brand-2); }

@media (max-width: 600px) {
  .presse-list { grid-template-columns: 1fr; gap: 18px; }
  .presse-body { padding: 18px 18px 20px; }
}


/* ==================================================================
   Auswahlfelder: sichtbarer Pfeil rechts (zeigt, dass es mehr Optionen gibt)
   ================================================================== */

.form-field select {
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.75L6 6.25L11 1.75' stroke='%238A95AD' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}
.form-field select:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.75L6 6.25L11 1.75' stroke='%234F86FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.form-field select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.75L6 6.25L11 1.75' stroke='%234F86FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ==============================================================
Presse: Kategorie-Ueberschriften (Presse & Berichte / Social Media)
============================================================== */
.presse-cat { max-width: 1180px; margin: 0 auto 20px; display: flex; align-items: center; gap: 16px; font-size: 20px; font-weight: 700; letter-spacing: 0.01em; color: var(--text); }
.presse-cat::after { content: ""; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, var(--border-s), transparent); }
.presse-cat .presse-cat-count { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; }
.presse-list + .presse-cat { margin-top: 64px; }
@media (max-width: 600px) { .presse-cat { font-size: 17px; gap: 12px; } .presse-list + .presse-cat { margin-top: 44px; } }

/* Social-Media-Karten: eigenes Symbol statt der Zeitung */
.presse-list-social .presse-cover::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F86FF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.8a8.4 8.4 0 0 1-11.9 7.6L3.5 20.5l1.1-4.6A8.4 8.4 0 1 1 20.5 11.8z'/%3E%3Cpath d='M8.6 10.7h6.8'/%3E%3Cpath d='M8.6 14.1h4.2'/%3E%3C/svg%3E"); }
