/* ── Icon-Font (keseling) ── */
@font-face {
  font-family: 'keseling';
  src: url('keseling.eot?o3dilh');
  src: url('keseling.eot?o3dilh#iefix') format('embedded-opentype'),
       url('keseling.woff?o3dilh') format('woff'),
       url('keseling.ttf?o3dilh') format('truetype'),
       url('keseling.svg?o3dilh#keseling') format('svg');
  font-weight: normal; font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
  font-family: 'keseling' !important;
  speak: none; font-style: normal; font-weight: normal;
  font-variant: normal; text-transform: none; line-height: 1;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.icon-cross:before     { content: "\ea0f"; }
.icon-loop2:before     { content: "\ea2e"; }
.icon-checkmark:before { content: "\ea10"; }
.icon-warning:before   { content: "\ea07"; }
.icon-info:before      { content: "\ea0c"; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Basis ── */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  background: #f4f6f9;
  color: #1a1a2e;
  min-height: 100vh;
  overflow-anchor: none;
  display: flex;
  flex-direction: column;
}

table, td, p { font-family: inherit; font-size: inherit; }

a         { color: navy; }
a:hover   { color: blue; }
a:visited { color: navy; }

/* ── Sticky-Wrapper ── */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ── Header ── */
.header {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  padding: 12px 24px;
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.header-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
}
.header-shop {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6em;
  font-weight: 300;
  color: #1a2655;
  letter-spacing: 0.08em;
  margin: 0;
  padding: 0;
}
.logo img {
  display: block;
  height: 36px;
  transition: height 0.3s ease;
}
.sticky-header.scrolled .header { max-height: 0; padding: 0; border-bottom: none; }

/* ── Progress Steps ── */
.progress-wrap {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  padding: 0 24px;
  overflow-anchor: none;
}
.steps {
  display: flex;
  max-width: 700px;
  margin: 0 auto;
}
button.step {
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  font-size: 1em;
  color: #9aa0ab;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.step:hover { background: #f0f4ff; color: #4f8ef7; }
.step:hover .step-num { background: #dce8fd; color: #4f8ef7; }
.step.done:hover { color: #1a6e2e; }
.step.done:hover .step-num { background: #1a6e2e; color: #fff; }
.step.error:hover { color: #c53030; }
.step.error:hover .step-num { background: #e53e3e; color: #fff; }
.step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #e8eaed;
  color: #9aa0ab;
  font-size: 0.8em;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.step.done { color: #1a6e2e; }
.step.done .step-num { background: #1a6e2e; color: #fff; font-size: 0.75em; }
.step.error { color: #c53030; }
.step.error .step-num { background: #e53e3e; color: #fff; }
/* Aktiver Schritt: Unterstrich in Statusfarbe.
   Kombinationen: active allein = blau, active+error = rot, active+done = grün */
.step.active {
  color: #1a73e8; font-weight: 700; cursor: default;
  border-bottom: 3px solid #1a73e8;
  border-radius: 6px 6px 0 0;
  padding-bottom: 11px;
}
.step.active .step-num { background: #1a73e8; color: #fff; }
.step.active:hover { background: transparent; color: #1a73e8; }
.step.active:hover .step-num { background: #1a73e8; color: #fff; }

.step.active.error { color: #c53030; border-bottom-color: #c53030; }
.step.active.error .step-num { background: #e53e3e; color: #fff; }
.step.active.error:hover { color: #c53030; }
.step.active.error:hover .step-num { background: #e53e3e; }

.step.active.done { color: #1a6e2e; border-bottom-color: #1a6e2e; }
.step.active.done .step-num { background: #1a6e2e; color: #fff; font-size: 0.75em; }
.step.active.done:hover { color: #1a6e2e; }
.step.active.done:hover .step-num { background: #1a6e2e; }
span.step { cursor: default; }
span.step:hover { background: transparent; color: #9aa0ab; }
span.step:hover .step-num { background: #e8eaed; color: #9aa0ab; }

/* ── Seiteninhalt ── */
.page { max-width: 700px; margin: 32px auto; padding: 0 16px 48px; }

.section-title {
  font-size: 1.4em;
  font-weight: 700;
  margin: 0 0 6px 0;
  padding: 0;
  letter-spacing: -0.02em;
}
.section-sub { color: #6b7280; font-size: 0.9em; margin-bottom: 24px; }
.subh-hint { color: #6b7280; margin: 0 0 0.9em 18px; }
.subh-hint a { color: inherit; }

/* ── 3 Karten ── */
.cards { display: flex; gap: 14px; margin-bottom: 32px; }

.card {
  flex: 1;
  background: #fff;
  border: 1.5px solid #e8eaed;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.card.paypal { border-color: #003087; }
.card.paypal .card-title { color: #003087; }
.card.paypal .card-btn { background: #003087; }

.card.guest { border-color: #003087; }
.card.guest .card-title { color: #003087; }
.card.guest .card-btn { background: #003087; }

.card.account { border-color: #1a6e2e; background: #f6fdf7; }
.card.account .card-title { color: #1a6e2e; }
.card.account .card-btn { background: #1a6e2e; }

.card-icon { font-size: 1.8em; margin-bottom: 10px; }
.card-title { font-weight: 700; font-size: 0.95em; margin-bottom: 6px; }
.card-desc { font-size: 0.8em; color: #6b7280; margin-bottom: 16px; line-height: 1.4; min-height: 2.8em; }
.card-btn {
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 0;
  width: 100%;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.01em;
}
.card-btn:hover { filter: brightness(1.12); }
.card-btn:active { filter: brightness(0.88); transform: scale(0.98); }
.card-btn:disabled { background: #b8d4be !important; cursor: default; }

/* ── Trennlinie ── */
.divider {
  display: flex; align-items: center; gap: 12px;
  color: #9aa0ab; font-size: 0.82em; margin-bottom: 24px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: #e8eaed;
}

/* ── Formular ── */
.form-card {
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #e8eaed;
  padding: 24px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .col1 { grid-column: 1; }
.form-grid .col2 { grid-column: 2; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 1em; font-weight: 600; color: #374151; }
.field label .req { color: #e53e3e; margin-left: 2px; }
.field-hint { display: none; font-size: 1em; font-weight: 600; color: #e53e3e; margin-left: 10px; background: yellow; padding: 0 4px; border-radius: 3px; }
.field input, .field select, .field textarea {
  padding: 9px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 7px;
  font-size: 1em;
  font-family: inherit;
  color: #1a1a2e;
  background: #fff;
  transition: border-color 0.15s;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #4f8ef7;
  box-shadow: 0 0 0 3px rgba(79,142,247,0.12);
}
.field textarea { resize: vertical; min-height: 80px; }

.plz-ort { display: flex; gap: 10px; align-items: flex-start; }

.form-section,
.page.WebShop .tisep { font-weight: 700; font-size: 1.1em; color: #374151;
                margin: 2.5em 0 14px; padding: 0 0 6px 0;
                border-bottom: 1px solid #e8eaed; border-top: none; }
.form-card > .form-section:first-child,
.form-card > .tisep:first-child { margin-top: 0; }

.checkbox-row { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-row input[type=checkbox] { margin-top: 2px; flex-shrink: 0; }
.checkbox-row label { font-size: 1em; color: #4b5563; line-height: 1.4; }
.page.WebShop input[type=checkbox] { }

#anredepv {
  font-size: 1em;
  color: #5a4200;
  background: #fffbe6;
  border: 1px solid #f5d76e;
  border-left: 4px solid #f5a623;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 4px 0 16px;
  line-height: 1.5;
}

/* ── Footer ── */
.site-footer {
  background: #1a1a2e;
  color: #9aa0ab;
  margin-top: auto;
  padding: 28px 24px;
  font-size: 0.82em;
}
.site-footer-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer a { color: #9aa0ab; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .sep { margin: 0 6px; opacity: 0.4; }

/* ── Weiteren Artikel hinzufügen ── */
.btn-add-more {
  display: block;
  margin-bottom: 12px;
  background: none;
  border: 1.5px dashed #9aa0ab;
  border-radius: 8px;
  padding: 10px 20px;
  width: 100%;
  font-size: 1em;
  color: #4f8ef7;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, border-color 0.15s;
}
.btn-add-more:hover { background: #f0f4ff; border-color: #4f8ef7; }

/* ── Footer-Button / Primär-Button ── */
.form-footer { display: flex; justify-content: flex-end; margin-top: 24px; }

.btn-primary {
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}
.btn-primary:hover { background: #2d2d4e; }

/* ── Trust-Bar ── */
.cards + .trust-bar { margin-bottom: 24px; }
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 14px;
  margin-bottom: 1em;
  padding-top: 14px;
  border-top: 1px solid #e8eaed;
  font-size: 1em;
  color: #374151;
}
.trust-bar span { white-space: nowrap; }
.trust-bar.trust-bar-top { margin-top: 0; padding-top: 0; border-top: none; margin-bottom: 2em; }

/* ── Artikelgruppen-Karten ── */
.article-cards { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.article-card {
  flex: 1; min-width: 130px;
  background: #fff;
  border: 1.5px solid #e8eaed;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9em;
  color: #374151;
  transition: box-shadow 0.15s, border-color 0.15s;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.article-card-icon { width: 24px; height: 24px; object-fit: contain; display: block; }
.article-card input[type=radio] { display: none; }
.article-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: #4f8ef7; color: #4f8ef7; }
.article-card:has(input:checked),
.article-card.selected { border-color: #1a1a2e; background: #f0f2f8; color: #1a1a2e; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* ── Nachrichten-Boxen (allgemein, modernes Design) ── */
.notice {
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 0.93em;
}
.notice-err  { background: #fff5f5; border: 1.5px solid #e53e3e; border-left: 5px solid #e53e3e; color: #c53030; }
.notice-ok   { background: #f0fdf4; border: 1.5px solid #22c55e; border-left: 5px solid #22c55e; color: #166534; }
.notice-info { background: #eff8ff; border: 1.5px solid #3b82f6; border-left: 5px solid #3b82f6; color: #1d4ed8; }
.notice-warn { background: #fffbeb; border: 1.5px solid #f59e0b; border-left: 5px solid #f59e0b; color: #92400e; }
.notice a { color: inherit; font-weight: 600; }

/* ── Fehlerausgabe (modernes Design) ── */
.page.WebShop ul.errorTop {
  list-style: none;
  background: #fff5f5;
  border: 1.5px solid #e53e3e;
  border-left: 5px solid #e53e3e;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 28px 0;
}
.page.WebShop ul.errorTop li {
  color: #c53030;
  font-size: 0.9em;
  line-height: 1.5;
  padding-left: 0;
}
.page.WebShop ul.errorTop li + li { margin-top: 6px; }

/* ── Shared Utilities (aus standard.css, Shop-relevant) ── */
.cssbtn {
  border-radius: 4px;
  transition: text-shadow .1s ease-in-out, background-color .1s ease-in-out;
  text-decoration: none;
  color: white !important;
  display: inline-block;
  padding: 6px 24px;
  background-color: #9C2A76;
  border: 2px solid #842363;
  font-size: 1.05em;
  font-weight: bold;
}
.cssbtn:hover { background-color: #A2598A; text-shadow: 0 0 12px #D8ABC9; }

.hint { background-color: yellow; padding: 8px 10px; color: black; }
p.error { color: white; background-color: red; font-weight: bold; padding: 5px; }

.skbox { background-color: #E9F2F9; padding: 8px 10px; max-width: 600px; margin-bottom: 1em; }
.skbox.info { border: 1px solid #016BB8; }
.skbox.err  { border: 1px solid red; background-color: #FFEFEF; }
.skbox.imp  { border: 1px solid #A9A900; background-color: yellow; }

.sm { font-size: 0.8em; }

/* ── WebShop-Formulare (ohne .WebShop-Wrapper in modernem Design) ── */

/* .page bekommt class="WebShop" – hier Overrides für modernes Look */
.page.WebShop input.adr,
.page.WebShop select.adr  { width: 100%; height: auto; padding: 9px 12px; border: 1.5px solid #d1d5db; border-radius: 7px; font-size: 1em; font-family: inherit; outline: none; transition: border-color 0.15s; }
.page.WebShop textarea.adr { width: 100%; padding: 9px 12px; border: 1.5px solid #d1d5db; border-radius: 7px; font-size: 1em; font-family: inherit; outline: none; transition: border-color 0.15s; resize: vertical; }
.page.WebShop input.adr:focus,
.page.WebShop select.adr:focus,
.page.WebShop textarea.adr:focus { border-color: #4f8ef7; box-shadow: 0 0 0 3px rgba(79,142,247,0.12); }
.page.WebShop input.adr.error,
.page.WebShop select.adr.error,
.page.WebShop textarea.adr.error { background-color: #FFF3F3 !important; border-color: #e53e3e !important; }

/* .address Tabelle im form-card */
.form-card table.address { width: 100%; border-spacing: 0; border-collapse: separate; }
.form-card table.address td { padding: 0 0 10px 0; vertical-align: top; }
.form-card table.address td.formlabel { font-size: 0.85em; font-weight: 600; color: #374151; padding-right: 16px; padding-top: 11px; white-space: nowrap; width: 160px; background: none; }


/* .shp Tabellen (Warenkorb, Fertigstellen) */
.page.WebShop table.shp { border-spacing: 0 2px; border-collapse: separate; width: 100%; margin-bottom: 16px; }
.page.WebShop table.shp td { background-color: #f4f6f9; padding: 8px 10px; border-radius: 0; }
.page.WebShop table.shp th { background-color: #0060ac !important; color: #fff; padding: 8px 10px; font-size: 0.92em; font-weight: 600; text-align: left; border-radius: 0; }
.page.WebShop table.shp th:first-child               { border-radius: 6px 0 0 0; }
.page.WebShop table.shp th:last-child                { border-radius: 0 6px 0 0; }
.page.WebShop table.shp tr.shp-total td:first-child   { border-radius: 0 0 0 6px; }
.page.WebShop table.shp tr.shp-total td:last-child    { border-radius: 0 0 6px 0; }
.page.WebShop td.hf { background-color: #0060ac !important; color: #fff; border-radius: 0; }
.page.WebShop td.line { border-top: 2px solid #0060ac78; }
.page.WebShop td.cartFooterLeft { padding-left: 0 !important; }

/* .payNship Tabellen (Lieferart, Zahlungsart) — Altlast, nicht mehr genutzt */
.page.WebShop table.payNship { border-collapse: collapse; width: 100%; }
.page.WebShop table.payNship tr { background-color: #f4f6f9; border-radius: 8px; }
.page.WebShop table.payNship td { border-top: 2px solid #fff; padding: 10px 8px; }
.page.WebShop table.payNship tr:first-child td { border-top: none; }
.page.WebShop table.payNship input[type=radio] { margin-right: 8px; flex-shrink: 0; }
.page.WebShop .radioLine2 { margin-left: 0; }

/* ── Option-Cards (Lieferart / Zusatzleistungen) ── */
.option-list { display: flex; flex-direction: column; gap: 10px; }
.option-card {
  display: flex; align-items: center; gap: 14px;
  background: #f4f6f9; border: 1.5px solid #e8eaed;
  border-radius: 10px; padding: 14px 16px;
  cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s;
}
.option-card:hover { border-color: #4f8ef7; box-shadow: 0 2px 10px rgba(79,142,247,0.1); }
.option-card:has(input:checked) { background: #e8eeff; border-color: #1a1a2e; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.option-card input[type=radio] { width: 18px; height: 18px; accent-color: #1a1a2e; flex-shrink: 0; margin-right: 0; }
.option-body { flex: 1; min-width: 0; }
.option-name { font-weight: 700; font-size: 1em; }
.option-desc { color: #374151; margin-top: 4px; line-height: 1.4; }
.option-price { font-weight: 700; color: #1a1a2e; white-space: nowrap; font-size: 0.95em; }
.option-icons { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* ── Warte-Spinner ── */
@keyframes sk-spin { to { transform: rotate(360deg); } }
.sk-wait {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; background: #eaf3de; color: #27500a;
  border-radius: 6px; font-size: 1.05em; font-weight: 700;
}
.sk-wait-big {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 22px 32px; background: #eaf3de; color: #27500a;
  border-radius: 6px; font-size: 1.4em; font-weight: 700;
}
.sk-spinner {
  width: 20px; height: 20px;
  border: 3px solid #c0dd97; border-top-color: #3b6d11;
  border-radius: 50%; animation: sk-spin 0.8s linear infinite; flex-shrink: 0;
}
.sk-wait-big .sk-spinner { width: 34px; height: 34px; border-width: 4px; }

/* ── Bankverbindungs-Karte ── */
.bank-paper {
  display: block; width: 100%; position: relative;
  background: #fffef9; border-radius: 16px; border: 1px solid #e0ddd4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.08),
              0 8px 20px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.9);
  padding: 20px 24px; margin: 16px 0;
}
.bank-paper .bk-title {
  font-size: 1em; font-weight: 700; color: #2d2416;
  margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid #e8e4d8;
  padding-right: 88px;
}
.bk-copy-btn {
  position: absolute; top: 16px; right: 16px;
  background: #1a1a2e; color: #fff; border: none; border-radius: 6px;
  padding: 5px 12px; font-size: 0.82em; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.bk-copy-btn:hover { background: #2d2f4e; }
.bk-copy-btn.copied { background: #1a6e2e; }
.bank-fields {
  display: grid; grid-template-columns: max-content max-content;
  align-items: baseline; row-gap: 5px; column-gap: 14px;
}
.bk-row { display: contents; }
.bk-key { font-size: 1em; color: #8a7d68; white-space: nowrap; text-align: right; }
.bk-val { font-weight: 600; color: #2d2416; white-space: nowrap; }
.bk-iban { font-family: 'Courier New', monospace; letter-spacing: 0.05em; font-weight: 700; }

/* Mengen-Steuerung (Warenkorb) */
.qty-ctrl { display: inline-flex; align-items: stretch; border: 1.5px solid #d1d5db; border-radius: 3px; overflow: hidden; }
.qty-btn { background: #f4f6f9; border: none; padding: 0 10px; font-size: 1.1em; cursor: pointer; color: #1a1a2e; }
.qty-btn:hover { background: #e5e7eb; }
.qty-input { width: 52px; border: none; text-align: center; font-size: 1em; font-family: inherit; padding: 7px 8px; background: #fff; }

/* Ausgangseditions-Filter (Warenkorb Schritt 2) */
.from-edition-filter { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fed-option { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.fed-option input[type=radio] { width: 16px; height: 16px; accent-color: #1a1a2e; flex-shrink: 0; }

/* Edition-Tabelle (Warenkorb) */
.edition-table { width: auto; border-collapse: collapse; }
.edition-table tr { cursor: pointer; transition: background 0.12s; }
.edition-table tr:hover td { background: #f4f6f9; }
.edition-table tr:has(input:checked) td { background: #eef3ff; }
.edition-table td { padding: 4px 10px; border-bottom: 1px solid #f0f2f5; vertical-align: middle; font-size: 1em; font-family: inherit; }
.edition-table tr:last-child td { border-bottom: none; }
.edition-table td.td-radio { width: 28px; padding-right: 4px; }
.edition-table td.td-radio input[type=radio] { width: 16px; height: 16px; accent-color: #1a1a2e; }
.edition-table td.td-name { font-weight: normal; }
.edition-table td.td-badge { white-space: nowrap; padding-left: 0; padding-right: 0; }
.edition-table td.td-price { text-align: right; white-space: nowrap; padding-left: 16px; }
.edition-table tr.cat-row td {
  font-size: 1em; font-weight: 700; color: inherit;
  padding-top: 1.2em; padding-bottom: 0.3em;
  border-bottom: none; background: transparent !important; cursor: default;
}
.edition-badge {
  display: inline-block; font-size: 0.75em; font-weight: 700;
  padding: 1px 7px; border-radius: 3px; margin: 0;
  min-width: 3.4em; text-align: center;
  vertical-align: middle; line-height: 1.6;
}
.edition-badge-pro { background: #fde8e8; color: #b91c1c; }
.edition-badge-std { background: #d1fae5; color: #166534; }
.edition-badge-min { background: #fef3c7; color: #92400e; }

.qr-paper {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(160deg, #2a4a8a 0%, #1a2e5e 100%);
  border-radius: 16px; border: 1px solid #1a2e5e;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.18),
              0 8px 20px rgba(0,0,0,0.16), inset 0 2px 0 rgba(255,255,255,0.2);
  padding: 20px 24px;
}
.qr-paper img { border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); flex-shrink: 0; }
.qr-paper p { font-size: 1em; color: rgba(255,255,255,0.85); line-height: 1.6; margin: 0; }
.qr-paper p strong { color: #fff; }

/* Submit-Buttons als btn-primary */
input[type=submit].btn-primary { appearance: none; -webkit-appearance: none; font-family: inherit; }

/* Auf Rechnung / Zahlungsart modern */
.pay-rechnung-btn {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2px;
  background: #1a6e2e; color: #fff !important;
  border: none; border-radius: 8px;
  padding: 10px 28px; margin-bottom: 10px;
  cursor: pointer; text-decoration: none !important;
  width: 100%; height: 45px; box-sizing: border-box;
  transition: background 0.15s;
}
.pay-rechnung-btn:hover { background: #145c25; }
.pay-rechnung-btn strong { display: inline; font-size: 0.95em; color: #fff; font-weight: 600; }
.pay-rechnung-btn > span { font-size: 0.78em; color: rgba(255,255,255,0.78); display: block; }

.pay-area { max-width: 340px; margin: 0 auto; }
.pay-other { display: block; }
.pay-hint {
  font-size: 0.9em; color: #374151;
  background: #f0f7ff; border: 1px solid #c3d9f7;
  border-radius: 6px; padding: 9px 14px; margin-bottom: 16px;
}

/* Zahlungsart-Fehlermeldung */
.pay-missing-hint {
  font-size: 0.9em; color: #5a4200;
  background: #fffbe6; border: 1px solid #f5d76e;
  border-left: 4px solid #f5a623;
  border-radius: 6px; padding: 10px 14px; margin-bottom: 12px;
}

/* Bestellübersicht (check.phtml) */
.check-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.check-summary-block { background: #f4f6f9; border-radius: 8px; padding: 14px 16px; }
.check-summary-block strong { display: block; font-weight: 700; color: #374151; margin-bottom: 6px; }
.check-summary-block .change-link { color: #4f8ef7; margin-left: 8px; text-decoration: none; cursor: pointer; border: none; background: none; font-family: inherit; }
.check-summary-block .change-link:hover { text-decoration: underline; }
.page.WebShop th.hf input.change,
.page.WebShop td.hf input.change { color: #fff; margin-left: 1em; font-family: inherit; font-size: 1em; }
.page.WebShop .checktxt { margin-bottom: 2em; }

/* msgBox Overlay */
#msgBox { background: #f0f2f5; border: 1px solid #c0c4cc; border-radius: 8px; box-shadow: 3px 3px 12px rgba(0,0,0,0.18); width: 300px; max-height: 80vh; overflow-y: auto; }
#msgBox img { max-width: 100%; height: auto; display: block; }
#msgBoxTitle { background: #3a3f5c; color: #fff; padding: 7px 12px; font-weight: 700; border-radius: 8px 8px 0 0; }
#msgBoxContainer { padding: 12px 15px; line-height: 1.4; }

/* Warenkorb: leerer Korb Info-Kasten */
.cart-empty-box {
  color: #5a4200; background: #fffbe6;
  border: 1px solid #f5d76e; border-left: 4px solid #f5a623;
  border-radius: 6px; padding: 10px 14px; margin: 8px 0 16px; line-height: 1.5;
}

.cartArticleInfo-selection { margin-top: 1em; }

/* Warenkorb: Anzahl-Inputs */
.page.WebShop .addToCart input[name="addArticleCount"],
.page.WebShop .amount input[type=text] {
  width: 52px; padding: 7px 8px;
  border: 1.5px solid #d1d5db; border-radius: 7px;
  font-size: 1em; font-family: inherit;
  text-align: center; outline: none;
}
.page.WebShop .addToCart input.qty-input {
  border: none; border-radius: 0; padding: 7px 8px; width: 52px;
}

/* Warenkorb: Icon-Buttons (Refresh/Delete) */
.page.WebShop .amount input[type=submit] {
  font-family: 'keseling' !important;
  speak: none; font-style: normal; font-weight: normal;
  font-variant: normal; text-transform: none;
  -webkit-font-smoothing: antialiased;
  font-size: 1.1em; line-height: 1;
  border: none; padding: 5px 7px; margin-left: 4px;
  cursor: pointer; border-radius: 5px;
  background: #f4f6f9; color: #374151;
  vertical-align: middle;
}
.page.WebShop .amount input.icon-loop2 { color: #1a6e2e; }
.page.WebShop .amount input.icon-loop2:hover { background: #d4edda; }
.page.WebShop .amount input.delArticle { color: #c53030; }
.page.WebShop .amount input.delArticle:hover { background: #fee2e2; }

/* Warenkorb: Gutschein Einlösen */
#couponEditCtrls { display: flex; align-items: stretch; gap: 0; flex-wrap: nowrap; }
#couponEditCtrls input[type=text] {
  width: 220px; margin: 0 12px;
  padding: 7px 8px; border: 1.5px solid #d1d5db; border-radius: 7px;
  font-size: 1em; font-family: inherit; outline: none;
}
#couponEditCtrls input[type=submit] {
  background: #1a1a2e; color: #fff;
  border: none; border-radius: 7px;
  padding: 7px 12px; font-size: 0.88em;
  font-weight: 600; cursor: pointer; font-family: inherit; white-space: nowrap;
}
#couponEditCtrls input[type=submit]:hover { background: #2d2d4e; }

/* Warenkorb: addToCart Tabelle Kategorien */
.page.WebShop .addToCart table input[type=radio] { }
.page.WebShop .addToCart table td[colspan="3"] { padding-top: 12px; }
.page.WebShop .addToCart table tr:first-child td[colspan="3"] { padding-top: 4px; }
