/* ==========================================================================
   BS Data Consulting – Stylesheet
   Keine externen Ressourcen (Fonts, CDNs) – bewusst datenschutzfreundlich.
   ========================================================================== */

:root {
  /* Markenfarben (aus dem bestehenden Logo abgeleitet) */
  --brand-50:  #eef3ff;
  --brand-100: #dde7fe;
  --brand-200: #bccffc;
  --brand-300: #96b2f7;
  --brand-400: #7a9cf2;   /* Schild im Logo */
  --brand-500: #4f78e6;
  --brand-600: #2c55cf;
  --brand-700: #0b3ea8;   /* Schlüsselloch / Schriftzug */
  --brand-800: #0a2f7d;
  --brand-900: #0a1f4f;
  --ink-950:   #070f24;

  --text:       #111a2e;
  --text-muted: #4d5872;
  --surface:    #ffffff;
  --surface-2:  #f5f7fc;
  --border:     #e3e8f3;
  --accent:     #2fd3a0;   /* dezenter Akzent für Häkchen / Status */

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 79, .06), 0 2px 8px rgba(10, 31, 79, .05);
  --shadow:    0 10px 30px -10px rgba(10, 31, 79, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 31, 79, .35);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--brand-900); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--muted { background: var(--surface-2); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--brand-700); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 10px 24px -8px rgba(44, 85, 207, .6); }
.btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand-800); }
.btn--light:hover { color: var(--brand-900); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--border); color: var(--brand-800); background: #fff; }
.btn--outline:hover { border-color: var(--brand-400); color: var(--brand-800); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled, .site-header--solid {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { width: 34px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; }
.brand__sub  { font-size: .62rem; font-weight: 600; letter-spacing: .42em; margin-top: 5px; opacity: .85; }
.is-scrolled .brand, .site-header--solid .brand { color: var(--brand-700); }
.is-scrolled .brand .brand__name, .site-header--solid .brand .brand__name { color: var(--brand-400); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  color: rgba(255,255,255,.85); font-weight: 600; font-size: .95rem;
  padding: 10px 14px; border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.1); }
.is-scrolled .nav__link, .site-header--solid .nav__link { color: var(--text-muted); }
.is-scrolled .nav__link:hover, .site-header--solid .nav__link:hover { color: var(--brand-800); background: var(--brand-50); }
.nav .btn { min-height: 44px; padding: 0 20px; margin-left: 8px; font-size: .95rem; }
.site-header:not(.is-scrolled):not(.site-header--solid) .nav .btn--primary { background: #fff; color: var(--brand-800); box-shadow: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12);
  color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.is-scrolled .nav-toggle, .site-header--solid .nav-toggle { background: var(--brand-50); color: var(--brand-800); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--gutter) 24px; background: #fff; box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav .nav__link { color: var(--text); padding: 14px 12px; font-size: 1.05rem; }
  .nav .nav__link:hover { background: var(--brand-50); color: var(--brand-800); }
  .nav .btn { margin: 8px 0 0; }
  .site-header .nav .btn--primary { background: var(--brand-600) !important; color: #fff !important; }
  .nav-open .site-header, .nav-open.site-header { background: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(80px, 11vw, 140px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(122, 156, 242, .45), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(44, 85, 207, .55), transparent 60%),
    linear-gradient(160deg, var(--brand-900) 0%, var(--ink-950) 100%);
}
.hero::before { /* feines Raster */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--brand-300), #c9d8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .eyebrow { color: var(--brand-300); }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.78); max-width: 54ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 44px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.8); font-size: .95rem; font-weight: 600; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--accent); }

.hero__visual { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; }
.hero__shield { position: absolute; inset: 9% 15%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); animation: float 7s ease-in-out infinite; }
.hero__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(188, 207, 252, .3); animation: spin 60s linear infinite; }
.hero__ring--inner { inset: 14%; border-style: solid; border-color: rgba(188, 207, 252, .12); animation-duration: 90s; animation-direction: reverse; }
.hero__chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .85rem; font-weight: 600; color: #fff; white-space: nowrap;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
  animation: float 6s ease-in-out infinite;
}
.hero__chip i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(47, 211, 160, .18); color: var(--accent); font-style: normal; }
.hero__chip i svg { width: 18px; height: 18px; }
.hero__chip small { display: block; font-weight: 500; opacity: .7; font-size: .75rem; }
.hero__chip--1 { top: 10%; left: -6%; animation-delay: -2s; }
.hero__chip--2 { bottom: 16%; right: -8%; animation-delay: -4s; }
.hero__chip--3 { bottom: 2%; left: 4%; animation-delay: -1s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin  { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__visual { width: min(80%, 360px); order: -1; margin-bottom: 8px; }
  .hero__chip--1 { left: -10%; }
  .hero__chip--2 { right: -10%; }
}
@media (max-width: 520px) {
  .hero__visual { width: 70%; }
  .hero__chip { font-size: .75rem; padding: 8px 12px 8px 8px; }
  .hero__chip small { display: none; }
  .hero__chip--3 { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Intro / Statement ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.intro h2 { margin: 0; }
.intro p { color: var(--text-muted); font-size: 1.12rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 72px); }
.stat { padding: 26px 24px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.stat strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: var(--brand-700); letter-spacing: -.03em; margin-bottom: 6px; }
.stat span { color: var(--text-muted); font-size: .95rem; line-height: 1.4; display: block; }
@media (max-width: 920px) {
  .intro { grid-template-columns: 1fr; align-items: start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 15px;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); color: var(--brand-600);
}
.card__icon svg { width: 26px; height: 26px; }
.card p { color: var(--text-muted); margin: 0; font-size: .98rem; }
.card--featured {
  background: linear-gradient(155deg, var(--brand-700), var(--brand-900)); border-color: transparent; color: #fff;
}
.card--featured h3 { color: #fff; }
.card--featured p { color: rgba(255,255,255,.78); }
.card--featured .card__icon { background: rgba(255,255,255,.12); color: #fff; }
.card__tag {
  position: absolute; top: 24px; right: 24px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: rgba(47, 211, 160, .18); color: var(--accent);
}
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cards { grid-template-columns: 1fr; } }

/* ---------- Vorgehensweise ---------- */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.process__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--brand-200), var(--brand-500)); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step__num {
  counter-increment: step; position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand-200); color: var(--brand-700); font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 0 0 6px var(--surface-2);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step:last-child .step__num { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.step__body { padding: 14px 0 0; }
.step__body h3 { margin-bottom: 6px; }
.step__body p { margin: 0; color: var(--text-muted); }
.step__badge { display: inline-block; margin-left: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgba(47, 211, 160, .15); color: #138a66; vertical-align: middle; }
.process__done {
  display: flex; align-items: center; gap: 14px; margin-top: 40px; padding: 20px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-weight: 700; color: var(--brand-800);
}
.process__done svg { width: 28px; height: 28px; color: var(--accent); flex: none; }
@media (max-width: 920px) {
  .process { grid-template-columns: 1fr; }
  .process__intro { position: static; }
}

/* ---------- Warum Datenschutz ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; margin-bottom: clamp(48px, 7vw, 80px); }
.why__text p { color: var(--text-muted); }
.quote {
  position: relative; margin: 0; padding: clamp(32px, 5vw, 48px); border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--brand-600), var(--brand-800)); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden;
}
.quote::after { content: "“"; position: absolute; right: 20px; top: -40px; font-size: 220px; line-height: 1; font-family: Georgia, serif; color: rgba(255,255,255,.1); }
.quote p { position: relative; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 28px; }
.quote .btn { position: relative; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.benefit { background: var(--surface); padding: 32px 28px; transition: background-color .25s; }
.benefit:hover { background: var(--brand-50); }
.benefit__icon { width: 28px; height: 28px; color: var(--brand-600); margin-bottom: 18px; }
.benefit p { color: var(--text-muted); font-size: .97rem; margin: 0; }
@media (max-width: 920px) {
  .why { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(40px, 7vw, 80px); color: #fff; text-align: center;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(122, 156, 242, .5), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(47, 211, 160, .22), transparent 60%),
    var(--brand-900);
}
.cta h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta p { color: rgba(255,255,255,.78); font-size: 1.15rem; max-width: 52ch; margin: 0 auto 32px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.contact__item {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s;
}
a.contact__item:hover { border-color: var(--brand-300); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.contact__item svg { width: 22px; height: 22px; color: var(--brand-600); flex: none; }
.contact__item small { display: block; color: var(--text-muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact__item span { font-weight: 700; word-break: break-word; }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: rgba(255,255,255,.7); padding: 64px 0 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { margin-bottom: 18px; }
.site-footer .brand__name { color: var(--brand-400); }
.site-footer .brand__sub { color: #fff; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.5); }
@media (max-width: 920px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.page-hero { padding: calc(var(--header-h) + 56px) 0 48px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 0; }
.legal { max-width: 780px; padding-block: 56px var(--section-y); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--text-muted); }
.legal address { font-style: normal; color: var(--text); line-height: 1.7; }
.notice {
  padding: 16px 20px; border-radius: var(--radius-sm); background: #fff8e6; border: 1px solid #f5d98a; color: #6b5310; font-size: .95rem;
}

/* ---------- Scroll-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
