/*
 * The Body Shop Wiki — Styles
 *
 * Inhaltsverzeichnis
 * 01. Grundlayout und Typografie
 * 02. Navigation und Header
 * 03. Inhaltsbereiche und Prozessschritte
 * 04. Schnittstellen, Tabellen und Code
 * 05. Offene Punkte und Hinweise
 * 06. Responsive Layout
 *
 * Die folgenden Selektoren sind nach Komponenten und Breakpoints gegliedert.
 */

:root {
    font-family: Inter,Arial,sans-serif;
    color: #20332c;
    background: #f7f8f5;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
}
.shell {
    display: grid;
    grid-template-columns: 252px minmax(0,1fr) 214px;
    min-height: 100vh;
}
.sidebar {
    background: #103c31;
    color: #eff5eb;
    padding: 28px 17px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
}
.brand {
    font-weight: 800;
    letter-spacing: .09em;
    font-size: 18px;
    padding: 5px 12px 30px;
}
.brand small {
    display: block;
    font-weight: 500;
    letter-spacing: .12em;
    font-size: 10px;
    margin-top: 6px;
    color: #b7d0bf;
}
.side-label {
    color: #92b6a5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin: 24px 12px 10px;
}
.side-link {
    display: block;
    padding: 11px 13px;
    border-radius: 8px;
    color: #cfe0d4;
    font-size: 14px;
    margin: 2px 0;
}
.side-link.active {
    background: #e2eee4;
    color: #123e32;
    font-weight: 750;
}
.side-link.muted {
    opacity: .65;
}
.main {
    max-width: 1040px;
    width: 100%;
    padding: 42px clamp(24px,5vw,76px) 100px;
    margin: auto;
}
.crumb {
    font-size: 13px;
    color: #6e8174;
    margin-bottom: 25px;
}
.crumb b {
    color: #315b47;
}
.eyebrow {
    display: inline-block;
    background: #e5efe5;
    color: #285a3e;
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 5px;
    font-weight: 750;
    letter-spacing: .04em;
}
.hero h1 {
    font-family: Georgia,serif;
    font-size: clamp(39px,5vw,60px);
    line-height: 1.06;
    letter-spacing: -.035em;
    margin: 18px 0;
}
.lead {
    font-size: 18px;
    line-height: 1.65;
    color: #53675b;
    max-width: 710px;
    margin: 0;
}
.meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 25px 0 35px;
    color: #728276;
    font-size: 13px;
    border-bottom: 1px solid #dce5db;
    padding-bottom: 30px;
}
.notice {
    background: #e8f0e7;
    border-left: 4px solid #4b815c;
    padding: 20px 24px;
    border-radius: 7px;
    margin: 0 0 46px;
    line-height: 1.6;
}
.notice strong {
    display: block;
    margin-bottom: 4px;
}
.section {
    margin: 50px 0;
    scroll-margin-top: 35px;
}
.section h2 {
    font-family: Georgia,serif;
    font-size: 30px;
    letter-spacing: -.025em;
    margin: 0 0 16px;
}
.section p {
    line-height: 1.7;
    color: #4c6053;
    font-size: 16px;
}
.steps {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}
.step {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 17px;
    padding: 21px;
    background: white;
    border: 1px solid #dce5dc;
    border-radius: 10px;
}
.num {
    background: #dbebdd;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #276444;
    font-weight: 800;
}
.step h3 {
    margin: 2px 0 7px;
    font-size: 17px;
}
.step p {
    margin: 0;
    font-size: 15px;
}
.flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 25px 0;
}
.flow span {
    background: #17483a;
    color: #fff;
    padding: 12px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 650;
}
.flow i {
    font-style: normal;
    color: #8ca695;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px;
}
.info {
    background: #fff;
    padding: 22px;
    border: 1px solid #dfe8de;
    border-radius: 9px;
}
.info strong {
    display: block;
    margin-bottom: 6px;
}
.info p {
    margin: 0;
    font-size: 14px;
}
.code-note {
    background: #173c32;
    color: #e7f2e8;
    border-radius: 10px;
    padding: 25px 28px;
    line-height: 1.7;
}
.code-note strong {
    color: #bde1bd;
}
.integration {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin: 24px 0 30px;
}
.system {
    background: #fff;
    border: 1px solid #dce5dc;
    border-radius: 11px;
    padding: 20px;
    min-height: 172px;
}
.system.erp {
    background: #ecf4ea;
    border: 2px solid #43825a;
}
.system.ship {
    background: #eef2f4;
    border-color: #a4b6be;
}
.system .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    color: #527662;
    margin-bottom: 14px;
}
.system h3 {
    margin: 0 0 9px;
    font-size: 21px;
}
.system p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #526456;
}
.zero {
    display: inline-block;
    background: #12523b;
    color: #fff;
    font-weight: 800;
    font-size: 23px;
    border-radius: 7px;
    padding: 5px 11px;
    margin: 2px 0 10px;
}
.interface-label {
    font-size: 12px;
    font-weight: 800;
    color: #587361;
    letter-spacing: .08em;
    margin: 0 0 12px;
}
.integration-arrow {
    color: #478064;
    font-weight: 800;
}
.open {
    border: 1px dashed #a9bdac;
    border-radius: 10px;
    padding: 22px;
    background: #f1f5ef;
}
.open ul {
    line-height: 1.8;
    color: #4b6052;
    padding-left: 20px;
}
.toc {
    border-left: 1px solid #e0e8df;
    padding: 43px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
}
.toc strong {
    display: block;
    font-size: 12px;
    letter-spacing: .12em;
    color: #6c806f;
    margin-bottom: 17px;
}
.toc a {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: #708174;
    padding: 9px 0;
}
.toc a:hover {
    color: #124a36;
}
.mobile-head {
    display: none;
}
@media(max-width:1100px) {
    .shell {
        grid-template-columns: 220px minmax(0,1fr);
    }
    .toc {
        display: none;
    }
}
@media(max-width:700px) {
    .integration {
        grid-template-columns: 1fr!important;
    }
    .system {
        min-height: auto;
    }
    .shell {
        display: block;
    }
    .sidebar {
        display: none;
        position: relative;
        height: auto;
    }
    .sidebar.show {
        display: block;
    }
    .mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #103c31;
        color: white;
        padding: 15px 20px;
        font-weight: 800;
        letter-spacing: .04em;
    }
    .mobile-head button {
        border: 1px solid #7a9f8a;
        background: transparent;
        color: white;
        padding: 7px 11px;
        border-radius: 6px;
    }
    .main {
        padding: 28px 20px 70px;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .flow {
        gap: 6px;
    }
    .flow span {
        font-size: 12px;
        padding: 9px;
    }
    .hero h1 {
        font-size: 41px;
    }
}
.topic-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    margin: 26px 0;
}
.topic-card {
    display: block;
    background: #fff;
    border: 1px solid #dce5dc;
    border-radius: 10px;
    padding: 23px;
    transition: transform .15s,border-color .15s;
}
.topic-card:hover {
    transform: translateY(-2px);
    border-color: #43825a;
}
.topic-card small {
    display: block;
    color: #467d59;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 12px;
}
.topic-card strong {
    display: block;
    font-family: Georgia,serif;
    font-size: 22px;
    margin-bottom: 9px;
}
.topic-card span {
    display: block;
    color: #607365;
    line-height: 1.55;
    font-size: 14px;
}
.status-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 750;
    border-radius: 20px;
    background: #e9f1e8;
    color: #346548;
    padding: 6px 11px;
    margin: 0 0 18px;
}
.next-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.next-list li {
    background: white;
    border: 1px solid #dce5dc;
    border-radius: 8px;
    padding: 16px 19px;
    margin-bottom: 9px;
    line-height: 1.5;
}
@media(max-width:700px) {
    .topic-grid {
        grid-template-columns: 1fr;
    }
}
pre.json-example {
    margin: 18px 0 0;
    padding: 20px;
    background: #173c32;
    color: #e7f2e8;
    border-radius: 9px;
    overflow: auto;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre;
}
pre.json-example code {
    font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
}
.branch {
    border-left: 4px solid #4b815c;
    background: #fff;
    padding: 18px 21px;
    margin: 12px 0;
    border-radius: 0 8px 8px 0;
}
.branch h3 {
    margin: 0 0 7px;
}
.branch p {
    margin: 0;
    line-height: 1.6;
    color: #526456;
}
.open-section {
    background: #fff0ee;
    border: 1px solid #e9b2aa;
    border-left: 5px solid #b84036;
    border-radius: 9px;
    padding: 25px 28px;
}
.open-section h2 {
    color: #8f2d27;
}
.open-section p,.open-section li {
    color: #70403d;
}
.open-section .next-list li,.open-section .open {
    background: #fff8f7;
    border-color: #e9c3bd;
}
.open-section code {
    color: #812d29;
}
@media(max-width:700px) {
    .open-section {
        padding: 20px;
    }
}
table td {
    padding: 11px 15px;
    border-top: 1px solid #e5ebe4;
    font-size: 14px;
    vertical-align: top;
}
table td:first-child {
    font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
    color: #17483a;
    font-weight: 650;
}
