/* Gemeinsamer Website-Look für Hilfecenter und Formulare (wie imhof-unternehmensberatung.ch):
   DM Sans, Navy/Blau/Cyan, runde Knöpfe, Würfelmarke, Kopf- und Fusszeile.
   DM Sans: SIL Open Font License 1.1 (selbst gehostet, keine Drittanbieter-Anfrage). */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/hc/fonts/dm-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; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/hc/fonts/dm-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: "DM Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/hc/fonts/dm-sans-italic-latin.woff2") format("woff2"); }
:root {
  --blue: #2874bb; --blue-700: #1d5c99; --cyan: #20c1f2; --cyan-soft: #8fdcf6;
  --navy: #00378c; --navy-800: #0e2f5f; --navy-900: #0a2246; --navy-950: #061730;
  --ink: #0d1f3a; --text: #34455d; --muted: #5a6a80;
  --line: #dde6f0; --line-strong: #c6d4e3; --sky-50: #f3f8fc; --sky-100: #e6f1fa; --sky-200: #cde3f4;
  --danger: #b42318; --success: #1c7c4a;
  --radius-sm: 10px; --radius: 16px; --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(10, 34, 70, .06), 0 2px 10px rgba(10, 34, 70, .05);
  --shadow: 0 18px 40px -18px rgba(10, 34, 70, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* frühere Namen (Skripte und ältere Regeln nutzen sie teilweise) */
  --primary: var(--blue); --primary-700: var(--blue-700); --bg: var(--sky-50); --surface: #fff; --border: var(--line); --text-2: var(--text); --text-3: var(--muted);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: #fff; color: var(--text); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -.022em; line-height: 1.15; text-wrap: balance; }
a { color: var(--blue); }
::selection { background: var(--sky-200); color: var(--ink); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hc-container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 44px; width: auto; display: block; }
.brand__tag { padding-left: 14px; border-left: 1.5px solid var(--line-strong); color: var(--ink); font-weight: 600; font-size: .98rem; letter-spacing: -.01em; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list a { position: relative; display: block; padding: 10px 14px; color: var(--ink); font-size: .98rem; font-weight: 500; text-decoration: none; border-radius: 8px; }
.nav__list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--blue); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .96rem; text-decoration: none; white-space: nowrap; }
.header-phone .ic { color: var(--blue); }
.header-phone:hover { color: var(--blue); }

/* ---------- Knöpfe ---------- */
.btn { --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border: 1.5px solid var(--btn-bd); border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn--primary:hover { --btn-bg: var(--navy); --btn-bd: var(--navy); box-shadow: 0 12px 24px -12px rgba(0, 55, 140, .55); }
.btn--ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--blue); --btn-fg: var(--blue); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--sky-100); --btn-bd: var(--sky-100); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .94rem; }
.btn:disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Kicker und Startbereich ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .8rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 14px; height: 14px; flex: none; transform: rotate(17deg);
  background: linear-gradient(var(--cyan), var(--cyan)) 0 0 / 7px 7px no-repeat, linear-gradient(var(--blue), var(--blue)) 7px 7px / 7px 7px no-repeat; }
.eyebrow--light { color: var(--cyan-soft); }
.eyebrow--light::before { background: linear-gradient(var(--cyan), var(--cyan)) 0 0 / 7px 7px no-repeat, linear-gradient(#fff, #fff) 7px 7px / 7px 7px no-repeat; }
.hero { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 84px) 0 clamp(36px, 5vw, 60px); background: linear-gradient(180deg, var(--sky-50) 0%, #fff 82%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(40, 116, 187, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 116, 187, .06) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 0%, transparent 75%); }
.hero__inner { position: relative; }
.hero h1 { margin: 0 0 14px; font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.034em; line-height: 1.05; max-width: 820px; }
.hero h1 .text-accent { display: block; color: var(--blue); }
.hero .lead { margin: 0 0 30px; max-width: 620px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text); }

/* ---------- Kontaktblock «Nicht gefunden?» ---------- */
.contact-cta { max-width: 1180px; margin: 12px auto 56px; padding: 0 clamp(20px, 4vw, 40px); }
.contact-cta:empty { display: none; }
.contact-cta__inner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%); color: #dbe8f7; box-shadow: var(--shadow); }
.contact-cta__inner::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(143, 220, 246, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 220, 246, .07) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000 0%, transparent 70%); }
.contact-cta__intro, .contact-cta__list { position: relative; }
.contact-cta h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.03em; color: #fff; }
.contact-cta p { margin: 0 0 22px; color: #c9d8ec; line-height: 1.65; }
.contact-cta__chat { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid #fff;
  background: #fff; color: var(--navy); font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; transition: background-color .25s var(--ease), transform .25s var(--ease); }
.contact-cta__chat:hover { background: var(--sky-100); transform: translateY(-1px); }
.contact-cta__list { list-style: none; margin: 0; padding: 22px 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); display: grid; gap: 16px; }
.contact-cta__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-cta .cta-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(32, 193, 242, .14); font-size: 18px; line-height: 1; }
.contact-cta .cta-label { display: block; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan-soft); margin-bottom: 3px; }
.contact-cta__list a, .contact-cta__list span { color: #fff; font-size: 1.02rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-cta__list span.cta-label { color: var(--cyan-soft); font-size: .74rem; }
.contact-cta__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-cta :focus-visible { outline-color: var(--cyan); }

/* ---------- Fusszeile (wie die Website) ---------- */
.site-foot { background: var(--navy-950); color: #a9bbd3; font-size: .96rem; padding-bottom: 90px; }
.site-foot:empty { display: none; }
.site-foot a { color: #dce7f5; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot :focus-visible { outline-color: var(--cyan); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: clamp(52px, 7vw, 80px) 44px; }
.foot__brand img { height: 52px; width: auto; margin-bottom: 18px; display: block; }
.foot__brand p { max-width: 320px; margin: 0; }
.foot__title { margin: 0 0 16px; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.foot__list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.foot__contact { display: grid; gap: 8px; font-style: normal; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.foot__bottom p { margin: 0; }
.foot__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }

@media (max-width: 960px) {
  .nav { display: none; }
  .site-header__actions { margin-left: auto; }
  .contact-cta__inner { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-header__inner { height: 66px; gap: 12px; }
  .brand img { height: 36px; }
  .brand__tag { display: none; }
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--line); border-radius: 12px; }
  .btn--sm { padding: 0 14px; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
