/* tpl_schuett – Shop-spezifische Ergaenzungen zur Design-Vorlage (css/schuett/{tokens,base,components,pages}.css
   werden 1:1 aus /vorlage uebernommen und NICHT hier angepasst). Nur Bruecken zum modified-Markup. */

/* ---------- Seitenhuelle ---------- */
.layout_wrap.page { width: 100%; }
.header__tools .col_account,
.header__tools .col_wishlist,
.header__tools .col_cart { position: static; flex: none; width: auto; padding: 0; text-align: left; }
.header__tools #cart_short { background: none; width: auto; height: auto; }
.header__tools .tool { color: inherit; }
.toggle_overlay { display: none; }

/* Suchfeld (box_search.html) */
.header .search .search__cat { display: none; }
.header .suggestionsBox { grid-column: 1 / -1; position: relative; }

/* ---------- Haupt-Navigation: Fluss aus Vorlage, Basisfarben aus Legacy-CSS ueberschreiben ---------- */
.nav__list li { margin: 0; padding: 0; }

/* ---------- Footer-Boxen (box_content / box_information) ---------- */
.footer__col .footer__links li { margin: 0; padding: 0; }
.footer__col .footer__links a { display: inline; padding: 0; background: none; }

/* ---------- Listing (module/product_listing, listing_filter, pagination) ---------- */
.results-bar__tools { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-left: auto; }
.results-bar__field { display: flex; align-items: center; gap: var(--space-2); }
.results-bar__field form { margin: 0; }
.filter form { margin: 0; }
.filter__item--select { padding: var(--space-3) var(--space-4); }
.filter__item--select select { width: 100%; min-height: 40px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); background: var(--color-white); font: inherit; }
.filter__label { display: block; margin-bottom: var(--space-1); font-size: 0.8125rem; font-family: var(--font-spec); color: var(--color-muted); }
.filter__selected { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-2); padding: 0; list-style: none; }
.filter__selected a { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--color-brand-tint); color: var(--color-brand-dark); font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.filter__selected svg { width: 12px; height: 12px; }
a.filter__reset { display: grid; place-items: center; text-decoration: none; }
.pagination { display: grid; gap: var(--space-3); justify-items: center; }
.pagination__text { margin: 0; font-size: 0.875rem; color: var(--color-muted); }
.cat-text { padding-block: var(--space-6); color: var(--color-muted); }
.listing__layout--wide { grid-template-columns: 1fr !important; }
.filter__count { color: var(--color-muted); font-size: 0.875rem; }
.filter__name { flex: 1; }
.filter--tags .filter__reset { margin-top: var(--space-3); }

/* ---------- Artikelseite ---------- */
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.pdp__thumbs button { width: 64px; height: 64px; padding: 4px; border: 1px solid var(--color-border); background: var(--color-white); cursor: pointer; }
.pdp__thumbs button.is-active, .pdp__thumbs button:hover { border-color: var(--color-brand); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__stage img { width: min(100%, 420px); }
.pdp__description { max-width: 52rem; }
.specs__icon { display: inline-block; max-height: 28px; width: auto; vertical-align: middle; }
.buybox form, form.buybox { margin: 0; }
.buybox__extra { display: grid; gap: var(--space-2); }
.qty noscript label { display: inline-flex; align-items: center; gap: var(--space-2); }
.pdp__offer { display: none; }
.pdp .cta-band { margin-top: var(--space-6); }

/* ---------- Warenkorb ---------- */
.cart-list { margin: 0; padding: 0; list-style: none; }
.qty__packs input { width: 5.5rem; min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); background: var(--color-white); font: inherit; }
.qty__packs form, .qty__packs { margin: 0; }
.cart-item .price__unit { display: block; }
.cart-item__remove { display: inline-flex; align-items: center; gap: var(--space-1); text-decoration: none; }
.cart-item__nudge .price__net, .cart-item__nudge .price__gross { display: none; font-weight: 700; color: var(--color-text); }
html[data-prices="netto"] .cart-item__nudge .price__net, html[data-prices="brutto"] .cart-item__nudge .price__gross { display: inline; }
.summary__alt { margin-top: var(--space-3); text-align: center; font-size: 0.875rem; color: var(--color-muted); }
.summary__country select { max-width: 100%; }
.cart__continue { margin-top: var(--space-4); }
.listing + .listing { padding-top: var(--space-5); }
.box_whatsnew, .box_specials, .box_best_sellers, .box_last_viewed, .box_xsell { padding-bottom: var(--space-6); }

/* ---------- Newsletter (box_newsletter) ---------- */
.newsletter { background: var(--color-surface); border-top: 1px solid var(--color-border); }
.newsletter__inner { display: grid; gap: var(--space-4); padding-block: var(--space-6) var(--space-3); align-items: center; }
.newsletter__title { margin: 0 0 var(--space-1); font-size: 1.25rem; font-weight: 700; }
.newsletter__text p { margin: 0; color: var(--color-muted); }
.newsletter__form { display: flex; gap: var(--space-2); margin: 0; }
.newsletter__form input[type="email"], .newsletter__form input[type="text"] { flex: 1; min-width: 0; min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); background: var(--color-white); font: inherit; }
.newsletter__note { margin-block: 0; padding-bottom: var(--space-5); font-size: 0.8125rem; color: var(--color-muted); }
@media (min-width: 900px) { .newsletter__inner { grid-template-columns: 1fr 1fr; } }

/* ---------- Copyright-Zeile des Cores (Pflichtangabe modified) ---------- */
.copyright { margin: 0; padding: var(--space-2) var(--gutter); background: var(--color-footer); border-top: 1px solid var(--color-footer-line); text-align: center; font-size: 0.75rem; }
.copyright a, .copyright a span { color: var(--color-on-dark-3); text-decoration: none; }
.copyright a:hover span { color: var(--color-white); }

/* Eingabefelder des Cores: eckig wie die Vorlage */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], select, textarea { border-radius: 0; }
.section-more { display: inline-block; margin: calc(-1 * var(--space-3)) 0 var(--space-4); font-weight: 500; text-decoration: none; color: var(--color-brand); }
.section-more::after { content: " \2192"; }
.copyright a, .copyright a span { color: var(--color-on-dark-2); }

/* ---------- Buttons des Cores (.cssButton*) im Look der Vorlage ---------- */
.cssButton { font-family: var(--font-base); font-weight: 700; border: 0; border-radius: 0; min-height: 44px; padding: var(--space-2) var(--space-4); gap: var(--space-2); opacity: 1; transition: background 0.15s, border-color 0.15s; }
.cssButton:hover { opacity: 1; }
.cssButtonText { font-size: 1rem; line-height: 1.2; text-transform: none; padding: 0; }
.cssButtonIcon { font-size: 1em; line-height: 1; padding: 0; }
.cssButtonColor2 { background: var(--color-brand); color: var(--color-white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.cssButtonColor2:hover { background: var(--color-brand-dark); }
.cssButtonColor1, .cssButtonColor3 { background: var(--color-white); color: var(--color-text); border: 1px solid var(--color-border-strong); }
.cssButtonColor1:hover, .cssButtonColor3:hover { background: var(--color-surface); border-color: var(--color-text); }
.cssButtonColor4 { background: var(--color-text); color: var(--color-white); }
.cssButtonColor4:hover { background: #000; }
.cssButtonColor5 { background: transparent; color: var(--color-muted); }
.cssButtonColor5:hover { color: var(--color-brand); }

/* ---------- Flyouts (Konto/Warenkorb/Einstellungen) ---------- */
.toggle_account, .toggle_cart, .toggle_wishlist, .toggle_settings { background: var(--color-white); color: var(--color-text); box-shadow: -8px 0 24px rgb(0 0 0 / 12%); }
.toggle_headline { margin: 0 0 var(--space-4); padding: 0 0 var(--space-2); border-bottom: 2px solid var(--color-brand); background: none; font-size: 1.125rem; font-weight: 700; text-transform: none; text-align: left; color: var(--color-text); }
.toggle_closer { border-radius: 0; }
.toggle_overlay { background: rgb(0 0 0 / 45%); }

/* ---------- Meldungen ---------- */
.errormessage, .infomessage, .successmessage, .warningmessage { border-radius: 0; font-size: 0.9375rem; }

/* ---------- Seiten im Core-Markup (Konto, Checkout, Inhalte): Container, Ueberschriften, Karten ---------- */
.layout_content { margin: 0 0 var(--space-7); }
.content_big, .content_medium, .content_small { width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
.content_big, .content_medium, .content_small { max-width: calc(var(--container) + 2 * var(--gutter)); }
main h1 { margin: 0 0 var(--space-4); font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; color: var(--color-brand); }
.hero__title { color: var(--color-white); }
main h2 { margin: var(--space-5) 0 var(--space-3); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
main h3 { margin: var(--space-4) 0 var(--space-2); font-size: 1.125rem; font-weight: 700; }
main p { margin-block: 0 var(--space-3); }
.subline { margin: 0 0 var(--space-3); padding-bottom: var(--space-2); border-bottom: 2px solid var(--color-brand); font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.contentbox { padding: var(--space-5); border: 1px solid var(--color-border); background: var(--color-white); box-shadow: var(--shadow-card); }
.contentbox + .contentbox { margin-top: var(--space-4); }
.contentbox.grey { background: var(--color-surface); }
.content_site a, .contentbox a:not(.cssButton), .login a, .account a:not(.cssButton), .checkout_info a { color: var(--color-brand-dark); text-underline-offset: 3px; }
.button_row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-4); }
.button_row .br_left, .button_row .br_right { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.button_row .br_right { margin-left: auto; }
.button_row .br_btn_1, .button_row .br_btn_0 { min-width: 12rem; }
.button_row .cssButton { width: 100%; }
.flex_column_row { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .flex_column_row { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Formularfelder des Cores */
.field_item_1, .field_item_2, .field_item_3, .field_item_4, .field_item_5, .field_item_6, .field_item_7 { margin-bottom: var(--space-3); }
.field_text { display: block; margin-bottom: var(--space-1); font-size: 0.875rem; font-weight: 500; color: var(--color-text); }
.field_item_1 input[type="text"], .field_item_1 input[type="email"], .field_item_1 input[type="tel"], .field_item_1 input[type="password"], .field_item_1 input[type="number"], .field_item_1 select, .field_item_1 textarea,
[class*="field_item"] input[type="text"], [class*="field_item"] input[type="email"], [class*="field_item"] input[type="tel"], [class*="field_item"] input[type="password"], [class*="field_item"] select, [class*="field_item"] textarea {
  width: 100%; min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); border-radius: 0; background: var(--color-white); color: var(--color-text); font: inherit;
}
[class*="field_item"] textarea { padding: var(--space-3); min-height: 8rem; }
[class*="field_item"] input:focus, [class*="field_item"] select:focus, [class*="field_item"] textarea:focus { outline: var(--focus); outline-offset: 0; }
.inputRequirement { color: var(--color-brand); }

/* ---------- Checkout: Auswahl-Karten (Versand/Zahlung) ---------- */
.checkout_shipping, .checkout_payment, .checkout_confirmation, .checkout_success, .checkout_shipping_address, .checkout_payment_address { padding-bottom: var(--space-6); }
.checkout_row { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .checkout_row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; } }
.checkout_info { padding: var(--space-4); background: var(--color-surface); }
.choices { display: grid; gap: var(--space-2); margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.choice { border: 1px solid var(--color-border-strong); background: var(--color-white); }
.choice:has(input:checked) { border-color: var(--color-brand); box-shadow: inset 4px 0 0 var(--color-brand); background: var(--color-brand-tint); }
.choice > label, .choice.is-static > .choice__body { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4); cursor: pointer; }
.choice.is-static > .choice__body { cursor: default; flex-direction: column; gap: var(--space-1); }
.choice input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--color-brand); }
.choice__body { flex: 1; display: grid; gap: var(--space-1); }
.choice__title { font-weight: 700; }
.choice__text { font-size: 0.875rem; color: var(--color-muted); }
.choice__price { font-weight: 700; white-space: nowrap; }
.choice__fields { display: none; padding: 0 var(--space-4) var(--space-4) calc(var(--space-4) + 20px + var(--space-3)); }
.choice:has(input:checked) .choice__fields { display: block; }
.choice.is-error { border-color: var(--color-brand); }
.choice-gift { margin-bottom: var(--space-4); padding: var(--space-3) var(--space-4); border: 1px dashed var(--color-border-strong); }
.choice-gift__title { display: flex; justify-content: space-between; font-weight: 700; }
.choice-gift__check { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 0.875rem; }
.checkoutconditions { margin-bottom: var(--space-2); }
.cus_check input[type="checkbox"], .cus_radio input[type="radio"] { accent-color: var(--color-brand); }
.paymentmoduledata { width: 100%; border-collapse: collapse; }
.paymentmoduledata td { padding: var(--space-1) var(--space-2) var(--space-1) 0; vertical-align: middle; }
.checkout_row.cf::before, .checkout_row.cf::after, .flex_column_row.cf::before, .flex_column_row.cf::after { content: none; display: none; }

/* Checkout-Kopf (ohne Navigation/Suche) */
.layout_header_checkout { border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-4); }
.layout_header_checkout_inner { max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-4) var(--gutter); }
.flex_header_checkout_row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.col_logo_checkout img { width: clamp(150px, 28vw, 260px); height: auto; }
.col_logo_back a { font-weight: 500; text-decoration: none; }
.col_logo_back a:hover { color: var(--color-brand); }
.col_logo_back a::before { content: "\2190  "; }
.content_small .container, .content_medium .container, .content_big .container { padding-inline: 0; }
textarea { max-width: 100%; box-sizing: border-box; }
.checkout_comment textarea, .checkout_info textarea { width: 100%; min-height: 6rem; padding: var(--space-3); border: 1px solid var(--color-border-strong); border-radius: 0; background: var(--color-white); font: inherit; }
.of_pack { display: block; font-size: 0.75rem; color: var(--color-muted); }
.arrownav a, .account_navigation a, .navigation_item a { color: var(--color-text); text-decoration: none; }
.arrownav a:hover, .account_navigation a:hover, .navigation_item a:hover { color: var(--color-brand); }

/* ---------- B2B-Checkbox (Registrierung) ---------- */
.b2b-check { display: flex; gap: var(--space-3); align-items: flex-start; margin: 0 0 var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border-strong); background: var(--color-surface); cursor: pointer; }
.b2b-check:has(input:checked) { border-color: var(--color-brand); background: var(--color-brand-tint); }
.b2b-check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color-brand); }
.b2b-check small { display: block; margin-top: var(--space-1); font-size: 0.8125rem; font-weight: 400; color: var(--color-muted); }
.b2b-fields[hidden] { display: none; }
.summary__rows .summary__country { display: grid; gap: var(--space-1); }
.summary__rows .summary__country dd { margin: 0; }
.summary__country select { width: 100%; min-height: 40px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); background: var(--color-white); font: inherit; }

/* ---------- Bestelldetails / Zahlungsinformation (Core-Markup) ---------- */
.paymentinfotable { width: 100%; max-width: 40rem; border-collapse: collapse; }
.paymentinfotable td { padding: var(--space-1) var(--space-3) var(--space-1) 0; vertical-align: top; }
.of_col_qty { min-width: 8.5rem; }
.of_col_qty_inner, .of_quantity_field { white-space: normal; text-align: left; }
@media (min-width: 760px) { .of_col_qty, .of_header_col_qty { width: 230px; } .of_header_col_qty { text-align: left; } }
.account_history_info .of_quantity_update { width: 44px; flex: none; }
.account_history_info .of_quantity_field { flex: 1 1 auto; min-width: 9rem; }
.content_site { max-width: 62rem; }
.content_site ul { padding-left: 1.25rem; }

/* ---------- Wartungsseite (offline.html) ---------- */
.offline { min-height: 100vh; display: grid; place-items: center; padding: var(--space-5) var(--gutter); background: var(--color-surface); }
.offline__card { width: 100%; max-width: 560px; background: var(--color-white); border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }
.offline__logo { display: block; width: 240px; height: auto; margin: var(--space-5) var(--space-6) var(--space-4); }
.offline__stripe { height: 8px; background: repeating-linear-gradient(135deg, var(--color-brand) 0 8px, #fff 8px 16px); }
.offline__title, .offline__msg, .offline__contact { margin-inline: var(--space-6); }
.offline main h1, .offline__title { margin-top: var(--space-5); font-size: clamp(1.75rem, 5vw, 2.25rem); }
.offline__msg { color: var(--color-muted); }
.offline__contact { padding-bottom: var(--space-6); font-weight: 500; }
.offline__contact a { color: var(--color-brand-dark); text-underline-offset: 3px; }

/* ---------- Fehlerseite (404 u. a.) ---------- */
.errorpage { margin-block: var(--space-5); text-align: left; }
.errorpage__title { margin-bottom: var(--space-3); }
.errorpage__search { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2); max-width: 36rem; margin: var(--space-4) 0; }
.errorpage__search input[type="text"] { min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); background: var(--color-white); font: inherit; }
.errorpage__back .cssButton { width: auto; display: inline-flex; }

/* ---------- Sitemap ---------- */
.sitemap_standard { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: var(--space-5); }
.sitemap ul { margin: 0; padding: 0; list-style: none; }
.sitemap_standard > ul { break-inside: avoid; }
.sitemap li { margin: 0 0 var(--space-2); }
.sitemap .sitemap_header > a { display: block; margin-bottom: var(--space-2); padding-bottom: var(--space-1); border-bottom: 2px solid var(--color-brand); font-weight: 700; text-decoration: none; }
.sitemap a { color: var(--color-text); text-decoration: none; }
.sitemap a:hover { color: var(--color-brand); text-decoration: underline; }
.sitemap .sitemap_header > ul { padding-left: var(--space-2); }

/* ---------- Popups / Druckansichten ---------- */
body.popupcontent { margin: 0; padding: var(--space-5); background: var(--color-white); font-size: 1rem; line-height: 1.55; }
body.popupcontent h1 { font-size: 1.75rem; }
.sitemaplist > ul.sitemapcat { column-rule: 0; }
.sitemaplist > ul.sitemapcat > li.level1 { border: 0; margin-bottom: var(--space-5); overflow: visible; }
.sitemaplist > ul.sitemapcat > li.level1 > a { padding: 0 0 var(--space-1); border-bottom: 2px solid var(--color-brand); font-weight: 700; color: var(--color-text); text-decoration: none; }
.sitemaplist > ul.sitemapcat > li > ul li { border-top: 0; }
.sitemaplist > ul.sitemapcat > li > ul li a { padding: var(--space-1) 0; background: none; }
.printlogo img, .printlogo_admin img { width: 240px; height: auto; }

/* EU-Gewaehrleistungshinweis (amtliche Grafik, VO (EU) 2025/1960 – nicht veraendern/beschneiden) */
.gwl { margin: var(--space-5, 1.5rem) 0; }
.gwl__img { display: block; width: 100%; max-width: 26rem; height: auto; background: #fff; border: 1px solid #d5d5d5; }
.gwl--compact .gwl__img { max-width: 100%; }
.gwl__more { margin: .5rem 0 0; font-size: .875rem; }
.footer__notice { padding-block: var(--space-4, 1rem); border-top: 1px solid var(--color-footer-line); }
.gwl-open { display: inline-flex; align-items: center; gap: var(--space-4, 1rem); max-width: 34rem; color: var(--color-on-dark-3, #bbb); text-decoration: none; }
.gwl-open img { width: 4.5rem; height: auto; flex: none; border: 1px solid #d5d5d5; background: #fff; }
.footer .gwl-open:hover u, .footer .gwl-open:focus-visible u { color: var(--color-white); }
.gwl-dialog { width: min(32rem, 94vw); max-height: 94vh; padding: 0; border: 0; overflow: auto; background: #fff; }
.gwl-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.gwl-dialog .gwl { margin: 0; }
.gwl-dialog .gwl__img { max-width: 100%; border: 0; }
.gwl-dialog .gwl__more { padding: .75rem 1rem 1rem; color: #111; }
.gwl-dialog__close { position: absolute; top: .5rem; right: .5rem; width: 2.5rem; height: 2.5rem; border: 0; background: var(--color-brand); color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.footer .gwl-dialog .gwl__more a { color: #111; }
.gwl-open--block { display: flex; margin: var(--space-4, 1rem) 0; color: inherit; max-width: none; }
.gwl-open--block u { color: var(--color-brand-dark); text-underline-offset: 3px; }
.gwl-open--block:hover u { color: var(--color-brand); }
