/* Neue Bereiche: App-Mockup im Hero, Leiter-/Sprachagent, Zusammenspiel-Grafik, OrgaMind-Abschnitt. */

/* ---------- Hero: Nachbau der App-Oberfläche ---------- */
.workspace{container-type:inline-size;overflow:hidden}
.window-bar .url{font-weight:400;font-size:10px;color:#c4d0df;background:#ffffff14;border-radius:5px;padding:2px 12px}
.app{font-size:clamp(7px,1.72cqw,11.5px);color:#334456;background:#fff}
.app-top{display:flex;justify-content:space-between;align-items:center;padding:.95em 1.3em;border-bottom:1px solid #e3e9ef}
.app-menu{display:flex;align-items:center;gap:.7em;font-weight:500;color:#1e3b5e}
.app-menu i{position:relative;width:1.4em;height:1em;border-block:.16em solid currentColor}
.app-menu i:after{content:"";position:absolute;left:0;right:0;top:50%;height:.16em;margin-top:-.08em;background:currentColor}
.app-brand{font-weight:700;color:#1e3b5e;font-size:1.3em;letter-spacing:-.02em}
.app-brand b{color:var(--teal-dark);font-weight:700}
.app-grid{display:grid;grid-template-columns:25% 1fr;min-height:33em}
.app-side{background:#fbfcfd;border-right:1px solid #e3e9ef;padding:1em .75em}
.app-user{display:flex;gap:.7em;align-items:flex-start;padding:.3em .5em 1em;border-bottom:1px solid #e3e9ef;margin-bottom:.8em;color:#1e3b5e}
.app-user b{display:block;font-weight:500;font-size:.98em}
.app-user small{display:block;color:#7b8999;font-size:.78em}
.app-side ul{list-style:none;margin:0;padding:0}
.app-side li{display:flex;align-items:center;gap:.8em;padding:.7em .7em;margin:.12em 0;border-radius:.55em;color:#4a5a6b;font-size:.95em;white-space:nowrap}
.app-side li.on{background:#d3dfe7;box-shadow:inset .26em 0 0 #1f7f8c;color:#1e3b5e;font-weight:500}
.ico{width:1.45em;height:1.45em;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.app-main{background:#f4f7fa;padding:1.5em 1.7em;min-width:0}
.app-title{display:flex;align-items:center;gap:.7em}
.app-title h2{font-size:2em;font-weight:650;letter-spacing:-.025em;color:#1e3b5e}
.info{display:grid;place-items:center;width:1.5em;height:1.5em;border:.1em solid #1e3b5e;border-radius:50%;font-size:.8em;font-weight:700;color:#1e3b5e}
.app-sub{margin:.5em 0 1.2em;font-size:1em;color:#5b6b7c}
.app-panel{background:#fff;border:1px solid #dfe6ed;border-radius:.9em;padding:.9em}
.app-post{border:1px solid #dfe6ed;border-radius:.8em;padding:1.2em 1.3em;margin-bottom:.8em;background:#fff}
.app-post:last-child{margin-bottom:0}
.app-post h3{font-size:1.22em;line-height:1.3;color:#1e3b5e;font-weight:650;margin:0 0 .65em}
.app-post p{font-size:.93em;line-height:1.6;color:#41536a;max-width:none}
.app-post .targets{margin-top:.9em;font-size:1em;color:#334456}
.app-actions{display:flex;flex-wrap:wrap;margin-top:1em;font-size:.88em}
.app-actions span{border:1px solid #dfe6ed;padding:.6em .95em;background:#fff;color:#334456;margin-right:-1px}
.app-actions .ok{background:#e4f4ea;color:#2f8f57}
.app-actions .back{background:#dfe6ee}
.app-post:first-child{animation:rise .9s var(--ease) 1s both}
.app-post:last-child{animation:rise .9s var(--ease) 1.35s both}
.app-actions .ok{animation:ok-ring 2.8s ease-out 2.4s infinite}
@keyframes ok-ring{0%{box-shadow:0 0 0 0 #2f8f5766}70%,100%{box-shadow:0 0 0 .7em #2f8f5700}}

/* ---------- Team: Leiter-Agent, Sprachagent ---------- */
.lead-agent{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;background:linear-gradient(130deg,#132840,#1e476b);border-radius:22px;padding:46px 48px;margin-bottom:22px;position:relative;overflow:hidden}
.lead-agent:after{content:"";position:absolute;right:-90px;top:-90px;width:300px;height:300px;border-radius:50%;border:42px solid #00b3a41f}
.lead-badge{display:inline-block;font-size:11px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase;color:#8aeee3;border:1px solid #00b3a455;background:#00b3a419;border-radius:30px;padding:5px 13px;margin-bottom:20px}
.lead-agent h3{color:#fff;font-size:clamp(26px,2.8vw,36px);letter-spacing:-1px;margin-bottom:16px}
.lead-agent p{color:#d1dce9;font-size:16px;line-height:1.75}
.lead-list{list-style:none;margin:0;padding:0;position:relative;z-index:1}
.lead-list li{display:flex;gap:18px;padding:18px 0;border-top:1px solid #ffffff22}
.lead-list li:first-child{border-top:0;padding-top:0}
.lead-list li:last-child{padding-bottom:0}
.lead-list li>span{font-size:12px;color:#5ed9cb;padding-top:4px;font-weight:650}
.lead-list strong{display:block;color:#fff;font-size:18px;margin-bottom:4px}
.lead-list p{color:#bccbde;font-size:14px;line-height:1.6;margin:0}
.role-extra{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:18px}
.role-extra .role{display:grid;grid-template-columns:auto 1fr;column-gap:22px;align-items:start}
.role-extra .role-top{grid-row:1/5;flex-direction:column;align-items:flex-start;gap:14px;margin:0}
.role-extra h3,.role-extra .role-caption,.role-extra p{grid-column:2}
.role-extra p{margin-top:12px}
.role.planned{background:transparent;border-style:dashed;border-color:#b9c7d8}
.role.planned .role-symbol{background:transparent;border:1px dashed #8aa;color:var(--muted)}
.ico-lg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Zusammenspiel-Grafik ---------- */
.flow-section{background:var(--dark);padding:100px 0 96px;position:relative;overflow:hidden}
.section-heading.light h2{color:#fff}
.section-heading.light p{color:#becde0}
.flow{margin:0;border:1px solid #ffffff1f;border-radius:24px;padding:32px 32px 22px;background-color:#0e2236;background-image:radial-gradient(#ffffff10 1px,transparent 1px);background-size:24px 24px;box-shadow:0 40px 90px #0614268c}
.flow-svg{display:block;width:100%;height:auto}
.flow-svg text{font-family:inherit}
.flow .node rect{fill:#162f4b;stroke:#35638f;stroke-width:1.2}
.flow .node .glyph{fill:none;stroke:#4fd1c3;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.flow .node .t{fill:#fff;font-size:17px;font-weight:650}
.flow .node .t.big{font-size:21px}
.flow .node .s{fill:#a9bdd3;font-size:12.5px}
.flow .node.lead rect{fill:#113a55;stroke:#4fd1c3;stroke-width:1.7}
.flow .node.human rect{fill:#3b2c12;stroke:#f2b45a;stroke-width:1.5}
.flow .node.human .glyph{stroke:#f2b45a}
.flow .node.human .s{fill:#ecd3a3}
.flow .node.planned rect{fill:#0f2a42;stroke:#8fa6bf;stroke-dasharray:6 5}
.flow .node.planned .glyph{stroke:#8fa6bf}
.flow .node .tag{fill:#f2b45a;font-size:10.5px;letter-spacing:1.5px;font-weight:700}
.flow .node.channel circle{fill:#1d4f7a}
.flow .node .c{fill:#fff;font-size:13px;font-weight:700;text-anchor:middle}
.flow .group{fill:#ffffff07;stroke:#4fd1c370;stroke-width:1.2;stroke-dasharray:3 6}
.flow .group-label{fill:#4fd1c3;font-size:11px;letter-spacing:2.2px;font-weight:700}
.flow .wire{fill:none;stroke:#4fd1c3;stroke-width:1.8;opacity:.9}
.flow .wire.amber{stroke:#f2b45a}
.flow .wire.thin{stroke-width:1.3;opacity:.7}
.flow .wire.planned{stroke:#8fa6bf;stroke-width:1.4;stroke-dasharray:5 6}
.flow .wire.feedback{stroke:#f2b45a}
.flow .flow-path{stroke-dasharray:7 9;animation:flow-dash 1.4s linear infinite}
@keyframes flow-dash{to{stroke-dashoffset:-32}}
.flow .pill rect{fill:#3b2c12;stroke:#f2b45a;stroke-width:1.2}
.flow .pill text{fill:#f6d79b;font-size:13px;font-weight:600;text-anchor:middle}
.flow .wire-label{fill:#8fa6bf;font-size:12px}
.flow-legend{display:flex;flex-wrap:wrap;gap:10px 26px;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid #ffffff1a;font-size:13px;color:#b6c6d9}
.flow-legend span{display:inline-flex;align-items:center;gap:9px}
.flow-legend i{display:inline-block;width:26px;height:0;border-top:2px solid #4fd1c3}
.flow-legend .k-human{border-color:#f2b45a}
.flow-legend .k-planned{border-top-style:dashed;border-color:#8fa6bf}
.flow-legend .flow-note{margin-left:auto;font-size:12px;font-style:italic;color:#8fa6bf}
.flow-mobile{display:none;list-style:none;margin:0;padding:6px 0 0}
.flow-mobile li{position:relative;margin-left:10px;padding:0 0 22px 28px;border-left:2px solid #4fd1c344}
.flow-mobile li:last-child{padding-bottom:6px;border-left-color:transparent}
.flow-mobile li:before{content:"";position:absolute;left:-7px;top:3px;width:12px;height:12px;border-radius:50%;background:#4fd1c3}
.flow-mobile li.human:before{background:#f2b45a}
.flow-mobile li.lead:before{background:#0e2236;border:2px solid #4fd1c3}
.flow-mobile li.planned:before{background:#0e2236;border:2px dashed #8fa6bf}
.flow-mobile b{display:block;color:#fff;font-size:16px}
.flow-mobile span{display:block;color:#a9bdd3;font-size:14px;line-height:1.55;margin-top:2px}

/* ---------- OrgaMind-Abschnitt ---------- */
.orgamind-section{background:var(--light);border-top:1px solid #e9eef4}
.om-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.om-copy h2{margin-bottom:20px}
.om-copy p{margin-bottom:16px;font-size:16px;line-height:1.75}
.om-status{display:flex;gap:11px;align-items:flex-start;background:#fff6e3;border:1px solid #f0d9a8;border-radius:10px;padding:13px 16px;font-size:14px!important;line-height:1.6!important;color:#6b4a0c!important}
.om-status strong{color:#5a3d08}
.dot-amber{flex:none;width:8px;height:8px;margin-top:8px;border-radius:50%;background:#d58217}
.om-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:22px 0 26px;padding:0}
.om-chips li{background:#fff;border:1px solid var(--border);border-radius:30px;padding:6px 14px;font-size:12.5px;font-weight:600;color:var(--navy)}
.voice-panel{margin:0;background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:0 30px 70px #1e3b5e1a}
.voice-head{display:flex;align-items:center;gap:14px;padding:16px 20px;background:var(--dark);color:#fff}
.voice-head strong{display:block;font-size:15px}
.voice-head small{display:block;color:#9fb4cc;font-size:12px}
.voice-mic{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#00b3a426;color:#5ed9cb}
.voice-mic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.voice-tag{margin-left:auto;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;border:1px solid #ffffff44;border-radius:4px;padding:3px 8px;color:#c4d0df}
.voice-body{display:flex;flex-direction:column;gap:14px;padding:24px 20px;background:#f7f9fc}
.bubble{max-width:88%;padding:13px 17px;border-radius:16px;font-size:14.5px;line-height:1.6}
.bubble .who{display:block;margin-bottom:3px;font-size:10px;font-weight:750;letter-spacing:1.3px;text-transform:uppercase;opacity:.7}
.bubble.you{align-self:flex-end;background:var(--navy);color:#fff;border-bottom-right-radius:4px}
.bubble.agent{align-self:flex-start;background:#fff;border:1px solid var(--border);border-bottom-left-radius:4px;color:var(--ink)}
.bubble.agent b{color:var(--navy)}
.voice-panel figcaption{padding:12px 20px;border-top:1px solid var(--border);font-size:11px;font-style:italic;color:var(--muted)}
.om-ideas{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:68px}
.om-ideas article{border-top:2px solid var(--navy);padding-top:18px}
.om-ideas h3{font-size:18px;margin-bottom:10px}
.om-ideas p{font-size:14px;line-height:1.7}
.om-principles{display:grid;grid-template-columns:.7fr 1.3fr;gap:32px;align-items:start;margin-top:52px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:28px 32px}
.om-principles strong{color:var(--navy);font-size:17px;line-height:1.4}
.om-principles ul{margin:0;padding-left:18px}
.om-principles li{font-size:14px;line-height:1.7;color:var(--muted);margin:4px 0}

/* ---------- Responsiv ---------- */
@media(max-width:1100px){
  .lead-agent{gap:36px;padding:38px}
  .om-grid{gap:44px}
  .om-ideas{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .lead-agent{grid-template-columns:1fr;gap:28px}
  .role-extra{grid-template-columns:1fr}
  .flow{padding:24px 22px 18px}
  .flow-svg{display:none}
  .flow-mobile{display:block}
  .flow-legend .flow-note{margin-left:0;width:100%}
  .om-grid,.om-principles{grid-template-columns:1fr}
  .om-grid{gap:36px}
  .flow-section{padding:76px 0}
}
@media(max-width:560px){
  .lead-agent{padding:28px 22px;border-radius:18px}
  .lead-list strong{font-size:16px}
  .role-extra .role{grid-template-columns:1fr}
  .role-extra .role-top{grid-row:auto;flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:18px}
  .role-extra h3,.role-extra .role-caption,.role-extra p{grid-column:1}
  .om-ideas{grid-template-columns:1fr;margin-top:48px}
  .om-principles{padding:22px}
  .bubble{max-width:94%}
  .app-side li{padding:.55em .5em}
}
@media(prefers-reduced-motion:reduce){
  .app-post:first-child,.app-post:last-child{animation:none}
}

/* ---------- Popup für OrgaMind.me ---------- */
.om-popup{width:min(1320px,96vw);height:min(940px,94dvh);max-width:96vw;max-height:94dvh;padding:0;border:0;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 40px 120px #06162799}
.om-popup[open]{display:flex;flex-direction:column;animation:popup-in .45s var(--ease) both}
.om-popup::backdrop{background:#07192ae6;backdrop-filter:blur(6px)}
.om-popup-bar{display:flex;align-items:center;gap:18px;padding:12px 18px;background:var(--dark);color:#fff}
.om-popup-bar h2{margin:0;font-size:16px;letter-spacing:-.2px;color:#fff;font-weight:650}
.om-popup-external{margin-left:auto;font-size:13px;color:#8aeee3;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.om-popup-external:hover{color:#fff}
.om-popup-close{border:1px solid #ffffff55;background:transparent;color:#fff;border-radius:7px;padding:7px 14px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .2s}
.om-popup-close:hover{background:#ffffff1f}
.om-popup-body{position:relative;flex:1;min-height:0;background:#f5f8fc}
.om-popup-body iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff;transition:opacity .4s}
.om-popup-loading{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:var(--muted);font-size:14px}
.om-popup.is-loading iframe{opacity:0}
body:has(.om-popup[open]){overflow:hidden}
@keyframes popup-in{from{opacity:0;transform:translateY(24px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:700px){
  .om-popup{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border-radius:0}
  .om-popup-bar{gap:10px;padding:10px 12px}
  .om-popup-bar h2{font-size:14px}
  .om-popup-external{font-size:12px}
}

/* Popup: weiches Ein- und Ausblenden */
.om-popup[open]::backdrop{animation:backdrop-in .4s ease both}
.om-popup.is-closing{animation:popup-out .28s cubic-bezier(.4,0,1,1) both}
.om-popup.is-closing::backdrop{animation:backdrop-out .28s ease both}
.om-popup-body iframe{opacity:1}
@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes backdrop-out{from{opacity:1}to{opacity:0}}
@keyframes popup-out{from{opacity:1;transform:none}to{opacity:0;transform:translateY(18px) scale(.985)}}
