/* Design „Versamatic“: Schwarz/Gelb wie aodd-pumpen.de, helles Papier, klare Tabelle */
:root:not(#_){
  --vip:#1A1A1A; --tech:#FDC82F; --paper:#F7F7F5; --surface:#FFFFFF; --ink:#141414; --muted:#6B6F76; --line:#E4E5E8;
  --field:#FFFFFF; --ok:#1E7A46; --warn:#B4600A; --bad:#B42318; --rowsel:#FFF6D6; --cone:#1A1A1A; color-scheme:light;
}
body{font-size:15px}
:root:not(#_) header{background:#141414;color:#fff;border-bottom:0;padding:14px 24px}
header::after{background:var(--tech);height:4px}
.brand h1{color:#fff;font-size:21px;letter-spacing:-.01em;text-transform:uppercase}
.brand p{color:#C9CBD0;opacity:1;font-size:13px}
.brand .mark{color:#2A2A2A}
.who{color:#C9CBD0}
.who a{color:#fff;text-decoration:none;font-weight:600}
.who a:hover{color:var(--tech)}
.quota{background:rgba(255,255,255,.12);color:#fff}
.quota.low{background:var(--tech);color:#141414}
.langsw{border-color:rgba(255,255,255,.3)}
.langsw .langopt{color:#C9CBD0}
.langsw .langopt.on{background:var(--tech);color:#141414}
main{padding-top:24px}
.card{border:1px solid var(--line);border-radius:14px}
input,select{background:#fff;border:1px solid #D0D2D7;border-radius:10px;padding:9px 12px}
input:focus,select:focus{border-color:var(--tech);box-shadow:0 0 0 4px rgba(253,200,47,.28);outline:none}
.act{background:var(--vip);border-radius:10px;padding:10px 18px}
.act:hover{background:#333}
.ghost{background:#fff;color:var(--ink);border:1px solid #D0D2D7}
.ghost:hover{background:#F2F2F0}
.row a.act,.banner a.act,.modal a.act{background:var(--tech)!important;color:#141414!important;font:600 14px Barlow,sans-serif;text-decoration:none;border-radius:10px;padding:10px 18px}
th{color:var(--muted);font-size:12px;font-weight:600;background:#F9F9F8;border-bottom:1px solid var(--line)}
td{border-bottom:1px solid var(--line)}
.banner{border:1px solid #F2D27A;background:#FFF8DF;border-radius:12px}
/* Anmeldung */
.auth{margin-top:48px}
.auth .card{border-radius:16px;padding:28px;box-shadow:0 12px 32px rgba(0,0,0,.08)}
.auth h2{color:var(--ink)}
.auth a{color:var(--ink)}
.auth.split{grid-template-columns:1fr 420px;gap:56px;align-items:center}
.pitch .eyebrow{color:#9A7300}
.pitch h2{color:var(--ink);font-size:36px;letter-spacing:-.02em}
.pitch li::before{background-color:var(--ink)}
.pitch .help a{color:var(--ink)}
.msg.info{border-color:#E0B52A}
.legal h2,.legal h3,.legal a,.modal h2,.rail h2,.out h2,.stath{color:var(--ink)}
footer{border-top:1px solid var(--line);padding-top:16px}
@media (max-width:860px){.auth.split{grid-template-columns:1fr;gap:20px}.auth.split .pitch{order:2}.auth{margin-top:20px}.pitch h2{font-size:24px}}

/* ---- Werkzeug ---- */
main.tool{max-width:1280px}
.suche-karte{padding:20px 22px 16px}
.suche-label{display:block;font-weight:700;font-size:15px;margin:0 0 8px}
.bt-search{position:relative;max-width:720px}
.bt-search input{font-size:16px;padding:12px 14px}
.bt-liste{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 4px);margin:0;padding:4px 0;list-style:none;max-height:340px;overflow-y:auto;background:#fff;border:1px solid #D0D2D7;border-radius:10px;box-shadow:0 10px 28px rgba(0,0,0,.14);text-align:left}
.bt-liste[hidden]{display:none}
.bt-opt{padding:9px 14px;cursor:pointer;border-bottom:1px solid #F0F0EE;font-size:15px;line-height:1.3}
.bt-opt:last-child{border-bottom:0}
.bt-opt:hover,.bt-opt.on{background:#FFF3C7}
.bt-opt-meta{display:block;font-size:12.5px;color:var(--muted)}
.bt-opt-meta b{color:var(--ink);font-weight:600}
.bt-opt mark{background:var(--tech);color:inherit;padding:0;border-radius:2px}
.bt-leer-opt{padding:10px 14px;font-size:14px;color:var(--muted)}
.suche-hinweis{margin-top:10px}
.tabelle-karte{padding:18px 22px 20px}
.tabelle-kopf{margin-bottom:12px}
.tabelle-kopf h2{margin:0;font-size:18px;color:var(--ink)}
.bt-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:640px;font:15px Barlow,sans-serif}
.bt-table th,.bt-table td{border:1px solid #D7D8DC;padding:9px 8px;text-align:center;white-space:normal}
.bt-table thead th{background:var(--tech);color:#141414;vertical-align:top;font:600 14px Barlow,sans-serif}
.bt-table thead th.bt-th-kat{width:70px}
.bt-table thead th.bt-th-mat{text-align:left;width:170px}
.bt-th-stoff{position:relative;padding-right:26px!important}
.bt-stoff-name{display:block;font-size:14px;line-height:1.25;overflow-wrap:anywhere}
.bt-stoff-meta{display:block;font-weight:400;font-size:12px;color:#4A4A4A;margin-top:3px;overflow-wrap:anywhere}
.bt-weg{position:absolute;top:4px;right:4px;width:22px;height:22px;border:0;border-radius:6px;background:rgba(0,0,0,.08);color:#141414;font-size:17px;line-height:22px;cursor:pointer;padding:0}
.bt-weg:hover{background:#141414;color:#fff}
.bt-kat{writing-mode:vertical-lr;text-orientation:mixed;color:#fff;font-weight:700;font-size:16px;letter-spacing:.04em;padding:8px 4px;width:auto;min-width:40px}
.bt-kat-elastomer{background:#5B6168}
.bt-kat-metall{background:#6F3FD6}
.bt-kat-kunststoff{background:#0E8A5F}
.bt-mat{background:#F6F6F4;text-align:left!important;font-weight:600;color:#2B2B2B}
.bt-mat small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.bt-wert{font-weight:700;color:#fff;position:relative}
.bt-code{display:block;font-size:18px;line-height:1.1}
.bt-label{display:block;font-size:11px;font-weight:500;opacity:.95}
.bt-a{background:#22c55e}
.bt-b{background:#4ade80}
.bt-c{background:#f59e0b}
.bt-x{background:#ef4444}
.bt-nd{background:#E5E7EB;color:#6B7280}
td.bt-est{background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.24) 0 6px,transparent 6px 12px)}
td.bt-est .bt-code::after{content:" *";font-size:14px}
td.bt-nd.bt-est{background-image:none}
.tabelle-karte .empty{text-align:center;padding:28px 16px;border:1px dashed #D0D2D7;border-radius:12px;margin:0}
.bt-legend{margin-top:16px;font-size:13px;color:#3A3A3A;line-height:1.5}
.bt-legend-row{display:flex;flex-wrap:wrap;gap:8px 16px;margin-bottom:6px}
.bt-legend-row span{display:inline-flex;align-items:center;gap:6px}
.bt-swatch{display:inline-block;width:18px;height:18px;border-radius:4px;border:1px solid #BDBFC4}
.bt-swatch.bt-est{background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.4) 0 4px,transparent 4px 8px)}
.bt-legend p{margin:4px 0 0;max-width:90ch}
#bt-fehler{margin:10px 0 0}
@media (max-width:760px){.suche-karte,.tabelle-karte{padding:16px}.bt-table thead th.bt-th-mat{width:120px}.bt-table thead th.bt-th-kat{width:36px}.bt-kat{font-size:13px;min-width:28px}}
@media print{
  header,.who,.suche-karte,.tabelle-kopf,.bt-weg,.banner,.modal,.empty{display:none!important}
  main.tool{padding:0}.card{border:0;box-shadow:none;padding:0}
  .bt-table{min-width:0;font-size:12px}.bt-code{font-size:13px}.bt-label{font-size:9px}
  .bt-wert,.bt-kat,.bt-table thead th{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body{background:#fff}
}
