/* ============================================================
   BBCV Alexander Visser — bbcv-visser.de
   Modernes, schlankes Stylesheet ohne externe Abhängigkeiten
   ============================================================ */

:root {
  --navy: #164a7c;
  --navy-dark: #0d2d50;
  --navy-light: #1d5c98;
  --gold: #d5a439;
  --gold-light: #e6c476;
  --ink: #1d2733;
  --slate: #4a5a6a;
  --mist: #f4f6f8;
  --line: #e2e7ec;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 42, 68, 0.10);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

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

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

/* ---------- Skip-Link (Barrierefreiheit) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo { height: 46px; width: auto; display: block; }
.footer-logo { height: 60px; width: auto; display: block; }
.brand-mark {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.brand-mark .gold { color: var(--gold); }
.brand-sub {
  font-size: 0.78rem;
  color: var(--slate);
  letter-spacing: 0.04em;
}

/* Navigation (ohne JavaScript, Burger via Checkbox) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  position: relative;
  content: "";
  transition: transform 0.2s ease;
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after { position: absolute; top: 7px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { background: var(--mist); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.site-nav .nav-cta a {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}
.site-nav .nav-cta a:hover { background: var(--navy-light); }

@media (max-width: 860px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
  .site-nav a { padding: 13px 16px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
  padding: 88px 0 76px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 162, 78, 0.22), transparent 65%);
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 21ch;
  margin-bottom: 20px;
}
.hero p.lead {
  font-size: 1.13rem;
  color: #dbe4ee;
  max-width: 60ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); }

/* Sub-Page-Hero (kompakter) */
.hero.hero-sub { padding: 60px 0 52px; }
.hero.hero-sub h1 { max-width: 28ch; }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 22px;
  color: #b9c6d4;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #7f93a8; }
.breadcrumb a { color: #d3dde8; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Abschnitte ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--mist); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 14px;
}
h3 { color: var(--navy); font-size: 1.18rem; margin-bottom: 10px; }
.section p + p { margin-top: 14px; }

/* ---------- Karten ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: grid;
  place-items: center;
  color: var(--gold-light);
}
.card p { color: var(--slate); font-size: 0.97rem; flex-grow: 1; }
.card .card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
}
.card .card-link:hover { color: var(--gold); }

/* ---------- Listen ---------- */
.check-list { list-style: none; display: grid; gap: 12px; margin: 18px 0; }
.check-list li { padding-left: 34px; position: relative; color: var(--ink); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / 15px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / 15px no-repeat;
}
.check-list li strong { color: var(--navy); }

/* Zweispaltiges Layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Info-Box */
.info-box {
  background: var(--mist);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 26px;
}
.info-box.navy {
  background: var(--navy);
  color: #e7edf4;
  border-left-color: var(--gold);
}
.info-box.navy h3 { color: #fff; }
.info-box.navy a { color: var(--gold-light); }

/* Schritte */
.steps { counter-reset: step; display: grid; gap: 22px; margin-top: 10px; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}
.step p { color: var(--slate); font-size: 0.97rem; }

/* FAQ */
details.faq {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 12px;
  background: #fff;
}
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 18px 22px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 400;
}
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 22px 18px; color: var(--slate); }

/* ---------- Kontakt-Band ---------- */
.contact-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 780px) { .contact-band { grid-template-columns: 1fr; padding: 36px 28px; } }
.contact-band h2 { color: #fff; }
.contact-band p { color: #ccd8e4; }
.contact-methods { display: grid; gap: 14px; }
.contact-methods a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 16px 20px;
  transition: background 0.15s ease;
}
.contact-methods a:hover { background: rgba(255, 255, 255, 0.14); }
.contact-methods .sub { display: block; font-size: 0.8rem; font-weight: 400; color: #b9c6d4; }
.contact-methods svg { flex-shrink: 0; color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #b9c6d4;
  padding: 56px 0 28px;
  margin-top: 72px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #b9c6d4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand .brand-mark { color: #fff; font-size: 1.3rem; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
address { font-style: normal; line-height: 1.8; }

/* ---------- Rechtstexte ---------- */
.legal-page { max-width: 780px; }
.legal-page h2 { font-size: 1.35rem; margin-top: 38px; }
.legal-page h3 { margin-top: 24px; }
.legal-page p { margin-top: 12px; color: var(--ink); }
.legal-page ul { margin: 12px 0 12px 22px; }
.legal-note {
  background: #fdf6e7;
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.93rem;
}

/* ---------- Utility ---------- */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 28px; }
.center { text-align: center; }
