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

/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
/* Montserrat & Open Sans: SIL Open Font License 1.1 — siehe fonts/OFL.txt */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/open-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

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

  /* Fixed (theme-independent) CTA background: --action fails WCAG AA (2.49:1) with white
     text and gets even lighter in dark mode. These stay constant so white CTA text keeps
     a compliant 4.5:1+ contrast in both themes. See SEO_RULES.md §13 accessibility. */
  --cta-bg: #5C7430;
  --cta-bg-hover: #4D6A2C;

  /* Fixed (theme-independent) AA-compliant text color for the action/accent green family.
     --action-strong (#6C9236) is only ~3.6:1 as small/bold text and fails 4.5:1 — used for
     process-step numbers and the accent pillar card's tag/checkmarks. */
  --action-deep: #5A7A2E;

  --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; }
.page-stand { margin: 0; padding: 24px 0; color: var(--ink-soft); font-size: 0.875rem; }
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(--cta-bg); color: var(--on-accent) !important; padding: 10px 22px; border-radius: 999px; }
.nav__cta:hover { background: var(--cta-bg-hover); }
.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; }

.nav__dropdown { position: relative; }
.nav__dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav__caret { font-size: 0.65em; transition: transform 0.15s ease; }
.nav__dropdown-menu {
  list-style: none; position: absolute; top: 100%; left: 0; margin-top: 14px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 8px; min-width: 210px; box-shadow: 0 16px 32px rgba(0,0,0,0.1);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 110;
}
.nav__dropdown-menu li + li { margin-top: 2px; }
.nav__dropdown-menu a {
  display: block; padding: 10px 12px; border-radius: 6px; font-size: 0.94rem; font-weight: 600; color: var(--ink-soft);
}
.nav__dropdown-menu a:hover, .nav__dropdown-menu a:focus-visible { background: var(--paper-2); color: var(--ink); }
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown:hover .nav__caret, .nav__dropdown:focus-within .nav__caret { transform: rotate(180deg); }

/* ---------------- 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-strong); 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); }
.dot--error { background: #C0392B; }

.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(--cta-bg); color: var(--on-accent); }
.btn--primary:hover { background: var(--cta-bg-hover); 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-strong); margin-bottom: 22px;
}
.pillar-card--accent .pillar-card__tag { color: var(--action-deep); }
.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-strong); font-weight: 700; }
.pillar-card--accent .pillar-card__features li::before { color: var(--action-deep); }

/* ---------------- 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: 200px; height: 220px; position: relative; }
.partner__dial-shield { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.partner__dial-shield-outer { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.partner__dial-shield-inner {
  fill: none; stroke: var(--rule); stroke-width: 1; stroke-dasharray: 4 4;
  transform: scale(0.86); transform-origin: center; transform-box: fill-box;
}
.partner__dial-content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 20px 28px;
}
.partner__dial-num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; 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); }
.numbers__strip--4 { grid-template-columns: repeat(4, 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; }

/* ---------------- TESTIMONIALS ---------------- */
.testimonials { padding: 80px 0 90px; border-top: 1px solid var(--rule); }
.testimonials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 52px; }
.testimonial {
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius);
  border-top: 4px solid var(--trust); padding: 36px; margin: 0;
}
.testimonial p {
  font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; line-height: 1.5;
  color: var(--ink); margin-bottom: 20px;
}
.testimonial cite {
  display: block; font-style: normal; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600;
}

/* ---------------- KUNDENBINDUNG ---------------- */
.stay { padding: 80px 0 90px; border-top: 1px solid var(--rule); }
.stay__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px;
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
.stay__item { padding: 32px 28px; border-left: 1px solid var(--rule); }
.stay__item:first-child { border-left: none; }
.stay__item h3 { font-size: 1.02rem; margin-bottom: 10px; }
.stay__item p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------------- 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(--trust-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__support { padding: 12px 24px; font-size: 0.9rem; flex: none; }
.footer__copy { text-align: center; color: var(--ink-soft); font-size: 0.78rem; margin-top: 36px; }

/* ---------------- 404 ---------------- */
.errorpage { padding: 100px 0 120px; }
.errorpage__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.errorpage__code {
  font-family: var(--font-display); font-weight: 800; color: var(--trust);
  font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; letter-spacing: -0.01em; margin-bottom: 16px;
}
.errorpage__text h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; margin-bottom: 20px; }
.errorpage__text .lead { margin-bottom: 34px; }

@media (max-width: 900px) {
  .errorpage__inner { grid-template-columns: 1fr; }
}

/* ---------------- LEGAL (Impressum / Datenschutz) ---------------- */
.legal { padding: 64px 0 110px; }
.legal__container { max-width: 760px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 24px; padding: 0; font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft); }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--trust); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
.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-strong); 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; }
.legal [tabindex="-1"]:focus { outline: none; } /* programmatischer Fokus nach dem Freischalten, kein Bedienelement */

.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; }
}

/* ---------------- SERVICE PAGE (Leistungsseite) ---------------- */
.svc-hero { padding: 56px 0 24px; }
.svc-hero__intro { max-width: 780px; }
.svc-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.12; margin-bottom: 18px; }
.svc-hero .btn { margin-top: 8px; }

.pillar-card__more { margin-top: 24px; }

.svc-related { padding: 70px 0 90px; border-top: 1px solid var(--rule); }
.svc-related__list { list-style: none; display: grid; gap: 14px; margin-top: 28px; max-width: 620px; }
.svc-related__list a {
  display: block; padding: 16px 20px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper-2); text-decoration: none; color: var(--ink); font-weight: 700;
  transition: border-color 0.15s ease;
}
.svc-related__list a:hover { border-color: var(--trust); }
.svc-related__list small { display: block; margin-top: 4px; color: var(--ink-soft); font-weight: 400; font-size: 0.86rem; }

/* ---------------- 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, .testimonials__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; }
  .stay__grid { grid-template-columns: 1fr; }
  .stay__item { border-left: none; border-top: 1px solid var(--rule); }
  .stay__item: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); overflow-y: auto; max-height: calc(100vh - 60px); }
  .nav__burger { display: flex; }

  .nav__dropdown { width: 100%; }
  .nav__dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; margin: 8px 0 0; padding-left: 14px; min-width: 0;
  }
  .nav__caret { display: none; }
}
