@page{
  size: A4 landscape;
  margin: 0;
}

:root{
  --paper:#f6edd4;
  --ink:#3b3a36;
  --muted:rgba(59,58,54,.65);
  --rule:rgba(59,58,54,.22);
  --fold:rgba(59,58,54,.12);
  --sans: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  --mono: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

*{ box-sizing:border-box; }

html, body{
  margin:0;
  padding:0;
}

body{
  background:#111;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:100vh;
  padding:14px;
  color:var(--ink);
  font-family:var(--sans);
  font-size:13px;
}

/* ====== SHEET ====== */
.sheet{
  width:1122px;
  max-width:100%;
  aspect-ratio:297/210;
  background:var(--paper);
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  overflow:hidden;
  box-shadow:0 18px 70px rgba(0,0,0,.45);
}

/* Fold guides */
.fold{
  position:absolute;
  top:0; bottom:0;
  width:1px;
  background:var(--fold);
  pointer-events:none;
}
.fold-1{ left:33.3333%; }
.fold-2{ left:66.6666%; }

/* ====== PANELS ====== */
.panel{
  padding:26px 34px 22px;
  position:relative;
}

.panel-left{ padding-top:24px; }
.panel-middle, .panel-right{ padding-top:26px; }

/* Center content */
.panel-left,
.panel-middle,
.panel-right{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* Page 2 not centered */
.sheet.page-break .panel-left,
.sheet.page-break .panel-middle,
.sheet.page-break .panel-right{
  justify-content:flex-start;
}

/* ====== TITLES ====== */
.sectionTitle{
  margin:14px 0 8px;
  font-family:var(--mono);
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:600;
  font-size:15.5px;
  display:flex;
  align-items:center;
  gap:10px;
}

.sectionTitle.top{ margin-top:0; }

.sectionTitle .line{
  height:1px;
  background:var(--rule);
  flex:1;
}

/* Subsection titles */
.sectionTitle.small{
  font-size:12px;
  margin:10px 0 6px;
  letter-spacing:.18em;
}

/* Ensure .de inside titles doesn't shrink */
.sectionTitle .de{
  font-size:inherit;
  font-weight:inherit;
  letter-spacing:inherit;
  line-height:inherit;
}

/* Title price */
.titlePrice{
  font-family: var(--sans);
  font-size:12px;
  letter-spacing: normal;
  color: var(--muted);
  transform: translateY(1px);
}

/* Flammkuchen spacing */
.priceTitle{
  margin-top:112px;
  font-size:15.5px;
  font-weight:600;
  letter-spacing:.22em;
}

.priceTitle .de{
  font-size:1em;
  font-weight:inherit;
  letter-spacing:inherit;
  line-height:inherit;
}

/* Inline english subtitle in titles */
.sectionTitle .en.inline{
  margin-top:0;
  font-size:11px;
  font-style:italic;
  color:var(--muted);
  line-height:1.1;

  letter-spacing:normal;
  text-transform:none;
  white-space:nowrap;
  display:inline-block;
}

.titleMain{
  display:flex;
  gap:8px;
  align-items:baseline;
}

/* ====== ITEMS ====== */
.items{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.items.compact{
  gap:6px;
}

.item{
  display:grid;
  grid-template-columns:1fr auto;
  column-gap:14px;
  row-gap:2px;
  align-items:start;
}

/* German bold */
.de{
  font-weight:700;
  font-size:12.8px;
  line-height:1.15;
  letter-spacing:.01em;
}

/* English line */
.en{
  margin-top:2px;
  font-size:10.8px;
  font-style:italic;
  color:var(--muted);
  line-height:1.1;
}

/* Price */
.price{
  font-size:12.6px;
  color:var(--muted);
  text-align:right;
  white-space:nowrap;
  line-height:1.15;
}

/* Sub-line (sizes) */
.subName{
  grid-column: 1;
  padding-left: 10px;
  font-size: 10.8px;
  color: var(--muted);
  line-height:1.1;
}

.subName .de{
  font-weight:500;
  
}

.subPrice{
  grid-column: 2;
  font-size: 10.8px;
  color: var(--muted);
  text-align:right;
  line-height:1.1;
}

/* Intro */
.intro{
  margin:8px 0 0;
  color:var(--muted);
  font-size:10.8px;
  line-height:1.3;
  max-width:300px;
}

/* ====== LOGO ====== */
.logoWrap{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:10px;
}

.logoImage{
  width:200px;
  height:auto;
  display:block;
}

/* Footer */
.footerSmall{
  position:absolute;
  left:34px;
  right:34px;
  bottom:14px;
  color:rgba(59,58,54,.42);
  font-size:9.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.footerSmall.right{ text-align:center; }

.smallLine{
  width:48px;
  height:1px;
  background:rgba(59,58,54,.35);
  margin:0 0 6px;
}

.footerSmall.right .smallLine{
  margin-left:auto;
  margin-right:auto;
}
.footerSmall .contact{
  color:#3f382f;
}

.page-break .panel-right .footerSmall.right {
  margin-bottom: 10.8px;
}

.special{
  margin-top:70px;
  justify-content: center;
}



.specialBox{
  
  margin-top:20px;
  height:200px;
  /*
  background:#ffffff;
  border:1px solid var(--paper);
  */
  
  background:#ffffff;
  border:3px solid #c6a75e;
  
  
   /*
  background:var(--paper);
  border:3px solid #c6a75e;
  */
  
}


/* ===== Print rules ===== */
@media print{
  html, body{
    margin:0 !important;
    padding:0 !important;
    background:white !important;
  }

  body{
    display:block;
    min-height:auto;
  }

  .sheet{
    width:297mm !important;
    height:210mm !important;
    max-width:none !important;
    aspect-ratio:auto !important;
    box-shadow:none !important;
    page-break-after: always;
    overflow:hidden;
  }

  .page-break{
    break-before: page;
    page-break-before: always;
  }

  .fold{
    background: var(--fold);
  }
}

.noUpper{
  text-transform:none;
}