/* Seite Sicherheit / Architektur (Picosegmentierung) */
.hero-layout.single { grid-template-columns: 1fr; }
#idee .sec-box, #idea .sec-box, #grenzen .sec-box, #limits .sec-box { max-width: none; margin: 0; border-radius: 20px; padding: 32px 40px; }
.sec-box p + p { margin-top: 12px; }
.sec-table td:first-child { font-weight: 700; color: var(--c-text); white-space: nowrap; }
.sec-table td, .sec-table th { text-align: left !important; }
.sec-table tr.sec-pico td { background: rgba(0, 113, 227, 0.07); color: var(--c-text); font-weight: 600; }
.sec-table tr.sec-pico td:first-child { color: var(--c-accent-dark, #1268e6); }
.sec-caption { caption-side: top; text-align: center; padding: 18px 12px 14px; font-size: 20px; font-weight: 700; color: var(--c-text); }
.sec-note { max-width: 900px; margin: 16px auto 0; text-align: center; font-size: 14px; color: var(--c-text-soft); }
.sec-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sec-card { position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: 20px; padding: 30px 28px 28px; box-shadow: 0 10px 36px var(--c-shadow); }
.sec-card h3 { margin: 14px 0 10px; font-size: 19px; line-height: 1.3; color: var(--c-text); }
.sec-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-text-soft); }
.sec-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-accent, #2f69c1); color: #fff; font-weight: 800; font-size: 17px; }
@media (max-width: 960px) { .sec-cards { grid-template-columns: 1fr; } }
@media (max-width: 760px) { #idee .sec-box, #idea .sec-box, #grenzen .sec-box, #limits .sec-box { padding: 24px 20px; } }
/* Ebenen-Tabelle: Pico-Markierung */
.sec-tag { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--c-accent, #0071e3); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 1px; }
/* PHP-Beispiel */
#php .sec-box { max-width: none; margin: 0 0 22px; border-radius: 20px; padding: 32px 40px; }
#php .sec-box.sec-after { margin: 22px 0 0; }
.sec-php td { vertical-align: top; font-size: 14px; line-height: 1.55; }
.sec-php td:first-child { width: 16%; }
.sec-php td:nth-child(2), .sec-php td:nth-child(3) { width: 42%; }
.sec-php td:nth-child(3) { color: var(--c-text); }
.sec-php code, #php .sec-box code { font-size: 0.92em; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, 0.05); white-space: nowrap; }
@media (max-width: 760px) { #php .sec-box { padding: 24px 20px; } }
/* Abschnitt Daten */
#daten .sec-box, #data .sec-box { max-width: none; margin: 0; border-radius: 20px; padding: 32px 40px; border-left: 4px solid var(--c-accent, #0071e3); }
#daten .sec-box p + p, #data .sec-box p + p { margin-top: 12px; }
@media (max-width: 760px) { #daten .sec-box, #data .sec-box { padding: 24px 20px; } }
/* Abschnitt bestehender Code */
#nachruesten .sec-box, #retrofit .sec-box { max-width: none; margin: 0; border-radius: 20px; padding: 32px 40px; border-left: 4px solid var(--c-green, #0a7f32); }
#nachruesten .sec-box p + p, #retrofit .sec-box p + p { margin-top: 12px; }
@media (max-width: 760px) { #nachruesten .sec-box, #retrofit .sec-box { padding: 24px 20px; } }
/* Vergleich Mikro/Pico und Leitsatz */
.sec-cmp-wrap { margin-top: 22px; }
.sec-cmp td { text-align: left; }
.sec-cmp td:nth-child(3) { color: var(--c-text); font-weight: 600; background: rgba(0, 113, 227, 0.05); }
.sec-claim { margin: 34px auto 26px; text-align: center; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--c-text); }
#idee .sec-box + .sec-cmp-wrap, #idea .sec-box + .sec-cmp-wrap { margin-top: 22px; }
/* Screenshot aus der App */
.sec-shot { max-width: 900px; margin: 26px auto 0; background: #fff; border: 1px solid var(--c-border); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 36px var(--c-shadow); }
.sec-shot img { display: block; width: 100%; height: auto; }
.sec-shot figcaption { padding: 14px 18px; font-size: 14px; color: var(--c-text-soft); border-top: 1px solid var(--c-border); }
/* Belege im Hero */
.sec-proofs { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.sec-proofs li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.86); font-size: 14px; line-height: 1.35; }
.sec-proofs li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #34c759 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.sec-proofs strong { color: #fff; }
/* Diagramm Mikro / Nano / Pico */
.sec-dg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.sec-dg-panel { background: #fff; border: 1px solid var(--c-border); border-radius: 20px; box-shadow: 0 10px 36px var(--c-shadow); padding: 6px; }
.sec-dg-panel.sec-dg-pico { border: 2px solid var(--c-accent, #0071e3); }
.sec-dg-svg { display: block; width: 100%; height: auto; font-family: inherit; }
.sec-dg-svg .dg-t { font-size: 18px; font-weight: 800; fill: #1d1d1f; }
.sec-dg-svg .dg-s { font-size: 13px; fill: #6b7785; }
.sec-dg-svg .dg-box { fill: #f4f7fb; stroke: #c9d3df; stroke-width: 1.5; }
.sec-dg-svg .dg-sand { stroke: #8fa3b8; stroke-width: 2.5; stroke-dasharray: 5 4; }
.sec-dg-svg .dg-host { fill: #fbfcfe; stroke: #d5dde7; stroke-width: 1.5; }
.sec-dg-svg .dg-pico { fill: rgba(0, 113, 227, 0.04); stroke: #0071e3; stroke-width: 2; }
.sec-dg-svg .dg-l { font-size: 13px; font-weight: 600; fill: #1d1d1f; }
.sec-dg-svg .dg-lx { fill: #b3261e; }
.sec-dg-svg .dg-exec { fill: #fdf1f0; stroke: #e6a7a2; }
.sec-dg-svg .dg-h { font-size: 12px; font-weight: 700; fill: #6b7785; }
.sec-dg-svg .dg-hp { fill: #0071e3; }
.sec-dg-svg .dg-wall { fill: #f0a24a; }
.sec-dg-svg .dg-gate { fill: #0071e3; }
.sec-dg-svg .dg-check { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sec-dg-svg .dg-g { font-size: 11px; font-weight: 700; fill: #0071e3; }
.sec-dg-svg .dg-ar { fill: none; stroke: #0071e3; stroke-width: 2.2; }
.sec-dg-svg .dg-ah { fill: #0071e3; }
.sec-dg-svg .dg-arx { fill: none; stroke: #c4362b; stroke-width: 2; stroke-dasharray: 5 4; }
.sec-dg-svg .dg-ahr { fill: #c4362b; }
.sec-dg-svg .dg-no { fill: #c4362b; }
.sec-dg-svg .dg-nox { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.sec-dg-svg .dg-nt { font-size: 11px; font-weight: 700; fill: #c4362b; }
.sec-dg-svg .dg-c { font-size: 14px; font-weight: 600; fill: #3a4654; }
.sec-dg-svg .dg-cp { fill: #0071e3; font-weight: 700; }
@media (max-width: 900px) { .sec-dg { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
/* Aufklappbare weitere Fehlerklassen */
.sec-more { margin-top: 14px; }
.sec-more > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--c-border); font-weight: 650; color: var(--c-accent-dark, #0058b8); list-style: none; }
.sec-more > summary::-webkit-details-marker { display: none; }
.sec-more > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.sec-more[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.sec-more .matrix-wrap { margin-top: 14px; }
.sec-proofs li { display: flex; align-items: center; } .sec-proofs li > span { display: block; }
.sec-dg-svg .dg-own { fill: rgba(0, 113, 227, 0.06); stroke: #0071e3; }
.sec-dg-svg .dg-brk { fill: none; stroke: #0071e3; stroke-width: 1.6; }
.sec-lvl { display: inline-block; min-width: 3.3em; } .sec-lvl + .sec-tag { margin-left: 6px; }
/* Abschluss */
.sec-final { text-align: center; max-width: 860px; margin: 0 auto; padding: 46px 40px; background: linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(0, 113, 227, 0.02)); border: 1px solid rgba(0, 113, 227, 0.18); border-radius: 24px; }
.sec-final h2 { margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 40px); }
.sec-final p { margin: 0 auto; max-width: 680px; font-size: 17px; line-height: 1.65; color: var(--c-text-soft); }
.sec-final-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
@media (max-width: 760px) { .sec-final { padding: 32px 22px; } }
/* Liste im PHP-Grundproblem */
.sec-list { margin: 10px 0 14px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.sec-list li { position: relative; padding-left: 22px; }
.sec-list li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent, #0071e3); }
