/* About page (/ueber-uns/). Hero from legal.css (.mlg-hero); everything else scoped to .mab. */
.mab { --mab-primary: #0A1B65; --mab-primary-2: #142C8C; --mab-accent: #FD7E14; --mab-accent-2: #FF5A36; --mab-text: #3B4256; --mab-muted: #6B7290; --mab-line: #E8EBF4; --mab-soft: #F4F6FC; }
.mab .mlg-hero { padding-bottom: 120px; }
.mab .mlg-hero p { max-width: 720px; }
.mab-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mab h2, .mab h3 { font-family: inherit; }
.mab strong { font-weight: 700; }
.mab img { max-width: 100%; }

.mab-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mab-accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mab-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.mab-section { padding: 96px 0; }
.mab .mab-section h2 { margin: 12px 0 18px; color: var(--mab-primary); font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.mab .mab-section p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.75; }
.mab-head { max-width: 720px; margin-bottom: 44px; }
.mab-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.mab .mab-head p { color: var(--mab-muted); }
.mab-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 15px; background: #FFF1E6; color: #E8590C; }
.mab-icon svg { width: 26px; height: 26px; }
.mab .mab-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 14px 26px; border-radius: 999px;
    background: linear-gradient(90deg, var(--mab-accent), var(--mab-accent-2)); color: #fff; font-size: 15.5px; font-weight: 600; text-decoration: none;
    box-shadow: 0 10px 24px rgba(253, 126, 20, .3); transition: transform .15s ease;
}
.mab .mab-btn:hover { transform: translateY(-1px); color: #fff; }
.mab-btn svg { width: 16px; height: 16px; }

/* Key facts overlapping the hero */
.mab-facts {
    position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -64px; overflow: hidden;
    border: 1px solid var(--mab-line); border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(10, 27, 101, .1);
}
.mab-facts::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--mab-accent), var(--mab-accent-2)); }
.mab-fact { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 32px 28px 28px; transition: background .2s ease; }
.mab-fact + .mab-fact::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: var(--mab-line); }
.mab-fact:hover { background: #FBFCFF; }
.mab-fact-icon {
    width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px;
    background: linear-gradient(135deg, #FFF1E6, #FFE3CC); color: #E8590C; transition: background .2s ease, color .2s ease;
}
.mab-fact-icon svg { width: 24px; height: 24px; }
.mab-fact:hover .mab-fact-icon { background: linear-gradient(135deg, var(--mab-accent), var(--mab-accent-2)); color: #fff; }
.mab .mab-fact p { margin: 0; }
.mab .mab-fact-num { color: var(--mab-primary); font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mab-fact-num span { margin-left: 1px; color: var(--mab-accent); }
.mab .mab-fact-label { margin-top: 8px; color: var(--mab-primary); font-size: 15px; font-weight: 700; line-height: 1.3; }
.mab .mab-fact-sub { margin-top: 3px; color: var(--mab-muted); font-size: 13.5px; line-height: 1.45; }

/* Founder */
.mab-founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.mab-founder-visual { position: relative; padding: 0 24px 24px 0; }
.mab-founder-visual::before {   /* offset brand frame */
    content: ""; position: absolute; left: 24px; top: 24px; right: 0; bottom: 0; border-radius: 30px;
    background: linear-gradient(135deg, var(--mab-accent), var(--mab-accent-2)); opacity: .9;
}
.mab-founder-visual::after { content: ""; position: absolute; left: -26px; top: -26px; width: 140px; height: 140px; border-radius: 24px; background: radial-gradient(var(--mab-primary) 1.4px, transparent 1.8px) 0 0 / 14px 14px; opacity: .18; z-index: -1; }
.mab-founder-photo { position: relative; overflow: hidden; border-radius: 28px; box-shadow: 0 30px 70px rgba(10, 27, 101, .22); }
.mab .mab-founder-photo img { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 62% center; }
.mab-founder-since {
    position: absolute; right: 0; top: 36px; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(10, 27, 101, .18); text-align: left;
}
.mab-founder-since strong { display: block; color: var(--mab-primary); font-size: 20px; line-height: 1.1; }
.mab-founder-since span { color: var(--mab-muted); font-size: 13px; }
.mab-founder-tag {
    position: absolute; left: 22px; right: 46px; bottom: 46px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 18px; border-radius: 18px; background: rgba(10, 27, 101, .9); backdrop-filter: blur(6px); color: #C3CAE6; font-size: 13.5px;
}
.mab-founder-tag strong { display: block; color: #fff; font-size: 17px; }
.mab .mab-founder-tag a { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; transition: background .15s ease; }
.mab .mab-founder-tag a:hover { background: #0A66C2; color: #fff; }
.mab-founder-tag svg { width: 18px; height: 18px; }
.mab .mab-lead { color: var(--mab-text); font-size: 18px; line-height: 1.7; }
.mab .mab-quote { position: relative; margin: 26px 0; padding: 24px 28px 22px 72px; border: 0; border-radius: 18px; background: var(--mab-soft); }
.mab .mab-quote::before { content: "\201E"; position: absolute; left: 22px; top: -6px; color: var(--mab-accent); font: 800 64px/1 Georgia, serif; }
.mab .mab-quote p { margin: 0 0 6px; color: var(--mab-primary); font-size: 21px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.mab .mab-quote cite { color: var(--mab-muted); font-size: 14px; font-style: normal; }
.mab-founder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }
.mab .mab-founder-actions .mab-btn { margin-top: 0; }
.mab .mab-link { display: inline-flex; align-items: center; gap: 10px; color: var(--mab-primary); font-size: 15px; font-weight: 600; text-decoration: none; }
.mab .mab-link svg { width: 18px; height: 18px; color: #0A66C2; }
.mab .mab-link:hover { color: var(--mab-accent); }
.mab-hls {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px;
    border: 1px solid var(--mab-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 44px rgba(10, 27, 101, .07);
}
.mab-hl { position: relative; display: flex; gap: 16px; padding: 28px 28px 26px; }
.mab-hl + .mab-hl::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: var(--mab-line); }
.mab-hl-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #EEF1FF; color: var(--mab-primary-2); }
.mab-hl-icon svg { width: 23px; height: 23px; }
.mab-hl strong { display: block; color: var(--mab-primary); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.mab-hl-title { display: block; margin-top: 8px; color: var(--mab-primary); font-size: 15px; font-weight: 700; }
.mab-hl-text { display: block; margin-top: 3px; color: var(--mab-muted); font-size: 13.5px; line-height: 1.5; }

/* Career timeline */
.mab-career { background: var(--mab-soft); }
.mab .mab-timeline { position: relative; max-width: 960px; margin: 0 auto; padding: 0; list-style: none; }
.mab .mab-timeline::before { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 2px; margin-left: -1px; background: linear-gradient(var(--mab-accent), #D6DBEA 30%); }
.mab .mab-timeline > li { position: relative; display: flex; margin: 0 0 28px; }
.mab .mab-timeline > li:nth-child(odd) { justify-content: flex-start; padding-right: calc(50% + 36px); }
.mab .mab-timeline > li:nth-child(even) { justify-content: flex-end; padding-left: calc(50% + 36px); }
.mab-tl-dot { position: absolute; left: 50%; top: 26px; width: 18px; height: 18px; margin-left: -9px; border: 4px solid #fff; border-radius: 50%; background: #B4BBD3; box-shadow: 0 0 0 1px var(--mab-line); }
.mab .is-current .mab-tl-dot { background: var(--mab-accent); box-shadow: 0 0 0 6px rgba(253, 126, 20, .18); }
.mab-tl-card { width: 100%; padding: 24px 26px 20px; border: 1px solid var(--mab-line); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(10, 27, 101, .05); }
.mab .is-current .mab-tl-card { border-color: rgba(253, 126, 20, .4); }
.mab-tl-years { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: #EEF1FF; color: var(--mab-primary-2); font-size: 13px; font-weight: 700; }
.mab .is-current .mab-tl-years { background: #FFF1E6; color: #E8590C; }
.mab .mab-tl-card h3 { margin: 0 0 4px; color: var(--mab-primary); font-size: 18.5px; font-weight: 700; line-height: 1.3; }
.mab .mab-tl-org { margin: 0 0 12px; color: var(--mab-muted); font-size: 14.5px; line-height: 1.5; }
.mab .mab-tl-card ul { margin: 0; padding-left: 18px; }
.mab .mab-tl-card li { margin: 0 0 6px; color: var(--mab-text); font-size: 14.5px; line-height: 1.55; }
.mab .mab-tl-card li::marker { color: var(--mab-accent); }

/* Skills */
.mab-skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mab-skill { padding: 26px 24px; border: 1px solid var(--mab-line); border-radius: 20px; background: #fff; }
.mab-skill-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.mab .mab-skill h3 { margin: 0; color: var(--mab-primary); font-size: 18px; font-weight: 700; }
.mab .mab-skill ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mab .mab-skill li { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--mab-soft); color: var(--mab-primary); font-size: 13.5px; font-weight: 600; }

/* Certificates + languages */
.mab-certs { background: var(--mab-soft); }
.mab-certs-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.mab .mab-cert-list { margin: 0; padding: 8px 0; list-style: none; border: 1px solid var(--mab-line); border-radius: 20px; background: #fff; }
.mab .mab-cert-list li { display: flex; gap: 20px; margin: 0; padding: 14px 26px; border-bottom: 1px solid var(--mab-line); }
.mab .mab-cert-list li:last-child { border-bottom: 0; }
.mab-cert-year { flex: none; width: 52px; color: var(--mab-accent); font-size: 15px; font-weight: 800; }
.mab-cert-list strong { display: block; color: var(--mab-primary); font-size: 15.5px; line-height: 1.4; }
.mab-cert-list small { display: block; margin-top: 2px; color: var(--mab-muted); font-size: 13.5px; }
.mab-langs { margin-top: 28px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, #0A1B65, #142C8C); color: #C3CAE6; }
.mab-langs > span { color: #FFB37A; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mab .mab-langs ul { margin: 12px 0 0; padding: 0; list-style: none; }
.mab .mab-langs li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; }
.mab .mab-langs li:last-child { border-bottom: 0; }
.mab-langs strong { color: #fff; }

.mab a:focus-visible { outline: 2px solid var(--mab-accent); outline-offset: 3px; }

@media (max-width: 1100px) {
    .mab-founder-grid, .mab-certs-grid { grid-template-columns: 1fr; gap: 44px; }
    .mab-founder-visual { max-width: 540px; }
    .mab-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mab-fact:nth-child(3)::before { display: none; }
    .mab-fact:nth-child(n+3) { border-top: 1px solid var(--mab-line); }
    .mab-skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .mab .mab-timeline::before { left: 8px; }
    .mab-tl-dot { left: 8px; }
    .mab .mab-timeline > li:nth-child(odd), .mab .mab-timeline > li:nth-child(even) { padding: 0 0 0 36px; }
    .mab-hls { grid-template-columns: 1fr; }
    .mab-hl + .mab-hl::before { left: 26px; right: 26px; top: 0; bottom: auto; width: auto; height: 1px; }
}
@media (max-width: 640px) {
    .mab-wrap { padding: 0 16px; }
    .mab-section { padding: 64px 0; }
    .mab .mab-section h2 { font-size: 27px; }
    .mab-fact { flex-direction: column; gap: 12px; padding: 22px 18px 20px; }
    .mab .mab-fact-num { font-size: 30px; }
    .mab-fact-icon { width: 42px; height: 42px; }
    .mab-skill-grid { grid-template-columns: 1fr; }
    .mab .mab-cert-list li { padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) { .mab * { transition: none !important; } }

/* Timeline: single column, line on the left (reads like a CV) */
.mab .mab-timeline { max-width: 860px; }
.mab .mab-timeline::before { left: 11px; margin-left: 0; }
.mab-tl-dot { left: 11px; }
.mab .mab-timeline > li:nth-child(odd), .mab .mab-timeline > li:nth-child(even) { justify-content: flex-start; padding: 0 0 0 48px; margin-bottom: 18px; }
.mab-tl-card { display: grid; grid-template-columns: 150px 1fr; gap: 0 24px; }
.mab-tl-years { grid-row: 1 / span 3; align-self: start; justify-self: start; }
@media (max-width: 640px) {
    .mab-tl-card { grid-template-columns: 1fr; }
    .mab-tl-years { grid-row: auto; }
    .mab .mab-timeline > li:nth-child(odd), .mab .mab-timeline > li:nth-child(even) { padding-left: 36px; }
}

/* section backgrounds alternate: founder white, career soft, skills white, certificates soft */
.mab-founder, .mab-skills { background: #fff; }
.mab-career, .mab-certs { background: var(--mab-soft); }
