* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #eef5f4; font-family: 'Hanken Grotesk', sans-serif; }
a { text-decoration: none; }
section { scroll-margin-top: 20px; }

.wrap { max-width: 1200px; margin: 0 auto; box-shadow: 0 0 60px -30px rgba(10,74,76,.6); }
.page { background: #ffffff; color: #12302e; }

.text-accent { color: #ff6a35; }

.eyebrow { font: 700 12px 'Space Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #ff6a35; margin-bottom: 16px; }
.eyebrow--tight { margin-bottom: 14px; }
.eyebrow--mint { color: #9ff0e6; }

.btn-primary { display: inline-block; font: 600 16px 'Space Grotesk'; color: #fff; background: #ff6a35; padding: 17px 30px; border-radius: 999px; border: none; cursor: pointer; appearance: none; -webkit-appearance: none; box-shadow: none; outline: none; text-align: center; }
.btn-primary:hover { cursor: pointer; }
.btn-secondary { font: 600 16px 'Space Grotesk'; color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.4); padding: 17px 30px; border-radius: 999px; }
.btn-teal { font: 600 16px 'Space Grotesk'; color: #fff; background: #0e6b6f; padding: 15px 28px; border-radius: 999px; display: inline-block; }

/* Header / footer wordmark */
.logo { display: flex; align-items: center; gap: 7px; font: 700 24px 'Space Grotesk', sans-serif; letter-spacing: -.02em; color: #fff; }
.logo-triangle { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid #ff6a35; display: inline-block; }
.footer-logo { display: flex; align-items: center; gap: 7px; font: 700 20px 'Space Grotesk'; color: #fff; }
.footer-logo-triangle { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid #ff6a35; display: inline-block; }

/* Hero */
.hero { background: linear-gradient(158deg,#0a4a4c 0%,#0e6b6f 52%,#13a39c 100%); position: relative; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 60px; position: relative; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font: 500 14px 'Hanken Grotesk'; color: rgba(255,255,255,.82); }
.nav-cta { font: 600 14px 'Hanken Grotesk'; color: #fff; background: #ff6a35; padding: 11px 22px; border-radius: 999px; }

.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 22px; cursor: pointer; }
.nav-burger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; }

@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0d2422;
    padding: 10px 60px 20px;
    z-index: 20;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links .nav-link { padding: 12px 0; }
  .nav-links .nav-cta { margin-top: 8px; text-align: center; }
}
.hero-content { padding: 80px 60px 110px; max-width: 880px; }
.hero-eyebrow { font: 700 13px 'Space Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #9ff0e6; margin-bottom: 26px; }
.hero-title { font: 700 68px/1.04 'Space Grotesk', sans-serif; letter-spacing: -.025em; margin: 0 0 26px; color: #fff; }
.hero-sub { font: 400 20px/1.6 'Hanken Grotesk'; color: rgba(255,255,255,.82); max-width: 620px; margin: 0 0 38px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-wave { display: block; width: 100%; height: 70px; position: relative; margin-bottom: -1px; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4,1fr); padding: 8px 60px 40px; gap: 20px; }
.stat-number { font: 700 38px 'Space Grotesk'; color: #0e6b6f; letter-spacing: -.02em; }
.stat-label { font: 500 13px 'Hanken Grotesk'; color: #5d6f6c; }

/* About */
.about-section { padding: 70px 60px; background: #eef5f4; display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.portrait-placeholder { /*aspect-ratio: 1/1;*/ background: repeating-linear-gradient(135deg,#dde9e7,#dde9e7 13px,#e7f0ef 13px,#e7f0ef 26px); border: 1px solid rgba(18,48,46,.12); border-radius: 18px; display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.portrait-label { font: 500 11px 'Space Mono', monospace; color: #6d807d; background: #eef5f4; padding: 6px 11px; border-radius: 6px; }
.portrait-photo { /*aspect-ratio: 1/1;*/ width: 100%; object-fit: cover; border: 1px solid rgba(18,48,46,.12); border-radius: 18px; display: block; }
.section-title { font: 700 44px/1.07 'Space Grotesk'; letter-spacing: -.02em; margin: 0 0 20px; color: #12302e; }
.section-title--ondark { color: #fff; }
.section-title--narrow { max-width: 680px; }
.section-text { font: 400 17px/1.7 'Hanken Grotesk'; color: #3c4f4c; margin: 0 0 24px; }
.section-text--ondark { color: rgba(255,255,255,.75); }
.section-text--narrow { max-width: 640px; }
.section-text--tight { margin: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.credential-chip { font: 600 13px 'Space Mono', monospace; color: #fff; background: #0e6b6f; padding: 7px 13px; border-radius: 7px; }

.qualifications { margin-top: 4px; }
.qualification-group { margin-top: 14px; }
.qualification-group + .qualification-group { margin-top: 18px; }
.qualification-group-label { font: 600 11px 'Space Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: #869490; margin-bottom: 8px; }
.qualification-group .chip-row { margin-top: 0; }
.credential-chip--degree { background: #12302e; }
.credential-chip--continuing { background: #13a39c; }
.qualifications-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: 600 13px 'Space Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: #0e6b6f; list-style: none; }
.qualifications-toggle::-webkit-details-marker { display: none; }
.qualifications-toggle::before { content: '▸'; color: #ff6a35; font-size: 19.5px; position: relative; top: -1px; transition: transform .15s; }
.qualifications[open] .qualifications-toggle::before { transform: rotate(90deg); }

/* Warum Mentoring */
.compare-section { padding: 78px 60px; background: #fdf5f0; }
.compare-table-wrap { overflow-x: auto; border: 1px solid rgba(18,48,46,.12); border-radius: 16px; background: #ffffff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid rgba(18,48,46,.1); }
.compare-table thead th { font: 700 12px 'Space Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: #12302e; background: #eef5f4; }
.compare-table td { font: 500 15px 'Hanken Grotesk'; color: #3c4f4c; }
.compare-table tbody th { text-align: left; font: 600 15px 'Hanken Grotesk'; color: #12302e; background: none; }
.compare-table thead th:first-child { text-align: left; }
.compare-table tr:last-child td, .compare-table tr:last-child th { border-bottom: none; }
.compare-table th:last-child, .compare-table td:last-child { background: rgba(31,157,85,.08); }
.compare-yes, .compare-no { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; }
.compare-yes { background: rgba(31,157,85,.14); color: #1f9d55; }
.compare-no { background: rgba(229,72,77,.12); color: #e5484d; }

@media (max-width: 640px) {
  .compare-table { min-width: 0; }

  .compare-table th, .compare-table td {
    padding: 10px 6px;
  }

  .compare-table thead th:not(:first-child) {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    vertical-align: bottom;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .compare-table tbody th {
    font-size: 13px;
    line-height: 1.35;
  }
}

/* Courses */
.courses-section { padding: 78px 60px; }
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.course-card { border: 1.5px solid #d7e3e1; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; min-height: 240px; transition: border-color .15s; }
.course-card:hover { border-color: #ff6a35; }
.course-number { font: 700 14px 'Space Mono', monospace; color: #ff6a35; margin-bottom: auto; }
.course-title { font: 700 23px/1.15 'Space Grotesk'; letter-spacing: -.01em; margin: 14px 0 10px; color: #12302e; }
.course-desc { font: 400 15px/1.6 'Hanken Grotesk'; color: #56685f; margin: 0 0 18px; }
.course-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.course-price { font: 700 16px 'Space Grotesk'; color: #12302e; }
.course-link { font: 600 13px 'Hanken Grotesk'; color: #ff6a35; }
.course-cta-card { background: linear-gradient(150deg,#0e6b6f,#0a4a4c); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; justify-content: center; min-height: 240px; }
.course-cta-title { font: 700 23px/1.2 'Space Grotesk'; letter-spacing: -.01em; margin: 0 0 12px; color: #fff; }
.course-cta-text { font: 400 15px/1.6 'Hanken Grotesk'; color: rgba(255,255,255,.8); margin: 0 0 18px; }
.course-cta-link { font: 600 14px 'Space Grotesk'; color: #0a4a4c; background: #fff; padding: 13px 22px; border-radius: 999px; align-self: flex-start; }

/* Dev-Leader-Ausbildung */
.dla-section { padding: 80px 60px; background: linear-gradient(160deg,#0a4a4c,#0e6b6f); color: #fff; }
.dla-intro { max-width: 680px; margin-bottom: 46px; }
.dla-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-bottom: 40px; }
.dla-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 24px 20px; }
.dla-numeral { font: 700 30px 'Space Grotesk'; color: #ff6a35; margin-bottom: 14px; }
.dla-card-title { font: 700 18px/1.2 'Space Grotesk'; margin: 0 0 8px; }
.dla-card-text { font: 400 13.5px/1.55 'Hanken Grotesk'; color: rgba(255,255,255,.72); margin: 0; }
.dla-cta { font: 600 16px 'Space Grotesk'; color: #0a4a4c; background: #fff; padding: 16px 28px; border-radius: 999px; display: inline-block; }

/* Skill-Kompass section + widget */
.kompass-section { padding: 78px 60px; background: #0d2422; }
.kompass-intro { max-width: 640px; margin-bottom: 40px; }

#skill-kompass {
  --accent: #ff6a35;
  --accent2: #13a39c;
  --text: #eafaf8;
  --muted: rgba(234,250,248,.6);
  --line: rgba(255,255,255,.2);
  --line-solid: #3d504e;
  --panel: rgba(255,255,255,.06);
  --chip: rgba(255,255,255,.05);
  --radius: 12px;
  --font-d: 'Space Grotesk', sans-serif;
  --mono: 'Space Mono', monospace;
  font-family: 'Hanken Grotesk', sans-serif;
  width: 100%;
}

.kompass-mindmap { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.kompass-side { flex: 1 1 320px; min-width: 280px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.kompass-mindmap.is-animating .kompass-side,
.kompass-mindmap.is-animating .kompass-root-center { transition: margin-top .25s ease; }
.kompass-mindmap.is-animating .kompass-side--left::after,
.kompass-mindmap.is-animating .kompass-side--right::after { transition: height .25s ease, bottom .25s ease; }
.kompass-side--left { padding-right: 30px; }
.kompass-side--right { padding-left: 30px; }
.kompass-side--left::after { content: ''; position: absolute; top: 21px; height: calc(var(--spine-stub-y, 21px) - 21px); right: 14px; width: 2px; background: var(--line-solid); }
.kompass-side--right::after { content: ''; position: absolute; top: 21px; height: calc(var(--spine-stub-y, 21px) - 21px); left: 14px; width: 2px; background: var(--line-solid); }
.kompass-root-center { flex: none; position: relative; background: var(--accent2); color: #fff; font: 700 16px/1.15 var(--font-d); padding: 12px 20px; border-radius: var(--radius); text-align: center; white-space: nowrap; box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); }
.kompass-root-center::before,
.kompass-root-center::after { content: ''; position: absolute; top: 50%; margin-top: -1px; width: 14px; height: 2px; background: var(--line-solid); }
.kompass-root-center::before { right: 100%; }
.kompass-root-center::after { left: 100%; }
.kompass-cat { position: relative; }
.kompass-cat--left::before { content: ''; position: absolute; right: -16px; top: 21px; width: 16px; height: 2px; background: var(--line-solid); }
.kompass-cat--right::before { content: ''; position: absolute; left: -16px; top: 21px; width: 16px; height: 2px; background: var(--line-solid); }
.cat-btn { display: flex; align-items: center; gap: 11px; width: 100%; height: 42px; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; cursor: pointer; color: var(--text); font: 600 15px/1.2 var(--font-d); transition: border-color .15s; }
.cat-btn:hover { border-color: var(--accent); }
.cat-chevron { color: var(--accent); font-size: 12px; width: 12px; display: inline-block; }
.cat-label { flex: 1; }
.cat-badge { background: var(--accent); color: #fff; font: 700 11px var(--mono); line-height: 18px; height: 18px; padding: 0 8px; border-radius: 20px; }
.skill-chips-wrap { overflow: hidden; transition: max-height .25s ease; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 4px 26px; }
.skill-chip { font: 500 13px/1.2 var(--font-d); padding: 7px 12px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: var(--chip); color: var(--muted); transition: all .15s; }
.skill-chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.kompass-footer { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.kompass-count { font: 700 26px/1 var(--font-d); color: var(--accent); }
.kompass-count-label { color: var(--muted); font-size: 14px; flex: 1; min-width: 120px; }
.kompass-reset { background: transparent; border: 1px solid var(--line); color: var(--muted); font: 500 13px var(--font-d); padding: 9px 16px; border-radius: var(--radius); cursor: pointer; }
.kompass-cta { display: inline-block; background: var(--accent); border: none; color: #fff; font: 600 13px var(--font-d); padding: 10px 18px; border-radius: var(--radius); cursor: pointer; text-decoration: none; }
.kompass-cta:disabled,
.kompass-cta.is-disabled { background: var(--line-solid); color: var(--muted); cursor: not-allowed; }

/* Community */
.community-section { padding: 80px 60px; background: #eef5f4; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.community-cta--mobile { display: none; }
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric-tile { border-radius: 16px; padding: 26px; }
.metric-tile--teal { background: #0e6b6f; color: #fff; }
.metric-tile--orange { background: #ff6a35; color: #fff; }
.metric-tile--outline { background: #fff; border: 1px solid #d7e3e1; }
.metric-number { font: 700 40px 'Space Grotesk'; letter-spacing: -.02em; }
.metric-label { font: 500 14px 'Hanken Grotesk'; }
.metric-label--teal { color: rgba(255,255,255,.82); }
.metric-label--orange { color: rgba(255,255,255,.9); }
.metric-label--muted { color: #5d6f6c; }
.metric-label--mt { margin-top: 6px; }
.metric-title-text { font: 700 22px/1.2 'Space Grotesk'; color: #12302e; }

/* Buchen */
.booking-section { padding: 80px 60px; }
.booking-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.booking-card { background: #0d2422; border-radius: 18px; padding: 34px; }
.booking-card-title { font: 700 26px 'Space Grotesk'; letter-spacing: -.01em; margin: 0 0 22px; color: #fff; }

.mentoring-form-root {
  --accent: #ff6a35;
  --text: #12302e;
  --muted: #6b7f7a;
  --line: #d7e3e1;
  --field: #eef5f4;
  --radius: 12px;
  --font-d: 'Space Grotesk', sans-serif;
  --font-b: 'Hanken Grotesk', sans-serif;
  --mono: 'Space Mono', monospace;
  font-family: 'Hanken Grotesk', sans-serif;
  margin-top: 28px;
  max-width: 560px;
  min-width: 0;
}
.mentoring-form-root .field-group { min-width: 0; }
.mentoring-form-root .field-input { width: 100%; min-width: 0; }
.mentoring-form-root .submit-btn:disabled { background: #c7d3d1; color: #8b9d99; cursor: not-allowed; }
.mentoring-form-root .submit-btn:disabled:hover { filter: none; }

#booking-form {
  --accent: #ff6a35;
  --text: #eafaf8;
  --muted: rgba(234,250,248,.6);
  --line: rgba(255,255,255,.18);
  --field: rgba(255,255,255,.06);
  --radius: 12px;
  --font-d: 'Space Grotesk', sans-serif;
  --font-b: 'Hanken Grotesk', sans-serif;
  --mono: 'Space Mono', monospace;
  font-family: 'Hanken Grotesk', sans-serif;
  width: 100%;
}
#booking-form .submit-btn:disabled { background: rgba(255,255,255,.12); color: rgba(234,250,248,.4); cursor: not-allowed; }
#booking-form .submit-btn:disabled:hover { filter: none; }

.booking-form { display: flex; flex-direction: column; gap: 16px; }
.field-group { display: flex; flex-direction: column; gap: 7px; }
.field-label { font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.label-optional { text-transform: none; font-weight: 400; }
.label-required { color: var(--accent); }
.field-row { display: flex; gap: 14px; flex-wrap: wrap; }
.field-half { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 7px; }
.field-input { background: var(--field); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; color: var(--text); font: 500 15px var(--font-b); }
textarea.field-input { resize: vertical; font-family: var(--font-b); }
.field-password { position: relative; }
.field-password .field-input { width: 100%; padding-right: 44px; }
.field-password-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: none; border: none; border-radius: 6px; color: var(--muted); cursor: pointer; }
.field-password-toggle:hover { color: var(--text); background: var(--field); }
.turnstile-widget { margin: 4px 0; }
.field-checkbox-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; margin: 4px 0; }
.field-checkbox-row input[type="checkbox"] { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.field-checkbox-row a { color: inherit; text-decoration: underline; }
.submit-btn { background: var(--accent); border: none; color: #fff; font: 700 16px var(--font-d); padding: 16px 22px; border-radius: var(--radius); cursor: pointer; margin-top: 4px; transition: filter .15s; appearance: none; -webkit-appearance: none; box-shadow: none; outline: none; }
.submit-btn:hover { filter: brightness(1.06); }
.btn-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; vertical-align: middle; animation: btn-spin .7s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
.loading-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(18,48,46,.15); border-top-color: #12302e; border-radius: 50%; vertical-align: middle; animation: btn-spin .7s linear infinite; }
.form-hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.form-hint--error { color: #d1453b; margin-top: 6px; }
.form-hint--error a { color: inherit; text-decoration: underline; }
.sent-state { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 8px 0; }
.sent-check { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 26px var(--font-d); }
.sent-title { font: 700 24px/1.15 var(--font-d); color: var(--text); }
.sent-msg { color: var(--muted); font: 400 15px/1.6 var(--font-b); max-width: 420px; }
.reset-btn { background: transparent; border: 1px solid var(--line); color: var(--text); font: 500 14px var(--font-d); padding: 11px 18px; border-radius: var(--radius); cursor: pointer; }


/* Homepage responsiveness */
@media (max-width: 640px) {
  .hero-title { font-size: 36px; }
  .section-title {
    font-size: 28px;
  }

  .courses-grid { grid-template-columns: 1fr; }

  .about-section { grid-template-columns: 1fr; }
  .portrait-placeholder, .portrait-photo { max-width: 180px; margin-bottom: 8px; }

  .dla-grid { grid-template-columns: 1fr; }

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

}

/* Community and Erstgespräch boxes: their own (wider) breakpoint, since
   they read fine stacked well before the general 640px mobile layout kicks in. */
@media (max-width: 800px) {
  .community-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .community-cta--desktop { display: none; }
  .community-cta--mobile { display: inline-block; }

  .booking-layout { grid-template-columns: 1fr; }
}

/* Kurse: an intermediate 2-column tier before the existing single-column
   mobile layout. Explicit min-width so it never overlaps the ≤640px rule. */
@media (min-width: 641px) and (max-width: 900px) {
  .courses-grid { grid-template-columns: repeat(2,1fr); }
}

/* Dev-Leader-Ausbildung: an intermediate tier of 3 cards in the first row and
   2 (wider) cards in the second, before the existing single-column mobile
   layout. flex-wrap + flex-grow lets the trailing row's cards fill the extra
   space instead of leaving a gap, unlike a fixed-column grid would. */
@media (min-width: 641px) and (max-width: 1024px) {
  .dla-grid { display: flex; flex-wrap: wrap; }
  .dla-card { flex: 1 1 30%; }
}

/* Skill-Kompass responsiveness: its own (wider) breakpoint, independent of
   the general 640px one above. The two-sided mindmap needs ~800px+ to lay
   out without an awkward mid-row wrap, so switch to the top-down directory
   tree well before that, rather than only at the generic mobile width. */
@media (max-width: 1024px) {
  .kompass-mindmap { flex-direction: column; align-items: stretch; gap: 0; }
  .kompass-root-center { order: -1; align-self: flex-start; margin: 0 0 16px !important; }
  .kompass-root-center::before { display: none; }
  .kompass-root-center::after { display: block; content: ''; position: absolute; top: 100%; left: 14px; width: 2px; height: 16px; margin-top: 0; background: var(--line-solid); }
  .kompass-side--left,
  .kompass-side--right { flex: none; padding: 0 0 0 30px; margin-top: 0 !important; }
  .kompass-side--left { margin-bottom: 12px !important; }
  .kompass-side--left::after { right: auto; left: 14px; top: 0; height: auto; bottom: -12px; }
  .kompass-side--right::after { right: auto; left: 14px; top: 0; height: var(--spine-stub-y, 21px); bottom: auto; }
  .kompass-cat--left::before,
  .kompass-cat--right::before { right: auto; left: -16px; }
}

/* Course detail page */
.crumb-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 6px 60px 34px; }
.crumb-path { font: 500 13px 'Hanken Grotesk'; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 8px; }
.crumb-path a { color: rgba(255,255,255,.65); }
.crumb-current { color: #fff; font-weight: 600; }
.crumb-back { font: 600 13px 'Hanken Grotesk'; color: #fff; display: flex; align-items: center; gap: 6px; }

.course-detail-header { padding: 40px 60px 50px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: start; border-bottom: 1px solid rgba(18,48,46,.1); }
.course-detail-title { font: 700 46px/1.1 'Space Grotesk'; letter-spacing: -.02em; margin: 0 0 20px; color: #12302e; }
.course-detail-promise { font: 400 18px/1.65 'Hanken Grotesk'; color: #3c4f4c; max-width: 560px; margin: 0; }
.target-audience { margin-top: 22px; }
.target-audience-label { font: 600 11px 'Space Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: #869490; margin-bottom: 6px; }
.target-audience-value { font: 500 15px 'Hanken Grotesk'; color: #3c4f4c; }

.summary-card { background: #eef5f4; border: 1px solid rgba(18,48,46,.12); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; }
.summary-row + .summary-row { border-top: 1px solid rgba(18,48,46,.1); padding-top: 14px; }
.summary-label { font: 500 13px 'Hanken Grotesk'; color: #5d6f6c; padding-right: 12px; }
.summary-value { font: 700 14px 'Space Grotesk'; color: #12302e; text-align: right; }
.summary-price-label { font: 600 15px 'Hanken Grotesk'; color: #12302e; }
.summary-price-value { font: 700 24px 'Space Grotesk'; color: #12302e; text-align: right; }
.btn-primary--block { display: block; text-align: center; margin-top: 4px; }

.selected-skills-card {
  --accent: #ff6a35;
  --text: #12302e;
  --line: rgba(18,48,46,.12);
  --chip: #fff;
  --font-d: 'Space Grotesk', sans-serif;
  background: #eef5f4;
  border: 1px solid rgba(18,48,46,.12);
  border-radius: 16px;
  padding: 26px;
}
.selected-skills-label { font: 600 11px 'Space Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: #5d6f6c; margin-bottom: 14px; }
.selected-skills-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.selected-skills-cloud .skill-chip { cursor: default; }
.selected-skills-empty { font: 400 14px/1.6 'Hanken Grotesk'; color: #5d6f6c; }
.selected-skills-empty a { color: #ff6a35; }

.course-detail-grid { padding: 60px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.course-col-heading { font: 700 26px/1.2 'Space Grotesk'; margin: 0 0 20px; color: #12302e; }
.topic-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(18,48,46,.1); }
.topic-index { width: 26px; height: 26px; border-radius: 50%; background: #eef5f4; color: #0e6b6f; flex: none; display: flex; align-items: center; justify-content: center; font: 700 12px 'Space Mono', monospace; }
.topic-title { font: 600 15px 'Hanken Grotesk'; color: #12302e; margin-bottom: 3px; }
.topic-desc { font: 400 14px/1.55 'Hanken Grotesk'; color: #56685f; }
.outcome-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(18,48,46,.1); }
.outcome-check { width: 26px; height: 26px; border-radius: 50%; background: #0e6b6f; color: #fff; flex: none; display: flex; align-items: center; justify-content: center; font: 700 13px 'Space Grotesk'; }
.outcome-item-text { font: 400 15px/1.6 'Hanken Grotesk'; color: #3c4f4c; padding-top: 2px; }

.more-courses-section { padding: 0 60px 60px; }

/* Dev-Leader-Ausbildung detail page: program blocks + sticky outcomes panel */
.program-grid { padding: 60px 60px; display: grid; grid-template-columns: 1.35fr .95fr; gap: 50px; align-items: start; }
.program-blocks { display: flex; flex-direction: column; gap: 14px; }
.block-card { border: 1.5px solid #d7e3e1; border-radius: 16px; overflow: hidden; }
.block-header { display: flex; align-items: center; gap: 20px; width: 100%; padding: 24px 28px; flex-wrap: wrap; background: none; border: none; text-align: left; font: inherit; color: inherit; cursor: pointer; appearance: none; -webkit-appearance: none; box-shadow: none; outline: none; transition: background-color .15s; }
.block-header:hover { background: #eef5f4; }
.block-numeral { font: 700 30px 'Space Grotesk'; color: #ff6a35; min-width: 40px; }
.block-title-group { flex: 1; min-width: 200px; }
.block-title { font: 700 21px/1.2 'Space Grotesk'; margin: 0 0 4px; color: #12302e; }
.block-summary { font: 400 14px/1.5 'Hanken Grotesk'; color: #56685f; margin: 0; }
.block-count { font: 600 13px 'Hanken Grotesk'; color: #0e6b6f; white-space: nowrap; }
.block-chevron { flex: none; font-size: 16px; color: #ff6a35; width: 16px; text-align: center; }
.block-body { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.block-body-inner { padding: 6px 28px 22px; }
.block-body-inner a { color: #ff6a35; }
.block-body-inner a:visited { color: #ff6a35; }
.block-body-inner a:hover { text-decoration: underline; }
.block-body-inner a:active { filter: brightness(.85); }
.outcomes-panel { position: sticky; top: 20px; }

.course-detail-header--single { grid-template-columns: 1fr; }
.course-detail-header--flush { border-bottom: none; padding-bottom: 20px; }

.legal-content { padding: 10px 60px 70px; max-width: 720px; }
.legal-content a { color: inherit; text-decoration: underline; }
.legal-section { padding: 26px 0; border-top: 1px solid rgba(18,48,46,.1); }
.legal-section:first-child { border-top: none; }
.legal-meta-row { margin-bottom: 18px; }
.legal-meta-row:last-child { margin-bottom: 0; }
.legal-text-last { margin-bottom: 0; }

.user-card { background: #eef5f4; border: 1px solid rgba(18,48,46,.12); border-radius: 16px; padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.user-card-loading { display: flex; align-items: center; gap: 10px; }
.user-card-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #12302e; color: #fff; display: flex; align-items: center; justify-content: center; font: 700 15px 'Space Grotesk'; }
.user-card-body { flex: 1; min-width: 0; }
.user-card-label { font: 600 11px 'Space Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: #869490; margin-bottom: 4px; }
.user-card-name { font: 700 15px 'Hanken Grotesk'; color: #12302e; }
.user-card-email { font: 400 13px 'Hanken Grotesk'; color: #5d6f6c; margin-top: 2px; }
.user-card-logout, .user-card-login { flex: none; background: none; border: 1px solid rgba(18,48,46,.16); color: #56685f; font: 600 12px 'Hanken Grotesk'; padding: 8px 14px; border-radius: 8px; cursor: pointer; transition: border-color .15s, color .15s; }
.user-card-logout:hover, .user-card-login:hover { border-color: #12302e; color: #12302e; }
.user-card-actions { display: flex; gap: 8px; margin-top: 10px; }

.community-tabs-section { padding: 6px 60px 0; }
.community-tabs { display: flex; gap: 8px; }
.community-tab { font: 600 14px 'Space Grotesk'; color: #5d6f6c; background: #eef5f4; border: 1px solid rgba(18,48,46,.12); border-radius: 999px; padding: 10px 20px; cursor: pointer; transition: all .15s; }
.community-tab:hover { border-color: #12302e; }
.community-tab.is-active { background: #12302e; color: #fff; border-color: #12302e; }

.event-list-section { padding: 26px 60px 70px; }
.event-list { display: flex; flex-direction: column; gap: 12px; }
.event-item { border: 1px solid rgba(18,48,46,.12); border-radius: 14px; background: #fff; overflow: hidden; }
.event-summary { display: block; padding: 18px 22px; }
.event-row { display: flex; align-items: flex-start; gap: 18px; }
.event-when { flex: none; width: 150px; font: 600 13px 'Space Mono', monospace; color: #0e6b6f; }
.event-when-time { display: block; font: 400 12px 'Space Mono', monospace; color: #869490; margin-top: 3px; }
.event-main { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.event-topic { font: 600 16px 'Hanken Grotesk'; color: #12302e; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.event-description { margin: 0; font: 400 14px/1.6 'Hanken Grotesk'; color: #56685f; }
.event-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.event-participants { font: 500 13px 'Hanken Grotesk'; color: #5d6f6c; white-space: nowrap; }

.event-badge { flex: none; display: inline-flex; align-items: center; font: 700 11px 'Space Mono', monospace; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: rgba(14,107,111,.1); color: #0e6b6f; white-space: nowrap; }
.event-badge--full { background: rgba(18,48,46,.08); color: #6d807d; }

.event-materials { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 4px; }
.event-material-link { display: inline-flex; align-items: center; gap: 6px; font: 600 13px 'Hanken Grotesk'; color: #ff6a35; text-decoration: none; }
.event-material-icon { flex: none; }
.event-material-link:hover { text-decoration: underline; }

.event-actions { display: flex; align-items: center; gap: 10px; position: relative; }
.event-register-btn { background: #ff6a35; border: none; color: #fff; font: 700 12px 'Space Grotesk'; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: filter .15s; }
.event-register-btn:hover { filter: brightness(1.06); }
.event-unregister-btn { background: none; border: none; color: #869490; font: 500 12px 'Hanken Grotesk'; text-decoration: underline; cursor: pointer; padding: 0; }
.event-unregister-btn:hover { color: #56685f; }

.event-action-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; vertical-align: middle; animation: btn-spin .7s linear infinite; }
.event-action-spinner--muted { border-color: rgba(18,48,46,.2); border-top-color: #56685f; }

.event-action-error { position: absolute; bottom: 100%; right: 0; margin-bottom: 8px; max-width: 220px; background: #d1453b; color: #fff; font: 600 12px/1.4 'Hanken Grotesk'; text-align: center; padding: 8px 12px; border-radius: 8px; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0,0,0,.35); z-index: 5; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.event-action-error.is-visible { opacity: 1; transform: translateY(0); }

.event-downloads { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 10px; }
.event-downloads-label { flex-basis: 100%; font: 600 11px 'Space Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: #869490; margin-bottom: 2px; }
.event-download-link { display: inline-flex; align-items: center; gap: 6px; font: 600 13px 'Hanken Grotesk'; color: #0e6b6f; background: #eef5f4; border: 1px solid rgba(18,48,46,.12); border-radius: 8px; padding: 8px 14px; transition: border-color .15s; }
.event-download-link:hover { border-color: #0e6b6f; }
.event-empty { font: 400 15px 'Hanken Grotesk'; color: #5d6f6c; padding: 30px 4px; }
.more-courses-label { font: 600 12px 'Space Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #6d807d; margin-bottom: 14px; }

.booking-cta-section { padding: 70px 60px; background: #0d2422; color: #fff; }
.booking-cta-label { font: 700 12px 'Space Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #ff9a6b; margin-bottom: 14px; }
.booking-cta-title { font: 700 34px/1.15 'Space Grotesk'; letter-spacing: -.02em; margin: 0 0 40px; max-width: 520px; }
.booking-cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: start; }
.booking-summary { display: flex; flex-direction: column; gap: 16px; }
.booking-summary-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 14px; }
.booking-summary-row--price { border-bottom: none; padding-bottom: 0; }
.booking-summary-label { font: 400 14px 'Hanken Grotesk'; color: rgba(255,255,255,.65); padding-right: 12px; }
.booking-summary-value { font: 600 14px 'Hanken Grotesk'; }
.booking-summary-price-label { font: 500 15px 'Hanken Grotesk'; }
.booking-summary-price-value { font: 700 22px 'Space Grotesk'; }
.booking-summary-note { font: 400 13px/1.6 'Hanken Grotesk'; color: rgba(255,255,255,.5); margin-top: 6px; }
.booking-cta-panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.booking-cta-panel-text { font: 400 15px/1.6 'Hanken Grotesk'; color: rgba(255,255,255,.75); margin: 0; }

.detail-footer { background: #0a1a19; color: rgba(255,255,255,.7); }
.detail-footer-top { padding: 50px 60px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.detail-footer-brand { margin-bottom: 14px; }
.detail-footer-tagline { font: 400 14px/1.6 'Hanken Grotesk'; color: rgba(255,255,255,.55); max-width: 320px; margin: 0; }
.detail-footer-col-title { font: 700 12px 'Space Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.detail-footer-links { display: flex; flex-direction: column; gap: 9px; font: 400 14px 'Hanken Grotesk'; }
.detail-footer-links a { color: rgba(255,255,255,.75); }
.detail-footer-links span { color: rgba(255,255,255,.5); }
.detail-footer-bottom { padding: 20px 60px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.detail-footer-copyright { font: 400 12px 'Space Mono', monospace; color: rgba(255,255,255,.4); }
.detail-footer-note { font: 400 12px 'Hanken Grotesk'; color: rgba(255,255,255,.4); }

@media (max-width: 640px) {
  .course-detail-header,
  .course-detail-grid,
  .program-grid,
  .booking-cta-grid,
  .detail-footer-top {
    grid-template-columns: 1fr;
  }

  .outcomes-panel {
    position: static;
  }

  .course-detail-title {
    font-size: 32px;
  }

  .mentoring-header-text {
    display: contents;
  }

  .selected-skills-card {
    order: 1;
  }

  .mentoring-form-root {
    order: 2;
  }

  .community-tabs {
    flex-wrap: wrap;
  }

  .event-row {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .event-when {
    width: auto;
  }

  .event-main {
    flex: 1 1 100%;
  }

  .event-meta {
    align-items: flex-start;
  }
}

.booking-dialog {
  --accent: #ff6a35;
  --text: #12302e;
  --muted: #6b7f7a;
  --line: #d7e3e1;
  --field: #eef5f4;
  --radius: 12px;
  --font-d: 'Space Grotesk', sans-serif;
  --font-b: 'Hanken Grotesk', sans-serif;
  --mono: 'Space Mono', monospace;
  border: none;
  border-radius: 20px;
  padding: 0;
  width: min(560px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  background: #ffffff;
  color: #12302e;
  box-shadow: 0 30px 80px -20px rgba(10,74,76,.45);
  overflow: hidden;
}
.booking-dialog::backdrop { background: rgba(10,26,25,.55); }
.booking-dialog-form { display: flex; flex-direction: column; gap: 16px; padding: 34px; position: relative; font-family: 'Hanken Grotesk', sans-serif; color: #12302e; max-height: calc(100vh - 40px); overflow-y: auto; }
.booking-dialog-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; border: none; background: #eef5f4; color: #56685f; font-family: 'Space Grotesk', sans-serif; font-size: 18px; line-height: 1; cursor: pointer; appearance: none; -webkit-appearance: none; box-shadow: none; }
.booking-dialog-close:hover { background: #d7e3e1; }
.booking-dialog-eyebrow { font: 700 12px 'Space Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #ff6a35; }
.booking-dialog-title { font: 700 26px 'Space Grotesk'; letter-spacing: -.01em; margin: 0; color: #12302e; padding-right: 30px; }
.booking-dialog-vat-note { font: 400 13px/1.6 'Hanken Grotesk'; color: #6b7f7a; }
.booking-dialog-mode { font: 600 14px 'Hanken Grotesk'; color: #12302e; }
.booking-dialog .sent-state .booking-dialog-vat-note { margin-top: -12px; }
.booking-dialog .submit-btn:disabled { background: #c7d3d1; color: #8b9d99; cursor: not-allowed; }
.booking-dialog .submit-btn:disabled:hover { filter: none; }
.field-narrow { flex: 0 0 110px; min-width: 90px; display: flex; flex-direction: column; gap: 7px; }

@media (max-width: 640px) {
  .booking-dialog {
    inset: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .booking-dialog-form {
    padding: 26px;
    max-height: 100%;
  }
}

/* Handy-Ansicht: die äußeren Content-Ränder (links/rechts) aller
   Section-Wrapper auf die Hälfte reduzieren, damit mehr Platz für den
   eigentlichen Inhalt bleibt. Innere Box-/Card-Paddings bleiben bewusst
   unangetastet. Bewusst ganz am Ende der Datei, damit diese Regel bei
   gleicher Spezifität die früheren, ungeschützten padding:-Deklarationen
   der einzelnen Sections im Cascade-Kampf schlägt. */
@media (max-width: 640px) {
  .nav,
  .nav-links,
  .hero-content,
  .stats,
  .about-section,
  .compare-section,
  .courses-section,
  .dla-section,
  .kompass-section,
  .community-section,
  .booking-section,
  .crumb-bar,
  .course-detail-header,
  .course-detail-grid,
  .more-courses-section,
  .program-grid,
  .legal-content,
  .community-tabs-section,
  .event-list-section,
  .booking-cta-section,
  .detail-footer-top,
  .detail-footer-bottom {
    padding-left: 30px;
    padding-right: 30px;
  }
}