/* ============================================================
   fischer professional consulting — Website
   CI: Trust Green / Action Green / Light Safety / Deep Anthracite
   Montserrat (Headlines) + Open Sans (Fließtext)
   ============================================================ */

:root {
  --paper: #FFFFFF;
  --paper-2: #F3F7EC;
  --ink: #2C3E50;
  --ink-soft: #64758A;
  --rule: rgba(44,62,80,0.15);

  --trust: #76923C;
  --trust-strong: #5C7430;
  --action: #88B14B;
  --action-strong: #6C9236;
  --safety: #9EC161;

  --on-accent: #FFFFFF;
  --radius: 8px;
  --container: 1180px;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #202B35;
    --paper-2: #26333F;
    --ink: #EDF1EC;
    --ink-soft: #A7B4BD;
    --rule: rgba(237,241,236,0.14);
    --trust: #93B85B;
    --trust-strong: #ACCE7A;
    --action: #A3CE68;
    --action-strong: #B9DC85;
    --safety: #B8D98A;
  }
}
:root[data-theme="dark"] {
  --paper: #202B35;
  --paper-2: #26333F;
  --ink: #EDF1EC;
  --ink-soft: #A7B4BD;
  --rule: rgba(237,241,236,0.14);
  --trust: #93B85B;
  --trust-strong: #ACCE7A;
  --action: #A3CE68;
  --action-strong: #B9DC85;
  --safety: #B8D98A;
}
:root[data-theme="light"] {
  --paper: #FFFFFF;
  --paper-2: #F3F7EC;
  --ink: #2C3E50;
  --ink-soft: #64758A;
  --rule: rgba(44,62,80,0.15);
  --trust: #76923C;
  --trust-strong: #5C7430;
  --action: #88B14B;
  --action-strong: #6C9236;
  --safety: #9EC161;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: 800; color: var(--trust); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
a { color: inherit; }

/* --- logo (black wordmark on transparent bg — invert to white on dark grounds) --- */
.nav__logo { height: 36px; display: block; }
.footer__logo { height: 30px; display: block; }
@media (prefers-color-scheme: dark) {
  .nav__logo, .footer__logo { filter: invert(1); }
}
:root[data-theme="dark"] .nav__logo, :root[data-theme="dark"] .footer__logo { filter: invert(1); }
:root[data-theme="light"] .nav__logo, :root[data-theme="light"] .footer__logo { filter: none; }

/* --- eyebrow / section labels --- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.eyebrow.center { justify-content: center; }
.eyebrow__mark { width: 14px; height: 3px; background: var(--action); display: inline-block; flex: none; border-radius: 2px; }

.eyebrow--callout {
  display: inline-flex;
  background: var(--paper-2);
  border: 1px solid var(--trust);
  color: var(--trust-strong);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 20px;
}
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 700px; }

.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
.lead.center { margin: 0 auto 44px; text-align: center; }

/* ---------------- NAV ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { text-decoration: none; font-size: 0.94rem; font-weight: 600; color: var(--ink-soft); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { background: var(--action); color: var(--on-accent) !important; padding: 10px 22px; border-radius: 999px; }
.nav__cta:hover { background: var(--action-strong); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* ---------------- HERO ---------------- */
.hero { padding: 92px 0 88px; }
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }

.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero__subtitle { font-size: 1.16rem; color: var(--ink-soft); max-width: 52ch; margin-bottom: 20px; }
.hero__subtitle strong { color: var(--ink); font-weight: 700; }
.hero__punch {
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  color: var(--ink); max-width: 52ch; margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* status panel: security/monitoring visual, ties directly to the shield/protection promise */
.statuspanel {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 24px 20px;
}
.statuspanel__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
  padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.statuspanel__live { display: flex; align-items: center; gap: 6px; color: var(--trust); text-transform: uppercase; }
.statuspanel__live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--safety); display: block;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.statuspanel__rows { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.statuspanel__rows li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.statuspanel__rows li b { margin-left: auto; font-weight: 600; color: var(--ink-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--safety); }

.statuspanel__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.78rem; color: var(--ink-soft); }

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; cursor: pointer; border: none;
  font-family: var(--font-body);
}
.btn--primary { background: var(--action); color: var(--on-accent); }
.btn--primary:hover { background: var(--action-strong); transform: translateY(-1px); }
.btn--ghost { color: var(--ink); background: transparent; border: 1px solid var(--rule); }
.btn--ghost:hover { border-color: var(--ink-soft); }
.btn--lg { padding: 17px 38px; font-size: 1.02rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--trust); outline-offset: 2px; }

/* ---------------- PAIN ---------------- */
.pain { padding: 70px 0 80px; border-top: 1px solid var(--rule); }
.pain__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.pain h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 6px 0 18px; line-height: 1.22; }
.pain__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.pain__list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 4px; border-bottom: 1px solid var(--rule);
  color: var(--ink-soft); font-size: 0.98rem;
}
.pain__tag {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--rule); border-radius: 4px; padding: 4px 9px;
  flex: none;
}

/* ---------------- PILLARS ---------------- */
.pillars { padding: 84px 0 96px; border-top: 1px solid var(--rule); }
.pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 52px; }
.pillar-card {
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius);
  border-top: 4px solid var(--trust); padding: 40px;
}
.pillar-card--accent { border-top-color: var(--action); }
.pillar-card__tag {
  display: inline-block; font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--trust); margin-bottom: 22px;
}
.pillar-card--accent .pillar-card__tag { color: var(--action-strong); }
.pillar-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; line-height: 1.32; }
.pillar-card p { color: var(--ink-soft); margin-bottom: 24px; }
.pillar-card__features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pillar-card__features li { padding-left: 24px; position: relative; font-size: 0.95rem; font-weight: 600; }
.pillar-card__features li::before { content: '✓'; position: absolute; left: 0; color: var(--trust); font-weight: 700; }
.pillar-card--accent .pillar-card__features li::before { color: var(--action-strong); }

/* ---------------- PARTNER ---------------- */
.partner { padding: 90px 0; border-top: 1px solid var(--rule); background: var(--paper-2); }
.partner__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 64px; align-items: center; }
.partner__text h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; line-height: 1.24; }
.partner__points { display: grid; gap: 22px; margin-top: 34px; }
.partner__point h4 { font-size: 1.02rem; margin-bottom: 5px; font-family: var(--font-display); font-weight: 700; }
.partner__point p { color: var(--ink-soft); font-size: 0.94rem; }

.partner__visual { display: flex; justify-content: center; }
.partner__dial {
  width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 20px; position: relative;
}
.partner__dial::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed var(--rule); }
.partner__dial-num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: var(--trust); line-height: 1; }
.partner__dial-label { font-size: 0.82rem; color: var(--ink-soft); max-width: 14ch; }

/* ---------------- NUMBERS ---------------- */
.numbers { padding: 0; border-top: 1px solid var(--rule); }
.numbers__strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.number { text-align: center; padding: 46px 20px; border-left: 1px solid var(--rule); }
.number:first-child { border-left: none; }
.number strong {
  display: block; font-family: var(--font-display); font-weight: 800; color: var(--trust);
  font-size: clamp(2.2rem, 4.4vw, 3rem); font-variant-numeric: tabular-nums;
}
.number span { color: var(--ink-soft); font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------------- PROCESS ---------------- */
.process { padding: 88px 0 100px; border-top: 1px solid var(--rule); }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.process__step { padding: 36px; border-left: 1px solid var(--rule); }
.process__step:first-child { border-left: none; }
.process__num { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--action-strong); display: block; margin-bottom: 18px; letter-spacing: 0.05em; }
.process__step h3 { font-size: 1.16rem; margin-bottom: 10px; }
.process__step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------------- FAQ ---------------- */
.faq { padding: 84px 0 96px; border-top: 1px solid var(--rule); }
.faq__list { max-width: 780px; margin: 48px auto 0; }
.faq__item { padding: 26px 0; border-top: 1px solid var(--rule); }
.faq__item:first-child { border-top: none; padding-top: 0; }
.faq__item h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; }
.faq__item p { color: var(--ink-soft); max-width: 68ch; }

/* ---------------- CTA ---------------- */
.cta { padding: 96px 0 110px; border-top: 1px solid var(--rule); }
.cta__panel {
  max-width: 720px; text-align: center; background: var(--paper-2);
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 64px 48px;
}
.cta__actions { margin-bottom: 28px; }
.cta__contacts { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.cta__contacts a { text-decoration: none; }
.cta__contacts a:hover { color: var(--ink); }
.cta__sep { margin: 0 12px; color: var(--rule); }

/* ---------------- FOOTER ---------------- */
.footer { border-top: 1px solid var(--rule); padding: 48px 0 22px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand p { color: var(--ink-soft); font-size: 0.88rem; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-soft); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { text-align: center; color: var(--ink-soft); font-size: 0.78rem; margin-top: 36px; }

/* ---------------- LEGAL (Impressum / Datenschutz) ---------------- */
.legal { padding: 64px 0 110px; }
.legal__container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 16px; }
.legal__intro { margin-bottom: 48px; }

.legal__section { padding: 30px 0; border-top: 1px solid var(--rule); }
.legal__section:first-of-type { border-top: none; padding-top: 0; }
.legal__section h2 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.legal__section p { color: var(--ink-soft); max-width: 68ch; margin-bottom: 14px; }
.legal__section p:last-child { margin-bottom: 0; }
.legal__section a { color: var(--trust-strong); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.legal__section a:hover { color: var(--trust); text-decoration-color: currentColor; }

.legal__list { list-style: none; display: grid; gap: 10px; }
.legal__list li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.legal__list li::before { content: '✓'; position: absolute; left: 0; color: var(--trust); font-weight: 700; }

.legal__facts { display: grid; }
.legal__facts > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.legal__facts > div:last-child { border-bottom: none; }
.legal__facts dt { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.legal__facts dd { color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 640px) {
  .legal__facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------------- KUNDENBEREICH GATE ---------------- */
.gate__form { margin-top: 8px; max-width: 420px; }
.gate__label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.gate__row { display: flex; gap: 10px; }
.gate__row input {
  flex: 1; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--rule);
  background: var(--paper-2); color: var(--ink); font-family: var(--font-body); font-size: 0.98rem;
}
.gate__row input:focus { outline: 2px solid var(--trust); outline-offset: 2px; }
.gate__error { color: #B4472B; font-size: 0.88rem; margin-top: 10px; }
.gate__note { margin-top: 8px; color: var(--ink-soft); font-size: 0.9rem; }

.doclist { list-style: none; display: grid; gap: 10px; }
.doclist a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper-2); text-decoration: none; transition: border-color 0.15s ease;
}
.doclist a:hover { border-color: var(--trust); }
.doclist a span { font-weight: 700; color: var(--ink); }
.doclist a small { color: var(--ink-soft); font-size: 0.82rem; }

@media (max-width: 640px) {
  .gate__row { flex-direction: column; }
  .doclist a { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------------- COOKIE CONSENT ---------------- */
.consent {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--paper); border-top: 1px solid var(--rule);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
}
.consent.is-visible { display: block; }
.consent__box {
  padding: 22px 32px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.consent__box p { color: var(--ink-soft); font-size: 0.92rem; max-width: 68ch; margin: 0; }
.consent__box a { color: var(--trust-strong); text-decoration: underline; text-decoration-color: var(--rule); }
.consent__box a:hover { color: var(--trust); text-decoration-color: currentColor; }
.consent__actions { display: flex; gap: 12px; margin-left: auto; flex: none; }
.consent__actions .btn { padding: 11px 22px; font-size: 0.92rem; }

@media (max-width: 640px) {
  .consent__box { padding: 20px; }
  .consent__actions { margin-left: 0; width: 100%; }
  .consent__actions .btn { flex: 1; }
}

/* ---------------- REVEAL ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .hero__inner, .pain__grid, .pillars__grid, .partner__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .process__step { border-left: none; border-top: 1px solid var(--rule); }
  .process__step:first-child { border-top: none; }
  .numbers__strip { grid-template-columns: 1fr; }
  .number { border-left: none; border-top: 1px solid var(--rule); }
  .number:first-child { border-top: none; }
  .partner__visual { order: -1; }
  .cta__panel { padding: 44px 26px; }

  .nav__links {
    position: fixed; top: 60px; left: 0; right: 0; background: var(--paper);
    flex-direction: column; align-items: flex-start; padding: 24px 32px; border-bottom: 1px solid var(--rule);
    transform: translateY(-150%); transition: transform 0.3s ease; gap: 18px;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__burger { display: flex; }
}
