/* ==========================================================================
   DIN A5 FLYER HD PRINT CSS (148 x 210 mm + 3mm Beschnitt = 154 x 216 mm)
   ========================================================================== */

@import url('../website-starter/css/components-hd.css');

@page {
  size: 154mm 216mm;
  margin: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, sans-serif);
  color: var(--text, #1e293b);
  background: #e2e8f0;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.flyer-sheet-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 1rem;
}

.flyer-page {
  width: 154mm;
  height: 216mm;
  max-height: 216mm;
  background: var(--surface, #ffffff);
  position: relative;
  box-sizing: border-box;
  padding: 14mm 14mm 12mm 14mm;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  page-break-after: always;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 3mm Bleed visual indicator in browser preview (hidden on print) */
.flyer-page::before {
  content: "";
  position: absolute;
  top: 3mm;
  left: 3mm;
  right: 3mm;
  bottom: 3mm;
  border: 1px dashed rgba(239, 68, 68, 0.3);
  pointer-events: none;
  z-index: 99;
}

/* Header */
.flyer-header {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3mm;
  margin-bottom: 4mm;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flyer-brand-group {
  display: flex;
  align-items: center;
  gap: 2.5mm;
}

.flyer-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flyer-brand-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.flyer-logo {
  font-family: var(--font-heading, serif);
  font-size: 13pt;
  font-weight: var(--font-weight-head, 700);
  text-transform: var(--text-transform-head, none);
  letter-spacing: var(--letter-spacing-head, normal);
  color: var(--primary);
  line-height: 1.1;
}

.flyer-claim {
  font-size: 7pt;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5mm;
}

/* Hero Section */
.flyer-hero-title {
  font-family: var(--font-heading, serif);
  font-size: 18pt;
  font-weight: var(--font-weight-head, 700);
  letter-spacing: var(--letter-spacing-head, normal);
  text-transform: var(--text-transform-head, none);
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 2.5mm;
}

.flyer-intro {
  font-size: 8.5pt;
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 4mm;
}

/* Feature Cards HD */
.flyer-feature-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3.5mm solid var(--accent);
  border-radius: var(--radius);
  padding: 2.5mm 3.5mm;
  margin-bottom: 2.5mm;
}

.flyer-feature-box h4 {
  font-size: 8.5pt;
  margin: 0 0 1mm 0;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 1.5mm;
}

.flyer-feature-box p {
  font-size: 7.5pt;
  line-height: 1.35;
  margin: 0;
  color: var(--text-muted);
}

/* Footer */
.flyer-footer {
  border-top: 1px solid var(--border);
  padding-top: 2.5mm;
  margin-top: 2.5mm;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7pt;
  color: var(--text-muted);
}

.flyer-contact-highlight {
  font-weight: 700;
  color: var(--primary);
  font-size: 8.5pt;
}

@media print {
  body {
    background: transparent !important;
  }
  .flyer-sheet-container {
    padding: 0 !important;
    gap: 0 !important;
  }
  .flyer-page {
    box-shadow: none !important;
    margin: 0 !important;
    height: 216mm !important;
    max-height: 216mm !important;
  }
  .flyer-page::before {
    display: none !important;
  }
  .no-print {
    display: none !important;
  }
}
