/* ============================================================
   KAPY DESIGN SYSTEM v3 — Schematic Swiss
   Aesthetic der Status-Architektur-Page als Site-weite Sprache:
   warm-cream BG, honey-amber Accents, Hairline-Borders,
   technische Labels, dashboardartige Cards.
   ============================================================ */

:root {
  /* Core */
  --kp-navy:        #0F172A;
  --kp-navy-soft:   #1B253E;
  --kp-text:        #0F172A;
  --kp-text-mid:    #2A2418;
  --kp-text-muted:  #5F5749;
  --kp-text-subtle: #8E8475;

  /* Surfaces — schematic warm-cream */
  --kp-bg:          #FFFFFF;
  --kp-bg-alt:      #FBF8F3;
  --kp-bg-warm:     #FFFAF0;
  --kp-bg-card:     #FFFFFF;

  /* Lines — Hairlines for cream surfaces, navy-tints for white */
  --kp-line:        #E5DECF;
  --kp-line-soft:   #F0EADD;
  --kp-line-cool:   rgba(15, 23, 42, .08);

  /* Accents — Honey-amber palette (status-arch parity) */
  --kp-honey-50:    #FFFAF0;
  --kp-honey-100:   #FBF1DC;
  --kp-honey-300:   #F0AC3F;
  --kp-honey-500:   #D98E0E;
  --kp-honey-700:   #B5710B;
  --kp-honey-800:   #8F5709;
  --kp-honey-900:   #6E4307;

  /* Accent role tokens */
  --kp-accent:      #B5710B;       /* primary honey */
  --kp-accent-deep: #8F5709;       /* hover / pressed */
  --kp-accent-tint: #FFFAF0;       /* card BG */
  --kp-cta:         #C2410C;       /* CTA-orange (kept for buttons) */
  --kp-cta-hover:   #9A3412;

  /* Status colors */
  --kp-ok:          #10B981;
  --kp-warn:        #F0AC3F;
  --kp-bad:         #DC2626;

  /* Geometry */
  --kp-radius-sm:   4px;
  --kp-radius:      6px;
  --kp-radius-lg:   10px;

  /* Type tokens */
  --kp-eyebrow:     11px / 1 'Inter', system-ui, sans-serif;
  --kp-mono:        'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============================================================
   SECTION ATOMS
   ============================================================ */
.kp-section {
  padding: clamp(72px, 9vw, 128px) 0;
  background: var(--kp-bg);
}
.kp-section--alt    { background: var(--kp-bg-alt); }
.kp-section--warm   { background: var(--kp-bg-warm); }
.kp-section--dark   { background: var(--kp-navy); color: #fff; }
.kp-section .container,
.kp-pagehead .container,
.kp-sales-hero .container,
.kp-cta .container,
.kp-proof .container {
  max-width: 1200px;
  padding: 0 28px;
  margin: 0 auto;
}

.kp-section__head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.kp-section__head--center { text-align: center; }

/* === Eyebrow: status-arch parity (UPPERCASE + horizontal hairline) === */
.kp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 var(--kp-eyebrow);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kp-honey-700);
  margin-bottom: 16px;
}
.kp-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--kp-honey-700);
}
.kp-section__head--center .kp-eyebrow { display: inline-flex; }
.kp-section--dark .kp-eyebrow { color: var(--kp-honey-300); }
.kp-section--dark .kp-eyebrow::before { background: var(--kp-honey-300); }

.kp-section__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--kp-text);
  margin: 0 0 16px;
  line-height: 1.14;
}
.kp-section__title .accent { color: var(--kp-accent); }
.kp-section__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--kp-text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 680px;
}
.kp-section__head--center .kp-section__lead { margin-left: auto; margin-right: auto; }
.kp-section--dark .kp-section__title { color: #fff; }
.kp-section--dark .kp-section__lead { color: rgba(255,255,255,.74); }

/* Tabular numerals for technical feel */
.kp-num,
.kp-mono { font-family: var(--kp-mono); font-variant-numeric: tabular-nums; }

/* Schematic divider — used as section separator */
.kp-divider {
  height: 1px;
  background: var(--kp-line);
  border: 0;
  margin: 0;
}
.kp-divider--dotted {
  background: none;
  border-top: 1px dashed var(--kp-line);
}

/* ============================================================
   BUTTONS — Swiss precision: tight, defined, not glossy
   ============================================================ */
.kp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--kp-radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .005em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1.2;
}
.kp-btn--primary {
  background: var(--kp-cta);
  color: #fff;
}
.kp-btn--primary:hover { background: var(--kp-cta-hover); }
.kp-btn--secondary {
  background: #fff;
  color: var(--kp-text);
  border-color: var(--kp-line);
}
.kp-btn--secondary:hover {
  border-color: var(--kp-text);
  background: var(--kp-bg-alt);
}
.kp-btn--ghost {
  background: transparent;
  color: var(--kp-cta);
  padding-left: 4px;
  padding-right: 4px;
}
.kp-btn--ghost:hover { color: var(--kp-cta-hover); }
.kp-btn--dark-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.30);
}
.kp-btn--dark-secondary:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.50);
}

/* ============================================================
   (2) SALES-HERO — Schematic-Cream Hero, 2-col
   ============================================================ */
.kp-sales-hero {
  padding: clamp(124px, 13vw, 156px) 0 clamp(56px, 7vw, 88px);
  background: var(--kp-bg-warm);
  border-bottom: 1px solid var(--kp-line);
  position: relative;
}
.kp-sales-hero::before {
  /* schematic dotted-line decoration on right */
  content: "";
  position: absolute;
  right: 0; top: 36%; bottom: 0;
  width: 1px;
  background-image: linear-gradient(180deg, var(--kp-line) 50%, transparent 50%);
  background-size: 1px 8px;
  pointer-events: none;
  opacity: .8;
}
.kp-sales-hero__crumbs {
  font-size: 12.5px;
  color: var(--kp-text-subtle);
  margin: 0 0 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  letter-spacing: .015em;
}
.kp-sales-hero__crumbs a {
  color: var(--kp-text-subtle);
  text-decoration: none;
  transition: color .15s;
}
.kp-sales-hero__crumbs a:hover { color: var(--kp-accent); }
.kp-sales-hero__crumbs > span[aria-hidden] { color: var(--kp-line); }
.kp-sales-hero__crumbs > span[aria-current] {
  color: var(--kp-text);
  font-weight: 600;
}
.kp-sales-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.kp-sales-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kp-honey-800);
  background: #fff;
  border: 1px solid var(--kp-line);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.kp-sales-hero__pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kp-ok);
}
.kp-sales-hero__title {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -.028em;
  color: var(--kp-text);
  margin: 0 0 20px;
  line-height: 1.06;
}
.kp-sales-hero__title .accent { color: var(--kp-accent); }
.kp-sales-hero__lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--kp-text-muted);
  margin: 0 0 28px;
  max-width: 540px;
}
.kp-sales-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}
.kp-sales-hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--kp-text);
  line-height: 1.5;
}
.kp-sales-hero__bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3 8l3 3 7-7' stroke='%23B5710B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
}
.kp-sales-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.kp-sales-hero__visual {
  position: relative;
  border-radius: var(--kp-radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--kp-line);
}
.kp-sales-hero__visual img { display: block; width: 100%; height: auto; }
.kp-sales-hero__visual-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--kp-text-muted);
}
.kp-sales-hero__visual-tags span {
  background: #FFFFFF;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius);
  padding: 9px 14px;
  text-align: center;
}
@media (max-width: 880px) {
  .kp-sales-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .kp-sales-hero__visual-tags { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   (3) FEATURE-GRID — Hairline-Cards, dashboardartig
   ============================================================ */
.kp-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--kp-line);
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius-lg);
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
}
.kp-feature-card {
  background: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.kp-feature-card__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--kp-mono);
  font-size: 11px;
  color: var(--kp-text-subtle);
  letter-spacing: .05em;
  font-weight: 600;
}
.kp-feature-card__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius);
  background: var(--kp-bg-warm);
}
.kp-feature-card__icon svg {
  width: 18px;
  height: 18px;
  color: var(--kp-honey-700);
  stroke-width: 1.8;
}
.kp-feature-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--kp-text);
  margin: 0 0 10px;
  letter-spacing: -.005em;
}
.kp-feature-card__desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--kp-text-muted);
  margin: 0;
}
.kp-feature-card__meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--kp-line);
  font-family: var(--kp-mono);
  font-size: 11.5px;
  color: var(--kp-text-subtle);
  letter-spacing: .04em;
  font-weight: 500;
}

/* ============================================================
   (4) COMPARE-BLOCK — symmetrisch, schematisch
   ============================================================ */
.kp-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius-lg);
  overflow: hidden;
  background: #fff;
}
.kp-compare__col {
  background: #fff;
  padding: 36px 32px;
}
.kp-compare__col + .kp-compare__col { border-left: 1px solid var(--kp-line); }
.kp-compare__col--bad { background: #FAFAF7; }
.kp-compare__col-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kp-text-subtle);
  margin-bottom: 12px;
}
.kp-compare__col-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--kp-text-subtle);
}
.kp-compare__col--good .kp-compare__col-label { color: var(--kp-honey-800); }
.kp-compare__col--good .kp-compare__col-label::before { background: var(--kp-honey-700); }
.kp-compare__col h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--kp-text);
  letter-spacing: -.01em;
}
.kp-compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.kp-compare__list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--kp-text-muted);
}
.kp-compare__list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
}
.kp-compare__col--bad .kp-compare__list li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 4l8 8M12 4l-8 8' stroke='%23DC2626' stroke-width='2.2' stroke-linecap='round'/></svg>");
}
.kp-compare__col--good .kp-compare__list li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3 8l3 3 7-7' stroke='%23B5710B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
@media (max-width: 720px) {
  .kp-compare__grid { grid-template-columns: 1fr; }
  .kp-compare__col + .kp-compare__col {
    border-left: 0;
    border-top: 1px solid var(--kp-line);
  }
}

/* ============================================================
   (5) CTA-BLOCK — Navy mit Honey-Akzent oben
   ============================================================ */
.kp-cta {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--kp-navy);
  color: #fff;
  text-align: center;
  border-top: 1px solid var(--kp-honey-700);
  position: relative;
}
.kp-cta::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px;
  background: var(--kp-honey-500);
}
.kp-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kp-honey-300);
  margin-bottom: 16px;
}
.kp-cta__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--kp-honey-300);
}
.kp-cta__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: #fff;
  margin: 0 auto 16px;
  line-height: 1.16;
  max-width: 720px;
}
.kp-cta__lead {
  color: rgba(255,255,255,.74);
  font-size: 16.5px;
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.kp-cta__actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* ============================================================
   (6) PROOF-STRIP — Logos + Quote, Status-page-warm
   ============================================================ */
.kp-proof {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--kp-bg-warm);
  border-top: 1px solid var(--kp-line);
  border-bottom: 1px solid var(--kp-line);
}
.kp-proof__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kp-text-subtle);
  margin: 0 0 28px;
}
.kp-proof__label::before,
.kp-proof__label::after {
  content: "";
  flex: 0 0 36px;
  height: 1px;
  background: var(--kp-line);
}
.kp-proof__logos {
  display: flex;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.kp-proof__logos img {
  max-height: 32px;
  max-width: 130px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: transform .2s ease;
}
.kp-proof__logos img:hover { transform: scale(1.05); }

/* ============================================================
   BUY-FORM — Strukturierte Bestellung (kaufen.html)
   ============================================================ */
.kp-buy-form {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius-lg);
  overflow: hidden;
}
.kp-buy-form__section {
  padding: 28px 32px;
  border-bottom: 1px solid var(--kp-line);
}
.kp-buy-form__section:last-of-type { border-bottom: 0; }
.kp-buy-form__section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 11px / 1 'Inter', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kp-honey-700);
  margin-bottom: 18px;
}
.kp-buy-form__section-label::before {
  content: attr(data-step);
  font-family: var(--kp-mono);
  font-size: 10.5px;
  color: var(--kp-text-subtle);
  letter-spacing: .04em;
  background: var(--kp-bg-warm);
  border: 1px solid var(--kp-line);
  border-radius: 2px;
  padding: 4px 8px;
}
.kp-buy-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.kp-buy-form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .kp-buy-form__row,
  .kp-buy-form__row--3 { grid-template-columns: 1fr; }
}
.kp-buy-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kp-buy-form__field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--kp-text);
  letter-spacing: .005em;
}
.kp-buy-form__field label .req { color: #C2410C; margin-left: 2px; }
.kp-buy-form__field input[type="text"],
.kp-buy-form__field input[type="email"],
.kp-buy-form__field input[type="tel"],
.kp-buy-form__field input[type="number"],
.kp-buy-form__field textarea,
.kp-buy-form__field select {
  font: 500 14.5px / 1.4 'Inter', sans-serif;
  color: var(--kp-text);
  background: #fff;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius);
  padding: 10px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.kp-buy-form__field input:focus,
.kp-buy-form__field textarea:focus,
.kp-buy-form__field select:focus {
  outline: none;
  border-color: var(--kp-honey-700);
  box-shadow: 0 0 0 3px rgba(181,113,11,.12);
}
.kp-buy-form__field textarea { min-height: 90px; resize: vertical; }
.kp-buy-form__field input[aria-invalid="true"] { border-color: #DC2626; }

/* Pakete-Cards mit Checkboxen */
.kp-buy-form__products {
  display: grid;
  gap: 10px;
}
.kp-buy-form__product {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.kp-buy-form__product:hover { border-color: var(--kp-honey-700); }
.kp-buy-form__product:has(input:checked) {
  border-color: var(--kp-honey-700);
  background: var(--kp-bg-warm);
}
.kp-buy-form__product input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--kp-honey-700);
  cursor: pointer;
}
.kp-buy-form__product-info strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--kp-text);
  margin-bottom: 2px;
}
.kp-buy-form__product-info span {
  display: block;
  font-size: 12.5px;
  color: var(--kp-text-muted);
  line-height: 1.45;
}
.kp-buy-form__product-price {
  font-family: var(--kp-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--kp-text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Sub-Optionen unter Hauptprodukt */
.kp-buy-form__product-sub {
  margin: 4px 0 6px 36px;
  display: grid;
  gap: 6px;
}
.kp-buy-form__product-sub label {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: var(--kp-text-muted);
  cursor: pointer;
  padding: 4px 0;
}
.kp-buy-form__product-sub input[type="checkbox"],
.kp-buy-form__product-sub input[type="number"] {
  margin: 0;
  accent-color: var(--kp-honey-700);
}
.kp-buy-form__product-sub input[type="number"] {
  width: 60px;
  padding: 4px 8px;
  font-family: var(--kp-mono);
  border: 1px solid var(--kp-line);
  border-radius: 2px;
  text-align: right;
  font-size: 12px;
}
.kp-buy-form__product-sub-price {
  font-family: var(--kp-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--kp-honey-800);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Pay-Method Radios */
.kp-buy-form__pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
@media (max-width: 640px) { .kp-buy-form__pay-options { grid-template-columns: 1fr; } }
.kp-buy-form__pay-options label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kp-text);
  transition: border-color .15s, background .15s;
}
.kp-buy-form__pay-options label:hover { border-color: var(--kp-honey-700); }
.kp-buy-form__pay-options label:has(input:checked) {
  border-color: var(--kp-honey-700);
  background: var(--kp-bg-warm);
}
.kp-buy-form__pay-options input[type="radio"] {
  margin: 0;
  accent-color: var(--kp-honey-700);
}

/* Total-Estimate-Bar */
.kp-buy-form__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 32px;
  background: var(--kp-bg-warm);
  border-top: 1px solid var(--kp-line);
  border-bottom: 1px solid var(--kp-line);
  font-family: var(--kp-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--kp-text-muted);
}
.kp-buy-form__total strong {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--kp-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.005em;
}

/* Submit row */
.kp-buy-form__submit {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #fff;
}
.kp-buy-form__submit-note {
  font-size: 12.5px;
  color: var(--kp-text-subtle);
  max-width: 420px;
  line-height: 1.5;
}
.kp-buy-form__status {
  margin: 12px 32px 0;
  padding: 14px 18px;
  border-radius: var(--kp-radius);
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.kp-buy-form__status.is-ok {
  display: block;
  background: rgba(5,150,105,.08);
  color: #047857;
  border: 1px solid rgba(5,150,105,.30);
}
.kp-buy-form__status.is-err {
  display: block;
  background: rgba(220,38,38,.08);
  color: #B91C1C;
  border: 1px solid rgba(220,38,38,.30);
}

/* ============================================================
   LOGO-CAROUSEL — Full-Width Marquee (geteilt index/products)
   ============================================================ */
.logo-carousel {
  background: #FFFFFF;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid #E5DECF;
  border-bottom: 1px solid #E5DECF;
  overflow: hidden;
  position: relative;
}
.logo-carousel__label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #8E8475;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.logo-carousel__label::before,
.logo-carousel__label::after {
  content: "";
  flex: 0 0 36px;
  height: 1px;
  background: #E5DECF;
}
.logo-carousel__viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-carousel__track {
  display: flex;
  gap: clamp(40px, 6vw, 80px);
  width: max-content;
  animation: kapy-logo-scroll 28s linear infinite;
  will-change: transform;
}
.logo-carousel__viewport:hover .logo-carousel__track,
.logo-carousel__track:focus-within { animation-play-state: paused; }
.logo-carousel__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 8px;
}
.logo-carousel__item img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: transform .2s ease;
}
.logo-carousel__item:hover img { transform: scale(1.05); }
.logo-carousel__cta {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: #5F5749;
}
.logo-carousel__cta a {
  color: #B5710B;
  font-weight: 600;
  text-decoration: none;
}
.logo-carousel__cta a:hover { text-decoration: underline; }
@keyframes kapy-logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .logo-carousel { padding: clamp(28px, 5vw, 40px) 0; }
  .logo-carousel__item { height: 44px; }
  .logo-carousel__item img { height: 42px; max-width: 120px; }
  .logo-carousel__track { animation-duration: 22s; gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-carousel__track { animation: none; flex-wrap: wrap; justify-content: center; gap: 24px; }
  .logo-carousel__viewport { -webkit-mask-image: none; mask-image: none; }
}
.kp-proof__quote {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--kp-text);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -.005em;
}
.kp-proof__quote::before { content: "\201C"; color: var(--kp-honey-700); margin-right: 4px; }
.kp-proof__quote::after  { content: "\201D"; color: var(--kp-honey-700); margin-left: 4px; }
.kp-proof__quote-attr {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--kp-text-subtle);
  font-weight: 600;
  letter-spacing: .02em;
}

/* ============================================================
   (7) FAQ-BLOCK — minimal, ohne Schmuck
   ============================================================ */
.kp-faq__list { max-width: 760px; margin: 0 auto; }
.kp-faq__item {
  background: #fff;
  border-top: 1px solid var(--kp-line);
  padding: 22px 0;
  margin: 0;
  transition: none;
}
.kp-faq__item:last-child { border-bottom: 1px solid var(--kp-line); }
.kp-faq__item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  color: var(--kp-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: -.005em;
}
.kp-faq__item summary::-webkit-details-marker { display: none; }
.kp-faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3 6l5 5 5-5' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
  transition: transform .2s;
}
.kp-faq__item[open] summary::after { transform: rotate(180deg); }
.kp-faq__item p,
.kp-faq__item ul,
.kp-faq__item ol {
  margin: 14px 0 0;
  color: var(--kp-text-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ============================================================
   FACTS-ROW — schematische Stats-Reihe
   ============================================================ */
.kp-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius-lg);
  background: #fff;
  max-width: 1180px;
  margin: 0 auto;
}
.kp-facts > div {
  padding: 32px 24px;
  border-right: 1px solid var(--kp-line);
  position: relative;
}
.kp-facts > div::before {
  content: attr(data-tag);
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--kp-mono);
  font-size: 10.5px;
  color: var(--kp-text-subtle);
  letter-spacing: .04em;
}
.kp-facts > div:last-child { border-right: 0; }
.kp-facts__num {
  display: block;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: var(--kp-text);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
  line-height: 1.1;
}
.kp-facts__num .accent { color: var(--kp-accent); }
.kp-facts__label {
  display: block;
  font-size: 12.5px;
  color: var(--kp-text-subtle);
  letter-spacing: .02em;
  line-height: 1.45;
}
@media (max-width: 720px) {
  .kp-facts { grid-template-columns: 1fr 1fr; }
  .kp-facts > div:nth-child(2n) { border-right: 0; }
  .kp-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--kp-line); }
}

/* ============================================================
   LEGACY-OVERRIDES — retro-fit alte Sektion-Klassen auf v3
   Wirkt site-weit auf Pages die noch nicht refactored sind.
   ============================================================ */

/* Section base normalize */
.features-pos, .features-delivery, .features-grid,
.hybrid-tools-strip, .hybrid-section, .platform-section,
.warum-section, .vorteile-section, .lp-features, .ub-direct,
.values-grid-section, .savings-section, .timeline-section,
.transparency-intro, .package-config, .bundles-section,
.services-teaser, .faq-section, .license-section,
.section-header-compact, .cl-body, .rm-body, .pr-body,
.pg-body, .vh-section, .compare-section {
  background: var(--kp-bg) !important;
}
.section-dark, .savings-dark, .cta-dark, .bg-dark {
  background: var(--kp-navy) !important;
  color: #fff !important;
  border-top: 1px solid var(--kp-honey-700);
}

/* Headers & eyebrows — retro-fit zur Status-Diagramm-Aesthetic */
.features-label-delivery, .features-label, .hybrid-tools-eyebrow,
.section-label, .license-label, .cta-eyebrow, .platform-eyebrow,
.brand-hero__label, .lp-label, .pr-label, .pg-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  font: 700 11px / 1 Inter, sans-serif !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--kp-honey-700) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin-bottom: 16px !important;
}
.features-label-delivery::before, .features-label::before,
.hybrid-tools-eyebrow::before, .section-label::before,
.license-label::before, .cta-eyebrow::before {
  content: "" !important;
  width: 28px !important;
  height: 1px !important;
  background: var(--kp-honey-700) !important;
}
.features-label-delivery svg, .features-label svg,
.section-label svg, .license-label svg { display: none !important; }

/* Section titles — uniform typography */
.features-delivery-header h2, .features-pos-header h2,
.features-pos h2, .hybrid-tools-head h2, .section-title,
.savings-header h2, .timeline-section h2, .transparency-intro h2,
.bundles-section h2, .services-teaser h2, .faq-section h2,
.license-header h2, .compare-section h2, .warum-section h2,
.platform-section h2 {
  font-size: clamp(28px, 3.4vw, 40px) !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
  color: var(--kp-text) !important;
  line-height: 1.14 !important;
  margin: 0 0 16px !important;
  background: none !important;
  -webkit-text-fill-color: var(--kp-text) !important;
}
.section-dark h2, .savings-dark h2, .cta-dark h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.features-delivery-header p, .hybrid-tools-head p,
.savings-header p, .license-header p,
.section-header p {
  font-size: clamp(15px, 1.2vw, 17px) !important;
  color: var(--kp-text-muted) !important;
  line-height: 1.7 !important;
}
.section-dark p, .savings-dark p {
  color: rgba(255,255,255,.74) !important;
}

/* Feature/Tool cards retro-fit */
.feature-card-delivery, .feature-card-pos, .feature-card,
.hybrid-tool, .module-card, .package-card,
.service-card, .vorteil-card, .platform-card,
.bundle-card, .compare-card, .timeline-item,
.value-card {
  background: #fff !important;
  border: 1px solid var(--kp-line) !important;
  border-radius: var(--kp-radius-lg) !important;
  padding: 28px !important;
  box-shadow: none !important;
  transition: border-color .15s !important;
}
.feature-card-delivery:hover, .feature-card-pos:hover,
.feature-card:hover, .hybrid-tool:hover, .module-card:hover,
.service-card:hover, .platform-card:hover {
  border-color: var(--kp-honey-700) !important;
  transform: none !important;
  box-shadow: none !important;
}
.feature-icon-delivery, .feature-icon-pos, .feature-icon,
.hybrid-tool__ic, .module-icon, .service-icon, .platform-icon {
  width: 36px !important;
  height: 36px !important;
  background: var(--kp-bg-warm) !important;
  border: 1px solid var(--kp-line) !important;
  border-radius: var(--kp-radius) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 18px !important;
}
.feature-icon-delivery svg, .feature-icon-pos svg, .feature-icon svg,
.hybrid-tool__ic svg, .module-icon svg, .service-icon svg, .platform-icon svg {
  width: 18px !important;
  height: 18px !important;
  color: var(--kp-honey-700) !important;
}
.feature-card-delivery h3, .feature-card-pos h3, .feature-card h3,
.hybrid-tool h3, .module-card h3, .service-card h3, .platform-card h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--kp-text) !important;
  margin: 0 0 10px !important;
  letter-spacing: -.005em !important;
}
.feature-card-delivery > p, .feature-card-pos > p, .feature-card > p,
.hybrid-tool p, .service-card p, .platform-card p {
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  color: var(--kp-text-muted) !important;
}

/* Feature lists with checkmarks — uniform honey-amber checks */
.feature-list-delivery li, .feature-list-pos li,
.license-features li, .module-features li,
.checklist li, .vorteile-list li {
  font-size: 14px !important;
  color: var(--kp-text-muted) !important;
  line-height: 1.55 !important;
}
.feature-list-delivery li::before, .feature-list-pos li::before,
.checklist li::before {
  background-color: transparent !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3 8l3 3 7-7' stroke='%23B5710B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
  width: 16px !important; height: 16px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 16px !important;
}

/* CTA / Final-Section retro-fit */
.cta, .cta-section, .section-compact.cta, .lp-cta {
  background: var(--kp-navy) !important;
  color: #fff !important;
  border-top: 1px solid var(--kp-honey-700);
  padding: clamp(64px, 8vw, 96px) 0 !important;
  text-align: center;
}
.cta h2, .cta-section h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.cta p, .cta-section p { color: rgba(255,255,255,.74) !important; }
.cta-actions, .cta-section .actions {
  display: inline-flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}
.cta .btn, .cta-section .btn {
  border-radius: var(--kp-radius) !important;
  padding: 13px 26px !important;
  font-weight: 700 !important;
}
.cta .btn-primary, .cta-section .btn-primary {
  background: var(--kp-cta) !important;
  border-color: var(--kp-cta) !important;
}
.cta .btn-primary:hover, .cta-section .btn-primary:hover {
  background: var(--kp-cta-hover) !important;
  border-color: var(--kp-cta-hover) !important;
}
.cta .btn-white, .cta .btn-secondary, .cta-section .btn-white,
.cta .btn-whatsapp {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.30) !important;
}
.cta .btn-white:hover, .cta .btn-whatsapp:hover {
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.50) !important;
}

/* Stats-row (dark) retro-fit */
.stats-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1px !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: var(--kp-radius-lg) !important;
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
}
.stats-row .stat-item {
  background: var(--kp-navy) !important;
  padding: 28px 24px !important;
  text-align: left !important;
}
.stats-row .stat-value {
  display: block !important;
  font-size: clamp(22px, 2.6vw, 30px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -.015em !important;
  font-variant-numeric: tabular-nums !important;
  margin-bottom: 6px !important;
  line-height: 1.1 !important;
}
.stats-row .stat-label {
  display: block !important;
  font-size: 12.5px !important;
  color: rgba(255,255,255,.66) !important;
  letter-spacing: .02em !important;
  line-height: 1.45 !important;
}

/* Pricing Card retro-fit */
.license-card-main, .package-card-featured, .pricing-card-featured {
  background: #fff !important;
  border: 1px solid var(--kp-line) !important;
  border-radius: var(--kp-radius-lg) !important;
  box-shadow: none !important;
}
.license-card-main::before { display: none !important; }
.license-badge, .package-badge {
  background: var(--kp-bg-warm) !important;
  color: var(--kp-honey-800) !important;
  border: 1px solid var(--kp-line) !important;
  border-radius: var(--kp-radius) !important;
  font: 700 11px / 1 Inter, sans-serif !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  padding: 6px 12px !important;
}
.license-price .price-amount, .package-price .price-amount {
  color: var(--kp-text) !important;
  font-variant-numeric: tabular-nums !important;
}
.license-price .price-period, .package-price .price-period {
  color: var(--kp-text-subtle) !important;
}
.license-cta {
  background: var(--kp-cta) !important;
  color: #fff !important;
  border-radius: var(--kp-radius) !important;
}
.license-cta:hover {
  background: var(--kp-cta-hover) !important;
  box-shadow: none !important;
}
.license-info-box {
  background: var(--kp-bg-warm) !important;
  border: 1px solid var(--kp-line) !important;
  border-radius: var(--kp-radius-lg) !important;
}
.license-info-box svg { color: var(--kp-honey-700) !important; }
.license-info-box p { color: var(--kp-text-muted) !important; }

/* Module-Card */
.module-card { background: #fff !important; }
.module-icon { background: var(--kp-bg-warm) !important; }
.module-info h4 { color: var(--kp-text) !important; }
.module-price { color: var(--kp-honey-800) !important; font-family: var(--kp-mono) !important; }

/* Generic .section padding */
.section, .section-compact {
  padding: clamp(56px, 7vw, 96px) 0 !important;
}
.section .container, .section-compact .container {
  max-width: 1200px !important;
}

/* FAQ (legacy .faq-item) retro-fit */
.faq-item, .faq-card {
  background: #fff !important;
  border: 0 !important;
  border-top: 1px solid var(--kp-line) !important;
  border-radius: 0 !important;
  padding: 22px 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Hide overly playful gradients/decoration that survived */
.hero-pro::before,
.hero-home::before,
.brand-hero::before,
.calc-hero::before,
.hs-hero::before,
.lp-hero::before,
.pg-hero::before,
.uc-hero::before { display: none !important; }

/* ============================================================
   MOBILE-OPTIMIZATIONS — Phase 1 Audit-Fixes (2026-05-03)
   ============================================================ */

/* Hero-Visual: auto-height auf Mobile, reduzierte Padding */
@media (max-width: 640px) {
  .kp-sales-hero__visual {
    aspect-ratio: auto;
    min-height: 280px;
    padding: 18px !important;
  }
  .kp-sales-hero__visual > * { font-size: clamp(11px, 3vw, 13px); }
}

/* Visual-Tags: 1-Col bei sehr schmal (statt 2-Col 880px Default) */
@media (max-width: 540px) {
  .kp-sales-hero__visual-tags {
    grid-template-columns: 1fr !important;
    gap: 6px;
  }
  .kp-sales-hero__visual-tags span { padding: 7px 12px; }
}

/* Facts-Grid: 1-Col bei sehr schmal */
@media (max-width: 540px) {
  .kp-facts { grid-template-columns: 1fr !important; }
  .kp-facts > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--kp-line);
    padding: 24px 20px;
  }
  .kp-facts > div:last-child { border-bottom: 0; }
}

/* Buy-Form: Preise dürfen brechen wenn nötig */
@media (max-width: 640px) {
  .kp-buy-form__product-price,
  .kp-buy-form__product-sub-price {
    white-space: normal;
  }
}

/* Tap-Targets: Min 44px für Buttons in dichten Listen */
@media (max-width: 768px) {
  .kp-btn, .kp-cta__btn, .kp-buy-form button[type="submit"] {
    min-height: 44px;
  }
}

/* Hero-Title: kompakter Wert auf sehr schmal */
@media (max-width: 480px) {
  .hero-home h1, .hero-pro h1, .hero-pro__title,
  .brand-hero h1, .calc-hero h1, .cl-hero h1, .hs-hero h1,
  .ir-hero h1, .legal-hero h1, .pg-hero h1, .pr-hero h1,
  .rm-hero h1, .st-hero h1, .uc-hero h1, .vh-hero h1, .vs-hero h1 {
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.12 !important;
  }
}

/* ============================================================
   LANG-SWITCHER — Topbar (Desktop) + Mobile-Menu (im Hamburger)
   ============================================================ */
.topbar-langs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topbar-lang {
  font: 600 11.5px/1 'Inter', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5F5749;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 2px;
  transition: color .15s, background-color .15s;
}
.topbar-lang:hover { color: #B5710B; background: rgba(181,113,11,.06); }
.topbar-lang.is-active {
  color: #B5710B;
  font-weight: 800;
}

/* Auf Mobile (Topbar versteckt) — Switcher im Hamburger-Menu unten */
@media (max-width: 768px) {
  /* Klone des Switchers im Mobile-Menu via JS oder Klon-CSS — wir zeigen den
     Topbar-Lang-Switcher per Sticky-Position innerhalb der Mobile-Nav */
  .nav-menu.active::after {
    content: "";
    display: block;
    height: 1px;
    background: #E5DECF;
    margin: 12px 0 8px;
  }
  /* Inject lang-switcher als sticky bottom im Mobile-Menu via JS, oder Fallback:
     Topbar-Langs sind eh hidden weil topbar:none. Mobile-User nutzen URL/Banner. */
}

/* ============================================================
   MOBILE-OPTIMIZATION (2026-05-03) — Header + Sticky-CTA
   ============================================================ */

/* Announce-Bar kompakter auf Mobile */
@media (max-width: 768px) {
  .kapy-announce {
    height: 28px !important;
    padding: 5px 10px !important;
    font-size: 10.5px !important;
  }
  .kapy-announce__inner { gap: 6px !important; }
  .topbar { display: none !important; }
  .header { top: 28px !important; }
}

/* Header schlanker auf Mobile */
@media (max-width: 768px) {
  .header-inner {
    height: 56px !important;
    padding: 0 16px !important;
    justify-content: space-between !important;
  }
  .logo img {
    max-height: 32px !important;
    width: auto !important;
  }
  .nav-actions { gap: 8px !important; }
  .mobile-toggle {
    width: 44px !important;
    height: 44px !important;
    padding: 10px !important;
  }
}

/* Mobile Nav-Menu: Full-Width-Sheet von oben statt absolutes Dropdown */
@media (max-width: 768px) {
  .nav-menu {
    top: 56px !important;
    background: #FFFFFF !important;
    border-top: 1px solid #E5DECF !important;
    border-bottom: 1px solid #E5DECF !important;
    box-shadow: 0 12px 24px -16px rgba(15,23,42,.12) !important;
    padding: 14px 16px calc(80px + env(safe-area-inset-bottom)) !important;
    max-height: calc(100dvh - 84px) !important;
    max-height: calc(100vh - 84px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }
  .nav-menu li { width: 100%; }
  .nav-menu > li > a {
    display: block;
    padding: 12px 14px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    border-bottom: 1px solid #F1F3F4;
  }
  .nav-menu > li:last-child > a { border-bottom: 0; }
  .nav-menu li:last-child a strong {
    background: #B5710B;
    color: #fff;
    padding: 12px 16px;
    border-radius: 2px;
    text-align: center;
    margin-top: 8px;
    display: block;
  }
  .nav-menu .dropdown-menu {
    background: #FFFAF0 !important;
    border-radius: 2px !important;
    margin: 4px 0 8px !important;
    padding: 6px !important;
  }
  .nav-menu .dropdown-menu a {
    padding: 10px 12px !important;
    font-size: 14px !important;
    color: #5F5749 !important;
    border-radius: 2px;
  }
  .nav-menu .dropdown-divider {
    height: 1px;
    background: #E5DECF;
    margin: 6px 8px !important;
  }
}

/* Sticky Mobile CTA-Bar (unten am Bildschirm) */
.kapy-mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .kapy-mobile-cta-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    z-index: 1001;
    background: #FFFFFF;
    border-top: 1px solid #E5DECF;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
    box-shadow: 0 -8px 24px -12px rgba(15,23,42,.12);
  }
  .kapy-mobile-cta-bar a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    border-radius: 2px;
    font: 600 14px/1 'Inter', sans-serif;
    text-decoration: none;
    transition: background .15s;
  }
  .kapy-mobile-cta-bar a.cta-call {
    background: #FFFAF0;
    border: 1px solid #E5DECF;
    color: #0F172A;
  }
  .kapy-mobile-cta-bar a.cta-call svg {
    width: 16px; height: 16px; stroke: #B5710B;
  }
  .kapy-mobile-cta-bar a.cta-demo {
    background: #B5710B;
    color: #FFFFFF;
  }
  .kapy-mobile-cta-bar a.cta-demo:hover { background: #8F5709; }
  /* Body-Padding so dass Sticky-Bar nicht Content überlappt */
  body { padding-bottom: 64px !important; }
}

/* ============================================================
   MOBILE-POLISH 10/10 — Forms, Hero-Stacking, Spacing
   ============================================================ */
@media (max-width: 768px) {
  /* Form-Inputs Touch-optimiert (mindestens 48px Height) */
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], select, textarea,
  .kp-buy-form__field input, .kp-buy-form__field select,
  .kp-buy-form__field textarea {
    min-height: 48px !important;
    font-size: 16px !important; /* prevents iOS zoom on focus */
    padding: 12px 14px !important;
  }
  textarea, .kp-buy-form__field textarea {
    min-height: 96px !important;
  }
  /* Form-Field-Focus prominenter */
  input:focus, select:focus, textarea:focus {
    outline: 2px solid #B5710B !important;
    outline-offset: -1px !important;
    border-color: #B5710B !important;
  }

  /* Buttons Touch-Größe */
  .kp-btn, .btn { min-height: 48px !important; }

  /* Section-Padding reduzieren (weniger Scroll) */
  .kp-section { padding: 32px 0 !important; }
  .kp-section--alt { padding: 32px 0 !important; }
  .kp-cta { padding: 36px 0 !important; }
  .kp-section__head { margin-bottom: 24px !important; }
  .kp-section__title { font-size: clamp(22px, 6vw, 30px) !important; }
  .kp-section__lead { font-size: 14.5px !important; }

  /* Hero-Visual mobile-optimiert: full-width, 1-col */
  .kp-sales-hero__grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .kp-sales-hero { padding: clamp(80px, 20vw, 120px) 16px 32px !important; }
  .kp-sales-hero__title { font-size: clamp(26px, 7vw, 36px) !important; }
  .kp-sales-hero__lead { font-size: 15px !important; }
  .kp-sales-hero__visual {
    aspect-ratio: auto !important;
    min-height: auto !important;
    padding: 18px !important;
  }
  .kp-sales-hero__actions { gap: 8px !important; }
  .kp-sales-hero__actions .kp-btn {
    flex: 1 1 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .kp-sales-hero__bullets li { font-size: 14px !important; }
  .kp-sales-hero__pill { font-size: 11px !important; padding: 5px 11px !important; }

  /* Hero-Visual Cards: vertical stack */
  .kp-sales-hero__visual-tags {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  .kp-sales-hero__visual-tags span { padding: 7px 12px !important; font-size: 11.5px !important; }

  /* CTA-Sections kompakter */
  .kp-cta__title { font-size: clamp(22px, 6.5vw, 30px) !important; }
  .kp-cta__lead { font-size: 14.5px !important; }
  .kp-cta__actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .kp-cta__actions .kp-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Faq-Items kompakter */
  .kp-faq__item summary { font-size: 15px !important; padding: 14px 16px !important; }
  .kp-faq__item p { font-size: 14px !important; padding: 0 16px 14px !important; }

  /* Footer kompakter, Stack 1-Col */
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-col h4 { font-size: 14px !important; }
  .footer-col ul li { padding: 4px 0 !important; }

  /* Trust-Strip kompakter */
  .kapy-trust-strip__inner { gap: 6px 8px !important; }
  .kapy-trust-badge { font-size: 10.5px !important; padding: 4px 9px !important; }

  /* Newsletter-Form kompakter */
  .kapy-news-form { padding: 18px !important; }
  .kapy-news-fields { flex-direction: column !important; gap: 8px !important; }
  .kapy-news-fields input, .kapy-news-fields button {
    width: 100% !important; min-height: 44px !important;
  }

  /* Animationen smoother (subtile fade-in für sticky elements) */
  .kapy-mobile-cta-bar { animation: kapy-slide-up .35s ease-out; }
  @keyframes kapy-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}

/* Reduced-Motion respect */
@media (prefers-reduced-motion: reduce) {
  .kapy-mobile-cta-bar { animation: none !important; }
  html { scroll-behavior: auto !important; }
}

/* ============================================================
   MOBILE-POLISH 10/10 — Tap-Feedback + Smooth-Scroll + Footer-Aware-CTA
   ============================================================ */

/* Smooth-Scroll auf Anchor-Links (alle Bildschirme) */
html { scroll-behavior: smooth; }

/* Anchor-Offset damit Header nicht den Title verdeckt beim Anchor-Sprung */
section[id], div[id^="weg-"], div[id^="vormerken"], #produkte, #download, #live-demo, #live-demo-primary, #vormerken, #testen, #bestellung {
  scroll-margin-top: 100px;
}

/* Tap-Feedback auf Mobile-Buttons (visual confirm) */
@media (hover: none), (max-width: 768px) {
  .kp-btn, .btn, .kapy-mobile-cta-bar a, button[type="submit"],
  .kp-feature-card, .quick-card, .customer-card__row.is-link,
  .kp-buy-card, .kp-svc-card, a.kp-cta__btn {
    -webkit-tap-highlight-color: transparent;
    transition: transform .12s ease, background-color .15s ease, opacity .15s ease;
  }
  .kp-btn:active, .btn:active, .kapy-mobile-cta-bar a:active,
  button[type="submit"]:active {
    transform: scale(0.97);
  }
  /* Card-Tap-Feedback subtiler */
  .kp-feature-card:active, .quick-card:active, .customer-card__row.is-link:active {
    opacity: 0.85;
  }
}

/* Sticky-CTA-Bar IntersectionObserver-frei: hide wenn Footer sichtbar */
@media (max-width: 768px) {
  /* Footer-aware: wenn Footer in Viewport, blende Bar aus */
  .footer.in-view ~ .kapy-mobile-cta-bar,
  body.footer-visible .kapy-mobile-cta-bar {
    transform: translateY(100%);
    pointer-events: none;
  }
}

/* ============================================================
   MOBILE HERO-VISUAL FIX — index/liefersoftware/kasse/mobile-app/seo/etc
   Hero-Visuals (Bilder, Mockups, Inline-Cards) saubere Mobile-Stacking
   ============================================================ */
@media (max-width: 768px) {
  /* index.html — hero-home stacking + image fit */
  .hero-home .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .hero-home .product-shot,
  .hero-home .mockup-wrap,
  .hero-home .product-shot img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .hero-home { padding: clamp(80px, 20vw, 120px) 16px 32px !important; }
  .hero-home h1 { font-size: clamp(26px, 7vw, 36px) !important; }

  /* Alle inline hero-visuals und mockup-children sicher kleinerschneiden */
  .kp-sales-hero__visual {
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .kp-sales-hero__visual > * {
    max-width: 100% !important;
  }
  .kp-sales-hero__visual img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Inline-styled mockups die mit feste Width kommen (iPhone, Browser-Frame, Google-SERP) */
  .kp-sales-hero__visual div[style*="width: 180px"],
  .kp-sales-hero__visual div[style*="width:180px"],
  .kp-sales-hero__visual div[style*="width: 200px"],
  .kp-sales-hero__visual div[style*="width:200px"] {
    width: clamp(140px, 60vw, 200px) !important;
    max-width: 100% !important;
  }

  /* Inline-Card-Stacks im Hero-Visual (z.B. Browser-Frame, 3-Wege-Cards, Google-SERP) */
  .kp-sales-hero__visual [style*="display: flex"][style*="gap"] {
    flex-wrap: wrap !important;
  }

  /* Demo.html: Vormerken-Form im Hero-Right rüber stacken */
  .kp-buy-form { max-width: 100% !important; }
  .kp-buy-form__row { grid-template-columns: 1fr !important; gap: 12px !important; }
  .kp-buy-form__section { padding: 18px 16px !important; }

  /* Alte hero-grids von brand-hero / hero-pro auch stacken */
  .hero-pro__grid, .brand-hero__grid, .ir-hero__grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Sicheres overflow-hidden auf alle Hero-Sections damit nichts horizontal scrollt */
  .kp-sales-hero, .hero-home, .hero-pro, .brand-hero,
  .ir-hero, .pr-hero, .pg-hero, .uc-hero, .lp-hero,
  .hs-hero, .calc-hero, .vh-hero, .vs-hero, .rm-hero,
  .cl-hero, .st-hero, .legal-hero, .kp-section {
    overflow-x: hidden !important;
  }
  /* Body + html no horizontal scroll */
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }

  /* === FIX: Erste Section nach Header (z.B. kaufen.html "produkte") braucht Hero-Clearance === */
  .header ~ section:first-of-type,
  .header + main > section:first-of-type,
  body > section.kp-section:first-of-type {
    padding-top: clamp(96px, 22vw, 120px) !important;
  }
  /* Section mit inline-padding-top clamp(140px,...) vom Override schützen */
  section.kp-section[style*="padding-top: clamp(140px"],
  section.kp-section[style*="padding-top: clamp(120px"],
  section.kp-section[style*="padding-top:clamp(140px"] {
    padding-top: clamp(96px, 22vw, 120px) !important;
    padding-bottom: 32px !important;
  }

  /* Inline-mockups mit fester Width: alle Größen 200-400px kappen */
  .kp-sales-hero__visual div[style*="width: 280px"],
  .kp-sales-hero__visual div[style*="width: 300px"],
  .kp-sales-hero__visual div[style*="width: 320px"],
  .kp-sales-hero__visual div[style*="width: 340px"],
  .kp-sales-hero__visual div[style*="width: 360px"],
  .kp-sales-hero__visual div[style*="width: 380px"],
  .kp-sales-hero__visual div[style*="width: 400px"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Alle Children mit position absolute und translateX innerhalb mockups */
  .kp-sales-hero__visual [style*="position: absolute"] {
    max-width: calc(100% - 24px) !important;
  }

  /* Tables in body (z.B. ir-compliance, vs-table) horizontal-scroll-fähig */
  table { display: block !important; overflow-x: auto !important; max-width: 100% !important; }
  pre, code { max-width: 100% !important; overflow-x: auto !important; word-wrap: break-word !important; }

  /* Long Strings break-word */
  h1, h2, h3, p, .kp-sales-hero__title, .kp-section__title {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* ============================================================
   WAVE 3 — Visual-Compatibility-Layer (2026-05-03)
   Bringt alte Komponenten (brand-hero, hero-pro, ir-hero, pr-hero,
   kapy-pagehead, lp-hero, hs-hero, calc-hero, etc.) optisch auf
   das aktuelle kp-* Schematic-Swiss-Niveau. Reversibel, nur CSS.
   ============================================================ */

/* Hero-Title Vereinheitlichung — alle alten Hero-Klassen */
.brand-hero h1, .hero-pro h1, .hero-pro__title,
.ir-hero h1, .pr-hero h1, .pg-hero h1, .uc-hero h1,
.lp-hero h1, .hs-hero h1, .calc-hero h1, .vh-hero h1,
.vs-hero h1, .rm-hero h1, .cl-hero h1, .st-hero h1, .legal-hero h1 {
    font-size: clamp(34px, 5.2vw, 56px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
    color: #0F172A !important;
    margin: 12px 0 18px !important;
}
.brand-hero h1 .accent, .hero-pro h1 .accent, .hero-pro__title .accent,
.ir-hero h1 .accent, .pr-hero h1 .accent, .pg-hero h1 .accent,
.uc-hero h1 .accent, .lp-hero h1 .accent, .hs-hero h1 .accent,
.calc-hero h1 .accent, .vh-hero h1 .accent, .vs-hero h1 .accent,
.rm-hero h1 .accent, .cl-hero h1 .accent, .st-hero h1 .accent {
    color: #C2410C !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

/* Hero-Lead Text */
.brand-hero p.lead, .hero-pro__lead, .hero-pro p.lead,
.ir-hero .lead, .pr-hero .lead, .pg-hero .lead,
.uc-hero p.lead, .lp-hero p.lead, .hs-hero p.lead,
.calc-hero p.lead, .vh-hero p.lead, .vs-hero p.lead,
.rm-hero p.lead, .cl-hero p.lead, .st-hero .lead {
    font-size: clamp(16px, 1.3vw, 19px) !important;
    line-height: 1.6 !important;
    color: #475569 !important;
    margin: 0 0 28px !important;
    max-width: 720px !important;
}

/* Hero-Eyebrow / Pill — Schematic-Swiss Look */
.brand-hero .pill, .hero-pro__eyebrow, .ir-hero .pill,
.pr-hero .pill, .pg-hero .pill, .uc-hero .pill,
.lp-hero .pill, .hs-hero .pill, .calc-hero .pill,
.vh-hero__pill, .vs-hero .pill, .rm-hero .pill,
.cl-hero .pill, .st-hero .pill, .legal-hero .pill,
.section-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFFAF0 !important;
    border: 1px solid #E5DECF !important;
    color: #B5710B !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    font: 700 11.5px/1 'Inter', system-ui, sans-serif !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    margin-bottom: 18px !important;
}

/* Hero-Background — saubere Cream-BG statt Gradient-Spielereien */
.brand-hero, .hero-pro, .ir-hero, .pr-hero, .pg-hero,
.uc-hero, .lp-hero, .hs-hero, .calc-hero, .vh-hero,
.vs-hero, .rm-hero, .cl-hero, .st-hero, .legal-hero {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFAF0 100%) !important;
    border-bottom: 1px solid #E5DECF !important;
}
.brand-hero::before, .hero-pro::before, .ir-hero::before,
.pr-hero::before, .pg-hero::before, .uc-hero::before,
.lp-hero::before, .hs-hero::before, .calc-hero::before,
.vh-hero::before, .vs-hero::before, .rm-hero::before,
.cl-hero::before, .st-hero::before { display: none !important; }

/* Buttons in alten Hero-Containern */
.brand-hero .btn-primary, .hero-pro .btn-primary,
.ir-hero .btn-primary, .pg-hero .btn-primary,
.uc-hero .btn-primary, .vh-hero .btn-primary,
.vs-hero .btn-primary, .rm-hero .btn-primary,
.cl-hero .btn-primary, .st-hero .btn-primary {
    background: #B5710B !important;
    color: #FFFFFF !important;
    border: 1px solid #B5710B !important;
    padding: 12px 22px !important;
    border-radius: 2px !important;
    font: 600 14.5px/1 'Inter', sans-serif !important;
    letter-spacing: -.005em !important;
    text-decoration: none !important;
    transition: background .15s !important;
}
.brand-hero .btn-primary:hover, .hero-pro .btn-primary:hover,
.ir-hero .btn-primary:hover { background: #8F5709 !important; }

.brand-hero .btn-ghost, .brand-hero .btn-secondary,
.hero-pro .btn-ghost, .hero-pro .btn-secondary,
.ir-hero .btn-ghost, .vh-hero .btn-ghost {
    background: transparent !important;
    color: #0F172A !important;
    border: 1px solid #E5DECF !important;
    padding: 12px 22px !important;
    border-radius: 2px !important;
    font: 600 14.5px/1 'Inter', sans-serif !important;
}

/* Compare-Grid (kapy-vs-*) auf Schematic-Swiss */
.comparison-grid {
    border: 1px solid #E5DECF !important;
    border-radius: 3px !important;
    background: #FFFFFF !important;
    overflow: hidden !important;
}
.comparison-grid > div { border-color: #E5DECF !important; }

/* Stat-Numbers in alten Components → JetBrains Mono */
.ir-fact strong, .ir-fact span, .ir-funnel-row .value,
.pr-fact strong, .calc-result strong, .hs-example__row .value {
    font-family: 'JetBrains Mono', ui-monospace, monospace !important;
    font-variant-numeric: tabular-nums !important;
    letter-spacing: -.01em !important;
}

/* Section-BG cleanup */
.brand-section, .ir-section, .pr-section, .uc-section,
.lp-section, .hs-section, .calc-section, .vh-section,
.vs-section, .rm-section, .cl-section, .st-section {
    background: #FFFFFF !important;
}
.brand-section.alt, .ir-section.alt, .pr-section.alt,
.uc-section.alt, .vh-section.alt {
    background: #FFFAF0 !important;
}

/* ============================================================
   FOOTER — 5-Col Layout (Brand + Partner + Unternehmen + Resources + Legal)
   ============================================================ */
@media (min-width: 769px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr) !important;
  }
}

/* ============================================================
   HEADER — Asymmetrisch links-bündig (Variante 1, 2026-05-03)
   Logo + Nav links gruppiert · Actions rechts
   ============================================================ */
@media (min-width: 769px) {
  .header { border-bottom: 1px solid #E5DECF; }
  .header-inner {
    justify-content: flex-start !important;
    gap: 36px;
  }
  .header-inner > nav { margin-right: auto; }
  .nav-menu { gap: 28px !important; }
  .nav-actions { margin-left: 0 !important; }
  .logo img { width: auto; max-height: 38px; }
}
