/* MB Management Consulting – Stile */
:root {
  --navy: #0f2340;
  --navy-2: #233a57;
  --ink: #1b2430;
  --muted: #5a6573;
  --line: #dfe3e8;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --accent: #57b8dd;
  --accent-dark: #1b6f93;
  --todo: #fff3b0;
  --blue-flow: linear-gradient(90deg, #0f2340 0%, #1b3a5e 45%, #2c6a95 100%);
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-2); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Entwurfs-Markierungen */
.draft-bar { background: var(--ink); color: #fff; font-size: 14px; text-align: center; padding: 6px 16px; }
.todo-inline { background: var(--todo); color: var(--ink); padding: 1px 6px; border-radius: 4px; }
.todo-block { display: block; padding: 10px 14px; font-size: 15px; }
.todo-box { background: var(--todo) !important; border: 2px dashed #d9c25a !important; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 6px;
  border: 2px solid var(--accent);
  transition: background .15s, border-color .15s;
}
.btn:hover { background: #3fa3cb; border-color: #3fa3cb; }
.btn-small { padding: 8px 16px; font-size: 15px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--accent-dark); margin-bottom: .6em; }
.eyebrow-light { color: var(--accent); }
.section-lead { font-size: 1.1rem; max-width: 680px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo-text { font-weight: 600; font-size: 17px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16px; }
.main-nav a:not(.btn):hover { color: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero { background: var(--blue-flow); color: #e8eef5; padding: 80px 0 90px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.2rem; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 40px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; font-size: 15px; }
.hero-facts strong { display: block; color: #fff; font-size: 1.25rem; }

.maturity { width: 100%; height: auto; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.maturity text { font-family: var(--font); }
.mm-title { fill: #fff; font-size: 18px; font-weight: 600; }
.mm-band { font-size: 13px; font-weight: 600; }
.mm-light { fill: #fff; }
.mm-dark { fill: var(--navy); }
.mm-axis { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mm-axis-label { fill: rgba(255,255,255,.75); font-size: 13px; font-weight: 600; }
.mm-s1 { fill: rgba(255,255,255,.12); stroke: rgba(255,255,255,.28); }
.mm-s2 { fill: #285f8a; }
.mm-s3 { fill: #3584b0; }
.mm-s4 { fill: #57b8dd; }
.mm-s5 { fill: #9ad8ef; }
.mm-n { font-size: 11px; font-weight: 700; letter-spacing: .08em; opacity: .8; }
.mm-t { font-size: 13px; font-weight: 600; }

/* Fragen */
.questions { padding: 80px 0; background: var(--bg-soft); }
.questions h2 { text-align: center; margin-bottom: 36px; }
.q-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.q { background: #fff; border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px; font-weight: 600; color: var(--navy); box-shadow: 0 1px 3px rgba(15,42,68,.06); }
.questions-note { text-align: center; max-width: 720px; margin: 36px auto 0; color: var(--muted); }

/* Leistungen */
.services { padding: 90px 0; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card ul { padding-left: 1.1em; margin: 0 0 20px; }
.card li { margin-bottom: 4px; }
.card li::marker { color: var(--accent-dark); }
.card-link { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--navy-2); }
.card-link:hover { color: var(--accent-dark); }
.card-featured { border: 2px solid var(--accent); background: #f1f9fd; }
.badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }

/* Vorgehen */
.process { background: var(--blue-flow); color: #d6e0ea; padding: 90px 0; }
.process h2, .process h3 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; counter-reset: none; }
.steps li { position: relative; padding-top: 8px; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; margin-bottom: 14px; }
.steps p { font-size: 15px; }

/* Über mich */
.about { padding: 90px 0; }
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 14px; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 600; color: var(--muted); }

/* Referenzen */
.references { padding: 80px 0; background: var(--bg-soft); }
.ref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; }
.ref { margin: 0; border-radius: var(--radius); padding: 28px; }
.ref blockquote { margin: 0 0 12px; font-size: 1.1rem; font-style: italic; }
.ref figcaption { font-size: 15px; color: var(--muted); }

/* Kontakt */
.contact { background: var(--blue-flow); color: #d6e0ea; padding: 90px 0; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.contact-card { font-style: normal; background: #fff; color: var(--ink); border-radius: 14px; padding: 32px; line-height: 1.7; }
.contact-card a { color: var(--navy-2); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: #0a1d30; color: #9fb0c2; font-size: 14px; padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: #cdd8e3; margin-left: 20px; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Tablet */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; }
  .q-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .about-grid .portrait { max-width: 280px; }
}

/* Smartphone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,.06); }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 12px; text-align: center; }
  .hero { padding: 56px 0 64px; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .q-grid, .card-grid, .ref-grid, .steps { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .services, .process, .about, .contact { padding: 64px 0; }
  .questions, .references { padding: 56px 0; }
  .site-footer a { margin: 0 20px 0 0; }
}

/* Logos, Porträt, LinkedIn */
.logo-img { width: 48px; height: 48px; border-radius: 50%; display: block; }
.ssc-logo { width: 96px; height: 96px; margin: -8px 0 8px -6px; }
.about-grid img.portrait { width: 100%; height: auto; aspect-ratio: auto; object-fit: cover; box-shadow: 0 10px 30px rgba(15,35,64,.15); }
.contact-card .linkedin { display: inline-flex; align-items: center; gap: 8px; color: #0a66c2; }

/* Projekte */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.project { background: #fff; border-radius: var(--radius); border-top: 4px solid var(--accent); padding: 28px; box-shadow: 0 1px 3px rgba(15,35,64,.08); display: flex; flex-direction: column; }
.project h3 { font-size: 1.1rem; }
.project-client { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.project-size { font-size: 14px; color: var(--accent-dark); font-weight: 600; margin-bottom: 14px; }
.project ul { padding-left: 1.1em; margin: 0; font-size: 15px; color: var(--muted); }
.project li { margin-bottom: 4px; }
.project li::marker { color: var(--accent-dark); }
@media (max-width: 960px) { .project-grid { grid-template-columns: 1fr; } }

/* Werdegang */
.career-title { margin: 64px 0 24px; font-size: 1.4rem; }
.career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.career { background: var(--bg-soft); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 26px; }
.career h4 { margin: 0 0 6px; font-size: 1.1rem; color: var(--navy); line-height: 1.3; }
.career-meta { font-size: 14px; color: var(--accent-dark); font-weight: 600; margin-bottom: 14px; }
.career ul { margin: 0; padding-left: 1.1em; font-size: 15px; color: var(--muted); }
.career li { margin-bottom: 4px; }
.career li::marker { color: var(--accent-dark); }
@media (max-width: 960px) { .career-grid { grid-template-columns: 1fr; } }

/* Rechtliche Seiten */
.legal { padding: 64px 0 80px; }
.legal-inner { max-width: 780px; }
.legal h1 { margin-bottom: 32px; }
.legal h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 4px; }
.legal-date { color: var(--muted); font-size: 15px; margin-top: 32px; }
.site-footer a[aria-current="page"] { color: #fff; }
@media (max-width: 720px) { .legal { padding: 40px 0 56px; } }

/* ===== Unterseiten ===== */
.page-hero { background: var(--blue-flow); color: #e8eef5; padding: 56px 0 72px; }
.page-hero h1 { color: #fff; margin-bottom: .4em; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .lead { max-width: 720px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.page-hero-logo { width: 200px; height: 200px; background: #fff; border-radius: 50%; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.breadcrumb { font-size: 14px; margin-bottom: 28px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section h2 { margin-bottom: .4em; }
.section-intro { font-size: 1.1rem; max-width: 760px; color: var(--muted); margin-bottom: 36px; }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.aside-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 3px rgba(15,35,64,.06); }
.section-soft .aside-card { border-color: transparent; border-top-color: var(--accent); }
.aside-card h3 { font-size: 1.1rem; }
.aside-card p:last-child, .aside-card ul:last-child { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f2340' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-soft .feature { border-color: transparent; box-shadow: 0 1px 3px rgba(15,35,64,.06); }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); }
.feature p:last-child, .feature ul:last-child { margin-bottom: 0; }
.feature ul { padding-left: 1.1em; color: var(--muted); font-size: 16px; margin: 0; }
.feature li { margin-bottom: 4px; }
.feature li::marker { color: var(--accent-dark); }

.step-list { list-style: none; padding: 0; margin: 0; counter-reset: step; max-width: 860px; }
.step-list > li { position: relative; padding: 0 0 32px 72px; counter-increment: step; }
.step-list > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.step-list > li::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: 6px; width: 2px; background: var(--line); }
.step-list > li:last-child { padding-bottom: 0; }
.step-list > li:last-child::after { display: none; }
.step-list h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.step-list p { color: var(--muted); margin-bottom: .5em; }
.step-list ul { padding-left: 1.1em; color: var(--muted); margin: 0; font-size: 16px; }
.step-optional { font-size: 13px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .08em; margin-left: 8px; }

.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 20px; }
.dim { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px; text-align: center; font-weight: 600; }
.dim small { display: block; font-weight: 400; color: #b9c7d6; font-size: 14px; margin-top: 4px; }

.example { background: #fff; border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 3px rgba(15,35,64,.06); max-width: 860px; }
.example .eyebrow { margin-bottom: .4em; }
.example h3 { font-size: 1.15rem; margin-bottom: .2em; }
.example .project-size { margin-bottom: 12px; }
.example ul { padding-left: 1.1em; margin: 0; color: var(--muted); }

.date-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; }
.date-box .eyebrow { color: var(--accent); }
.date-box strong { display: block; font-size: 1.4rem; line-height: 1.3; margin-bottom: 8px; }
.date-box p { color: #c9d5e2; }
.date-box .btn { margin-top: 8px; }

.cta-band { background: var(--blue-flow); color: #d6e0ea; padding: 72px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .cta-phone { color: #fff; font-weight: 600; text-decoration: none; padding: 13px 8px; }
.cta-band .cta-phone:hover { text-decoration: underline; }

.related { padding: 56px 0; }
.related h2 { font-size: 1.3rem; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-grid a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--navy); font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.related-grid a span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; margin-top: 4px; }
.related-grid a:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(15,35,64,.08); }

.footer-links { display: flex; flex-wrap: wrap; gap: 6px 0; }
.site-footer .footer-links a:first-child { margin-left: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent-dark); }

@media (max-width: 960px) {
  .split, .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid.three, .related-grid { grid-template-columns: 1fr; }
  .page-hero-logo { width: 140px; height: 140px; }
}
@media (max-width: 720px) {
  .page-hero { padding: 40px 0 52px; }
  .section { padding: 56px 0; }
  .feature-grid, .dims { grid-template-columns: 1fr; }
  .step-list > li { padding-left: 62px; }
  .cta-band { padding: 56px 0; }
  .related { padding: 40px 0; }
  .site-footer .footer-links a { margin: 0 16px 0 0; }
}

/* Themen-Liste */
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.tag-list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 10px 16px; font-weight: 600; color: var(--navy); box-shadow: 0 1px 2px rgba(15,35,64,.05); }
.tag-list a { color: inherit; text-decoration: none; }
.tag-list a:hover { color: var(--accent-dark); }

.eyebrow-gap { margin-top: 36px; }
.example-more { margin: 16px 0 0; font-weight: 600; }
.example-more a { text-decoration: none; color: var(--navy-2); }
.example-more a:hover { color: var(--accent-dark); }

/* Begriffe zusammenhalten */
.nowrap { white-space: nowrap; }
@media (max-width: 360px) { .hero h1 { font-size: 1.65rem; } }
.contact-grid > * { min-width: 0; }
.contact-card a { overflow-wrap: anywhere; }
.legal-inner { overflow-wrap: anywhere; }
