/* ===== Design Tokens (Farben, Abstände, Radius) ===== */
:root {
  --surface: #ffffff;
  --text: #111827;
  --fg: #0a0a0a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f5f5f5;
  --brand: #111111;
  --ok: #0ea5e9;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,.06);
  --shadow-soft: 0 4px 16px rgba(0,0,0,.05);
  --top-1: #e7f8fd;
  --top-2: #b9e8f6;
  --cyan: #45c9e9;
  --blue-1: #015f9b;
  --blue-2: #003866;
  --dark-start: 88%;
}

/* ===== Globales Reset/Grundlayout ===== */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; min-height: 100%; }
body {
  margin:0;
  min-height:100dvh;
  color: var(--text);
  position: relative;
  background: none;
  font: 400 16px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 50% 12%,
      rgba(231,248,253,0.95) 0%,
      rgba(231,248,253,0.85) 28%,
      rgba(231,248,253,0.40) 52%,
      rgba(231,248,253,0.00) 64%
    ),
    radial-gradient(ellipse at 50% 70%,
      rgba(69,201,233,0.65) 0%,
      rgba(69,201,233,0.30) 22%,
      rgba(69,201,233,0.00) 44%
    ),
    linear-gradient(to bottom,
      var(--top-1) 0%,
      var(--top-2) 45%,
      var(--cyan)  68%,
      var(--blue-1) var(--dark-start, 88%),
      var(--blue-2) 100%
    );
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* ===== Header / Navigation (sticky) ===== */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.7);
  backdrop-filter: saturate(180%) blur(8px);
  overflow: visible;
}

header.site::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px; /* total 5*2px = 10px directly below the header */
  height: 10px;   /* five stripes à 2px */
  background: linear-gradient(to bottom,
   #E7F8FD 0 2px,
   #B9E8F6 2px 4px,
   #7DDCF1 4px 6px,
   #45C9E9 6px 8px,
   #003866 8px 10px
  );
  pointer-events: none;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.4px;
  line-height: 1;
}
.nav a { padding: 10px 12px; color: #1f2937; }
.nav .links { display: none; gap: 6px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid var(--fg); border-radius: 999px; font-weight: 600; }
.btn.primary { background: var(--fg); color: #fff; border-color: var(--fg); }
.btn.ghost { background: transparent; }

/* ===== Hero (Above the Fold) ===== */
.hero { padding: 64px 0 24px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
.sub { font-size: 18px; color: #374151; margin-bottom: 20px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; margin-top: 12px; }
.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.hero-card h3 { margin: 0 0 8px; font-size: 16px; }
.hero-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.hero-list li { display: flex; align-items: center; gap: 10px; }
.check { width: 18px; height: 18px; border-radius: 4px; border: 1px solid #d1d5db; display: inline-flex; align-items: center; justify-content: center; }
.check svg { width: 12px; height: 12px; }

/* ===== „Who it's for“ (2 Karten) ===== */
.paths { padding: 40px 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-soft);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0 0 14px; color: #374151; }
.bullets { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; color: #111827; }
.card .btn { margin-top: 6px; }

/* ===== How it works (3 Schritte) ===== */
.how { padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.step h4 { margin: 6px 0 8px; font-size: 18px; }
.num { font-weight: 700; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* ===== Buyers Guide (Showcase/Mock) ===== */
.buyers { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mock {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
}
.mock .titlebar { height: 42px; background: #f9fafb; border-bottom: 1px solid var(--line); display:flex; align-items:center; gap:8px; padding: 0 12px; }
.dot-sm { width: 8px; height: 8px; border-radius: 50%; background:#d1d5db; }
.mock .body { padding: 16px; }
.matrix { width: 100%; border-collapse: collapse; font-size: 14px; }
.matrix th, .matrix td { border: 1px solid var(--line); padding: 10px; text-align: left; }
.note { font-size: 14px; color: #374151; }

/* ===== Packages (Pricing-Karten) ===== */
.pricing { padding: 64px 0; background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  display:flex;
  flex-direction:column;
}
.price-card h3 { margin: 0 0 6px; }
.price { font-size: 28px; font-weight: 700; margin: 6px 0 12px; }
.muted { color: var(--muted); font-size: 14px; }
.features { list-style: none; padding: 0; margin: 12px 0 18px; display:grid; gap:8px; }
.price-card .btn { margin-top: auto; }

/* ===== Independence & Proof (Badges) ===== */
.proof { padding: 56px 0; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.badge {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

/* ===== Stories (Testimonials/Outcomes) ===== */
.stories { padding: 56px 0; border-top: 1px solid var(--line); }
.story-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story {
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.story h4 { margin:0 0 6px; font-size:16px; }
.story .delta { font-size:14px; color: #16a34a; }

/* ===== FAQ (Akkordeon) ===== */
.faq { padding: 64px 0; border-top: 1px solid var(--line); }
.accordion {
  display: grid;
  gap: 12px;
  border: none;
}
.acc-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.acc-btn {
  width:100%;
  text-align:left;
  padding:16px 18px;
  border:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:16px;
  background: transparent;
}
.acc-btn:focus { outline: 2px solid var(--ok); outline-offset: -2px; }
.acc-panel {
  max-height:0;
  overflow:hidden;
  transition:max-height .24s ease;
}
.acc-panel .inner {
  padding: 0 18px 16px;
  color: #374151;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ===== Start / Mini-Form ===== */
.start { padding: 64px 0; background: transparent; border-top: 1px solid var(--line); }
form.mini {
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.grid { display:grid; gap: 12px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
label { font-weight: 600; font-size: 14px; }
input[type="text"], input[type="email"], select, textarea { width:100%; padding:12px 12px; border:1px solid #d1d5db; border-radius: 10px; background:#fff; }
textarea { min-height: 90px; }
.legal { font-size: 12px; color: var(--muted); }

/* ===== Footer ===== */
footer {
  padding: 20px 0;
  color: #fff;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
  background: linear-gradient(to bottom,
    #E7F8FD 0 2px,
    #B9E8F6 2px 4px,
    #7DDCF1 4px 6px,
    #45C9E9 6px 8px,
    #003866 8px 10px
  );
  pointer-events: none;
}
.fgrid { display:grid; grid-template-columns: 1fr auto; align-items:center; gap: 12px; }
.foot-links { display:flex; gap: 14px; }
.footer-brand {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1;
}

/* ===== Sticky CTA mobil ===== */
.sticky-cta { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 40; display:none; }

/* ===== Utilities ===== */
.section-title { font-size: clamp(22px, 3.5vw, 32px); margin: 0 0 8px; letter-spacing:-.02em; }
.section-sub { color:#374151; margin: 0 0 16px; }

/* ===== Responsive Breakpoints ===== */
@media (max-width: 1000px) {
  .hero-grid, .grid-2, .how-steps, .price-cards, .story-grid, .badges { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .nav .links { display: none; }
}
@media (max-width: 760px) {
  .nav .links { display: none; }
  .sticky-cta { display:block; }
}
@media (min-width: 761px) {
  .nav .links { display:flex; }
}
/* ===== Pages: Services (Hub) ===== */
.page-services .hero { padding: 48px 0; border-bottom: 1px solid var(--line); }
.page-services h1 { font-size: clamp(28px, 4.5vw, 44px); letter-spacing: -.02em; margin: 0 0 6px; }
.page-services .sub { color: #374151; margin: 0 0 10px; }

.page-services .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.page-services .card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.page-services .card h3 { margin: 0 0 6px; }
.page-services .price { font-size: 22px; font-weight: 700; margin: 6px 0 8px; }
.page-services .muted { color: var(--muted); font-size: 14px; }
.page-services .bullets { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 8px; }
.page-services .card .btn { margin-top: auto; }

@media (max-width: 980px) {
  .page-services .cards { grid-template-columns: 1fr; }
}

/* Utility rows / footer mini */
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.footerbar { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.foot-mini { display:flex; gap:12px; }

/* ===== Pages: Service Detail (shared) ===== */
.page-service-detail .hero { padding: 54px 0; border-bottom: 1px solid var(--line); }
.page-service-detail h1 { font-size: clamp(28px, 4.5vw, 44px); letter-spacing: -.02em; margin: 0 0 6px; }
.page-service-detail .sub { color: #374151; margin: 0 0 12px; }

.page-service-detail .grid { display: grid; gap: 18px; }
.page-service-detail .grid.two { grid-template-columns: 1.2fr 1fr; } /* override der globalen 1fr/1fr */
.page-service-detail .panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.page-service-detail .section { padding: 40px 0; }
.page-service-detail .title { font-size: clamp(22px, 3.5vw, 32px); margin: 0 0 8px; }
.page-service-detail .features { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.page-service-detail .price { font-size: 28px; font-weight: 700; margin: 8px 0 8px; }
.page-service-detail .muted { color: var(--muted); font-size: 14px; }
.page-service-detail .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.page-service-detail .faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.page-service-detail .faq h3 { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.page-service-detail .q {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .page-service-detail .grid.two,
  .page-service-detail .cols { grid-template-columns: 1fr; }
}

/* ===== Page: How it works ===== */
.page-how-it-works .hero { padding: 56px 0; border-bottom: 1px solid var(--line); }
.page-how-it-works h1 { font-size: clamp(28px, 4.5vw, 44px); letter-spacing: -.02em; margin: 0 0 8px; }
.page-how-it-works .sub { color: #374151; margin: 0 0 14px; }
.page-how-it-works .eyebrow { font-size:12px; letter-spacing:.12em; text-transform:uppercase; color: var(--muted); margin-bottom:10px; }

.page-how-it-works .progress { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-top:14px; }
.page-how-it-works .prog-item {
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px;
  box-shadow:var(--shadow-soft);
}
.page-how-it-works .prog-num {
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid #d1d5db;
  font-size:12px;
  font-weight:700;
}
.page-how-it-works .prog-label { font-size:14px; color:#111827; }

.page-how-it-works .section { padding:48px 0; border-bottom:1px solid var(--line); }
.page-how-it-works .title { font-size:clamp(22px,3.5vw,32px); margin:0 0 8px; letter-spacing:-.02em; }

.page-how-it-works .grid { display:grid; gap:18px; }
.page-how-it-works .two { grid-template-columns:1.15fr 1fr; }
.page-how-it-works .three { grid-template-columns:repeat(3,1fr); }

.page-how-it-works .panel {
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow-soft);
}
.page-how-it-works .muted { color: var(--muted); font-size:14px; }
.page-how-it-works .list { list-style:none; padding:0; margin:10px 0 0; display:grid; gap:8px; }

.page-how-it-works .how-steps { display:grid; grid-template-columns:1fr; gap:16px; }
.page-how-it-works .step {
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:flex-start;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow-soft);
}
.page-how-it-works .badge { font-weight:700; color:var(--muted); font-size:12px; letter-spacing:.12em; text-transform:uppercase; }
.page-how-it-works .step h3 { margin:4px 0 6px; font-size:18px; }

.page-how-it-works .timeline { position:relative; padding-left:22px; }
.page-how-it-works .timeline::before { content:""; position:absolute; left:7px; top:0; bottom:0; width:2px; background:#e5e7eb; }
.page-how-it-works .t { position:relative; margin:10px 0; }
.page-how-it-works .t::before { content:""; position:absolute; left:-16px; top:6px; width:10px; height:10px; border-radius:50%; background:#111; }

.page-how-it-works .faq { border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.page-how-it-works .faq h3 { margin:0; padding:14px 16px; border-bottom:1px solid var(--line); }
.page-how-it-works .q { padding:14px 16px; border-top:1px solid var(--line); }

.page-how-it-works .cta { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }

/* Shared footer mini (reused across pages) */
.footerbar { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.foot-mini { display:flex; gap:12px; }

/* Responsive */
@media (max-width: 1020px) {
  .page-how-it-works .progress { grid-template-columns:1fr 1fr; }
  .page-how-it-works .two,
  .page-how-it-works .three { grid-template-columns:1fr; }
}

/* ===== Pages: Policy & Legal ===== */
.page-policy .container,
.page-imprint .container {
  max-width: 1000px;
}

.page-policy .hero,
.page-imprint .hero {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.page-policy h1,
.page-imprint h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -.02em;
  margin: 0 0 10px;
}

.page-policy .sub,
.page-imprint .sub {
  color: #374151;
  margin: 0 0 14px;
}

.page-policy .callout {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.page-policy .toc {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.page-policy .toc a {
  color: #111827;
}

.page-policy .section,
.page-imprint .section {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.page-policy .title,
.page-imprint .title {
  font-size: clamp(22px, 3.5vw, 32px);
  margin: 0 0 10px;
  letter-spacing: -.02em;
}

.page-policy .panel,
.page-imprint .panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

/* Shared glass treatment for card surfaces */
.hero-card,
.card,
.page-services .card,
.step,
.page-how-it-works .step,
.mock,
.price-card,
.badge,
.story,
form.mini,
.page-service-detail .panel,
.page-service-detail .faq,
.page-how-it-works .panel,
.page-how-it-works .prog-item,
.page-how-it-works .faq,
.page-policy .callout,
.page-policy .panel,
.page-imprint .panel {
  border: none;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-policy .grid,
.page-imprint .grid {
  display: grid;
  gap: 14px;
}

.page-policy .grid.two,
.page-imprint .grid.two {
  grid-template-columns: 1fr 1fr;
}

.page-policy .list,
.page-imprint .list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}

.page-policy .small,
.page-imprint .small {
  font-size: 13px;
  color: #4b5563;
}

.page-policy footer,
.page-imprint footer {
  padding: 36px 0;
}

@media (max-width: 960px) {
  .page-policy .grid.two,
  .page-imprint .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --stripe-gap: 72px;
  }
}
