:root{
  --ink:#062A40; --paper:#F7F8FA; --paper-2:#FFFFFF;
  --text:#0E2130; --text-soft:#54626E; --text-faint:#8A959F;
  --line:rgba(14,33,48,.11); --line-soft:rgba(14,33,48,.06);
  --accent:#FF6200; --accent-2:#FFA31A; --blue:#0085C8;
  --tint:#EEF0F3; --tint-2:#FAFBFC;
  --surface:var(--paper-2); --ground:var(--paper);
  --shadow:0 1px 1px rgba(14,33,48,.03), 0 20px 50px -28px rgba(14,33,48,.22);
  --r-s:10px; --r-m:16px; --r-l:24px;
  --maxw:1180px;
  --step--1:clamp(.82rem,.79rem + .12vw,.9rem);
  --step-0:clamp(1rem,.96rem + .2vw,1.09rem);
  --step-1:clamp(1.2rem,1.1rem + .5vw,1.45rem);
  --step-2:clamp(1.6rem,1.4rem + 1vw,2.2rem);
  --step-3:clamp(2.3rem,1.8rem + 2.4vw,3.8rem);
  --step-4:clamp(2.4rem,1.9rem + 3.4vw,4.6rem);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#062A40; --paper-2:#0C3E5C;
    --text:#EAF4FA; --text-soft:#9FBACB; --text-faint:#6D8CA0;
    --line:rgba(234,244,250,.14); --line-soft:rgba(234,244,250,.08);
    --surface:#0C3E5C; --ground:#062A40; --tint:#0A3A56; --tint-2:#0C3E5C;
    --shadow:0 1px 2px rgba(0,0,0,.5), 0 20px 60px -20px rgba(0,0,0,.8);
  }
}
:root[data-theme="dark"]{
  --paper:#062A40; --paper-2:#0C3E5C;
  --text:#EAF4FA; --text-soft:#9FBACB; --text-faint:#6D8CA0;
  --line:rgba(234,244,250,.14); --line-soft:rgba(234,244,250,.08);
  --surface:#0C3E5C; --ground:#062A40; --tint:#0A3A56; --tint-2:#0C3E5C;
  --shadow:0 1px 2px rgba(0,0,0,.5), 0 20px 60px -20px rgba(0,0,0,.8);
}

*,*::before,*::after{box-sizing:border-box}
body{
  margin:0; background:var(--ground); color:var(--text);
  font-family:"Schibsted Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:var(--step-0); line-height:1.6; -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{font-family:"Fraunces",Georgia,"Times New Roman",serif; font-optical-sizing:auto;
  text-wrap:balance; margin:0; letter-spacing:-.01em; line-height:1.12; font-weight:600}
p{margin:0}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:6px}
img{max-width:100%}

.wrap{max-width:var(--maxw); margin-inline:auto; padding-inline:24px}
.eyebrow{font-family:"IBM Plex Mono",ui-monospace,monospace; font-size:var(--step--1);
  letter-spacing:.2em; text-transform:uppercase; color:var(--text-faint); font-weight:500}
.lede{font-size:var(--step-1); color:var(--text-soft); max-width:38ch; line-height:1.5}

/* ---- Navigation ---- */
header.nav{position:sticky; top:0; z-index:50; background:color-mix(in srgb,var(--ground) 78%,transparent);
  backdrop-filter:blur(18px) saturate(1.4); border-bottom:1px solid var(--line-soft)}
.nav-in{display:flex; align-items:center; gap:32px; height:64px}
.logo{display:flex; align-items:center; text-decoration:none}
.logo img{height:30px; width:auto; display:block}
@media(max-width:520px){.logo img{height:26px}}
.nav-links{display:flex; gap:26px; margin-left:auto; font-size:.95rem; font-weight:500; color:var(--text-soft)}
.nav-links a{text-decoration:none; transition:color .18s}
.nav-links a:hover, .nav-links a[aria-current="page"]{color:var(--text)}
@media(max-width:820px){.nav-links{display:none}}

.btn{display:inline-flex; align-items:center; gap:10px; border-radius:999px; padding:13px 24px;
  font-weight:600; font-size:.97rem; text-decoration:none; border:1px solid transparent; cursor:pointer;
  transition:transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s, background .18s, color .18s}
.btn-primary{background:var(--accent); color:#fff; box-shadow:0 6px 16px -10px rgba(232,88,0,.9)}
.btn-primary:hover{transform:translateY(-1px); background:#F05A00; box-shadow:0 10px 24px -12px rgba(232,88,0,.9)}
.btn-blue{background:var(--blue); color:#fff; box-shadow:0 6px 16px -10px rgba(0,133,200,.85)}
.btn-blue:hover{transform:translateY(-1px); background:#0073AD}
.btn-ghost{border-color:var(--line); color:var(--text); background:transparent}
.btn-ghost:hover{border-color:var(--text); transform:translateY(-2px)}
.btn-sm{padding:9px 18px; font-size:.9rem}
.link-mehr{font-size:.92rem; font-weight:600; text-decoration:none; display:inline-flex; align-items:center; gap:6px}
.link-mehr:hover{text-decoration:underline}

/* ---- Hero (Startseite) ---- */
.hero{position:relative; overflow:hidden; padding:clamp(52px,7vw,88px) 0 0;
  background:var(--paper-2); border-bottom:1px solid var(--line-soft)}
.hero-intro{max-width:660px}
h1.title{font-size:var(--step-4); font-weight:600; letter-spacing:-.015em}
.hero p.lede{margin-top:18px; max-width:52ch}

/* ---- Zwei Standbeine: geteilter Sockel des Heros ---- */
.saeulen{margin-top:clamp(44px,6vw,68px); display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line)}
@media(max-width:760px){.saeulen{grid-template-columns:1fr}}
.saeule{padding:clamp(28px,4vw,40px) clamp(20px,3vw,44px) clamp(36px,5vw,48px) 0}
.saeule + .saeule{border-left:1px solid var(--line); padding-left:clamp(20px,3vw,44px); padding-right:0}
@media(max-width:760px){.saeule + .saeule{border-left:none; border-top:1px solid var(--line); padding-left:0}}
.saeule .ziffer-gross{font-family:"IBM Plex Mono",monospace; font-size:.72rem; letter-spacing:.16em; font-weight:500}
.saeule.beratung .ziffer-gross{color:var(--blue)}
.saeule.apps .ziffer-gross{color:var(--accent)}
.saeule h2{font-size:var(--step-2); margin-top:12px}
.saeule p{color:var(--text-soft); margin-top:12px; max-width:36ch; line-height:1.55}
.saeule .link-mehr{margin-top:18px}
.saeule.beratung .link-mehr{color:var(--blue)}
.saeule.apps .link-mehr{color:var(--accent)}

/* ---- Kleinerer Kopf für Unterseiten ---- */
.seiten-kopf{background:var(--paper-2); border-bottom:1px solid var(--line-soft); padding:clamp(40px,6vw,64px) 0}
.seiten-kopf h1{font-size:var(--step-3)}
.seiten-kopf .lede{margin-top:14px}

/* ---- Sektionen ---- */
section{padding:clamp(56px,7vw,96px) 0}
.tint{background:var(--tint)}
.kopf{max-width:640px; margin-bottom:clamp(36px,5vw,56px)}
.kopf .titelzeile{display:flex; align-items:baseline; gap:14px; margin-top:10px; flex-wrap:wrap}
.kopf h2{font-size:var(--step-3)}
.kopf .lede{margin-top:14px}

/* ---- Bedarf/Beitrag Karten (Beratung) ---- */
.mandat-liste{display:flex; flex-direction:column; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--r-l); overflow:hidden}
.mandat{background:var(--surface); display:grid; grid-template-columns:.9fr 1fr 1fr; gap:24px; padding:28px clamp(20px,3vw,32px); align-items:start}
@media(max-width:860px){.mandat{grid-template-columns:1fr}}
.mandat h3{font-size:1.25rem; align-self:center}
.mandat .spalte .label{font-family:"IBM Plex Mono",monospace; font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); margin-bottom:6px}
.mandat .spalte p{color:var(--text-soft); font-size:.92rem; line-height:1.5}
.mandat .spalte.beitrag .label{color:var(--blue)}

/* ---- Apps ---- */
.apps-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
@media(max-width:900px){.apps-grid{grid-template-columns:1fr}}
.app-karte{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-l);
  overflow:hidden; display:flex; flex-direction:column; box-shadow:var(--shadow)}
.app-kopf{padding:24px 24px 0}
.app-punkt{width:10px; height:10px; border-radius:50%; margin-bottom:14px}
.app-karte h3{font-size:1.3rem; margin-bottom:6px}
.app-karte .unterzeile{font-family:"IBM Plex Mono",monospace; font-size:.72rem; letter-spacing:.08em;
  color:var(--text-faint); text-transform:uppercase}
.app-karte p{color:var(--text-soft); font-size:.94rem; line-height:1.55; padding:14px 24px 0}
.app-fuss{margin-top:auto; padding:20px 24px 24px; display:flex; align-items:center; justify-content:space-between}
.app-link{font-size:.9rem; font-weight:600; text-decoration:none; color:var(--accent); display:inline-flex; align-items:center; gap:6px}
.app-link:hover{text-decoration:underline}
.status-pille{font-family:"IBM Plex Mono",monospace; font-size:.66rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--text-faint); border:1px solid var(--line); border-radius:999px; padding:4px 10px}

/* ---- Team ---- */
.team-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
@media(max-width:900px){.team-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.team-grid{grid-template-columns:1fr}}
.person{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-m); padding:22px; display:flex; flex-direction:column; gap:10px}
.avatar{width:44px; height:44px; border-radius:50%; display:grid; place-items:center;
  font-family:"Fraunces",serif; font-weight:600; font-size:1.1rem; color:#fff}
.person .name{font-family:"Fraunces",serif; font-size:1.15rem; font-weight:600}
.person .rolle{font-family:"IBM Plex Mono",monospace; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint)}
.person .zitat{color:var(--text-soft); font-size:.9rem; font-style:italic; line-height:1.5}
.marke{display:inline-flex; align-items:center; gap:6px; margin-top:2px; font-family:"IBM Plex Mono",monospace;
  font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); border:1px solid color-mix(in srgb,var(--accent) 40%, var(--line));
  border-radius:999px; padding:3px 9px; width:fit-content}

/* ---- Standorte / Kacheln (Unternehmen) ---- */
.info-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
@media(max-width:860px){.info-grid{grid-template-columns:1fr}}
.info-karte{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-l); padding:26px}
.info-karte h3{font-size:1.1rem; margin-bottom:10px}
.info-karte p{color:var(--text-soft); font-size:.92rem; line-height:1.55}

/* ---- Werte-Streifen ---- */
.werte{display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:1px solid var(--line); border-radius:var(--r-l); overflow:hidden; background:var(--surface)}
@media(max-width:800px){.werte{grid-template-columns:1fr}}
.wert{padding:28px; border-left:1px solid var(--line)}
.wert:first-child{border-left:none}
@media(max-width:800px){.wert{border-left:none; border-top:1px solid var(--line)}.wert:first-child{border-top:none}}
.wert .eyebrow{margin-bottom:10px}
.wert h3{font-size:1.15rem; margin-bottom:8px}
.wert p{color:var(--text-soft); font-size:.9rem; line-height:1.5}

/* ---- CTA-Band ---- */
.cta-band{background:var(--ink); color:#EAF4FA; border-radius:var(--r-l); padding:clamp(36px,5vw,56px);
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap}
.cta-band h2{color:#fff; font-size:var(--step-2)}
.cta-band p{color:#9FBACB; margin-top:8px; max-width:44ch}
.cta-band .btn-ghost{border-color:rgba(234,244,250,.3); color:#EAF4FA}
.cta-band .btn-ghost:hover{border-color:#fff}

/* ---- Kontakt ---- */
.kontakt-grid{display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,64px); align-items:start}
@media(max-width:820px){.kontakt-grid{grid-template-columns:1fr}}
.kontakt-liste{display:flex; flex-direction:column; gap:16px; margin-top:20px}
.kontakt-zeile{display:flex; gap:14px; align-items:center; font-size:.96rem}
.kontakt-zeile .label{font-family:"IBM Plex Mono",monospace; font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--text-faint); min-width:96px}
.formular{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-l); padding:28px; box-shadow:var(--shadow)}
.formular .feld{display:flex; flex-direction:column; gap:6px; margin-bottom:16px}
.formular label{font-size:.8rem; color:var(--text-soft); font-weight:600}
.formular input, .formular textarea{font-family:inherit; font-size:.94rem; padding:11px 13px; border-radius:var(--r-s);
  border:1px solid var(--line); background:var(--ground); color:var(--text)}
.formular .reihe{display:grid; grid-template-columns:1fr 1fr; gap:14px}
@media(max-width:480px){.formular .reihe{grid-template-columns:1fr}}
.formular .hinweis{font-size:.78rem; color:var(--text-faint); margin-top:4px}

/* ---- Recht (Impressum/Datenschutz) ---- */
.recht{max-width:70ch}
.recht h2{font-size:1.3rem; margin-top:40px; margin-bottom:12px}
.recht h2:first-child{margin-top:0}
.recht p{color:var(--text-soft); line-height:1.65; margin-bottom:14px}
.recht a{color:var(--blue); text-decoration:underline}

/* ---- Fuss ---- */
footer{border-top:1px solid var(--line-soft); padding:36px 0; font-family:"IBM Plex Mono",monospace; font-size:.74rem; color:var(--text-faint)}
.fuss-in{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px}
.fuss-links{display:flex; gap:20px}
.fuss-links a{text-decoration:none; color:var(--text-faint)}
.fuss-links a:hover{color:var(--text)}
