:root{
  --brand-red:#770000;
  --gray-900:#1F1F1F;
  --gray-800:#2B2B2B;
  --gray-700:#4D4C4C;
  --gray-100:#F5F5F5;
  --border:#E6E6E6;
  --white:#fff;

  --radius-lg:24px;
  --radius-md:18px;

  --container:1200px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--gray-900);
  background:var(--white);
}

a{ color:inherit; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:96px 0; }
.section-soft{ background:linear-gradient(180deg, #fff, #fafafa); }

.site-header{
  position:sticky; top:0;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--border);
  z-index:10;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}
.brand{ text-decoration:none; display:flex; align-items:center; gap:12px; }
.brand-text{ font-weight:900; font-size:22px; letter-spacing:-.02em; }
.dot{ color:var(--brand-red); }

.nav{ display:flex; gap:18px; align-items:center; }

/* normale Nav-Links (ohne Button) */
.nav a:not(.btn){
  text-decoration:none;
  color:var(--gray-700);
  font-weight:600;
}
.nav a:not(.btn):hover{
  color:var(--gray-900);
}

/* Buttons im Nav dürfen ihre Button-Farben behalten */
.nav a.btn.btn-primary{ color:var(--white); }
.nav a.btn.btn-secondary{ color:var(--gray-900); }

.h1{
  font-size:clamp(38px, 4vw, 64px);
  line-height:1.05;
  letter-spacing:-0.02em;
  margin:16px 0;
}
.lead{
  font-size:18px;
  line-height:1.65;
  color:var(--gray-700);
  max-width:72ch;
}

.accent-line{
  width:72px; height:6px;
  background:var(--brand-red);
  border-radius:999px;
}

.hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:32px;
  align-items:center;
}

.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:22px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}
.card-lg{ padding:28px; border-radius:var(--radius-lg); }
.card-title{ margin:0 0 10px 0; }

.list{ margin:0; padding-left:18px; color:var(--gray-700); line-height:1.7; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
  margin-top: 5px;
  margin-bottom: 5px;
}
.btn-sm{ padding:10px 14px; font-weight:800; }
.btn-primary{ background:var(--brand-red); color:var(--white); }
.btn-secondary{ background:transparent; color:var(--gray-900); border-color:var(--border); }

.cta{ display:flex; gap:12px; margin-top:24px; flex-wrap:wrap; }
.trust{ display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; color:var(--gray-700); font-size:14px; }

.grid-2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}
.grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}

.cta-strip{
  margin-top:28px;
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  padding:20px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:#fff;
}

.site-footer{
  border-top:1px solid var(--border);
  padding:30px 0;
  color:var(--gray-700);
}
.footer-inner{
  display:flex;
  gap:18px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}
.footer-links{ display:flex; gap:14px; }
.footer-links a{ color:var(--gray-700); text-decoration:none; }
.footer-links a:hover{ color:var(--gray-900); }

.muted{ color:var(--gray-700); }

/* Responsive */
@media (max-width: 980px){
  .hero{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .cta-strip{ flex-direction:column; align-items:flex-start; }
}

.form{ display:grid; gap:14px; }
.field label{ display:block; font-weight:700; margin-bottom:6px; }
.field input, .field textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:14px;
  font:inherit;
  outline:none;
}
.field input:focus, .field textarea:focus{
  border-color: rgba(119,0,0,.45);
  box-shadow:0 0 0 4px rgba(119,0,0,.10);
}

/* Flash/Alerts – deutlich sichtbarer */
.alert{
  display:flex;
  gap:12px;
  padding:16px 16px;
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 14px 30px rgba(0,0,0,.08);
  margin:18px 0 26px 0;
  position:relative;
  overflow:hidden;
}
.alert::before{
  content:"";
  width:10px;
  position:absolute;
  left:0; top:0; bottom:0;
  background: var(--gray-900);
}
.alert-success{
  background: rgba(31,31,31,.04);
  border-color: rgba(31,31,31,.18);
}
.alert-success::before{ background: var(--gray-900); }

.alert-error{
  background: rgba(119, 0, 0, .10);
  border-color: rgba(119, 0, 0, .30);
}
.alert-error::before{ background: var(--brand-red); }

.alert-body{ padding-left:10px; }
.alert-title{ font-weight:900; margin-bottom:4px; }
.alert-message{ color: var(--gray-800); }

/* Submit-Button Feedback */
.btn[disabled]{ opacity:.85; cursor:not-allowed; }
.btn.is-loading{ pointer-events:none; }
.btn.btn-primary.is-loading::after{
  content:"";
  width:14px; height:14px;
  border:2px solid rgba(255,255,255,.55);
  border-top-color: rgba(255,255,255,1);
  border-radius:999px;
  display:inline-block;
  margin-left:10px;
  animation: spin .8s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg);} }

.h2{
  font-size: 26px;
  margin: 34px 0 0 0;
  letter-spacing: -0.01em;
}

.card-link{
  text-decoration:none;
  color:inherit;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card-link:hover{
  transform: translateY(-2px);
  box-shadow:0 16px 40px rgba(0,0,0,.10);
}

.meta{ display:flex; gap:10px; align-items:center; margin-top:12px; flex-wrap:wrap; }
.badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.02);
  font-size:12px;
  font-weight:800;
}

.breadcrumb{ display:flex; gap:10px; align-items:center; }
.breadcrumb a{ color: var(--gray-700); text-decoration:none; font-weight:700; }
.breadcrumb a:hover{ color: var(--gray-900); }

.docs-card{ padding: 26px; border-radius: var(--radius-lg); }

/* "Prose" fürs gerenderte Markdown */
.prose{ line-height:1.75; color: var(--gray-800); }
.prose h1, .prose h2, .prose h3{
  color: var(--gray-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.prose h2{ margin-top: 26px; }
.prose h3{ margin-top: 18px; }
.prose p{ margin: 12px 0; }
.prose ul, .prose ol{ margin: 12px 0 12px 18px; }
.prose li{ margin: 6px 0; }

.prose code{
  background: rgba(0,0,0,.06);
  padding: 2px 6px;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .95em;
}
.prose pre{
  background: #111;
  color: #fff;
  padding: 14px;
  border-radius: 16px;
  overflow:auto;
}
.prose pre code{ background: transparent; padding:0; }
.prose blockquote{
  margin: 14px 0;
  padding: 10px 14px;
  border-left: 6px solid var(--brand-red);
  background: rgba(119,0,0,.06);
  border-radius: 14px;
}
.prose a{
  color: var(--brand-red);
  font-weight: 800;
  text-decoration: none;
}
.prose a:hover{ text-decoration: underline; }

/* Honeypot muss unsichtbar sein */
.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

.order-card{ padding:16px; border-radius:18px; }
.order-head .badge{ display:inline-flex; padding:6px 10px; border-radius:999px; background:rgba(119,0,0,.10); font-weight:800; font-size:12px; }
.order-title{ margin:10px 0 6px; font-size:20px; }
.order-sub{ margin:0; opacity:.75; }
.order-price{ margin:14px 0; padding:12px; border-radius:16px; background:rgba(0,0,0,.04); }
.order-price-main{ font-size:28px; font-weight:900; letter-spacing:-.02em; }
.order-price-main span{ font-size:14px; font-weight:700; opacity:.7; margin-left:6px; }
.order-price-sub{ margin-top:6px; opacity:.75; font-weight:700; }
.order-bullets{ margin:12px 0 0; padding-left:18px; opacity:.85; }
.order-addons{ margin-top:14px; }
.order-addons-title{ font-weight:900; margin-bottom:10px; }
.addon-row{ display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid rgba(0,0,0,.08); }
.addon-name{ font-weight:900; display:flex; align-items:center; gap:8px; }
.addon-desc{ opacity:.75; margin-top:2px; }
.addon-price{ opacity:.75; font-size:13px; margin-top:6px; }
.addon-check{ display:flex; align-items:center; gap:8px; font-weight:800; }
.addon-qty{ width:92px; padding:10px 12px; border-radius:12px; border:1px solid rgba(0,0,0,.15); }
.order-total{ margin-top:14px; padding:12px; border-radius:16px; background:rgba(0,0,0,.04); }
.order-total-row{ display:flex; justify-content:space-between; gap:10px; padding:4px 0; }
.order-trust{ margin-top:10px; font-size:13px; opacity:.7; }
.btn-block{ width:100%; }

/* Pills (wenn du die aus Admin nicht global hast) */
.pill{ display:inline-flex; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:900; }
.pill-warn{ background:rgba(255,165,0,.15); }

/* Modal */
.modal{ position:fixed; inset:0; z-index:999; }
.modal-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.55); }
.modal-card{
  position:relative;
  width:min(640px, calc(100% - 28px));
  margin:6vh auto 0;
  background:#fff;
  border-radius:18px;
  box-shadow:0 20px 80px rgba(0,0,0,.35);
  padding:16px;
}
.modal-head{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.modal-title{ font-weight:900; font-size:18px; }
.modal-sub{ opacity:.7; margin-top:2px; }
.modal-x{ border:0; background:transparent; font-size:26px; line-height:1; cursor:pointer; opacity:.7; }
.modal-form .field{ margin-top:12px; }

/* hidden MUSS wirklich hidden sein */
[hidden]{display:none !important;}

/* Honeypot: nicht sichtbar, nie */
.hp{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
.hp *{ display:block; } /* bleibt im DOM, nur offscreen */

/* Order Box – clean & “sellable” */
:root{
  --brand:#6b0000;            /* euer dunkles Rot */
  --text:#1f1f1f;
  --muted:#6b6b6b;
  --border:rgba(0,0,0,.10);
  --bgsoft:rgba(0,0,0,.035);
}

.order-card{
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
  background:#fff;
  box-shadow:0 18px 50px rgba(0,0,0,.08);
}

.order-top{display:flex; gap:12px; align-items:flex-start; justify-content:space-between;}
.order-badge{
  display:inline-flex; align-items:center;
  padding:6px 10px; border-radius:999px;
  background:rgba(107,0,0,.10);
  color:var(--brand);
  font-weight:900; font-size:12px;
}
.order-title{margin:10px 0 4px; font-size:20px; font-weight:900; color:var(--text);}
.order-sub{margin:0; color:var(--muted); font-size:14px;}

.order-pricebox{
  margin-top:14px;
  padding:14px;
  border-radius:18px;
  background:var(--bgsoft);
  border:1px solid var(--border);
}
.order-price-main{font-size:30px; font-weight:900; letter-spacing:-.02em;}
.order-price-main span{font-size:14px; font-weight:800; color:var(--muted); margin-left:6px;}
.order-price-sub{margin-top:6px; color:var(--muted); font-weight:800;}

.order-points{margin:12px 0 0; padding-left:18px; color:var(--text);}
.order-points li{margin:6px 0; color:var(--muted);}

.order-accordion{margin-top:14px;}
.order-accordion details{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
}
.order-accordion summary{
  cursor:pointer;
  padding:12px 14px;
  font-weight:900;
  color:var(--text);
}
.order-accordion .addons-inner{padding:0 14px 10px;}

.addon-row{
  display:flex; gap:12px; align-items:flex-start; justify-content:space-between;
  padding:10px 0;
  border-top:1px solid var(--border);
}
.addon-name{font-weight:900; color:var(--text);}
.addon-desc{color:var(--muted); font-size:13px; margin-top:2px;}
.addon-price{color:var(--muted); font-size:13px; margin-top:6px;}
.addon-qty{
  width:92px; padding:10px 12px;
  border-radius:12px; border:1px solid var(--border);
}

.addon-check{
  display:flex; align-items:center; gap:8px;
  font-weight:900; color:var(--text);
}
.addon-check input{width:18px; height:18px;}

.order-total{
  margin-top:14px;
  padding:12px 14px;
  border-radius:16px;
  background:var(--bgsoft);
  border:1px solid var(--border);
}
.order-total-row{display:flex; justify-content:space-between; gap:10px; padding:4px 0;}
.order-total-row span{color:var(--muted); font-weight:800;}
.order-total-row strong{color:var(--text);}

.btn-primary{
  background:var(--brand);
  border:0;
  color:#fff;
  font-weight:900;
  padding:14px 16px;
  border-radius:999px;
}
.btn-primary:hover{filter:brightness(1.05);}

.btn-block{width:100%;}
.order-trust{margin-top:10px; color:var(--muted); font-size:13px;}

/* Eigener Modal-Namespace (kein Bootstrap-Konflikt) */
.jd-modal{ position:fixed; inset:0; z-index:9999; }
.jd-modal-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.55); }
.jd-modal-card{
  position:relative;
  width:min(640px, calc(100% - 28px));
  margin:6vh auto 0;
  background:#fff;
  border-radius:22px;
  box-shadow:0 20px 80px rgba(0,0,0,.35);
  padding:16px;
}
.jd-modal-head{display:flex; justify-content:space-between; gap:12px; align-items:flex-start;}
.jd-modal-title{font-weight:900; font-size:18px; color:var(--text);}
.jd-modal-sub{color:var(--muted); margin-top:2px;}
.jd-modal-x{border:0; background:transparent; font-size:28px; line-height:1; cursor:pointer; opacity:.7;}

.order-card--b2b{padding:18px;border-radius:22px}
.order-head{display:flex;gap:14px;justify-content:space-between;align-items:flex-start}
.order-meta{min-width:0}
.order-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(107,0,0,.10);color:var(--brand);font-weight:900;font-size:12px}
.order-title{margin:10px 0 4px;font-size:20px;font-weight:900}
.order-sub{margin:0;color:var(--muted);font-size:14px}

.order-price{ text-align:right; min-width:190px; }
.order-price-main{font-size:34px;font-weight:950;letter-spacing:-.02em;line-height:1.05}
.order-price-main span{font-size:13px;font-weight:900;color:var(--muted);margin-left:6px}
.order-price-note{margin-top:6px;color:var(--muted);font-weight:800;font-size:13px}

.order-divider{height:1px;background:var(--border);margin:14px 0}
.order-points{margin:0;padding-left:18px;color:var(--muted)}
.order-points li{margin:6px 0}

.addons summary{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:#fff;font-weight:900}
.addons[open] summary{border-bottom-left-radius:0;border-bottom-right-radius:0}
.addons-hint{font-size:12px;color:var(--muted);font-weight:900}
.addons-list{border:1px solid var(--border);border-top:0;border-bottom-left-radius:16px;border-bottom-right-radius:16px;background:#fff}
.addon{display:flex;gap:12px;justify-content:space-between;padding:12px 14px;border-top:1px solid var(--border)}
.addon-info{min-width:0}
.addon-name{font-weight:950}
.addon-desc{color:var(--muted);font-size:13px;margin-top:2px}
.addon-price{color:var(--muted);font-size:13px;margin-top:6px}
.addon-action{display:flex;align-items:center}
.addon-check{display:flex;align-items:center;gap:8px;font-weight:900}
.addon-qty{width:92px;padding:10px 12px;border-radius:12px;border:1px solid var(--border)}
.pill{display:inline-flex;margin-left:8px;padding:4px 10px;border-radius:999px;background:rgba(107,0,0,.08);color:var(--brand);font-weight:900;font-size:12px}

.order-total{margin-top:14px;padding:12px 14px;border-radius:16px;background:var(--bgsoft);border:1px solid var(--border)}
.order-total .row{display:flex;justify-content:space-between;gap:10px;padding:4px 0}
.order-total .row span{color:var(--muted);font-weight:900}
.order-total .row strong{font-weight:950}
.order-total .row-sub{margin-top:6px;font-size:13px;opacity:.85}

.order-legal{margin-top:10px;color:var(--muted);font-size:12px}

.pay-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  margin:8px 0;
  cursor:pointer;
}
.pay-item input{ margin-top:3px; }

.checkline{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:10px 0;
}

.addon-required{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  background:rgba(55,134,255,.15);
  color:var(--brand);
}
