/* ============================================================
   CompEx Computer – style.css
   Bento Grid Layout · Dark / Light Mode · Responsive
   ============================================================ */

/* ---- CSS Custom Properties: Light Theme (default) ---- */
:root {
  --bg-page:        #f1f5f9;
  --bg-card:        #ffffff;
  --bg-card-hover:  #f8fafc;
  --bg-tag:         #e2e8f0;
  --border:         #cbd5e1;
  --border-hover:   #0284c7;
  --accent:         #0284c7;
  --on-accent:      #ffffff;
  --accent-dim:     rgba(2, 132, 199, 0.08);
  --accent-glow:    rgba(2, 132, 199, 0.15);
  --text-h:         #0f172a;
  --text-body:      #475569;
  --text-muted:     #94a3b8;
  --shadow-card:    0 2px 16px rgba(0, 0, 0, 0.07);
  --shadow-hover:   0 8px 32px rgba(2, 132, 199, 0.12);
  --radius:         22px;
  --radius-sm:      12px;
  --transition:     0.22s ease;
  --font:           'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-bg:      rgba(241, 245, 249, 0.85);
  --dot-color:      rgba(0,0,0,0.04);
}

/* ---- Dark Theme – system preference ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-page:        #0d1117;
    --bg-card:        #161b22;
    --bg-card-hover:  #1c2330;
    --bg-tag:         #21262d;
    --border:         #30363d;
    --border-hover:   #22d3ee;
    --accent:         #22d3ee;
    --on-accent:      #0d1117;
    --accent-dim:     rgba(34, 211, 238, 0.12);
    --accent-glow:    rgba(34, 211, 238, 0.20);
    --text-h:         #e6edf3;
    --text-body:      #8b949e;
    --text-muted:     #484f58;
    --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.45);
    --shadow-hover:   0 8px 40px rgba(34, 211, 238, 0.15);
    --header-bg:      rgba(13, 17, 23, 0.80);
    --dot-color:      rgba(255,255,255,0.04);
  }
}

/* ---- Dark Theme – manuell gewählt ---- */
[data-theme="dark"] {
  --bg-page:        #0d1117;
  --bg-card:        #161b22;
  --bg-card-hover:  #1c2330;
  --bg-tag:         #21262d;
  --border:         #30363d;
  --border-hover:   #22d3ee;
  --accent:         #22d3ee;
  --accent-dim:     rgba(34, 211, 238, 0.12);
  --accent-glow:    rgba(34, 211, 238, 0.20);
  --text-h:         #e6edf3;
  --text-body:      #8b949e;
  --text-muted:     #484f58;
  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-hover:   0 8px 40px rgba(34, 211, 238, 0.15);
  --header-bg:      rgba(13, 17, 23, 0.80);
  --dot-color:      rgba(255,255,255,0.04);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---- Body & Background ---- */
body {
  font-family:      var(--font);
  background-color: var(--bg-page);
  background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
  background-size:  28px 28px;
  color:            var(--text-body);
  min-height:       100vh;
  line-height:      1.6;
  transition: background-color var(--transition), color var(--transition);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-decoration: none;
  user-select: none;
}
.logo .logo-sub {
  color: var(--text-h);
  font-weight: 400;
}
.logo .logo-tagline {
  color: var(--text-m);
  font-weight: 300;
  font-size: 0.8em;
  letter-spacing: 0.01em;
}

.header-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.85rem;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-h);
  font-family: var(--font);
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-ctrl:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1117;
}

/* ============================================================
   MAIN & BENTO GRID
   ============================================================ */
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.25rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  /* align-items: stretch ist der Default – alle Kacheln einer Zeile gleich hoch */
}

/* ============================================================
   NOSCRIPT FALLBACK (nur ohne JavaScript sichtbar)
   ============================================================ */
.noscript-fallback {
  max-width: 70ch;
  margin: 0 auto 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  line-height: 1.6;
}
.noscript-fallback h2 { margin-bottom: 0.6rem; color: var(--text-h); }
.noscript-fallback p  { margin-bottom: 0.6rem; }

/* ============================================================
   CARD BASE
   ============================================================ */
.card {
  background:    var(--bg-card);
  border:        1px solid var(--border);
  border-radius: var(--radius);
  padding:       1.35rem 1.5rem;
  box-shadow:    var(--shadow-card);
  transition:    transform var(--transition),
                 background var(--transition),
                 border-color var(--transition),
                 box-shadow var(--transition);
  /* Staggered fade-in */
  opacity: 0;
  animation: fadeUp 0.55s ease forwards;
}

.card:hover {
  transform:     translateY(-4px);
  background:    var(--bg-card-hover);
  border-color:  var(--border-hover);
  box-shadow:    var(--shadow-card), var(--shadow-hover);
}

/* Stagger delays */
.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.18s; }
.card:nth-child(4) { animation-delay: 0.24s; }
.card:nth-child(5) { animation-delay: 0.30s; }
.card:nth-child(6) { animation-delay: 0.36s; }
.card:nth-child(7) { animation-delay: 0.42s; }
.card:nth-child(8) { animation-delay: 0.48s; }
.card:nth-child(9) { animation-delay: 0.54s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Grid placement (desktop 4-col) ---- */
/* Showcase oben, volle Breite: Hero → Projekte → KI */
.card-hero      { grid-column: span 4; }
.card-projects  { grid-column: span 4; }
.card-ai        { grid-column: span 4; }
/* Detail-Karten gepaart (2×2) */
.card-positions { grid-column: span 2; }
.card-techstack { grid-column: span 2; }
.card-arch      { grid-column: span 2; }
.card-os        { grid-column: span 2; }
/* Developer Tools volle Breite – hält die Parität der Detail-Karten gerade */
.card-devtools  { grid-column: span 4; }
.card-footer    { grid-column: span 4; }

/* ---- Card label (small all-caps category tag) ---- */
.card-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

/* ---- Card subtitle ---- */
.card-subtitle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 0.55rem;
}
.card-subtitle .si {
  font-size: 1rem;
  opacity: 0.75;
}

/* ============================================================
   CARD: HERO
   ============================================================ */
/* Volle Breite: zweispaltiges Innenlayout, damit der Inhalt die Breite
   nutzt und nicht gedrungen wirkt. Links Identität, rechts Pitch + Aktionen. */
.card-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  column-gap: 0;
  row-gap: 1.25rem;
  align-items: center;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding-right: 2.5rem;
}
/* rechte Spalte mit dezentem Trenner und gleichmäßigem Polster */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding-left: 2.5rem;
  border-left: 1px solid var(--border);
}

/* Portrait + name/title row */
.hero-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-portrait {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
  transition: border-color var(--transition);
}
.card-hero:hover .hero-portrait {
  border-color: var(--accent);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-identity {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.hero-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-h);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Four service-area chips */
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.hero-pillar {
  padding: 0.3rem 0.85rem;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.02em;
}

/* Description sentence */
.hero-tagline {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* Verfügbarkeits-Badge (neutrales „offen für"-Signal) */
.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  padding: 0.3rem 0.8rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-h);
  letter-spacing: 0.01em;
  max-width: 100%;          /* verhindert Überlauf auf schmalen Screens */
}
.hero-availability > span:last-child { min-width: 0; }
.avail-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: availPulse 2.2s infinite;
}
@keyframes availPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .avail-dot { animation: none; }
}

/* Hero Call-to-Action Buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-ico {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
}
.btn-cta-primary {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
}
.btn-cta-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
/* Sekundär: weiche neutrale Füllung – bildet ein harmonisches Paar mit dem Primär-Button */
.btn-cta-secondary {
  background: var(--bg-tag);
  color: var(--text-h);
  border: 1px solid var(--border);
}
.btn-cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Experience / language badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.03em;
}
.lang-sep {
  opacity: 0.5;
  margin: 0 0.1rem;
}

/* ============================================================
   CARD: POSITIONS
   ============================================================ */
.position-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.position-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition);
}
.card-positions:hover .position-item {
  border-color: rgba(34,211,238,0.25);
}
.position-item:hover {
  background: var(--accent-dim);
  border-color: var(--accent) !important;
  color: var(--text-h);
}
.pos-icon { font-size: 0.95rem; }

/* ============================================================
   CARD: TECH STACK
   ============================================================ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}
.tag {
  padding: 0.28rem 0.75rem;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition);
}
.card:hover .tag:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.infra-line {
  margin-top: 0.75rem;
  padding: 0.4rem 0.75rem;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   CARD: ARCHITEKTUR & DELIVERY
   ============================================================ */
.item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.item-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.4;
}
.item-list li::before {
  content: "▸";
  color: var(--accent);
  font-size: 0.68rem;
  margin-top: 0.28rem;
  flex-shrink: 0;
}

/* ============================================================
   CARD: OS / PLATFORMS
   ============================================================ */
.os-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.os-platform {
  padding: 0.6rem 0.75rem;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.os-platform:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.os-platform-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.15rem;
}
.os-platform-details {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  padding-left: 1.7rem;
}
.os-platform-skills {
  font-size: 0.72rem;
  color: var(--text-body);
  line-height: 1.4;
  padding-left: 1.7rem;
  margin-top: 0.1rem;
}
.os-icon { font-size: 1.1rem; }

/* ============================================================
   CARD: DEVELOPER TOOLS
   ============================================================ */
.devtools-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem 1.5rem;
}
.devtools-section { }
.devtools-section-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.devtools-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* ============================================================
   CARD: KI-GESTÜTZTE ENTWICKLUNG (Reife-Timeline)
   ============================================================ */
.ai-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-phase {
  position: relative;
  padding: 0.9rem 1rem;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.ai-phase:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.ai-phase-year {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.ai-phase-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-card);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.ai-phase-tools {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-h);
  margin: 0.4rem 0 0.3rem;
  line-height: 1.3;
}
.ai-phase-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ============================================================
   CARD: PROJECTS
   ============================================================ */
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.55rem;
}
.project-item {
  padding: 0.7rem 0.85rem;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: default;
}
.project-item:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.project-icon {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.35rem;
}
.project-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.project-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.project-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  margin-top: 0.55rem;
  padding: 0.22rem 0.55rem;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
}
.project-details-btn:hover {
  background: var(--accent);
  color: var(--bg-card);
}

/* ============================================================
   PROJEKT-DETAIL-MODAL
   ============================================================ */
dialog#project-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(680px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-b);
  padding: 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
dialog#project-modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.modal-content {
  padding: 2rem;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-h);
  font-size: 0.95rem;
  line-height: 1;
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-card);
}
.modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding-right: 2.5rem;
}
.modal-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-h);
  margin: 0;
  line-height: 1.2;
}
.modal-description {
  color: var(--text-m);
  line-height: 1.65;
  margin: 0 0 0.5rem 0;
  font-size: 0.88rem;
}
.modal-section {
  margin-top: 1.1rem;
}
.modal-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 0.45rem 0;
}
.modal-list {
  margin: 0;
  padding-left: 1.15rem;
}
.modal-list li {
  font-size: 0.84rem;
  color: var(--text-m);
  line-height: 1.55;
  margin-bottom: 0.25rem;
}
.modal-period-value {
  font-size: 0.84rem;
  color: var(--text-m);
  margin: 0;
}

/* ============================================================
   CARD: FOOTER (Contact + Impressum)
   ============================================================ */
.card-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-block h3,
.imprint-block h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-body);
  text-decoration: none;
  padding: 0.32rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.contact-link:hover {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--accent);
}
.link-icon { font-size: 1rem; width: 1.25rem; text-align: center; }

.imprint-text {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.imprint-text strong {
  color: var(--text-body);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .card-hero      { grid-column: span 2; }
  .card-projects  { grid-column: span 2; }
  .card-ai        { grid-column: span 2; }
  .card-positions { grid-column: span 1; }
  .card-techstack { grid-column: span 1; }
  .card-arch      { grid-column: span 1; }
  .card-os        { grid-column: span 1; }
  .card-devtools  { grid-column: span 2; }
  .card-footer    { grid-column: span 2; grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .card-hero, .card-positions, .card-techstack,
  .card-arch, .card-os, .card-devtools, .card-ai, .card-projects, .card-footer {
    grid-column: span 1;
    min-height: auto;
  }
  /* Hero: zurück auf eine Spalte, Trenner entfernen */
  .card-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-left { padding-right: 0; }
  .hero-right {
    padding-left: 0;
    border-left: none;
  }
  .ai-timeline {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1.75rem;
  }
  .card-footer {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .position-grid {
    grid-template-columns: 1fr;
  }
  .site-header {
    padding: 0.65rem 1rem;
  }
  main {
    padding: 1.25rem 1rem 3rem;
  }
  .hero-name {
    font-size: 1.7rem;
  }
  .project-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   SCROLLBAR (Chromium)
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
