/* =================================================================
   ipo-gross — Institut für Personal- und Organisationsentwicklung
   Modernes, eigenständiges Stylesheet (keine externen Abhängigkeiten)
   Markenfarben aus dem Original-Logo übernommen:
     Indigo  #2E187A · Violett #7768A9 · Lavendel #C0B9D8
   ================================================================= */

/* ---------- Fonts (selbst gehostet, kein externer Aufruf) ---------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("../fonts/fraunces-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("../fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("../fonts/fraunces-700.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */
:root {
  --indigo: #2E187A;
  --indigo-600: #3a2197;
  --indigo-300: #6b56c0;
  --purple: #7768A9;
  --lavender: #C0B9D8;
  --lavender-soft: #ECEAF5;
  --lavender-tint: #F6F5FB;

  --ink: #1A1726;
  --muted: #56516b;
  --muted-soft: #6f6a86;
  --accent: #6a5b9c;
  --bg: #ffffff;
  --surface: #ffffff;
  --line: #e7e3f1;
  --line-strong: #d9d3ea;

  --grad: linear-gradient(135deg, #2E187A 0%, #5a3fb0 55%, #7768A9 100%);
  --grad-soft: linear-gradient(160deg, #f6f5fb 0%, #eeeaf7 100%);

  --shadow-sm: 0 1px 2px rgba(46, 24, 122, .06), 0 2px 8px rgba(46, 24, 122, .05);
  --shadow-md: 0 6px 24px rgba(46, 24, 122, .10), 0 2px 6px rgba(46, 24, 122, .06);
  --shadow-lg: 0 24px 60px rgba(46, 24, 122, .16);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --container: 1160px;
  --gutter: clamp(20px, 5vw, 48px);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--indigo-600); }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); margin: 0; overflow-wrap: break-word; text-wrap: balance; }
p { margin: 0 0 1.1em; }

::selection { background: var(--lavender); color: var(--indigo); }

:focus-visible { outline: 3px solid var(--indigo-300); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout-Helfer ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--lavender-tint); }
.section--ink { background: #221a40; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--ink .eyebrow { color: var(--lavender); }
.section--ink .eyebrow::before { background: var(--lavender); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; }
.section--ink .section-head h2, .section--ink .section-head p { color: #fff; }
.section--ink .section-head p { color: #d8d2ee; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .85em 1.5em; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; transition: all .22s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--indigo); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--indigo-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--indigo); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--indigo); color: var(--indigo); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--indigo); }
.btn--light:hover { background: var(--lavender-soft); color: var(--indigo); transform: translateY(-2px); }
.btn .arr { transition: transform .22s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--sans); font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -.03em; }
.brand__sub { font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-soft); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; }
.nav__links a {
  display: inline-block; font-weight: 500; font-size: .96rem; color: var(--muted);
  padding: .5em .8em; border-radius: var(--radius-pill); transition: all .18s ease;
}
.nav__links a:hover { color: var(--indigo); background: var(--lavender-soft); }
.nav__links a.is-active { color: var(--indigo); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: 12px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease; position: relative;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(54px, 8vw, 96px) 0 clamp(60px, 9vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(192,185,216,.40), transparent 60%),
    radial-gradient(50% 60% at 6% 95%, rgba(119,104,169,.18), transparent 60%),
    var(--lavender-tint);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__content { max-width: 600px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -.025em; }
.hero h1 .accent {
  color: var(--indigo);
  background: linear-gradient(120deg, #2E187A 20%, #6a5b9c 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted); margin: 1.4rem 0 2rem; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero__meta-item .n { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; color: var(--indigo); display: block; }
.hero__meta-item .l { font-size: .9rem; color: var(--muted); }

/* Hero-Grafik: das Marken-Kreismotiv (SVG) */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero__visual svg { width: 100%; max-width: 460px; height: auto; filter: drop-shadow(0 30px 60px rgba(46,24,122,.22)); }
.float-a { animation: float 9s ease-in-out infinite; transform-origin: center; }
.float-b { animation: float 11s ease-in-out infinite .6s; transform-origin: center; }
.float-c { animation: float 10s ease-in-out infinite 1.2s; transform-origin: center; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .float-a,.float-b,.float-c { animation: none; } }

/* ---------- Institut / Intro-Karten ---------- */
.lead-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lead-row .lead-text p { font-size: 1.12rem; color: var(--muted); }
.lead-row .lead-text strong { color: var(--ink); font-weight: 600; }

.help-cards { display: grid; gap: 1rem; }
.help-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.help-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.help-card__num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700;
  background: var(--grad); color: #fff; font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(46, 24, 122, .25);
}
.help-card p { margin: 0; font-size: 1.02rem; }

/* ---------- Phasen / Prozess (Leistungsangebot) ---------- */
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.phase {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem 1.7rem 1.9rem;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.phase::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad); opacity: .85; }
.phase:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--lavender); }
.phase__icon { width: 116px; height: auto; margin: 0 0 1.2rem; }
.phase__step { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.phase h3 { font-size: 1.5rem; margin: .25rem 0 1rem; }
.phase ul { list-style: none; display: grid; gap: .6rem; }
.phase li { position: relative; padding-left: 1.5rem; color: var(--muted); font-size: 1rem; }
.phase li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--purple);
}

.pullquote {
  margin: clamp(40px, 6vw, 68px) auto 0; max-width: 860px; text-align: center;
}
.pullquote blockquote {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem); line-height: 1.35; color: var(--ink); margin: 0;
}
.pullquote blockquote::before {
  content: "\201C"; display: block; font-family: var(--serif); font-style: normal;
  font-size: clamp(4rem, 9vw, 6.5rem); line-height: .5; color: var(--lavender);
  margin: 0 auto .3em;
}

/* ---------- Methoden ---------- */
.methoden-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: .9rem; }
.method {
  display: flex; align-items: center; gap: .9rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.05rem 1.2rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.method:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--lavender); }
.method__dot {
  flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 4px var(--lavender-soft);
}
.method span { font-weight: 500; font-size: 1rem; line-height: 1.35; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; min-width: 0; }

/* ---------- Team (Wir) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 3vw, 2.2rem); }
.person {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.person__photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--lavender-soft); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.person:hover .person__photo img { transform: scale(1.04); }
.person__body { padding: 1.5rem 1.6rem 1.7rem; }
.person__name { font-size: 1.42rem; }
.person__role { display: inline-block; margin: .5rem 0 .9rem; font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.person__qual { font-size: .98rem; color: var(--muted); margin-bottom: .9rem; }
.person__expertise { font-size: 1rem; color: var(--ink); }
.person__expertise strong { color: var(--indigo); font-weight: 600; }
.person__contact { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .35rem; font-size: .95rem; }
.person__contact a { font-weight: 500; }
.person__contact .label { color: var(--muted-soft); }

/* ---------- Partner ---------- */
.partner-grid { display: grid; grid-template-columns: minmax(0, 620px); gap: 1.5rem; }
.partner-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.partner-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.partner-wordmark {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2;
  margin-bottom: .9rem; overflow-wrap: break-word;
}
.partner-wordmark .wm-g { color: #002855; font-weight: 700; }
.partner-wordmark .wm-r { color: #8B0000; font-weight: 400; }
.partner-card p { color: var(--muted); font-size: 1rem; margin-bottom: .4rem; }
.partner-card .partner-link { margin-top: auto; padding-top: 1rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }

/* ---------- Hinweis-Dialog für externe Links ---------- */
.extmodal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.extmodal[hidden] { display: none; }
.extmodal__backdrop { position: absolute; inset: 0; background: rgba(21, 16, 43, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.extmodal__card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); max-width: 500px; width: 100%; padding: 2rem 2rem 1.8rem;
}
.extmodal__card h2 { font-size: 1.45rem; margin-bottom: .6rem; }
.extmodal__card p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
.extmodal__url {
  display: block; margin: .9rem 0 1.5rem; padding: .7rem 1rem;
  background: var(--lavender-tint); border: 1px solid var(--line); border-radius: 10px;
  font-size: .95rem; color: var(--indigo); font-weight: 600; word-break: break-all;
}
.extmodal__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- Dezente Marken-Kreise als Sektions-Akzent ---------- */
.section--orbs { position: relative; overflow: hidden; }
.section--orbs::before {
  content: ""; position: absolute; right: -140px; top: 30px; width: 380px; height: 380px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, rgba(119, 104, 169, .13), rgba(119, 104, 169, 0) 70%);
}
.section--orbs::after {
  content: ""; position: absolute; left: -100px; bottom: -60px; width: 280px; height: 280px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 60% 40%, rgba(192, 185, 216, .18), rgba(192, 185, 216, 0) 70%);
}
.section--orbs .container { position: relative; z-index: 1; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: #fff; }
.contact-intro p { color: #d8d2ee; font-size: 1.1rem; margin-top: 1rem; max-width: 460px; }
.contact-intro .quick { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-intro .quick a { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-weight: 500; font-size: 1.08rem; }
.contact-intro .quick a:hover { color: var(--lavender); }
.contact-intro .quick .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex-shrink: 0; }
.contact-intro .quick .ic svg { width: 20px; height: 20px; stroke: var(--lavender); }

.contact-cards { display: grid; gap: 1rem; }
.contact-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.contact-card h3 { color: #fff; font-size: 1.18rem; margin-bottom: .2rem; }
.contact-card .muted { color: #b7afd6; font-size: .92rem; }
.contact-rows { display: grid; gap: .6rem; margin-top: 1rem; }
.contact-row { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: baseline; }
.contact-row .lbl { font-size: .76rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #b7afd6; }
.contact-row .val { color: #e7e3f5; font-style: normal; }
.contact-row a { color: #e7e3f5; }
.contact-row a:hover { color: var(--lavender); }
.contact-people { display: grid; gap: .8rem; margin-top: 1rem; }
.contact-person { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.1); }
.contact-person .nm { color: #fff; font-weight: 600; }
.contact-person .dt { color: #d8d2ee; font-size: .95rem; display: grid; gap: .15rem; text-align: right; }
.contact-person .dt a { color: #d8d2ee; }
.contact-person .dt a:hover { color: var(--lavender); }

/* ---------- Footer ---------- */
.site-footer { background: #15102b; color: #c9c2e2; padding: clamp(48px, 6vw, 72px) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: #9d96be; }
.footer-brand p { margin-top: 1rem; max-width: 320px; color: #a59ec6; font-size: .96rem; }
.footer-col h3 { font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { color: #c9c2e2; font-size: .98rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; font-size: .9rem; color: #8f88b0; }
.footer-bottom a { color: #c9c2e2; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal-hero { background: var(--grad-soft); padding: clamp(56px, 8vw, 92px) 0 clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.legal-hero p { color: var(--muted); margin-top: .8rem; }
.legal-hero .back { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .95rem; margin-bottom: 1.2rem; }
.legal { padding: clamp(48px, 6vw, 80px) 0; }
.legal__wrap { max-width: 820px; margin-inline: auto; }
.legal__wrap h2 { font-size: 1.5rem; margin: 2.4rem 0 .9rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal__wrap h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal__wrap h3 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; font-family: var(--sans); font-weight: 700; color: var(--indigo); }
.legal__wrap p, .legal__wrap li { color: var(--muted); font-size: 1.01rem; }
.legal__wrap ul { padding-left: 1.2rem; margin: 0 0 1.1em; list-style: disc; }
.legal__wrap li { margin-bottom: .4rem; }
.legal__wrap a { word-break: break-word; }
.legal-card {
  background: var(--lavender-tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.8rem; margin-bottom: 1.6rem;
}
.legal-card p { margin-bottom: .3rem; color: var(--ink); }
.legal-card .muted { color: var(--muted); }
.legal-note {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--purple);
  border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.4rem 0; font-size: .95rem; color: var(--muted);
}

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--indigo); color: #fff;
  padding: .7em 1.2em; border-radius: 10px; font-weight: 600; transition: top .2s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 380px; margin-inline: auto; }
  .hero__visual svg { max-width: 340px; }
  .lead-row { grid-template-columns: 1fr; }
  .partner-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: .2rem;
    position: absolute; left: 0; right: 0; top: 76px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 1rem var(--gutter) 1.4rem;
  }
  .nav.is-open .nav__links a { padding: .85em 1rem; font-size: 1.05rem; border-radius: 12px; }
  .nav.is-open .nav__links .nav__cta-mobile { display: block; }
  .nav__cta-mobile { display: none; }
  .nav.is-open .nav__links .nav__cta-mobile a { background: var(--indigo); color: #fff; text-align: center; margin-top: .5rem; }
}

@media (max-width: 760px) {
  .phase-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand__sub { display: none; }
  .hero__meta { gap: 1.2rem 1.8rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .contact-person { flex-direction: column; }
  .contact-person .dt { text-align: left; }
}
