{"id":470436,"publicId":"9f3afd8b-eed2-487f-8435-960dcbcc8e88","url":"\/","layout":"standard","version":"2026-10-13T13:02:27.000000Z","blocks":[{"id":5074060,"type":"html","published":1,"size":{"x":12,"y":0},"order":0,"items":[],"properties":{"html":{"id":127570567,"value":"<!DOCTYPE html>\n<html lang=\"de\">\n<head>\n  <meta charset=\"UTF-8\" \/>\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" \/>\n  <title>Shirt-King Preis\u00fcbersicht<\/title>\n  <link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\n  <link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin>\n  <link href=\"https:\/\/fonts.googleapis.com\/css2?family=Montserrat:wght@600;700;800&family=Open+Sans:wght@400;600;700&display=swap\" rel=\"stylesheet\">\n  <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.7.2\/css\/all.min.css\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\">\n  <style>\n    html { scroll-behavior: smooth; }\n    * { margin: 0; padding: 0; box-sizing: border-box; }\n\n    :root {\n      --bg: #f4f7fb;\n      --surface: #ffffff;\n      --surface-strong: #ffffff;\n      --surface-muted: #f2f7ff;\n      --text: #333333;\n      --muted: #667085;\n      --line: #d9e2ef;\n      --brand: #0056b3;\n      --brand-dark: #00418a;\n      --cta: #2fbcd5;\n      --cta-dark: #2098ad;\n      --accent: #1f2937;\n      --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);\n      --radius-xl: 16px;\n      --radius-lg: 10px;\n      --radius-md: 8px;\n    }\n\n    body {\n      font-family: \"Open Sans\", \"Segoe UI\", sans-serif;\n      color: var(--text);\n      background:\n        radial-gradient(circle at top right, rgba(47, 188, 213, 0.14), transparent 24%),\n        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);\n      min-height: 100vh;\n      padding: 24px;\n    }\n\n    h1, h2, h3, .tab, .choice-pill, .highlight-value, .summary-grand strong, .lang-btn {\n      font-family: \"Montserrat\", \"Open Sans\", sans-serif;\n    }\n\n    .container {\n      max-width: 1440px;\n      margin: 0 auto;\n    }\n\n    .hero-panel,\n    .calculator-card,\n    .calc-summary,\n    .catalog-shell,\n    .discount-shell {\n      background: var(--surface);\n      border: 1px solid var(--line);\n      border-radius: var(--radius-xl);\n      box-shadow: var(--shadow);\n    }\n\n    .hero-panel {\n      padding: 26px;\n      margin-bottom: 18px;\n    }\n\n    .hero-header {\n      display: flex;\n      align-items: flex-start;\n      justify-content: space-between;\n      gap: 24px;\n    }\n\n    .hero-copy-block {\n      flex: 1;\n      min-width: 0;\n    }\n\n    \/* ---------- Language switcher ---------- *\/\n    .brand-row {\n      display: flex;\n      align-items: center;\n      flex-wrap: wrap;\n      gap: 12px 18px;\n      margin-bottom: 14px;\n    }\n\n    .lang-switch {\n      display: inline-flex;\n      align-items: center;\n      gap: 4px;\n      padding: 4px;\n      border-radius: 999px;\n      background: var(--surface-muted);\n      border: 1px solid var(--line);\n    }\n\n    .lang-switch .lang-icon {\n      color: var(--muted);\n      font-size: 0.9rem;\n      padding: 0 6px 0 8px;\n    }\n\n    .lang-btn {\n      border: 0;\n      background: transparent;\n      color: var(--accent);\n      font-weight: 700;\n      font-size: 0.82rem;\n      letter-spacing: 0.04em;\n      padding: 7px 11px;\n      border-radius: 999px;\n      cursor: pointer;\n      transition: background 0.2s ease, color 0.2s ease;\n    }\n\n    .lang-btn:hover {\n      background: rgba(47, 188, 213, 0.14);\n    }\n\n    .lang-btn:focus-visible {\n      outline: 2px solid var(--cta);\n      outline-offset: 2px;\n    }\n\n    .lang-btn[aria-pressed=\"true\"] {\n      background: var(--cta);\n      color: #083c45;\n    }\n    \/* --------------------------------------- *\/\n\n    .brand-mark {\n      display: inline-flex;\n      align-items: center;\n      padding: 4px 0;\n    }\n\n    .brand-mark-text {\n      font-size: clamp(1.9rem, 4vw, 3rem);\n      font-weight: 800;\n      letter-spacing: 0.02em;\n      line-height: 1;\n      color: var(--cta);\n      text-transform: uppercase;\n    }\n\n    .hero-title {\n      font-size: clamp(1.45rem, 2.4vw, 2rem);\n      line-height: 1.04;\n      text-transform: uppercase;\n      letter-spacing: 0.03em;\n      max-width: 14ch;\n      margin-bottom: 8px;\n    }\n\n    .hero-copy {\n      color: var(--muted);\n      font-size: 0.96rem;\n      line-height: 1.45;\n      max-width: 58ch;\n      margin-bottom: 16px;\n    }\n\n    .hero-highlights {\n      display: grid;\n      grid-template-columns: repeat(2, minmax(0, 1fr));\n      gap: 10px;\n      width: min(100%, 520px);\n    }\n\n    .highlight {\n      padding: 14px;\n      border-radius: var(--radius-lg);\n      background: var(--surface-strong);\n      border: 1px solid var(--line);\n      min-width: 0;\n    }\n\n    .highlight-link {\n      text-decoration: none;\n      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;\n    }\n\n    .highlight-link:hover {\n      transform: translateY(-2px);\n      border-color: var(--cta);\n      box-shadow: 0 10px 24px rgba(47, 188, 213, 0.16);\n    }\n\n    .highlight-value {\n      font-size: clamp(1.2rem, 2vw, 1.65rem);\n      font-weight: 700;\n      color: var(--accent);\n    }\n\n    .highlight-label {\n      color: var(--muted);\n      margin-top: 4px;\n      font-size: 0.92rem;\n    }\n\n    .calculator-shell {\n      display: grid;\n      grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);\n      gap: 18px;\n      margin-bottom: 18px;\n    }\n\n    .calculator-card {\n      padding: 22px;\n      display: flex;\n      flex-direction: column;\n      gap: 14px;\n      background:\n        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.98)),\n        var(--surface);\n    }\n\n    .calculator-card h2 {\n      font-size: 1.25rem;\n      line-height: 1.1;\n      text-transform: uppercase;\n    }\n\n    .calculator-card p {\n      color: var(--muted);\n      line-height: 1.45;\n    }\n\n    .calculator-form {\n      display: grid;\n      gap: 12px;\n    }\n\n    .form-field {\n      display: grid;\n      gap: 8px;\n    }\n\n    .form-field label,\n    .summary-label {\n      font-size: 0.88rem;\n      font-weight: 700;\n      color: var(--accent);\n      text-transform: uppercase;\n      letter-spacing: 0.05em;\n    }\n\n    .form-field input,\n    .form-field select,\n    .search-box input {\n      width: 100%;\n      border: 1px solid var(--line);\n      background: var(--surface-strong);\n      color: var(--text);\n      border-radius: 12px;\n      padding: 14px 16px;\n      font-size: 1rem;\n      outline: none;\n      transition: border-color 0.2s ease, box-shadow 0.2s ease;\n    }\n\n    .form-field input:focus,\n    .form-field select:focus,\n    .search-box input:focus {\n      border-color: rgba(47, 188, 213, 0.8);\n      box-shadow: 0 0 0 4px rgba(47, 188, 213, 0.16);\n    }\n\n    .choice-group {\n      display: grid;\n      grid-template-columns: repeat(2, minmax(0, 1fr));\n      gap: 10px;\n    }\n\n    .choice-group input {\n      position: absolute;\n      opacity: 0;\n      pointer-events: none;\n    }\n\n    .choice-pill {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      min-height: 54px;\n      padding: 14px;\n      border-radius: 14px;\n      border: 1px solid var(--line);\n      background: var(--surface-strong);\n      color: var(--muted);\n      font-weight: 700;\n      cursor: pointer;\n      transition: all 0.2s ease;\n    }\n\n    .choice-group input:checked + .choice-pill {\n      border-color: var(--cta);\n      background: rgba(47, 188, 213, 0.14);\n      color: #0f4e59;\n    }\n\n    .choice-group input:disabled + .choice-pill {\n      background: #eef2f7;\n      border-color: #d6dce5;\n      color: #98a2b3;\n      cursor: not-allowed;\n    }\n\n    .calculator-meta {\n      display: flex;\n      flex-wrap: wrap;\n      gap: 8px;\n    }\n\n    .meta-badge {\n      display: inline-flex;\n      align-items: center;\n      gap: 8px;\n      padding: 8px 12px;\n      border-radius: 999px;\n      background: var(--surface-muted);\n      border: 1px solid var(--line);\n      color: var(--accent);\n      font-size: 0.9rem;\n      font-weight: 600;\n    }\n\n    .source-note {\n      display: grid;\n      gap: 6px;\n      padding: 10px 14px;\n      border-radius: var(--radius-md);\n      background: var(--surface-muted);\n      border: 1px solid var(--line);\n      color: var(--muted);\n      font-size: 0.92rem;\n      line-height: 1.5;\n    }\n\n    .source-note strong { color: var(--accent); }\n\n    .source-note.error {\n      background: #fff1f2;\n      border-color: #f5c2c7;\n      color: #b42318;\n    }\n\n    .source-note.error strong { color: #b42318; }\n\n    .calc-summary {\n      padding: 18px;\n      border-radius: 22px;\n      background: #0f172a;\n      color: #f8fbff;\n      display: flex;\n      flex-direction: column;\n      justify-content: space-between;\n      position: relative;\n    }\n\n    .calc-summary .summary-label {\n      color: #ffffff;\n      margin-bottom: 12px;\n    }\n\n    .summary-rows {\n      display: grid;\n      gap: 10px;\n      margin-bottom: 16px;\n    }\n\n    .summary-row,\n    .summary-total,\n    .summary-grand {\n      display: flex;\n      align-items: center;\n      justify-content: space-between;\n      gap: 20px;\n    }\n\n    .summary-row {\n      color: rgba(255, 248, 240, 0.76);\n      font-size: 0.96rem;\n    }\n\n    .summary-total {\n      padding-top: 12px;\n      border-top: 1px solid rgba(255, 248, 240, 0.18);\n      font-weight: 700;\n    }\n\n    .summary-grand {\n      margin-top: 16px;\n      padding: 16px;\n      border-radius: 16px;\n      background: linear-gradient(135deg, var(--cta), var(--cta-dark));\n      font-weight: 700;\n      font-size: 1.06rem;\n      transition: box-shadow 0.2s ease, transform 0.2s ease;\n    }\n\n    .summary-grand strong {\n      font-size: 1.35rem;\n    }\n\n    .summary-grand.pinned {\n      position: fixed;\n      right: max(24px, calc((100vw - 1440px) \/ 2 + 24px));\n      bottom: 24px;\n      width: min(420px, calc(100vw - 32px));\n      z-index: 30;\n      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);\n    }\n\n    .catalog-shell {\n      padding: 22px;\n      margin-bottom: 24px;\n    }\n\n    .catalog-header {\n      display: flex;\n      align-items: end;\n      justify-content: space-between;\n      gap: 20px;\n      margin-bottom: 20px;\n      flex-wrap: wrap;\n    }\n\n    .catalog-header h2 {\n      font-size: 1.8rem;\n      text-transform: uppercase;\n    }\n\n    .catalog-header p {\n      color: var(--muted);\n      margin-top: 6px;\n    }\n\n    .search-box {\n      flex: 1;\n      min-width: min(100%, 320px);\n    }\n\n    .filter-info {\n      margin-bottom: 16px;\n      color: var(--muted);\n      min-height: 1.2em;\n      font-size: 0.95rem;\n    }\n\n    .tabs {\n      display: flex;\n      gap: 12px;\n      margin-bottom: 22px;\n      flex-wrap: wrap;\n    }\n\n    .tab {\n      padding: 13px 18px;\n      background: var(--surface-muted);\n      border: 1px solid transparent;\n      border-radius: 999px;\n      color: var(--accent);\n      cursor: pointer;\n      transition: all 0.25s ease;\n      font-weight: 700;\n      font-size: 0.96rem;\n    }\n\n    .tab:hover {\n      border-color: rgba(47, 188, 213, 0.35);\n      transform: translateY(-2px);\n    }\n\n    .tab.active {\n      background: var(--cta);\n      color: #083c45;\n      border-color: var(--cta);\n    }\n\n    .tab .count {\n      background: rgba(31, 26, 21, 0.08);\n      padding: 4px 9px;\n      border-radius: 999px;\n      font-size: 0.85em;\n      margin-left: 8px;\n    }\n\n    .tab.active .count {\n      background: rgba(255, 255, 255, 0.18);\n      color: #fff6ec;\n    }\n\n    .content-section {\n      display: none;\n    }\n\n    .content-section.active {\n      display: block;\n    }\n\n    .price-grid {\n      display: grid;\n      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));\n      gap: 16px;\n    }\n\n    .price-card {\n      background: var(--surface-strong);\n      border-radius: 22px;\n      padding: 22px;\n      border: 1px solid var(--line);\n      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;\n      cursor: pointer;\n    }\n\n    .price-card:hover {\n      transform: translateY(-4px);\n      box-shadow: 0 14px 28px rgba(33, 25, 16, 0.08);\n      border-color: rgba(47, 188, 213, 0.4);\n    }\n\n    .price-card.selected {\n      border-color: var(--cta);\n      box-shadow: 0 0 0 3px rgba(47, 188, 213, 0.16);\n    }\n\n    .card-tag {\n      display: inline-flex;\n      margin-bottom: 12px;\n      padding: 6px 10px;\n      border-radius: 999px;\n      background: rgba(47, 188, 213, 0.1);\n      color: var(--brand-dark);\n      font-size: 0.76rem;\n      font-weight: 700;\n      text-transform: uppercase;\n      letter-spacing: 0.06em;\n    }\n\n    .card-meta {\n      margin-top: 12px;\n      display: grid;\n      gap: 6px;\n      color: var(--muted);\n      font-size: 0.85rem;\n    }\n\n    .price-card h3 {\n      color: var(--text);\n      margin-bottom: 14px;\n      font-size: 1.1em;\n      line-height: 1.4;\n      min-height: 50px;\n    }\n\n    .price {\n      font-size: 1.9em;\n      font-weight: bold;\n      color: var(--accent);\n      margin-bottom: 8px;\n    }\n\n    .price-note {\n      color: var(--muted);\n      font-size: 0.88em;\n    }\n\n    .empty-state {\n      text-align: center;\n      padding: 60px 20px;\n      background: var(--surface-strong);\n      border-radius: 20px;\n      color: var(--muted);\n      border: 1px dashed var(--line);\n    }\n\n    .empty-state-icon {\n      font-size: 4em;\n      margin-bottom: 20px;\n    }\n\n    .discount-shell {\n      margin-top: 24px;\n      padding: 28px;\n    }\n\n    .discount-shell h2 {\n      font-size: 1.8rem;\n      text-transform: uppercase;\n      margin-bottom: 10px;\n    }\n\n    .discount-shell p {\n      color: var(--muted);\n      line-height: 1.7;\n    }\n\n    .discount-table {\n      width: 100%;\n      border-collapse: collapse;\n      margin: 20px 0 18px;\n      overflow: hidden;\n      border-radius: var(--radius-md);\n      border: 1px solid var(--line);\n    }\n\n    .discount-table thead {\n      background: var(--surface-muted);\n    }\n\n    .discount-table th,\n    .discount-table td {\n      padding: 16px 18px;\n      text-align: left;\n      border-bottom: 1px solid var(--line);\n    }\n\n    .discount-table th {\n      font-family: \"Montserrat\", \"Open Sans\", sans-serif;\n      font-size: 0.92rem;\n      text-transform: uppercase;\n      color: var(--accent);\n    }\n\n    .discount-table tbody tr:last-child td {\n      border-bottom: none;\n    }\n\n    .discount-note {\n      margin-top: 10px;\n      padding: 18px 20px;\n      border-radius: var(--radius-md);\n      background: var(--surface-muted);\n      border: 1px solid var(--line);\n    }\n\n    .discount-note p + p {\n      margin-top: 14px;\n    }\n\n    @media (max-width: 1100px) {\n      body { padding: 18px; }\n      .hero-panel, .calculator-card, .calc-summary, .catalog-shell, .discount-shell { padding: 20px; }\n      .hero-header, .calculator-shell { grid-template-columns: 1fr; display: grid; }\n      .hero-header { gap: 16px; }\n      .hero-title { max-width: none; }\n      .search-box { width: 100%; min-width: 100%; }\n      .catalog-header { align-items: stretch; }\n      .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n      .summary-grand.pinned {\n        right: 18px;\n        bottom: 18px;\n        width: min(360px, calc(100vw - 36px));\n      }\n    }\n\n    @media (max-width: 768px) {\n      body {\n        padding: 16px;\n        padding-bottom: 92px;\n      }\n      .hero-panel, .calculator-card, .calc-summary, .catalog-shell, .discount-shell { padding: 18px; }\n      .hero-highlights, .choice-group { grid-template-columns: 1fr; }\n      .brand-mark-text { font-size: clamp(1.8rem, 9vw, 2.4rem); }\n      .hero-header { display: grid; }\n      .hero-highlights { width: 100%; }\n      .hero-title { font-size: 1.35rem; }\n      .highlight-value { font-size: 1.35rem; }\n      .meta-badge { width: 100%; justify-content: center; }\n      .price-grid { grid-template-columns: 1fr; }\n      .price-card { padding: 18px; }\n      .catalog-header h2, .discount-shell h2 { font-size: 1.35rem; }\n      .search-box input, .form-field select { padding: 13px 14px; }\n      .summary-grand.pinned {\n        position: fixed;\n        left: 16px;\n        right: 16px;\n        bottom: 16px;\n        width: auto;\n        margin-top: 0;\n        padding: 12px 14px;\n        border-radius: 14px;\n        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);\n        z-index: 30;\n        font-size: 0.96rem;\n      }\n      .discount-table, .discount-table thead, .discount-table tbody, .discount-table tr, .discount-table th, .discount-table td {\n        display: block; width: 100%;\n      }\n      .discount-table thead { display: none; }\n      .discount-table tr { border-bottom: 1px solid var(--line); }\n      .discount-table td { padding: 12px 16px; border-bottom: none; }\n    }\n\n    @media (max-width: 480px) {\n      body {\n        padding: 12px;\n        padding-bottom: 88px;\n      }\n      .hero-panel, .calculator-card, .catalog-shell, .discount-shell {\n        padding: 16px;\n        border-radius: 14px;\n      }\n      .summary-grand.pinned {\n        left: 12px;\n        right: 12px;\n        bottom: 12px;\n        padding: 11px 12px;\n        font-size: 0.9rem;\n      }\n      .summary-grand strong {\n        font-size: 1.18rem;\n      }\n    }\n  <\/style>\n<\/head>\n<body>\n  <div class=\"container\">\n    <section class=\"hero-panel\">\n      <div class=\"hero-header\">\n        <div class=\"hero-copy-block\">\n          <div class=\"brand-row\">\n            <div class=\"brand-mark\" aria-label=\"Shirt-King Logo\">\n              <div class=\"brand-mark-text\">SHIRT-KING<\/div>\n            <\/div>\n\n            <!-- Language switcher -->\n            <div class=\"lang-switch\" role=\"group\" data-i18n-aria=\"langLabel\" aria-label=\"Sprache\">\n              <i class=\"fa-solid fa-globe lang-icon\" aria-hidden=\"true\"><\/i>\n              <button type=\"button\" class=\"lang-btn\" data-lang=\"de\" title=\"Deutsch\" aria-pressed=\"true\">DE<\/button>\n              <button type=\"button\" class=\"lang-btn\" data-lang=\"en\" title=\"English\" aria-pressed=\"false\">EN<\/button>\n              <button type=\"button\" class=\"lang-btn\" data-lang=\"pl\" title=\"Polski\" aria-pressed=\"false\">PL<\/button>\n              <button type=\"button\" class=\"lang-btn\" data-lang=\"es\" title=\"Espa\u00f1ol\" aria-pressed=\"false\">ES<\/button>\n              <button type=\"button\" class=\"lang-btn\" data-lang=\"fr\" title=\"Fran\u00e7ais\" aria-pressed=\"false\">FR<\/button>\n            <\/div>\n          <\/div>\n          <h2 class=\"hero-title\" data-i18n=\"heroTitle\">CLOUD Preise und Leistungen<\/h2>\n          <p class=\"hero-copy\" data-i18n=\"heroCopy\">Netto-Preis\u00fcbersicht f\u00fcr Produkte, Druckoptionen und Versand.<\/p>\n        <\/div>\n        <div class=\"hero-highlights\">\n          <a class=\"highlight highlight-link\" href=\"#katalog\">\n            <div class=\"highlight-value\" data-i18n=\"hlCatalogValue\">Katalog<\/div>\n            <div class=\"highlight-label\" data-i18n=\"hlCatalogLabel\">Zu Produkten und Leistungen<\/div>\n          <\/a>\n          <a class=\"highlight highlight-link\" href=\"#rabatte\">\n            <div class=\"highlight-value\" data-i18n=\"hlDiscountValue\">Rabatt\u00fcbersicht<\/div>\n            <div class=\"highlight-label\" data-i18n=\"hlDiscountLabel\">Zu den Rabattstufen<\/div>\n          <\/a>\n        <\/div>\n      <\/div>\n    <\/section>\n\n    <section class=\"calculator-shell\">\n      <div class=\"calculator-card\">\n        <div>\n          <h2 data-i18n=\"calcTitle\">Produktrechner<\/h2>\n          <p data-i18n=\"calcIntro\">Produkt w\u00e4hlen, Druckseiten festlegen und sofort eine saubere Aufschl\u00fcsselung sehen.<\/p>\n        <\/div>\n\n        <div class=\"calculator-form\">\n          <div class=\"form-field\">\n            <label for=\"productSelect\" data-i18n=\"product\">Produkt<\/label>\n            <select id=\"productSelect\"><\/select>\n          <\/div>\n\n          <div class=\"form-field\">\n            <label for=\"shippingSelect\" data-i18n=\"shipping\">Versand<\/label>\n            <select id=\"shippingSelect\"><\/select>\n          <\/div>\n\n          <div class=\"form-field\">\n            <span class=\"summary-label\" data-i18n=\"printSides\">Druckseiten<\/span>\n            <div class=\"choice-group\">\n              <label>\n                <input type=\"radio\" name=\"printSides\" value=\"1\" checked>\n                <span class=\"choice-pill\" data-i18n=\"oneSided\">Einseitig<\/span>\n              <\/label>\n              <label>\n                <input type=\"radio\" id=\"twoSideInput\" name=\"printSides\" value=\"2\">\n                <span class=\"choice-pill\" data-i18n=\"twoSided\">Zweiseitig<\/span>\n              <\/label>\n            <\/div>\n          <\/div>\n\n          <div class=\"calculator-meta\">\n            <div class=\"meta-badge\"><i class=\"fa-solid fa-print\"><\/i> <span data-i18n=\"printMethod\">Druckart<\/span>: <span id=\"printMethodBadge\">\u2013<\/span><\/div>\n            <div class=\"meta-badge\"><i class=\"fa-solid fa-layer-group\"><\/i> <span data-i18n=\"availability\">Freigabe<\/span>: <span id=\"printSidesBadge\">\u2013<\/span><\/div>\n          <\/div>\n\n          <div class=\"source-note\" id=\"priceStatusNote\">\n            <div id=\"priceDateLine\"><strong data-i18n=\"asOf\">Stand:<\/strong> <span id=\"priceDateHint\" data-i18n=\"loading\">Live-Daten werden geladen ...<\/span><\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <div class=\"calc-summary\">\n        <div class=\"summary-label\" data-i18n=\"breakdown\">Aufschl\u00fcsselung<\/div>\n        <div class=\"summary-rows\" id=\"summaryRows\"><\/div>\n        <div class=\"summary-total\">\n          <span data-i18n=\"netSubtotal\">Zwischensumme netto<\/span>\n          <span id=\"netSubtotal\">0.00\u20ac<\/span>\n        <\/div>\n        <div class=\"summary-row\" style=\"margin-top: 12px;\">\n          <span data-i18n=\"vat\">MwSt. (19 %)<\/span>\n          <span id=\"vatAmount\">0.00\u20ac<\/span>\n        <\/div>\n        <div class=\"summary-grand\">\n          <span data-i18n=\"grandTotal\">Gesamt inkl. Versand<\/span>\n          <strong id=\"grossTotal\">0.00\u20ac<\/strong>\n        <\/div>\n      <\/div>\n    <\/section>\n\n    <section class=\"catalog-shell\" id=\"katalog\">\n      <div class=\"catalog-header\">\n        <div>\n          <h2 data-i18n=\"catalogTitle\">Produkte, Optionen und Versand<\/h2>\n          <p data-i18n=\"catalogIntro\">Direkt aus mehreren Tabs im Google Sheet geladen.<\/p>\n        <\/div>\n\n        <div class=\"search-box\">\n          <input type=\"text\" id=\"searchInput\" data-i18n-placeholder=\"searchPlaceholder\" placeholder=\"Suche nach Produkt, Option oder Versand\">\n        <\/div>\n      <\/div>\n\n      <div class=\"filter-info\" id=\"filterInfo\"><\/div>\n\n      <div class=\"tabs\">\n        <button type=\"button\" class=\"tab active\" onclick=\"switchTab(event, 'rohteile')\">\n          <span data-i18n=\"tabBlanks\">Rohteile<\/span> <span class=\"count\" id=\"countRohteile\">0<\/span>\n        <\/button>\n        <button type=\"button\" class=\"tab\" onclick=\"switchTab(event, 'optionen')\">\n          <span data-i18n=\"tabOptions\">Optionen<\/span> <span class=\"count\" id=\"countOptionen\">0<\/span>\n        <\/button>\n        <button type=\"button\" class=\"tab\" onclick=\"switchTab(event, 'versand')\">\n          <span data-i18n=\"tabShipping\">Versand<\/span> <span class=\"count\" id=\"countVersand\">0<\/span>\n        <\/button>\n      <\/div>\n\n      <div id=\"rohteile\" class=\"content-section active\">\n        <div class=\"price-grid\" id=\"rohteileGrid\"><\/div>\n      <\/div>\n\n      <div id=\"optionen\" class=\"content-section\">\n        <div class=\"price-grid\" id=\"optionenGrid\"><\/div>\n      <\/div>\n\n      <div id=\"versand\" class=\"content-section\">\n        <div class=\"price-grid\" id=\"versandGrid\"><\/div>\n      <\/div>\n    <\/section>\n\n    <section class=\"discount-shell\" id=\"rabatte\">\n      <h2 data-i18n=\"discountTitle\">M\u00f6gliche Rabattstufen<\/h2>\n      <table class=\"discount-table\">\n        <thead>\n          <tr>\n            <th data-i18n=\"thTier\">Rabattstufe<\/th>\n            <th data-i18n=\"thMinSpend\">Dein Mindestumsatz pro Monat bei uns<\/th>\n            <th data-i18n=\"thDiscount\">Rabatt auf Rechnungsbetrag<\/th>\n          <\/tr>\n        <\/thead>\n        <tbody id=\"discountBody\"><\/tbody>\n      <\/table>\n      <div class=\"discount-note\">\n        <p data-i18n=\"discountValid\">Bei Erreichen des Mindestumsatzes ist der Rabatt ab dem folgenden Monat g\u00fcltig.<\/p>\n        <p data-i18n-html=\"discountExample\"><strong>Beispiel:<\/strong> Erreicht ihr im Mai bei uns einen Umsatz in H\u00f6he von 17.000 EUR, erhaltet ihr f\u00fcr alle eure Ums\u00e4tze bei uns ab Juni 3 % Rabatt auf die Rechnungssumme.<\/p>\n      <\/div>\n    <\/section>\n  <\/div>\n\n  <script>\n    \/* =====================================================================\n       TRANSLATIONS\n       To add a language: copy one block (e.g. \"en\"), change the key\n       (e.g. \"it\"), translate the values, and add a matching\n       <button class=\"lang-btn\" data-lang=\"it\">IT<\/button> to the switcher.\n       Also add the new code to (de|en|pl|es|fr) in getTranslatedNames().\n       ===================================================================== *\/\n    const DEFAULT_LANG = \"de\";\n\n    const TRANSLATIONS = {\n      de: {\n        locale: \"de-DE\",\n        pageTitle: \"Shirt-King Preis\u00fcbersicht\",\n        langLabel: \"Sprache\",\n        heroTitle: \"CLOUD Preise und Leistungen\",\n        heroCopy: \"Netto-Preis\u00fcbersicht f\u00fcr Produkte, Druckoptionen und Versand.\",\n        hlCatalogValue: \"Katalog\",\n        hlCatalogLabel: \"Zu Produkten und Leistungen\",\n        hlDiscountValue: \"Rabatt\u00fcbersicht\",\n        hlDiscountLabel: \"Zu den Rabattstufen\",\n        calcTitle: \"Produktrechner\",\n        calcIntro: \"Produkt w\u00e4hlen, Druckseiten festlegen und sofort eine saubere Aufschl\u00fcsselung sehen.\",\n        product: \"Produkt\",\n        shipping: \"Versand\",\n        printSides: \"Druckseiten\",\n        oneSided: \"Einseitig\",\n        twoSided: \"Zweiseitig\",\n        oneSidedLower: \"einseitig\",\n        twoSidedLower: \"zweiseitig\",\n        printMethod: \"Druckart\",\n        availability: \"Freigabe\",\n        asOf: \"Stand:\",\n        loading: \"Live-Daten werden geladen ...\",\n        notSet: \"Nicht hinterlegt\",\n        breakdown: \"Aufschl\u00fcsselung\",\n        netSubtotal: \"Zwischensumme netto\",\n        vat: \"MwSt. (19 %)\",\n        grandTotal: \"Gesamt inkl. Versand\",\n        catalogTitle: \"Produkte, Optionen und Versand\",\n        catalogIntro: \"Direkt aus mehreren Tabs im Google Sheet geladen.\",\n        searchPlaceholder: \"Suche nach Produkt, Option oder Versand\",\n        searchHits: (n, term) => `${n} Treffer f\u00fcr \"${term}\"`,\n        tabBlanks: \"Rohteile\",\n        tabOptions: \"Optionen\",\n        tabShipping: \"Versand\",\n        tagBlank: \"Rohteil\",\n        tagOption: \"Option\",\n        tagShipping: \"Versand\",\n        noteBlank: \"Rohling netto, Druck und Versand separat.\",\n        noteOption: \"Zusatzkosten netto, passend f\u00fcr Kalkulationen.\",\n        noteShipping: \"Versand netto, wird im Kalkulator direkt eingerechnet.\",\n        noResults: \"Keine Ergebnisse gefunden\",\n        tryAnother: \"Versuche einen anderen Suchbegriff.\",\n        liveData: \"Live-Daten\",\n        unavailable: \"Nicht verf\u00fcgbar\",\n        print: \"Druck\",\n        handling: \"Handling\",\n        bothSides: \"Ein- oder zweiseitig\",\n        singleOnly: \"Nur einseitig\",\n        doubleOnly: \"Nur zweiseitig\",\n        loadErrorShort: \"Fehler: Live-Daten konnten nicht geladen werden.\",\n        loadErrorTitle: \"Live-Daten konnten nicht geladen werden\",\n        loadErrorHint: \"Bitte pr\u00fcfe, ob alle drei Tabs \u00f6ffentlich freigegeben sind.\",\n        discountTitle: \"M\u00f6gliche Rabattstufen\",\n        thTier: \"Rabattstufe\",\n        thMinSpend: \"Dein Mindestumsatz pro Monat bei uns\",\n        thDiscount: \"Rabatt auf Rechnungsbetrag\",\n        fromAmount: amount => `ab ${amount}`,\n        individualTerms: \"individuelle Konditionen\",\n        percent: n => `${n} %`,\n        discountValid: \"Bei Erreichen des Mindestumsatzes ist der Rabatt ab dem folgenden Monat g\u00fcltig.\",\n        discountExample: \"<strong>Beispiel:<\/strong> Erreicht ihr im Mai bei uns einen Umsatz in H\u00f6he von 17.000 EUR, erhaltet ihr f\u00fcr alle eure Ums\u00e4tze bei uns ab Juni 3 % Rabatt auf die Rechnungssumme.\"\n      },\n\n      en: {\n        locale: \"en-GB\",\n        pageTitle: \"Shirt-King Price Overview\",\n        langLabel: \"Language\",\n        heroTitle: \"CLOUD Prices and Services\",\n        heroCopy: \"Net price overview for products, print options and shipping.\",\n        hlCatalogValue: \"Catalogue\",\n        hlCatalogLabel: \"Go to products and services\",\n        hlDiscountValue: \"Discounts\",\n        hlDiscountLabel: \"Go to discount tiers\",\n        calcTitle: \"Product calculator\",\n        calcIntro: \"Choose a product, set the print sides and see a clear breakdown instantly.\",\n        product: \"Product\",\n        shipping: \"Shipping\",\n        printSides: \"Print sides\",\n        oneSided: \"One-sided\",\n        twoSided: \"Two-sided\",\n        oneSidedLower: \"one-sided\",\n        twoSidedLower: \"two-sided\",\n        printMethod: \"Print method\",\n        availability: \"Available\",\n        asOf: \"As of:\",\n        loading: \"Loading live data ...\",\n        notSet: \"Not specified\",\n        breakdown: \"Breakdown\",\n        netSubtotal: \"Net subtotal\",\n        vat: \"VAT (19%)\",\n        grandTotal: \"Total incl. shipping\",\n        catalogTitle: \"Products, options and shipping\",\n        catalogIntro: \"Loaded directly from several tabs in the Google Sheet.\",\n        searchPlaceholder: \"Search by product, option or shipping\",\n        searchHits: (n, term) => `${n} ${n === 1 ? \"result\" : \"results\"} for \"${term}\"`,\n        tabBlanks: \"Blanks\",\n        tabOptions: \"Options\",\n        tabShipping: \"Shipping\",\n        tagBlank: \"Blank\",\n        tagOption: \"Option\",\n        tagShipping: \"Shipping\",\n        noteBlank: \"Blank item, net price. Printing and shipping charged separately.\",\n        noteOption: \"Additional costs, net, ready to use in your calculations.\",\n        noteShipping: \"Shipping, net, included directly in the calculator.\",\n        noResults: \"No results found\",\n        tryAnother: \"Try a different search term.\",\n        liveData: \"Live data\",\n        unavailable: \"Unavailable\",\n        print: \"Print\",\n        handling: \"Handling\",\n        bothSides: \"One- or two-sided\",\n        singleOnly: \"One-sided only\",\n        doubleOnly: \"Two-sided only\",\n        loadErrorShort: \"Error: live data could not be loaded.\",\n        loadErrorTitle: \"Live data could not be loaded\",\n        loadErrorHint: \"Please check that all three tabs are shared publicly.\",\n        discountTitle: \"Available discount tiers\",\n        thTier: \"Discount tier\",\n        thMinSpend: \"Your minimum monthly spend with us\",\n        thDiscount: \"Discount on invoice total\",\n        fromAmount: amount => `from ${amount}`,\n        individualTerms: \"individual terms\",\n        percent: n => `${n}%`,\n        discountValid: \"Once you reach the minimum spend, the discount applies from the following month.\",\n        discountExample: \"<strong>Example:<\/strong> If you spend 17,000 EUR with us in May, you'll get a 3% discount on the invoice total for all your orders from June onwards.\"\n      },\n\n      pl: {\n        locale: \"pl-PL\",\n        pageTitle: \"Shirt-King \u2013 Cennik\",\n        langLabel: \"J\u0119zyk\",\n        heroTitle: \"CLOUD Ceny i us\u0142ugi\",\n        heroCopy: \"Przegl\u0105d cen netto produkt\u00f3w, opcji nadruku i wysy\u0142ki.\",\n        hlCatalogValue: \"Katalog\",\n        hlCatalogLabel: \"Przejd\u017a do produkt\u00f3w i us\u0142ug\",\n        hlDiscountValue: \"Rabaty\",\n        hlDiscountLabel: \"Przejd\u017a do prog\u00f3w rabatowych\",\n        calcTitle: \"Kalkulator produktu\",\n        calcIntro: \"Wybierz produkt, okre\u015bl strony nadruku i od razu zobacz przejrzyste zestawienie.\",\n        product: \"Produkt\",\n        shipping: \"Wysy\u0142ka\",\n        printSides: \"Strony nadruku\",\n        oneSided: \"Jednostronny\",\n        twoSided: \"Dwustronny\",\n        oneSidedLower: \"jednostronny\",\n        twoSidedLower: \"dwustronny\",\n        printMethod: \"Technika nadruku\",\n        availability: \"Dost\u0119pno\u015b\u0107\",\n        asOf: \"Stan na:\",\n        loading: \"\u0141adowanie aktualnych danych ...\",\n        notSet: \"Brak danych\",\n        breakdown: \"Zestawienie\",\n        netSubtotal: \"Suma cz\u0119\u015bciowa netto\",\n        vat: \"VAT (19%)\",\n        grandTotal: \"Razem z wysy\u0142k\u0105\",\n        catalogTitle: \"Produkty, opcje i wysy\u0142ka\",\n        catalogIntro: \"Wczytywane bezpo\u015brednio z kilku zak\u0142adek arkusza Google.\",\n        searchPlaceholder: \"Szukaj produktu, opcji lub wysy\u0142ki\",\n        searchHits: (n, term) => {\n          const few = n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14);\n          return `${n} ${n === 1 ? \"wynik\" : few ? \"wyniki\" : \"wynik\u00f3w\"} dla \u201e${term}\u201d`;\n        },\n        tabBlanks: \"Produkty bez nadruku\",\n        tabOptions: \"Opcje\",\n        tabShipping: \"Wysy\u0142ka\",\n        tagBlank: \"Produkt bez nadruku\",\n        tagOption: \"Opcja\",\n        tagShipping: \"Wysy\u0142ka\",\n        noteBlank: \"Produkt bez nadruku, cena netto. Nadruk i wysy\u0142ka rozliczane osobno.\",\n        noteOption: \"Koszty dodatkowe netto, do wykorzystania w kalkulacjach.\",\n        noteShipping: \"Wysy\u0142ka netto, uwzgl\u0119dniana bezpo\u015brednio w kalkulatorze.\",\n        noResults: \"Nie znaleziono wynik\u00f3w\",\n        tryAnother: \"Spr\u00f3buj innego wyszukiwanego has\u0142a.\",\n        liveData: \"Aktualne dane\",\n        unavailable: \"Niedost\u0119pne\",\n        print: \"Nadruk\",\n        handling: \"Obs\u0142uga zam\u00f3wienia\",\n        bothSides: \"Jedno- lub dwustronny\",\n        singleOnly: \"Tylko jednostronny\",\n        doubleOnly: \"Tylko dwustronny\",\n        loadErrorShort: \"B\u0142\u0105d: nie uda\u0142o si\u0119 wczyta\u0107 aktualnych danych.\",\n        loadErrorTitle: \"Nie uda\u0142o si\u0119 wczyta\u0107 aktualnych danych\",\n        loadErrorHint: \"Sprawd\u017a, czy wszystkie trzy zak\u0142adki s\u0105 udost\u0119pnione publicznie.\",\n        discountTitle: \"Mo\u017cliwe progi rabatowe\",\n        thTier: \"Pr\u00f3g rabatowy\",\n        thMinSpend: \"Tw\u00f3j minimalny miesi\u0119czny obr\u00f3t u nas\",\n        thDiscount: \"Rabat od kwoty faktury\",\n        fromAmount: amount => `od ${amount}`,\n        individualTerms: \"warunki indywidualne\",\n        percent: n => `${n}%`,\n        discountValid: \"Po osi\u0105gni\u0119ciu minimalnego obrotu rabat obowi\u0105zuje od nast\u0119pnego miesi\u0105ca.\",\n        discountExample: \"<strong>Przyk\u0142ad:<\/strong> je\u015bli w maju osi\u0105gniesz u nas obr\u00f3t w wysoko\u015bci 17 000 EUR, od czerwca otrzymasz 3% rabatu od kwoty faktury na wszystkie swoje zam\u00f3wienia.\"\n      },\n\n      es: {\n        locale: \"es-ES\",\n        pageTitle: \"Shirt-King \u2013 Lista de precios\",\n        langLabel: \"Idioma\",\n        heroTitle: \"CLOUD Precios y servicios\",\n        heroCopy: \"Resumen de precios netos de productos, opciones de impresi\u00f3n y env\u00edo.\",\n        hlCatalogValue: \"Cat\u00e1logo\",\n        hlCatalogLabel: \"Ir a productos y servicios\",\n        hlDiscountValue: \"Descuentos\",\n        hlDiscountLabel: \"Ir a los niveles de descuento\",\n        calcTitle: \"Calculadora de producto\",\n        calcIntro: \"Elige un producto, define las caras de impresi\u00f3n y obt\u00e9n al instante un desglose claro.\",\n        product: \"Producto\",\n        shipping: \"Env\u00edo\",\n        printSides: \"Caras de impresi\u00f3n\",\n        oneSided: \"Una cara\",\n        twoSided: \"Dos caras\",\n        oneSidedLower: \"una cara\",\n        twoSidedLower: \"dos caras\",\n        printMethod: \"T\u00e9cnica de impresi\u00f3n\",\n        availability: \"Disponible\",\n        asOf: \"Actualizado:\",\n        loading: \"Cargando datos en tiempo real ...\",\n        notSet: \"No especificado\",\n        breakdown: \"Desglose\",\n        netSubtotal: \"Subtotal neto\",\n        vat: \"IVA (19 %)\",\n        grandTotal: \"Total con env\u00edo\",\n        catalogTitle: \"Productos, opciones y env\u00edo\",\n        catalogIntro: \"Cargado directamente desde varias pesta\u00f1as de la hoja de Google.\",\n        searchPlaceholder: \"Buscar producto, opci\u00f3n o env\u00edo\",\n        searchHits: (n, term) => `${n} ${n === 1 ? \"resultado\" : \"resultados\"} para \u00ab${term}\u00bb`,\n        tabBlanks: \"Art\u00edculos sin estampar\",\n        tabOptions: \"Opciones\",\n        tabShipping: \"Env\u00edo\",\n        tagBlank: \"Art\u00edculo sin estampar\",\n        tagOption: \"Opci\u00f3n\",\n        tagShipping: \"Env\u00edo\",\n        noteBlank: \"Art\u00edculo sin estampar, precio neto. Impresi\u00f3n y env\u00edo aparte.\",\n        noteOption: \"Costes adicionales netos, para usar en tus c\u00e1lculos.\",\n        noteShipping: \"Env\u00edo neto, incluido directamente en la calculadora.\",\n        noResults: \"No se encontraron resultados\",\n        tryAnother: \"Prueba con otro t\u00e9rmino de b\u00fasqueda.\",\n        liveData: \"Datos en tiempo real\",\n        unavailable: \"No disponible\",\n        print: \"Impresi\u00f3n\",\n        handling: \"Gesti\u00f3n del pedido\",\n        bothSides: \"Una o dos caras\",\n        singleOnly: \"Solo una cara\",\n        doubleOnly: \"Solo dos caras\",\n        loadErrorShort: \"Error: no se pudieron cargar los datos en tiempo real.\",\n        loadErrorTitle: \"No se pudieron cargar los datos en tiempo real\",\n        loadErrorHint: \"Comprueba que las tres pesta\u00f1as est\u00e9n compartidas p\u00fablicamente.\",\n        discountTitle: \"Niveles de descuento posibles\",\n        thTier: \"Nivel de descuento\",\n        thMinSpend: \"Tu facturaci\u00f3n m\u00ednima mensual con nosotros\",\n        thDiscount: \"Descuento sobre el importe de la factura\",\n        fromAmount: amount => `desde ${amount}`,\n        individualTerms: \"condiciones individuales\",\n        percent: n => `${n} %`,\n        discountValid: \"Al alcanzar la facturaci\u00f3n m\u00ednima, el descuento se aplica a partir del mes siguiente.\",\n        discountExample: \"<strong>Ejemplo:<\/strong> si en mayo alcanzas una facturaci\u00f3n de 17.000 EUR con nosotros, a partir de junio obtendr\u00e1s un 3 % de descuento sobre el importe de la factura en todos tus pedidos.\"\n      },\n\n      fr: {\n        locale: \"fr-FR\",\n        pageTitle: \"Shirt-King \u2013 Aper\u00e7u des prix\",\n        langLabel: \"Langue\",\n        heroTitle: \"CLOUD Prix et prestations\",\n        heroCopy: \"Aper\u00e7u des prix HT pour les produits, les options d'impression et l'exp\u00e9dition.\",\n        hlCatalogValue: \"Catalogue\",\n        hlCatalogLabel: \"Voir les produits et prestations\",\n        hlDiscountValue: \"Remises\",\n        hlDiscountLabel: \"Voir les niveaux de remise\",\n        calcTitle: \"Calculateur de produit\",\n        calcIntro: \"Choisissez un produit, d\u00e9finissez les faces imprim\u00e9es et obtenez imm\u00e9diatement un d\u00e9tail clair.\",\n        product: \"Produit\",\n        shipping: \"Exp\u00e9dition\",\n        printSides: \"Faces imprim\u00e9es\",\n        oneSided: \"Une face\",\n        twoSided: \"Deux faces\",\n        oneSidedLower: \"une face\",\n        twoSidedLower: \"deux faces\",\n        printMethod: \"Technique d'impression\",\n        availability: \"Disponible\",\n        asOf: \"Mise \u00e0 jour :\",\n        loading: \"Chargement des donn\u00e9es en direct ...\",\n        notSet: \"Non renseign\u00e9\",\n        breakdown: \"D\u00e9tail\",\n        netSubtotal: \"Sous-total HT\",\n        vat: \"TVA (19 %)\",\n        grandTotal: \"Total, exp\u00e9dition incluse\",\n        catalogTitle: \"Produits, options et exp\u00e9dition\",\n        catalogIntro: \"Charg\u00e9 directement depuis plusieurs onglets du Google Sheet.\",\n        searchPlaceholder: \"Rechercher un produit, une option ou une exp\u00e9dition\",\n        searchHits: (n, term) => `${n} r\u00e9sultat${n === 1 ? \"\" : \"s\"} pour \u00ab ${term} \u00bb`,\n        tabBlanks: \"Articles vierges\",\n        tabOptions: \"Options\",\n        tabShipping: \"Exp\u00e9dition\",\n        tagBlank: \"Article vierge\",\n        tagOption: \"Option\",\n        tagShipping: \"Exp\u00e9dition\",\n        noteBlank: \"Article vierge, prix HT. Impression et exp\u00e9dition en sus.\",\n        noteOption: \"Frais suppl\u00e9mentaires HT, \u00e0 int\u00e9grer dans vos calculs.\",\n        noteShipping: \"Exp\u00e9dition HT, directement prise en compte dans le calculateur.\",\n        noResults: \"Aucun r\u00e9sultat\",\n        tryAnother: \"Essayez un autre terme de recherche.\",\n        liveData: \"Donn\u00e9es en direct\",\n        unavailable: \"Indisponible\",\n        print: \"Impression\",\n        handling: \"Frais de traitement\",\n        bothSides: \"Une ou deux faces\",\n        singleOnly: \"Une face uniquement\",\n        doubleOnly: \"Deux faces uniquement\",\n        loadErrorShort: \"Erreur : impossible de charger les donn\u00e9es en direct.\",\n        loadErrorTitle: \"Impossible de charger les donn\u00e9es en direct\",\n        loadErrorHint: \"V\u00e9rifiez que les trois onglets sont partag\u00e9s publiquement.\",\n        discountTitle: \"Niveaux de remise possibles\",\n        thTier: \"Niveau de remise\",\n        thMinSpend: \"Votre chiffre d'affaires mensuel minimum chez nous\",\n        thDiscount: \"Remise sur le montant de la facture\",\n        fromAmount: amount => `\u00e0 partir de ${amount}`,\n        individualTerms: \"conditions individuelles\",\n        percent: n => `${n} %`,\n        discountValid: \"D\u00e8s que le chiffre d'affaires minimum est atteint, la remise s'applique \u00e0 partir du mois suivant.\",\n        discountExample: \"<strong>Exemple :<\/strong> si vous r\u00e9alisez un chiffre d'affaires de 17 000 EUR chez nous en mai, vous b\u00e9n\u00e9ficiez de 3 % de remise sur le montant de la facture pour toutes vos commandes \u00e0 partir de juin.\"\n      }\n    };\n\n    \/\/ Discount tiers (numbers only \u2013 labels come from TRANSLATIONS)\n    const DISCOUNT_TIERS = [\n      { tier: \"I\",   minSpend: 10000, percent: 2 },\n      { tier: \"II\",  minSpend: 15000, percent: 3 },\n      { tier: \"III\", minSpend: 30000, percent: 4 },\n      { tier: \"IV\",  minSpend: 40000, percent: null, from: true }\n    ];\n\n    let currentLang = DEFAULT_LANG;\n\n    function t(key, ...args) {\n      const dict = TRANSLATIONS[currentLang] || TRANSLATIONS[DEFAULT_LANG];\n      const value = dict[key] ?? TRANSLATIONS[DEFAULT_LANG][key] ?? key;\n      return typeof value === \"function\" ? value(...args) : value;\n    }\n\n    \/\/ Picks the starting language: ?lang=xx in the URL > last choice > browser language > default\n    function detectInitialLang() {\n      try {\n        const fromUrl = new URLSearchParams(window.location.search).get(\"lang\");\n        if (fromUrl && TRANSLATIONS[fromUrl.toLowerCase()]) return fromUrl.toLowerCase();\n      } catch (e) {}\n\n      try {\n        const saved = localStorage.getItem(\"shirtking-lang\");\n        if (saved && TRANSLATIONS[saved]) return saved;\n      } catch (e) {}\n\n      const browserLangs = navigator.languages || [navigator.language || \"\"];\n      for (const lang of browserLangs) {\n        const short = String(lang).slice(0, 2).toLowerCase();\n        if (TRANSLATIONS[short]) return short;\n      }\n\n      return DEFAULT_LANG;\n    }\n\n    function applyStaticTranslations() {\n      document.documentElement.lang = currentLang;\n      document.title = t(\"pageTitle\");\n\n      document.querySelectorAll(\"[data-i18n]\").forEach(el => {\n        el.textContent = t(el.dataset.i18n);\n      });\n      document.querySelectorAll(\"[data-i18n-html]\").forEach(el => {\n        el.innerHTML = t(el.dataset.i18nHtml);\n      });\n      document.querySelectorAll(\"[data-i18n-placeholder]\").forEach(el => {\n        el.placeholder = t(el.dataset.i18nPlaceholder);\n      });\n      document.querySelectorAll(\"[data-i18n-aria]\").forEach(el => {\n        el.setAttribute(\"aria-label\", t(el.dataset.i18nAria));\n      });\n\n      document.querySelectorAll(\".lang-btn\").forEach(btn => {\n        btn.setAttribute(\"aria-pressed\", btn.dataset.lang === currentLang ? \"true\" : \"false\");\n      });\n\n      renderDiscountTable();\n    }\n\n    function renderDiscountTable() {\n      const numberFormat = new Intl.NumberFormat(t(\"locale\"));\n      document.getElementById(\"discountBody\").innerHTML = DISCOUNT_TIERS.map(row => {\n        const amount = `${numberFormat.format(row.minSpend)} EUR`;\n        return `\n          <tr>\n            <td>${row.tier}<\/td>\n            <td>${escapeHtml(row.from ? t(\"fromAmount\", amount) : amount)}<\/td>\n            <td>${escapeHtml(row.percent === null ? t(\"individualTerms\") : t(\"percent\", row.percent))}<\/td>\n          <\/tr>\n        `;\n      }).join(\"\");\n    }\n\n    function setLanguage(lang) {\n      if (!TRANSLATIONS[lang]) return;\n      currentLang = lang;\n      try { localStorage.setItem(\"shirtking-lang\", lang); } catch (e) {}\n\n      applyStaticTranslations();\n\n      \/\/ Re-render the dynamic parts in the new language\n      if (loadState === \"loaded\") {\n        updateFilterInfo();\n        populateCalculator();\n        updateCalculator();\n      } else if (loadState === \"error\") {\n        showLoadError();\n      }\n    }\n\n    \/* =====================================================================\n       DATA + CALCULATOR\n       ===================================================================== *\/\n    const SHEET_CONFIG = {\n      spreadsheetId: \"1HpEjWiz561YbSyUajjsJVeLM_sSYYXeY-BiqsOZwfTk\",\n      gids: {\n        rohteile: \"0\",\n        optionen: \"388398752\",\n        versand: \"1004741700\"\n      }\n    };\n\n    const VAT_RATE = 0.19;\n    const DEFAULT_OPTION_PRICES = {\n      DTG: 5.50,\n      DTF: 5.50,\n      SUB: 5.50,\n      DEFAULT: 5.50\n    };\n    const DEFAULT_HANDLING_PRICE = 0.69;\n\n    let allData = { rohteile: [], optionen: [], versand: [] };\n    let filteredData = { rohteile: [], optionen: [], versand: [] };\n    let loadState = \"loading\"; \/\/ \"loading\" | \"loaded\" | \"error\"\n\n    function escapeHtml(value) {\n      return String(value ?? \"\")\n        .replace(\/&\/g, \"&amp;\")\n        .replace(\/<\/g, \"&lt;\")\n        .replace(\/>\/g, \"&gt;\")\n        .replace(\/\"\/g, \"&quot;\")\n        .replace(\/'\/g, \"&#39;\");\n    }\n\n    function getCsvUrl(gid) {\n      return `https:\/\/docs.google.com\/spreadsheets\/d\/${SHEET_CONFIG.spreadsheetId}\/export?format=csv&gid=${gid}&ts=${Date.now()}`;\n    }\n\n    async function fetchCsv(url) {\n      const response = await fetch(url, { cache: \"no-store\" });\n      if (!response.ok) throw new Error(`HTTP ${response.status}`);\n      return response.text();\n    }\n\n    function parseCSVLine(line) {\n      const result = [];\n      let current = \"\";\n      let inQuotes = false;\n\n      for (let i = 0; i < line.length; i++) {\n        const char = line[i];\n        const next = line[i + 1];\n\n        if (char === '\"') {\n          if (inQuotes && next === '\"') {\n            current += '\"';\n            i++;\n          } else {\n            inQuotes = !inQuotes;\n          }\n        } else if (char === \",\" && !inQuotes) {\n          result.push(current);\n          current = \"\";\n        } else {\n          current += char;\n        }\n      }\n\n      result.push(current);\n      return result;\n    }\n\n    function parsePrice(value) {\n      if (value === undefined || value === null || value === \"\") return 0;\n      if (String(value).trim().toUpperCase() === \"TBA\") return 0;\n      if (String(value).trim().toLowerCase() === \"free\") return 0;\n\n      return parseFloat(\n        String(value)\n          .replace(\"\u20ac\", \"\")\n          .replace(\/\\s\/g, \"\")\n          .replace(\/\\.\/g, \"\")\n          .replace(\",\", \".\")\n      ) || 0;\n    }\n\n    function formatPrice(value) {\n      return Number(value || 0).toFixed(2) + \"\u20ac\";\n    }\n\n    \/\/ The sheet values are in German (\"einseitig\", \"zweiseitig\") \u2013 we read\n    \/\/ them as before, but show the label in the selected language.\n    function readablePrintSides(value) {\n      const text = String(value || \"\").toLowerCase();\n      if (text.includes(\"ein\") && text.includes(\"zwei\")) return t(\"bothSides\");\n      if (text.includes(\"einseitig\")) return t(\"singleOnly\");\n      if (text.includes(\"zweiseitig\")) return t(\"doubleOnly\");\n      return value || t(\"notSet\");\n    }\n\n    function isSingleOnly(value) {\n      const text = String(value || \"\").toLowerCase();\n      return text.includes(\"einseitig\") && !text.includes(\"zwei\");\n    }\n\n    \/* Optional translated names from the Google Sheet.\n       Add a column per language next to \"Name\", e.g. \"Name EN\", \"Name PL\", \"Name ES\", \"Name FR\".\n       Empty cells (or missing columns) fall back to the German name. *\/\n    function getTranslatedNames(row) {\n      const names = {};\n      Object.keys(row).forEach(header => {\n        const key = header.toLowerCase().replace(\/[^a-z]\/g, \"\");\n        const match = key.match(\/^(?:name|produkt|bezeichnung|versand)?(de|en|pl|es|fr)$\/);\n        if (match && row[header]) names[match[1]] = row[header];\n      });\n      return names;\n    }\n\n    function displayName(item) {\n      return (item.names && item.names[currentLang]) || item.name;\n    }\n\n    function parseSheet(text, section) {\n      const lines = text.split(\/\\r?\\n\/).filter(line => line.trim() !== \"\");\n      if (!lines.length) return [];\n\n      let headerIndex = 0;\n      for (let i = 0; i < Math.min(lines.length, 6); i++) {\n        const row = parseCSVLine(lines[i]).map(v => v.trim().toLowerCase());\n        const hasName = row.some(v => [\"name\", \"produkt\", \"bezeichnung\", \"artikel\", \"versand\"].includes(v));\n        const hasPrice = row.some(v => [\"price\", \"preis\", \"netto\", \"betrag\", \"kosten\"].includes(v));\n        if (hasName && hasPrice) {\n          headerIndex = i;\n          break;\n        }\n      }\n\n      const headers = parseCSVLine(lines[headerIndex]).map(h => h.trim());\n\n      const rows = lines.slice(headerIndex + 1).map(line => {\n        const values = parseCSVLine(line);\n        const row = {};\n        headers.forEach((header, index) => {\n          row[header] = (values[index] || \"\").trim();\n        });\n        return row;\n      });\n\n      if (section === \"rohteile\") {\n        return rows.map(row => ({\n          name: row[\"Name\"] || row[\"Produkt\"] || row[\"Bezeichnung\"] || \"\",\n          names: getTranslatedNames(row),\n          price: row[\"Price\"] || row[\"Preis\"] || \"\",\n          printType: row[\"Druck\"] || row[\"Druckart\"] || \"\",\n          printSides: row[\"Druckseiten\"] || row[\"Seiten\"] || \"\",\n          date: row[\"Stand:\"] || row[\"Stand: \"] || row[\"Stand\"] || \"\"\n        })).filter(item => item.name);\n      }\n\n      if (section === \"optionen\") {\n        return rows.map(row => ({\n          name: row[\"Name\"] || row[\"Produkt\"] || row[\"Bezeichnung\"] || \"\",\n          names: getTranslatedNames(row),\n          price: row[\"Price\"] || row[\"Preis\"] || \"\",\n          date: row[\"Stand:\"] || row[\"Stand: \"] || row[\"Stand\"] || \"\",\n          key: (row[\"Key\"] || row[\"calc_key\"] || row[\"Schluessel\"] || \"\").toLowerCase()\n        })).filter(item => item.name);\n      }\n\n      if (section === \"versand\") {\n        return rows.map(row => ({\n          name: row[\"Name\"] || row[\"Versand\"] || row[\"Bezeichnung\"] || \"\",\n          names: getTranslatedNames(row),\n          price: row[\"Price\"] || row[\"Preis\"] || \"\",\n          date: row[\"Stand:\"] || row[\"Stand: \"] || row[\"Stand\"] || \"\"\n        })).filter(item => item.name);\n      }\n\n      return [];\n    }\n\n    function switchTab(event, tab) {\n      document.querySelectorAll(\".tab\").forEach(el => el.classList.remove(\"active\"));\n      document.querySelectorAll(\".content-section\").forEach(el => el.classList.remove(\"active\"));\n      event.currentTarget.classList.add(\"active\");\n      document.getElementById(tab).classList.add(\"active\");\n    }\n\n    function getSelectedProduct() {\n      const index = parseInt(document.getElementById(\"productSelect\").value || \"0\", 10);\n      return filteredData.rohteile[index] || allData.rohteile[0] || null;\n    }\n\n    function getSelectedShipping() {\n      const index = parseInt(document.getElementById(\"shippingSelect\").value || \"0\", 10);\n      return allData.versand[index] || allData.versand[0] || null;\n    }\n\n    function getHandlingPrice() {\n      const explicit = allData.optionen.find(item =>\n        item.key === \"handling\" || item.name.toLowerCase().includes(\"handling\")\n      );\n      return explicit ? parsePrice(explicit.price) : DEFAULT_HANDLING_PRICE;\n    }\n\n    function getPrintOptionPrice(printType) {\n      const normalized = String(printType || \"\").toUpperCase();\n      const explicit = allData.optionen.find(item => {\n        const name = item.name.toLowerCase();\n        return (\n          item.key === `print-${normalized.toLowerCase()}` ||\n          (normalized === \"DTG\" && name.includes(\"dtg\")) ||\n          (normalized === \"DTF\" && name.includes(\"dtf\")) ||\n          (normalized === \"SUB\" && (name.includes(\"sub\") || name.includes(\"sublimation\")))\n        );\n      });\n\n      if (explicit) return parsePrice(explicit.price);\n      return DEFAULT_OPTION_PRICES[normalized] ?? DEFAULT_OPTION_PRICES.DEFAULT;\n    }\n\n    function updateFilterInfo() {\n      const searchTerm = document.getElementById(\"searchInput\").value.toLowerCase().trim();\n      if (!searchTerm) {\n        document.getElementById(\"filterInfo\").textContent = \"\";\n        return;\n      }\n      const total = filteredData.rohteile.length + filteredData.optionen.length + filteredData.versand.length;\n      document.getElementById(\"filterInfo\").textContent = t(\"searchHits\", total, searchTerm);\n    }\n\n    function matchesSearch(item, searchTerm) {\n      return [item.name, ...Object.values(item.names || {})]\n        .some(name => String(name).toLowerCase().includes(searchTerm));\n    }\n\n    function filterItems() {\n      const searchTerm = document.getElementById(\"searchInput\").value.toLowerCase().trim();\n\n      if (!searchTerm) {\n        filteredData = {\n          rohteile: [...allData.rohteile],\n          optionen: [...allData.optionen],\n          versand: [...allData.versand]\n        };\n      } else {\n        filteredData = {\n          rohteile: allData.rohteile.filter(item =>\n            matchesSearch(item, searchTerm) ||\n            String(item.printType || \"\").toLowerCase().includes(searchTerm)\n          ),\n          optionen: allData.optionen.filter(item => matchesSearch(item, searchTerm)),\n          versand: allData.versand.filter(item => matchesSearch(item, searchTerm))\n        };\n      }\n\n      updateFilterInfo();\n      renderAll();\n      populateCalculator();\n      updateCalculator();\n    }\n\n    function updateCounts() {\n      document.getElementById(\"countRohteile\").textContent = filteredData.rohteile.length;\n      document.getElementById(\"countOptionen\").textContent = filteredData.optionen.length;\n      document.getElementById(\"countVersand\").textContent = filteredData.versand.length;\n    }\n\n    function renderSection(section, items, note, tag) {\n      const grid = document.getElementById(`${section}Grid`);\n      const activeProductName = getSelectedProduct()?.name;\n\n      if (!items.length) {\n        grid.innerHTML = `\n          <div class=\"empty-state\">\n            <div class=\"empty-state-icon\"><i class=\"fa-solid fa-magnifying-glass\"><\/i><\/div>\n            <h3>${escapeHtml(t(\"noResults\"))}<\/h3>\n            <p>${escapeHtml(t(\"tryAnother\"))}<\/p>\n          <\/div>\n        `;\n        return;\n      }\n\n      const sortedProducts = filteredData.rohteile;\n\n      grid.innerHTML = items.map((item) => {\n        const productIndex = sortedProducts.findIndex(product => product.name === item.name);\n\n        return `\n          <div class=\"price-card ${section === 'rohteile' && activeProductName === item.name ? 'selected' : ''}\"\n               ${section === 'rohteile' ? `onclick=\"selectProduct(${productIndex})\"` : ''}>\n            <div class=\"card-tag\">${escapeHtml(tag)}<\/div>\n            <h3>${escapeHtml(displayName(item))}<\/h3>\n            <div class=\"price\">${escapeHtml(formatPrice(parsePrice(item.price)))}<\/div>\n            <div class=\"price-note\">${escapeHtml(note)}<\/div>\n            ${section === 'rohteile' ? `\n              <div class=\"card-meta\">\n                <div><i class=\"fa-solid fa-print\"><\/i> ${escapeHtml(t(\"printMethod\"))}: ${escapeHtml(item.printType || t(\"notSet\"))}<\/div>\n                <div><i class=\"fa-solid fa-layer-group\"><\/i> ${escapeHtml(t(\"availability\"))}: ${escapeHtml(readablePrintSides(item.printSides))}<\/div>\n              <\/div>\n            ` : ''}\n          <\/div>\n        `;\n      }).join(\"\");\n    }\n\n    function renderAll() {\n      renderSection(\"rohteile\", filteredData.rohteile, t(\"noteBlank\"), t(\"tagBlank\"));\n      renderSection(\"optionen\", filteredData.optionen, t(\"noteOption\"), t(\"tagOption\"));\n      renderSection(\"versand\", filteredData.versand, t(\"noteShipping\"), t(\"tagShipping\"));\n      updateCounts();\n    }\n\n    function populateCalculator() {\n      const productSelect = document.getElementById(\"productSelect\");\n      const shippingSelect = document.getElementById(\"shippingSelect\");\n\n      const currentProductValue = productSelect.value;\n      const currentShippingValue = shippingSelect.value;\n\n      productSelect.innerHTML = filteredData.rohteile.map((item, index) =>\n        `<option value=\"${index}\">${escapeHtml(displayName(item))} - ${formatPrice(parsePrice(item.price))}<\/option>`\n      ).join(\"\");\n\n      shippingSelect.innerHTML = allData.versand.map((item, index) =>\n        `<option value=\"${index}\">${escapeHtml(displayName(item))} - ${formatPrice(parsePrice(item.price))}<\/option>`\n      ).join(\"\");\n\n      if (filteredData.rohteile.length) {\n        if (currentProductValue !== \"\" && filteredData.rohteile[parseInt(currentProductValue, 10)]) {\n          productSelect.value = currentProductValue;\n        } else {\n          productSelect.value = \"0\";\n        }\n      }\n\n      if (allData.versand.length) {\n        if (currentShippingValue !== \"\" && allData.versand[parseInt(currentShippingValue, 10)]) {\n          shippingSelect.value = currentShippingValue;\n        } else {\n          const defaultShippingIndex = allData.versand.findIndex(item => item.name === \"DHL Paket National\");\n          shippingSelect.value = String(defaultShippingIndex >= 0 ? defaultShippingIndex : 0);\n        }\n      }\n    }\n\n    function syncPrintControls(product) {\n      const twoSideInput = document.getElementById(\"twoSideInput\");\n      const oneSideInput = document.querySelector('input[name=\"printSides\"][value=\"1\"]');\n      const priceStatusNote = document.getElementById(\"priceStatusNote\");\n      const priceDateLine = document.getElementById(\"priceDateLine\");\n      const singleOnly = isSingleOnly(product.printSides);\n\n      twoSideInput.disabled = singleOnly;\n      if (singleOnly && twoSideInput.checked) {\n        oneSideInput.checked = true;\n      }\n\n      document.getElementById(\"printMethodBadge\").textContent = product.printType || t(\"notSet\");\n      document.getElementById(\"printSidesBadge\").textContent = readablePrintSides(product.printSides);\n      priceStatusNote.classList.remove(\"error\");\n      priceDateLine.innerHTML = `<strong>${escapeHtml(t(\"asOf\"))}<\/strong> <span id=\"priceDateHint\">${escapeHtml(product.date || t(\"notSet\"))}<\/span>`;\n    }\n\n    function updateCalculator() {\n      const product = getSelectedProduct();\n      const shipping = getSelectedShipping();\n\n      if (!product || !shipping) {\n        document.getElementById(\"summaryRows\").innerHTML = `\n          <div class=\"summary-row\">\n            <span>${escapeHtml(t(\"liveData\"))}<\/span>\n            <span>${escapeHtml(t(\"unavailable\"))}<\/span>\n          <\/div>\n        `;\n        return;\n      }\n\n      syncPrintControls(product);\n\n      const sides = parseInt(document.querySelector('input[name=\"printSides\"]:checked').value, 10);\n      const productPrice = parsePrice(product.price);\n      const printPricePerSide = getPrintOptionPrice(product.printType);\n      const printPrice = printPricePerSide * sides;\n      const handling = getHandlingPrice();\n      const shippingPrice = parsePrice(shipping.price);\n\n      const netSubtotal = productPrice + printPrice + handling + shippingPrice;\n      const vatAmount = netSubtotal * VAT_RATE;\n      const grossTotal = netSubtotal + vatAmount;\n\n      const rows = [\n        { label: displayName(product), value: formatPrice(productPrice) },\n        { label: `${product.printType || t(\"print\")} ${sides === 1 ? t(\"oneSidedLower\") : t(\"twoSidedLower\")}`, value: formatPrice(printPrice) },\n        { label: t(\"handling\"), value: formatPrice(handling) },\n        { label: displayName(shipping), value: formatPrice(shippingPrice) }\n      ];\n\n      document.getElementById(\"summaryRows\").innerHTML = rows.map(row => `\n        <div class=\"summary-row\">\n          <span>${escapeHtml(row.label)}<\/span>\n          <span>${escapeHtml(row.value)}<\/span>\n        <\/div>\n      `).join(\"\");\n\n      document.getElementById(\"netSubtotal\").textContent = formatPrice(netSubtotal);\n      document.getElementById(\"vatAmount\").textContent = formatPrice(vatAmount);\n      document.getElementById(\"grossTotal\").textContent = formatPrice(grossTotal);\n\n      renderAll();\n      updatePinnedTotalVisibility();\n    }\n\n    function selectProduct(index) {\n      if (index < 0) return;\n      document.getElementById(\"productSelect\").value = String(index);\n      updateCalculator();\n    }\n\n    function updatePinnedTotalVisibility() {\n      const totalBar = document.querySelector(\".summary-grand\");\n      const catalog = document.getElementById(\"katalog\");\n\n      if (!totalBar || !catalog) return;\n\n      const catalogTop = catalog.getBoundingClientRect().top;\n      if (catalogTop <= 16) {\n        totalBar.classList.add(\"pinned\");\n      } else {\n        totalBar.classList.remove(\"pinned\");\n      }\n    }\n\n    function showLoadError() {\n      document.getElementById(\"priceStatusNote\").classList.add(\"error\");\n      document.getElementById(\"priceDateLine\").innerHTML = `<strong>${escapeHtml(t(\"loadErrorShort\"))}<\/strong>`;\n      document.getElementById(\"rohteileGrid\").innerHTML = `\n        <div class=\"empty-state\">\n          <div class=\"empty-state-icon\"><i class=\"fa-solid fa-circle-exclamation\"><\/i><\/div>\n          <h3>${escapeHtml(t(\"loadErrorTitle\"))}<\/h3>\n          <p>${escapeHtml(t(\"loadErrorHint\"))}<\/p>\n        <\/div>\n      `;\n      document.getElementById(\"optionenGrid\").innerHTML = \"\";\n      document.getElementById(\"versandGrid\").innerHTML = \"\";\n    }\n\n    async function loadLiveData() {\n      const priceStatusNote = document.getElementById(\"priceStatusNote\");\n\n      try {\n        const [rohteileCsv, optionenCsv, versandCsv] = await Promise.all([\n          fetchCsv(getCsvUrl(SHEET_CONFIG.gids.rohteile)),\n          fetchCsv(getCsvUrl(SHEET_CONFIG.gids.optionen)),\n          fetchCsv(getCsvUrl(SHEET_CONFIG.gids.versand))\n        ]);\n\n        allData = {\n          rohteile: parseSheet(rohteileCsv, \"rohteile\"),\n          optionen: parseSheet(optionenCsv, \"optionen\"),\n          versand: parseSheet(versandCsv, \"versand\")\n        };\n\n        filteredData = {\n          rohteile: [...allData.rohteile],\n          optionen: [...allData.optionen],\n          versand: [...allData.versand]\n        };\n\n        if (!allData.rohteile.length) throw new Error(\"No blanks loaded\");\n        if (!allData.versand.length) throw new Error(\"No shipping data loaded\");\n\n        loadState = \"loaded\";\n        priceStatusNote.classList.remove(\"error\");\n        renderAll();\n        populateCalculator();\n        updateCalculator();\n      } catch (error) {\n        loadState = \"error\";\n        showLoadError();\n      }\n    }\n\n    document.getElementById(\"searchInput\").addEventListener(\"input\", filterItems);\n    document.getElementById(\"productSelect\").addEventListener(\"change\", updateCalculator);\n    document.getElementById(\"shippingSelect\").addEventListener(\"change\", updateCalculator);\n    document.querySelectorAll('input[name=\"printSides\"]').forEach(input => {\n      input.addEventListener(\"change\", updateCalculator);\n    });\n    document.querySelectorAll(\".lang-btn\").forEach(btn => {\n      btn.addEventListener(\"click\", () => setLanguage(btn.dataset.lang));\n    });\n\n    window.addEventListener(\"scroll\", updatePinnedTotalVisibility, { passive: true });\n    window.addEventListener(\"resize\", updatePinnedTotalVisibility);\n\n    currentLang = detectInitialLang();\n    applyStaticTranslations();\n    loadLiveData();\n  <\/script>\n<\/body>\n<\/html>"},"padding":{"id":127570569,"value":"6"},"fullWidth":{"id":127570570,"value":"1"},"fullBackgroundColor":{"id":127570571,"value":"#fff0"},"published":{"id":127570572,"value":"1"},"conditions":{"id":127570573,"value":"[]"},"template":{"id":138216810,"value":"html"}}}],"properties":{"isStorePage":{"id":108006975,"value":"1"},"title":{"id":108006976,"value":"Home"},"isSearchable":{"id":126766393,"value":"0"},"loginState":{"id":126766394,"value":"everyone"},"ogImage":{"id":126766416,"value":"https:\/\/images.podos.io\/jccebchj5xg6wev8mjzvr6cwmefwvulufjlpfwa1anprfyaa.jpg.jpg?w=1200&h=auto"}},"labels":[],"published":1,"sitemap":1,"divisionId":402521,"edited":true,"keyPhraseCampaignId":null}