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

    :root {
      --navy:   #0F0E2E;
      --blue:   #7C3AED;
      --blue-l: #8B5CF6;
      --yellow: #C4B5FD;
      --bg:     #F5F3FF;
      --text:   #18191F;
      --muted:  #525B6E;
      --white:  #FFFFFF;
    }

    html, body { height: 100%; }

    body {
      font-family: 'Segoe UI', Inter, sans-serif;
      color: var(--text);
      line-height: 1.6;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    a { text-decoration: none; color: inherit; }

    /* ── NAV ── */
    nav {
      position: absolute;
      top: 0; left: 0; right: 0;
      z-index: 10;
      padding: 0 48px;
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      font-size: 20px; font-weight: 700; color: var(--white);
    }
    .logo-icon { width: 32px; height: 32px; }
    .nav-back {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 14px; font-weight: 600;
      color: rgba(255,255,255,.6);
      transition: color .2s;
    }
    .nav-back:hover { color: var(--white); }

    /* ── SPLIT LAYOUT ── */
    .split { display: flex; flex: 1; min-height: 100vh; }

    /* ── LEFT DARK PANEL ── */
    .panel-left {
      width: 42%;
      background: #F8F6FF;
      padding: 100px 56px 60px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      position: relative;
      overflow: hidden;
      border-right: 1px solid rgba(124,58,237,.1);
    }
    .panel-left::before {
      content: '';
      position: absolute;
      width: 500px; height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(124,58,237,.08) 0%, transparent 65%);
      top: -100px; right: -150px;
      pointer-events: none;
    }
    .panel-left::after {
      content: '';
      position: absolute;
      width: 300px; height: 300px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(124,58,237,.05) 0%, transparent 65%);
      bottom: -80px; left: -60px;
      pointer-events: none;
    }
    .left-tag {
      display: inline-flex; align-items: center; gap: 7px;
      background: rgba(124,58,237,.08);
      border: 1px solid rgba(124,58,237,.2);
      border-radius: 20px;
      padding: 5px 14px;
      font-size: 12px; font-weight: 600;
      color: var(--blue);
      margin-bottom: 28px;
      width: fit-content;
    }
    .left-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: #10B981;
      animation: blink 1.4s ease-in-out infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

    .panel-left h1 {
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 800;
      color: var(--navy);
      line-height: 1.15;
      margin-bottom: 18px;
    }
    .panel-left h1 span {
      background: linear-gradient(135deg, #7C3AED, #8B5CF6);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .panel-left > p {
      font-size: 15px;
      color: var(--muted);
      max-width: 320px;
      margin-bottom: 44px;
      line-height: 1.65;
    }

    /* Nav auf hellem Hintergrund */
    .nav-logo { color: var(--navy) !important; }
    .nav-back  { color: var(--muted) !important; }

    /* Profile */
    .profile-card {
      display: flex; align-items: center; gap: 14px;
      background: var(--white);
      border: 1px solid rgba(124,58,237,.12);
      border-radius: 14px;
      padding: 14px 18px;
      margin-bottom: 32px;
      box-shadow: 0 2px 12px rgba(124,58,237,.06);
    }
    .profile-img {
      width: 52px; height: 52px;
      border-radius: 50%;
      object-fit: cover;
      object-position: center top;
      border: 2px solid rgba(124,58,237,.3);
      flex-shrink: 0;
    }
    .profile-name { font-size: 14px; font-weight: 700; color: var(--navy); }
    .profile-sub  { font-size: 12px; color: var(--muted); margin-top: 2px; }
    .profile-badge {
      margin-left: auto;
      display: flex; align-items: center; gap: 5px;
      font-size: 11px; font-weight: 600; color: #059669;
      background: rgba(16,185,129,.08);
      border: 1px solid rgba(16,185,129,.2);
      border-radius: 20px;
      padding: 4px 10px;
      white-space: nowrap;
    }

    /* Contact links */
    .contact-links { display: flex; flex-direction: column; gap: 12px; }
    .contact-link {
      display: flex; align-items: center; gap: 12px;
      color: var(--muted);
      font-size: 14px;
      transition: color .2s;
    }
    .contact-link:hover { color: var(--blue); }
    .contact-link-icon {
      width: 36px; height: 36px; border-radius: 9px;
      background: var(--white);
      border: 1px solid rgba(124,58,237,.12);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      color: var(--blue);
    }

    /* ── RIGHT PANEL (Desktop + Terminal Window) ── */
    .panel-right {
      flex: 1;
      background: #F0EEF8;
      background-image:
        radial-gradient(ellipse at 25% 65%, rgba(124,58,237,.10) 0%, transparent 55%),
        radial-gradient(circle, rgba(124,58,237,.12) 1px, transparent 1px);
      background-size: auto, 26px 26px;
      position: relative;
      overflow: hidden;
      padding: 0;
      min-height: 0;
    }

    .rt-window {
      position: absolute;
      width: 560px;
      background: #0D0B2A;
      border-radius: 12px;
      overflow: hidden;
      box-shadow:
        0 60px 120px rgba(0,0,0,.85),
        0 24px 48px rgba(0,0,0,.5),
        0 0 0 1px rgba(255,255,255,.08),
        0 0 0 1px rgba(124,58,237,.06);
      display: flex;
      flex-direction: column;
      max-height: calc(100vh - 100px);
    }

    .rterm-bar {
      background: #1A1640;
      padding: 13px 18px;
      display: flex; align-items: center; gap: 10px;
      cursor: grab;
      user-select: none;
      border-bottom: 1px solid rgba(255,255,255,.07);
      flex-shrink: 0;
    }
    .rterm-dots { display: flex; gap: 7px; }
    .rterm-dots span { width: 12px; height: 12px; border-radius: 50%; display: block; }
    .rterm-dots span:nth-child(1) { background: #FF5F57; }
    .rterm-dots span:nth-child(2) { background: #FFBD2E; }
    .rterm-dots span:nth-child(3) { background: #28CA41; }
    .rterm-title {
      flex: 1; text-align: center;
      font-family: 'Courier New', monospace; font-size: 12px;
      color: rgba(255,255,255,.3);
    }

    .rterm-body {
      flex: 1;
      padding: 32px 40px 36px;
      overflow-y: auto;
    }

    .rterm-statusbar {
      background: #12102A;
      border-top: 1px solid rgba(255,255,255,.06);
      padding: 5px 16px;
      display: flex; align-items: center; gap: 18px;
      font-family: 'Courier New', monospace;
      font-size: 10px; color: rgba(255,255,255,.25);
      flex-shrink: 0; user-select: none;
    }
    .rsb-online {
      display: flex; align-items: center; gap: 5px;
      color: rgba(16,185,129,.75);
    }
    .rsb-dot {
      width: 5px; height: 5px; border-radius: 50%;
      background: #10B981; flex-shrink: 0;
      animation: blink 1.4s ease-in-out infinite;
    }
    .rsb-right { margin-left: auto; }
    .rt-resize-handle {
      cursor: nwse-resize;
      color: rgba(255,255,255,.25);
      font-size: 15px;
      line-height: 1;
      user-select: none;
      padding-left: 10px;
      flex-shrink: 0;
      transition: color .2s ease;
    }
    .rt-resize-handle:hover { color: rgba(255,255,255,.55); }

    /* Loading */
    #rtLoad { transition: opacity .35s ease, transform .35s ease; }
    .rterm-line {
      display: flex; gap: 12px;
      font-family: 'Courier New', Consolas, monospace;
      font-size: 13.5px; line-height: 2.1;
      color: rgba(255,255,255,.62);
      opacity: 0; transform: translateY(5px);
      transition: opacity .22s ease, transform .22s ease;
    }
    .rterm-line.show { opacity: 1; transform: translateY(0); }
    .rtp  { color: #7C3AED; flex-shrink: 0; }
    .rtok { color: #10B981; font-weight: 700; margin-left: auto; }
    .rtcaret {
      display: inline-block; width: 7px; height: 14px;
      background: #8B5CF6; border-radius: 1px;
      margin-left: 2px; vertical-align: middle;
      animation: rtBlink .75s step-end infinite;
    }
    @keyframes rtBlink { 50% { opacity: 0; } }
    .rtprog-wrap {
      margin-top: 10px;
      background: rgba(255,255,255,.08);
      border-radius: 3px; height: 3px; overflow: hidden;
      opacity: 0; transition: opacity .3s ease;
    }
    .rtprog-wrap.show { opacity: 1; }
    .rtprog-bar {
      height: 100%; width: 0%;
      background: linear-gradient(90deg, #7C3AED, #C4B5FD);
      border-radius: 3px;
    }

    /* Form phase */
    #rtForm { display: none; }
    .form-item {
      opacity: 0; transform: translateY(12px);
      transition: opacity .32s ease, transform .32s ease;
    }
    .form-item.show { opacity: 1; transform: translateY(0); }

    .form-heading {
      font-family: 'Courier New', Consolas, monospace;
      font-size: .95rem; font-weight: 700;
      color: #10B981; margin-bottom: 5px;
    }
    .form-heading::before { content: '// '; color: rgba(16,185,129,.45); }
    .form-sub {
      font-family: 'Courier New', Consolas, monospace;
      font-size: 12px; color: rgba(255,255,255,.55);
      margin-bottom: 32px; line-height: 1.6;
    }
    .form-sub::before { content: '/* '; }
    .form-sub::after  { content: ' */'; }

    .field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
    .field label {
      font-family: 'Courier New', Consolas, monospace;
      font-size: 11.5px; font-weight: 700;
      color: #A78BFA; letter-spacing: .04em;
    }
    .field label::before { content: '// '; color: rgba(167,139,250,.38); }

    .term-input-wrap {
      display: flex; align-items: center;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 8px;
      transition: border-color .2s, box-shadow .2s;
    }
    .term-input-wrap:focus-within {
      border-color: rgba(139,92,246,.55);
      box-shadow: 0 0 0 3px rgba(124,58,237,.1);
    }
    .term-input-wrap--area { align-items: flex-start; }
    .tip {
      padding: 0 8px 0 14px;
      color: #7C3AED;
      font-family: 'Courier New', Consolas, monospace;
      font-size: 15px; font-weight: 700;
      user-select: none; flex-shrink: 0;
    }
    .term-input-wrap--area .tip { padding-top: 13px; }

    .field input, .field select, .field textarea {
      font-family: 'Courier New', Consolas, monospace;
      font-size: 13.5px; color: rgba(255,255,255,.82);
      background: transparent; border: none; border-radius: 0;
      padding: 12px 14px 12px 0;
      outline: none; resize: vertical; appearance: none; width: 100%;
    }
    .field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.45); }
    .field input:focus, .field select:focus, .field textarea:focus { box-shadow: none; }
    .field textarea { min-height: 110px; padding-right: 14px; }
    .field select { cursor: pointer; }
    .field select option { background: #1A1640; color: rgba(255,255,255,.85); }

    .select-wrap { position: relative; flex: 1; display: flex; align-items: center; }
    .select-wrap select { flex: 1; }
    .select-wrap svg {
      position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
      pointer-events: none; color: rgba(255,255,255,.3);
    }
    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

    .btn-submit {
      display: flex; align-items: center; justify-content: center; gap: 10px;
      width: 100%;
      background: rgba(124,58,237,.18); color: #A78BFA;
      font-family: 'Courier New', Consolas, monospace;
      font-size: 14px; font-weight: 700;
      padding: 14px 24px; border-radius: 8px;
      border: 1px solid rgba(124,58,237,.4);
      cursor: pointer; margin-top: 6px; letter-spacing: .02em;
      transition: background .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
    }
    .btn-submit:hover {
      background: rgba(124,58,237,.32); border-color: rgba(139,92,246,.7);
      color: #C4B5FD; transform: translateY(-2px);
      box-shadow: 0 6px 22px rgba(124,58,237,.25);
    }
    .btn-submit:active { transform: translateY(0); }
    .btn-prompt { color: #7C3AED; }
    .btn-arrow {
      display: inline-flex; align-items: center; justify-content: center;
      width: 24px; height: 24px; border-radius: 50%;
      background: rgba(124,58,237,.25); transition: transform .2s;
    }
    .btn-submit:hover .btn-arrow { transform: translateX(3px); }

    .success-msg { display: none; padding: 24px 0; }
    .success-msg.show { display: flex; flex-direction: column; gap: 4px; }
    .success-icon { font-family: 'Courier New', monospace; font-size: 13px; color: #10B981; margin-bottom: 10px; }
    .success-msg h3 { font-family: 'Courier New', monospace; font-size: 1rem; font-weight: 700; color: #10B981; }
    .success-msg h3::before { content: '// '; opacity: .5; }
    .success-msg p { font-family: 'Courier New', monospace; font-size: 12px; color: rgba(255,255,255,.3); line-height: 1.7; }
    .success-msg p::before { content: '/* '; }
    .success-msg p::after  { content: ' */'; }

    /* ── RESPONSIVE ── */
    @media (max-width: 860px) {
      .split {
        display: block;
      }
      .panel-left {
        width: 100%;
        min-height: 0;
        padding: 88px 28px 48px;
      }
      .panel-right {
        display: block;
        position: static;
        width: 100%;
        padding: 24px 16px 40px;
        overflow: visible;
      }
      .rt-window {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: none;
        border-radius: 10px;
        cursor: default !important;
      }
      .rterm-bar { cursor: default !important; }
      .rt-resize-handle { display: none; }
      .rterm-body { padding: 24px 20px 28px; }
      .rterm-statusbar { display: none; }
      nav { padding: 0 24px; }
      .field-row { grid-template-columns: 1fr; }
    }