:root {
  --bg: #fbfaf7;
  --bg-alt: #f1efe9;
  --surface: #ffffff;
  --text: #16191c;
  --muted: #5c6268;
  --border: #e3e0d8;
  --accent: #1f5f4a;
  --accent-hover: #174a39;
  --accent-soft: #e4efe9;
  --dark: #13201b;
  --dark-text: #e9efec;
  --dark-muted: #a9b7b1;
  --radius: 14px;
  --max: 1120px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.02em; font-weight: 800; max-width: 760px; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.35rem; color: var(--text); text-decoration: none; letter-spacing: -.03em; }
.logo-dot { color: var(--accent); }
.nav { list-style: none; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 12px 24px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-small { padding: 8px 16px; font-size: .9rem; color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-light { background: #fff; color: var(--dark); border-color: #fff; }
.btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Hero */
.hero { padding: 88px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Chat-Illustration */
.chat {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 12px;
  box-shadow: 0 20px 40px -24px rgba(19, 32, 27, .25);
}
.chat-bubble {
  justify-self: end;
  max-width: 88%;
  background: var(--bg-alt);
  border-radius: 16px 16px 4px 16px;
  padding: 10px 14px;
  font-size: .95rem;
}
.chat-card { border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.chat-title { font-weight: 700; margin: 0 0 4px; font-size: .95rem; }
.chat-text { color: var(--muted); margin: 0; font-size: .88rem; }
.chat-profile { display: flex; gap: 12px; align-items: center; }
.avatar {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 6px;
}
.chat figcaption { font-size: .78rem; color: var(--muted); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-num { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .04em; margin-bottom: 12px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.trio p { color: var(--muted); margin: 0; }
.trio h3 { padding-top: 16px; border-top: 2px solid var(--accent); }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.service { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.service > p { color: var(--muted); }
.service-main { border: 2px solid var(--accent); }
.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.badge-muted { background: var(--accent-soft); color: var(--accent); }

.list { list-style: none; padding: 0; margin: 0; }
.list li { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid var(--border); font-size: .95rem; }
.list li:first-child { border-top: 0; }
.list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.list-light li { border-color: rgba(255, 255, 255, .12); color: var(--dark-text); }
.list-light li::before { color: #8fd3b6; }

.fineprint { color: var(--muted); font-size: .88rem; margin-top: 24px; max-width: 760px; }

/* Ablauf */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.steps p { color: var(--muted); margin: 0; }

/* Preise */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.pricing .plan { display: flex; flex-direction: column; }
.pricing .plan .list { flex-grow: 1; }
.plan-setup { margin-top: 40px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.plan-setup .plan-desc { margin-bottom: 20px; }
.plan-setup .list { margin-bottom: 0; }
.list-cols { columns: 2; column-gap: 28px; }
.list-cols li { break-inside: avoid; border-top: 0; border-bottom: 1px solid var(--border); }
.plan-foot { color: var(--muted); font-size: .85rem; }
.addon-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0 24px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.addon-divider::before,
.addon-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.addon-divider span { text-align: center; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.plan-featured { border: 2px solid var(--accent); }
.plan-label { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--muted); }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; margin: 0; line-height: 1.1; }
.currency { font-size: 1rem; font-weight: 700; color: var(--muted); vertical-align: middle; }
.price-note { color: var(--muted); font-size: .95rem; }
.plan-desc { margin-bottom: 16px; }
.plan .list { margin-bottom: 24px; }
.optional {
  font-size: .72rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  background: var(--bg-alt);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

/* Über mich */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.image-placeholder {
  aspect-ratio: 4 / 5;
  border: 2px dashed #c7c3b8;
  border-radius: var(--radius);
  background: #e9e6de;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-weight: 600;
}
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.facts li { color: var(--muted); font-size: .92rem; }
.facts strong { display: block; color: var(--text); font-size: 1.6rem; letter-spacing: -.02em; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Kontakt */
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark h2 { color: #fff; }
.section-dark .section-num { color: #8fd3b6; }
.section-dark p { color: var(--dark-muted); }
.section-dark a { color: #8fd3b6; }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--dark-text); }
.field .optional { background: rgba(255, 255, 255, .08); color: var(--dark-muted); }
input, select, textarea {
  font: inherit;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  width: 100%;
}
input::placeholder { color: var(--dark-muted); }
select option { color: var(--text); }
textarea { resize: vertical; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field-check input { width: auto; margin-top: 5px; accent-color: #8fd3b6; }
.field-check label { font-weight: 400; color: var(--dark-muted); }
.form .btn { justify-self: start; }
.form-note { font-size: .82rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-inner p { margin: 0; }
.footer-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); }
.disclaimer { font-size: .8rem; margin: 12px 0 0; }

/* Rechtliche Seiten */
.legal { padding: 64px 20px; max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }

@media (max-width: 900px) {
  .hero-grid, .about, .faq-wrap, .contact, .pricing, .plan-setup { grid-template-columns: 1fr; }
  .plan-setup { gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trio { grid-template-columns: 1fr; gap: 24px; }
  .image-placeholder { max-width: 300px; }
}

@media (max-width: 640px) {
  .site-header { position: static; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }
  .nav { gap: 14px; }
  .hero { padding: 56px 0; }
  .section { padding: 64px 0; }
  .services, .steps, .field-row { grid-template-columns: 1fr; }
  .list-cols { columns: 1; }
  .plan, .service, .form { padding: 22px; }
  .price { font-size: 2.5rem; }
}

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