/* SEKURA — Archetyp „Sicherheit & Compliance": Weiß-Grund, Graphit + Signalrot, Schild-Badges, Schredder-Textur.
   Leitmotiv: riesige P-Schild-Badges (P-4/P-5/P-7), 2er-Grid, weiße Leiste, Graphit-Typo,
   Rot streng reserviert für Sicherheitsstufe & Haupt-CTA. */
:root {
  --bg: #ffffff;
  --panel: #f4f5f6;         /* helle Graphit-Fläche für Medien/Sektionen */
  --panel-2: #eceef0;
  --ink: #2b2e33;           /* Graphit */
  --ink-soft: #45494f;
  --muted: #6c7178;
  --sig: #d3232f;           /* Signalrot — nur Sicherheitsstufe & Haupt-CTA */
  --sig-dark: #b21c27;
  --line: #e0e2e5;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(43, 46, 51, .06);
  --shadow-lg: 0 8px 28px rgba(43, 46, 51, .10);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --shred: repeating-linear-gradient(90deg, #cfd3d7 0 2px, transparent 2px 8px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.62; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
a { color: var(--sig); }

/* ---------- Navigation (weiß, Graphit, rechts roter CTA) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.logo { font-weight: 800; font-size: 1.32rem; letter-spacing: .14em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo .mark { display: inline-block; width: 15px; height: 18px; background: var(--sig); clip-path: polygon(50% 0, 100% 22%, 100% 62%, 50% 100%, 0 62%, 0 22%); }
.nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-sections { display: contents; }
.nav-sections a { color: var(--ink-soft); text-decoration: none; font-size: .93rem; font-weight: 600; padding: 6px 2px; }
.nav-sections a:hover { color: var(--sig); }
.lang-switch { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 5px 11px; text-decoration: none; color: var(--muted); font-size: .82rem; font-weight: 700; }
.lang-switch:hover { border-color: var(--ink); color: var(--ink); }
.cart-link { background: var(--sig); color: #fff; text-decoration: none; border-radius: var(--radius); padding: 8px 16px; font-size: .92rem; font-weight: 700; }
.cart-link:hover { background: var(--sig-dark); }
.cart-count { background: #fff; color: var(--sig); border-radius: 20px; padding: 0 7px; font-size: .78rem; font-weight: 800; margin-left: 5px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; margin-left: auto; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- P-Schild-Badge (Leitmotiv) ---------- */
.p-shield {
  width: 74px; aspect-ratio: 1 / 1.16; background: var(--ink); color: #fff;
  clip-path: polygon(50% 0, 100% 16%, 100% 60%, 50% 100%, 0 60%, 0 16%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-align: center; flex: none;
}
.p-shield .lvl { font-size: 1.4rem; font-weight: 800; letter-spacing: .01em; line-height: 1; }
.p-shield .din { font-size: .42rem; font-weight: 700; letter-spacing: .08em; opacity: .82; text-transform: uppercase; }
.p-shield--max { background: var(--sig); }
.p-shield.lg { width: 118px; }
.p-shield.lg .lvl { font-size: 2.2rem; }
.p-shield.lg .din { font-size: .58rem; }

/* ---------- Schredder-Textur-Trennstreifen ---------- */
.shred-divider { height: 16px; background: var(--shred); opacity: .7; max-width: 1120px; margin: 0 auto; }

/* ---------- Hero (Text links, Schild-Gruppe rechts) ---------- */
.hero { max-width: 1120px; margin: 0 auto; padding: 66px 20px 46px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; }
.hero .eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sig); margin-bottom: 14px; }
.hero h1 { font-size: 2.5rem; line-height: 1.14; }
.hero .lead { margin-top: 18px; color: var(--ink-soft); font-size: 1.08rem; max-width: 34rem; }
.hero-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-shields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; justify-items: center; padding: 30px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.hero-shields figure { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-shields figcaption { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.hero-shields .p-shield:nth-child(1) { transform: scale(.9); }
.hero-shields .mid { transform: scale(1.08); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; border: none; cursor: pointer; text-decoration: none; text-align: center; font-size: .94rem; font-weight: 700; font-family: var(--font); border-radius: var(--radius); padding: 12px 22px; transition: background .12s ease, border-color .12s ease, color .12s ease; }
.btn-primary { background: var(--sig); color: #fff; }
.btn-primary:hover { background: var(--sig-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Sektionen ---------- */
.section { max-width: 1120px; margin: 0 auto; padding: 48px 20px; }
.section > h2 { font-size: 1.65rem; margin-bottom: 6px; }
.section > .section-sub { color: var(--muted); margin-bottom: 28px; max-width: 46rem; }

/* Sicherheitsstufen-Erklärung (3 Panels) */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.level-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.level-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.level-head h3 { font-size: 1.12rem; }
.level-head .tag { font-size: .74rem; font-weight: 700; color: var(--muted); }
.level-card p { color: var(--ink-soft); font-size: .93rem; }
.level-card .who { margin-top: 12px; font-size: .88rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }

/* ---------- Produktkarten: 2er-Grid ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-media { position: relative; background: var(--panel); padding: 30px 30px 26px; display: flex; justify-content: center; align-items: center; min-height: 240px; }
.card-media img { max-height: 210px; width: auto; object-fit: contain; }
.card-media .p-shield { position: absolute; top: 16px; left: 16px; box-shadow: var(--shadow); }
.card-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.badge { align-self: flex-start; background: var(--panel-2); color: var(--ink-soft); border-radius: 5px; padding: 3px 10px; font-size: .76rem; font-weight: 700; letter-spacing: .01em; }
.card h3 { font-size: 1.14rem; }
.card .sub { color: var(--muted); font-size: .9rem; }
.card .price { font-size: 1.34rem; font-weight: 800; color: var(--ink); margin-top: auto; }
.vat { font-size: .74rem; color: var(--muted); font-weight: 400; }
.card .actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- Vertrauen ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.trust-card h3 { font-size: 1.04rem; margin-bottom: 8px; }
.trust-card h3::before { content: ""; display: inline-block; width: 9px; height: 11px; margin-right: 8px; background: var(--sig); clip-path: polygon(50% 0, 100% 22%, 100% 62%, 50% 100%, 0 62%, 0 22%); vertical-align: -1px; }
.trust-card p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- FAQ-Vorschau ---------- */
.faq-list { display: grid; gap: 12px; max-width: 48rem; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.faq-item h3 { font-size: 1rem; margin-bottom: 5px; }
.faq-item p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Produktseite ---------- */
.product-page { max-width: 1120px; margin: 0 auto; padding: 44px 20px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product-media { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; display: flex; justify-content: center; align-items: center; }
.product-media img { max-height: 440px; width: auto; object-fit: contain; }
.product-media .p-shield { position: absolute; top: 22px; left: 22px; box-shadow: var(--shadow); }
.product-info .badge { margin-bottom: 12px; }
.product-info h1 { font-size: 1.85rem; margin: 4px 0; }
.product-info .subtitle { color: var(--muted); }
.product-info .price { font-size: 1.95rem; font-weight: 800; color: var(--ink); margin: 18px 0 14px; }
.product-info .price .vat { font-size: .78rem; }
.audience { background: var(--panel); border-left: 3px solid var(--sig); border-radius: 6px; padding: 13px 16px; font-size: .94rem; color: var(--ink-soft); margin-top: 16px; }
.bullets { margin: 18px 0 0 18px; }
.bullets li { margin-bottom: 9px; }
.specs { margin-top: 46px; }
.specs h2 { font-size: 1.3rem; margin-bottom: 14px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 600; background: var(--panel); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- Warenkorb / Unterseiten ---------- */
.cart-page { max-width: 900px; margin: 0 auto; padding: 46px 20px; min-height: 48vh; }
.cart-page h1 { font-size: 1.85rem; margin-bottom: 18px; }
.table-scroll { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; }
.cart-table th { color: var(--muted); font-weight: 600; }
.qty-controls { display: inline-flex; align-items: center; gap: 10px; }
.qty-controls button { width: 30px; height: 30px; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; }
.qty-controls button:hover { border-color: var(--ink); }
.cart-summary { display: flex; justify-content: flex-end; align-items: center; gap: 22px; margin-top: 22px; }
.cart-summary .total { font-size: 1.25rem; font-weight: 800; }
.checkout-note { color: var(--muted); font-size: .84rem; margin-top: 12px; text-align: right; }
.cart-empty { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; text-align: center; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c7cace; margin-top: 64px; }
.footer .cols { max-width: 1120px; margin: 0 auto; padding: 42px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; font-size: .9rem; }
.footer a { color: #c7cace; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-brand { font-weight: 800; font-size: 1.2rem; letter-spacing: .14em; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.footer-brand .mark { display: inline-block; width: 13px; height: 16px; background: var(--sig); clip-path: polygon(50% 0, 100% 22%, 100% 62%, 50% 100%, 0 62%, 0 22%); }

/* ---------- Mobil ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero h1 { font-size: 2rem; }
  .hero-shields { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .levels { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer .cols { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav.menu-open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 16px 20px 22px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav.menu-open .nav-sections { display: flex; flex-direction: column; }
  .nav.menu-open .nav-sections a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav.menu-open .cart-link, .nav.menu-open .lang-switch { margin-top: 10px; text-align: center; }
}
@media (max-width: 560px) {
  .cart-summary { flex-direction: column; align-items: stretch; text-align: right; }
}
