:root {
  --main-bg: rgba(1,1,1, 0.88);
  --main-text: #f3f6fb;
  --panel-border: rgba(201,162,39,0.35);
  --bond-black: #0b0b0b;
  --bond-gold: #C9A227;
  --bond-gold-dark: #a1841f;
  --bond-ivory: #fff7e6;
  --bond-navy: #0b1f3e;
  --bond-navy-dark: #08162c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; background: #000; }
body {
  color: #111;
  overflow-x: hidden;
  background: #000;
}
img, video { max-width: 100%; height: auto; }
body { font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif; }

.hdr-title p, header a, footer a { color: var(--bond-gold); }
.main h1, .main h2, .main h3, .mn-banner-text h1 { color: var(--bond-gold); }

.bold { font-weight: bold; font-size: large; }
.bu { font-weight: bold; text-decoration: underline; }
.status-pill { margin-top: .3em; font-weight: 800; text-transform: uppercase; color: #b00000; }
.is-disabled { opacity: .6; }
select:disabled { background: #eee; color: #555; }

.mn-products-abizeitung img,
.mn-products-abikarten img,
.mn-products-abiwein img {
    width: 90px;
    height: auto;
    display: block;
    margin: 0 0 1em 1em; 
    object-fit: contain;
}

.image-zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    cursor: zoom-out;
}

.image-zoom-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.main {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: auto;
  gap: 2%;
  margin: 0 15%;
  padding: 1rem 2% 5%;
  background: var(--main-bg);
  color: var(--main-text);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  font-size: large;
}
.main div p { margin-top: 1%; }

.mn-banner { grid-row: 1; grid-column: 1 / 13; margin-bottom: 5%; display: inline-block; }
.mn-banner-text h1 { font-size: clamp(1.6rem, 6vw, 2.6rem); }
.mn-banner-text p { font-size: clamp(1rem, 3.5vw, 1.25rem); }
.mn-products-topheadline { grid-row: 2; grid-column: 1 / 6; }

.mn-products-abizeitung, .mn-products-abiwein { grid-column: 1 / 7; }
.mn-products-abikarten { grid-column: 7 / 13; }

header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: #000;
  border-bottom: 4px solid var(--bond-gold);
  color: #f1f1f1;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 3000;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  font-size: 3em;
}
.hdr-logo { grid-row: 1; grid-column: 1 / 2; }
.hdr-title { grid-row: 1; grid-column: 2 / 12; text-align: left; }
.hdr-logo img { max-height: 140px; height: auto; width: auto; }
.hdr-title p { line-height: 1.05; }
.hdr-title p strong { font-weight: 900; letter-spacing: .06em; color: var(--bond-gold); }
.hdr-title .hdr-motto {
  display: inline-block;
  margin-top: .1em;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: clamp(12px, .9vw, 14px);
  color: var(--bond-gold-dark);
  background: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 999px;
  padding: .25em .6em;
}
.hdr-produkte, .hdr-vorbestellen { grid-row: 2; }
.hdr-produkte { grid-column: 5 / 7; }
.hdr-vorbestellen { grid-column: 7 / 9; }

header a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  white-space: nowrap;
  min-width: max-content;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: clamp(14px, 1.1vw, 18px);
  color: var(--bond-gold);
  background: linear-gradient(180deg, #0b0b0b, #000);
  border: 2px solid var(--bond-gold);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(201,162,39,.18), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .15s ease, background-color .3s ease, color .3s ease, box-shadow .3s ease, border-color .3s ease;
  transform-origin: center;
}
header a:hover {
  transform: translateY(-1px) scale(1.05);
  background: var(--bond-gold);
  color: #000;
  border-color: var(--bond-gold-dark);
  box-shadow: 0 6px 18px rgba(201,162,39,.35), 0 0 0 2px rgba(201,162,39,.15);
}
header a:active { transform: scale(0.99); }
header a:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(201,162,39,.45), 0 0 0 5px rgba(0,0,0,.6); }

footer {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: #000;
  position: relative;
  border-top: 0;
  border-bottom: 0;
  color: #f1f1f1;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  font-size: 3em;
}
footer div { margin-bottom: 5px; }
.ftr-lower-container { grid-column: 1 / 13; grid-row: 2; color: #a1a1a1; font-size: small; text-align: center; justify-content: center; align-items: center; margin-bottom: -10px; }
.ftr-logo { grid-column: 1 / 3; grid-row: 1; }
.ftr-logo img { max-width: 90%; }
.ftr-impressum-container { grid-column: 4 / 5; }
.ftr-datenschutz-container { grid-column: 6 / 7; }
.ftr-faq-container { grid-column: 8 / 9; }
.ftr-rechtliches-container { grid-column: 10 / 11; }

footer a {
  position: relative;
  text-decoration: none;
  color: var(--bond-gold);
  display: inline-block;
  transition: color .3s ease;
  border-radius: 10px;
  padding: 10px 20px;
  transform-origin: center;
}
footer a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 0%;
  height: 2px;
  background-color: #f1f1f1;
  transform: translateX(-50%);
  transition: width .3s ease;
}
footer a:hover::after { width: 90%; }
footer a:hover { color: #fff; background-color: #222; transform: scale(1.15); }

footer::before, footer::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  background-image: linear-gradient(90deg, #000 0%, #C9A227 25%, #000 50%, #C9A227 75%, #000 100%);
  background-size: 200% 100%;
  animation: bondStripe 6s linear infinite;
}
footer::before { top: 0; }
footer::after  { bottom: 0; }

.mn-products-abiwein, .mn-products-abikarten, .mn-products-abizeitung {
  padding: 3%;
  border: 3px solid var(--bond-gold);
  background: #ffffff;
  color: #111;
  height: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  font-size: large;
  margin-bottom: 3em;
  position: relative;
  border-radius: 10px;
}

.mn-products-headline { font-size: 2em !important; font-weight: bold; margin-left: .5em; }
.mn-products-bestand { margin-left: 1em; }
.mn-products-description { font-size: 1em; padding-left: 2em; }
.mn-products-price { font-size: 15px; padding-left: 2em; }
.mn-products-status { margin-left: 2em; color: #b00000; font-weight: 900; text-transform: uppercase; }

.mn-products-link {
  background-color: var(--bond-gold);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  padding: 1%;
  border-radius: 5px;
  display: inline-block;
  box-shadow: 0 .3em .5em gray;
  margin: 1em 0 .5em 1em;
}
.mn-products-link:hover { background-color: var(--bond-gold-dark); }

.card-status {
  position: relative;
  display: inline-block;
  padding: .2em .5em;
  margin: .3em 0;
  background: linear-gradient(90deg, var(--bond-gold), var(--bond-gold-dark));
  color: #000;
  font-weight: bold;
  border: 1px solid #000;
  border-radius: 6px;
}

.mn-products-abizeitung.is-disabled,
.mn-products-abiwein.is-disabled,
.mn-products-abikarten.is-disabled {
  filter: grayscale(100%);
  opacity: .55;
  pointer-events: none;
  overflow: hidden;
}

.mn-products-abizeitung.is-disabled::after,
.mn-products-abiwein.is-disabled::after,
.mn-products-abikarten.is-disabled::after {
  content: attr(data-status-overlay);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #c00000;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.1;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: clamp(20px, min(6vw, 7vh), 44px);
  text-shadow: none;
}

.mn-products-abizeitung.is-disabled[data-status-overlay*="Ausverkauft"]::after,
.mn-products-abiwein.is-disabled[data-status-overlay*="Ausverkauft"]::after,
.mn-products-abikarten.is-disabled[data-status-overlay*="Ausverkauft"]::after {
  background: rgba(255, 230, 230, 0.92);
  color: #8b0000;
  border: 2px solid #8b0000;
}

.mn-products-abizeitung.is-disabled[data-status-overlay*="Bald"]::after,
.mn-products-abiwein.is-disabled[data-status-overlay*="Bald"]::after,
.mn-products-abikarten.is-disabled[data-status-overlay*="Bald"]::after {
  background: rgba(255, 245, 200, 0.92);
  color: #6a5500;
  border: 2px solid #6a5500;
}

.order-container { grid-column: 1 / 13; margin-bottom: 15%; margin-top: 5%; padding: 2%; background-color: #f8f1e7; border: 3px solid #000; border-radius: 10px; box-shadow: 0 .5em 1em rgba(0,0,0,0.2); }
.order-container form { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1em; font-size: large; }
.order-container label { display: flex; flex-direction: column; font-weight: bold; margin-bottom: 1em; }
.order-container input[type="text"],
.order-container input[type="email"],
.order-container input[type="tel"],
.order-container select { padding: .5em; border: 2px solid #000; border-radius: 5px; font-size: large; }

.order-firstname, .order-lastname { grid-column: 1 / 6; }
.order-email, .order-telefon { grid-column: 6 / 13; }
.order-email { grid-row: 1; }
.order-product { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; margin-top: 1em; }
.order-note { grid-column: 1 / 13; margin-top: 1em; }
.order-note input { width: 100%; }
.order-note label { color: #000; }
.order-button { grid-column: 1 / 13; margin-top: 2em; text-align: center; }
.order-firstname label, .order-lastname label, .order-email label, .order-telefon label, .order-product label { color: #000; }
.order-title { grid-column: 1 / 13; font-size: 2em; font-weight: bold; text-align: center; margin-bottom: 1em; color: #333; }
.order-checkbox { grid-column: 1 / 13; margin-top: 1em; display: flex; align-items: center; gap: .6em; }
.order-checkbox input[type="checkbox"] { margin-right: .5em; flex: 0 0 auto; accent-color: var(--bond-gold); transform: none; width: 18px; height: 18px; margin-top: 0; }
.order-checkbox label { display: inline; flex: 0 1 auto; line-height: 1.35; color: #111; margin: 0; }
.order-checkbox label a { color: var(--bond-gold); text-decoration: underline; }

#js-orderbutton { background-color: var(--bond-gold); color: #000; font-size: large; font-weight: bold; padding: .8em 2em; border: none; border-radius: 10px; cursor: pointer; box-shadow: 0 .3em .5em gray; transition: transform .2s, background-color .3s; }
#js-orderbutton:hover { transform: scale(1.05); background-color: var(--bond-gold-dark); }
#js-orderbutton:disabled { opacity: .6; cursor: not-allowed; filter: grayscale(30%); }
#js-price { grid-column: 1 / 13; margin-top: 1em; padding: 1em; background-color: var(--bond-ivory); border: 2px dashed #000; border-radius: 10px; font-weight: bold; overflow-x: auto; }
#js-checkbox { margin-right: .5em; }
#js-price table { width: 100%; border-collapse: collapse; background-color: #fff8f0; font-size: large; }
#js-price th, #js-price td { border: 1px solid #000; padding: .5em 1em; text-align: center; }
#js-price th { background-color: #f0d9b5; }
#js-price tr:nth-child(even) { background-color: #fff2e6; }
#js-price tr:last-child td { font-weight: bold; background-color: #f0c27b; }
#js-price table { table-layout: auto; min-width: 520px; font-size: clamp(14px, 3.5vw, 16px); }
#js-price th, #js-price td { white-space: nowrap; word-break: normal; }

#products, #order { scroll-margin-top: 120px; }

@media (max-width: 992px) {
  .main { margin: 0 5%; gap: 1rem; }
  .mn-products-abiwein, .mn-products-abikarten, .mn-products-abizeitung { margin-bottom: 1.5rem; }
  .order-container form { grid-template-columns: 1fr; }
  .order-firstname, .order-lastname, .order-email, .order-telefon, .order-product, .order-note, .order-button, .order-checkbox { grid-column: 1 / 13;}
  .mn-products-headline { font-size: 1.5em !important; }
  header { font-size: 2.2em; padding: 14px 0; }
  .hdr-logo { grid-column: 1 / 3; }
  .hdr-title { grid-column: 3 / 13; }
  .hdr-produkte { grid-row: 2; grid-column: 1 / 7; }
  .hdr-vorbestellen { grid-row: 2; grid-column: 7 / 13; }
  .hdr-logo img { max-height: 110px; }
  footer { font-size: 1.6em; padding: 16px; }
  .ftr-logo { grid-column: 1 / 13; }
  .ftr-impressum-container, .ftr-datenschutz-container, .ftr-faq-container, .ftr-rechtliches-container { grid-column: 1 / 13; margin-top: .4rem; }
}

@media (max-width: 600px) {
  header { font-size: 1.8em; padding: 10px 0; box-shadow: 0 0 10px rgba(0,0,0,.6); }
  .hdr-logo { grid-column: 1 / 3; }
  .hdr-title { grid-column: 3 / 13; }
  .hdr-produkte, .hdr-vorbestellen { grid-row: auto; grid-column: 1 / 13; margin-top: .5rem; }
  header a { width: 100%; height: 44px; padding: 0 14px; }
  .hdr-logo img { max-height: 72px; }
  .mn-products-headline { font-size: 1.3em !important; }
  .mn-products-abizeitung, .mn-products-abiwein, .mn-products-abikarten { grid-column: 1 / 13; }
  .mn-products-link { display: block; margin-left: 0; width: 100%; text-align: center; padding: .9em 1em; }
  .order-container input, .order-container select, .order-container textarea { width: 100%; }
  .order-product { grid-template-columns: 1fr 1fr; }
  #products, #order { scroll-margin-top: 90px; }
  .order-checkbox input[type="checkbox"] { transform: none !important; width: 18px; height: 18px; margin-top: 0; }
  footer { font-size: 1.3em; padding: 14px; }
  .ftr-logo, .ftr-impressum-container, .ftr-datenschutz-container, .ftr-faq-container, .ftr-rechtliches-container, .ftr-lower-container { grid-column: 1 / 13; }
  .ftr-logo img { max-width: 60%; height: auto; }
  footer a { width: 100%; }
  #js-price th, #js-price td { padding: .45em .6em; }
}

@media (max-width: 400px) {
  .main { margin: 0 4%; }
  .order-product { grid-template-columns: 1fr; }
}

@keyframes bondStripe { from { background-position: 0% 0; } to { background-position: 200% 0; } }