/* ==========================================================================
   ClearSolve – Stylesheet
   Statisch, ohne Abhängigkeiten, ohne Tracking.
   ========================================================================== */

:root {
  --ink: #16202b;
  --muted: #5a6572;
  --line: #e3e8ef;
  --bg: #ffffff;
  --alt: #f5f7fa;
  --accent: #1f3a5f;
  --accent-hover: #162c49;
  --accent-soft: #eaf0f7;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid #7aa2d6;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.brand img {
  display: block;
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
}
.nav a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { padding: 10px 16px; font-size: .9rem; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { color: var(--accent); border-color: var(--line); background: transparent; }
.btn-ghost:hover { background: var(--alt); border-color: #cfd8e3; }

.btn-wa { background: #12846a; color: #fff; gap: 9px; }
.btn-wa:hover { background: #0d6b55; }
.wa-ico { flex: none; }

.btn-outline { color: var(--accent); border-color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent-soft); }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 12% -10%, #eef3f9 0%, rgba(255,255,255,0) 60%),
    var(--bg);
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 56px;
  align-items: center;
}

.hero-text { max-width: 620px; }

.hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }

.hero-visual {
  width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 12px;
  border-radius: 999px;
  margin: 0 0 22px;
}

.lead {
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.micro {
  font-size: .87rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 8vw, 92px) 0; }
.section-alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); max-width: 620px; margin-bottom: 40px; }

/* ---------- Problem ---------- */

.pain {
  list-style: none;
  padding: 0;
  margin: 24px 0 20px;
  display: grid;
  gap: 14px;
}
.pain li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
}
.pain li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .55em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}
.pain-close {
  font-weight: 600;
  margin-top: 26px;
}

/* ---------- Schritte ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 48px;
  counter-reset: step;
}
.steps li { position: relative; }
.step-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  margin-bottom: 16px;
}
.step-ic img { display: block; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Karten ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
  position: relative;
}

.badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin: 0;
}

.card h3 { font-size: 1.3rem; margin-bottom: .4em; }

.card-price {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.card-price span {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
}

.card-desc { color: var(--muted); font-size: .95rem; }

.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 9px;
}
.card li {
  position: relative;
  padding-left: 22px;
  font-size: .94rem;
}
.card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.card .btn { margin-top: auto; }

.fineprint {
  margin-top: 26px;
  font-size: .85rem;
  color: var(--muted);
}

/* ---------- Features ---------- */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 12px;
}
.feature h3 { font-size: 1.02rem; margin-bottom: .3em; }
.feature p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Timeline ---------- */

.timeline {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-left: 2px solid var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 26px 26px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--alt);
}
.timeline strong { display: inline-block; margin-right: 8px; }
.timeline span {
  font-size: .82rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  padding: 2px 9px;
  border-radius: 999px;
}
.timeline p { margin: .35em 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */

.faq {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
}
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding-bottom: 8px; }

/* ---------- Über ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}

.about-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .6em;
}

.about-card {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background: linear-gradient(158deg, #24445f 0%, #172c46 100%);
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .16);
}

.about-card-kicker {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .7;
  margin: 0 0 10px;
}

.about-card-claim {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}

.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .12);
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 18px;
}

.contact-item {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.contact-item:hover { border-color: var(--accent); background: var(--accent-soft); }

.contact-label {
  display: block;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-value { font-weight: 600; }

.contact-hint {
  display: block;
  font-size: .84rem;
  color: var(--muted);
  margin-top: 2px;
}

.contact-grid-3 { grid-template-columns: repeat(3, 1fr); }

.contact-wa {
  border-color: #bfe3d2;
  background: #f3fbf7;
}
.contact-wa:hover {
  border-color: #1f8f5f;
  background: #e9f8ef;
}
.contact-wa .contact-label { color: #1f7a52; }

.contact-steps {
  list-style: none;
  counter-reset: cstep;
  padding: 0;
  margin: 30px 0 18px;
  display: grid;
  gap: 14px;
  max-width: 640px;
}
.contact-steps li {
  position: relative;
  padding-left: 42px;
  color: var(--muted);
  font-size: .95rem;
}
.contact-steps li::before {
  counter-increment: cstep;
  content: counter(cstep);
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-steps strong { color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #cfd6df;
  padding: 46px 0 30px;
  font-size: .9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 6px;
}
.footer-line { margin: 0; color: #a9b4c2; font-size: .85rem; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: #cfd6df; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy { margin: 20px 0 0; font-size: .8rem; color: #8d99a8; }

/* ---------- Legal pages ---------- */

.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.2rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink); font-size: .97rem; }
.legal .note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}
.legal .placeholder { color: #a33; font-weight: 600; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-card { max-width: 240px; aspect-ratio: 1 / 1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .card-featured { order: -1; }
  .contact-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { min-height: 62px; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
  .nav { gap: 16px; font-size: .9rem; width: 100%; order: 3; }
  .header-inner .btn-sm { order: 2; }
  .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
}
