/* ClientSign – gemeinsames Chrome (Header/Footer/Navigation), identisch zur Startseite */
:root {
  --ink: #14201b; --ink-soft: #46564f;
  --bg: #ffffff; --bg-soft: #f3f6f3; --bg-deep: #0f2019;
  --brand: #1e5c46; --brand-strong: #17452f; --brand-tint: #e7efe9; --brand-line: #cfe0d6;
  --accent: #9a5e1c;
  --radius: 14px; --radius-sm: 9px; --maxw: 1180px;
  --shadow: 0 1px 2px rgba(16,32,25,.04), 0 12px 32px -12px rgba(16,32,25,.16);
  --shadow-sm: 0 1px 2px rgba(16,32,25,.05), 0 6px 16px -10px rgba(16,32,25,.18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.16rem; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.btn { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font: inherit; font-weight: 600; font-size: 1rem; padding: 13px 22px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--brand-line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid #eef1ee; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.02em; font-size: 1.16rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo-img { height: 44px; width: auto; display: block; }
footer .brand .logo-img { height: 36px; }
.mark { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; }
.mark svg { width: 36px; height: 36px; }
.brand small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-soft); font-size: .96rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn svg { width: 26px; height: 26px; color: var(--ink); }

footer { border-top: 1px solid #eef1ee; padding: 46px 0 40px; font-size: .92rem; color: var(--ink-soft); }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.foot-grid > div { margin: 0 30px 14px 0; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; margin-bottom: 8px; }
.foot-links a { color: var(--ink-soft); margin: 0 22px 8px 0; white-space: nowrap; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid #eef1ee; margin-top: 10px; padding-top: 16px; }
.foot-legal-label { color: var(--ink-soft); font-size: .86rem; margin: 0 12px 8px 0; }
.foot-legal a { font-weight: 600; color: var(--brand); border: 1px solid var(--brand-line); border-radius: 999px; padding: 6px 14px; background: #fff; margin: 0 10px 8px 0; white-space: nowrap; text-decoration: none; }
.foot-legal a:hover { background: var(--brand-tint); text-decoration: none; }
.foot-note { margin-top: 14px; font-size: .82rem; color: #5f6f67; max-width: 70ch; }


.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .15s ease; }
.skip-link:focus { top: 12px; text-decoration: none; outline: 3px solid #17452f; outline-offset: 2px; }
:where(a, button, summary, .btn, input, select, textarea):focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 3px; }
main:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .btn:hover { transform: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #eef1ee; padding: 16px 24px; gap: 6px; align-items: stretch; }
  .nav-links.open a { padding: 10px 0; border-bottom: 1px solid #f3f5f3; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
