/* ═══ Self-hosted Geist (DSGVO-konform, kein Google) ═══ */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/geist-v4-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/geist-v4-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/geist-v4-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/geist-v4-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/geist-v4-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/geist-mono-v4-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/geist-mono-v4-latin-500.woff2') format('woff2');
}

:root {
  --bg: #FAFAF7;
  --bg-2: #F2F2ED;
  --surface: #FFFFFF;
  --border: #E8E8E2;
  --border-strong: #D8D8D0;
  --fg: #0A0F0D;
  --fg-2: #3A403D;
  --fg-muted: #6B7270;
  --fg-subtle: #9CA29F;

  --green: #1A3D2C;
  --green-hover: #0F2619;
  --green-soft: #EAF0EC;
  --green-glow: rgba(26, 61, 44, 0.08);

  --dark-bg: #0A0F0D;
  --dark-surface: #111815;
  --dark-border: #1E2622;
  --dark-fg: #F5F5F0;
  --dark-fg-muted: #8A928E;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 15, 13, 0.04);
  --shadow: 0 4px 24px -8px rgba(10, 15, 13, 0.08);
  --shadow-lg: 0 24px 48px -20px rgba(10, 15, 13, 0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
}

::selection { background: var(--green); color: var(--bg); }
a { color: inherit; text-decoration: none; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }

h1, h2, h3, h4, h5 {
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.1;
}

p { color: var(--fg-2); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
}

section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }

.section-alt { background: var(--bg-2); }

/* ─── Chip ──────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(26, 61, 44, 0.12);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── Button ──────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  font-family: 'Geist', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: var(--green);
  color: var(--bg);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px var(--green-glow);
}

.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--fg);
  box-shadow: var(--shadow-sm);
}

/* ─── Nav ──────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
  gap: 1rem;
}

.nav-logo img { height: 32px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem;
  box-shadow: var(--shadow-sm);
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--fg-2);
  border-radius: 999px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
  background: var(--bg-2);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ─── Hero ──────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--border-strong) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, black 0%, transparent 80%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero .chip { margin-bottom: 2rem; animation: slideDown 0.7s ease both; }

.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.75rem;
  animation: slideUp 0.8s ease 0.1s both;
}

.hero h1 .accent {
  color: var(--green);
  position: relative;
  display: inline-block;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 0.12em;
  background: var(--green-soft);
  z-index: -1;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  animation: slideUp 0.8s ease 0.2s both;
}

.hero-sub.second {
  margin-bottom: 2.5rem;
  animation-delay: 0.25s;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  animation: slideUp 0.8s ease 0.3s both;
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Section header ──────────── */
.section-head {
  max-width: 780px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.section-head .chip { margin-bottom: 1.5rem; }

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  line-height: 1.05;
}

.section-head h2 .accent { color: var(--green); }

.section-head .lead {
  font-size: 1.08rem;
  color: var(--fg-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-head.left .lead { margin-left: 0; }

/* ─── Icon box ──────────── */
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(26, 61, 44, 0.15);
  flex-shrink: 0;
}

.icon-box svg { width: 20px; height: 20px; stroke-width: 1.6; }

/* ─── Card grid (3 equal) ──────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  min-height: 3.25rem;
}

.card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* ─── Training cards ──────────── */
.training-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.training-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px var(--green-glow);
}

.training-card .level-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.level-badge {
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  background: var(--green);
  color: var(--bg);
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.duration {
  font-family: 'Geist Mono', monospace;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.training-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.training-card > p.tag-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  color: var(--green);
  background: var(--green-soft);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(26, 61, 44, 0.15);
  align-self: flex-start;
}

.training-card .content-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-top: auto;
  padding-top: 1rem;
  margin-bottom: 0.75rem;
  border-top: 1px solid var(--border);
}

.training-card ul {
  list-style: none;
}

.training-card li {
  font-size: 0.88rem;
  color: var(--fg-2);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.training-card li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.training-footer {
  margin-top: 2.5rem;
  text-align: center;
  font-family: 'Geist Mono', monospace;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.training-footer span { margin: 0 0.75rem; }

/* ─── Single-focus section (Integration) ──────────── */
.focus-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.25);
  padding: clamp(2.5rem, 5vw, 4rem);
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

@media (max-width: 800px) {
  .focus-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.focus-card .focus-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-2);
  margin-bottom: 1.25rem;
}

.focus-card .focus-text p:last-child {
  margin-bottom: 0;
}

.focus-points {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  list-style: none;
}

.focus-points li {
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--fg);
  align-items: flex-start;
}

.focus-points li:first-child { padding-top: 0; }
.focus-points li:last-child { border-bottom: none; padding-bottom: 0; }

.focus-points .check {
  width: 18px; height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ─── Split section (Software / Hardware) ──────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
}

.split.reverse .split-text { order: 2; }
.split.reverse .split-spec { order: 1; }

@media (max-width: 900px) {
  .split.reverse .split-text { order: 1; }
  .split.reverse .split-spec { order: 2; }
}

.split-text .chip { margin-bottom: 1.25rem; }

.split-text h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

.split-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  max-width: 52ch;
}

.split-text p:last-child { margin-bottom: 0; }

.split-spec {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: sticky;
  top: 6rem;
}

.split-spec .spec-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.spec-items {
  list-style: none;
}

.spec-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
  color: var(--fg);
}

.spec-items li:last-child { border-bottom: none; padding-bottom: 0; }

.spec-items li .spec-num {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  color: var(--fg-subtle);
}

/* ─── Solid Qubits ──────────── */
.qubits {
  background: var(--dark-bg);
  color: var(--dark-fg);
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.qubits::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(245, 245, 240, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.qubits::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(26, 61, 44, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.qubits .container { position: relative; z-index: 2; }

.qubits .section-head h2 { color: var(--dark-fg); }
.qubits .section-head .lead { color: var(--dark-fg-muted); }

.qubits .chip {
  background: rgba(245, 245, 240, 0.06);
  color: var(--dark-fg);
  border-color: rgba(245, 245, 240, 0.1);
}

.qubits .chip .dot { background: #4ADE80; }
.qubits h2 .accent { color: #4ADE80; }

.qubits-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .qubits-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .qubits-features { grid-template-columns: 1fr; }
}

.q-feature {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.35s ease;
}

.q-feature:hover {
  border-color: rgba(74, 222, 128, 0.3);
  transform: translateY(-3px);
  background: #131B17;
}

.q-feature .q-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(74, 222, 128, 0.1);
  color: #4ADE80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.q-feature .q-icon svg { width: 18px; height: 18px; stroke-width: 1.8; }

.q-feature h4 {
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dark-fg);
  letter-spacing: -0.015em;
}

.q-feature p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--dark-fg-muted);
}

.qubits-usps {
  margin-top: 3rem;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .qubits-usps { grid-template-columns: 1fr; gap: 1.5rem; }
}

.qubits-usps h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark-fg);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.qubits-usps .usps-list { list-style: none; }

.qubits-usps .usps-list li {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--dark-border);
  color: var(--dark-fg);
  font-size: 0.93rem;
  line-height: 1.55;
}

.qubits-usps .usps-list li:first-child { padding-top: 0; }
.qubits-usps .usps-list li:last-child { border-bottom: none; padding-bottom: 0; }

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #4ADE80;
  margin-top: 0.15rem;
}

.qubits-closing {
  margin-top: 3rem;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 2rem 0;
  border-top: 1px solid var(--dark-border);
}

.qubits-closing p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--dark-fg);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ─── About ──────────── */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.portrait-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}

.portrait-card:hover { transform: translateY(-3px); }

.portrait-frame {
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  border-radius: 10px;
  overflow: hidden;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-body {
  padding: 1.25rem 0.75rem 0.5rem;
}

.portrait-body .name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.portrait-body .role {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 1.1rem;
}

.portrait-body .bio {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--fg-muted);
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.about-content > p.intro {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 58ch;
}

.about-content h3 {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  font-weight: 500;
  margin-bottom: 1rem;
}

.questions-list {
  list-style: none;
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--border);
}

.questions-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
  transition: padding-left 0.3s ease, background 0.3s ease;
}

.questions-list li:hover {
  padding-left: 0.75rem;
  background: linear-gradient(to right, var(--green-soft), transparent 70%);
}

.questions-list .q-num {
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.questions-list .q-text {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.45;
  letter-spacing: -0.005em;
}

@media (max-width: 600px) {
  .questions-list li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1.2rem 0;
  }
  .questions-list li:hover { padding-left: 0; }
}

/* ─── CTA / Arbeitsverständnis ──────────── */
.cta-card {
  background: linear-gradient(140deg, var(--green) 0%, #0F2619 100%);
  border-radius: calc(var(--radius) * 1.25);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem);
  color: var(--dark-fg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(10, 15, 13, 0.3);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(245, 245, 240, 0.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-card p {
  margin-left: auto;
  margin-right: auto;
}

.cta-card .cta-meta {
  justify-content: center;
}

.cta-card .chip {
  background: rgba(245, 245, 240, 0.08);
  color: var(--dark-fg);
  border-color: rgba(245, 245, 240, 0.12);
  margin-bottom: 1.5rem;
}

.cta-card .chip .dot { background: #4ADE80; }

.cta-card h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--dark-fg);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.cta-card p {
  font-size: 1.05rem;
  color: var(--dark-fg-muted);
  margin-bottom: 1.25rem;
  max-width: 58ch;
  line-height: 1.65;
}

.cta-card p:last-of-type { margin-bottom: 2.25rem; }

.cta-card .btn {
  background: var(--dark-fg);
  color: var(--green);
  border-color: var(--dark-fg);
}

.cta-card .btn:hover {
  background: var(--bg);
  border-color: var(--bg);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.3);
}

.cta-meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 245, 240, 0.1);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-meta-item {
  font-family: 'Geist Mono', monospace;
  font-size: 0.8rem;
  color: var(--dark-fg-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-meta-item svg {
  width: 14px;
  height: 14px;
  color: #4ADE80;
}

/* ─── Footer ──────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  max-width: 32ch;
  line-height: 1.55;
}

.footer-col h5 {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; }

.footer-col li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
}

.footer-col a {
  color: var(--fg-2);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--green); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  color: var(--fg-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── Reveal ──────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* ═══ Solid Qubits — Showcase Cards ═══ */
.qubits-showcase {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.qubits-showcase .showcase-head {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.qubits-showcase .showcase-head h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.qubits-showcase .showcase-head .lead {
  color: var(--fg-muted);
  font-size: 1rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (max-width: 768px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.showcase-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem;
}

.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px -4px rgba(10, 15, 13, 0.15);
}

.showcase-card figcaption {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.showcase-card figcaption h4 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.showcase-card figcaption p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.showcase-img {
  cursor: zoom-in;
}

/* ═══ Lightbox ═══ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 15, 13, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: min(1400px, 95vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transform: scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  background: var(--surface);
}

.lightbox-content figcaption {
  color: var(--dark-fg);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  opacity: 0.9;
}

.lightbox-close {
  position: absolute;
  top: clamp(1rem, 2.5vw, 2rem);
  right: clamp(1rem, 2.5vw, 2rem);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--dark-fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.hero-actions-center {
  justify-content: center;
}

/* ═══ External-Link-Modal (Google Calendar) ═══ */
.ext-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(10, 15, 13, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ext-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.ext-modal-card {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ext-modal.open .ext-modal-card {
  transform: scale(1) translateY(0);
}

.ext-modal-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
  color: var(--fg);
}

.ext-modal-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--fg-2);
  margin-bottom: 0.85rem;
}

.ext-modal-card .ext-modal-hint {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.ext-modal-card a:not(.btn) {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ═══ Collapsible Sections (FAQ + Glossar) ═══ */
.collapsible-section {
  max-width: 880px;
  margin: 0 auto 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.collapsible-section[open] {
  box-shadow: var(--shadow);
}

.collapsible-summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: background 0.2s ease;
}

.collapsible-summary::-webkit-details-marker { display: none; }
.collapsible-summary::marker { content: ""; }

.collapsible-summary:hover {
  background: var(--bg-2);
}

.collapsible-section[open] > .collapsible-summary {
  border-bottom: 1px solid var(--border);
}

.collapsible-head {
  flex: 1;
}

.collapsible-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.collapsible-head .lead {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
}

.collapsible-toggle {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background 0.2s ease;
}

.collapsible-toggle::before,
.collapsible-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--fg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.collapsible-toggle::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.collapsible-toggle::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.collapsible-section[open] .collapsible-toggle {
  border-color: var(--green);
  background: var(--green-soft);
}

.collapsible-section[open] .collapsible-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.collapsible-summary:hover .collapsible-toggle {
  border-color: var(--fg);
}

.collapsible-body {
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

/* ─── FAQ items ──────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 2rem 0.85rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.faq-item > summary::-webkit-details-marker { display: none; }

.faq-item > summary h4 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  display: inline;
  margin: 0;
  transition: color 0.2s ease;
}

.faq-item > summary:hover h4 {
  color: var(--green);
}

.faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--fg-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faq-item[open] > summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--green);
}

.faq-answer {
  padding: 0.25rem 0 1rem;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--fg-2);
}

/* ─── Glossar ──────────── */
.glossar {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.glossar-block h3 {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.glossar-block dl {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  gap: 0.85rem 1.5rem;
}

@media (max-width: 640px) {
  .glossar-block dl {
    grid-template-columns: 1fr;
    gap: 0.35rem 0;
  }
  .glossar-block dl dt {
    margin-top: 0.85rem;
  }
  .glossar-block dl dt:first-child {
    margin-top: 0;
  }
}

.glossar-block dt {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.glossar-block dd {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}

.ext-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .ext-modal-actions {
    flex-direction: column-reverse;
  }
  .ext-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══ Legal Pages (Impressum, Datenschutz, AGB) ═══ */
.legal-page {
  padding: clamp(5rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 3.5vw, 3rem);
}

.legal-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.legal-eyebrow {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.legal-card h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--fg);
}

.legal-stand {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.legal-card section {
  padding: 0;
  margin-bottom: 1.25rem;
}

.legal-card section:last-of-type {
  margin-bottom: 0;
}

.legal-card h2 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  color: var(--fg);
  scroll-margin-top: 6rem;
}

.legal-card p,
.legal-card ul {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--fg-2);
  margin-bottom: 0.5rem;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  padding-left: 1.3rem;
}

.legal-card ul li {
  margin-bottom: 0.25rem;
}

.legal-card a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.legal-card a:hover {
  color: var(--green-hover);
}

.legal-foot {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.legal-foot p {
  font-size: 0.78rem;
  color: var(--fg-subtle);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
