/* ============================================================
   paffrath.ai — KI-Beratung
   Design: editorial, warm, seriös. Bewusst NICHT das generische
   KI-Startup-Lila. Ink-Buttons, Serif-Display, viel Weißraum.
   ============================================================ */

:root {
  /* Palette */
  --paper:      #F7F5EF;
  --paper-2:    #FFFFFF;
  --paper-3:    #F1EEE5;
  --ink:        #18171B;
  --ink-soft:   #36342F;
  --muted:      #6E6A60;
  --line:       #E4DFD3;
  --line-soft:  #ECE8DD;
  --accent:     #0F4C5C;   /* tiefes Petrol */
  --accent-2:   #0B3A46;
  --live:       #2F8F5B;   /* nur für den Live-Punkt */

  /* Typo */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Maße */
  --wrap: 1140px;
  --pad: 24px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
em { font-style: italic; }
a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.brand-dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15.5px;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.nav-links .nav-cta:hover { border-color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 8px var(--pad) 20px;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  text-decoration: none;
  color: var(--ink);
  padding: 12px 0;
  font-size: 17px;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a:last-child { border-bottom: none; color: var(--accent); font-weight: 500; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 72px 0 64px; }
.eyebrow {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  line-height: 1.04;
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero-title em { color: var(--accent); font-weight: 500; }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: var(--muted);
}
.hero-status a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.hero-status a:hover { text-decoration-color: var(--accent); }
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.32;
  font-weight: 400;
  max-width: 24ch;
  color: var(--ink-soft);
}
.statement strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   Section heads
   ============================================================ */
.sec-head { max-width: 40ch; margin-bottom: 48px; }
.sec-head-center { max-width: 44ch; margin-inline: auto; text-align: center; }
.sec-kicker {
  display: inline-block;
  font-size: 13.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.sec-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.12;
}

/* ============================================================
   USE CASES
   ============================================================ */
.usecases { padding: 88px 0; }
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.uc {
  background: var(--paper-2);
  padding: 34px 28px 38px;
}
.uc-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
}
.uc h3 {
  font-size: 1.32rem;
  margin: 18px 0 12px;
}
.uc p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ============================================================
   BEREICHE (Leistungspalette)
   ============================================================ */
.bereiche { padding: 88px 0; border-top: 1px solid var(--line); }
.bereiche .grid-4 { align-items: stretch; }
.bereich {
  background: var(--paper-2);
  padding: 32px 28px 34px;
  display: flex;
  flex-direction: column;
}
.bereich h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}
.bereich > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.bereich-list {
  list-style: none;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.bereich-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 14.5px;
  color: var(--muted);
}
.bereich-list li:last-child { margin-bottom: 0; }
.bereich-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1.5px;
  background: var(--accent);
}

/* ============================================================
   KOSTENRECHNER
   ============================================================ */
.kostenrechner { padding: 88px 0; border-top: 1px solid var(--line); }
.kr-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 14px;
  max-width: 56ch;
}
.kostenrechner .sec-head { max-width: 40ch; }
.kr-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 30px;
  align-items: start;
}
.kr-step-label {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.kr-step-label-2 { margin-top: 30px; }

/* Leistung wählen — Chip-Tabs */
.kr-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.kr-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.kr-tab:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.kr-tab input { position: absolute; opacity: 0; width: 0; height: 0; }
.kr-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.kr-tab input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}

/* Optionen — Checkbox-Zeilen */
.kr-options { display: flex; flex-direction: column; gap: 10px; }
.kr-options[hidden] { display: none; }
.kr-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.kr-opt:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.kr-opt input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: border-color .15s ease, background .15s ease;
}
.kr-opt input::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
}
.kr-opt input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.kr-opt input:checked::after { opacity: 1; }
.kr-opt input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.kr-opt:has(input:checked) {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: color-mix(in srgb, var(--accent) 5%, var(--paper-2));
}
.kr-opt-label { flex: 1; font-size: 15px; color: var(--ink-soft); }
.kr-opt-plus { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kr-opt:has(input:checked) .kr-opt-plus { color: var(--accent); font-weight: 600; }

/* Ergebnis-Karte (sticky auf Desktop) */
.kr-result {
  position: sticky;
  top: 92px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--accent) 55%, transparent);
}
.kr-result-label {
  display: block;
  font-size: 13.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.kr-price { margin-bottom: 18px; }
.kr-amount {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.kr-hinweis {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  padding-top: 18px;
  margin-bottom: 22px;
  border-top: 1px solid var(--line-soft);
}
.kr-cta { width: 100%; justify-content: center; border: none; }

@media (max-width: 980px) {
  .kr-layout { grid-template-columns: 1fr; gap: 26px; }
  .kr-result { position: static; }
}
@media (max-width: 760px) {
  .kostenrechner { padding: 60px 0; }
}

/* ============================================================
   LEISTUNGEN / PAKETE
   ============================================================ */
.leistungen { padding: 88px 0; background: var(--paper-3); }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pkg {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.pkg-featured {
  border-color: var(--accent);
  box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--accent) 55%, transparent);
}
.pkg-badge {
  position: absolute;
  top: -12px; left: 30px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 5px 13px;
  border-radius: 999px;
}
.pkg-top { margin-bottom: 16px; }
.pkg-top h3 { font-size: 1.55rem; }
.pkg-tag { font-size: 14px; color: var(--accent); margin-top: 4px; }
.pkg-lead { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 22px; }
.pkg-list { list-style: none; margin-bottom: 28px; flex: 1; }
.pkg-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}
.pkg-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 1.5px;
  background: var(--accent);
}
.pkg-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.pkg-price {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
}
.pkg-per { font-size: .95rem; font-weight: 400; color: var(--muted); font-family: var(--sans); }
.pkg-link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
}
.pkg-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pkg-note {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}
.pkg-note a { color: var(--accent); text-decoration: none; }
.pkg-note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FESTPREIS-PRODUKTE
   Konkrete, buchbare Pakete (fester Umfang/Preis/Zeit) — nutzt
   die .pkg-Bausteine, aber als 5er-Raster mit eigenem CTA-Button.
   ============================================================ */
.produkte { padding: 88px 0; border-top: 1px solid var(--line); }
.prod-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 14px;
  max-width: 58ch;
}
.produkte .sec-head { max-width: 46ch; }
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  /* Karten an der Oberkante ausrichten statt auf Reihenhöhe strecken: so wächst
     jede Karte nur so hoch wie ihr Inhalt und es entsteht kein leerer Block
     zwischen Punkten und Button (siehe .prod .pkg-list unten). */
  align-items: start;
}
/* Featured-Karte (Assistent) bleibt eine normale Rasterspalte breit: sie setzt
   sich über Akzent-Rahmen und Badge ab, ohne zwei Spalten zu spannen — so klafft
   unter den wenigen Punkten kein leerer Block mehr (sie ist genauso breit wie die
   Nachbarkarten und füllt sich vertikal sauber). */
.prod.pkg-featured { grid-column: auto; }
.prod { padding: 30px 28px; }
/* In den Festpreis-Karten muss die Punkteliste den Button NICHT nach unten
   drücken (Karten sind oben ausgerichtet, nicht gestreckt) — daher den von .pkg
   geerbten flex:1 hier neutralisieren, sonst entsteht wieder ein leerer Block. */
.prod .pkg-list { flex: 0 0 auto; }
.prod-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}
.prod-zeit {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
}
.prod-vergleich {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: -10px 0 22px;
}
.prod-foot {
  display: block;
  border-top: none;
  padding-top: 0;
}
.prod-cta { width: 100%; justify-content: center; }

@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod.pkg-featured { grid-column: auto; }
}
@media (max-width: 760px) {
  .produkte { padding: 60px 0; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod.pkg-featured { grid-column: auto; order: -1; }
}

/* ============================================================
   BEWEIS / REFERENZ
   ============================================================ */
.beweis { padding: 96px 0; }
.grid-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.beweis-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 14px 0 22px; }
.beweis-text > p { color: var(--ink-soft); margin-bottom: 24px; }
.beweis-list { list-style: none; margin-bottom: 32px; }
.beweis-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.beweis-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.beweis-list strong { color: var(--ink); font-weight: 600; }

/* Browser mockup */
.beweis-visual { display: flex; justify-content: center; }
.browser {
  width: 100%;
  max-width: 420px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(24,23,27,.35);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
}
.browser-bar > span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--line);
}
.browser-url {
  margin-left: 12px;
  font-size: 13px;
  color: var(--muted);
  background: var(--paper);
  padding: 4px 14px;
  border-radius: 999px;
  flex: 1;
}
.browser-body { padding: 26px 24px 30px; }
.bb-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--live);
  font-weight: 500;
  margin-bottom: 20px;
}
.bb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.bb-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 16px 18px;
}
.bb-out { background: color-mix(in srgb, var(--accent) 7%, var(--paper-2)); border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); }
.bb-h { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.bb-bar { height: 8px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.bb-bar.short { width: 55%; }
.bb-out .bb-bar { background: color-mix(in srgb, var(--accent) 28%, var(--line)); }
.bb-arrow {
  text-align: center;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  padding: 14px 0;
}

/* ============================================================
   ABLAUF
   ============================================================ */
.ablauf { padding: 88px 0; border-top: 1px solid var(--line); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}
.steps li { position: relative; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.steps h3 { font-size: 1.3rem; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* ============================================================
   ÜBER MICH
   ============================================================ */
.ueber { padding: 96px 0; background: var(--paper-3); }
.ueber .grid-split { grid-template-columns: .8fr 1.1fr; }
.photo-frame {
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  line-height: 1.4;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 14px, var(--line-soft) 14px, var(--line-soft) 15px);
}
.ueber-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 14px 0 22px; }
.ueber-text p { color: var(--ink-soft); margin-bottom: 18px; max-width: 52ch; }
.ueber-sign { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink); margin-top: 8px; }

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt { padding: 96px 0; }
.kontakt-sub { color: var(--ink-soft); font-size: 1.1rem; margin-top: 14px; }
.kontakt-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 940px;
  margin: 0 auto;
}
/* Formular */
.kform {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.kform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kfield { display: flex; flex-direction: column; gap: 7px; }
.kfield > span { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.kopt { color: var(--muted); font-weight: 400; }
.kfield input, .kfield textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 13px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.kfield input:focus, .kfield textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.kfield textarea { resize: vertical; min-height: 100px; }
.kform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kform-submit { justify-content: center; margin-top: 2px; cursor: pointer; border: none; }
.kform-submit[disabled] { opacity: .6; cursor: default; }
.kform-status { font-size: 14.5px; min-height: 1.2em; margin: 0; color: var(--muted); }
.kform-status.ok  { color: var(--live); }
.kform-status.err { color: #C0392B; }
/* Direkt-Kanäle daneben */
.kontakt-channels { display: flex; flex-direction: column; gap: 12px; }
.kbox-cal {
  justify-content: center;
  width: 100%;
  margin-bottom: 4px;
  cursor: pointer;
}
.channels-label { font-size: 14px; color: var(--muted); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.kbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
}
.kbox:hover { transform: translateY(-3px); border-color: var(--accent); }
.kbox-label { font-size: 14px; color: var(--muted); }
.kbox-val { font-size: 16px; font-weight: 500; color: var(--ink); }
.kbox-primary { background: var(--ink); border-color: var(--ink); }
.kbox-primary .kbox-label { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.kbox-primary .kbox-val { color: var(--paper); }
.kbox-primary:hover { background: var(--accent); border-color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--paper) 78%, transparent);
  padding: 64px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
}
.footer-brand .brand { color: var(--paper); font-size: 24px; }
.footer-brand .brand-dot { color: color-mix(in srgb, var(--accent) 70%, var(--paper)); }
.footer-brand p { margin-top: 12px; max-width: 32ch; font-size: 15px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a {
  color: color-mix(in srgb, var(--paper) 78%, transparent);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s ease;
}
.footer-nav a:hover { color: var(--paper); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 28px;
  font-size: 13.5px;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-split { grid-template-columns: 1fr; gap: 44px; }
  .ueber .grid-split { grid-template-columns: 1fr; }
  .ueber-photo { max-width: 360px; }
  .beweis-visual { order: -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 0 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .usecases, .bereiche, .leistungen, .beweis, .ablauf, .ueber, .kontakt { padding: 60px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .pkg-featured { order: -1; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .kontakt-layout { grid-template-columns: 1fr; max-width: 540px; }
  .kform-row { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 36px; }
}

@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 28px; }
}

/* ============================================================
   FOTO (Über mich)
   ============================================================ */
.ueber-photo picture { display: block; }
.photo-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 88px 0; border-top: 1px solid var(--line); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--ink);
  position: relative;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 22px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  font-family: var(--sans);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--accent); }
.faq-a { padding: 0 44px 24px 0; }
.faq-a p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0; max-width: 66ch; }

@media (max-width: 760px) {
  .faq { padding: 60px 0; }
  .faq-item summary { font-size: 1.1rem; }
}

/* ============================================================
   REFERENZEN / CASE-STUDIES
   ============================================================ */
.referenzen { padding: 88px 0; border-top: 1px solid var(--line); }
.referenzen .sec-head { max-width: 40ch; }
.ref-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 14px;
  max-width: 56ch;
}
.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.ref {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.ref-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.ref-head h3 { font-size: 1.35rem; line-height: 1.2; }
.ref-branche {
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, var(--paper-2));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.ref-row { display: flex; flex-direction: column; gap: 6px; }
.ref-row-label {
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.ref-row p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.ref-row-out {
  position: relative;
  padding: 16px 18px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 6%, var(--paper-2));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
}
.ref-row-out .ref-row-label { color: var(--accent); }
.ref-row-out p { color: var(--ink); }
.ref-quote {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.ref-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink);
}
.ref-quote blockquote::before { content: "\201C"; }
.ref-quote blockquote::after { content: "\201D"; }
.ref-quote figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { padding: 0 0 96px; }
.nl-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 48px 44px;
}
.nl-text h2 {
  color: var(--paper);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 14px;
}
.nl-lead {
  color: color-mix(in srgb, var(--paper) 78%, transparent);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 46ch;
}
.nl-form { display: flex; flex-direction: column; gap: 14px; position: relative; }
.nl-input-row { display: flex; gap: 10px; align-items: flex-end; }
.nl-field { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.nl-field-label {
  font-size: 13px;
  letter-spacing: .04em;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
  font-weight: 500;
}
.nl-field input {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 14px;
  width: 100%;
  transition: box-shadow .15s ease;
}
.nl-field input::placeholder { color: var(--muted); }
.nl-field input:focus {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent);
}
.nl-submit {
  flex: none;
  background: var(--accent);
  color: #fff;
  border: none;
  white-space: nowrap;
}
.nl-submit:hover { background: color-mix(in srgb, var(--accent) 82%, #fff); }
.nl-submit[disabled] { opacity: .6; cursor: default; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-hinweis {
  font-size: 12.5px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--paper) 58%, transparent);
}
.nl-hinweis a { color: color-mix(in srgb, var(--paper) 88%, transparent); text-decoration: underline; text-underline-offset: 2px; }
.nl-hinweis a:hover { color: var(--paper); }
.nl-status { font-size: 14.5px; min-height: 1.2em; margin: 0; color: color-mix(in srgb, var(--paper) 78%, transparent); }
.nl-status.ok  { color: color-mix(in srgb, var(--live) 70%, var(--paper)); }
.nl-status.err { color: #F0A89E; }
.nl-status.err a { color: inherit; }

@media (max-width: 980px) {
  .ref-grid { grid-template-columns: 1fr; }
  .nl-card { grid-template-columns: 1fr; gap: 28px; padding: 40px 32px; }
}
@media (max-width: 560px) {
  .nl-input-row { flex-direction: column; align-items: stretch; }
  .nl-submit { justify-content: center; }
}
@media (max-width: 760px) {
  .referenzen { padding: 60px 0; }
  .newsletter { padding: 0 0 60px; }
}

/* ============================================================
   BLOG / RATGEBER
   ============================================================ */
.back {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color .2s ease;
}
.back:hover { color: var(--accent-2); }

/* --- Übersicht --- */
.blog-page { padding: 56px 0 88px; }
.blog-page .back { margin-bottom: 40px; }
.blog-head { margin-bottom: 44px; max-width: 36ch; }
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.blog-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -18px rgba(15, 76, 92, .35);
}
.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  text-decoration: none;
  color: inherit;
}
.blog-card-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.blog-card h2 {
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}
.blog-card-desc {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.blog-card-more {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
}
.blog-empty { color: var(--muted); }

/* Tag-Chips (Übersicht + Artikel) */
.tag {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, var(--paper-2));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 999px;
  padding: 4px 12px;
}

/* --- Einzelartikel --- */
.article-page { padding: 56px 0 96px; }
.article {
  max-width: 720px;          /* Lesespalte ~70ch */
  margin: 0 auto;
  padding-inline: var(--pad);
}
.article > .back { margin-bottom: 36px; }
.article-head { margin-bottom: 40px; }
.article-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.article-head h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 20px;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Lesetypografie */
.article-body {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}
.article-body > * + * { margin-top: 1.15em; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 1.9em;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 1.6em;
}
.article-body p { max-width: 68ch; }
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.article-body a:hover { text-decoration-color: var(--accent); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body ul,
.article-body ol { padding-left: 1.4em; max-width: 66ch; }
.article-body li { margin-top: .5em; }
.article-body li::marker { color: var(--accent); }
.article-body code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .12em .4em;
}
.article-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}

/* CTA am Artikelende */
.article-cta {
  margin-top: 56px;
  padding: 36px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.article-cta h2 {
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.article-cta p {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 44ch;
  margin: 0 auto 24px;
}
.back-bottom { margin-top: 48px; }

@media (max-width: 760px) {
  .blog-list { grid-template-columns: 1fr; }
  .blog-page { padding: 40px 0 64px; }
  .article-page { padding: 40px 0 72px; }
  .article-body { font-size: 17px; }
  .article-cta { padding: 28px 22px; }
}
