/* ============================================================
   WirkPlan — Website-Stil
   Farben aus dem Markenkern: Navy, WirkPlan-Blau, Grün.
   Datensparsam: Systemschriften, keine externen Ressourcen.
   ============================================================ */

:root {
  --navy:      #1E2E4F;
  --navy-deep: #16233d;
  --blau:      #2B5797;
  --blau-hell: #3D6FB5;
  --gruen:     #2F8A4F;
  --gruen-hell:#6FCF97;
  --tinte:     #1F2933;
  --grau:      #5C6B7A;
  --grau-hell: #8B98A5;
  --linie:     #E1E7EE;
  --papier:    #FFFFFF;
  --nebel:     #F5F7FA;
  --nebel-blau:#EEF4FB;
  --radius:    14px;
  --schatten:  0 2px 8px rgba(30,46,79,0.06), 0 12px 32px rgba(30,46,79,0.07);
  --schatten-l:0 1px 3px rgba(30,46,79,0.08);
  --breite:    1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--tinte);
  background: var(--papier);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

/* ---------- Typo ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { color: var(--tinte); }
a { color: var(--blau); text-decoration: none; }
a:hover { text-decoration: underline; }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gruen); margin-bottom: 14px;
}
.lead { font-size: 1.2rem; color: var(--grau); line-height: 1.6; }

/* ---------- Kopfleiste ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--navy); font-weight: 500; font-size: 0.98rem; }
.nav a:hover { color: var(--blau); text-decoration: none; }
.nav .btn { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
}
.btn-primary { background: var(--gruen); color: #fff; }
.btn-primary:hover { background: #287a45; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(47,138,79,0.28); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--linie); }
.btn-ghost:hover { background: var(--nebel); text-decoration: none; border-color: var(--grau-hell); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--nebel-blau); text-decoration: none; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(61,111,181,0.18), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--nebel) 100%);
  padding: 92px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .akz { color: var(--blau); }
.hero .lead { margin-bottom: 32px; max-width: 34ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 0.92rem; color: var(--grau-hell); }

/* Signature: der Strahlenpunkt, ruhig als Hero-Motiv */
.pulse-art { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; }
.pulse-art .ring { position: absolute; border-radius: 50%; border: 2px solid var(--blau-hell); opacity: 0.5; }
.pulse-art .r1 { width: 40%; height: 40%; }
.pulse-art .r2 { width: 62%; height: 62%; opacity: 0.32; }
.pulse-art .r3 { width: 84%; height: 84%; opacity: 0.18; }
.pulse-art .r4 { width: 106%; height: 106%; opacity: 0.09; }
.pulse-art .core { width: 15%; height: 15%; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 6px rgba(47,138,79,0.14); z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .pulse-art .ring { animation: atmen 5.5s ease-in-out infinite; }
  .pulse-art .r2 { animation-delay: 0.4s; } .pulse-art .r3 { animation-delay: 0.8s; } .pulse-art .r4 { animation-delay: 1.2s; }
  @keyframes atmen { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
}
/* Mini-Mock im Hero-Kreis */
.pulse-card {
  position: relative; z-index: 3; background: #fff; border: 1px solid var(--linie);
  border-radius: var(--radius); box-shadow: var(--schatten); padding: 16px; width: 74%;
}
.pulse-card .pc-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 4px; font-size: 0.82rem; border-bottom: 1px solid var(--nebel); }
.pulse-card .pc-row:last-child { border-bottom: 0; }
.pulse-card .pc-name { color: var(--tinte); font-weight: 500; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dot.g { background: var(--gruen); } .dot.y { background: #E0A93B; } .dot.r { background: #C0453B; }
.pc-head { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grau-hell); margin-bottom: 6px; padding: 0 4px; }

/* ---------- Sektionen ---------- */
section { padding: 78px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--grau); font-size: 1.1rem; }
.bg-nebel { background: var(--nebel); }
.bg-navy { background: var(--navy); }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: #C6D2E2; }

/* Problem → Lösung */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.split-card { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px; box-shadow: var(--schatten-l); }
.split-card.problem { background: var(--nebel-blau); border-color: #d6e4f5; }
.split-card h3 { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.split-card ul { list-style: none; }
.split-card li { position: relative; padding: 8px 0 8px 30px; color: var(--grau); border-bottom: 1px solid rgba(0,0,0,0.04); }
.split-card li:last-child { border-bottom: 0; }
.split-card.problem li::before { content: "–"; position: absolute; left: 6px; color: var(--grau-hell); font-weight: 700; }
.split-card.loesung li::before { content: "✓"; position: absolute; left: 4px; color: var(--gruen); font-weight: 700; }
.split-card.loesung li { color: var(--tinte); }

/* Feature-Grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 30px; transition: transform 0.18s, box-shadow 0.18s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.feature .ficon { width: 46px; height: 46px; border-radius: 12px; background: var(--nebel-blau); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ficon svg { width: 24px; height: 24px; stroke: var(--blau); fill: none; stroke-width: 1.8; }
.feature h3 { margin-bottom: 9px; }
.feature p { color: var(--grau); font-size: 0.98rem; }

/* Zielgruppe */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.aud-pill { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px 20px; text-align: center; }
.aud-pill .num { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.aud-pill .lbl { font-size: 0.9rem; color: var(--grau); }

/* Ablauf / Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { position: relative; padding-top: 8px; }
.step .snum { font-size: 0.85rem; font-weight: 700; color: var(--gruen); letter-spacing: 0.1em; margin-bottom: 12px; }
.step h3 { color: #fff; margin-bottom: 8px; font-size: 1.15rem; }
.step p { color: #C6D2E2; font-size: 0.98rem; }

/* CTA-Band */
.cta-band { background: linear-gradient(135deg, var(--blau) 0%, var(--navy) 100%); border-radius: 22px; padding: 56px; text-align: center; color: #fff; box-shadow: var(--schatten); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #D6E1F0; max-width: 46ch; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .ci-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--nebel-blau); display: grid; place-items: center; flex: 0 0 auto; }
.contact-info .ci-icon svg { width: 20px; height: 20px; stroke: var(--blau); fill: none; stroke-width: 1.8; }
.contact-info .ci-label { font-size: 0.82rem; color: var(--grau-hell); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info .ci-value { font-weight: 600; color: var(--navy); }
.form-card { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px; box-shadow: var(--schatten-l); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--linie); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--tinte); background: #fff; transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blau-hell); box-shadow: 0 0 0 3px rgba(61,111,181,0.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 0.82rem; color: var(--grau-hell); margin-top: 5px; }
.form-note { font-size: 0.85rem; color: var(--grau); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #AEBBCD; padding: 54px 0 30px; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.site-footer img { height: 32px; margin-bottom: 16px; }
.site-footer .fdesc { max-width: 34ch; color: #8FA0B6; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #AEBBCD; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #7A8AA0; font-size: 0.88rem; }

/* ---------- Rechtstext-Seiten ---------- */
.legal { padding: 60px 0 80px; }
.legal .wrap { max-width: 800px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--grau-hell); font-size: 0.92rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--grau); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal .box { background: var(--nebel); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px 24px; margin: 18px 0; }
.legal .box p:last-child { margin-bottom: 0; }
.legal a { word-break: break-word; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pulse-art { max-width: 380px; margin: 0 auto; }
  .split, .features, .steps, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--linie); padding: 16px 24px; gap: 4px; align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--nebel); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
  .cta-band { padding: 40px 24px; }
  section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .audience { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
}
