/* ============================================================
   Bündi — Brand CSS
   System-Font Body, Inter for headings via Google Fonts.
   ============================================================ */

:root {
  /* Brand palette */
  --c-primary: #1F2A2E;       /* Anthrazit */
  --c-primary-soft: #2C3A40;
  --c-accent: #6B8E7F;        /* Salbeigrün */
  --c-accent-dark: #4F6E62;
  --c-accent-soft: #BCCFC5;
  --c-burgundy: #7A2E3A;
  --c-cream: #F4EFE6;
  --c-neutral-100: #F8F7F4;
  --c-neutral-200: #ECEAE3;
  --c-neutral-300: #DDDAD0;
  --c-neutral-500: #6F7679;
  --c-neutral-700: #3A4146;
  --c-neutral-900: #15191B;
  --c-success: #3F7A5E;
  --c-error: #A6453B;
  --c-warning: #B07A2E;
  --c-link: var(--c-accent-dark);
  --c-link-hover: var(--c-primary);

  /* Surfaces */
  --bg-body: var(--c-neutral-100);
  --bg-surface: #FFFFFF;
  --bg-soft: var(--c-cream);

  /* Borders */
  --border-subtle: #E6E3D9;
  --border-strong: #C5C1B4;

  /* Typography */
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Inter", var(--font-body);
  --fs-base: 16px;
  --lh-base: 1.6;
  --lh-tight: 1.2;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(31, 42, 46, 0.06), 0 1px 3px rgba(31, 42, 46, 0.04);
  --shadow-2: 0 4px 12px rgba(31, 42, 46, 0.08), 0 2px 6px rgba(31, 42, 46, 0.06);
  --shadow-3: 0 12px 32px rgba(31, 42, 46, 0.12), 0 6px 12px rgba(31, 42, 46, 0.08);

  /* Layout */
  --container-max: 1180px;
  --container-narrow: 760px;
  --container-pad: clamp(16px, 5vw, 32px);
  --section-pad: clamp(56px, 8vw, 120px);
  --header-h: 72px;

  /* Transitions */
  --t-fast: 120ms ease;
  --t-base: 200ms ease;
  --t-slow: 350ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-primary);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

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

a {
  color: var(--c-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
a:hover { color: var(--c-link-hover); }
a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

button { font: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; }

input, select, textarea {
  font: inherit;
  color: inherit;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  padding: 12px 14px;
  border-radius: var(--r-md);
  width: 100%;
  min-height: 48px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(107, 142, 127, 0.18);
}

ul, ol { list-style-position: inside; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  color: var(--c-primary);
}
h1 { font-size: clamp(32px, 5.6vw, 56px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: clamp(17px, 1.8vw, 20px); }

p { color: var(--c-neutral-700); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--c-neutral-700); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), transform var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-primary);
  color: var(--c-neutral-100);
  border-color: var(--c-primary);
}
.btn-primary:hover { background: var(--c-primary-soft); color: #fff; }

.btn-secondary {
  background: var(--c-accent-dark);
  color: #fff;
  border-color: var(--c-accent-dark);
  font-weight: 700;
}
.btn-secondary:hover { background: var(--c-primary); border-color: var(--c-primary); }

.btn-ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-surface); border-color: var(--c-primary); }

.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-full { width: 100%; }

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img { height: 32px; width: auto; }

.nav-desktop {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--c-primary);
  text-decoration: none;
  padding: 6px 4px;
}
.nav-link:hover { color: var(--c-accent-dark); }
.nav-link.is-active { color: var(--c-accent-dark); }

.header-cta { display: none; }

.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--r-sm);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 1px;
  transition: transform var(--t-base);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 25, 27, 0.55);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 80vw);
  background: var(--bg-body);
  z-index: 70;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.nav-close {
  font-size: 28px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
}
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-drawer-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  color: var(--c-primary);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.nav-drawer .btn { margin-top: 16px; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(56px, 9vw, 120px);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-body) 100%);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--c-accent-dark);
  margin-bottom: 16px;
}
.hero-headline {
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--c-neutral-700);
  margin-bottom: 32px;
  max-width: 56ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-visual { display: flex; justify-content: center; }
.hero-visual-svg { width: 100%; max-width: 520px; height: auto; border-radius: var(--r-lg); }

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   Trust bar / pills
   ============================================================ */
.trust-bar { margin-top: 8px; }
.trust-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-primary);
  box-shadow: var(--shadow-1);
}
.trust-pill-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--c-success);
  border-radius: 50%;
}

/* ============================================================
   Sections
   ============================================================ */
.section-problem { background: var(--bg-surface); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.section-features { background: var(--bg-body); }
.section-steps { background: var(--bg-soft); }
.section-pricing { background: var(--bg-body); }
.section-trust { background: var(--c-primary); color: var(--c-neutral-100); }
.section-trust .section-title,
.section-trust .section-eyebrow,
.section-trust h3,
.section-trust .trust-card h3,
.section-trust p { color: var(--c-neutral-100); }
.section-trust .section-eyebrow { color: var(--c-accent-soft); }
.section-faq { background: var(--bg-surface); }
.section-cta { background: var(--bg-soft); }
.section-pain { background: var(--bg-surface); }
.section-usecases { background: var(--bg-body); }
.section-compliance { background: var(--bg-soft); }

/* Feature cards */
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-1);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--c-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title { margin-bottom: 12px; }

/* Steps */
.steps-grid {
  list-style: none;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: left;
  position: relative;
}
.step-illu { width: 96px; height: 96px; margin-bottom: 20px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 16px;
  position: absolute;
  top: 24px;
  right: 24px;
}
.step-title { margin-bottom: 8px; }

/* Trust cards */
.trust-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 28px;
}
.trust-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--c-accent-soft); }
.trust-card p { color: var(--c-neutral-300); font-size: 15px; line-height: 1.6; }

/* Pricing */
.pricing-teaser {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card-feature {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-2);
}
.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--c-primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pricing-card-title { font-size: 18px; margin-bottom: 12px; }
.pricing-card-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--c-primary);
  margin-bottom: 20px;
  line-height: 1.1;
}
.pricing-card-price .currency {
  font-size: 0.6em;
  font-weight: 500;
  color: var(--c-neutral-500);
  margin-right: 4px;
}
.pricing-card-list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.pricing-card-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--c-neutral-700);
  font-size: 15px;
  border-bottom: 1px solid var(--border-subtle);
}
.pricing-card-list li:last-child { border-bottom: 0; }
.pricing-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 0;
  transition: border-color var(--t-base);
}
.faq-item[open] { border-color: var(--c-accent); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--c-primary);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--c-accent-dark);
  transition: transform var(--t-base);
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { color: var(--c-neutral-700); }
.faq-more { margin-top: 32px; text-align: center; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.link-arrow::after { content: "→"; transition: transform var(--t-fast); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Use case cards */
.usecases-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.usecase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px;
}
.usecase-num {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--c-cream);
  color: var(--c-accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.usecase-title { margin-bottom: 8px; font-size: 18px; }
.usecase-text { margin-bottom: 16px; color: var(--c-neutral-700); }
.prompt-box {
  background: var(--bg-body);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--r-sm);
  padding: 14px 16px;
}
.prompt-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 8px;
}
.prompt-box pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.prompt-box code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--c-primary);
  background: transparent;
}

/* Compliance list */
.compliance-list {
  list-style: none;
}
.compliance-list li {
  padding: 14px 0 14px 32px;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--c-neutral-700);
}
.compliance-list li:last-child { border-bottom: 0; }
.compliance-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 18px;
  height: 9px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}

/* ============================================================
   Page hero (single)
   ============================================================ */
.page-hero {
  background: var(--bg-soft);
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--border-subtle);
}
.page-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 12px;
}
.page-title { margin-bottom: 16px; }
.page-lead {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--c-neutral-700);
}
.page-meta {
  margin-top: 16px;
  color: var(--c-neutral-500);
  font-size: 14px;
}
.page-content { padding: 48px 0 64px; }

/* Prose (legal pages) */
.prose h2 { margin: 40px 0 16px; font-size: 24px; }
.prose h3 { margin: 28px 0 12px; font-size: 19px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 24px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--c-accent-dark); }
.prose strong { color: var(--c-primary); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.prose th, .prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--bg-soft); font-family: var(--font-heading); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--border-subtle); margin: 32px 0; }
.prose blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 8px 0 8px 16px;
  margin: 16px 0;
  color: var(--c-neutral-700);
  font-style: italic;
}
.prose code {
  font-family: ui-monospace, monospace;
  background: var(--c-neutral-200);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.prose pre {
  background: var(--c-primary);
  color: var(--c-neutral-100);
  padding: 16px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 16px 0;
}
.prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* Cards (list page) */
.card-link { text-decoration: none; color: inherit; display: block; }
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px;
  height: 100%;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card-link:hover .card { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--c-accent-soft); }
.card-title { margin-bottom: 12px; }
.card-cta {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--c-accent-dark);
  font-size: 14px;
}
.branche-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--c-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* ============================================================
   Form styling
   ============================================================ */
.signup-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.req { color: var(--c-error); }
.form-input { width: 100%; }
.form-hint { font-size: 13px; color: var(--c-neutral-500); margin-top: 6px; }
.field-error {
  font-size: 13px;
  color: var(--c-error);
  margin: 6px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-weight: 500;
}
.form-input[aria-invalid="true"],
select.form-input[aria-invalid="true"] {
  border-color: var(--c-error);
  box-shadow: 0 0 0 3px rgba(190, 32, 26, 0.12);
}
.form-error-message {
  background: #FBE9E6;
  border: 1px solid var(--c-error);
  color: var(--c-error);
  padding: 12px 16px;
  border-radius: var(--r-md);
  margin-bottom: 16px;
  font-size: 14px;
}
.form-group-check { display: flex; align-items: flex-start; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--c-neutral-700);
}
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--c-accent-dark);
}
.form-actions { margin-top: 24px; }
.form-microcopy {
  margin-top: 12px;
  text-align: center;
  color: var(--c-neutral-500);
  font-size: 13px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   Sticky CTA (mobile)
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -6px 16px rgba(31, 42, 46, 0.08);
  padding: 10px 0;
  z-index: 40;
  transform: translateY(100%);
  transition: transform var(--t-slow);
}
.sticky-cta:not([hidden]) { display: block; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sticky-cta-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--c-primary);
}
@media (min-width: 900px) {
  .sticky-cta { display: none !important; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--c-primary);
  color: var(--c-neutral-200);
  padding: 56px 0 28px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
}
.footer-brand { max-width: 320px; }
.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.92);
  margin-bottom: 16px;
}
.footer-tagline { color: var(--c-neutral-300); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.footer-hosting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-accent-soft);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-success { background: var(--c-success); }

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--c-neutral-200);
  text-decoration: none;
  font-size: 14px;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #E8EBE9;
}
.footer-bottom p { color: #E8EBE9; margin: 0; }
.footer-meta a { color: #E8EBE9; text-decoration: none; }
.footer-meta a:hover { color: #fff; }

/* ============================================================
   Print styles (minimal)
   ============================================================ */
@media print {
  .site-header, .site-footer, .sticky-cta, .hero-ctas, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ============================================================
   Funktionen-Seite — Feature-Tables, Vergleichs-Table
   ============================================================ */
.funktionen-page .section-hero-narrow {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-neutral-100) 100%);
  text-align: center;
}
.funktionen-page .section-hero-narrow .hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  margin: 16px 0 16px;
}
.funktionen-page .section-hero-narrow .hero-sub {
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--c-neutral-700);
}
.funktionen-page .hero-cta-row {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-features-grid { padding: clamp(56px, 8vw, 100px) 0; }
.section-features-grid .section-head { max-width: 760px; margin-bottom: 40px; }
.section-features-grid .section-eyebrow { color: var(--c-accent-dark); }
.section-features-grid .section-title { font-size: clamp(28px, 3.4vw, 40px); }
.section-features-grid .section-lead { color: var(--c-neutral-700); font-size: 17px; line-height: 1.6; margin-top: 16px; }
.section-features-alt { background: var(--c-cream); }

.feature-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(31, 42, 46, 0.1);
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.section-features-alt .feature-table { background: #fff; }
.feature-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(31, 42, 46, 0.08);
  align-items: start;
}
.feature-row:last-child { border-bottom: none; }
.feature-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-cream);
  color: var(--c-accent-dark);
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.section-features-alt .feature-icon { background: var(--c-neutral-100); }
.feature-body h3 { font-size: 18px; margin: 0 0 6px; color: var(--c-primary); font-weight: 600; }
.feature-body p { margin: 0; color: var(--c-neutral-700); line-height: 1.6; }
@media (min-width: 768px) {
  .feature-table { grid-template-columns: 1fr 1fr; }
  .feature-row { border-right: 1px solid rgba(31, 42, 46, 0.08); }
  .feature-row:nth-child(2n) { border-right: none; }
  .feature-row:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* Comparison-Table */
.section-comparison { padding: clamp(56px, 8vw, 100px) 0; background: var(--c-primary); color: #fff; }
.section-comparison .section-eyebrow { color: var(--c-accent-soft); font-weight: 700; }
.section-comparison .comparison-table thead th.col-buendi { color: var(--c-accent-soft); font-weight: 700; }
.section-comparison .section-title { color: #fff; font-size: clamp(28px, 3.4vw, 40px); max-width: 760px; }
.section-comparison .section-head { margin-bottom: 40px; }
.section-comparison .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--r-md);
  overflow: hidden;
  min-width: 600px;
}
.comparison-table thead th {
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
  color: #cfd5d2;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.comparison-table thead th.col-buendi { color: var(--c-accent); }
.comparison-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
  vertical-align: top;
}
.comparison-table tbody td:first-child { font-weight: 500; color: #fff; }
.comparison-table tbody td.col-buendi { color: #fff; font-weight: 500; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

/* Final-CTA-Section */
.section-cta-final { padding: clamp(56px, 8vw, 100px) 0; background: var(--c-cream); }
.section-cta-final .section-head.center { text-align: center; }
.section-cta-final .section-title { font-size: clamp(28px, 3.4vw, 40px); }
.section-cta-final .section-lead { color: var(--c-neutral-700); margin: 16px auto 32px; max-width: 600px; }

/* --- Internal Linking: Verwandte Themen --- */
.section-related { padding: 48px 0; }
.related-pages {
  margin: 56px 0 12px;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--c-neutral-50, #F5F2EC);
  border: 1px solid var(--c-neutral-200, #E4DFD3);
}
.related-pages-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-neutral-600);
  margin: 0 0 16px;
}
.related-pages-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.related-pages-item { margin: 0; }
.related-pages-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--c-neutral-200, #E4DFD3);
  text-decoration: none;
  color: var(--c-text, #1F2A2E);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.related-pages-link:hover,
.related-pages-link:focus-visible {
  border-color: var(--c-accent, #6B8E7F);
  transform: translateY(-1px);
}
.related-pages-label {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}
.related-pages-hint {
  font-size: 13px;
  color: var(--c-neutral-500);
  line-height: 1.4;
}
