@font-face { font-family:'Jost Disp'; font-weight:500; font-style:normal; font-display:swap; src:url(fonts/jost-500.woff2) format('woff2'); }
@font-face { font-family:'Jost Disp'; font-weight:600; font-style:normal; font-display:swap; src:url(fonts/jost-600.woff2) format('woff2'); }
@font-face { font-family:'Jost Disp'; font-weight:700; font-style:normal; font-display:swap; src:url(fonts/jost-700.woff2) format('woff2'); }
@font-face { font-family:'Nunito Sans'; font-weight:400; font-style:normal; font-display:swap; src:url(fonts/nunito-sans-400.woff2) format('woff2'); }
@font-face { font-family:'Nunito Sans'; font-weight:500; font-style:normal; font-display:swap; src:url(fonts/nunito-sans-500.woff2) format('woff2'); }
@font-face { font-family:'Nunito Sans'; font-weight:600; font-style:normal; font-display:swap; src:url(fonts/nunito-sans-600.woff2) format('woff2'); }
@font-face { font-family:'Nunito Sans'; font-weight:700; font-style:normal; font-display:swap; src:url(fonts/nunito-sans-700.woff2) format('woff2'); }
:root{
    --bg:#F4F7FB; --surface:#FFFFFF; --surface-2:#EDF2F9;
    --ink:#1D5EAB; --text:#33475A; --text-muted:#5F6B7A;
    --rule:#DCE4EE; --rule-strong:#BFCEE0;
    --accent:#1D5EAB; --accent-strong:#134A8C; --accent-2:#5B9BD5; --accent-soft:#E4EDF7;
    --tint:#EEF3F9;
    /* aus der Praesentation uebernommen */
    --card-flat:#F0F3F7; --bullet:#9EC1E3; --cyan:#10AFDA; --rule-soft:#D9D9D9; --deep:#1D5FAC;
    --font-display:'Jost Disp',system-ui,sans-serif;
    --font-body:'Nunito Sans',system-ui,sans-serif;
    --font-label:'Nunito Sans',system-ui,sans-serif;
  }
@media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --bg:#0B1622; --surface:#101E2E; --surface-2:#152538;
      --ink:#EAF1FA; --text:#D3DEE9; --text-muted:#8FA3B8;
      --rule:#22374C; --rule-strong:#314962;
      --accent:#5B9BD5; --accent-strong:#7FB2E0; --accent-2:#3D7DC0; --accent-soft:#152A3E;
      --tint:#152538;
      --card-flat:#152538; --bullet:#5B9BD5; --cyan:#2FC4E8; --rule-soft:#2A3B4D; --deep:#1D5FAC;
    }
  }
:root[data-theme="dark"]{
    --bg:#0B1622; --surface:#101E2E; --surface-2:#152538;
    --ink:#EAF1FA; --text:#D3DEE9; --text-muted:#8FA3B8;
    --rule:#22374C; --rule-strong:#314962;
    --accent:#5B9BD5; --accent-strong:#7FB2E0; --accent-2:#3D7DC0; --accent-soft:#152A3E;
    --tint:#152538;
      --card-flat:#152538; --bullet:#5B9BD5; --cyan:#2FC4E8; --rule-soft:#2A3B4D; --deep:#1D5FAC;
  }
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
    margin:0; background:var(--bg); color:var(--text);
    font-family:var(--font-body); font-size:16px; line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
h1,h2,h3{ font-family:var(--font-display); color:var(--ink); margin:0; text-wrap:balance; letter-spacing:-0.01em; }
p{ margin:0; }
a{ color:inherit; }
.container{ max-width:1180px; margin:0 auto; padding:0 32px; }
@media (max-width:720px){ .container{ padding:0 20px; } }
.eyebrow{
    font-family:var(--font-label); font-size:12.5px; font-weight:500;
    letter-spacing:.12em; text-transform:uppercase; color:var(--accent);
    display:flex; align-items:center; gap:10px;
  }
.eyebrow::before{ content:""; width:22px; height:1px; background:var(--accent); display:inline-block; }
/* ---------- nav ---------- */
  nav{
    position:sticky; top:0; z-index:40; background:color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter:blur(10px); border-bottom:1px solid var(--rule);
  }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; height:64px; }
.logo{ font-family:var(--font-display); font-weight:700; font-size:20px; color:var(--accent); text-decoration:none; letter-spacing:-0.02em; }
.logo span{ color:var(--accent-2); }
.nav-links{ display:flex; align-items:center; gap:28px; list-style:none; margin:0; padding:0; }
.nav-links a{
    font-family:var(--font-label); font-weight:600; font-size:13px; letter-spacing:.06em; text-transform:uppercase;
    text-decoration:none; color:var(--text-muted); transition:color .15s ease;
  }
.nav-links a:hover, .nav-links a:focus-visible{ color:var(--ink); }
.btn{
    font-family:var(--font-label); font-weight:600; font-size:13px; letter-spacing:.06em; text-transform:uppercase;
    text-decoration:none; color:var(--bg); background:var(--ink);
    padding:10px 18px; border-radius:2px; display:inline-block; border:1px solid var(--ink);
    transition:background .15s ease, color .15s ease, transform .1s ease;
  }
.btn:hover{ background:var(--accent); border-color:var(--accent); }
.btn:focus-visible, a:focus-visible, button:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.btn-ghost{ background:transparent; color:var(--ink); border:1px solid var(--rule-strong); }
.btn-ghost:hover{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
@media (max-width:720px){ .nav-links{ display:none; } }
/* ---------- hero ---------- */
  .hero{ padding:72px 0 0; }
.hero-grid{ display:grid; grid-template-columns:7fr 5fr; gap:48px; align-items:start; }
@media (max-width:860px){ .hero-grid{ grid-template-columns:1fr; } }
.hero h1{ font-size:clamp(2.4rem,4.6vw,4.1rem); font-weight:700; line-height:1.04; margin-top:20px; }
.hero-lead{ font-size:1.15rem; color:var(--text-muted); max-width:46ch; margin-top:22px; }
.hero-cta{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.hero-side{ display:flex; flex-direction:column; align-items:center; gap:26px; }
.hero-portrait{
    width:min(230px,70%); aspect-ratio:1; border-radius:50%; overflow:hidden;
    border:1px solid var(--rule-strong); box-shadow:0 0 0 8px var(--surface), 0 0 0 9px var(--rule);
    flex-shrink:0;
  }
.hero-portrait img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-fact{
    font-family:var(--font-label); font-size:13.5px; color:var(--text-muted); line-height:1.6;
    border-top:1px solid var(--rule-strong); padding-top:16px; align-self:stretch;
  }
.hero-fact b{ color:var(--ink); font-weight:500; }
.stat-strip{
    margin-top:48px; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule);
    display:grid; grid-template-columns:repeat(3,1fr);
  }
@media (max-width:720px){ .stat-strip{ grid-template-columns:repeat(2,1fr); } }
.stat{ padding:26px 28px; border-left:1px solid var(--rule); }
.stat:first-child{ border-left:none; }
@media (max-width:720px){ .stat:nth-child(2n+1){ border-left:none; } .stat:nth-child(n+3){ border-top:1px solid var(--rule); } }
.stat-num{ font-family:var(--font-display); font-weight:700; font-size:2.1rem; color:var(--ink); }
.stat-label{ font-family:var(--font-label); font-weight:600; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-muted); margin-top:6px; }
.stat-tbd{ font-family:var(--font-label); font-size:11px; letter-spacing:.04em; font-style:italic; color:var(--accent); opacity:.75; margin-top:4px; }
.insights{ margin-top:56px; }
.insights-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:820px){ .insights-grid{ grid-template-columns:1fr; } }
.insight-card{
    display:block; text-decoration:none; padding:20px 22px; background:var(--surface);
    border:1px solid var(--rule); border-radius:2px; transition:border-color .15s ease, transform .15s ease;
  }
.insight-card:hover{ border-color:var(--accent); transform:translateY(-2px); }
.insight-cat{ font-family:var(--font-label); font-weight:600; font-size:11.5px; color:var(--accent); letter-spacing:.05em; text-transform:uppercase; }
.insight-card h4{ font-family:var(--font-body); font-weight:600; font-size:.98rem; color:var(--ink); margin-top:10px; line-height:1.45; }
/* ---------- sections ---------- */
  section{ padding:96px 0; border-bottom:1px solid var(--rule); }
section:last-of-type{ border-bottom:none; }
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:48px; flex-wrap:wrap; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.4rem); font-weight:700; margin-top:14px; max-width:20ch; }
.section-intro{ color:var(--text-muted); max-width:52ch; font-size:1rem; }
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }
/* ---------- competencies ---------- */
  .comp-list{ border-top:1px solid var(--rule); }
.comp-row{
    display:grid; grid-template-columns:40px 1fr; gap:18px; padding:24px 0; border-bottom:1px solid var(--rule); align-items:start;
  }
@media (max-width:720px){ .comp-row{ grid-template-columns:32px 1fr; gap:14px; } }
.comp-icon{ width:30px; height:30px; color:var(--accent); }
.comp-row h3{ font-size:1.15rem; font-weight:700; }
.comp-tag{ font-family:var(--font-label); font-weight:600; font-size:12px; color:var(--text-muted); letter-spacing:.06em; }
.comp-row p{ color:var(--text-muted); font-size:.95rem; max-width:60ch; margin-top:6px; }
.comp-proof{
    font-family:var(--font-label); font-size:12.5px; color:var(--accent) !important;
    margin-top:10px; letter-spacing:.02em;
  }
/* Kompetenzen links, Netzwerk rechts */
.comp-split{ display:grid; grid-template-columns:1.1fr 1fr; gap:64px; align-items:start; }
@media (max-width:1040px){ .comp-split{ grid-template-columns:1fr; gap:48px; } }
.network-feature{ margin:0; }
.network-intro{ text-align:center; max-width:46ch; margin:0 auto 24px; }
@media (min-width:1041px){ .network-feature{ padding-top:24px; } }
.network-feature h3{ font-size:1.4rem; font-weight:700; }
.network-feature p{ color:var(--text-muted); margin-top:12px; }
figure{ margin:0; }
figcaption{ font-family:var(--font-label); font-size:12.5px; color:var(--text-muted); margin-top:14px; letter-spacing:.02em; }
.diagram-frame{ background:var(--surface); border:1px solid var(--rule); border-radius:3px; padding:20px; overflow-x:auto; }

/* ---- Netzwerkgrafik: St. Galler Aufbau (Umweltsphaeren + Anspruchsgruppen) ---- */
.netz{
    container-type:inline-size;
    position:relative; width:100%; max-width:470px; margin:0 auto;
    aspect-ratio:1; font-family:var(--font-label);
  }
/* Aeussere Umweltsphaere */
.netz-sphere{
    position:absolute; inset:0; border-radius:50%;
    background:var(--card-flat);
  }
/* Innere Flaeche: Anspruchsgruppen */
.netz-inner{
    position:absolute; inset:12.5%; border-radius:50%;
    background:var(--surface); border:1px solid var(--rule-soft);
  }
/* Verbindungslinien */
.netz-links{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.netz-links line{ stroke:var(--bullet); stroke-width:.42; }

/* Sphaerenbeschriftung im Ring */
.netz-sphere-label{
    position:absolute; transform:translate(-50%,-50%);
    width:30cqw; text-align:center; line-height:1.18;
    font-size:clamp(8.5px,2.15cqw,12px); font-weight:700; letter-spacing:.01em;
    color:var(--accent); font-family:var(--font-display);
  }
.netz-sphere-label.s1{ left:80.9%; top:19.1%; } /* Regulatorik */
.netz-sphere-label.s2{ left:19.1%; top:19.1%; } /* Gesellschaft */
.netz-sphere-label.s3{ left:19.1%; top:80.9%; } /* Finanzierung */
.netz-sphere-label.s4{ left:80.9%; top:80.9%; } /* Technologie */

/* Knotenkarten */
.netz-node{
    position:absolute; transform:translate(-50%,-50%);
    width:22.5cqw; min-height:16.2cqw; box-sizing:border-box;
    background:var(--surface); border:1px solid var(--bullet); border-radius:4px;
    padding:2.1cqw 2.1cqw 2.4cqw;
    display:flex; flex-direction:column; gap:1.2cqw;
  }
.netz-node svg{ width:4.4cqw; height:4.4cqw; min-width:14px; min-height:14px; color:var(--accent); }
.netz-node span{
    font-family:var(--font-display); font-weight:700; line-height:1.2;
    font-size:clamp(9px,2.6cqw,13.5px); color:var(--accent);
  }
.netz-node.n1{ left:50%;    top:27.2%; }
.netz-node.n2{ left:71.7%;  top:43.0%; }
.netz-node.n3{ left:63.4%;  top:68.5%; }
.netz-node.n4{ left:36.6%;  top:68.5%; }
.netz-node.n5{ left:28.3%;  top:43.0%; }

/* Zentrum */
.netz-core{
    position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
    width:19.1%; aspect-ratio:1; border-radius:50%;
    background:var(--surface); border:1px solid var(--bullet);
    display:flex; align-items:center; justify-content:center;
  }
.netz-core::before{
    content:""; position:absolute; inset:8%; border-radius:50%;
    border:2px solid var(--accent);
  }
.netz-core img{ position:relative; width:58%; height:auto; display:block; }

.netz-spheres{ display:contents; }

/* Mobil: lineare Auflistung statt Ring - Mindestschriftgroessen skalieren nicht mit */
@media (max-width:680px){
    .netz{ aspect-ratio:auto; max-width:420px; display:flex; flex-direction:column; }
    .netz-sphere, .netz-inner, .netz-links{ display:none; }
    .netz-core{
      position:relative; left:auto; top:auto; transform:none; order:1;
      width:78px; margin:0 auto 20px;
    }
    .netz-node{
      position:relative; left:auto; top:auto; transform:none; order:2;
      width:100%; min-height:0; margin-bottom:10px;
      flex-direction:row; align-items:center; gap:13px;
      padding:13px 16px; background:var(--card-flat); border:none;
    }
    .netz-node.n1, .netz-node.n2, .netz-node.n3, .netz-node.n4, .netz-node.n5{
      left:auto; top:auto;
    }
    .netz-node svg{ width:21px; height:21px; }
    .netz-node span{ font-size:14.5px; }
    .netz-spheres{
      display:grid; order:3; grid-template-columns:1fr 1fr; gap:9px 18px;
      margin-top:12px; padding-top:16px; border-top:1px solid var(--rule);
    }
    .netz-sphere-label, .netz-sphere-label.s1, .netz-sphere-label.s2,
    .netz-sphere-label.s3, .netz-sphere-label.s4{
      position:relative; left:auto; top:auto; transform:none; width:auto;
      text-align:left; font-size:12.5px; line-height:1.35; padding-left:14px;
    }
    .netz-sphere-label::before{
      content:""; position:absolute; left:0; top:.42em;
      width:7px; height:7px; background:var(--bullet);
    }
  }

svg{ display:block; width:100%; height:auto; color:var(--text); }
.svg-accent{ color:var(--accent); }
.svg-muted{ color:var(--text-muted); }
/* ---------- arbeitsweise ---------- */
  .work-grid{ display:grid; grid-template-columns:1fr 1.6fr; gap:48px; }
@media (max-width:820px){ .work-grid{ grid-template-columns:1fr; } }
.work-lead h2{ font-size:clamp(1.7rem,3vw,2.3rem); font-weight:700; margin-top:14px; max-width:14ch; }
.work-text{ font-size:1.05rem; color:var(--text); max-width:62ch; }
.work-points{ margin-top:28px; display:flex; flex-direction:column; gap:14px; }
.work-point{
    display:flex; align-items:flex-start; gap:14px; font-size:.94rem; color:var(--text-muted);
    padding-top:14px; border-top:1px solid var(--rule);
  }
.wp-num{
    font-family:var(--font-label); font-weight:600; font-size:11.5px; color:var(--accent); border:1px solid var(--rule-strong);
    border-radius:50%; width:20px; height:20px; display:flex; align-items:center; justify-content:center;
    flex-shrink:0; margin-top:1px;
  }
/* ---------- angebot ---------- */
  .process-block{ margin-bottom:56px; }
.offer-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--rule); border:1px solid var(--rule); }
@media (max-width:720px){ .offer-grid{ grid-template-columns:1fr; } }
.offer-card{ background:var(--surface); padding:26px 28px; }
.offer-card .code{ font-family:var(--font-label); font-weight:600; font-size:12px; color:var(--accent); letter-spacing:.08em; }
.offer-card h3{ font-size:1.05rem; font-weight:700; margin-top:10px; }
.offer-card p{ color:var(--text-muted); font-size:.93rem; margin-top:10px; }
.offer-teaser{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; padding-top:8px; }
.offer-teaser-tags{ display:flex; gap:10px; flex-wrap:wrap; }
.link-more{
    font-family:var(--font-label); font-weight:600; font-size:13px; letter-spacing:.04em; color:var(--accent);
    text-decoration:none; white-space:nowrap; border-bottom:1px solid transparent; transition:border-color .15s ease;
  }
.link-more:hover{ border-color:var(--accent); }
/* ---------- projekte ---------- */
  .project-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--rule); border:1px solid var(--rule); margin-bottom:64px; }
@media (max-width:860px){ .project-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .project-grid{ grid-template-columns:1fr; } }
.project-card{ background:var(--surface); padding:22px 22px 26px; min-height:140px; display:flex; flex-direction:column; justify-content:space-between; }
.project-card .num{ font-family:var(--font-label); font-size:11.5px; color:var(--text-muted); }
.project-card h4{ font-family:var(--font-display); font-weight:700; font-size:1.02rem; color:var(--ink); margin-top:10px; }
.project-card .cat{ font-family:var(--font-label); font-weight:600; font-size:11.5px; color:var(--accent); margin-top:8px; letter-spacing:.04em; }
.project-card.featured{ background:var(--ink); color:var(--bg); }
.project-card.featured .num, .project-card.featured .cat{ color:var(--accent-strong); }
.project-card.featured h4{ color:var(--bg); }
.case-study{ background:var(--surface); border:1px solid var(--rule); border-radius:3px; padding:44px; }
@media (max-width:640px){ .case-study{ padding:28px 22px; } }
.case-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:24px; flex-wrap:wrap; margin-bottom:28px; }
.case-head h3{ font-size:1.6rem; font-weight:700; }
.case-head .sub{ font-family:var(--font-label); font-weight:600; font-size:12.5px; color:var(--accent); letter-spacing:.06em; text-transform:uppercase; margin-top:8px; }
.case-tag{ font-family:var(--font-label); font-weight:500; font-size:11.5px; color:var(--text-muted); border:1px solid var(--rule-strong); padding:5px 10px; border-radius:2px; white-space:nowrap; }
.case-body p{ color:var(--text); max-width:70ch; }
.case-cols{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin:32px 0 40px; }
@media (max-width:720px){ .case-cols{ grid-template-columns:1fr; } }
.case-col .label{ font-family:var(--font-label); font-weight:600; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); }
.case-col p{ margin-top:10px; font-size:.94rem; color:var(--text-muted); }
/* ---------- team ---------- */
  .team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px 24px; }
@media (max-width:860px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .team-grid{ grid-template-columns:repeat(2,1fr); gap:22px 16px; } }
.avatar{
    width:100%; aspect-ratio:1; border-radius:2px; background:var(--tint);
    overflow:hidden; border:1px solid var(--rule); position:relative;
  }
.avatar img{ width:100%; height:100%; object-fit:cover; display:block; filter:grayscale(.15); }
.team-card.lead .avatar{ border-color:var(--accent); box-shadow:0 0 0 1px var(--accent); }
.team-card h4{ font-family:var(--font-body); font-weight:600; font-size:.98rem; color:var(--ink); margin-top:14px; }
.team-card .role{ font-family:var(--font-label); font-size:12px; color:var(--text-muted); letter-spacing:.04em; margin-top:4px; }
.team-teaser{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.duo{ display:grid; grid-template-columns:1fr 1fr; gap:64px; }
@media (max-width:860px){ .duo{ grid-template-columns:1fr; gap:48px; } }
.duo-col{ display:flex; flex-direction:column; align-items:flex-start; }
.duo-col h2{ font-size:clamp(1.5rem,2.4vw,1.9rem); font-weight:700; margin-top:14px; }
.duo-col > .offer-teaser-tags, .duo-col > .avatar-stack{ margin-top:24px; }
.duo-col > p{ color:var(--text-muted); font-size:.95rem; margin-top:16px; max-width:40ch; }
.duo-col > .link-more{ margin-top:22px; }
@media (min-width:861px){ .duo{ gap:0; } .duo-col:first-child{ padding-right:56px; } .duo-col + .duo-col{ border-left:1px solid var(--rule); padding-left:56px; } }
.avatar-stack{ display:flex; }
.avatar-stack img{
    width:54px; height:54px; border-radius:50%; object-fit:cover; border:2.5px solid var(--bg);
    margin-left:-16px; filter:grayscale(.15);
  }
.avatar-stack img:first-child{ margin-left:0; }
.team-teaser p{ color:var(--text-muted); font-size:.95rem; max-width:32ch; }
/* ---------- logo wall ---------- */
  /* Logoleiste: feste Kachelbreite, neue Logos brechen einfach in die naechste Reihe um */
.logo-band{ padding:40px 0 56px; }
.logo-band-label{
    font-family:var(--font-label); font-weight:600; font-size:12px; letter-spacing:.08em; text-transform:uppercase;
    color:var(--text-muted); text-align:center; margin-bottom:22px;
  }
.logo-row{
    list-style:none; margin:0; padding:0;
    display:flex; flex-wrap:wrap; justify-content:center; gap:14px;
  }
.logo-row li{
    flex:0 0 calc((100% - 5 * 14px) / 6); aspect-ratio:2/1;
    display:flex; align-items:center; justify-content:center;
  }
@media (max-width:1040px){ .logo-row li{ flex-basis:calc((100% - 3 * 14px) / 4); } }
@media (max-width:640px){ .logo-row li{ flex-basis:calc((100% - 2 * 14px) / 3); } }
@media (max-width:420px){ .logo-row li{ flex-basis:calc((100% - 1 * 14px) / 2); } }
.logo-row a{ display:block; width:100%; height:100%; border-radius:2px; }
.logo-row a:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.logo-row img{ width:100%; height:100%; display:block; object-fit:contain; border-radius:2px; filter:grayscale(1) opacity(.8); transition:filter .18s ease; }
.logo-row li:hover img{ filter:none; }
/* ---------- kontakt ---------- */
  .contact-grid{ display:grid; grid-template-columns:1.2fr 1fr; gap:48px; }
@media (max-width:820px){ .contact-grid{ grid-template-columns:1fr; } }
address{
    font-style:normal; font-family:var(--font-label); font-size:13.5px; color:var(--text-muted); line-height:1.9;
    margin-top:24px; padding-top:20px; border-top:1px solid var(--rule); max-width:230px;
  }
/* ---------- footer ---------- */
  footer{ padding:56px 0 48px; }
.footer-inner{ display:flex; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.footer-left{ display:flex; flex-direction:column; gap:26px; max-width:38ch; }
.footer-logo{ width:190px; height:auto; display:block; }
.footer-tag{ font-size:.9rem; color:var(--text-muted); }
.footer-copy{ font-family:var(--font-label); font-size:12px; color:var(--text-muted); letter-spacing:.02em; }
.footer-right{ display:flex; flex-direction:column; justify-content:space-between; align-items:flex-end; gap:26px; }
.social-btn{
    width:38px; height:38px; border-radius:50%; background:var(--accent); color:#fff;
    display:flex; align-items:center; justify-content:center; text-decoration:none; flex-shrink:0;
    transition:background .15s ease;
  }
.social-btn:hover{ background:var(--accent-strong); }
.footer-links{ display:flex; gap:22px; list-style:none; margin:0; padding:0; }
.footer-links a{ font-family:var(--font-label); font-weight:500; font-size:12px; color:var(--text-muted); text-decoration:none; letter-spacing:.04em; }
.footer-links a:hover{ color:var(--ink); }

/* ---------- mobile navigation ---------- */
.nav-right{ display:flex; align-items:center; gap:12px; }
.nav-toggle{
  display:none; width:44px; height:44px; padding:0; border:1px solid var(--rule-strong);
  border-radius:2px; background:transparent; cursor:pointer;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.nav-toggle span{ display:block; width:18px; height:1.5px; background:var(--ink); transition:transform .22s ease, opacity .18s ease; }
.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); }
.nav-cta-mobile{ display:none; }
@media (max-width:720px){
  .nav-toggle{ display:flex; }
  .nav-right > .btn{ display:none; }
  .nav-links{
    display:flex; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0; padding:0 20px;
    background:var(--bg); border-bottom:1px solid var(--rule);
    max-height:0; overflow:hidden; visibility:hidden;
    transition:max-height .28s ease, visibility .28s;
  }
  .nav-links.open{ max-height:80vh; visibility:visible; overflow-y:auto; }
  .nav-links li{ border-top:1px solid var(--rule); }
  .nav-links li:first-child{ border-top:none; }
  .nav-links a{ display:block; padding:16px 2px; font-size:13px; }
  .nav-cta-mobile{ display:block; padding:16px 0 20px; }
  .nav-cta-mobile .btn{ display:block; text-align:center; }
}
@media (prefers-reduced-motion: reduce){
  .nav-links, .nav-toggle span{ transition:none; }
}

/* ---------- sehr schmale Geraete (<=400px) ---------- */
@media (max-width:400px){
  .container{ padding:0 16px; }
  .stat-strip{ grid-template-columns:1fr; }
  .stat{ padding:18px 16px; border-left:none; border-top:1px solid var(--rule); }
  .stat:first-child{ border-top:none; }
  .avatar-stack img{ width:44px; height:44px; margin-left:-14px; }
  .hero-cta{ width:100%; }
  .hero-cta .btn{ flex:1 1 100%; text-align:center; }
  .offer-teaser{ align-items:flex-start; }
  /* lange Komposita (z.B. "Gesundheitswesen") sprengen sonst den Viewport */
  .hero h1{ font-size:2rem; }
  h1, h2{ hyphens:auto; overflow-wrap:break-word; }
}

/* ---------- Mandatsablauf (Stil der Praesentation) ---------- */
.mandat-process{ margin-bottom:20px; }
.principles{
    display:grid; grid-template-columns:1fr 1fr 1fr 1fr; gap:28px;
    border-top:2px solid var(--accent); padding:24px 0 4px;
  }
@media (max-width:860px){ .principles{ grid-template-columns:1fr; gap:18px; } }
.principles-label{ font-family:var(--font-display); font-weight:700; font-size:1.15rem; line-height:1.25; color:var(--accent); max-width:14ch; }
.principle h3{ font-size:.98rem; font-weight:700; color:var(--ink); }
.principle p{ color:var(--text-muted); font-size:.9rem; line-height:1.6; margin-top:6px; }
.section-foot{ margin-top:32px; display:flex; justify-content:flex-end; }
@media (max-width:860px){ .section-foot{ justify-content:flex-start; } }
.mp-track{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:860px){ .mp-track{ grid-template-columns:1fr; } }

.mp-card{
  position:relative; background:var(--card-flat); border-radius:4px;
  padding:24px 26px 26px; display:flex; flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease;
}
.mp-card:hover{ transform:translateY(-3px); box-shadow:0 16px 34px -24px rgba(20,45,80,.5); }

/* Fortschritt: die Karten werden nach rechts satter */
.mp-card:nth-child(1)::after,
.mp-card:nth-child(2)::after,
.mp-card:nth-child(3)::after{
  content:""; position:absolute; left:0; right:0; top:0; height:3px; border-radius:4px 4px 0 0;
}
.mp-card:nth-child(1)::after{ background:var(--bullet); }
.mp-card:nth-child(2)::after{ background:var(--accent-2); }
.mp-card:nth-child(3)::after{ background:var(--accent); }

/* weisser Icon-Kreis, wie auf den Folien */
.mp-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.mp-icon{
  width:48px; height:48px; border-radius:50%; background:var(--surface); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 16px -12px rgba(20,45,80,.4);
}
.mp-icon svg{ width:24px; height:24px; color:var(--accent); }

.mp-num{
  font-family:var(--font-label); font-weight:700; font-size:13px; letter-spacing:.12em;
  color:var(--accent); opacity:.8;
}

/* Richtungspfeil zwischen den Phasen */
.mp-card:not(:last-child)::before{
  content:""; position:absolute; right:-14px; top:50%; z-index:2;
  width:10px; height:10px; transform:translateY(-50%) rotate(45deg);
  border-top:2px solid var(--accent-2); border-right:2px solid var(--accent-2);
}
@media (max-width:860px){
  .mp-card:not(:last-child)::before{
    right:auto; left:50%; top:auto; bottom:-15px;
    transform:translateX(-50%) rotate(135deg);
  }
}
.mp-card h3{ font-size:1.08rem; font-weight:700; color:var(--accent); margin-top:16px; line-height:1.25; min-height:2.6em; }

.mp-list{ list-style:none; margin:16px 0 0; padding:16px 0 0; border-top:1px solid var(--rule-soft); display:flex; flex-direction:column; gap:9px; flex:1; }
.mp-list li{ position:relative; padding-left:16px; font-size:.92rem; color:var(--text); }
.mp-list li::before{ content:""; position:absolute; left:0; top:7px; width:7px; height:7px; background:var(--bullet); }

.mp-result{ margin-top:20px; background:var(--deep); border-radius:3px; padding:12px 14px; display:flex; flex-direction:column; gap:3px; }
.mp-result-label{ font-family:var(--font-label); font-weight:600; font-size:10px; letter-spacing:.09em; text-transform:uppercase; color:#9EC1E3; }
.mp-result-value{ font-weight:700; font-size:.95rem; color:#fff; }

@media (prefers-reduced-motion: reduce){ .mp-card{ transition:none; } .mp-card:hover{ transform:none; } }

/* ---------- Arbeitsweise: Blöcke im Präsentationsstil ---------- */
.work-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width:820px){ .work-cards{ grid-template-columns:1fr; } }
.work-card{ background:var(--card-flat); border-radius:3px; padding:26px 24px 24px; position:relative; }
.work-card::before{ content:""; position:absolute; left:0; top:26px; bottom:26px; width:3px; background:var(--cyan); border-radius:3px; }
.work-card h3{ font-size:1.02rem; font-weight:700; color:var(--accent); }
.work-card p{ color:var(--text); font-size:.92rem; line-height:1.6; margin-top:10px; }

/* ---------- Abschlussblock (auf allen Seiten ausser Kontakt) ---------- */
.closing-cta{ text-align:left; padding:64px 0; border-top:1px solid var(--rule); margin-top:16px; }
.closing-cta-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:40px; align-items:center; }
.closing-cta h2{ font-size:clamp(1.5rem,3vw,2.1rem); font-weight:700; max-width:20ch; }
.closing-cta p{ color:var(--text-muted); margin-top:14px; max-width:52ch; }
.closing-cta .hero-cta{ margin-top:26px; }
.closing-cta-photo{
  width:100%; max-width:260px; aspect-ratio:4/5; border-radius:3px; overflow:hidden; justify-self:end;
  border:1px solid var(--rule-strong); box-shadow:0 18px 36px -22px rgba(20,40,70,.4);
}
.closing-cta-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:760px){
  .closing-cta-grid{ grid-template-columns:1fr; }
  .closing-cta-photo{ max-width:220px; justify-self:start; }
}

/* ---------- Projekt-Detailseiten ---------- */
.pcard{ text-decoration:none; color:inherit; }
.detail-header{ padding:44px 0 40px; }
.back-link{
  font-family:var(--font-label); font-weight:600; font-size:12px; letter-spacing:.05em; color:var(--text-muted);
  text-decoration:none; display:inline-block; margin-bottom:22px;
}
.back-link:hover{ color:var(--accent); }
.detail-header h1{ font-size:clamp(1.9rem,3.6vw,2.9rem); font-weight:700; line-height:1.08; margin-top:14px; max-width:20ch; }
.detail-sub{ font-family:var(--font-label); font-weight:600; font-size:13px; letter-spacing:.05em; text-transform:uppercase; color:var(--accent); margin-top:12px; }
.detail-tags{ margin-top:20px; display:flex; gap:8px; flex-wrap:wrap; }

.detail-body{ padding:48px 0 8px; }
.detail-grid{ display:grid; grid-template-columns:1.55fr 1fr; gap:56px; align-items:start; }
@media (max-width:900px){ .detail-grid{ grid-template-columns:1fr; gap:36px; } }
.detail-text p{ color:var(--text); font-size:1rem; line-height:1.75; max-width:68ch; }
.detail-text p + p{ margin-top:16px; }
.detail-side{ display:flex; flex-direction:column; gap:24px; position:sticky; top:88px; }
@media (max-width:900px){ .detail-side{ position:static; } }
.detail-photo{
  width:100%; aspect-ratio:4/3; border-radius:3px; overflow:hidden;
  border:1px solid var(--rule); background:var(--surface-2);
}
.detail-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

.pquote{ margin:0; padding:22px 24px; background:var(--surface); border:1px solid var(--rule); border-left:2px solid var(--accent); border-radius:2px; }
.pquote blockquote{ margin:0; font-size:.97rem; line-height:1.65; color:var(--text); }
.pquote blockquote::before{ content:"«"; }
.pquote blockquote::after{ content:"»"; }
.pquote figcaption{ margin-top:14px; padding-top:12px; border-top:1px solid var(--rule); }
.pquote .q-author{ display:block; font-family:var(--font-body); font-weight:600; font-size:.88rem; color:var(--ink); }
.pquote .q-role{ display:block; font-family:var(--font-label); font-size:12px; color:var(--text-muted); margin-top:3px; }

.detail-pager{ padding:48px 0 8px; }
.detail-pager-inner{ display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--rule); padding-top:24px; flex-wrap:wrap; }
.pager-link{ text-decoration:none; max-width:46%; }
.pager-next{ text-align:right; margin-left:auto; }
@media (max-width:560px){ .pager-link{ max-width:100%; } .pager-next{ text-align:left; margin-left:0; } }
.pager-dir{ display:block; font-family:var(--font-label); font-weight:600; font-size:11.5px; letter-spacing:.05em; color:var(--text-muted); }
.pager-title{ display:block; font-family:var(--font-display); font-weight:700; font-size:1.02rem; color:var(--ink); margin-top:5px; }
.pager-link:hover .pager-title{ color:var(--accent); }

/* ---------- Touch: groessere Klickflaechen auf Mobilgeraeten ---------- */
@media (max-width:860px){
  .link-more{ display:inline-flex; align-items:center; min-height:44px; }
  .footer-links{ gap:8px 22px; flex-wrap:wrap; }
  .footer-links a{ display:inline-flex; align-items:center; min-height:44px; }
  .social-btn{ width:44px; height:44px; }
  .logo{ display:inline-flex; align-items:center; min-height:44px; padding-right:10px; }
  .back-link{ display:inline-flex; align-items:center; min-height:44px; }
  .footer-inner .footer-logo{ min-height:auto; }
}
