:root {
  --navy: #003c76;
  --navy-dark: #00253f;
  --red: #e30613;
  --ink: #13100d;
  --gray-light: #f5f5f5;
  --gray-border: #dee2e6;
  --gray-text: #13100D;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Aleo", Georgia, serif;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--gray-text); }

a { color: var(--navy); }

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

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { height: 48px; display: block; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
}

.nav-list a:hover { opacity: 1; }

.nav-cta {
  background: var(--red);
  padding: 10px 18px;
  border-radius: 4px;
  opacity: 1 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 100px 0 80px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

/* Hero particle-ring visual */
.hero-visual {
  display: none;
}

@media (min-width: 992px) {
  .hero-inner { max-width: 560px; }

  .hero-visual {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shield {
  position: absolute;
  top: 42%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: clamp(84px, 8vw, 120px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shield svg {
  width: 46%;
  height: 46%;
}

.hero-chip {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  opacity: 0;
  will-change: transform, opacity;
}

.hero-chip::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--chip-color);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9fc0e0;
  margin: 0 0 1em;
}

.hero h1 { color: #fff; }

.hero-lede {
  font-size: 1.15rem;
  color: #efefef;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover { box-shadow: 0 8px 20px rgba(227, 6, 19, 0.35); }

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover { border-color: #fff; }

.hero-deadline {
  color: #d9e6f2;
  font-size: 1.25rem;
  margin: 0;
}

.hero-deadline strong { color: #fff; }

/* Sections */
.section { padding: 80px 0; }

.section-alt { background: var(--gray-light); }

.section-lede {
  font-size: 1.25rem;
  max-width: 760px;
}

/* Regulatorische Treiber im Hintergrund-Abschnitt */
.driver-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.driver-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 30px 32px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.driver-card:hover {
  border-color: rgba(0, 60, 118, 0.35);
  box-shadow: 0 12px 28px rgba(0, 60, 118, 0.1);
}

.driver-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.driver-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 60, 118, 0.07);
  color: var(--navy);
}

.driver-icon svg { width: 22px; height: 22px; }

/* Das Datum ist die eigentliche Nachricht – entsprechend prominent. */
.driver-date {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.driver-card h3 { margin-bottom: 0.45em; }
.driver-card p { margin: 0; font-size: 1.1rem; }

/* Schlussaussage des Abschnitts als Akzentpanel */
.conclusion-panel {
  margin: 24px 0 0;
  padding: 28px 34px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 1.2rem;
}

/* Requirement list */
.requirement-list {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.requirement-list > li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 28px 30px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.requirement-list > li:hover {
  border-color: rgba(227, 6, 19, 0.3);
  box-shadow: 0 10px 26px rgba(0, 60, 118, 0.08);
}

/* Rot als Akzent: Anforderungen an die Kanzlei – Navy bleibt dem System vorbehalten. */
.req-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(227, 6, 19, 0.08);
  color: var(--red);
}

.req-icon svg { width: 22px; height: 22px; }

.req-body { min-width: 0; }

.req-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--red);
  margin-bottom: 4px;
}

.req-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5em;
}

.requirement-list p { margin: 0; font-size: 1.125rem; }

/* Beispiele aus dem Newsletter als Chips statt als Klammer-Aufzählung im Fließtext. */
.req-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}

.req-tags li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: 999px;
  padding: 4px 12px;
}

/* KYC-Abschnitt: Text links, schematische Ablauf-Karte rechts */
.kyc-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.kyc-layout h2 { margin-bottom: 0.7em; }

.demo-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 18px 44px rgba(0, 60, 118, 0.10);
}

.demo-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.demo-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 60, 118, 0.08);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.demo-title {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--gray-text);
}

.demo-title strong {
  font-size: 1rem;
  color: var(--ink);
}

.demo-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.demo-step-name { font-weight: 600; color: var(--navy); }
.demo-pct { font-variant-numeric: tabular-nums; color: var(--gray-text); }

.demo-bar {
  height: 7px;
  border-radius: 999px;
  background: var(--gray-light);
  overflow: hidden;
}

.demo-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--navy);
  transition: width 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.demo-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.88rem;
  color: #9aa3ad;
  transition: color 0.3s ease;
}

/* Statuspunkt vor jedem Schritt */
.demo-steps li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-border);
  background: #fff;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.demo-steps li.is-active {
  color: var(--navy);
  font-weight: 600;
}

.demo-steps li.is-active::before {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px var(--navy);
}

.demo-steps li.is-done { color: var(--gray-text); }

.demo-steps li.is-done::before {
  border-color: #1a6b45;
  background: #1a6b45 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Dauerhaft sichtbar, damit die Kartenhöhe konstant bleibt und unten kein toter Raum entsteht. */
.demo-status {
  margin: 24px 0 0;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--gray-light);
  color: var(--gray-text);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.35s ease, color 0.35s ease;
}

.demo-status.is-done {
  background: #e8f5ee;
  color: #14603c;
}

.demo-caption {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #8b949e;
}

/* Workflow */
.workflow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 48px 0 0;
  padding: 0;
}

.workflow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 28px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.workflow-step:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 60, 118, 0.35);
  box-shadow: 0 12px 28px rgba(0, 60, 118, 0.12);
}

/* Verbindungspfeil zur nächsten Karte derselben Reihe */
.workflow-step::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);
  width: 22px;
  text-align: center;
  line-height: 1;
  font-size: 1.05rem;
  color: rgba(0, 60, 118, 0.32);
}

.workflow-step:nth-child(3n)::after,
.workflow-step:last-child::after { content: none; }

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 60, 118, 0.07);
  color: var(--navy);
  margin-bottom: 16px;
  transition: background 0.18s ease, color 0.18s ease;
}

.step-icon svg { width: 22px; height: 22px; }

.workflow-step:hover .step-icon {
  background: var(--navy);
  color: #fff;
}

.step-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.workflow-step h3 { margin-bottom: 0.4em; }
.workflow-step p { margin: 0; font-size: 0.95rem; }

/* Survey */
.section-survey { background: var(--navy); color: #fff; }

.survey-intro { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.survey-intro h2 { color: #fff; }
.survey-intro p { color: #fff; font-size: 1.25rem; }
.survey-intro .hero-deadline { color: #fff; }

.survey-embed {
  max-width: 1150px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.survey-embed iframe {
  width: 100%;
  min-height: 700px;
  border: none;
  border-radius: 4px;
  display: block;
}

.survey-fallback {
  color: var(--gray-text);
  font-size: 0.9rem;
  text-align: center;
  margin: 10px 0 0;
}

/* Platzhalter, solange die Umfrage nicht geladen werden darf */
.survey-placeholder {
  text-align: center;
  padding: 56px 32px;
}

.survey-placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 60, 118, 0.07);
  color: var(--navy);
  margin-bottom: 18px;
}

.survey-placeholder-icon svg { width: 28px; height: 28px; }

.survey-placeholder p {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.02rem;
}

.survey-placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--gray-border);
}

.btn-outline:hover { border-color: var(--navy); }

/* Consent-Banner */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #fff;
  border-top: 3px solid var(--navy);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.18);
}

.consent-banner[hidden] { display: none; }

.consent-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.consent-text strong {
  display: block;
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.consent-text p {
  margin: 0;
  font-size: 0.95rem;
}

.consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Ablehnen und Akzeptieren bewusst gleich gewichtet. */
.consent-btn {
  padding: 12px 26px;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid var(--navy);
}

.consent-decline {
  background: transparent;
  color: var(--navy);
}

.consent-decline:hover { background: rgba(0, 60, 118, 0.06); }

.consent-accept {
  background: var(--navy);
  color: #fff;
}

.consent-accept:hover { box-shadow: 0 8px 20px rgba(0, 60, 118, 0.3); }

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #fff;
  cursor: pointer;
}

.footer-link-btn:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .consent-actions > * { flex: 1; }
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo { height: 60px; }

.footer-meta p {
  margin: 0 0 4px;
  color: #c2c7dd;
  font-size: 0.9rem;
}

.footer-meta a { color: #fff; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 10px;
  font-size: 0.9rem;
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Trennpunkte zwischen den Einträgen, ohne sie in den Text zu schreiben */
.footer-links > * + * { position: relative; }

.footer-links > * + *::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #7d8bb0;
  transform: translateY(-50%);
}

/* Responsive */
@media (max-width: 992px) {
  /* Zweispaltig passen die Pfeile nicht mehr zur Leserichtung. */
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow-step::after { content: none; }
}

@media (max-width: 900px) {
  .kyc-layout { grid-template-columns: 1fr; gap: 36px; }
  .kyc-demo { max-width: 460px; }
}

@media (max-width: 860px) {
  .driver-grid { grid-template-columns: 1fr; }
  .requirement-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .workflow { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-list {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 18px;
    display: none;
  }

  .nav-list.is-open { display: flex; }

  .hero { padding: 60px 0 50px; }
  .section { padding: 56px 0; }
}
