:root{--db-navy:#102a43;--db-text:#142c3d;--db-teal:#087D86;--db-teal-dark:#05616B;--db-muted:#344b5b;--db-surface:#edf6f5;--db-border:#879fa9;--db-white:#fff;--db-focus:#aa5000;--db-error:#922b32;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--db-text);background:#f5f8f8;font-size:16px;line-height:1.6;font-synthesis:weight}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}a{color:var(--db-teal-dark);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:11px 21px;border:1px solid var(--db-teal-dark);border-radius:12px;background:var(--db-teal-dark);color:white;font-weight:700;text-decoration:none;cursor:pointer;text-align:center}button:hover,.button:hover{background:var(--db-navy);color:white}.secondary{background:white;color:var(--db-teal-dark);border-color:#a9c6c9}.danger{background:var(--db-error);border-color:var(--db-error)}button:disabled{opacity:.7;cursor:wait}:focus-visible{outline:3px solid var(--db-focus);outline-offset:4px}.shell{width:min(1160px,calc(100% - 64px));margin-inline:auto}.masthead{background:white;border-bottom:1px solid var(--db-border)}.masthead-row{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:17px;color:var(--db-navy);text-decoration:none;line-height:1.25}.brand strong{display:block;font-size:23px}.demo-label{display:flex;align-items:center;gap:9px;color:var(--db-muted);font-size:14px}.status-dot{width:8px;height:8px;background:var(--db-teal);border-radius:50%}.main-nav{display:flex;gap:8px;padding-block:18px;flex-wrap:wrap}.main-nav a{padding:10px 16px;border-radius:10px;min-height:44px;text-decoration:none;font-size:14px;font-weight:600;color:var(--db-muted)}.main-nav a[aria-current]{background:var(--db-teal-dark);color:white}.main-nav a:hover{background:#d2e7e4;color:var(--db-navy)}.eyebrow{font-size:12px;font-weight:750;color:var(--db-teal-dark);letter-spacing:.1em;text-transform:uppercase;margin:0 0 12px}h1,h2,h3{color:var(--db-navy);line-height:1.25;overflow-wrap:anywhere}h1{font-size:clamp(34px,4vw,52px);letter-spacing:-.035em;margin:0 0 16px;font-weight:800}h2{font-size:26px;font-weight:800;margin:0 0 14px;letter-spacing:-.02em}h3{font-size:22px;font-weight:750;margin:0 0 10px}p{margin:0 0 18px}.page-heading,.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.page-heading{margin:22px 0 30px}.page-heading p:last-child{color:var(--db-muted);margin:0}.panel{background:white;border:1px solid var(--db-border);border-radius:20px;padding:30px;margin-bottom:28px}.section-heading{margin-bottom:22px}.section-heading h2{margin:0}.section-heading .hint{margin:8px 0 0}.dashboard-summary{display:flex;align-items:center;gap:32px;padding:22px 28px;background:#eaf3f2;border:1px solid #d6e7e4;border-radius:18px;margin-bottom:26px}.dashboard-summary>div{flex-shrink:0}.dashboard-summary strong{display:block;font-size:40px;line-height:1.15;font-weight:800;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.dashboard-summary span{font-size:14px;font-weight:650;color:var(--db-muted)}.dashboard-summary p{margin:0 0 0 auto;max-width:365px;font-size:14px;color:var(--db-muted)}.action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:34px}.action-tile{display:flex;flex-direction:column;align-items:flex-start;padding:25px;background:white;border:1px solid var(--db-border);border-radius:20px;text-decoration:none;box-shadow:0 4px 14px #16314b03;color:var(--db-text);transition:box-shadow .16s,border-color .16s}.action-tile:hover{border-color:#6faaa8;box-shadow:0 8px 22px #16314b0c}.action-tile h2{font-size:24px;font-weight:800;margin:16px 0 10px}.action-tile p{color:var(--db-muted);font-size:16px;max-width:270px}.tile-icon{width:84px;height:84px;flex-shrink:0;color:var(--db-teal-dark)}.tile-articles .tile-icon{color:#3c6898}.tile-book .tile-icon{color:#8a601e}.tile-history .tile-icon{color:#706199}.tile-reset .tile-icon{color:#5b727b}.tile-cta{font-size:15px;font-weight:700;color:var(--db-teal-dark);margin-top:auto;display:flex;gap:16px;align-items:center}.gentle-note{padding:26px;align-self:center}.gentle-note h2{margin-top:18px}.gentle-note p{font-size:15px;color:var(--db-muted);margin:0}.sample-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sample-list>a{text-decoration:none;color:var(--db-text);border-left:3px solid #d8e8e6;padding-left:16px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}.sample-list>a>span:not(.badge){font-size:15px;color:var(--db-muted)}.badge{display:inline-block;border:1px solid #8caca9;background:var(--db-surface);border-radius:8px;padding:5px 10px;font-size:13px;font-weight:750;line-height:1.4}.attention{background:#fff0c9;border-color:#b08527;color:#694500}.good{background:#dff2e8;border-color:#4d9472;color:#155638}.unavailable{background:#fbe5e4;border-color:#bc7772;color:#832c29}.welcome{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;margin-top:50px;padding:50px;background:linear-gradient(110deg,white 40%,#eef7f4)}.welcome h1{font-size:clamp(36px,4.2vw,54px)}.lead{font-size:18px;color:var(--db-muted);max-width:540px}.welcome .hint{margin:16px 0 0}.welcome-art{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:22px;font-size:21px;color:var(--db-teal-dark)}.welcome-art svg{width:220px;height:220px}.intro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;padding:20px 25px 40px}.intro-grid svg{width:56px;height:56px}.intro-grid h2{font-size:19px;margin-top:14px}.intro-grid p{font-size:15px;color:var(--db-muted)}.filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:20px 0}.filters>label:first-of-type{flex:2;min-width:180px}.filters>label{flex:1;min-width:140px}.filters>a{min-height:48px;display:flex;align-items:center;font-size:14px}label{display:block;font-size:15px;font-weight:700}input:not([type=hidden]),select,textarea{display:block;width:100%;min-height:48px;margin-top:7px;padding:11px 12px;border:1px solid #9eb5be;border-radius:10px;background:white;color:var(--db-text)}textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.wide{grid-column:1/-1}.hint,.field-hint,small{font-size:14px;color:var(--db-muted)}small{display:block}.hint{margin:12px 0 20px}.field-hint{margin:8px 0 0;line-height:1.5}.optional{font-weight:400;color:var(--db-muted)}.help{font-size:14px;background:#f2f7f7;border-radius:12px;padding:0 16px;margin:16px 0 24px}.help summary{min-height:48px;display:list-item;padding:12px 0;cursor:pointer;color:var(--db-teal-dark);font-weight:600}.help p{padding:0 0 16px;margin:0}.help li{margin-bottom:12px}.help ul{padding-left:18px}.article-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.article-card{border:1px solid var(--db-border);border-radius:16px;padding:22px;min-width:0;display:flex;flex-direction:column}.article-card .section-heading{gap:8px;flex-wrap:wrap;margin-bottom:20px}.category{font-size:12px;color:var(--db-muted)}.article-card h3 a{color:var(--db-navy);text-decoration:none}.article-card .hint{margin:0 0 18px;overflow-wrap:anywhere}.available{font-size:14px}.available strong{font-size:36px;font-weight:800;letter-spacing:-.03em}.mini-stock{display:flex;gap:15px;font-size:12px;margin:0 0 22px;flex-wrap:wrap}.mini-stock dt{color:var(--db-muted)}.mini-stock dd{margin:4px 0;font-size:16px;font-weight:700}.article-card .button{font-size:13px;margin-top:auto;padding-inline:10px}.empty-state{grid-column:1/-1;padding:30px;text-align:center}.editor{max-width:900px;margin-inline:auto}.form-step{border:0;padding:0;margin:28px 0 34px;min-width:0}.form-step legend,.form-step h3{font-weight:800;font-size:26px;padding:0;margin:0 0 10px}.step-description{color:var(--db-muted);font-size:15px}.steps{list-style:none;padding:0;margin:26px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.steps li{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--db-muted);padding-bottom:14px;border-bottom:3px solid #e0e9e8}.steps li>span{display:grid;place-items:center;border-radius:50%;background:#eef3f3;width:28px;height:28px;flex-shrink:0;font-weight:700}.steps li[aria-current]{color:var(--db-teal-dark);border-color:var(--db-teal-dark);font-weight:700}.steps li[aria-current]>span,.steps li.completed>span{background:var(--db-teal-dark);color:white}.form-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid var(--db-border);padding-top:24px}.form-actions>a{font-size:14px;padding:10px}.review{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--db-border);border-radius:14px;padding:18px;gap:20px;background:#f7fafa}.review div{min-width:0}.review dt{font-size:13px;color:var(--db-muted)}.review dd{margin:4px 0 0;font-weight:600;overflow-wrap:anywhere;white-space:pre-wrap}.stock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.stock-grid dt{font-size:13px;color:var(--db-muted)}.stock-grid dd{margin:4px 0;font-size:26px;font-weight:800;overflow-wrap:anywhere}.history{list-style:none;padding:0;margin:0}.history li{border-bottom:1px solid var(--db-border);padding:20px 0;overflow-wrap:anywhere}.history li>div{display:flex;gap:15px;justify-content:space-between}.history li p{font-size:14px;margin:6px 0;color:var(--db-muted)}.history li>div span{font-weight:700}.pagination{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:20px;font-size:14px}.pagination a{min-height:44px;display:flex;align-items:center}.notice,.errors{padding:20px;border:1px solid #a9cebd;background:#edf8f1;border-radius:14px;margin:20px 0}.notice p:last-child{margin-bottom:0}.errors,.field-error{color:var(--db-error)}.errors{border-color:#d6a8a8;background:#fff5f3}.field-error{display:block;font-size:14px;margin-top:6px}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--db-error)}.reset{max-width:740px;margin-inline:auto}.check{display:flex;align-items:center;gap:12px;margin:24px 0}.check input{width:22px;min-height:22px;flex-shrink:0;margin:0}.edit-disclosure>summary{cursor:pointer;font-weight:700;min-height:44px}.edit-disclosure .editor{padding:20px 0 0;margin:0;max-width:none;border:0;border-radius:0}.footer{font-size:13px;color:var(--db-muted);padding-block:30px 40px;border-top:1px solid var(--db-border);margin-top:35px}.footer p{max-width:720px;margin:14px 0}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{display:block;padding:14px;background:white}#buchen{scroll-margin-top:24px}

/* AM-042: stronger hierarchy within the existing layout. */
a { font-weight: 650; }
button, .button { border-width: 2px; box-shadow: 0 2px 0 #12304b18; }
.secondary { background: #f0f7f6; border-color: #658c91; }
:focus-visible { outline-width: 4px; }
input:not([type=hidden]), select, textarea { border-color: #6f8995; }
input::placeholder, textarea::placeholder { color: #526675; opacity: 1; }
.main-nav a { font-weight: 750; }
.panel { box-shadow: 0 3px 12px #12304b06; }
.dashboard-summary { background: #e1efec; border: 2px solid #91b6af; gap: 22px; }
.dashboard-summary > div { padding: 14px 20px; background: white; border: 1px solid #aac8c1; border-left: 4px solid var(--db-teal-dark); border-radius: 10px; }
.dashboard-summary > div:nth-child(2) { border-left-color: #94650d; }
.dashboard-summary span { display: block; margin-top: 6px; }
.dashboard-summary p { max-width: 290px; }
.action-tile { border: 2px solid #a9c2c6; box-shadow: 0 4px 12px #12304b0d; }
.tile-create, .tile-articles, .tile-book { border-top-width: 5px; }
.tile-create { border-color: #548e85; background: #f0f8f5; }
.tile-articles { border-color: #6485a5; background: #f1f6fc; }
.tile-book { border-color: #ad8844; background: #fff9ed; }
.tile-create .tile-cta, .tile-articles .tile-cta, .tile-book .tile-cta { background: var(--db-teal-dark); color: white; padding: 10px 13px; border-radius: 9px; }
.tile-articles .tile-cta { background: #244c73; }
.tile-book .tile-cta { background: #735014; }
.tile-history .tile-cta, .tile-reset .tile-cta { text-decoration: underline; text-underline-offset: 4px; }
.action-tile:hover, .action-tile:focus-visible { border-color: #174953; background: #e4f0ee; box-shadow: 0 7px 20px #12304b26; }
.action-tile:hover .tile-cta, .action-tile:focus-visible .tile-cta { text-decoration: underline; text-underline-offset: 4px; }
.tile-icon > rect { opacity: .17; }
.tile-icon > g { stroke-width: 3; }
.sample-list > a { border: 1px solid #9ebabe; border-left: 4px solid #518b8a; border-radius: 12px; background: #f5f9f9; padding: 18px; gap: 10px; }
.sample-list strong { font-size: 19px; font-weight: 800; }
.sample-list > a:hover, .sample-list > a:focus-visible { background: #e2efed; border-color: var(--db-teal-dark); }
.sample-list > a:hover strong, .sample-list > a:focus-visible strong { text-decoration: underline; }
.badge.good::before { content: '✓'; margin-right: 5px; }
.badge.attention::before { content: '!'; margin-right: 5px; font-weight: 900; }
.badge.unavailable::before { content: '−'; margin-right: 5px; font-weight: 900; }
.article-card { border-width: 2px; }
.article-card h3 a { font-weight: 800; }
.article-card h3 a:hover { text-decoration: underline; }
.stock-grid > div { background: #f0f6f5; border: 1px solid var(--db-border); border-radius: 10px; padding: 14px; }
.stock-grid dt, .mini-stock dt, .review dt { font-weight: 650; }
.help { border: 1px solid #8cacac; background: #eaf3f1; }
.help summary { font-weight: 750; }
.help summary:hover { color: var(--db-navy); text-decoration: underline; }
.steps li { font-weight: 650; border-bottom-color: #a7bdc0; }
.steps li[aria-current] { border-bottom-color: var(--db-teal-dark); font-weight: 800; }
.history li { border-bottom-width: 2px; }
.notice { border-color: #5b9674; }
.errors { border-color: #b56865; }

@media(max-width:1000px){.action-grid,.article-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-summary{gap:24px;flex-wrap:wrap}.dashboard-summary p{max-width:none;margin:0}.welcome{padding:30px}.welcome-art svg{width:170px;height:170px}.sample-list{gap:16px}.article-card:last-child:nth-child(odd){grid-column:auto}}
@media(max-width:640px){.shell{width:calc(100% - 32px)}.masthead-row{min-height:80px;gap:10px}.brand{font-size:14px}.brand strong{font-size:19px}.demo-label{font-size:12px}.demo-label>span:last-child{display:none}.main-nav{gap:2px;padding-block:12px}.main-nav a{font-size:12px;padding:10px}.page-heading{margin-top:18px}.page-heading,.section-heading{align-items:flex-start;flex-direction:column;gap:14px}.panel{padding:22px 18px;border-radius:16px}.action-grid,.article-cards,.sample-list,.intro-grid,.welcome{grid-template-columns:1fr}.action-grid{gap:14px}.action-tile{padding:22px;display:grid;grid-template-columns:66px minmax(0,1fr);column-gap:16px}.action-tile svg{width:66px;height:66px;grid-row:1/4}.action-tile h2{font-size:22px;margin:0 0 6px}.action-tile p{font-size:15px;margin:0 0 12px}.tile-cta{font-size:14px}.gentle-note{padding:18px}.dashboard-summary{padding:20px;gap:20px;justify-content:space-between}.dashboard-summary strong{font-size:34px}.dashboard-summary p{font-size:13px}.welcome{margin-top:28px;gap:20px;padding:28px 22px}.welcome-art{display:none}.intro-grid{gap:16px;padding:14px}.intro-grid>div{display:grid;grid-template-columns:56px 1fr;column-gap:18px}.intro-grid svg{grid-row:1/3}.intro-grid h2{margin:4px 0 6px}.intro-grid p{margin:0}.form-grid,.review{grid-template-columns:1fr}.steps{gap:6px}.steps li{flex-direction:column;align-items:flex-start;gap:8px;font-size:11px}.filters{align-items:stretch}.filters>label{flex-basis:100%}.stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-grid dd{font-size:23px}.history li>div{flex-wrap:wrap}.sample-list>a{padding:18px}.article-card .section-heading{flex-direction:row}.form-actions button{flex-grow:1}button,.button{max-width:100%}.review{padding:16px}.field-hint{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:640px){.dashboard-summary>div{padding:12px 14px;flex:1 1 140px;min-width:0}.dashboard-summary p{max-width:none}.tile-cta{justify-self:start}.sample-list strong{font-size:19px}.stock-grid{gap:10px}.stock-grid>div{padding:10px}.stock-grid dt{font-size:13px}.badge{white-space:normal}.action-tile h2{hyphens:auto}.article-card .badge{max-width:100%}}

/* AM-043: order flow and the mobile scanner simulator, scoped to the demo. */
.picking-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#eaf4ee;border:2px solid #608b72}.picking-intro p{max-width:620px}.picking-intro .button{flex-shrink:0}
.picking-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;list-style:none;padding:0;margin:24px 0}.picking-steps li{padding:20px;background:#eaf1f8;border:1px solid #8a9eae;border-radius:16px}.picking-steps strong,.picking-steps span{display:block}.picking-steps strong{font-size:19px;margin-bottom:6px}
.order-items{margin:20px 0}.order-item{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #aab9bf}.order-item:first-child{border-top:1px solid #aab9bf}.order-item strong{font-size:20px}.order-item span{display:block;margin-top:6px}.order-item label{max-width:180px}.order-item .badge{display:inline-block}.order-list>a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid #aab9bf;text-decoration:none}.order-list strong{font-size:22px}
.scanner{width:min(460px,calc(100% - 20px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:6px solid #223d4b;border-radius:28px;background:#f5f8fa;color:#183442;box-shadow:0 24px 80px #102b4560;overflow:auto;overscroll-behavior:contain}.scanner::backdrop{background:#132b42ba}.scanner-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;background:#e7f0f3;border-bottom:2px solid #8da4ac;position:sticky;top:0;z-index:2}.scanner-header h2{font-size:26px;margin:0}.scanner-header .eyebrow{font-size:12px;margin:0 0 4px}.scanner-header button{min-width:48px;min-height:48px;padding:8px}.scanner-body{padding:20px}.scanner p{line-height:1.55}.scanner button,.scanner .button{min-height:50px;font-size:17px;font-weight:800;white-space:normal}.scanner-body>div>button,.scanner-body form>button,.scanner-article>button,.scanner-ready>.button{width:100%;margin-top:12px}.scanner label{display:block;font-weight:750;margin-top:12px}.scanner input,.scanner select{width:100%;min-height:48px;box-sizing:border-box}.scanner progress{width:100%;height:16px;accent-color:#226844}.scanner-progress{font-weight:850;font-size:20px;margin:0 0 8px}.scanner-feedback{margin:16px 0;color:#215238;font-weight:750;overflow-wrap:anywhere}.scanner-feedback:empty{display:none}.scanner-feedback.is-error{color:#842b30;background:#fff0f0;border:2px solid #b24e52;border-radius:12px;padding:12px}.scanner-help{margin:12px 0}.scanner-help .help-toggle{font-size:15px;width:100%;text-align:left}.scanner-tooltip{display:none;padding:12px;background:#e8f1f7;border:1px solid #7592a4;border-radius:10px;margin:8px 0}.help-toggle[aria-expanded=true]+.scanner-tooltip{display:block}@media(hover:hover){.scanner-help:hover .scanner-tooltip{display:block}}
.scan-window{position:relative;overflow:hidden;padding:22px;text-align:center;border:2px dashed #587a85;border-radius:16px;background:#fff;margin:16px 0}.scan-window span{display:block;letter-spacing:6px;font-size:32px;color:#234857}.scan-window strong{display:block;margin-top:6px}.is-scanning .scan-window:after{content:"";position:absolute;left:8%;right:8%;top:15%;height:4px;background:#277751;box-shadow:0 0 12px #277751;animation:demo-scan .45s ease-in-out}@keyframes demo-scan{to{top:85%}}
.scanner-article{padding:18px;margin-top:18px;background:#fff;border:2px solid #688b75;border-radius:16px}.scanner h3{font-size:25px;font-weight:850;line-height:1.2;margin:12px 0;overflow-wrap:anywhere}.scanner dl{margin:16px 0}.scanner dl>div{margin:12px 0}.scanner dt{font-size:14px;color:#3c5462}.scanner dd{font-size:19px;font-weight:800;margin:2px 0;overflow-wrap:anywhere}.scanner-ready{background:#e6f3e9;border:2px solid #64866d;padding:20px;border-radius:16px;margin:20px 0}.scanner-positions{margin:24px 0 16px}.scanner-positions summary{font-weight:800;min-height:44px;cursor:pointer}.scanner-positions ul{list-style:none;padding:0;margin:0}.scanner-positions li{padding:12px 0;border-bottom:1px solid #a2b2b9}.scanner-positions strong,.scanner-positions span{display:block;overflow-wrap:anywhere}.position-done{color:#205536}.scanner [data-refresh]{width:100%;font-size:15px}
@media(max-width:700px){.picking-intro{display:block}.picking-intro .button{margin-top:12px}.picking-steps{grid-template-columns:1fr;gap:8px}.picking-steps li{padding:14px}.order-list>a{flex-wrap:wrap}.order-item{align-items:flex-start}.order-item label{max-width:120px;flex-shrink:0}}
@media(max-width:380px){.scanner-body{padding:14px}.scanner-header{padding:14px}.scanner{border-width:4px}.order-item{display:block}.order-item label{margin-top:14px;max-width:none}.scanner-article{padding:12px}}
@media(prefers-reduced-motion:reduce){.is-scanning .scan-window:after{animation:none}}

.scanner-header{display:block}.scanner-header-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.scanner-header .scanner-progress{font-size:17px;margin:12px 0 4px}.scanner-header progress{display:block;height:12px}.scanner [data-scan-controls]>button{width:100%;margin-top:12px}
.scanner dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}.scanner dl>div{margin:8px 0}.scanner dd{font-size:18px}.order-item>div{min-width:0;overflow-wrap:anywhere}

/* AM-044: incoming deliveries and optional, visitor-scoped guidance. */
.receiving-intro{background:#eaf1f8;border:2px solid #7e9eaf;display:flex;align-items:center;gap:24px;justify-content:space-between}.receiving-intro .button{flex-shrink:0}.delivery-cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.delivery-cases label{display:flex;align-items:flex-start;gap:12px;background:#edf4f7;border:2px solid #7e9eaf;border-radius:16px;padding:18px;cursor:pointer}.delivery-cases label:has(input:checked){border-color:#086473;background:#dff1ef}.delivery-cases input{width:22px;height:22px;flex-shrink:0;margin:2px 0}.delivery-cases strong,.delivery-cases span>span{display:block}.delivery-cases strong{font-size:19px;margin-bottom:8px}.delivery-paper ul,.delivery-preview ul{list-style:none;padding:0}.delivery-paper li,.delivery-preview li{display:flex;flex-direction:column;gap:6px;border-bottom:1px solid #9bb1bb;padding:16px 0;overflow-wrap:anywhere}.delivery-preview{position:relative;background:white;border:2px solid #91a9b3;border-radius:12px;padding:12px 20px;overflow:hidden}.delivery-scanner [data-delivery-read] button{width:100%}.document-scan-line{display:none;position:absolute;left:0;right:0;top:0;height:4px;background:#197b67}.document-reading .document-scan-line{display:block;animation:document-read .65s ease-in-out infinite}@keyframes document-read{to{top:100%}}.comparison-list{display:grid;gap:16px;margin:24px 0}.comparison-card{padding:22px;border:2px solid #6c9876;border-radius:16px;background:#f1f8f3;min-width:0;overflow-wrap:anywhere}.comparison-card.has-issue{border-color:#a07b35;background:#fff8e9}.comparison-card h3{font-size:24px;margin:0}.comparison-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.comparison-card dd{font-size:23px;font-weight:850;margin:6px 0}.comparison-card dt{font-size:15px}.comparison-card .badge{white-space:normal}.receiving-review{padding:20px 0;line-height:1.6}
/* AM-045: anchored help; page layout remains unchanged. */
.tour-launcher{margin-top:14px;margin-bottom:18px}.tour-launcher summary{display:inline-flex;min-height:44px;align-items:center;font-weight:800;color:#075563;border:2px solid #6a8b96;border-radius:12px;padding:10px 16px;cursor:pointer;background:#fff}.tour-options{display:flex;gap:12px;flex-wrap:wrap;padding:16px 0}
.tour-layer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:var(--db-text);overflow:visible;pointer-events:none;z-index:1100}.tour-layer::backdrop{background:transparent;pointer-events:none}
.tour-shade{position:fixed;border-radius:10px;box-shadow:0 0 0 9999px #122c4966;outline:3px solid #086978;pointer-events:none}
.tour-highlight{outline:3px solid #086978!important;outline-offset:5px!important}.tour-highlight:focus-visible{outline-color:#aa5000!important}
.tour-arrow{position:fixed;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.tour-bubble{position:fixed;margin:0;background:#fff;border:2px solid #086978;border-radius:16px;padding:16px;overflow:auto;overscroll-behavior:contain;pointer-events:auto;box-shadow:0 8px 28px #19354638;text-align:left}
.tour-bubble h2{font-size:22px;line-height:1.25;margin:4px 0 10px}.tour-bubble p{font-size:15px;line-height:1.5;margin:6px 0}.tour-bubble .eyebrow{font-size:12px;margin:0}.tour-bubble button{min-height:44px;font-size:14px;padding:8px;white-space:normal;font-weight:750}.tour-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.tour-guidance:empty{display:none}.tour-guidance{color:#724612;font-weight:700}
body.tour-active{padding-bottom:40dvh}dialog.tour-host::after{content:"";display:block;height:35dvh;pointer-events:none}
@media(max-width:1000px){.delivery-cases{grid-template-columns:1fr}.receiving-intro{display:block}.receiving-intro .button{margin-top:12px}.comparison-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.comparison-card{padding:16px}.comparison-card dd{font-size:19px}.tour-bubble{padding:12px}.tour-bubble h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.document-reading .document-scan-line{animation:none}}

/* AM-046: choose the booking first; scan compact rows before opening details. */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.booking-back{display:inline-block;margin-top:16px;font-weight:750;min-height:44px;padding:8px 0}
.booking-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0 38px}
.booking-option{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:30px;border:2px solid #7c9ba2;border-top:6px solid #246879;border-radius:20px;background:#fff;color:var(--db-text);text-decoration:none;box-shadow:0 5px 16px #16314b12;min-width:0}
.booking-option h2{font-size:28px;font-weight:850;line-height:1.25;margin:0}.booking-option p{margin:0;font-size:17px}.booking-option .eyebrow{font-size:12px;margin:4px 0 0}.booking-option .tile-icon{width:72px;height:72px}.booking-option .button{margin-top:auto;font-size:16px}.booking-benefit{font-size:15px;color:#34515e;margin:2px 0 10px}.booking-delivery{background:#edf7f4;border-color:#568c83}.booking-delivery:hover,.booking-delivery:focus-visible{background:#e0f0eb;border-color:#174953;box-shadow:0 8px 22px #12304b26}.booking-transfer{border-color:#8b9eac;background:#f1f5f9}.booking-transfer .field-hint{font-size:15px;color:#344c5a}
.booking-more h2{font-size:25px}.booking-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:18px 0 32px}.booking-shortcuts a{display:flex;flex-direction:column;gap:8px;border:2px solid #9db6bd;border-radius:14px;padding:22px;color:var(--db-text);background:#fff;text-decoration:none}.booking-shortcuts strong{font-size:21px;color:#075563}.booking-shortcuts a:hover,.booking-shortcuts a:focus-visible{border-color:#174953;background:#eaf3f1}.booking-shortcuts span{font-size:15px}
.inventory-table{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:22px;font-size:15px}.inventory-table th{text-align:left;background:#e7f0f1;color:#17394a;padding:14px 10px;font-size:14px;border-block:2px solid #8eaab3}.inventory-table td{padding:17px 10px;border-bottom:1px solid #aabfc5;vertical-align:middle;overflow-wrap:anywhere}.inventory-table th:nth-child(2){width:23%}.inventory-table th:last-child{width:125px}.inventory-table tbody tr:hover{background:#f0f7f5}.inventory-table .article-name a{font-size:18px;font-weight:800;color:#17394a}.inventory-table .article-available strong{font-size:23px;font-weight:850;font-variant-numeric:tabular-nums}.inventory-table .button{font-size:14px;padding:9px 12px;min-height:44px;gap:8px}.inventory-table .badge{font-size:12px;padding:5px 7px;white-space:normal}
.article-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0}.article-facts dt{font-size:14px;font-weight:750;color:#3c5462}.article-facts dd{margin:5px 0 0;overflow-wrap:anywhere}.article-description{white-space:pre-wrap}.article-information h2{margin-bottom:22px}
@media(max-width:920px){.booking-options,.booking-shortcuts{grid-template-columns:1fr}.booking-option{padding:24px;gap:10px}.booking-option h2{font-size:25px}.booking-option .button{margin-top:10px}.inventory-table,.inventory-table tbody{display:block}.inventory-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.inventory-table tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;border-bottom:2px solid #9bb3bc;padding:18px 0}.inventory-table tr:first-child{border-top:2px solid #9bb3bc}.inventory-table td{display:block;padding:0;border:0;min-width:0}.inventory-table td::before{content:attr(data-label);display:block;font-size:12px;font-weight:750;color:#3c5462;margin-bottom:3px}.inventory-table .article-name{grid-column:1/-1;grid-row:1}.inventory-table .article-name a{font-size:19px}.inventory-table .article-action{align-self:end}.inventory-table .article-action::before{display:none}.inventory-table .article-available strong{font-size:22px}.inventory-table .badge{font-size:13px}.article-facts{grid-template-columns:1fr}.booking-option .tile-icon{width:64px;height:64px}}

/* AM-047: visual hierarchy only; retain the established responsive layout. */
h1 { font-size: clamp(38px, 4.5vw, 60px); font-weight: 850; line-height: 1.12; }
h2 { font-size: 30px; font-weight: 800; }
h3 { font-size: 24px; font-weight: 800; }
.page-heading p { font-size: 18px; }
.eyebrow { font-size: 13px; font-weight: 800; }
.masthead { border-bottom-width: 2px; }
.main-nav { gap: 8px; border-bottom: 2px solid var(--db-border); margin-bottom: 24px; }
.main-nav a { font-size: 16px; font-weight: 750; border: 2px solid transparent; }
.main-nav a:hover { border-color: #406c75; background: #dcece9; }
.main-nav a[aria-current] { border-color: var(--db-teal-dark); }
.main-nav a[aria-current]:hover { background: var(--db-navy); color: white; }
.panel { border-width: 2px; box-shadow: none; }
button, .button { min-height: 50px; font-weight: 800; box-shadow: none; }
.secondary { background: white; border-color: #426c77; color: #104f5c; }
.secondary:hover { background: #dcece9; color: var(--db-navy); border-color: var(--db-navy); }
.danger:hover { background: #701e27; border-color: #701e27; }
:focus-visible { outline: 4px solid var(--db-focus); outline-offset: 4px; }
.dashboard-summary { padding: 24px; border-color: #678f89; }
.dashboard-summary > div { padding: 16px 24px; border-color: #698d8a; }
.dashboard-summary strong { font-size: 52px; font-weight: 850; }
.dashboard-summary span { font-size: 16px; font-weight: 700; }
.dashboard-summary p { font-size: 16px; }
.action-tile { padding: 28px; border-color: #668894; box-shadow: 0 3px 8px #12304b0a; }
.action-tile h2 { font-size: 28px; font-weight: 850; }
.action-tile p { line-height: 1.6; }
.tile-icon { width: 96px; height: 96px; }
.tile-create { border-color: #38766e; background: #eaf5f0; }
.tile-articles { border-color: #476e94; background: #eaf1f9; }
.tile-book { border-color: #8c692b; background: #fff5e2; }
.tile-cta { font-size: 16px; font-weight: 800; min-height: 44px; }
.action-tile:hover, .action-tile:focus-visible,
.booking-delivery:hover, .booking-delivery:focus-visible {
    border-color: #174953; background: #dcece9; box-shadow: 0 3px 8px #12304b14;
}
.sample-list > a { border-width: 2px; border-left-width: 5px; border-color: #67878e; gap: 12px; }
.sample-list strong { font-size: 22px; }
.sample-list > a > span:not(.badge) { font-size: 16px; }
.badge { font-size: 15px; font-weight: 800; border-width: 2px; padding: 6px 10px; }
.good { background: #d6ecdf; border-color: #387752; color: #124b30; }
.attention { background: #ffebbd; border-color: #916717; color: #603d06; }
.unavailable { background: #f7deda; border-color: #9b514b; color: #72252b; }
.stock-grid > div { border-width: 2px; padding: 18px; }
.stock-grid > div:first-child { background: #dcefe9; border-color: #38766e; }
.stock-grid > div:nth-child(3) { background: #fff3d9; border-color: #98742f; }
.stock-grid > div:nth-child(5) { background: #e5eef8; border-color: #587b9d; }
.stock-grid dt { font-size: 16px; font-weight: 700; }
.stock-grid dd { font-size: 34px; font-weight: 850; line-height: 1.25; margin-top: 10px; }
.stock-grid > div:first-child dd { color: #104f48; }
.article-facts dt, .review dt { font-size: 15px; font-weight: 700; color: var(--db-muted); }
.article-facts dd { font-size: 17px; }
label { font-size: 16px; font-weight: 750; }
input:not([type=hidden]), select, textarea { border: 2px solid #627e8b; min-height: 50px; }
input::placeholder, textarea::placeholder { color: #455d6c; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--db-teal-dark); }
.form-grid { gap: 28px; }
.filters > label { min-width: 180px; }
.hint, .field-hint, small, .step-description { font-size: 15px; }
.optional { font-weight: 500; }
.required-mark { color: var(--db-teal-dark); font-weight: 850; }
.help { border: 2px solid #648b8c; font-size: 16px; background: #eaf3f1; }
.help summary { font-weight: 800; min-height: 50px; }
.form-step legend, .form-step h3 { font-size: 28px; }
.steps li { font-size: 14px; font-weight: 700; }
.steps li > span { width: 32px; height: 32px; border: 1px solid #64828d; }
.form-actions { border-top-width: 2px; }
.form-actions > a, .filters > a { font-size: 16px; }
.review { border-width: 2px; }
.errors, .notice { border-width: 2px; }
.field-error { font-size: 15px; font-weight: 700; }
.check { min-height: 48px; }
.check input { min-height: 24px; width: 24px; height: 24px; accent-color: var(--db-teal-dark); }
.welcome { background: #fff; }
.intro-grid h2 { font-size: 22px; }
.intro-grid p, .footer { font-size: 15px; }
.booking-option { box-shadow: none; }
.booking-option h2 { font-size: 32px; }
.booking-option .tile-icon { width: 88px; height: 88px; }
.booking-delivery { border-color: #38766e; }
.booking-shortcuts a { border-color: #64838e; }
.booking-shortcuts strong { font-size: 24px; }
.inventory-table { font-size: 16px; }
.inventory-table th { background: #193c50; color: white; font-weight: 750; font-size: 16px; padding: 18px 12px; border-color: #193c50; }
.inventory-table th:last-child { width: 132px; }
.inventory-table td { padding: 22px 12px; border-bottom: 2px solid #879fa9; }
.inventory-table td[data-label=Artikelnummer] { font-weight: 750; font-variant-numeric: tabular-nums; }
.inventory-table tbody tr:nth-child(even) { background: #edf3f4; }
.inventory-table tbody tr:hover, .inventory-table tbody tr:focus-within { background: #dcece9; }
.inventory-table .article-name a { font-size: 20px; color: #104f5c; }
.inventory-table .article-available strong { font-size: 30px; }
.inventory-table .badge { font-size: 14px; padding: 6px 8px; }
.inventory-table .button { font-size: 16px; min-height: 48px; }
.order-item, .order-item:first-child, .order-list > a { border-color: #879fa9; border-width: 2px; }
.order-item label { min-width: 0; }
.order-list > a:hover, .order-list > a:focus-visible { background: #e5efed; }
.comparison-card dt { font-size: 16px; font-weight: 700; }
.comparison-card dd { font-size: 28px; }
.delivery-cases label:has(input:checked) { border-color: #075563; background: #dceee8; }
.delivery-cases input { min-height: 24px; accent-color: var(--db-teal-dark); }
.scanner { box-shadow: 0 8px 24px #102b4526; }
.scanner dt { font-size: 15px; font-weight: 700; }
.scanner-tooltip { border-width: 2px; }
.tour-bubble { box-shadow: 0 4px 12px #19354626; }

@media (max-width: 1000px) {
    .inventory-table th { font-size: 15px; }
}
@media (max-width: 920px) {
    .inventory-table tr { padding: 22px 14px; gap: 16px; }
    .inventory-table td { padding: 0; border: 0; }
    .inventory-table td::before { font-size: 14px; color: var(--db-muted); }
    .inventory-table .article-name a { font-size: 22px; }
    .inventory-table .article-available strong { font-size: 28px; }
    .inventory-table .badge { font-size: 14px; }
    .booking-option h2 { font-size: 28px; }
    .booking-option .tile-icon { width: 80px; height: 80px; }
}
@media (max-width: 640px) {
    h2 { font-size: 27px; }
    .main-nav { gap: 4px; margin-bottom: 20px; }
    .main-nav a { font-size: 14px; padding: 10px 8px; }
    .page-heading p { font-size: 16px; }
    .panel { padding: 24px 18px; }
    .action-tile { padding: 22px 18px; grid-template-columns: 72px minmax(0, 1fr); gap: 0 14px; }
    .action-tile svg { width: 72px; height: 72px; }
    .action-tile h2 { font-size: 25px; }
    .action-tile p, .tile-cta { font-size: 16px; }
    .dashboard-summary { padding: 18px; gap: 16px; }
    .dashboard-summary > div { padding: 14px 16px; flex-basis: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; }
    .dashboard-summary strong { font-size: clamp(32px, 9vw, 40px); white-space: nowrap; }
    .dashboard-summary span { margin: 0; font-size: 15px; }
    .dashboard-summary p { font-size: 15px; }
    .stock-grid > div { padding: 12px; }
    .stock-grid dt { font-size: 14px; }
    .stock-grid dd { font-size: 28px; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .steps li { flex-direction: row; align-items: center; font-size: 14px; }
    .form-step legend, .form-step h3 { font-size: 26px; }
    .comparison-card dd { font-size: 24px; }
}
@media (max-width: 380px) {
    .action-tile { grid-template-columns: 56px minmax(0, 1fr); gap: 0 12px; }
    .action-tile svg { width: 56px; height: 56px; }
    .action-tile h2 { font-size: 24px; }
    .stock-grid dd { font-size: 25px; }
}

/* AM-048: one clear return link in the existing brand area. */
.homepage-return { display:block; margin-top:8px; font-size:14px; font-weight:700; color:var(--db-teal-dark); text-decoration:underline; text-underline-offset:4px; }
.brand:has(.homepage-return) { padding-block:14px; }
