/* === Reset & Basis === */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    /* === Body & Container === */
    body {
      background: #2b2d3a;
      color: #f0f0f0;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: start;
      padding: 60px 40px;
      transition: background .3s, color .3s;
    }

    .container {
      width: 100%;
      max-width: 1400px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    header {
      text-align: center;
      margin-bottom: 40px;
    }

    h1 {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 3px;
      color: #8c91a8;
      transition: color .3s;
    }

    .subtitle {
      font-size: 1.4rem;
      opacity: 0.85;
      margin-bottom: 30px;
      font-weight: 300;
      color: #c0c2cc;
      transition: color .3s;
    }

    /* === Content: Bild + Text zentrieren === */
    .content {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 50px;
      width: 100%;
      margin-bottom: 60px;
    }

    /* === Bild-Container === */
    .image-container {
      flex: 1;
      max-width: 410px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      background: #ffffff10;
      transition: transform 0.5s ease, background .3s;
    }
    .image-container:hover {
      transform: scale(1.03);
    }

    /* zentriert das img im Wrapper */
    .placeholder-image {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .placeholder-image img {
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: 10px;
    }

    /* === Text-Section === */
    .text-section {
      flex: 1;
      max-width: 500px;
      background: rgba(30, 30, 40, 0.8);
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(100, 100, 120, 0.2);
      transition: background .3s, border-color .3s;
    }

    .text-section h2 {
      font-size: 2rem;
      margin-bottom: 0.75em;
      color: #EAEFEF;
      position: relative;
      padding-bottom: 10px;
      transition: color .3s;
    }
    .text-section h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 80px;
      height: 3px;
      background: #7F8CAA;
      border-radius: 3px;
      transition: background .3s;
    }

    .text-section p {
      margin-bottom: 1.25em;
      line-height: 1.6;
      color: #EAEFEF;
      font-weight: 700;
      transition: color .3s;
    }

    /* === Buttons & Footer === */
    .btn-container {
      display: flex;
      gap: 20px;
      margin: 40px 0;
    }

    .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: linear-gradient(45deg, #ffffff, #ffffff);
      color: #1a1a2e;
      border: none;
      padding: 18px 30px;
      font-size: 1.1rem;
      font-weight: 700;
      border-radius: 50px;
      cursor: pointer;
      box-shadow: 0 5px 15px rgba(0, 201, 255, 0.4);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      letter-spacing: 1px;
      text-transform: uppercase;
      min-width: 200px;
    }
    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 201, 255, 0.6);
    }
    .btn:active {
      transform: translateY(1px);
    }
    .btn::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, #ffffff, transparent);
      transition: 0.5s;
    }
    .btn:hover::after {
      left: 100%;
    }

    .github-btn {
      background: linear-gradient(45deg, #6e5494, #6e5494);
      color: white;
      box-shadow: 0 5px 15px rgba(110, 84, 148, 0.4);
    }
    .github-btn:hover {
      box-shadow: 0 8px 20px rgba(110, 84, 148, 0.6);
    }

    .projects-btn {
      background: linear-gradient(45deg, #00a8ff, #00a8ff);
      color: white;
      box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
    }
    .projects-btn:hover {
      box-shadow: 0 8px 20px rgba(0, 168, 255, 0.6);
    }

    .terminal-btn {
      background: linear-gradient(45deg, #ffffff, #ffffff);
      color: #1a1a2e;
      box-shadow: 0 5px 15px rgba(0, 201, 255, 0.4);
    }
    .terminal-btn:hover {
      box-shadow: 0 8px 20px rgba(0, 201, 255, 0.6);
    }

    footer {
      margin-top: 100px;
      text-align: center;
      color: rgba(250, 250, 250, 0.6);
      font-size: 0.9rem;
      transition: color .3s;
    }

    /* === Terminal Modal === */
    .terminal-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.terminal-modal.show {
  opacity: 1;
  transform: scale(1);
}


    .terminal-content {
      width: 90%; max-width: 800px; height: 500px;
      background: #0c0c0c;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 0 30px rgba(0,201,255,0.3);
      border: 1px solid rgba(100,100,100,0.3);
      display: flex; flex-direction: column;
      animation: fadeIn 0.5s ease;
    }

    .terminal-header {
      background: #1a1a1a;
      padding: 12px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .terminal-title {
      color: #ccc;
      font-size: 1rem;
      font-weight: 500;
    }
    .terminal-controls {
      display: flex; gap: 10px;
    }
    /* nur roter X-Button */
    .control-btn.min-btn,
    .control-btn.max-btn { display: none; }
    .control-btn.close-btn {
      width: 20px; height: 20px; border-radius: 50%;
      background: #ff5f57;
      box-shadow: 0 0 8px rgba(255,95,87,0.7);
      transition: transform .2s, box-shadow .2s;
    }
    .control-btn.close-btn:hover {
      transform: scale(1.2);
      box-shadow: 0 0 12px rgba(255,95,87,0.9);
    }

    .terminal-body {
      flex: 1; padding: 20px;
      background: #000;
      display: flex; flex-direction: column;
      overflow-y: auto;
    }
    .terminal-output {
      flex: 1; overflow-y: auto; line-height: 1.5;
    }
    .terminal-input {
      display: flex; align-items: center; margin-top: 10px;
    }
    .prompt {
      color: #0f0; margin-right: 10px; white-space: nowrap;
    }
    .cmd-input {
      background: transparent; border: none;
      color: #0f0; font-family: 'Courier New', monospace;
      font-size: 1.1rem; width: 100%; outline: none;
      caret-color: #0f0;
    }

    /* Zeilen & Cursor */
    .cmd-line {
      color: #0f0;
      white-space: pre-wrap;
      word-break: break-word;
      margin-bottom: 8px;
      font-family: 'Courier New', monospace;
      font-size: 1.1rem;
    }
    .response-line { color: #0af; }
    .cursor {
      display: inline-block; width: 8px; height: 16px;
      background: #0f0; margin-left: 4px;
      animation: blink-cursor 1s steps(2) infinite;
      vertical-align: bottom;
    }
    @keyframes blink-cursor {
      0%,100% { opacity: 1; }
      50%     { opacity: 0; }
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .switch-label {
      color: #8c91a8;
      font-weight: 500;
      transition: color .3s;
    }
    
    .switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;
    }
    
    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #4a4d63;
      transition: .4s;
      border-radius: 34px;
    }
    
    .slider:before {
      position: absolute;
      content: "";
      height: 26px;
      width: 26px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }
    
    input:checked + .slider {
      background-color: #00a8ff;
    }
    
    input:checked + .slider:before {
      transform: translateX(26px);
    }
    
    .slider-icon {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 16px;
      color: #f0f0f0;
      z-index: 1;
    }
    
    .moon {
      left: 8px;
    }
    
    .sun {
      right: 8px;
    }

    @media (max-width: 900px) {
      .content {
        flex-direction: column;
        align-items: center;
      }
      .image-container,
      .text-section {
        max-width: 90%;
      }
      h1 { font-size: 2.5rem; }
      
      .btn-container {
        flex-direction: column;
        gap: 15px;
      }
    }

    [data-theme="light"] .loader {
  border-top: 8px solid var(--accent); /* Use light theme accent color */
}

:root {
  --accent: #00a8ff;
}


    