/* =========================================================
   cybersecurity-experte.de – Stylesheet
   Dark Theme, abgestimmt auf consent.js (#0e1430 / #2b63ff)
   ========================================================= */

/* ----- Basisvariablen ----- */
:root {
  --bg: #080d24;
  --bg-elev: #0e1430;
  --bg-card: #121a3b;
  --border: #22305f;
  --border-strong: #3a4a82;
  --text: #e9eef9;
  --text-muted: #a7b1c7;
  --text-dim: #7c87a3;
  --primary: #2b63ff;
  --primary-2: #4575ff;
  --accent: #00d4ff;
  --success: #2ed27a;
  --warning: #ffb547;
  --danger: #ff5d6c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --maxw: 1140px;
}

/* ----- Reset & Grundlayout ----- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(43, 99, 255, .18), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(0, 212, 255, .12), transparent 60%),
              var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Demo-Notice-Bar (oben, sofort sichtbar) ----- */
.notice-bar {
  background: linear-gradient(90deg, #3046b8 0%, #5b73ff 50%, #6a86ff 100%);
  color: #f0f3ff;
  border-bottom: 1px solid rgba(0, 0, 0, .25);
  font-size: 14px;
  line-height: 1.5;
}
.notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.notice-badge {
  background: #6c5dd3;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  padding: 4px 10px;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.notice-bar p {
  margin: 0;
  color: #f0f3ff;
}
.notice-bar strong { color: #fff; font-weight: 700; }
.notice-cta {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.notice-cta:hover { opacity: .85; text-decoration: underline; }
@media (max-width: 560px) {
  .notice-inner { justify-content: flex-start; gap: 10px; }
  .notice-bar p { flex: 1; min-width: 200px; }
}

/* ----- Header / Nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 13, 36, .75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-icon { width: 30px; height: 30px; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn:hover { border-color: var(--primary-2); text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); border-color: var(--primary-2); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }

/* ----- Sections ----- */
.section {
  padding: 96px 0;
  border-top: 1px solid rgba(34, 48, 95, .35);
}
.section:first-of-type { border-top: none; }
.section-alt {
  background: linear-gradient(180deg, rgba(14, 20, 48, .65), rgba(14, 20, 48, .25));
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -.01em;
}
.section-lede {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 760px;
  margin: 0 0 40px;
}

/* ----- Hero ----- */
.hero { padding: 80px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  background: rgba(43, 99, 255, .08);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 0%, #c8d2ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 580px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-muted);
  font-size: 14px;
}
.hero-badges .check {
  color: var(--success);
  font-weight: 700;
  margin-right: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.orb {
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(43, 99, 255, .45), transparent 70%),
              radial-gradient(closest-side at 60% 60%, rgba(0, 212, 255, .35), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}
.card {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 26, 59, .9), rgba(14, 20, 48, .9));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  width: min(100%, 360px);
  box-shadow: var(--shadow);
}
.card.glow { box-shadow: 0 10px 60px rgba(43, 99, 255, .35); }
.card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .06);
  font-size: 14px;
  color: var(--text-muted);
}
.card-row:last-of-type { border-bottom: none; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: var(--danger); box-shadow: 0 0 12px rgba(255, 93, 108, .7); }
.dot-yellow { background: var(--warning); box-shadow: 0 0 12px rgba(255, 181, 71, .6); }
.dot-green { background: var(--success); box-shadow: 0 0 12px rgba(46, 210, 122, .6); }
.card-bar {
  margin-top: 16px;
  height: 8px;
  background: rgba(255, 255, 255, .05);
  border-radius: 999px;
  overflow: hidden;
}
.card-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.card-foot {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}

/* ----- Stats ----- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.stat:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #fff, #9cb1e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat-label { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

/* ----- Services ----- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}
.service:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.service-highlight {
  border-color: rgba(43, 99, 255, .55);
  box-shadow: 0 10px 40px rgba(43, 99, 255, .18);
}
.ribbon {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(43, 99, 255, .25), rgba(0, 212, 255, .15));
  color: var(--accent);
  margin-bottom: 16px;
}
.service h3 { margin: 0 0 6px; font-size: 22px; }
.service-tagline { color: var(--text-muted); margin: 0 0 16px; font-size: 15px; }
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}
.service-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14.5px;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.price { font-size: 16px; font-weight: 700; color: #fff; }
.service-more {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease;
}
.service-more:hover { color: var(--accent); text-decoration: none; }

/* ----- Breadcrumbs ----- */
.crumbs {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.crumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs span { margin: 0 6px; color: var(--text-dim); }

/* ----- Steps ----- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ----- Two-Col / Trust ----- */
.two-col {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: start;
}
.trust-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text);
}
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
}
.quote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.quote blockquote {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.55;
  font-style: italic;
  color: var(--text);
}
.quote cite {
  color: var(--text-muted);
  font-size: 14px;
  font-style: normal;
}
.quote-head {
  margin: 0 0 14px;
  font-size: 17px;
  color: var(--text);
}
.quote-head em { color: var(--warning); font-style: normal; }
.quote-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.quote-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 15px;
}
.quote-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--danger);
  font-weight: 700;
}
.quote-foot {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 14px;
}
.quote-foot em { color: var(--text); font-style: italic; }

/* ----- FAQ ----- */
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 18px 22px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--text-muted);
  transition: transform .2s ease;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ----- Kontakt / Formular ----- */
.section-cta {
  background: linear-gradient(180deg, rgba(43, 99, 255, .12), rgba(0, 212, 255, .04) 60%, transparent);
}
.contact-form {
  max-width: 720px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.contact-form label span { display: block; margin-bottom: 6px; }
.contact-form em { color: var(--accent); font-style: normal; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 99, 255, .25);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23a7b1c7' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 20px !important;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.checkbox input { margin-top: 3px; }
.form-hint { color: var(--text-dim); font-size: 13px; margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----- Lead-Magnet ----- */
.section-lead {
  background: linear-gradient(180deg, rgba(43, 99, 255, .08), rgba(0, 212, 255, .03));
}
.lead-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.lead-content h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  margin: 8px 0 18px;
}
.lead-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.lead-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
}
.lead-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.lead-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.lead-form .form-row { margin-bottom: 4px; }

/* PDF-Mockup rechts */
.lead-visual {
  display: grid;
  place-items: center;
}
.pdf-mock {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1.414; /* A4 */
  background: linear-gradient(180deg, #fff 0%, #f3f6ff 100%);
  border-radius: 12px;
  padding: 38px 30px 24px;
  color: #1a2138;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .5),
    0 8px 16px rgba(43, 99, 255, .25);
  transform: rotate(-3deg);
  transition: transform .3s ease;
}
.pdf-mock:hover { transform: rotate(-1deg) translateY(-4px); }
.pdf-mock-tag {
  position: absolute;
  top: -12px;
  right: -10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(43, 99, 255, .5);
}
.pdf-mock-eyebrow {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #5b6a8a;
  margin-bottom: 14px;
}
.pdf-mock-title {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  color: #0e1430;
  margin-bottom: 14px;
}
.pdf-mock-title span {
  background: linear-gradient(90deg, var(--primary), #00b8d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pdf-mock-line {
  height: 2px;
  background: var(--primary);
  width: 100%;
  margin-bottom: 18px;
}
.pdf-mock-rows {
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: #2a3450;
}
.pdf-mock-rows > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pdf-mock-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pdf-mock-more {
  color: #5b6a8a;
  font-style: italic;
  padding-left: 32px;
  font-size: 12px;
}
.pdf-mock-foot {
  position: absolute;
  bottom: 16px;
  left: 30px;
  right: 30px;
  border-top: 1px solid #e2e7f5;
  padding-top: 8px;
  font-size: 10px;
  color: #8b97b3;
  letter-spacing: .04em;
}

@media (max-width: 960px) {
  .lead-grid { grid-template-columns: 1fr; gap: 40px; }
  .pdf-mock { transform: rotate(-2deg); }
}

/* ----- Domain-Verkauf ----- */
.section-sale {
  padding: 64px 0 96px;
  border-top: 1px solid var(--border);
}
.sale-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, rgba(43, 99, 255, .12), rgba(0, 212, 255, .06));
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 32px;
}
.sale-card h2 { margin: 0 0 8px; font-size: 24px; }
.sale-card p { margin: 0; color: var(--text-muted); font-size: 15px; max-width: 720px; }

/* ----- Footer ----- */
.site-footer {
  background: #050918;
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  /* zusätzlicher Bottom-Spacing, damit das Cookie-Banner den Footer nicht verdeckt */
  padding-bottom: 80px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); text-decoration: underline; }

/* ----- Danke-Seite ----- */
.thanks {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 24px;
}
.thanks .thanks-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 520px;
  box-shadow: var(--shadow);
}
.thanks .thanks-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #5cffae);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: #062414;
  font-size: 28px;
  font-weight: 800;
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 280px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .sale-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .nav { gap: 12px; }
  .nav a:not(.btn) { display: none; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}
