/* ==========================================================================
   georg.exploits.systems — Modern Minimalist Dark Stylesheet
   Zero External Dependencies | Pure CSS3 | Responsive | Bilingual (DE / EN)
   ========================================================================== */

:root {
  /* Farbwelt (Zentral anpassbar) */
  --bg-primary: #0a0b0d;
  --bg-secondary: #0f1116;
  --bg-surface: #14171f;
  --bg-surface-hover: #191d27;

  /* Gelber Hauptakzent (aus der bisherigen Website übernommen & geschärft) */
  --accent: #fed136;
  --accent-hover: #ffe066;
  --accent-dim: rgba(254, 209, 54, 0.12);
  --accent-border: rgba(254, 209, 54, 0.42);

  /* Textfarben */
  --text-primary: #f4f5f7;
  --text-secondary: #9ca3b0;
  --text-muted: #68707e;

  /* Rahmen & Schatten */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --shadow-card: 0 18px 40px -15px rgba(0, 0, 0, 0.65);

  /* Typografie (System-Font-Stacks für 0 externe Requests & maximale Performance) */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, Monaco, monospace;

  /* Layout & Abstände */
  --container-max: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-height: 74px;
}

/* Light-Mode Farbvariablen (aktiv bei data-theme="light", Default ist "dark") */
html[data-theme="light"] {
  --bg-primary: #f8f9fb;
  --bg-secondary: #eef1f6;
  --bg-surface: #ffffff;
  --bg-surface-hover: #fcfcfd;

  --accent: #fed136;
  --accent-hover: #f5c400;
  --accent-text: #8f6500;
  --accent-dim: rgba(254, 209, 54, 0.24);
  --accent-border: rgba(230, 180, 0, 0.55);

  --text-primary: #0f131a;
  --text-secondary: #454f60;
  --text-muted: #6c7687;

  --border-subtle: rgba(15, 19, 26, 0.08);
  --border-strong: rgba(15, 19, 26, 0.15);
  --shadow-card: 0 12px 32px -10px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   1. RESET, BASIS & SPRACH-STEUERUNG (DE / EN)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* Automatische Ein-/Ausblendung mehrsprachiger Textblöcke (Default: DE) */
html[lang="de"] [data-lang="en"],
html[lang="de-AT"] [data-lang="en"] {
  display: none !important;
}

html[lang="en"] [data-lang="de"] {
  display: none !important;
}

::selection {
  background-color: var(--accent);
  color: var(--bg-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent {
  color: var(--accent);
}

/* ==========================================================================
   2. HEADER, NAVIGATION & LANGUAGE SWITCH
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 11, 13, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 2.5vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-word {
  color: var(--text-primary);
}

.brand-accent {
  color: var(--accent);
}

.brand:hover .brand-accent {
  color: var(--accent-hover);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  color: var(--bg-primary) !important;
  background-color: var(--accent);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* Language Switch (DE / EN) & Theme Switch (Dark / Light) */
.lang-switch,
.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 3px 5px;
  flex-shrink: 0;
}

.lang-btn,
.theme-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.theme-btn {
  padding: 5px 6px;
}

.lang-btn:hover,
.theme-btn:hover {
  color: var(--text-primary);
}

.lang-btn.is-active,
.theme-btn.is-active {
  background-color: var(--accent-dim);
  color: var(--accent);
}

.lang-divider {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--border-strong);
  user-select: none;
}

/* Hamburger-Button (Mobile) */
.menu-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.menu-bar {
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  display: block;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   3. HERO SECTION & INTERAKTIVE 3-WORT-DOMAIN
   ========================================================================== */
.hero {
  position: relative;
  padding: 96px 0 104px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-20%);
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(254, 209, 54, 0.07) 0%, rgba(254, 209, 54, 0) 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 920px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* Interaktive 3-Wort-Headline: georg .exploits. systems */
.hero-domain-title {
  font-size: clamp(1.75rem, 6.2vw, 4.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
}

.domain-segment {
  position: relative;
  display: inline-block;
  padding: 2px 6px;
  margin: 0 -2px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.segment-georg,
.segment-systems {
  color: var(--text-primary);
}

.segment-exploits {
  color: var(--accent);
}

.domain-segment::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.domain-segment:hover,
.domain-segment:focus-visible,
.domain-segment.is-active {
  background-color: rgba(255, 255, 255, 0.04);
}

.domain-segment.is-active::after,
.domain-segment:hover::after {
  background-color: var(--accent);
}

/* Kompakte Info-Zeile unter der 3-Wort-Domain */
.domain-inspector {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 24px;
  max-width: 720px;
}

.inspector-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bg-primary);
  background-color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
}

.inspector-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.inspector-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
}

.inspector-link[hidden] {
  display: none;
}

.inspector-link:hover,
.inspector-link:focus-visible {
  color: var(--accent-hover);
  text-decoration: underline;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 26px;
}

.hero-lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Quick-Credentials im Hero */
.credential-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.cred-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.cred-badge-highlight {
  border-color: var(--accent-border);
  background-color: var(--accent-dim);
  color: var(--accent);
}

.cred-badge:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn.is-copied {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 15px 28px;
  font-size: 1rem;
}

/* ==========================================================================
   4. SECTIONS & EDITORIAL HEADERS
   ========================================================================== */
.section {
  padding: 76px 0;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 680px;
  margin-bottom: 38px;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 0;
}

/* ==========================================================================
   5. BENTO-GRID (01 / OFFENSIVE SECURITY)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.bento-card {
  grid-column: span 5;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.bento-wide {
  grid-column: span 7;
}

.bento-card:hover {
  border-color: var(--accent-border);
  background-color: var(--bg-surface-hover);
  transform: translateY(-3px);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.card-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-title {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.3;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 5px 11px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.tag-strong {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.tag-accent {
  color: var(--accent);
  border-color: var(--accent-border);
  background-color: var(--accent-dim);
}

/* ==========================================================================
   6. ZERTIFIKATE GRID (02 / NACHWEISE)
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cert-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.cert-featured {
  border-top: 2px solid var(--accent);
}

.cert-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}

.cert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.cert-code {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--accent);
  background-color: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.cert-title {
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.35;
}

/* ==========================================================================
   7. SKILLS & BEYOND SECURITY (03 / KOMPETENZEN)
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skill-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}

.skill-card-personal {
  border-color: var(--accent-border);
  background: linear-gradient(145deg, rgba(254, 209, 54, 0.06), rgba(20, 23, 31, 0.95));
}

.skill-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.skill-card-head .skill-title {
  margin-bottom: 0;
}

.personal-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background-color: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.skill-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}

/* ==========================================================================
   8. WERDEGANG: ECHTER ZEITSTRAHL / TIMELINE (04 / BERUF & BILDUNG)
   ========================================================================== */
.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.column-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-strong);
}

.column-heading svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
}

.timeline-list {
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 36px;
}

/* Durchgehende vertikale Zeitstrahl-Achse */
.timeline-list::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--accent) 0%,
    rgba(254, 209, 54, 0.45) 35%,
    rgba(255, 255, 255, 0.14) 100%
  );
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

/* Zeitstrahl-Knotenpunkt (Dot auf der vertikalen Achse) */
.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 2px solid rgba(254, 209, 54, 0.65);
  z-index: 2;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

/* Horizontale Verbindungslinie vom Knotenpunkt zur Karte */
.timeline-item::after {
  content: '';
  position: absolute;
  left: -17px;
  top: 34px;
  width: 16px;
  height: 2px;
  background-color: var(--border-strong);
  transition: background-color 0.22s ease;
}

/* Nur als "is-current" markierte Stationen leuchten dauerhaft am Zeitstrahl */
.timeline-item.is-current::before {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(254, 209, 54, 0.18), 0 0 12px rgba(254, 209, 54, 0.55);
}

.timeline-item.is-current::after {
  background-color: var(--accent-border);
}

.timeline-item:hover {
  border-color: var(--accent-border);
  background-color: var(--bg-surface-hover);
  transform: translateX(3px);
}

.timeline-item:hover::before {
  background-color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(254, 209, 54, 0.18);
}

.timeline-item:hover::after {
  background-color: var(--accent);
}

.timeline-item.is-current {
  border-color: var(--accent-border);
}

.timeline-logo {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 12px;
  background-color: #ffffff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.timeline-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.timeline-body {
  flex: 1;
  min-width: 0;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.timeline-status,
.timeline-degree {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}

.timeline-status {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.timeline-degree {
  background-color: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.timeline-org {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.3;
}

.timeline-role {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   9. KONTAKT & FOOTER
   ========================================================================== */
.contact-section {
  padding: 88px 0 104px;
}

.contact-box {
  background: linear-gradient(150deg, var(--bg-surface) 0%, #0d0f14 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.contact-title {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 26px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 0;
  background-color: var(--bg-primary);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
}

.footer-sep {
  color: var(--border-strong);
}

.footer-hint code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-hint:hover code {
  color: var(--accent);
}

/* ==========================================================================
   10. RESPONSIVE DESIGN (DESKTOP, TABLET & SMALL MOBILE)
   ========================================================================== */

/* Tablet Landscape (<= 980px) */
@media (max-width: 980px) {
  .bento-card,
  .bento-wide {
    grid-column: span 12;
  }

  .cert-grid,
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* Tablet Portrait & Mobile Navigation (<= 820px) */
@media (max-width: 820px) {
  .menu-toggle {
    display: flex;
  }

  .nav-right {
    gap: 10px;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: rgba(15, 17, 22, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-strong);
    padding: 20px 24px 26px;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-link {
    display: block;
    padding: 10px 4px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 12px 18px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }
}

/* Mobile (<= 640px) */
@media (max-width: 640px) {
  .cert-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .inspector-hint {
    display: none;
  }

  .contact-box {
    padding: 40px 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Small Smartphones (<= 480px, z.B. iPhone SE / 360px Breite) */
@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .eyebrow-pill {
    font-size: 0.72rem;
    padding: 5px 11px;
  }

  .domain-inspector {
    padding: 14px 16px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .bento-card,
  .cert-card,
  .skill-card {
    padding: 22px 20px;
  }

  .timeline-list {
    padding-left: 28px;
    gap: 16px;
  }

  .timeline-list::before {
    left: 8px;
  }

  .timeline-item {
    gap: 14px;
    padding: 16px;
  }

  .timeline-item::before {
    left: -25px;
    top: 24px;
    width: 12px;
    height: 12px;
  }

  .timeline-item::after {
    left: -13px;
    top: 29px;
    width: 12px;
  }

  .timeline-logo {
    width: 46px;
    height: 46px;
  }
}

/* ==========================================================================
   11. LIGHT-MODE SPEZIFISCHE AKZENTE (html[data-theme="light"])
   Sorgt dafür, dass Gelb (#fed136) auf weißem Grund maximalen Kontrast hat.
   ========================================================================== */
html[data-theme="light"] .site-header {
  background: rgba(248, 249, 251, 0.88);
}

html[data-theme="light"] .brand-accent {
  color: var(--text-primary);
  background-color: var(--accent);
  padding: 1px 5px;
  margin: 0 2px;
  border-radius: 4px;
}

html[data-theme="light"] .brand:hover .brand-accent {
  background-color: var(--accent-hover);
}

html[data-theme="light"] .lang-btn.is-active,
html[data-theme="light"] .theme-btn.is-active {
  background-color: var(--accent);
  color: var(--text-primary);
}

html[data-theme="light"] .text-accent {
  color: var(--text-primary);
  background: linear-gradient(180deg, transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%);
  padding: 0 4px;
  border-radius: 2px;
}

html[data-theme="light"] .hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-primary) 100%);
}

html[data-theme="light"] .hero-glow {
  background: radial-gradient(circle, rgba(254, 209, 54, 0.22) 0%, rgba(254, 209, 54, 0) 70%);
}

html[data-theme="light"] .segment-exploits {
  color: var(--text-primary);
  background-color: var(--accent);
  border-radius: 10px;
}

html[data-theme="light"] .segment-georg:hover,
html[data-theme="light"] .segment-georg:focus-visible,
html[data-theme="light"] .segment-georg.is-active,
html[data-theme="light"] .segment-systems:hover,
html[data-theme="light"] .segment-systems:focus-visible,
html[data-theme="light"] .segment-systems.is-active {
  background-color: rgba(15, 19, 26, 0.05);
}

html[data-theme="light"] .domain-segment.is-active::after,
html[data-theme="light"] .domain-segment:hover::after {
  background-color: var(--text-primary);
}

html[data-theme="light"] .domain-inspector {
  border-color: var(--border-strong);
  border-left: 4px solid var(--accent-hover);
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] .inspector-tag {
  color: var(--text-primary);
}

html[data-theme="light"] .inspector-link {
  color: var(--accent-text);
}

html[data-theme="light"] .inspector-link:hover,
html[data-theme="light"] .inspector-link:focus-visible {
  color: var(--text-primary);
}

html[data-theme="light"] .section-index {
  display: inline-block;
  color: var(--text-primary);
  background-color: var(--accent);
  padding: 2px 9px;
  border-radius: 4px;
}

html[data-theme="light"] .bento-card,
html[data-theme="light"] .cert-card,
html[data-theme="light"] .skill-card,
html[data-theme="light"] .timeline-item {
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] .card-icon {
  background-color: var(--accent);
  color: var(--text-primary);
  border-color: transparent;
}

html[data-theme="light"] .tag {
  background-color: var(--bg-primary);
}

html[data-theme="light"] .tag-accent {
  color: var(--text-primary);
  font-weight: 600;
}

html[data-theme="light"] .cert-code,
html[data-theme="light"] .personal-badge,
html[data-theme="light"] .timeline-status {
  background-color: var(--accent);
  color: var(--text-primary);
  border-color: transparent;
}

html[data-theme="light"] .skill-card-personal {
  background: linear-gradient(145deg, rgba(254, 209, 54, 0.16), #ffffff);
}

html[data-theme="light"] .column-heading svg {
  color: var(--accent-text);
}

html[data-theme="light"] .timeline-list::before {
  background: linear-gradient(
    180deg,
    var(--accent-hover) 0%,
    rgba(230, 180, 0, 0.55) 35%,
    rgba(15, 19, 26, 0.16) 100%
  );
}

html[data-theme="light"] .timeline-item::before {
  background-color: var(--bg-surface);
  border-color: var(--accent-hover);
}

html[data-theme="light"] .timeline-item.is-current::before,
html[data-theme="light"] .timeline-item:hover::before {
  background-color: var(--accent);
  border-color: var(--text-primary);
  box-shadow: 0 0 0 4px rgba(254, 209, 54, 0.4);
}

html[data-theme="light"] .timeline-degree {
  color: var(--text-primary);
}

html[data-theme="light"] .contact-box {
  background: linear-gradient(150deg, #ffffff 0%, var(--bg-secondary) 100%);
}

html[data-theme="light"] .btn-primary {
  color: var(--text-primary);
  box-shadow: 0 4px 14px rgba(254, 209, 54, 0.4);
}

html[data-theme="light"] .btn-secondary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

html[data-theme="light"] .site-footer {
  background-color: var(--bg-surface);
}

@media (max-width: 820px) {
  html[data-theme="light"] .main-nav {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  }
}
