/* Website von Arkven. Bewusst schlicht: flache Farben, feine Linien, keine Verläufe, keine Schatten,
   keine Bewegung. Ein Blau für Handlungen, Grün, Gelb und Rot
   nur für Prüfergebnisse. Seitenaufbau steht in den HTML-Dateien. */

/* Geist vom eigenen Server: ein Abruf bei Google gäbe die IP-Adresse jedes Besuchers ohne Einwilligung weiter
   (LG München I, 3 O 17493/20). Vier Schnitte aus dem npm-Paket geist 1.9.2, Lizenz in fonts/OFL.txt. */
@font-face{font-family:Geist;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Geist-Regular.woff2) format("woff2")}
@font-face{font-family:Geist;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/Geist-Medium.woff2) format("woff2")}
@font-face{font-family:Geist;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/Geist-SemiBold.woff2) format("woff2")}
@font-face{font-family:Geist;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Geist-Bold.woff2) format("woff2")}
:root{
  --ink:#0b1a33; --text:#46566e; --muted:#6b7a90;
  --blue:#1f56c8; --blue-deep:#1744a6; --blue-soft:#eaf0fc; --blue-line:#c9d8f5;
  --line:#e3e8f0; --bg:#ffffff; --pale:#f6f8fb;
  --navy:#0b2350; --night-line:rgb(255 255 255 / .14);
  --ok:#0e7a55; --ok-soft:#e5f6ee; --warn:#a15c07; --warn-soft:#fdf1da; --stop:#b42318; --stop-soft:#fdecea;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.6 Geist,-apple-system,'Segoe UI',Roboto,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3,h4{color:var(--ink);font-weight:600}
h1{font-size:clamp(36px,4.2vw,52px);line-height:1.12;letter-spacing:-.02em;overflow-wrap:break-word}
h2{font-size:clamp(28px,3.2vw,40px);line-height:1.15;letter-spacing:-.015em;overflow-wrap:break-word}
h3{font-size:20px;line-height:1.3;letter-spacing:-.01em}
h4{font-size:17px;line-height:1.35}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
section{position:relative;padding:104px 0}
.pale{background:var(--pale);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.head{max-width:820px}
.head p{margin-top:18px;font-size:18px}
.eyebrow{display:block;font-size:14px;font-weight:600;color:var(--blue);margin-bottom:14px}
.btn{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 22px;border-radius:8px;font-weight:600;font-size:16px;white-space:nowrap;transition:background .15s,border-color .15s}
.btn svg{width:16px;height:16px}
.btn-blue{background:var(--blue);color:#fff}
.btn-blue:hover{background:var(--blue-deep)}
.btn-line{background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn-line:hover{border-color:var(--ink)}
.tag{flex-shrink:0;font-size:12.5px;font-weight:600;padding:3px 9px;border-radius:5px;white-space:nowrap}
.ok{background:var(--ok-soft);color:var(--ok)} .warn{background:var(--warn-soft);color:var(--warn)} .ask{background:var(--blue-soft);color:var(--blue)} .stop{background:var(--stop-soft);color:var(--stop)}

/* ---------- Navigation ---------- */
.nav{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;gap:36px;height:68px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;color:var(--ink);letter-spacing:-.01em}
.logo svg{width:28px;height:28px}
.links{display:flex;align-items:center;gap:26px;flex:1;font-size:15px;font-weight:500}
.links a:hover,.links a[aria-current=page],.dd>button:hover{color:var(--blue)}
/* „Plattform“ steht rechts, direkt vor dem Knopf */
.links .right{margin-left:auto}
.nav .btn{height:40px;font-size:15px;padding:0 16px}
/* Untermenü „Branchen“: öffnet beim Darüberfahren, beim Fokus und auf Tippen (site.js) */
.dd{position:relative}
.dd>button{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:500}
.dd>button svg{width:12px;height:12px}
.dd-menu{display:none;position:absolute;top:100%;left:-12px;padding-top:14px;z-index:60}
.dd-box{min-width:240px;padding:6px;border-radius:10px;background:#fff;border:1px solid var(--line)}
.dd-box a{display:block;padding:10px 12px;border-radius:6px;color:var(--ink)}
.dd-box a:hover{background:var(--pale)}
.dd:hover .dd-menu,.dd:focus-within .dd-menu,.dd.open .dd-menu{display:block}
.menu{display:none;width:40px;height:40px;border-radius:8px;place-items:center;color:var(--ink);border:1px solid var(--line);background:#fff}
.menu svg{width:20px;height:20px}

/* ---------- Einstieg ---------- */
.hero{padding:72px 0 88px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:64px;align-items:center}
/* Ohne min-width:0 schiebt ein langes Wort eine Rasterspalte über den Bildschirmrand */
.hero-grid>*,.build2>*,.why3>*,.branches>*,.cases>*,.icesplit>*,.intg>*,.faq-wrap>*,.uc>*{min-width:0}
.hero h1{margin-top:4px}
.hero .lead{font-size:19px;max-width:560px;margin:22px 0 32px}
.ctas{display:flex;gap:12px;flex-wrap:wrap}
.trust{margin-top:24px;font-size:14px;color:var(--muted)}
.trust+.trust{margin-top:6px}

/* Rechts im Kopf: eine geprüfte Spezifikation als schlichtes Bild */
.spec{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px 18px}
.spec .sh{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.spec .sh .di{width:38px;height:38px;border-radius:8px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);flex-shrink:0}
.spec .sh .di svg{width:20px;height:20px}
.spec .sh b{display:block;font-size:16px;color:var(--ink);font-weight:600;line-height:1.3}
.spec .sh small{font-size:13px;color:var(--muted)}
.spec .foot{padding-top:16px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}
.res{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px;color:var(--ink)}
.res small{display:block;font-size:13px;color:var(--muted)}
/* Ein nachgereichter Nachweis ist kein eigener Status: Zusatzzeile mit Häkchen unter dem Prüfpunkt */
.res small.add{display:flex;align-items:flex-start;gap:6px;color:var(--ok);font-weight:500}
.res small.add svg{width:14px;height:14px;flex-shrink:0;margin-top:2px}
.go{background:var(--blue);color:#fff;font-weight:600;padding:8px 14px;border-radius:6px;font-size:14px}

/* ---------- Ablauf: fünf Schritte nebeneinander, getrennt durch eine Linie oben ---------- */
.how{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;margin-top:56px}
.hs{padding-top:20px;border-top:2px solid var(--line)}
.hs.last{border-top-color:var(--blue)}
.hs .hi{display:none}
.hs .hi svg{width:24px;height:24px}
.hs .hn{display:block;font-size:13px;font-weight:600;color:var(--muted)}
.hs h3{font-size:18px;margin-top:2px}
.hs p{margin-top:6px;font-size:15px;line-height:1.55}
.metric{margin-top:40px;font-size:16px;color:var(--ink)}
.metric b{font-weight:600}

/* ---------- Branchen: je Branche eine Karte, sie führt auf die Branchenseite ---------- */
.branches{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:56px}
.branch{display:flex;flex-direction:column;padding:28px 26px;border-radius:12px;background:#fff;border:1px solid var(--line);transition:border-color .15s}
.branch:hover{border-color:var(--blue)}
.branch p{margin-top:8px;font-size:16px}
.branch .to{display:inline-flex;align-items:center;gap:8px;margin-top:20px;color:var(--blue);font-weight:600;font-size:15.5px}
.branch .to svg{width:16px;height:16px}

/* ---------- Beispiele auf den Branchenseiten ----------
   Jede Karte belegt die Zeilen des gemeinsamen Rasters (subgrid): Kopf, Abweichung, gegebenenfalls Klärung,
   Nachgereicht, Entscheidung. So stehen die Teile in allen Karten einer Reihe auf derselben Höhe. */
.cases{display:grid;grid-template-columns:repeat(3,1fr);column-gap:20px;row-gap:20px;margin-top:56px}
.case{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;padding:26px 24px 24px;border-radius:12px;background:#fff;border:1px solid var(--line)}
.cases.five .case{grid-row:span 5}
.case>*{min-width:0}
.case h3{font-size:19px}
.case .who{display:block;margin-top:2px;font-size:14px;color:var(--muted)}
.case .cb{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-size:15px;line-height:1.55;color:var(--ink)}
.case .cb b{display:flex;align-items:center;gap:6px;margin-bottom:4px;font-size:13px;font-weight:600}
.case .cb b svg{width:14px;height:14px}
.case .dev b{color:var(--warn)}
.case .clr b{color:var(--blue)}
.case .got b{color:var(--ok)}
.case .dec b{color:var(--ink)}

/* ---------- Agenten auf der Startseite ----------
   Je Agent ein Abschnitt: links Text und drei Zeilen zu Arbeit, Freigabe und Übergabe, rechts eine Karte mit einem Ergebnis.
   Die Seite der Karte wechselt, damit sich die Agenten beim Lesen voneinander abheben. */
.ucs{margin-top:56px}
.uc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;padding:64px 0;border-top:1px solid var(--line)}
.uc.flip>.spec{order:-1}
.uc .kind{display:flex;align-items:center;gap:10px;margin-bottom:14px;font-size:14px;font-weight:600;color:var(--blue)}
.uc .kind svg{width:22px;height:22px}
.uc h3{font-size:clamp(24px,2.4vw,30px);line-height:1.2;letter-spacing:-.015em}
.uc>div>p{margin-top:14px;font-size:17px}
.uc-facts{margin:24px 0 0;border-top:1px solid var(--line)}
.uc-facts div{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}
.uc-facts dt{font-weight:600;color:var(--ink)}
.uc-facts dd{margin:0}
/* Ein Wert statt eines Status, etwa ein Preis oder eine Anzahl */
.res .val{flex-shrink:0;font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap}
.uc-more{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding:28px 30px;border-radius:12px;background:#fff;border:1px solid var(--blue-line)}
.uc-more h3{font-size:20px}
.uc-more>div{flex:1;min-width:260px;max-width:760px}
.uc-more p{margin-top:4px;font-size:16px}
.branches.b3{grid-template-columns:repeat(3,1fr)}

/* ---------- Gründe und Kacheln ---------- */
.why3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:56px}
.wt{padding:28px 26px;border-radius:12px;background:#fff;border:1px solid var(--line)}
.wt .wi{color:var(--blue);margin-bottom:16px}
.wt .wi svg{width:26px;height:26px}
.wt p{margin-top:8px;font-size:16px}

/* ---------- Integration: links was hereinkommt, in der Mitte Arkven, rechts wohin es geht ---------- */
.intg{display:grid;grid-template-columns:minmax(0,1fr) 240px minmax(0,1fr);gap:40px;align-items:center;margin-top:56px}
.side-col{display:grid;gap:10px}
.col-lbl{font-size:13px;font-weight:600;color:var(--muted);margin-bottom:2px}
.it{display:flex;align-items:center;gap:14px;padding:13px 16px;border-radius:10px;background:#fff;border:1px solid var(--line)}
.it b{display:block;font-size:15.5px;color:var(--ink);font-weight:600}
.it small{display:block;font-size:13.5px;color:var(--muted);line-height:1.45}
.ii{color:var(--blue);flex-shrink:0;display:grid}
.ii svg{width:22px;height:22px}
.core-card{padding:26px 22px;border-radius:12px;text-align:center;color:#c9d6f2;background:var(--navy)}
.core-card .mk{width:44px;height:44px;display:block;margin:0 auto 12px}
.core-card b{display:block;font-size:20px;color:#fff;font-weight:600}
.core-card>span{font-size:13.5px}
.core-card ul{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:6px;font-size:14px}
.core-card li{padding:7px 10px;border-radius:6px;border:1px solid var(--night-line);color:#fff}
.core-card li:last-child{background:#fff;color:var(--ink);font-weight:600;border-color:#fff}
.intg-note{margin-top:36px;font-size:16px;color:var(--ink)}
.big{margin-top:18px;font-size:18px}

/* ---------- Plattform: zwei Karten für Agenten und Dashboards, je drei Beispiele; im Einstieg ein Chat ---------- */
.build2{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:56px}
.card{display:flex;flex-direction:column;border-radius:12px;background:#fff;border:1px solid var(--line);overflow:hidden}
.card .ct{padding:26px 26px 0}
.card h3{margin:6px 0 8px}
.card p{font-size:15.5px}
.card .cv{margin:22px 18px 18px;padding:16px;border-radius:8px;background:var(--pale);flex:1;display:flex;flex-direction:column;gap:10px;font-size:14px}
.bubble{padding:10px 12px;border-radius:8px;background:var(--ink);color:#fff;margin-left:24px}
.bubble.a{margin:0 24px 0 0;background:#fff;color:var(--ink);border:1px solid var(--line)}
.bubble.a b{display:block;font-size:12px;color:var(--blue);margin-bottom:2px}
.bubble.a .go{display:inline-block;margin-top:10px;font-size:13px;padding:5px 11px}
.ex{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;background:#fff;border:1px solid var(--line);font-size:15px;color:var(--ink)}
.ex svg{width:18px;height:18px;color:var(--blue);flex-shrink:0}
.chat{display:flex;flex-direction:column;gap:10px;margin-top:16px;font-size:15px}
.how.steps3{grid-template-columns:repeat(3,1fr)}
.how.steps4{grid-template-columns:repeat(4,1fr)}

/* ---------- Sicherheit, dunkel ---------- */
.dark{background:var(--navy);color:#b3c1d6}
.dark h2,.dark h4{color:#fff}
.dark .eyebrow{color:#9fbcf5}
.dark .head p{color:#b3c1d6}
/* Der Eisberg: über dem Wasser Ihre Lösung, darunter alles, was sie sicher macht */
.icesplit{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center;margin-top:56px}
.ice{width:100%;height:auto;display:block;overflow:visible}
.ice .sea{fill:#fff;fill-opacity:.04}
.ice .wl{fill:none;stroke:#9fbcf5;stroke-width:1.5}
.ice .top{fill:#fff}
.ice .deep{fill:#1d4fb8}
.ice .lbl{font:600 15px Geist,sans-serif;fill:#e6edfa}
.ice .lbl tspan.dim{fill:#8fa6cf;font-weight:500}
.ice .chipt{font:600 16px Geist,sans-serif;fill:#0b1a33}
.control{display:grid;gap:12px}
.control div{padding:20px 22px;border-radius:10px;border:1px solid var(--night-line)}
.control b{display:block;font-size:18px;color:#fff;font-weight:600}
.control span{display:block;margin-top:4px;font-size:15px}
.control.cols3{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:48px}
.dark .more{margin-top:28px}
.dark .more a{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.dark .more a svg{width:16px;height:16px}

/* ---------- Häufige Fragen ---------- */
.faq-wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:start}
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;font-size:16.5px;font-weight:600;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex-shrink:0;font-size:22px;font-weight:400;color:var(--muted);line-height:1}
.faq details[open] summary::after{content:"−"}
.faq details p{margin:0;padding:0 0 20px;font-size:15.5px;max-width:640px}

/* ---------- Abschluss mit Kontaktformular ---------- */
.final{padding:104px 0}
.final-box{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:start}
.final-box p{margin-top:18px;font-size:18px}
/* Hinweis auf die Plattform: eine Zeile über dem Kontaktformular */
.plat-note{margin-bottom:56px;padding-bottom:28px;border-bottom:1px solid var(--line);font-size:17px;color:var(--ink)}
.plat-note a{display:inline-flex;align-items:center;gap:6px;margin-left:6px;color:var(--blue);font-weight:600}
.plat-note a svg{width:16px;height:16px}
.lead-form{display:grid;gap:16px;padding:28px;border-radius:12px;border:1px solid var(--line);background:#fff}
.lead-form .f2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.lead-form label{display:grid;gap:6px;font-size:14px;font-weight:600;color:var(--ink)}
.lead-form label small{font-weight:400;color:var(--muted)}
.lead-form input,.lead-form select,.lead-form textarea{font:inherit;font-size:16px;font-weight:400;color:var(--ink);width:100%;padding:11px 13px;border-radius:7px;border:1px solid #cfd7e3;background:#fff}
.lead-form textarea{resize:vertical;min-height:110px;line-height:1.55}
.lead-form input:focus,.lead-form select:focus,.lead-form textarea:focus{outline:none;border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.lead-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.lead-form .send{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-top:4px}
.lead-form .send span{flex:1;min-width:220px;font-size:13px;color:var(--muted);line-height:1.5}
.lead-form .send a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.lead-form button:disabled{opacity:.6;cursor:wait}
.lead-form .status{margin:0;font-size:15px;font-weight:500;min-height:1px}
.lead-form .status.good{color:var(--ok)} .lead-form .status.bad{color:var(--stop)}
.lead-form.done label,.lead-form.done .send{display:none}
.lead-form.done .status{font-size:18px;padding:24px 0}
.back{padding:0 0 88px}
.back p{font-size:17px;color:var(--ink)}
.back a{display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-weight:600;margin-left:6px}
.back a svg{width:16px;height:16px}

/* ---------- Rechtliche Seiten ---------- */
.legal-hero{padding:72px 0 56px;border-bottom:1px solid var(--line)}
.legal-hero .wrap{max-width:820px}
.legal-hero h1{font-size:clamp(34px,4.4vw,48px);margin-top:4px}
.legal-hero p{max-width:640px;margin-top:16px;font-size:18px}
.pill{display:block;font-size:14px;font-weight:600;color:var(--blue)}
.pill i{display:none}
.legal{max-width:820px;margin:0 auto;padding:64px 24px 112px}
.legal .facts{display:grid;grid-template-columns:1fr 1fr;gap:28px 40px;padding:28px;border-radius:12px;background:var(--pale);border:1px solid var(--line);margin-bottom:48px}
.legal .facts h2{font-size:13px;font-weight:600;color:var(--muted);margin:0 0 10px;letter-spacing:0}
.legal .facts p{margin:0;font-size:15.5px;line-height:1.7}
.legal .facts b{color:var(--ink);font-size:17px}
.legal section.part{padding:32px 0;border-top:1px solid var(--line)}
.legal section.part:first-of-type{border-top:0;padding-top:0}
.legal .part h2{display:flex;align-items:center;gap:14px;font-size:20px;letter-spacing:-.01em;margin:0}
.legal .part h2 .n{font-size:15px;font-weight:600;color:var(--muted);min-width:22px}
.legal .part .body{margin-top:12px;font-size:15.5px;line-height:1.75;display:grid;gap:12px}
.legal .part.numbered .body{padding-left:36px}
.legal ul{margin:0;padding-left:20px;display:grid;gap:6px}
.legal a{color:var(--blue);font-weight:500}
.legal a:hover{text-decoration:underline}
.legal .box{padding:16px 18px;border-radius:8px;background:var(--pale);border:1px solid var(--line)}
.legal .stand{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}

footer{border-top:1px solid var(--line);padding:56px 0 32px;font-size:14.5px;background:var(--pale)}
.fcols{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:32px}
.fcols p{margin-top:14px;max-width:300px}
.fcols .fh{margin:0 0 14px;font-size:13px;font-weight:600;color:var(--ink)}
.fcols ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.fcols a:hover{color:var(--blue)}
.fbase{margin-top:44px;padding-top:22px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13.5px;color:var(--muted)}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width:1000px){
  section,.final{padding:80px 0}
  .links{display:none}
  .menu{display:grid}
  .nav .btn{margin-left:auto}
  .nav.open .links{display:flex;position:absolute;top:68px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:4px 16px 12px;background:#fff;border-bottom:1px solid var(--line)}
  .nav.open .links>a,.nav.open .dd>button{padding:14px 8px;border-bottom:1px solid var(--line);font-size:16px;width:100%}
  .nav.open .links>a:last-child{border-bottom:0}
  .nav.open .links .right{margin-left:0}
  .nav.open .dd>button svg{display:none}
  .nav.open .dd-menu{display:block;position:static;padding:0}
  .nav.open .dd-box{border:0;border-radius:0;padding:0 0 0 16px;min-width:0}
  .nav.open .dd-box a{padding:12px 8px;border-bottom:1px solid var(--line);border-radius:0;font-size:16px}
  .hero-grid,.faq-wrap,.final-box{grid-template-columns:minmax(0,1fr);gap:40px}
  .how,.how.steps3,.how.steps4{grid-template-columns:1fr 1fr;gap:28px 24px}
  .why3,.build2,.icesplit,.branches,.branches.b3,.cases,.control.cols3{grid-template-columns:1fr}
  .case,.cases.five .case{display:flex;flex-direction:column;grid-row:auto}
  .uc{grid-template-columns:minmax(0,1fr);gap:32px;padding:48px 0}
  .uc.flip>.spec{order:0}
  .intg{grid-template-columns:1fr;gap:24px}
  .core-card{max-width:320px;width:100%}
  .fcols{grid-template-columns:1fr 1fr}
  .fcols>div:first-child{grid-column:1/-1}
}
@media (max-width:640px){
  .wrap{padding:0 16px}
  body{font-size:16px}
  section,.final{padding:64px 0}
  .hero{padding:40px 0 64px}
  /* Lange deutsche Wörter wie „Lieferantendokumente“ passen sonst nicht in die Breite */
  h1{font-size:clamp(28px,8vw,38px)}
  h2{font-size:clamp(25px,7vw,30px)}
  .hero .lead{font-size:17px}
  .ctas{flex-direction:column;align-items:stretch}
  .ctas .btn{justify-content:center}
  .nav .btn{height:38px;padding:0 12px;font-size:14px}
  .nav .wrap{gap:12px}
  .how,.how.steps3,.how.steps4{grid-template-columns:1fr}
  .uc-facts div{grid-template-columns:1fr;gap:2px}
  .uc-more{padding:22px 20px}
  .spec{padding:16px}
  .res{font-size:14.5px}
  .lead-form{padding:20px}
  .lead-form .f2{grid-template-columns:1fr}
  .fcols{grid-template-columns:1fr}
  .legal .facts{grid-template-columns:1fr;padding:22px}
  .legal .part.numbered .body{padding-left:0}
  .legal{padding:48px 16px 80px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Kette der Agenten in der Reihenfolge, in der die Ware durch den Betrieb läuft. Auf der Startseite springt jede
   Zeile zum Abschnitt des Agenten, sonst auf seine Seite; die Linie zwischen den Nummern zeigt die Kette. */
.chain{margin:4px 0 0;padding:0;list-style:none}
.chain li{position:relative}
.chain li::before{content:"";position:absolute;left:14px;top:0;bottom:0;width:2px;background:var(--blue-line)}
.chain li:first-child::before{top:50%}
.chain li:last-child::before{bottom:50%}
.chain a{display:flex;align-items:center;gap:14px;padding:11px 0;color:var(--ink)}
.chain b{position:relative;display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-size:13px;font-weight:600}
.chain span{flex:1;min-width:0;font-size:15.5px;font-weight:600;line-height:1.35}
.chain small{display:block;margin-top:2px;font-size:13.5px;font-weight:400;color:var(--muted)}
.chain a:hover span{color:var(--blue)}
.chain a:hover b{background:var(--blue);color:#fff}
/* Am Ende der Kette ein gestrichelter Platz, der nach unten ausblendet: es gibt mehr Agenten als die sechs gezeigten,
   wie in der Präsentation. Muss nach li:last-child stehen, sonst endet die Linie in der Mitte. */
.chain li.more{padding-bottom:18px;-webkit-mask-image:linear-gradient(#000 50%,transparent);mask-image:linear-gradient(#000 50%,transparent)}
.chain li.more::before{bottom:0;width:0;background:none;border-left:2px dashed var(--blue-line)}
.chain li.more b{background:#fff;border:2px dashed var(--blue-line)}
.chain li.more span{font-weight:500;color:var(--muted)}
.chain li.more a:hover b{background:var(--blue-soft)}

/* Wirkung im Abschnitt der Agenten: drei Kacheln zwischen Einleitung und Leiste */
.uc-goals{margin-top:40px}

/* Systembrüche vor den Agenten: vier Systeme in einer Reihe, dazwischen je die Stelle, an der heute ein Mitarbeiter
   Daten von Hand überträgt. Die gestrichelte Linie zeigt, dass zwischen den Systemen keine Verbindung besteht. */
#systembrueche{padding:24px 0 96px}
.breaks{margin:0}
.breaks h2{margin-bottom:12px}
.br-row{display:flex;align-items:center;margin:22px 0 0;padding:0 0 34px;list-style:none}
.br-row .sys{flex:0 0 auto;display:flex;align-items:center;gap:12px;padding:16px 22px 16px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:17px;font-weight:600;color:var(--ink)}
.br-row .si{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--blue-soft);color:var(--blue)}
.br-row .si svg{width:20px;height:20px}
.br-row .gap{position:relative;flex:1;display:flex;justify-content:center;min-width:0}
.br-row .gap::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:2px dashed var(--line)}
.br-row .hand{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--muted)}
.br-row .hand svg{width:18px;height:18px}
.br-row .gap small{position:absolute;top:46px;left:0;right:0;font-size:13px;line-height:1.3;color:var(--muted);text-align:center}
.breaks figcaption{max-width:820px;margin-top:8px;font-size:18px}
/* Schmal untereinander: die Linie läuft senkrecht durch die Mitte der Symbole */
@media (max-width:1000px){
  .br-row{flex-direction:column;align-items:stretch;max-width:420px;padding-bottom:0}
  .br-row .gap{justify-content:flex-start;align-items:center;gap:12px;padding:14px 0 14px 16px}
  .br-row .gap::before{left:34px;right:auto;top:0;bottom:0;border-top:0;border-left:2px dashed var(--line)}
  .br-row .gap small{position:static;text-align:left}
  .breaks figcaption{margin-top:28px}
}

/* Seite je Agent: Einstieg mit Text, Arbeitsteilung und Ergebnis wie auf der Startseite, unten die Kette mit dem
   eigenen Agenten markiert. Die Startseite verlinkt je Agent hierher, eine Seite je Suchbegriff. */
.uc-link{display:inline-flex;align-items:center;gap:8px;margin-top:20px;color:var(--blue);font-weight:600;font-size:15.5px}
.uc-link svg{width:16px;height:16px}
.uc-link:hover{text-decoration:underline;text-underline-offset:4px}
.agent-ctas{margin-top:28px}
.agent-chain{max-width:640px;margin-top:40px}
.chain a[aria-current] span{color:var(--blue)}
.chain a[aria-current] b{background:var(--blue);color:#fff}

/* Seite für unbekannte Adressen */
.notfound{padding:120px 0 140px}
.notfound .lead{max-width:560px;margin:22px 0 32px}

/* Ratgeber: eine Anleitung in schmaler Spalte, am Ende der passende Agent. Die Zeile über der H1 führt zur Übersicht. */
.post-hero{padding:72px 0 8px}
.post-hero .wrap,.post .wrap{max-width:808px}
.post-hero .lead{margin-top:22px;font-size:19px}
.eyebrow a{color:inherit}
.eyebrow a:hover{text-decoration:underline;text-underline-offset:4px}
.post{padding:32px 0 96px}
.post h2{margin-top:48px;font-size:clamp(22px,2.4vw,27px)}
.post p{margin-top:14px;font-size:17px}
.post ol,.post ul{display:grid;gap:10px;margin:18px 0 0;padding-left:22px;font-size:17px}
.post li b{color:var(--ink)}
.post .uc-more{margin-top:56px;background:var(--pale)}
.post-list{padding:48px 0 104px}
.post-list .branches{margin-top:0}
.post-list .branch .eyebrow{margin-bottom:8px}
.post-list .branch h2{font-size:20px;line-height:1.3;letter-spacing:-.01em}
.rel{margin-top:14px;font-size:16px}
.rel a{color:var(--blue);font-weight:600}
.rel a:hover{text-decoration:underline;text-underline-offset:4px}
