:root {
  --rood: #c0111a;
  --rood-dk: #a00e15;
  --rood-licht: #fef2f2;
  --rood-accent: #e91b23;
}
*, *::before, *::after { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #2d2d2d; }

/* ── Topbar ── */
#lp-topbar {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

/* ── Hero ── */
#lp-hero {
  background: linear-gradient(135deg, var(--rood-dk) 0%, var(--rood) 55%, #bf0909 100%);
  color: #fff;
  padding: 64px 0 56px;
}
#lp-hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
#lp-hero .hero-sub {
  font-size: 1.05rem;
  opacity: .93;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
#lp-hero .badge-loc {
  font-size: .78rem;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .6rem;
}

/* ── USP bar ── */
#lp-usps {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 18px 0;
}
.usp-item { text-align: center; padding: 6px 4px; }
.usp-item i   { font-size: 1.5rem; color: var(--rood); display: block; margin-bottom: .25rem; }
.usp-item b   { display: block; font-size: .9rem; font-weight: 700; line-height: 1.2; }
.usp-item small { color: #595959; font-size: .75rem; }

/* ── Section header ── */
.lp-h2 {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1.2rem;
  padding-bottom: .45rem;
  border-bottom: 3px solid var(--rood);
}

/* ── Accordion ── */
.accordion-button { font-weight: 600; background: #f9f9f9; color: #2d2d2d; }
.accordion-button:not(.collapsed) {
  background: var(--rood-licht);
  color: var(--rood);
  box-shadow: none;
}
.accordion-button:not(.collapsed)::after {
  filter: invert(18%) sepia(90%) saturate(5000%) hue-rotate(350deg) brightness(85%);
}
.accordion-item {
  border-color: #e4e4e4;
  border-radius: 8px !important;
  overflow: hidden;
  margin-bottom: .4rem;
}
.accordion-body { padding: 1.25rem 1.4rem; }

/* FAQ nested accordion – no border, smaller */
#faqAccordion .accordion-item   { border: 0; border-bottom: 1px solid #eee !important; border-radius: 0 !important; margin-bottom: 0; }
#faqAccordion .accordion-button { background: transparent; font-size: .93rem; font-weight: 600; padding: .75rem 0; }
#faqAccordion .accordion-body   { padding: 0 0 .8rem; font-size: .9rem; color: #555; }

/* ── Check-list ── */
.chk { list-style: none; padding: 0; margin: 0; }
.chk li { padding: .3rem 0 .3rem 1.6rem; position: relative; font-size: .93rem; }
.chk li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--rood);
  position: absolute;
  left: 0;
  top: .35rem;
  font-size: .75rem;
}

/* ── Highlight box ── */
.hl-box {
  background: var(--rood-licht);
  border-left: 4px solid var(--rood);
  border-radius: 0 8px 8px 0;
  padding: .9rem 1.1rem;
  font-size: .92rem;
}

/* ── Sidebar cards ── */
.sidebar-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 1.3rem 1.4rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.sidebar-card h3 { color: var(--rood); font-weight: 700; margin-bottom: .8rem; font-size: .95rem; }

/* ── Tarif tabel ── */
#lp-tarife { background: #f8f8f8; padding: 2.5rem 0; }
.tarif-table thead th { background: var(--rood); color: #fff; font-weight: 600; }
.tarif-table tbody tr:last-child td { border-bottom: 0; }

/* ── Standorte ── */
#lp-standorte { padding: 2.5rem 0; }
#lp-map {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(0,0,0,.1);
  margin-bottom: 1.4rem;
}
.standort-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
}
.standort-card h3 { color: var(--rood); font-weight: 700; margin-bottom: .5rem; font-size: .95rem; }

/* ── Contactformular ── */
#lp-kontakt { padding: 2.5rem 0; }
.form-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.btn-rood { background: var(--rood); border-color: var(--rood); color: #fff; font-weight: 600; padding: .6rem 2rem; }
.btn-rood:hover { background: var(--rood-dk); border-color: var(--rood-dk); color: #fff; }
.btn-outline-rood { border-color: var(--rood); color: var(--rood); }
.btn-outline-rood:hover { background: var(--rood); color: #fff; }

/* ── Mobile sticky CTA ── */
#lp-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--rood);
  padding: 10px 16px;
  z-index: 1040;
  box-shadow: 0 -2px 12px rgba(0,0,0,.15);
}
@media (max-width: 767px) {
  #lp-mobile-cta { display: block; }
  body { padding-bottom: 56px; }
}

/* ── Scroll-offset voor sticky topbar ── */
#kontakt, #standorte, #lp-tarife, #lp-hero, #lp-usps {
  scroll-margin-top: 68px;
}

/* ── Footer ── */
#lp-footer { background: #1e1e1e; color: #b8b8b8; padding: 1.4rem 0 1rem; font-size: .82rem; line-height: 1.5; }
#lp-footer a { color: #b8b8b8; text-decoration: none; display: inline-block; padding: 4px 0; }
#lp-footer a:hover { color: #fff; }
#lp-footer strong { color: #eee; }
@media (max-width: 767px) {
  #lp-footer a { min-height: 44px; padding: 8px 0; }
}

/* ── Utils ── */
.lp-section { padding: 2.5rem 0; }
.text-rood { color: var(--rood) !important; }
.five-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
@media (min-width: 576px) { .five-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Cookie banner ── */
#cc-banner { position:fixed; bottom:0; left:0; right:0; background:#1a1a1a; color:#ddd;
             padding:1rem 1.2rem; z-index:9999; box-shadow:0 -3px 18px rgba(0,0,0,.35); }
.cc-inner { max-width:960px; margin:0 auto; display:flex; flex-wrap:wrap;
            align-items:center; gap:.8rem; }
.cc-text { flex:1 1 260px; font-size:.84rem; line-height:1.5; }
.cc-text strong { color:#fff; }
.cc-text a { color:#f4a4a4; text-decoration:underline; }
.cc-btns { display:flex; gap:.5rem; flex-wrap:wrap; }
.cc-btn-all { background:var(--rood); color:#fff; border:none; padding:.45rem 1rem;
              border-radius:5px; font-size:.85rem; font-weight:600; cursor:pointer; }
.cc-btn-all:hover { background:#c40000; }
.cc-btn-ess { background:transparent; color:#bbb; border:1px solid #555;
              padding:.45rem 1rem; border-radius:5px; font-size:.85rem; cursor:pointer; }
.cc-btn-ess:hover { color:#fff; border-color:#999; }

/* ══ PRINT ══════════════════════════════════════════════════════════════ */
@media print {
  @page { margin: 1.2cm 1.5cm; size: A4; }

  /* Print-only letterhead */
  #print-header { display: flex !important; align-items: center; gap: 1rem;
                  border-bottom: 2px solid #c00; margin-bottom: .8rem; padding-bottom: .5rem; }

  /* Hide screen-only elements */
  #cc-banner, #lp-topbar, #lp-mobile-cta, #lp-hero, #lp-usps,
  #lp-map, #kontakt, .accordion-button::after { display: none !important; }

  /* Force all accordion panels open */
  .accordion-collapse { display: block !important; height: auto !important; overflow: visible !important; }
  .accordion-button { background: none !important; box-shadow: none !important;
                      padding-left: 0 !important; font-weight: 700 !important;
                      color: #000 !important; pointer-events: none; }

  /* Compact layout */
  body { font-size: 9.5pt !important; line-height: 1.4; color: #000 !important; background: #fff !important; }
  h2.lp-h2 { font-size: 13pt !important; margin-top: 8pt !important; margin-bottom: 5pt !important; }
  .lp-section { padding: .5rem 0 !important; }
  section { padding-top: .4rem !important; padding-bottom: .4rem !important; }
  .container { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
  .accordion-body { padding: .4rem 0 !important; }
  .accordion-item { border: none !important; margin-bottom: .2rem !important; }
  .accordion-header { border-bottom: 1px solid #ddd; }

  /* Two-column layout: sidebar stacks under main content */
  .col-lg-4, .col-lg-8 { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
  .sidebar-card { break-inside: avoid; border: 1px solid #ddd !important;
                  margin-bottom: .4rem !important; padding: .4rem .6rem !important;
                  box-shadow: none !important; }

  /* Tables */
  .table { font-size: 9pt !important; }
  .tarif-table thead { background: #f0f0f0 !important; print-color-adjust: exact;
                       -webkit-print-color-adjust: exact; color: #000 !important; }

  /* Links */
  a[href]:after { content: none !important; }
  a { color: #333 !important; text-decoration: none !important; }

  /* Footer */
  #lp-footer { background: #fff !important; color: #333 !important;
               padding: .4rem 0 !important; font-size: 8.5pt !important;
               border-top: 1px solid #ccc !important; }
  #lp-footer a { color: #333 !important; }
  #lp-footer strong { color: #000 !important; }

  /* Avoid breaks inside key blocks */
  .accordion-item, .standort-card, .tarif-table, .sidebar-card { page-break-inside: avoid; }
}
