/* WE SUCCESS Consulting GmbH – Website Stylesheet
   Basis: WE SUCCESS Design Guide (Montserrat, Blau #339DE0, Orange #FD8901, Beige #F5F1EB)
   Prinzipien: viel Weißraum, klare Geometrie, hohe Kontraste, Executive-Look. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/montserrat-variable-latin.woff2") format("woff2-variations"),
       url("fonts/montserrat-variable-latin.woff2") format("woff2");
}

:root {
  --blue: #339DE0;
  --blue-deep: #1F6FA6;
  --orange: #FD8901;
  --orange-deep: #9E5200;   /* WCAG AA: 5,1:1 auf Beige, 5,7:1 auf Weiß */
  --green: #2E8B6F;
  --green-deep: #28785F;    /* für weißen Text auf Grün (5,3:1) */
  --red: #D6452E;
  --ink: #0D181F;
  --ink-soft: #2B3A44;
  --muted: #5B6B75;
  --paper: #F5F1EB;
  --paper-deep: #EBE5DB;
  --white: #FFFFFF;
  --line: #D9D3C8;
  --line-dark: rgba(255,255,255,.14);
  --radius: 14px;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --font: "Montserrat", "Segoe UI", Arial, Helvetica, sans-serif;
  --shadow: 0 18px 50px -24px rgba(13,24,31,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
h1 { font-weight: 900; font-size: clamp(34px, 5.4vw, 66px); letter-spacing: -.03em; }
h2 { font-weight: 900; font-size: clamp(28px, 3.6vw, 44px); text-transform: uppercase; letter-spacing: -.01em; }
h3 { font-weight: 700; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.25; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange-deep);
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--orange)); vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; font-weight: 500; color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head p { color: var(--ink-soft); font-size: 17.5px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section { padding: clamp(64px, 9vw, 120px) 0; }
.on-white { background: var(--white); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink h2, .on-ink h3 { color: var(--white); }
.on-ink .eyebrow { color: var(--orange); }
.on-ink .section-head p, .on-ink .lead { color: rgba(245,241,235,.82); }
.on-ink a { color: var(--white); }
.on-ink a:hover { color: var(--orange); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,241,235,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.brand-claim { display: none; white-space: nowrap; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-deep); border-bottom-color: var(--blue); }
.nav .btn { border-bottom: 0; }
.nav .intranet { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin-left: 6px; padding: 2px 0 0; border-bottom: 0; text-transform: none; letter-spacing: .02em; font-size: 11px; font-weight: 700; color: #00679F; line-height: 1; }
.nav .intranet img { height: 26px; width: auto; }
.nav .intranet:hover { color: var(--orange-deep); border-bottom: 0; }
.nav .intranet:hover img { filter: brightness(.85); }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 10px; width: 46px; height: 42px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 10px;
  font-weight: 700; font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; cursor: pointer;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--ink) !important; border-color: var(--orange); box-shadow: 0 10px 24px -12px rgba(253,137,1,.8); }
.btn-primary:hover { background: #FF9A24; }
.btn-secondary { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white) !important; }
.on-ink .btn-secondary { color: var(--white) !important; border-color: var(--white); }
.on-ink .btn-secondary:hover { background: var(--white); color: var(--ink) !important; }
.btn-small { padding: 10px 16px; font-size: 12.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); background: var(--paper); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 92% 8%, rgba(51,157,224,.28), transparent 70%),
    radial-gradient(45% 45% at 78% 70%, rgba(253,137,1,.22), transparent 70%),
    radial-gradient(35% 35% at 62% 30%, rgba(46,139,111,.14), transparent 70%);
  filter: blur(6px);
}
.hero::after {
  content: ""; position: absolute; top: -10%; right: -8%; width: 44%; height: 130%; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  transform: skewX(-12deg);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--blue-deep); }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-claim { margin-top: 44px; font-size: 13px; font-weight: 900; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.hero-claim span { color: var(--orange-deep); }
.hero-card {
  position: relative; background: var(--white); border-radius: 22px; padding: 30px 30px 26px; box-shadow: var(--shadow);
  border: 1px solid rgba(13,24,31,.06);
}
.hero-card::before { content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 5px; background: linear-gradient(90deg, var(--blue), var(--orange)); border-radius: 0 0 6px 6px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hero-card li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 15.5px; font-weight: 500; color: var(--ink-soft); }
.hero-card li strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.hero-card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); color: var(--blue-deep); }
.hero-card .ic svg { width: 22px; height: 22px; }
.hero-card .ic.o { color: var(--orange-deep); }
.hero-card .ic.g { color: var(--green); }

/* ---------- Kennzahlen ---------- */
.facts { padding: 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { min-width: 0; padding: 34px 22px 30px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-size: clamp(26px, 3vw, 40px); white-space: nowrap; font-weight: 900; line-height: 1; letter-spacing: -.03em; color: var(--blue-deep); margin-bottom: 8px; }
.fact:nth-child(2) strong { color: var(--orange-deep); }
.fact:nth-child(3) strong { color: var(--green); }
.fact:nth-child(4) strong { color: var(--ink); }
.fact span { overflow-wrap: anywhere; hyphens: auto; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); line-height: 1.4; display: block; }

/* ---------- Leistungen ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 28px 28px; border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card::before { content: ""; position: absolute; left: 28px; top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--blue); }
.card:nth-child(3n+2)::before { background: var(--orange); }
.card:nth-child(3n+3)::before { background: var(--green); }
.card .num { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 14px; }
.card ul { margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-soft); display: grid; gap: 7px; margin-top: auto; }
.card ul li { padding-left: 18px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }
.card:nth-child(3n+2) ul li::before { background: var(--orange); }
.card:nth-child(3n+3) ul li::before { background: var(--green); }

/* ---------- Arbeitsweise / Phasen ---------- */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.phase { padding: 30px 26px 30px; border-left: 1px solid var(--line-dark); background: rgba(255,255,255,.03); }
.phase:first-child { border-left: 0; }
.phase .step { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-weight: 900; font-size: 16px; color: var(--ink); background: var(--blue); margin-bottom: 18px; }
.phase:nth-child(2) .step { background: var(--orange); }
.phase:nth-child(3) .step { background: var(--green-deep); color: var(--white); }
.phase:nth-child(4) .step { background: var(--paper); }
.phase h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.phase .q { font-size: 15px; font-style: italic; color: rgba(245,241,235,.78); margin-bottom: 12px; min-height: 3.2em; }
.phase p:last-child { font-size: 14.5px; color: rgba(245,241,235,.9); margin: 0; }
.principles { margin-top: 44px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.principle { padding: 18px 18px 16px; border-top: 3px solid var(--orange); font-size: 14.5px; line-height: 1.45; }
.principle strong { display: block; color: var(--white); margin-bottom: 4px; font-size: 15px; }
.principle:nth-child(odd) { border-top-color: var(--blue); }

/* ---------- Über mich ---------- */
.about .about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.portrait { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.portrait img { width: 100%; aspect-ratio: 820 / 964; object-fit: cover; }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; background: linear-gradient(180deg, rgba(13,24,31,0), rgba(13,24,31,.85)); color: var(--white); font-size: 14px; }
.portrait figcaption strong { display: block; font-size: 17px; font-weight: 900; }
.about-side { margin-top: 26px; display: grid; gap: 14px; }
.about-side .btn { justify-content: center; }
.about h2 { margin-bottom: 20px; }
.about .lead { margin-bottom: 20px; }
.timeline { list-style: none; margin: 34px 0 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 28px; font-size: 15.5px; color: var(--ink-soft); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid var(--paper); box-shadow: 0 0 0 2px var(--blue); }
.timeline li:nth-child(even)::before { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.timeline li strong { display: block; color: var(--ink); font-weight: 700; }
.timeline li .when { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.illustration { margin: clamp(48px, 6vw, 80px) 0 0; }
.illustration figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.illustration figcaption { padding: 14px 18px; font-size: 13.5px; color: var(--muted); }

.themen-title { margin: 34px 0 12px; font-weight: 700; font-size: 18px; color: var(--ink); }
ul.themen { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
ul.themen li { padding-left: 18px; position: relative; }
ul.themen li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
ul.themen a { text-decoration: none; color: var(--ink); font-weight: 500; }
ul.themen a:hover { color: var(--blue-deep); text-decoration: underline; }
.author strong a { color: var(--ink); text-decoration: none; }
.author strong a:hover { color: var(--blue-deep); text-decoration: underline; }
.page-hero .meta a { color: var(--white); }

/* ---------- Profilseite / Lebenslauf ---------- */
.cv .section-head { max-width: 820px; }
.cv-station { max-width: 860px; padding: 26px 0 28px; border-top: 1px solid var(--line); }
.cv-station .when { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cv-station h3 { font-size: 21px; margin-bottom: 4px; }
.cv-station .cv-sub { margin: 0 0 12px; font-weight: 700; color: var(--blue-deep); font-size: 15.5px; }
.cv-station p { font-size: 16px; color: var(--ink-soft); }
.cv-station ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-soft); }
.cv-station ul li { padding-left: 18px; position: relative; }
.cv-station ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.cv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 2px solid var(--ink); }
.cv-grid h3 { font-size: 17px; margin-bottom: 10px; }
.cv-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--ink-soft); }
.cv-grid p { font-size: 15px; color: var(--ink-soft); margin: 0; }
@media (max-width: 800px) { .cv-grid { grid-template-columns: 1fr; } }

/* ---------- KI & Souveränität ---------- */
.ki-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.feature {
  position: relative; background: var(--white); border-radius: 22px; padding: 34px 32px; border: 1px solid var(--line); overflow: hidden;
}
.feature::before { content: ""; position: absolute; top: -40%; right: -20%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(51,157,224,.18), transparent); pointer-events: none; }
.feature h3 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 8px; }
.feature .tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: var(--green-deep); padding: 5px 10px; border-radius: 6px; margin-bottom: 16px; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-soft); }
.feature ul li { padding-left: 28px; position: relative; }
.feature ul li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 900; color: var(--green); }
.stack { display: grid; gap: 18px; }
.stack .card { padding: 26px 26px 24px; }
.stack .card::before { display: none; }
.stack .card h3 { font-size: 18px; }
.download {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 22px 24px;
}
.download .doc { width: 46px; flex: none; }
.download strong { display: block; color: var(--white); font-size: 16px; margin-bottom: 4px; }
.download p { font-size: 14px; margin: 0; color: rgba(245,241,235,.8); }
.download .btn { flex: none; }
.download > div { flex: 1 1 220px; }

/* ---------- Impulse / Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 24px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.post-card .eyebrow { margin-bottom: 14px; font-size: 11.5px; }
.post-card h3 { font-size: 19px; margin-bottom: 12px; }
.post-card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.post-card .meta { margin-top: auto; font-size: 13px; color: var(--muted); font-weight: 500; }
.post-card .more { margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); }
.post-card:hover .more { color: var(--orange-deep); }
.section-cta { margin-top: 40px; display: flex; justify-content: center; }

/* ---------- Kontakt ---------- */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact-box { background: var(--white); border-radius: 22px; padding: 34px 32px; box-shadow: var(--shadow); }
.contact-box dl { margin: 0; display: grid; gap: 18px; }
.contact-box dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-box dd { margin: 0; font-size: 16.5px; font-weight: 500; }
.contact-box dd a { font-weight: 700; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(245,241,235,.85); padding: 54px 0 30px; font-size: 14.5px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 34px; border-bottom: 1px solid var(--line-dark); }
.site-footer h3 { color: var(--white); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand img { height: 60px; margin-bottom: 16px; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13px; color: rgba(245,241,235,.6); }
.site-footer .legal a { color: rgba(245,241,235,.8); }

/* ---------- Unterseiten (Blog, Impressum, Datenschutz) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 10%, rgba(51,157,224,.35), transparent 70%), radial-gradient(40% 50% at 70% 90%, rgba(253,137,1,.25), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--white); max-width: 900px; font-size: clamp(30px, 4.6vw, 58px); }
.page-hero .eyebrow { color: var(--orange); }
.page-hero .meta { margin-top: 22px; font-size: 14px; color: rgba(245,241,235,.75); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.page-hero .lead { color: rgba(245,241,235,.85); }
.article-wrap { max-width: 800px; margin: 0 auto; padding: clamp(44px, 6vw, 72px) var(--gutter) clamp(56px, 7vw, 96px); }
.article-wrap .lead { font-size: clamp(19px, 1.9vw, 23px); font-weight: 500; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 2px solid var(--ink); }
.article-wrap p { font-size: 17.5px; }
.article-wrap h2 { font-size: 26px; text-transform: none; margin-top: 1.6em; }
.article-wrap h3 { margin-top: 1.5em; }
.article-wrap ul, .article-wrap ol { padding-left: 1.3em; }
.article-wrap li { margin-bottom: .4em; }
.article-wrap code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; overflow-wrap: anywhere; }
.article-wrap hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.article-wrap .tags { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.article-wrap .tags a { margin-right: 10px; text-decoration: none; font-weight: 600; }
.back-link { display: inline-block; margin-bottom: 26px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--blue-deep); }
.back-link:hover { color: var(--orange-deep); }
.article-foot { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 14.5px; color: var(--muted); }
.author { display: flex; align-items: center; gap: 14px; }
.author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.author strong { display: block; color: var(--ink); font-size: 15px; }
.download-box { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 34px 0; padding: 22px 24px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.download-box strong { display: block; color: var(--white); margin-bottom: 4px; }
.download-box p { margin: 0; font-size: 14.5px; color: rgba(245,241,235,.85); }
.download-box .dl-text { flex: 1 1 300px; }
.download-box .btn { flex: none; }
.blog-list { padding-top: clamp(44px, 6vw, 72px); }
.blog-list .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legal-page .article-wrap h2 { font-size: 22px; margin-top: 1.8em; }
.legal-page .article-wrap p, .legal-page .article-wrap li { font-size: 16px; }
.legal-page address { font-style: normal; }
.related { background: var(--white); border-top: 1px solid var(--line); }
.related .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .posts, .blog-list .posts, .related .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase:nth-child(3) { border-left: 0; }
  .phase:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .about .about-grid, .ki-grid, .contact .wrap { grid-template-columns: 1fr; }
  .portrait { max-width: 480px; }
}
@media (max-width: 800px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav a[aria-current="page"], .nav a:hover { border-bottom-color: var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav .intranet { flex-direction: row; justify-content: center; gap: 10px; margin: 14px 0 0; padding: 12px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
  .nav .intranet img { height: 22px; }
  .nav-toggle { display: block; }
  .brand img { height: 46px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; hyphens: auto; }
  h1, h2, h3 { hyphens: manual; }
  .grid-3, .posts, .blog-list .posts, .related .posts, .phases, .principles { grid-template-columns: 1fr; }
  .phase { border-left: 0; border-top: 1px solid var(--line-dark); }
  .phase:first-child { border-top: 0; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 14px 20px; }
  .fact:nth-child(3) { padding-left: 0; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .download, .download-box { flex-direction: column; align-items: flex-start; }
  .download .btn { margin-left: 0; }
  .hero-card { padding: 24px 20px 20px; }
  .hero-card::before { left: 20px; right: 20px; }
  .feature, .contact-box { padding: 26px 22px; }
  .card { padding: 24px 22px; }
  .card::before { left: 22px; }
  .hero-actions .btn, .contact .actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .post-card { transition: none; }
}
@media print {
  .site-header, .site-footer, .hero-actions, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
