/* ============================================= */
/* 1. BASIS & RESET                              */
/* ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: #ffe1df;
  color: #803a01;
  font-family: Verdana, Arial;
  font-size: 8pt;
  margin: 0;
  text-align: center;
}

h1 {
  color: #803a01;
  font-size: 13pt;
  font-weight: 900;
}

a {
  color: #c95a00;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: #803a01;
}

/* ============================================= */
/* 2. LAYOUT: WRAPPER, HEADER, CONTENT, FOOTER   */
/* ============================================= */
div#wrapper {
  background-color: #ffe1df;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  width: 100%;
  z-index: 1;
}

div#header {
  align-items: center;
  background-color: #ffe1df;
  color: #803a01;
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 10px;
  z-index: 2;
}

div#header img {
  height: auto;
  max-height: 140px;
  max-width: 100%;
  object-fit: contain;
  order: -1;
  width: auto;
}

div#header nav {
  display: flex;
  flex-wrap: nowrap;
  font-size: 8pt;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 0px;
  order: 0;
}

div#header nav a {
  padding: 5px;
}

div#content {
  background-color: #ffffff;
  border-radius: 25px;
  margin: 0 auto;
  max-width: 1190px;
  padding: 20px;
  position: relative;
  width: 100%;
  z-index: 1;
}

div#footer {
  background-color: #ffe1df;
  color: #803a01;
  display: flex;
  flex-wrap: wrap;
  font-size: 9pt;
  height: auto;
  justify-content: space-between;
  min-height: 100px;
  padding: 20px;
  z-index: 1;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  padding: 10px;
  text-align: left;
}

.footer-column h3 {
  color: #803a01;
  font-size: 11pt;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  display: block;
  font-size: 10pt;
  margin: 8px 0;
}

.contact-info {
  font-size: 9pt;
  margin-top: 10px;
}

/* ============================================= */
/* 3. FLEX GRID & KACHELN                        */
/* ============================================= */
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.flex > div {
  background-color: #ffe1df;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 5px;
  text-align: center;
  width: 200px;
}

.flex.home > div {
  padding: 10px 5px;
  width: 280px;
}

.flex > div:hover {
  transform: scale(1.1);
  transition: 0.3s ease-in-out;
}

.flex > div img {
  background-color: #ffffff;
  border-radius: 10px;
  height: 122px;
  object-fit: contain;
  width: 100%;
}

.flex.home > div img {
  height: 270px;
  width: 270px;
}

.flex > div strong {
  color: #803a01;
  display: block;
  font-size: 8pt;
  margin: 5px 0;
}

.flex.home > div strong {
  font-size: 10pt;
}

.flex > div ul {
  color: #803a01;
  font-size: 7pt;
  list-style-type: disc;
  margin: 5px 0 0 15px;
  padding: 0;
  text-align: left;
}

.ueberschrift {
  display: block;
  margin: 10px 0;
  text-align: left;
}

/* ============================================= */
/* 4. HERO IMAGE                                 */
/* ============================================= */
.hero {
  background: url("images/hero_image_v2.jpg") no-repeat center;
  background-position: center;
  background-size: cover;
  height: 350px;
  margin: 10px 0px;
  overflow: hidden;
  width: 100%;
}

/* ============================================= */
/* 5. EINGABEN & FORMULARE                       */
/* ============================================= */
input,
select {
  background-color: #ffffff;
  border: 1px solid #803a01;
  color: #803a01;
  font-family: Verdana, Arial;
  font-size: 8pt;
  font-weight: bold;
}

.cart,
.checkout {
  padding: 20px;
}

#btcpay-button {
  margin-top: 10px;
  text-align: center;
}

.config-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  margin: 0 auto;
  max-width: 1190px;
  min-height: 500px;
  padding: 20px;
  text-align: left;
  width: 100%;
  z-index: 1;
}

.form-column {
  flex: 1 1 60%;
}

.vorschau-column {
  align-items: center;
  display: flex;
  flex: 1 1 40%;
  flex-direction: column;
}

.form-table {
  border-collapse: collapse;
  width: 100%;
}

.form-table td {
  padding: 10px;
  vertical-align: top;
}

.form-table td:first-child {
  color: #803a01;
  font-weight: bold;
  width: 125px;
}

.form-table select,
.form-table input[type="text"],
.form-table input[type="checkbox"],
.form-table textarea {
  background-color: #ffffff;
  border: 1px solid #803a01;
  border-radius: 15px;
  color: #803a01;
  font-size: 8pt;
  max-width: 300px;
  padding: 8px;
  width: 100%;
}

.form-table textarea {
  height: 100px;
}

.form-table a {
  color: #c95a00;
  text-decoration: none;
}

.form-table a:hover {
  color: #803a01;
}

.form-vorschau {
  margin-top: 20px;
}

.form-vorschau img {
  border-radius: 10px;
  height: auto;
  max-width: 400px;
  width: 100%;
}

.error {
  color: #c95a00;
  font-weight: bold;
  text-align: center;
}

.preis {
  height: 20px;
  vertical-align: middle;
}

.preis-text {
  color: #803a01;
  font-size: 16pt;
  font-weight: bold;
}

.button {
  cursor: pointer;
}

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.small-demo {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

/* ============================================= */
/* 6. GALLERY & LIGHTBOX                         */
/* ============================================= */
.gallery {
  max-width: 300px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.gallery .swiper-wrapper {
  display: flex;
}

.gallery > a {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 180px;
}

.gallery > a > img {
  display: block;
  height: 130px;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
  width: 100%;
}

.gallery > a:hover > img {
  opacity: 0.9;
}

.swiper-button-next,
.swiper-button-prev {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #803a01;
  display: flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px;
}

.sl-overlay {
  background: rgba(0, 0, 0, 0.8);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
}

.sl-wrapper {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10010;
}

.sl-wrapper .sl-image {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.sl-wrapper .sl-image img {
  border-radius: 8px;
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
}

.sl-wrapper .sl-close {
  align-items: center;
  background: #803a01;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 24px;
  height: 32px;
  justify-content: center;
  position: fixed;
  right: 20px;
  top: 20px;
  width: 32px;
  z-index: 10020;
}

.sl-wrapper .sl-navigation button {
  align-items: center;
  background: #803a01;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 18px;
  height: 32px;
  justify-content: center;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  z-index: 10020;
}

.sl-wrapper .sl-navigation .sl-prev {
  left: 20px;
}

.sl-wrapper .sl-navigation .sl-next {
  right: 20px;
}

/* ============================================= */
/* 7. WARENKORB                                  */
/* ============================================= */
.warenkorb-container {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(128, 58, 1, 0.1);
  margin: 20px 0;
  overflow-x: auto;
}

.warenkorb-tabelle {
  border-collapse: collapse;
  color: #803a01;
  font-size: 8pt;
  width: 100%;
}

.warenkorb-tabelle th {
  background: #803a01;
  color: white;
  font-size: 9pt;
  font-weight: bold;
  padding: 12px 10px;
}

.warenkorb-tabelle td {
  font-size: 9pt;
  font-weight: bold;
  padding: 12px 20px;
}

.artikel-th {
  text-align: center;
  width: 75%;
}
.preis-th {
  text-align: center;
  width: 10%;
}
.aktionen-th {
  text-align: center;
  width: 15%;
}

.artikel-zeile:hover {
  background-color: #fff5f3;
}

.artikel-name {
  color: #803a01;
  font-size: 9pt;
  font-weight: bold;
}

.detail,
.branding,
.bemerkung {
  color: #c95a00;
  display: block;
  font-size: 8pt;
  font-weight: bold;
  line-height: 1.4;
  margin: 4px 0;
}

.preis-zelle {
  color: #803a01;
  font-weight: bold;
  padding-right: 10px;
  text-align: right;
  white-space: nowrap;
}

.aktionen-zelle {
  text-align: center;
}

.aktion-link {
  color: #c95a00;
  display: inline-block;
  font-size: 8pt;
  font-weight: bold;
  margin: 5px 0;
  text-decoration: none;
}

.aktion-link:hover {
  color: #803a01;
}
.aktion-link.delete {
  color: #d00;
}
.aktion-link.delete:hover {
  color: #a00;
}

.error-zeile td {
  background: #ffe6e6;
  color: #c00;
  font-weight: bold;
  text-align: center;
}

.gutschein-bereich {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 25px 0;
  padding: 10px;
  text-align: center;
}

.gutschein-box {
  animation: fadeIn 0.4s ease-out;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  max-width: 100%;
  padding: 14px 16px;
  text-align: center;
  width: 320px;
}

.gutschein-erfolg {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.gutschein-fehler {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.gutschein-form {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: inline-block;
  padding: 15px;
}

.gutschein-form input {
  border: 1px solid #803a01;
  border-radius: 15px;
  font-size: 8pt;
  padding: 8px;
  width: 180px;
}

.gutschein-form button {
  background: #803a01;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  padding: 8px 15px;
}

.gutschein-form button:hover {
  background: #a04a00;
}

.kasse-button {
  margin: 30px 0;
  text-align: center;
}

.kasse-button img {
  height: 27px;
  transition: transform 0.2s;
}

.kasse-button img:hover {
  transform: scale(1.05);
}

.maske-box {
  background: #fff5f3;
  border-radius: 8px;
  display: flex;
  font-size: 7.5pt;
  gap: 15px;
  margin: 10px 0;
  padding: 10px;
}

.maske-text {
  flex: 1;
}

.maske-bild img {
  border-radius: 6px;
  height: auto;
  width: 100px;
}

.artikel-details {
  align-items: flex-start;
  display: flex;
  gap: 15px;
}

.warenkorb-thumb,
.warenkorb-thumb.placeholder {
  background: #fff;
  border: 1px solid #ffe1df;
  border-radius: 8px;
  flex: 0 0 150px;
  height: 150px;
  object-fit: contain;
  width: 150px;
}

.warenkorb-thumb.placeholder {
  align-items: center;
  background: #f9f9f9;
  border: 1px dashed #ccc;
  color: #999;
  display: flex;
  font-size: 7pt;
  justify-content: center;
  line-height: 1.3;
  text-align: center;
}

.artikel-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

/* ============================================= */
/* 8. KASSE & FORMULARE                          */
/* ============================================= */
.kasse-form {
  margin: 0 auto;
  max-width: 800px;
}

.zahlung-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.zahlung-option {
  align-items: flex-start;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.zahlung-option:hover {
  background: #fffbf0;
  border-color: #c95a00;
}

.zahlung-option.checked {
  background: #fff5f3;
  border-color: #803a01;
}

.zahlung-option input[type="radio"] {
  flex-shrink: 0;
  margin: 4px 0 0 0;
}

.zahlung-card {
  flex: 1;
}

.zahlung-card strong {
  color: #803a01;
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}

.zahlung-card p {
  color: #555;
  font-size: 8pt;
  margin: 0;
}

.form-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr;
  margin: 15px 0;
}

.form-group label {
  color: #803a01;
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  background-color: #ffffff;
  border: 1px solid #803a01;
  border-radius: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  color: #803a01;
  font-family: Verdana, Arial;
  font-size: 8.5pt;
  max-width: 100%;
  padding: 10px 12px;
  transition: all 0.2s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus {
  background-color: #fffbf0;
  border-color: #c95a00;
  box-shadow: 0 0 0 3px rgba(201, 90, 0, 0.15);
  outline: none;
}

.error-box,
.success-message {
  border-radius: 15px;
  margin: 15px 0;
  padding: 15px;
  text-align: center;
}

.error-box {
  background: #ffe6e6;
  color: #c00;
}

.success-message {
  background: #e6f7e6;
  color: #008000;
}

.form-actions {
  margin: 30px 0;
  text-align: center;
}

.zur-zusammenfassung img {
  height: 50px;
}

.zusammenfassung-container {
  margin: 20px 0;
  overflow-x: auto;
}

.zusammenfassung-tabelle {
  border-collapse: collapse;
  font-size: 8pt;
  min-width: 600px;
  width: 100%;
}

.zusammenfassung-tabelle th {
  background: #803a01;
  color: white;
  padding: 12px;
  text-align: left;
}

.zusammenfassung-tabelle td {
  border-bottom: 1px solid #ffe1df;
  padding: 15px 10px;
  vertical-align: top;
}

.zusammen-thumb {
  border: 1px solid #ffe1df;
  border-radius: 8px;
  float: left;
  height: 100px;
  margin-right: 15px;
  object-fit: contain;
  width: 100px;
}

.preis-label {
  text-align: left;
}

.gesamtpreis-zelle {
  color: #fff;
  font-weight: bold;
  text-align: right;
  white-space: nowrap;
}

.rabatt-zeile td,
.gutschein-zeile td,
.versand-zeile td,
.mwst-zeile td {
  background: #fff;
}

.gesamt-zeile {
  background: #803a01;
  color: #fff;
  font-weight: bold;
}

.zahlung-bereich {
  margin: 30px 0;
  text-align: center;
}

.zahlung-button img {
  height: 50px;
  transition: transform 0.2s;
}

.zahlung-button img:hover {
  transform: scale(1.05);
}

.adresse-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(128, 58, 1, 0.1);
  font-size: 9pt;
  font-weight: bold;
  margin: 30px 0;
  padding: 20px;
  text-align: left;
  width: 50%;
}

.adresse-tabelle {
  font-size: 9pt;
}

.adresse-tabelle td {
  padding: 4px 0;
  text-align: left;
}

.adresse-tabelle td:first-child {
  color: #803a01;
  font-weight: bold;
  width: 140px;
}

table.sichtbar td {
  padding: 8px 0 !important;
  border: 1px solid #803a01;
}

table.sichtbar td:first-child {
  color: #803a01;
  font-weight: bold;
  width: 180px;
}

.daten-zahlung-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin: 30px 0;
}

.daten-kachel,
.zahlung-kachel {
  background: #ffffff;
  border: 1px solid #ffe1df;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(128, 58, 1, 0.1);
  padding: 20px;
  transition: transform 0.2s ease;
}

.daten-kachel:hover,
.zahlung-kachel:hover {
  box-shadow: 0 4px 12px rgba(128, 58, 1, 0.15);
  transform: translateY(-2px);
}

.daten-kachel h4,
.zahlung-kachel h4 {
  border-bottom: 2px solid #ffe1df;
  color: #803a01;
  font-size: 12pt;
  margin-bottom: 12px;
  margin-top: 0;
  padding-bottom: 8px;
}

.adresse-tabelle,
.zahlung-info {
  font-size: 9pt;
  line-height: 1.5;
  width: 100%;
}

.adresse-tabelle td,
.zahlung-info p {
  padding: 3px 0;
}

.adresse-tabelle td:first-child,
.zahlung-info strong {
  color: #803a01;
  display: inline-block;
  font-weight: bold;
  width: 130px;
}

.field-error {
  background: #ffebee;
  border-left: 3px solid #f44336;
  border-radius: 4px;
  font-weight: 500;
  margin: 6px 0;
  padding: 6px 10px;
}

.form-group.invalid input,
.form-group.invalid select {
  background-color: #fff5f3 !important;
  border-color: #c95a00 !important;
  box-shadow: 0 0 0 3px rgba(201, 90, 0, 0.15);
}

.form-group .error-msg {
  color: #c95a00;
  display: none;
  font-size: 7.5pt;
  font-weight: bold;
  margin-top: 6px;
  padding-left: 12px;
}

.form-group.invalid .error-msg {
  display: block;
}

.form-group input:hover {
  background-color: #fffbf5;
  border-color: #a04a00;
}

/* ============================================= */
/* 9. BUTTONS                                    */
/* ============================================= */
.btn-primary,
.btn-menu,
.btn-small {
  background: #803a01 !important;
  color: white !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.btn-primary:hover,
.btn-menu:hover,
.btn-small:hover {
  background: #9d4a01 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-2px) !important;
}

.btn-primary {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  margin-top: 15px !important;
  padding: 12px 24px !important;
  text-transform: uppercase !important;
}

.btn-menu {
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: 1px !important;
  padding: 6px 12px !important;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2) !important;
}

.btn-small {
  font-size: 11px !important;
  font-weight: 450 !important;
  letter-spacing: 0.5px !important;
  margin-top: 15px !important;
  padding: 6px 12px !important;
}

/* ============================================= */
/* 10. SCHNÄPPCHEN FILTER                        */
/* ============================================= */
.filter-box {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  padding: 20px;
}

.filter-box h2 {
  color: #803a01;
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 0;
}

.filter-form table {
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
}

.filter-form td {
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  vertical-align: top;
}

.filter-form select {
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #333;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 10px;
  transition: border 0.2s ease;
  width: 100%;
}

.filter-form select:focus {
  border-color: #803a01;
  box-shadow: 0 0 0 2px rgba(128, 58, 1, 0.2);
  outline: none;
}

.filter-form select:hover {
  border-color: #aaa;
}

/* ============================================= */
/* 11. HAMBURGER MENÜ                            */
/* ============================================= */
.menu-toggle {
  display: none;
}

.hamburger {
  cursor: pointer;
  display: none;
  padding: 15px;
  z-index: 1000;
}

.hamburger span {
  background: #803a01;
  border-radius: 2px;
  display: block;
  height: 3px;
  margin: 5px 0;
  transition: 0.3s;
  width: 25px;
}

.main-nav {
  background: transparent !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 15px 10px;
}

/* ============================================= */
/* 12. TABLET: 769px – 1200px                    */
/* ============================================= */
@media (min-width: 769px) and (max-width: 1200px) {
  .config-container {
    max-width: 100%;
    width: 100%;
  }

  .flex {
    justify-content: center;
  }

  .flex > div,
  .flex.home > div {
    width: 280px;
  }

  .form-column {
    flex: 1 1 55%;
  }

  .hero {
    aspect-ratio: 1150 / 350;
    background-repeat: no-repeat;
    background-size: contain;
    height: auto;
    width: 100%;
  }

  .vorschau-column {
    flex: 1 1 45%;
  }
}

/* ============================================= */
/* 13. MOBIL: ≤768px – ALLE REGELN ZUSAMMEN     */
/* ============================================= */
@media (max-width: 768px) {
  /* Zoom verhindern */
  button,
  input,
  select,
  textarea {
    font-size: 12px !important;
  }

  /* Vollbild */
  body,
  html {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    width: 100%;
  }

  /* Header */
  .header-banner {
    padding: 15px 60px 10px 15px !important;
    padding-right: 70px !important;
  }

  /* Hamburger */
  .hamburger {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: block;
    padding: 6px 10px;
    position: fixed;
    right: 10px;
    top: 10px;
    z-index: 1000;
  }

  .hamburger span {
    background: #803a01;
    border-radius: 2px;
    height: 3px;
    margin: 5px 0;
    transition: 0.3s;
    width: 26px;
  }

  /* Menü */
  .main-nav {
    background: #fdfdfd !important;
    border: 1px solid #f0f0f0;
    border-radius: 25px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    flex-direction: column;
    left: -100%;
    margin: 10px;
    max-height: calc(100vh - 90px);
    max-width: 320px;
    overflow-y: auto;
    padding: 15px 20px;
    position: fixed;
    top: 170px;
    transition: left 0.3s ease;
    width: 75%;
    z-index: 999;
  }

  .main-nav a.btn-menu {
    border-radius: 20px !important;
    background: #803a01 !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    margin: 4px 0 !important;
    padding: 10px 20px !important;
    text-align: center;
    width: 100%;
    transition: all 0.25s ease !important;

    /* STARKER SCHATTEN */
    box-shadow: 0 4px 8px rgba(128, 58, 1, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15) !important;

    /* Leichter "Lift" beim Hover */
    transform: translateY(0);
  }

  .main-nav a.btn-menu:hover,
  .main-nav a.btn-menu:active {
    background: #9d4a01 !important;
    box-shadow: 0 8px 16px rgba(128, 58, 1, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-3px) !important;
  }

  .menu-toggle:checked ~ .main-nav {
    left: 10px;
  }

  .menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .menu-overlay {
    background: rgba(0, 0, 0, 0.45);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 998;
  }

  .menu-toggle:checked ~ .menu-overlay {
    display: block;
  }

  /* Layout */
  .artikel-details {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .artikel-text {
    width: 100%;
  }

  .config-container {
    flex-direction: column;
    max-width: 100%;
    padding: 15px;
    width: 100%;
  }

  .daten-kachel,
  .zahlung-kachel {
    margin-bottom: 15px;
  }

  .daten-zahlung-grid {
    grid-template-columns: 1fr;
  }

  .flex {
    flex-direction: column;
    align-items: center;
  }

  .flex > div,
  .flex.home > div {
    width: 280px;
  }

  .form-column,
  .vorschau-column {
    box-sizing: border-box;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .form-grid,
  .zahlung-grid {
    grid-template-columns: 1fr;
  }

  .form-table input,
  .form-table select,
  .form-table textarea {
    max-width: 100% !important;
    width: 100% !important;
  }

  .form-table td {
    display: block;
    padding: 8px 0;
    width: 100%;
  }

  .form-vorschau img {
    max-width: 100%;
    width: 100%;
  }

  .gallery {
    max-width: 100%;
  }

  .gallery > a {
    width: 140px;
  }

  .gallery > a > img {
    height: 100px;
  }

  .hero {
    display: none !important;
  }

  .maske-box {
    flex-direction: column;
  }

  .maske-bild img {
    width: 80px;
  }

  .plz-ort,
  .strasse-hnr {
    flex-direction: column;
  }

  .preis-text {
    font-size: 9pt;
  }

  .vorschau-column {
    margin-top: 20px;
  }

  .warenkorb-tabelle td,
  .warenkorb-tabelle th {
    font-size: 7.5pt;
    padding: 10px 6px;
  }

  .warenkorb-thumb,
  .warenkorb-thumb.placeholder {
    margin: 0 0 10px 0;
  }

  .zusammen-thumb {
    display: block;
    float: none;
    margin: 0 auto 10px;
  }

  /* Filter */
  .filter-form table,
  .filter-form tbody,
  .filter-form td,
  .filter-form tr {
    display: block;
    width: 100%;
  }

  .filter-form td {
    padding: 6px 0;
  }

  .filter-form select {
    font-size: 16px;
  }
  /* === ZUSAMMENFASSUNG: PREISZEILEN MOBIL GESTAPELT === */
  .preis-zeile,
  .gesamt-zeile {
    display: block;
    width: 100%;
    border: 1px solid #ffe1df;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 15px;
    padding: 10px 16px;
    box-shadow: 0 2px 8px rgba(128, 58, 1, 0.08);
  }

  .preis-zeile td,
  .gesamt-zeile td {
    display: block;
    width: 100%;
    padding: 4px 0;
    text-align: right;
    border: none;
  }

  .preis-zeile td::before,
  .gesamt-zeile td::before {
    content: attr(data-label) ": ";
    float: left;
    font-weight: bold;
    color: #803a01;
    text-align: left;
  }

  .preis-label,
  .gesamtpreis-zelle {
    text-align: right !important;
    font-weight: bold;
  }

  .gesamt-zeile {
    background: #803a01 !important;
    color: white;
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 15px;
  }

  .gesamt-zeile td {
    color: white;
  }

  .gesamt-zeile td::before {
    color: #ffe1df;
  }

  .gesamt-zeile strong {
    font-size: 14px;
  }
}
/* === WARENKORB: MOBILE STAPELUNG (KEIN SCROLL) === */
.warenkorb-responsive {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .warenkorb-container {
    border-radius: 15px;
    margin: 15px 0;
    overflow: hidden;
  }

  .warenkorb-tabelle,
  .warenkorb-tabelle thead,
  .warenkorb-tabelle tbody,
  .warenkorb-tabelle th,
  .warenkorb-tabelle td,
  .warenkorb-tabelle tr {
    display: block;
    width: 100%;
  }

  .warenkorb-tabelle thead {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .artikel-zeile {
    background: #fff;
    border: 1px solid #ffe1df;
    border-radius: 15px;
    margin-bottom: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(128, 58, 1, 0.08);
    position: relative;
  }

  .warenkorb-tabelle td {
    border: none;
    padding: 8px 0;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }

  .warenkorb-tabelle td::before {
    content: attr(data-label) ":";
    position: absolute;
    left: 16px;
    width: 45%;
    font-weight: bold;
    color: #803a01;
    text-align: left;
    white-space: nowrap;
  }

  /* Artikel-Spalte: volle Breite, Label verstecken */
  .artikel-details {
    padding-left: 16px !important;
    padding-top: 0;
    text-align: left;
  }

  .artikel-details::before {
    display: none;
  }

  .artikel-details .warenkorb-thumb,
  .artikel-details .warenkorb-thumb.placeholder {
    float: none;
    margin: 0 auto 12px;
    display: block;
    width: 120px;
    height: 120px;
  }

  .artikel-text {
    text-align: center;
  }

  .detail,
  .branding,
  .bemerkung {
    text-align: center;
    margin: 6px 0;
  }

  /* Preis & Aktion: zentriert */
  .preis-zelle,
  .aktionen-zelle {
    text-align: center;
    padding-left: 14px;
  }

  .aktionen-zelle .btn-small {
    display: block;
    width: 100%;
    margin: 6px 0;
  }

  .aktionen-zelle form {
    display: block;
  }
  /* === TFOOT & PREISZEILEN: 100% BREITE AUF MOBILE === */
  .warenkorb-tabelle {
    min-width: 100% !important;
    width: 100% !important;
    table-layout: fixed; /* sorgt für gleichmäßige Verteilung */
  }

  .warenkorb-tabelle tfoot {
    display: block;
    width: 100%;
    padding: 0%;
    box-sizing: border-box;
  }

  .preis-zeile .preis-label,
  .gesamt-zeile .preis-label {
    font-size: 0; /* Text unsichtbar */
  }

  /* .preis-zeile .preis-label::before,
    .gesamt-zeile .preis-label::before {
        font-size: 14px;
        content: attr(data-label) ": ";
        font-weight: bold;
        color: #803a01;
    } */
}

/* === KASSE – MODERNES LAYOUT === */
.kasse-form {
  max-width: 800px;
  margin: 0 auto;
  font-family: inherit;
}

.form-section {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
  border: 1px solid #eee;
}

.form-section h3 {
  margin: 0 0 20px 0;
  color: #803a01;
  font-size: 1.4em;
  border-bottom: 2px solid #803a01;
  padding-bottom: 8px;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  transition: all 0.2s;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: #803a01;
  box-shadow: 0 0 0 3px rgba(128, 58, 1, 0.15);
}

.strasse-hnr,
.plz-ort {
  display: flex;
  gap: 12px;
  align-items: start;
}

.strasse-hnr input,
.plz-ort input {
  flex: 1;
}

.strasse-hnr input:last-child,
.plz-ort input:first-child {
  flex: 0 0 auto;
}

.error-msg {
  color: #d32f2f;
  font-size: 0.85em;
  margin-top: 4px;
  display: none;
}

.form-field.invalid .error-msg {
  display: block;
}

.form-field.invalid input,
.form-field.invalid select {
  border-color: #d32f2f;
  background-color: #fff8f8;
}

/* === ZAHLUNGSOPTIONEN === */
.zahlung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.zahlung-option {
  cursor: pointer;
  border: 2px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

.zahlung-option.checked {
  border-color: #803a01;
  box-shadow: 0 0 0 3px rgba(128, 58, 1, 0.15);
}

.zahlung-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.zahlung-card {
  padding: 16px;
  background: #fafafa;
}

.zahlung-card strong {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 1.1em;
}

.zahlung-card p {
  margin: 0;
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;
}

/* === LIEFERADRESSE TOGGLE === */
.lieferadresse-toggle {
  margin: 16px 0;
  font-size: 1.1em;
}

.lieferadresse-toggle label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.lieferadresse-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #803a01;
}

/* === FOOTER === */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.required {
  color: #d32f2f;
  font-weight: bold;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .form-grid,
  .zahlung-grid {
    grid-template-columns: 1fr;
  }

  .strasse-hnr,
  .plz-ort {
    flex-direction: column;
  }

  .strasse-hnr input:last-child,
  .plz-ort input:first-child {
    width: 100%;
  }
}
/* Überschriften für die Material-Gruppen */
.category-heading {
    width: 100%;
    text-align: center;
    margin: 20px 0 0px 0;
    font-size: 18px;           /* falls dein normales h2 anders ist */
    color: #803a01;
    position: relative;
}

/* Horizontale Linie NUR vor der 2.–5. Überschrift */
.category-heading:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 5%;                  /* Abstand links */
    right: 5%;                 /* Abstand rechts → ergibt 80 % Breite */
    top: -15px;                 /* Abstand der Linie zur Überschrift */
    height: 1px;
    background: #ffe1df;       /* dezentes Beige/Braun – passend zu #803a01 */
    /* Falls du lieber hellgrau willst: #ddd */
}

.form-field.invalid input,
.form-field.invalid select {
    border: 2px solid red !important;  /* Roter Rand für Inputs und Selects */
}

.form-field.invalid .strasse-hnr input,
.form-field.invalid .plz-ort input {
    border: 2px solid red !important;  /* Für kombinierte Felder */
}