/* ==========================================================================
   Jähn & Bieg Steuerberatung – Design-System „Ordnung in Zahlen“
   Papier, Tinte, Navy. Gold nur für den einen Handlungsimpuls.
   Typografie: Trajan Pro 3 (Display) / D-DIN (Text) / Spline Sans Mono (Zahlen, Labels)
   Signaturen: Summenstrich (Doppellinie), Mono-Eyebrow, Glyphen-Feld (§ € %)
   ========================================================================== */

@font-face { font-family: 'Trajan Pro 3'; font-weight: 400; font-display: swap; src: url('../fonts/trajan-pro-3.woff2') format('woff2'); }
@font-face { font-family: 'D-DIN'; font-weight: 400; font-display: swap; src: url('../fonts/d-din.woff2') format('woff2'); }
@font-face { font-family: 'D-DIN'; font-weight: 700; font-display: swap; src: url('../fonts/d-din-bold.woff2') format('woff2'); }
/* Spline Sans Mono ist eine Variable Font (Achse wght 300–700): eine Datei für alle Schnitte */
@font-face { font-family: 'Spline Sans Mono'; font-weight: 300 700; font-display: swap; src: url('../fonts/spline-sans-mono-var.woff2') format('woff2'); }

:root {
  --paper: #F7F6F2;
  --paper-deep: #EFEDE6;
  --white: #FFFFFF;
  --ink: #1A2238;
  --ink-soft: #3D4359;
  --navy: #293D67;
  --navy-deep: #16223F;
  --navy-soft: #3A5387;
  --navy-tint: #E9EDF5;
  --stone: #5F6371;  /* AA-Kontrast auf paper (5,5:1) und paper-deep (5,1:1) */
  --line: #DCDAD1;
  --line-ink: rgba(26, 34, 56, 0.28);
  --accent: #B8892B;
  --accent-deep: #9A7020;
  --accent-light: #D8C48A;
  --ok: #2E6B4F;
  --warn: #9B3B2E;
  --grad-navy: linear-gradient(150deg, #16223F 0%, #293D67 58%, #3A5387 100%);
  --font-display: 'Trajan Pro 3', 'Trajan Pro', Georgia, serif;
  --font-body: 'D-DIN', 'Futura', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Spline Sans Mono', 'SF Mono', Menlo, monospace;
  --r: 8px;
  --r-lg: 14px;
  --r-pill: 999px;
  --shadow: 0 14px 40px -18px rgba(26, 34, 56, 0.28);
  --shadow-lift: 0 24px 50px -24px rgba(26, 34, 56, 0.4);
  --container: 1180px;
  --gutter: 1.25rem;
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; overflow-x: hidden; overscroll-behavior-x: none; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-soft); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--paper); }
button { font: inherit; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0.015em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); overflow-wrap: break-word; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3, h4 { font-family: var(--font-body); font-weight: 700; color: var(--ink); line-height: 1.3; margin: 0 0 0.5em; text-wrap: balance; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
small { font-size: 0.86em; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--mid { max-width: 980px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--navy { background: var(--grad-navy); color: var(--paper); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--paper); }
.section--navy p, .section--navy li { color: rgba(247, 246, 242, 0.86); }
.section--navy a:not(.btn) { color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--cta { padding-top: 0; }
.section--white + .section--cta { padding-top: var(--section-y); }

.eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy);
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; flex: none; }
.section--navy .eyebrow, .hero .eyebrow, .page-head .eyebrow, .cta-panel .eyebrow, .aside-card--navy .eyebrow { color: rgba(255, 255, 255, 0.85); }

.lead { font-size: 1.15rem; line-height: 1.62; color: var(--ink-soft); max-width: 62ch; }
.measure { max-width: 66ch; }
.sec-head { max-width: 72ch; margin-bottom: 2.5rem; }
.sec-head .lead { margin-top: 0.25rem; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }
.sec-head--row > div { max-width: 68ch; }

.sumline { border: 0; border-top: 1px solid var(--line-ink); height: 0; margin: 0 0 1.5rem; background: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; border-radius: var(--r-pill);
  border: 1px solid var(--navy);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; cursor: pointer; white-space: nowrap;
  transition: filter 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { filter: brightness(1.18); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: var(--accent-deep); color: #fff;
  box-shadow: 0 10px 26px -12px rgba(154, 112, 32, 0.7);
}
.btn--primary:hover { filter: brightness(1.08); box-shadow: 0 14px 30px -12px rgba(154, 112, 32, 0.8); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-ink); }
.btn--ghost:hover { background: transparent; color: var(--navy); border-color: var(--navy); filter: none; }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--navy-deep); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--navy); filter: none; }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.06rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; align-items: center; }
.btn-row__note { font-size: 0.9rem; color: var(--stone); }
.section--navy .btn--ghost, .hero .btn--ghost, .page-head .btn--ghost, .cta-panel .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.section--navy .btn--ghost:hover, .hero .btn--ghost:hover, .cta-panel .btn--ghost:hover { border-color: #fff; color: #fff; }

.link-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.97rem; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--line-ink); padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.link-more::after { content: '→'; transition: transform 0.2s var(--ease-out); }
.link-more:hover { color: var(--navy-soft); border-color: var(--navy-soft); }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- Header & Navigation ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 400; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, transform 0.3s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -20px rgba(26, 34, 56, 0.4); }
/* Mobil: beim Runterscrollen ausblenden, beim Hochscrollen sofort wieder da (main.js) */
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; transition-duration: 0.45s; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
/* Logo darf nie schrumpfen, sonst wird es gestaucht */
.site-header__logo { flex: none; display: block; }
.site-header__logo img { height: 50px; width: auto; max-width: none; aspect-ratio: 442 / 116; transition: height 0.25s ease; }
.site-header.is-scrolled .site-header__logo img { height: 44px; }
.site-header__right { display: flex; align-items: center; gap: 1.1rem; }
.site-header__phone { display: none; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 700; color: var(--ink); white-space: nowrap; line-height: 1.1; }
.site-header__phone svg { width: 18px; height: 18px; color: var(--navy); }
.site-header__phone small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--stone); margin-top: 2px; }
.site-header__phone:hover { color: var(--navy); }
.site-header__cta { display: none; padding: 0.65rem 1.2rem; font-size: 0.92rem; white-space: nowrap; }
.site-header__cta--secondary { padding: 0.6rem 1.05rem; }
.read-sum { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--navy) 0%, var(--navy-soft) 55%, var(--accent) 100%); box-shadow: 0 1px 6px rgba(184, 137, 43, 0.35); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 11px; background: none; border: 1px solid var(--line-ink); border-radius: var(--r-pill); cursor: pointer; }
.nav-burger span { display: block; height: 2px; background: var(--ink); transition: transform 0.25s var(--ease-out), opacity 0.2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(22, 34, 63, 0.35); z-index: 150; }
.nav-backdrop[hidden] { display: none; }

/* Mobile: Drawer */
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100dvh - var(--header-h)); background: var(--paper); overflow-y: auto; z-index: 190;
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift);
  animation: nav-in 0.3s var(--ease-out);
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav-list { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1rem; }
.nav-item { border-bottom: 1px solid var(--line); }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1rem 0.25rem; font-size: 1.08rem; font-weight: 400; color: var(--ink);
  text-decoration: none; background: none; border: 0; text-align: left; font-family: var(--font-body); cursor: pointer;
}
.nav-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.25s var(--ease-out); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-item.is-active > .nav-link { font-weight: 700; color: var(--navy); }
.nav-panel { display: none; padding: 0 0 0.8rem; }
.nav-item--has-panel.is-open .nav-panel { display: block; }
.nav-col__title { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin: 0.6rem 0 0.3rem; }
.nav-col ul { list-style: none; margin: 0; padding: 0; }
.nav-col a { display: block; padding: 0.5rem 0.25rem; text-decoration: none; color: var(--ink-soft); border-radius: var(--r); }
.nav-col a strong { display: block; font-weight: 400; color: var(--ink); }
.nav-col a span { display: block; font-size: 0.84rem; color: var(--stone); }
.nav-col a:hover { background: var(--white); color: var(--navy); }
.site-nav__foot { display: none; }
.site-nav__mobile-extra { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem 0.75rem; align-items: center; padding: 1rem var(--gutter) 1.6rem; }
.site-nav__phone { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; color: var(--navy); border-color: var(--line-ink); }
.site-nav__phone svg { width: 22px; height: 22px; }
.site-nav__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-nav__mobile-extra .btn--primary { min-height: 52px; }
.site-nav__jobs { grid-column: 1 / -1; justify-self: start; font-size: 0.95rem; margin-top: 0.2rem; }
.nav-item:last-child { border-bottom: 0; }

@media (min-width: 960px) {
  .nav-burger, .site-nav__mobile-extra, .site-nav__foot, .nav-backdrop { display: none !important; }
  .site-header__phone { display: flex; }
  .site-header__cta { display: inline-flex; }
  .site-header__cta--secondary { display: none; }
  .site-header__right { gap: 0.6rem; }
  .site-header__inner { justify-content: flex-start; gap: 1.5rem; }
  /* Menü und Buttons rücken als Gruppe nach rechts, neben dem Logo bleibt Luft */
  .site-nav { display: block; margin-left: auto; margin-right: 0.75rem; }
  .nav-list { display: flex; align-items: center; gap: 0; padding: 0; }
  .nav-item { border: 0; position: relative; }
  .nav-link { padding: 0.5rem 0.6rem; font-size: 0.93rem; border-radius: var(--r-pill); gap: 0.3rem; justify-content: flex-start; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; }
  .site-header__cta { padding: 0.55rem 1rem; font-size: 0.88rem; }
  .site-header__cta--secondary { padding: 0.5rem 0.9rem; }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: var(--white); color: var(--navy); }
  .nav-link svg { width: 13px; height: 13px; }
  .nav-item.is-active > .nav-link { position: relative; }
  .nav-item.is-active > .nav-link::after { content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.25rem; height: 1px; background: var(--navy); }
  .nav-panel {
    position: absolute; top: calc(100% + 10px); left: -0.5rem;
    display: flex; gap: 2rem; min-width: 300px;
    background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--navy);
    border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow-lift);
    padding: 1.1rem 1.3rem 1.2rem;
    opacity: 0; transform: translateY(6px); pointer-events: none;
    transition: opacity 0.2s ease, transform 0.25s var(--ease-out);
  }
  .nav-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav-item--has-panel.is-open .nav-panel { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .nav-col { min-width: 220px; }
  .nav-col__title { margin-top: 0; }
  .nav-col a { padding: 0.45rem 0.55rem; margin-left: -0.55rem; }
  .nav-col a:hover { background: var(--paper); }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .nav-link { padding: 0.6rem 0.62rem; font-size: 0.94rem; }
  /* Der Button „Erstgespräch vereinbaren“ daneben führt ebenfalls zu /kontakt/ */
  .nav-item--kontakt { display: none; }
}
/* Telefon nur als Symbol, bis genug Platz für Nummer + Öffnungszeiten ist */
@media (min-width: 960px) and (max-width: 1679px) {
  .site-header__phone { width: 40px; height: 40px; flex: none; justify-content: center; border: 1px solid var(--line-ink); border-radius: 50%; }
  .site-header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header__phone svg { width: 20px; height: 20px; }
}
@media (min-width: 960px) and (max-width: 1079px) {
  .site-header__logo img { height: 36px; }
  .nav-link { padding: 0.55rem 0.5rem; font-size: 0.9rem; }
  .site-header__phone { display: none; }
}
@media (min-width: 1360px) { .site-header .container { max-width: 1320px; } .site-header__cta--secondary { display: inline-flex; } }
@media (min-width: 1680px) { .site-header .container { max-width: 1440px; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0.9rem 0 0; font-size: 0.76rem; font-family: var(--font-mono); letter-spacing: 0.04em; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.35rem; color: rgba(247, 246, 242, 0.6); }
.breadcrumbs li + li::before { content: '/'; color: rgba(247, 246, 242, 0.35); }
.breadcrumbs a { color: rgba(247, 246, 242, 0.75); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #fff; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-navy); color: var(--paper); }
.page-head__inner { position: relative; z-index: 1; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(2.75rem, 6vw, 4.5rem); }
.page-head h1 { max-width: 22ch; color: #fff; }
.page-head .lead { color: rgba(247, 246, 242, 0.85); margin-top: 0.5rem; }
.page-head .breadcrumbs { position: relative; z-index: 1; }
.page-head__bg { position: absolute; inset: 0; z-index: 0; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 1; object-position: center 45%; }
.page-head--photo::after { content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(97deg, rgba(16, 25, 47, 0.94) 0%, rgba(16, 25, 47, 0.86) 34%, rgba(22, 34, 63, 0.5) 58%, rgba(22, 34, 63, 0.18) 80%, rgba(22, 34, 63, 0.08) 100%); }
@media (max-width: 899px) { .page-head--photo::after { background: linear-gradient(180deg, rgba(16, 25, 47, 0.9) 0%, rgba(16, 25, 47, 0.82) 60%, rgba(22, 34, 63, 0.6) 100%); } }
.page-head--photo .page-head__inner { max-width: var(--container); padding-block: clamp(3.5rem, 9vw, 7rem); }
.page-head--photo h1, .page-head--photo .lead { max-width: 24ch; text-shadow: 0 1px 2px rgba(10, 16, 32, 0.35); }
.page-head--photo .lead { max-width: 52ch; }
.page-head--photo .page-head__bg { z-index: -1; }
.page-head--photo { background: var(--navy-deep); }
.page-head__meta { font-family: var(--font-mono); font-size: 0.78rem; color: rgba(247, 246, 242, 0.7); margin-top: 1rem; letter-spacing: 0.03em; }

/* Glyphen: §, €, % ruhig im Hintergrund */

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--paper); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.75rem, 6vw, 4.5rem); min-height: min(78vh, 760px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: -8% 0 -8%; z-index: 0; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; }
.hero__scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(16, 25, 47, 0.95) 0%, rgba(22, 34, 63, 0.88) 42%, rgba(41, 61, 103, 0.55) 72%, rgba(41, 61, 103, 0.35) 100%); }
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } }
.hero h1 { color: #fff; max-width: 27ch; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.hero .lead { color: rgba(247, 246, 242, 0.88); max-width: 60ch; }
.stars { width: 96px; height: 18px; fill: #E0A526; }
.hero__phone-line { margin-top: 1.2rem; font-size: 0.95rem; color: rgba(247, 246, 242, 0.75); }
.hero__phone-line a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }

/* Kennzahlen-Panel: Glas, Summenstrich, zählende Zahlen */
.figures {
  position: relative; background: rgba(16, 25, 47, 0.5); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.figures__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.figures__head img { height: 30px; width: auto; }
.figures__head span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 246, 242, 0.6); }
.figures .sumline { border-top-color: rgba(247, 246, 242, 0.35); margin-bottom: 1.5rem; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.5rem; margin: 0; }
.hero-stats > div { margin: 0; display: flex; flex-direction: column-reverse; }
.hero-stats dd { margin: 0; font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.hero-stats dd sup { font-size: 0.5em; color: var(--accent-light); font-family: var(--font-mono); font-weight: 500; margin-left: 2px; top: -0.6em; position: relative; }
.hero-stats dt { margin-top: 0.45rem; font-size: 0.86rem; color: rgba(247, 246, 242, 0.75); line-height: 1.4; }
.figures__foot { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(247, 246, 242, 0.16); }
/* Siegel: Digitale Kanzlei, DSGVO, GwG, KI (je ein Link auf die Erläuterung) */
.certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.certs li { margin: 0; }
.certs a { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.15rem 0 0.1rem; border-radius: var(--r); text-decoration: none; }
.certs img { height: 52px; width: auto; display: block; transition: transform 0.3s var(--ease-out); }
.certs li:first-child img { height: 46px; margin-block: 3px; }
.certs a > span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; line-height: 1.2; color: var(--accent-light); }
.certs a:hover img { transform: translateY(-3px); }
.certs a:hover > span { color: #fff; }
.figures__note { margin: 0.9rem 0 0; font-size: 0.84rem; line-height: 1.5; color: rgba(247, 246, 242, 0.8); }
.figures__note strong { color: #fff; font-weight: 700; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; padding-block: 1.4rem; align-items: center; }
@media (min-width: 820px) { .trust__inner { grid-template-columns: repeat(4, 1fr); } }
.trust__track { display: contents; }
.trust__track--clone { display: none; }
.trust__item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.88rem; line-height: 1.35; color: var(--ink-soft); text-decoration: none; }
.trust__item img { height: 44px; width: auto; flex: none; }
.trust__item svg { width: 36px; height: 36px; flex: none; color: var(--navy); }
.trust__item strong { display: block; color: var(--ink); }
.trust__item--rating:hover strong { text-decoration: underline; }
.trust__item--rating .stars { width: 88px; height: 16px; }
.rating__stars { display: inline-flex; flex: none; }

/* ---------- Grids, Karten, Kacheln ---------- */
.grid { display: grid; gap: 1.75rem; }
@media (min-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(41, 61, 103, 0) 55%, rgba(22, 34, 63, 0.35) 100%); pointer-events: none; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; gap: 0.5rem; padding: 1.4rem 1.5rem 1.6rem; }
.card__body p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.3; margin: 0; }
.card__title a { text-decoration: none; color: var(--ink); }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card:hover .card__title a { color: var(--navy); }
.card .link-more { margin-top: 0.5rem; align-self: flex-start; border-bottom: 0; }
.card__kicker { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
@media (min-width: 680px) { .grid--3 .card__title { min-height: 2.6em; } }
.nowrap { white-space: nowrap; }

.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.6rem 1.7rem; position: relative; transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease; }
.tile:has(> h3 > a):hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tile h3 { font-size: 1.1rem; }
.tile h3 a { color: var(--ink); text-decoration: none; }
.tile h3 a::after { content: ''; position: absolute; inset: 0; }
.tile:hover h3 a { color: var(--navy); }
.tile p { color: var(--ink-soft); font-size: 0.96rem; }
.tile .link-more { margin-top: 0.8rem; border-bottom: 0; position: relative; z-index: 1; }
.tile__icon { width: 48px; height: 48px; color: var(--navy); margin-bottom: 1rem; }
.tile__icon svg { width: 100%; height: 100%; display: block; }
.tile--navy { background: var(--grad-navy); border-color: transparent; color: var(--paper); }
.tile--navy h3, .tile--navy p { color: var(--paper); }
.tile--navy .link-more { color: #fff; }
.tile--navy h3 a { color: #fff; }
.tile--navy:hover h3 a { color: var(--accent-light); }
.tile--navy .tile__num { background: rgba(216, 196, 138, 0.16); color: var(--accent-light); box-shadow: inset 0 0 0 1px rgba(216, 196, 138, 0.45); }
.tile--navy:has(> h3 > a):hover { box-shadow: 0 24px 50px -22px rgba(22, 34, 63, 0.65); }
.tile__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-tint); color: var(--navy); font-family: var(--font-mono); font-weight: 500; font-size: 0.9rem; margin-bottom: 1rem; }

/* Posten-Liste (Haarlinie oben) */
.entry { border-top: 1px solid var(--line-ink); padding-top: 1.3rem; }
.entry__num { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; color: var(--navy); display: block; margin-bottom: 0.6rem; }
.entry h3 { font-size: 1.12rem; }
.entry p { font-size: 0.97rem; color: var(--ink-soft); }

/* Artikel-Karten (Ratgeber) */
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: relative; transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card__meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin: 0; }
.post-card__title { font-size: 1.15rem; margin: 0; line-height: 1.35; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ''; position: absolute; inset: 0; }
.post-more { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6rem; min-height: 320px; padding: 1.6rem 1.5rem 1.7rem; background: var(--grad-navy); color: var(--paper); border-radius: var(--r-lg); text-decoration: none; position: relative; overflow: hidden; transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease; }
.post-more::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(216, 196, 138, 0.25); pointer-events: none; }
.post-more::after { content: ''; position: absolute; right: -20px; top: -20px; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(216, 196, 138, 0.35); pointer-events: none; }
.post-more:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.post-more .eyebrow { color: var(--accent-light); margin-bottom: 0; }
.post-more__title { text-wrap: balance; }
.post-more h3, .post-more__title { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.25; color: #fff; margin: 0; }
.post-more p:not(.eyebrow):not(.post-more__title) { color: rgba(247, 246, 242, 0.8); font-size: 0.95rem; margin: 0; }
.post-more .link-more { color: #fff; border-color: rgba(255, 255, 255, 0.4); margin-top: 0.4rem; align-self: flex-start; }
.post-more:hover .link-more { color: var(--accent-light); border-color: var(--accent-light); }
article.post-card:nth-of-type(3) ~ .post-more { display: none; }
.post-card:hover .post-card__title a { color: var(--navy); }
.post-card__body p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.post-card .link-more { border-bottom: 0; align-self: flex-start; }

/* ---------- Split, Bilder ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split--media-right .split__media { order: 1; } .split--wide-text { grid-template-columns: minmax(0, 68ch) minmax(0, 1fr); } }
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.frame--hover:hover > img { transform: scale(1.04); }
.frame__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1.25rem 1rem; background: linear-gradient(180deg, rgba(22, 34, 63, 0) 0%, rgba(22, 34, 63, 0.7) 100%); color: #fff; font-size: 0.86rem; font-family: var(--font-mono); letter-spacing: 0.04em; }
.media-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.media-stack .frame { aspect-ratio: 3 / 4; }
.media-stack .frame:nth-child(2) { margin-top: 2.5rem; }

/* ---------- Listen ---------- */
.list-plus { list-style: none; margin: 0 0 1.1em; padding: 0; }
.list-plus li { position: relative; padding-left: 1.7rem; margin-bottom: 0.6rem; }
.list-plus li::before { content: '+'; position: absolute; left: 0; top: 0.02em; font-family: var(--font-mono); font-weight: 500; color: var(--navy); }
.section--navy .list-plus li::before, .cta-panel .list-plus li::before, .hero .list-plus li::before { color: var(--accent-light); }
.list-check { list-style: none; margin: 0 0 1.1em; padding: 0; }
.list-check li { position: relative; padding-left: 2.1rem; margin-bottom: 0.7rem; }
.list-check li::before { content: ''; position: absolute; left: 0; top: 0.22em; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-tint); }
.list-check li::after { content: ''; position: absolute; left: 6px; top: calc(0.22em + 6px); width: 9px; height: 5px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.list-cols { columns: 2; column-gap: 2.5rem; }
.list-cols li { break-inside: avoid; }
@media (max-width: 640px) { .list-cols { columns: 1; } }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 1px solid rgba(247, 246, 242, 0.3); padding-left: 1.3rem; }
.stat__value { font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.1rem); line-height: 1.05; color: var(--paper); font-variant-numeric: lining-nums tabular-nums; }
.stat__value sup { font-size: 0.5em; color: var(--accent-light); font-family: var(--font-mono); font-weight: 500; }
.stat__label { margin-top: 0.5rem; font-size: 0.9rem; color: rgba(247, 246, 242, 0.75); line-height: 1.45; }
.section:not(.section--navy) .stat { border-left-color: var(--line-ink); }
.section:not(.section--navy) .stat__value { color: var(--ink); }
.section:not(.section--navy) .stat__label { color: var(--stone); }

/* ---------- Schritte ---------- */
.steps { display: grid; gap: 1.5rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 0.6rem; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-family: var(--font-mono); font-weight: 500; font-size: 0.85rem; margin-bottom: 1rem; }
.step h3 { font-size: 1.08rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }
.section--navy .step { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); }
.section--navy .step::before { background: var(--accent-light); color: var(--navy-deep); }

/* ---------- Personen ---------- */
.people { display: grid; gap: 2rem; }
@media (min-width: 760px) { .people { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.person-card { display: grid; gap: 1.1rem; align-content: start; }
.person-card .frame { aspect-ratio: 16 / 10; }
.person__name { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin-bottom: 0.1em; }
.person__role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.7rem; }
.section--navy .person__role { color: var(--accent-light); }
.section--navy .person__name { color: #fff; }
.person-card p { font-size: 0.97rem; color: var(--ink-soft); }
.section--navy :is(.person-card, .entry, .step, .flow__step) p { color: rgba(247, 246, 242, 0.86); }
.section--navy .entry { border-top-color: rgba(247, 246, 242, 0.3); }
.section--navy .entry__num { color: var(--accent-light); }
.person { display: grid; gap: 2rem; }
@media (min-width: 900px) { .person { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; } }
/* Zwei Partner untereinander: deutlicher Abstand, Trennlinie mit goldenem Akzent */
.person + .person { position: relative; margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line-ink); }
.person + .person::before { content: ''; position: absolute; top: -2px; left: 0; width: 72px; height: 3px; background: var(--accent); }
.person__meta { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.2rem; }
/* QR-Code mit vCard: 57 + 8 Module, 195 px = 3 px je Modul (scharf); mobil nur der Knopf (eigenes Display scannt man nicht) */
.person__qr { width: 195px; height: 195px; flex: none; border: 1px solid var(--line); border-radius: var(--r); background: #fff; image-rendering: pixelated; }
.person__meta-text { display: grid; gap: 0.75rem; justify-items: start; }
.person__meta-caption { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--stone); max-width: 26ch; }
.person__vcard { padding: 0.6rem 1.15rem; font-size: 0.92rem; }
@media (max-width: 599px) {
  .person__qr, .person__meta-caption { display: none; }
}
.vita { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-ink); }
.vita li { display: grid; grid-template-columns: 7.5em 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.vita__years { font-family: var(--font-mono); font-size: 0.8rem; color: var(--navy); white-space: nowrap; padding-top: 0.2em; }

/* ---------- Zitate ---------- */
.quotes { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.quote { margin: 0; position: relative; display: flex; flex-direction: column; gap: 0.9rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow); transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease; }
.quote::before { content: '“'; position: absolute; right: 1.1rem; top: 0.35rem; font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: var(--accent-light); opacity: 0.6; pointer-events: none; }
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.quote .stars { width: 88px; height: 16px; }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); flex: 1; }
.quote figcaption { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--stone); padding-top: 0.9rem; border-top: 1px solid var(--line); }
.quote figcaption a { color: var(--stone); }
.quote--single { max-width: 62ch; }
.quote--single blockquote { font-size: 1.08rem; }
.quote--single .stars { width: 96px; height: 18px; }
.rating-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 2rem; margin-top: 2rem; padding: 1.4rem 1.8rem; background: var(--grad-navy); color: var(--paper); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.rating-bar::before { content: ''; position: absolute; right: -40px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(216, 196, 138, 0.2) 0%, rgba(216, 196, 138, 0) 70%); pointer-events: none; }
.rating-bar__score { display: flex; align-items: center; gap: 0.9rem; }
.rating-bar__score strong { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: #fff; font-variant-numeric: lining-nums; }
.rating-bar__score .stars { width: 110px; height: 20px; }
.rating-bar__text { margin: 0; flex: 1 1 22ch; font-size: 0.98rem; color: rgba(247, 246, 242, 0.85); }
.rating-bar__text b { color: #fff; }
.rating-bar .btn { margin-left: auto; position: relative; }

/* ---------- CTA-Panel ---------- */
.cta-panel { background: var(--grad-navy); color: var(--paper); border-radius: calc(var(--r) * 2.5); padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; display: grid; gap: 2rem; }
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; } }
.cta-panel::before { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(216, 196, 138, 0.18) 0%, rgba(216, 196, 138, 0) 70%); pointer-events: none; }
.cta-panel h2 { color: #fff; max-width: 22ch; }
.cta-panel p { color: rgba(247, 246, 242, 0.85); max-width: 58ch; }
.cta-panel__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; border-left: 1px solid rgba(247, 246, 242, 0.25); padding-left: 1.4rem; }
.cta-panel__facts li { font-size: 0.92rem; color: rgba(247, 246, 242, 0.8); line-height: 1.45; }
.cta-panel__facts strong { display: block; color: #fff; }

/* ---------- Kontakt & Formular ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; } }
.contact-details { list-style: none; margin: 1.4rem 0 0; padding: 0; border-top: 1px solid var(--line-ink); }
.contact-details li { display: grid; grid-template-columns: 5.5em 1fr; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.contact-details .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); padding-top: 0.3em; }
.contact-details a { text-decoration: none; font-weight: 700; }
.contact-details a:hover { text-decoration: underline; }
.section--navy .contact-details { border-top-color: rgba(247, 246, 242, 0.3); }
.section--navy .contact-details li { border-bottom-color: rgba(247, 246, 242, 0.16); }
.section--navy .contact-details .label { color: rgba(247, 246, 242, 0.6); }
/* Formularkarte bleibt hell, auch im dunklen Kontaktblock */
.section--navy .form-card h2, .section--navy .form-card__title { color: var(--ink); }
.section--navy .form-card p, .section--navy .form-card__sub { color: var(--ink-soft); }
.section--navy .form-card a:not(.btn) { color: var(--navy); }
.section--navy .form-card .form__note { color: var(--stone); }

.form-card { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: calc(var(--r) * 2); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); position: relative; }
.form-card::before { content: ''; display: block; border-top: 1px solid var(--line-ink); margin-bottom: 1.1rem; }
.form-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.18; letter-spacing: 0.015em; color: var(--ink); text-wrap: balance; margin: 0 0 0.3rem; }
.form-card__sub { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.form { display: grid; gap: 0.95rem; }
.form__row { display: grid; gap: 0.95rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.field .optional { font-weight: 400; color: var(--stone); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.8rem 0.95rem; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(41, 61, 103, 0.16); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--warn); }
.field textarea { min-height: 120px; resize: vertical; }
.field__error { display: none; font-size: 0.82rem; color: var(--warn); margin-top: 0.3rem; }
.field.has-error .field__error { display: block; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.84rem; color: var(--ink-soft); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--navy); flex: none; }
.consent.has-error { color: var(--warn); }
.form__note { font-size: 0.82rem; color: var(--stone); display: flex; gap: 0.45rem; align-items: center; }
.form__note svg { width: 14px; height: 14px; flex: none; }
.form__status { font-size: 0.95rem; font-weight: 700; color: var(--warn); }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.hp-feld { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.btn.is-busy { opacity: 0.7; pointer-events: none; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.15rem 0.25rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; transition: color 0.15s ease; }
.faq summary:hover { color: var(--navy-soft); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 1.25rem; color: var(--navy); flex: none; transition: transform 0.25s var(--ease-out); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0.25rem 1.3rem; color: var(--ink-soft); max-width: 70ch; font-size: 0.98rem; animation: fade-in 0.35s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Download-Liste ---------- */
.download-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-ink); }
.download-list li { border-bottom: 1px solid var(--line); }
.download-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0.5rem; text-decoration: none; color: var(--ink); font-weight: 500; transition: background 0.15s ease, color 0.15s ease, padding-left 0.2s var(--ease-out); border-radius: var(--r); }
.download-list a:hover { background: var(--white); color: var(--navy); padding-left: 0.9rem; }
.download-list .meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--stone); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.4rem; }
.download-list .meta svg { width: 16px; height: 16px; color: var(--navy); }

/* ---------- Logo-Leiste ---------- */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
/* Logos und Labels nie umfärben (DATEV-Gestaltungsrichtlinie): kein Graustufen-Filter */
.logo-row img { height: 56px; width: auto; transition: transform 0.3s var(--ease-out); }
.logo-row img:hover { transform: translateY(-2px); }
.logo-row img.logo-row__wide { height: 34px; }
.seal-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem 2rem; }
.seal-row a img { height: 120px; width: auto; transition: transform 0.3s var(--ease-out); }
.seal-row a:hover img { transform: translateY(-3px); }

/* ---------- Ledger-Diagramme ---------- */
.flow { position: relative; display: grid; gap: 1.4rem; margin-top: 2.5rem; border-left: 1px solid var(--line-ink); padding-left: 1.4rem; }
.flow__step { position: relative; }
.flow__num { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; color: var(--navy); margin-bottom: 0.5rem; }
.flow__step h3 { font-size: 1.02rem; margin-bottom: 0.35em; }
.flow__step p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
@media (min-width: 820px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 2rem; border-left: 0; padding-left: 0; }
  .flow::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-ink); }
  .flow::after { content: ''; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; background: var(--navy); transform: rotate(45deg); animation: beleg-run 7s linear infinite; animation-play-state: paused; }
  .flow.is-inview::after { animation-play-state: running; }
  .flow__step { padding-top: 1.25rem; }
}
@keyframes beleg-run { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

.pipe { display: flex; flex-direction: column; margin-top: 2.5rem; }
.pipe__node { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.05rem 1.2rem; }
.pipe__node--jb { background: var(--grad-navy); border-color: transparent; color: #fff; }
.pipe__kicker { display: block; font-family: var(--font-mono); font-size: 0.67rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.4rem; }
.pipe__node--jb .pipe__kicker { color: rgba(255, 255, 255, 0.8); }
.pipe__node strong { display: block; font-size: 0.98rem; line-height: 1.35; }
.pipe__note { display: block; font-size: 0.82rem; color: var(--stone); margin-top: 0.3rem; }
.pipe__node--jb .pipe__note { color: rgba(247, 246, 242, 0.75); }
.pipe__link { position: relative; min-height: 58px; }
.pipe__link::before { content: ''; position: absolute; left: 50%; top: 6px; bottom: 14px; width: 2px; background: repeating-linear-gradient(180deg, var(--navy) 0 6px, transparent 6px 13px); opacity: 0.5; animation: pipe-flow-y 1.1s linear infinite; }
.pipe__link::after { content: ''; position: absolute; left: 50%; bottom: 7px; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateX(-50%) rotate(45deg); opacity: 0.6; }
.pipe__link span { position: absolute; left: calc(50% + 14px); top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
@keyframes pipe-flow-y { to { background-position: 0 13px; } }
@keyframes pipe-flow-x { to { background-position: 13px 0; } }
@media (min-width: 860px) {
  .pipe { flex-direction: row; align-items: stretch; }
  .pipe__node { flex: 0 1 300px; display: flex; flex-direction: column; justify-content: center; }
  .pipe__link { flex: 1 1 auto; min-height: 0; min-width: 90px; }
  .pipe__link::before { left: 4px; right: 16px; top: 50%; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 13px); animation-name: pipe-flow-x; }
  .pipe__link::after { left: auto; right: 9px; top: 50%; bottom: auto; border: 0; border-top: 2px solid var(--navy); border-right: 2px solid var(--navy); transform: translateY(-50%) rotate(45deg); }
  .pipe__link span { left: 50%; top: 50%; transform: translate(-50%, calc(-100% - 9px)); white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 10px); line-height: 1.6; }
}

.spectrum { position: relative; margin-top: 3rem; }
.spectrum__track { position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line-ink); }
.spectrum__fill { position: absolute; inset: 0; background: var(--navy); transform: scaleY(0); transform-origin: top; transition: transform 1.5s cubic-bezier(0.6, 0, 0.2, 1) 0.2s; }
.spectrum.is-inview .spectrum__fill { transform: none; }
.spectrum__stops { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.6rem; }
.spectrum__stops li { position: relative; padding-left: 2rem; }
.spectrum__stops li::before { content: ''; position: absolute; left: 0; top: 0.25rem; width: 11px; height: 11px; background: var(--paper); border: 1px solid var(--navy); transform: rotate(45deg); transition: background 0.35s ease; transition-delay: calc(0.25s + var(--si, 0) * 0.34s); }
.spectrum.is-inview .spectrum__stops li::before { background: var(--navy); }
.spectrum__stops strong { display: block; font-size: 0.98rem; }
.spectrum__stops small { display: block; font-size: 0.85rem; color: var(--stone); line-height: 1.5; margin-top: 0.15rem; }
@media (min-width: 760px) {
  .spectrum__track { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .spectrum__fill { transform: scaleX(0); transform-origin: left; }
  .spectrum__stops { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .spectrum__stops li { padding-left: 0; padding-top: 1.7rem; padding-right: 1rem; }
  .spectrum__stops li::before { top: 0; }
}

.foundation { display: flex; flex-direction: column; align-items: center; gap: 7px; max-width: 620px; margin-top: 3rem; }
.foundation__crown { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.02em; text-align: center; width: min(72%, 340px); margin-bottom: 0.3rem; }
.foundation__crown::after { content: ''; display: block; height: 6px; margin-top: 0.75rem; border-top: 1px solid var(--line-ink); border-bottom: 3px double var(--line-ink); }
.foundation__layer { width: var(--w, 100%); display: flex; align-items: baseline; gap: 0.9rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 0.85rem 1.15rem; }
.foundation__layer--base { background: var(--grad-navy); border-color: transparent; color: #fff; }
.foundation__num { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; color: var(--navy); flex: none; }
.foundation__layer--base .foundation__num { color: rgba(255, 255, 255, 0.8); }
.foundation__layer strong { display: block; font-size: 0.96rem; }
.foundation__layer small { display: block; font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.1rem; line-height: 1.45; }
.foundation__layer--base small { color: rgba(247, 246, 242, 0.78); }
@media (max-width: 480px) { .foundation__layer { --w: 100% !important; } }
.js .foundation > * { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.6s var(--ease-soft); transition-delay: calc(var(--reveal-i, 0) * 160ms); }
.js .foundation.is-inview > * { opacity: 1; transform: none; }

/* Zwei Wege (Digitalisierung) */
.ways { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .ways { grid-template-columns: 1fr 1fr; gap: 2rem; } }

/* ---------- Prose (Artikel, Rechtstexte) ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.3rem; border-left: 3px solid var(--accent); background: var(--white); border-radius: 0 var(--r) var(--r) 0; color: var(--ink-soft); }
.prose img { border-radius: var(--r-lg); box-shadow: var(--shadow); margin: 1.5rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 1.5rem 0; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); font-weight: 500; }
.prose--article { font-size: 1.08rem; }
.prose--article > p:first-of-type { font-size: 1.15rem; color: var(--ink-soft); }
.prose .notice, .notice { margin: 2rem 0; padding: 1.2rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); font-size: 0.98rem; }
.notice strong { color: var(--ink); }
.article-layout { display: grid; gap: 3rem; padding-block: var(--section-y); }
@media (min-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; } .article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 1.25rem; }
.aside-card h2 { font-size: 1.25rem; }
.aside-card p { font-size: 0.95rem; color: var(--ink-soft); }
.aside-card--navy { background: var(--grad-navy); border-color: transparent; color: var(--paper); }
.aside-card--navy h2 { color: #fff; }
.aside-card--navy p { color: rgba(247, 246, 242, 0.85); }
.aside-card__phone { display: block; text-align: center; margin-top: 0.9rem; color: #fff; font-weight: 700; text-decoration: none; }
.article-aside__note { font-size: 0.8rem; color: var(--stone); }

/* ---------- Stellen ---------- */
.job-card { display: grid; gap: 0.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; position: relative; transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.job-card h3 { margin: 0; font-size: 1.15rem; }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a::after { content: ''; position: absolute; inset: 0; }
.job-card:hover h3 a { color: var(--navy); }
.job-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.job-card__tags span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--navy-tint); color: var(--navy); padding: 0.25rem 0.6rem; border-radius: var(--r-pill); }
.job-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(247, 246, 242, 0.78); font-size: 0.92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.site-footer__brand, .site-footer__contact-col { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 2.5rem 3rem; }
  .site-footer__brand, .site-footer__contact-col { grid-column: auto; }
}
.site-footer__brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 38ch; }
.site-footer__rating a { display: inline-flex; align-items: center; gap: 0.6rem; color: rgba(247, 246, 242, 0.85); text-decoration: none; font-size: 0.88rem; }
.site-footer__rating b { color: #fff; }
.site-footer__rating .stars { width: 88px; height: 16px; }
.site-footer h2, .site-footer__title { line-height: 1.18; margin-top: 0; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(247, 246, 242, 0.55); margin-bottom: 0.9rem; }
.site-footer__toggle { all: unset; display: flex; align-items: center; justify-content: space-between; width: 100%; cursor: default; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
.site-footer__toggle svg { display: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.25s var(--ease-out); }
/* Mobil: Linkgruppen aufklappbar, Kontakt zuerst, Beschreibungstext ausgeblendet */
@media (max-width: 899px) {
  .site-footer__grid { gap: 0; }
  .site-footer__brand { order: 0; padding-bottom: 1.5rem; }
  .site-footer__brand > p:first-of-type { display: none; }
  .site-footer__contact-col { order: 1; padding: 1.5rem 0 1.75rem; border-top: 1px solid rgba(247, 246, 242, 0.16); }
  .site-footer__nav { order: 2; grid-column: 1 / -1; border-top: 1px solid rgba(247, 246, 242, 0.16); }
  .site-footer__nav:last-of-type { border-bottom: 1px solid rgba(247, 246, 242, 0.16); }
  .site-footer__nav h2, .site-footer__nav .site-footer__title { margin: 0; }
  .site-footer__toggle { cursor: pointer; padding: 1rem 0; font-size: 0.78rem; color: rgba(247, 246, 242, 0.85); }
  .site-footer__toggle svg { display: block; }
  .site-footer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .js .site-footer__nav ul { display: none; padding-bottom: 1rem; }
  .js .site-footer__nav.is-open ul { display: block; }
  .site-footer__nav li { margin-bottom: 0.55rem; }
  .site-footer ul.site-footer__seals { margin-top: 1.1rem; padding-top: 1.1rem; }
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: rgba(247, 246, 242, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { line-height: 1.6; margin-bottom: 0.7rem; }
.site-footer__contact li { margin-bottom: 0.3rem; }
.site-footer__cta { margin-top: 1rem; font-size: 0.9rem; padding: 0.65rem 1.2rem; }
.site-footer .btn--light { color: var(--navy-deep); }
.site-footer .btn--light:hover { color: var(--navy); text-decoration: none; }
/* Siegel in einer Reihe unter der Marke */
.site-footer ul.site-footer__seals { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.1rem; margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(247, 246, 242, 0.16); }
.site-footer__seals li { margin: 0; }
.site-footer__seals img { height: 58px; width: auto; display: block; transition: transform 0.3s var(--ease-out); }
.site-footer__seals a:hover img { transform: translateY(-3px); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; align-items: center; justify-content: space-between; padding-block: 1.3rem; border-top: 1px solid rgba(247, 246, 242, 0.16); font-size: 0.82rem; color: rgba(247, 246, 242, 0.55); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__bottom li { margin: 0; }

/* ---------- Sticky-Bar (Mobil) ---------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(247, 246, 242, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.3s var(--ease-out); }
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar .btn { padding: 0.85rem 0.9rem; font-size: 0.95rem; white-space: nowrap; }
.sticky-bar__phone { width: 50px; padding-inline: 0 !important; justify-content: center; }
.sticky-bar__phone svg { width: 20px; height: 20px; }
.sticky-bar__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 960px) { .sticky-bar { display: none; } }

/* ---------- Consent-Banner ----------
   Flache Leiste über die volle Breite am unteren Rand; dahinter legt sich ein Navy-Schleier über die Seite,
   bis eine Entscheidung fällt (die Seite ist dann per inert gesperrt, main.js). Auf Datenschutzerklärung und
   Impressum erscheint nur die Leiste (.cookie--inline). Beide Entscheidungen gleich gestaltet. */
.cookie { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__backdrop { position: absolute; inset: 0; background: rgba(22, 34, 63, 0.55); pointer-events: auto; animation: consent-fade 0.35s ease both; }
.cookie--inline .cookie__backdrop { display: none; }
.cookie__bar { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; pointer-events: auto;
  background: var(--paper); border-top: 1px solid var(--line-ink); box-shadow: 0 -18px 40px -28px rgba(16, 25, 47, 0.55);
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom)); animation: consent-up 0.45s var(--ease-out) both; }
/* Gleiche Breite wie der Header, damit die Leiste den Platz nutzt und bündig abschließt */
.cookie__inner { display: grid; gap: 0.9rem 3rem; align-items: center; }
@media (min-width: 900px) { .cookie__inner { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 1360px) { .cookie__inner { max-width: 1320px; } }
@media (min-width: 1680px) { .cookie__inner { max-width: 1440px; } }
.cookie__title { margin: 0 0 0.25rem; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: 0.015em; line-height: 1.25; color: var(--ink); }
.cookie__title:focus { outline: none; }
.cookie__text { margin: 0; font-size: 0.88rem; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.cookie__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1.2rem; margin-top: 0.35rem; font-size: 0.8rem; }
.cookie__meta > a { color: var(--stone); }
.cookie__meta > a:hover { color: var(--navy); }
.cookie__details { color: var(--ink-soft); }
.cookie__details[open] { flex-basis: 100%; }
.cookie__details summary { display: inline-flex; gap: 0.3rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cookie__details summary::-webkit-details-marker { display: none; }
.cookie__details summary::after { content: '+'; font-family: var(--font-mono); text-decoration: none; }
.cookie__details[open] summary::after { content: '–'; }
.cookie__details dl { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 0.3rem 0.9rem; margin: 0.6rem 0 0; padding-top: 0.6rem; border-top: 1px solid var(--line); max-width: 110ch; }
.cookie__details dt { font-weight: 700; color: var(--ink); }
.cookie__details dd { margin: 0; }
/* Einstellungen: ein Schalter je Zweck (Notwendig fest an) */
.cookie__choices { display: grid; gap: 0.6rem; margin-top: 0.7rem; max-width: 110ch; }
@media (min-width: 760px) { .cookie__choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cookie__choice { padding: 0.75rem 0.9rem 0.8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.cookie__choice p { margin: 0.35rem 0 0; font-size: 0.78rem; line-height: 1.45; }
.cookie__switch { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; color: var(--ink); font-size: 0.88rem; }
.cookie__switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cookie__toggle { position: relative; flex: none; width: 36px; height: 20px; border-radius: 999px; background: #C9CCD6; transition: background 0.2s ease; }
.cookie__toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s var(--ease-out); }
.cookie__switch input:checked + .cookie__toggle { background: var(--navy); }
.cookie__switch input:checked + .cookie__toggle::after { transform: translateX(16px); }
.cookie__switch input:disabled + .cookie__toggle { background: var(--stone); opacity: 0.55; }
.cookie__switch:has(input:disabled) { cursor: default; }
.cookie__switch input:focus-visible + .cookie__toggle { outline: 2px solid var(--navy); outline-offset: 2px; }
.cookie__save { margin-top: 0.8rem; padding: 0.55rem 1.2rem; font-size: 0.86rem; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.cookie__btn { padding: 0.7rem 1.4rem; font-size: 0.92rem; min-width: 9.5rem; }
html.cookie-open { overflow: hidden; }
body:has(.cookie:not([hidden])) .sticky-bar { transform: translateY(110%); }
@keyframes consent-fade { from { opacity: 0; } to { opacity: 1; } }
/* Nur leicht versetzt starten: auch wenn Animationen pausieren, bleibt die Leiste sichtbar und bedienbar */
@keyframes consent-up { from { transform: translateY(24px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie__backdrop, .cookie__bar { animation: none; } }
@media (max-width: 639px) {
  .cookie__bar { padding: 1.1rem 0 calc(1rem + env(safe-area-inset-bottom)); }
  .cookie__title { font-size: 1.05rem; }
  .cookie__text { font-size: 0.86rem; line-height: 1.5; }
  .cookie__details dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .cookie__details dt { margin-top: 0.4rem; }
  .cookie__btn { min-width: 0; padding-inline: 0.8rem; }
}
.link-button { all: unset; cursor: pointer; color: inherit; text-decoration: none; }
.link-button:hover, .link-button:focus-visible { text-decoration: underline; color: #fff; }
.link-button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* ---------- Danke / 404 ---------- */
.thanks__check { width: 64px; height: 64px; border-radius: 50%; background: rgba(46, 107, 79, 0.1); color: var(--ok); display: grid; place-items: center; margin-bottom: 1.5rem; }
.thanks__check svg { width: 32px; height: 32px; }
.thanks__box { margin-top: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); }
.thanks__box h2 { font-size: 1.3rem; }
.thanks__box ol { padding-left: 1.3rem; color: var(--ink-soft); }
.thanks__box li { margin-bottom: 0.5rem; }
.big-num { font-family: var(--font-mono); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--navy-tint); font-weight: 500; margin-bottom: 1rem; }

/* ---------- Scroll-Choreografie ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.75s var(--ease-soft); transition-delay: calc(var(--reveal-i, 0) * 90ms); }
.js [data-reveal].is-inview { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-24px); }
.js [data-reveal="right"] { transform: translateX(24px); }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js.reveal-all [data-reveal] { opacity: 1; transform: none; }
.count { font-variant-numeric: lining-nums tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .foundation > * { opacity: 1 !important; transform: none !important; }
  .flow::after { display: none; }
  .spectrum__fill { transform: none; }
  .spectrum__stops li::before { background: var(--navy); }
}

/* ---------- Bildband (Auflockerung zwischen Textsektionen) ---------- */
.photo-band { display: grid; gap: 1rem; margin-top: 3rem; }
.photo-band .frame { aspect-ratio: 16 / 10; }
.photo-band__main { grid-row: span 2; }
.photo-band__main.frame { aspect-ratio: 4 / 3; }
@media (min-width: 760px) {
  .photo-band { grid-template-columns: 1.6fr 1fr; gap: 1.25rem; }
  .photo-band .frame { aspect-ratio: 16 / 9; }
  .photo-band__main.frame { aspect-ratio: auto; height: 100%; }
}

/* ---------- Nutzen-Sektion (Digitale Buchführung) ---------- */
.benefits { display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .benefits { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.benefit { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-lg); padding: 1.5rem 1.4rem 1.6rem; position: relative; overflow: hidden; }
.benefit::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent-light); opacity: 0.9; }
.benefit__num { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--accent-light); margin-bottom: 0.9rem; }
.benefit h3 { font-size: 1.08rem; color: #fff; margin-bottom: 0.4em; }
.benefit p { font-size: 0.93rem; margin: 0; color: rgba(247, 246, 242, 0.8); }
.datev-box { display: grid; gap: 1.5rem; margin-top: 3rem; padding: clamp(1.5rem, 3vw, 2.4rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (min-width: 820px) { .datev-box { grid-template-columns: auto 1fr; gap: 2.5rem; align-items: start; } }
.datev-box__seals { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.datev-box__seals img { height: 72px; width: auto; }
.datev-box__seals .datev-label img { height: 120px; }
.datev-box__seals figure { margin: 0; display: grid; justify-items: center; gap: 0.5rem; }
.datev-box__seals figcaption { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); text-align: center; max-width: 12ch; line-height: 1.35; }
.datev-box h2 { font-size: 1.5rem; }
.datev-box p:last-child { margin-bottom: 0; }
@media (min-width: 820px) { .datev-box__seals { flex-direction: column; align-items: flex-start; padding-right: 2.5rem; border-right: 1px solid var(--line); } .datev-box__seals img { height: 84px; } .datev-box__seals .datev-label img { height: 130px; } }

/* ---------- Karriere-Sektion (Startseite) und Bewerbungs-Leiste ---------- */
.career { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .career { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.career__media { position: relative; padding-bottom: 2.2rem; padding-right: 1.5rem; }
.career__media .frame { aspect-ratio: 16 / 11; }
.career__badge { position: absolute; right: 0; bottom: 0; display: grid; gap: 0.15rem; padding: 1.1rem 1.3rem 1.2rem; background: var(--grad-navy); color: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lift); max-width: 220px; }
.career__badge strong { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1; color: #fff; }
.career__badge span { font-size: 0.84rem; color: rgba(247, 246, 242, 0.8); }
.career__badge small { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.35rem; }
.perks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-ink); }
.perks li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.6rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.perks li span:first-child { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--navy); }
.perks li strong { font-weight: 700; color: var(--ink); }
.perks li span:last-child { color: var(--ink-soft); font-size: 0.96rem; }
.jobs-inline { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.jobs-inline a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; border: 1px solid var(--line-ink); border-radius: var(--r-pill); font-size: 0.9rem; color: var(--ink); text-decoration: none; background: var(--white); transition: border-color 0.15s ease, color 0.15s ease; }
.jobs-inline a::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.jobs-inline a:hover { border-color: var(--navy); color: var(--navy); }
.cta-strip { display: grid; gap: 1.2rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.6rem); background: var(--grad-navy); color: var(--paper); border-radius: var(--r-lg); position: relative; overflow: hidden; }
@media (min-width: 860px) { .cta-strip { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.cta-strip::before { content: ''; position: absolute; right: -40px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(216, 196, 138, 0.2) 0%, rgba(216, 196, 138, 0) 70%); pointer-events: none; }
.cta-strip__title { font-family: var(--font-body); font-weight: 700; line-height: 1.3; text-wrap: balance; margin-top: 0; }
.cta-strip h2, .cta-strip h3, .cta-strip__title { color: #fff; font-size: 1.45rem; margin-bottom: 0.3em; }
.cta-strip p:not(.cta-strip__title) { color: rgba(247, 246, 242, 0.85); margin: 0; max-width: 60ch; }
.cta-strip .btn-row { margin-top: 0; position: relative; }
.cta-strip .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.cta-strip .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Utilities ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: var(--stone); }
@media print {
  .site-header, .site-footer, .sticky-bar, .cookie, .section--cta, .article-aside, .breadcrumbs { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Erweiterung November 2026
   ========================================================================== */

/* ---------- DATEV-Label (Gestaltungsrichtlinie 2026) ----------
   Mindesthöhe 115 px, Schutzraum ¼ Labelhöhe, neben fremden Logos eine ganze
   Labelhöhe Abstand, nicht auf Fotos, keine Filter, keine Drehung. */
.datev-label { display: inline-block; flex: none; line-height: 0; }
.datev-label img { height: 130px; width: auto; transition: transform 0.35s var(--ease-out); }
.datev-label:hover img { transform: translateY(-3px); }
.award-split { display: grid; gap: 130px; align-items: center; }
@media (min-width: 900px) { .award-split { grid-template-columns: auto 1fr; gap: 3rem 130px; } }
.award { margin: 0; display: grid; justify-items: start; gap: 1.6rem; max-width: 30ch; }
.award figcaption { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }
.award figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--ink); margin-bottom: 0.2rem; }
.award figcaption a { display: inline-block; margin-top: 0.4rem; font-weight: 700; }

/* ---------- Label-Historie „Digitale Kanzlei 2019–2026“ ----------
   Labels erscheinen beim Scrollen der Reihe nach (--p = Fortschritt 0…1,
   per JS gesetzt; ohne JS bleibt --p = 1 und alles ist sichtbar). */
.labels { --p: 1; --mx: 70%; --my: 40%; position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 2.25rem; align-items: center; margin-top: clamp(2.75rem, 6vw, 4.5rem); padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: calc(var(--r) * 2.5); background: var(--grad-navy); color: var(--paper); box-shadow: var(--shadow-lift); }
@media (min-width: 1040px) { .labels { grid-template-columns: minmax(250px, 0.75fr) 1.6fr; gap: 3rem; } }
.labels::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(120, 190, 230, 0.13), transparent 60%); transition: opacity 0.4s ease; }
.labels__circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; color: #8EC3DD; opacity: 0.16; pointer-events: none; }
.labels__circuit path { stroke-dasharray: 5 9; animation: circuit-flow 16s linear infinite; }
.labels__circuit path:nth-child(2n) { animation-duration: 24s; animation-direction: reverse; }
.labels__nodes circle { transform-box: fill-box; transform-origin: center; animation: node-pulse 4.5s ease-in-out infinite; }
.labels__nodes circle:nth-child(3n) { animation-delay: -1.5s; }
.labels__nodes circle:nth-child(3n + 1) { animation-delay: -3s; }
@keyframes circuit-flow { to { stroke-dashoffset: -280; } }
@keyframes node-pulse { 0%, 100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }
.labels .eyebrow { color: rgba(255, 255, 255, 0.82); }
.labels__title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.2; color: #fff; margin: 0 0 1.1rem; text-wrap: balance; }
.labels__count { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; }
.labels__year { font-family: var(--font-mono); font-weight: 500; font-size: clamp(2.3rem, 4.2vw, 3.1rem); line-height: 1; color: var(--accent-light); font-variant-numeric: tabular-nums; min-width: 4ch; }
.labels__count span:last-child { font-size: 0.92rem; line-height: 1.4; color: rgba(247, 246, 242, 0.82); max-width: 24ch; }
.labels__text { font-size: 0.95rem; color: rgba(247, 246, 242, 0.76); max-width: 46ch; margin: 0; }
.labels__note { grid-column: 1 / -1; margin: 0; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247, 246, 242, 0.5); text-align: right; }
.labels__stage { container: labels / inline-size; min-width: 0; }
.labels__row { --big: clamp(115px, calc(100cqi / 3.7), 200px); --h: calc(var(--big) * 0.5); --step: calc(var(--big) * 0.27); --rise: calc(var(--big) * 0.07); display: flex; align-items: flex-end; justify-content: flex-end; gap: calc(var(--big) * 0.32); padding-top: 1rem; }
.labels__stair { list-style: none; margin: 0; padding: 0; position: relative; flex: none; width: calc(var(--h) * 1.06 + 6 * var(--step)); height: calc(var(--h) + 6 * var(--rise) + 14px); }
.labels__stair li { --q: clamp(0, (var(--p) - var(--i) * 0.09) * 4, 1); position: absolute; left: calc(var(--i) * var(--step)); bottom: calc(var(--i) * var(--rise)); width: calc(var(--h) * 1.06); z-index: calc(var(--i) + 1); opacity: var(--q); translate: 0 calc((1 - var(--q)) * 28px); scale: calc(0.82 + var(--q) * 0.18); transform-origin: 50% 100%; transition: transform 0.35s var(--ease-out), opacity 0.2s linear, translate 0.2s linear, scale 0.2s linear; }
.labels__stair img { width: 100%; height: auto; filter: drop-shadow(0 10px 16px rgba(4, 9, 24, 0.4)); }
.labels__stair li:hover { transform: translateY(-16px); z-index: 20; }
.labels__current { --q: clamp(0, (var(--p) - 0.64) * 3.2, 1); flex: none; width: calc(var(--big) * 1.064); opacity: var(--q); translate: 0 calc((1 - var(--q)) * 36px); scale: calc(0.9 + var(--q) * 0.1); transform-origin: 50% 100%; transition: opacity 0.2s linear, translate 0.2s linear, scale 0.2s linear; }
.labels__current img { width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgba(4, 9, 24, 0.5)); transition: transform 0.4s var(--ease-out); }
.labels__current:hover img { transform: translateY(-6px); }
@container labels (max-width: 560px) {
  .labels__row { --big: 130px; --h: clamp(56px, calc((100cqi - 20px) / 4.4), 92px); --step: calc(var(--h) * 0.56); --rise: calc(var(--h) * 0.12); flex-direction: column-reverse; align-items: center; gap: 2.5rem; }
}
@media (max-width: 1039px) { .labels__note { text-align: left; } }

/* ---------- Bewegung: dezente Scroll- und Hover-Effekte ---------- */
/* Bilder: leichter Zoom beim Erscheinen + Parallaxe (--py per JS) */
.js [data-parallax] > img { scale: 1.08; translate: 0 var(--py, 0px); transition: transform 0.8s var(--ease-out), scale 1.6s var(--ease-out); }
.js [data-reveal]:not(.is-inview) [data-parallax] > img, .js [data-parallax][data-reveal]:not(.is-inview) > img { scale: 1.16; }
/* Seitenköpfe mit Foto: Hintergrund läuft langsamer mit */
.js .page-head--photo .page-head__bg { inset: -12% 0; translate: 0 var(--py, 0px); will-change: translate; }
/* Eyebrow-Linie zeichnet sich beim Erscheinen */
.eyebrow::before { transition: width 0.9s var(--ease-out) 0.2s; }
.js [data-reveal]:not(.is-inview) .eyebrow::before { width: 0; }
/* Schritte: Linie auf Nummernhöhe innerhalb jeder Karte, wächst von links (kreuzt keine Kartenränder) */
@media (min-width: 820px) {
  .step::after { content: ''; position: absolute; left: calc(1.6rem + 36px + 0.9rem); right: 1.6rem; top: calc(1.6rem + 18px); height: 1px; background: var(--line-ink); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-soft) calc(var(--reveal-i, 0) * 120ms + 0.25s); }
  .steps.is-inview .step::after, .reveal-all .steps .step::after { transform: none; }
  .section--navy .step::after { background: rgba(247, 246, 242, 0.3); }
}
/* Kennzahlen: Trennlinie wächst von oben */
.js .stat { border-left-color: transparent; position: relative; }
.js .stat::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: rgba(247, 246, 242, 0.3); transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease-out) calc(var(--reveal-i, 0) * 90ms + 0.15s); }
.js .section:not(.section--navy) .stat::before { background: var(--line-ink); }
.js .stat.is-inview::before, .reveal-all .stat::before { transform: none; }
/* Lichtkegel folgt der Maus auf Karten (nur Geräte mit Maus) */
.has-spot :is(.tile, .card, .step, .job-card, .post-card, .pipe__node, .aside-card, .quote--single, .datev-box):hover { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(41, 61, 103, 0.075), transparent 60%); }
.has-spot :is(.benefit, .tile--navy, .pipe__node--jb, .section--navy .step, .aside-card--navy):hover { background-image: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(216, 196, 138, 0.14), transparent 60%); }
/* Navy-Flächen mit Verlauf: Lichtpunkt über den Verlauf legen, sonst ersetzt er ihn (Kachel wurde weiß, Text unsichtbar) */
.has-spot :is(.tile.tile--navy, .pipe__node.pipe__node--jb, .aside-card.aside-card--navy):hover { background-image: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(216, 196, 138, 0.18), transparent 60%), var(--grad-navy); }

@media (prefers-reduced-motion: reduce) {
  .labels__stair li, .labels__current { opacity: 1 !important; translate: none !important; scale: none !important; }
  .js [data-parallax] > img { scale: 1; translate: none; }
  .js .page-head--photo .page-head__bg { inset: 0; translate: none; }
  .eyebrow::before { width: 26px !important; }
  .step::after, .js .stat::before { transform: none !important; }
}
@media print { .labels__stair li, .labels__current { opacity: 1 !important; translate: none !important; scale: none !important; } }
.js.reveal-all [data-reveal] .eyebrow::before { width: 26px; }
.js.reveal-all [data-reveal] [data-parallax] > img, .js.reveal-all [data-parallax][data-reveal] > img { scale: 1.08; }
.cta-panel__alt { margin: 1.1rem 0 0; font-size: 0.92rem; color: rgba(247, 246, 242, 0.75); text-wrap: balance; }
.cta-panel__alt a { color: #fff; font-weight: 700; white-space: nowrap; }
.logo-row img.logo-row__tall { height: 44px; }

/* Autorenbox unter Ratgeber-Artikeln (E-E-A-T: wer schreibt, mit Qualifikation) */
.page-head__meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.author-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.25rem; align-items: start; margin-top: 3rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.prose .author-box p { margin: 0; }
.author-box__label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
.prose .author-box .author-box__name { font-size: 1.2rem; margin-top: 0.2rem; }
.author-box__name a { color: var(--ink); text-decoration: none; }
.author-box__name a:hover { text-decoration: underline; }
.author-box__role { font-size: 0.92rem; color: var(--ink-soft); }
.prose .author-box .author-box__bio { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.6rem; }
@media (max-width: 520px) { .author-box { grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; } .author-box img { width: 64px; height: 64px; } }

/* ==========================================================================
   Mobile-Feinschliff (November 2026)
   ========================================================================== */
/* Header: Logo mobil größer */
@media (max-width: 959px) {
  .site-header__inner { min-height: 64px; }
  .site-header__logo img, .site-header.is-scrolled .site-header__logo img { height: 42px; transition: none; }
  .site-header:has(.site-nav.is-open) { transform: none !important; }
  .site-nav.is-open { height: calc(100dvh - 64px); max-height: none; display: flex; flex-direction: column; padding-bottom: 0; }
  .site-nav.is-open .nav-list, .site-nav.is-open .site-nav__mobile-extra { flex: none; }
  /* Abschluss des Menüs: Navy-Block füllt den Rest, Seite scheint nicht mehr durch */
  .site-nav__foot { display: block; margin-top: auto; padding: 1.4rem var(--gutter) calc(1.4rem + env(safe-area-inset-bottom)); background: var(--grad-navy); color: rgba(247, 246, 242, 0.8); }
  .site-nav__claim { margin: 0 0 0.5rem; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; color: #fff; }
  .site-nav__meta { margin: 0 0 0.8rem; font-size: 0.84rem; }
  .site-nav__rating { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.84rem; color: rgba(247, 246, 242, 0.85); text-decoration: none; }
  .site-nav__rating b { color: #fff; }
  .site-nav__rating .stars { width: 80px; height: 15px; }
  /* Sticky-Leiste bei offenem Menü aus */
  body:has(.site-nav.is-open) .sticky-bar { transform: translateY(110%); }
  /* Mobile Navigation: kompaktes Akkordeon */
  .nav-list { padding: 0.25rem var(--gutter) 0.5rem; }
  .nav-link { padding: 0.9rem 0.5rem; font-size: 1.05rem; border-radius: var(--r); margin-inline: -0.5rem; width: calc(100% + 1rem); }
  .nav-link svg { width: 18px; height: 18px; color: var(--navy); }
  .nav-item--has-panel.is-open > .nav-link { color: var(--navy); font-weight: 700; }
  .nav-panel { padding: 0 0 0.9rem 0.25rem; }
  .nav-col { border-left: 2px solid var(--navy-tint); padding-left: 0.9rem; margin-bottom: 0.35rem; }
  .nav-col__title { margin: 0.55rem 0 0.15rem; font-size: 0.62rem; }
  .nav-col a { padding: 0.42rem 0.25rem; font-size: 0.98rem; }
  .nav-col a span { display: none; }
  .nav-link:active, .nav-col a:active { background: var(--navy); color: #fff; transition: none; }
  .nav-col a:active strong { color: #fff; }
}
/* Hero und Telefonzeile */
.hero__hours { white-space: nowrap; }
@media (max-width: 639px) {
  body { font-size: 1rem; }
  :root { --section-y: clamp(2.75rem, 8vw, 6.5rem); }
  h1 { font-size: clamp(1.65rem, 4.4vw, 3rem); line-height: 1.15; }
  h2 { font-size: clamp(1.35rem, 3vw, 2.1rem); }
  .lead { font-size: 1.02rem; line-height: 1.55; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; margin-bottom: 0.9rem; }
  .sec-head { margin-bottom: 1.75rem; }
  .hero { min-height: 0; padding-top: 2.25rem; padding-bottom: 2.25rem; }
  .hero h1 { font-size: 1.65rem; max-width: none; }
  .hero .lead { font-size: 1rem; }
  .hero .btn-row { margin-top: 1.3rem; gap: 0.6rem; }
  .hero__phone-line { margin-top: 1rem; font-size: 0.92rem; line-height: 1.5; }
  .hero__hours { display: block; }
  .hero__sep { display: none; }
  .hero__grid { gap: 1.75rem; }
  /* Kennzahlen-Panel: Zahlen auf einer Linie, Beschriftungen gleich hoch */
  .figures { padding: 1.25rem 1.2rem 1.1rem; border-radius: 16px; }
  .figures__head { margin-bottom: 1rem; }
  .figures__head img { height: 24px; }
  .figures__head span { font-size: 0.6rem; letter-spacing: 0.12em; white-space: nowrap; }
  .figures .sumline { margin-bottom: 1.1rem; }
  .hero-stats { gap: 1.1rem 1rem; }
  .hero-stats > div { justify-content: flex-end; }
  .hero-stats dd { font-size: 2.1rem; }
  .hero-stats dt { font-size: 0.78rem; line-height: 1.35; min-height: 2.7em; margin-top: 0.35rem; hyphens: auto; }
  .figures__foot { margin-top: 1.1rem; padding-top: 1rem; }
  .certs img { height: 46px; }
  .certs li:first-child img { height: 40px; }
  .figures__note { font-size: 0.8rem; }
  /* Buttons mobil in voller Breite */
  .btn-row > .btn { width: 100%; justify-content: center; }
  .btn-row__note { text-align: center; width: 100%; }
  /* Karten, Schritte, Zitate kompakter */
  .card__media { aspect-ratio: 16 / 10; }
  .card__body { padding: 1.2rem 1.25rem 1.4rem; gap: 0.4rem; }
  .card__body p { font-size: 0.95rem; }
  .card__title { font-size: 1.15rem; }
  .frame__caption { font-size: 0.74rem; padding: 1.2rem 1rem 0.8rem; letter-spacing: 0.02em; }
  .step { padding: 1.3rem 1.25rem; }
  .step p { font-size: 0.93rem; }
  .quote { padding: 1.3rem 1.25rem 1.2rem; gap: 0.7rem; }
  .quote blockquote { font-size: 0.98rem; }
  .rating-bar { padding: 1.25rem 1.25rem 1.35rem; gap: 0.9rem; }
  .rating-bar .btn { width: 100%; margin-left: 0; justify-content: center; }
  .rating-bar__text { flex-basis: 100%; font-size: 0.94rem; }
  .person__role { font-size: 0.68rem; letter-spacing: 0.1em; }
  .person-card p, .perks li span:last-child { font-size: 0.95rem; }
  .labels__title { font-size: 1.35rem; }
  .labels__text { font-size: 0.95rem; }
  .cta-panel__facts li { font-size: 0.9rem; }
  .post-more { min-height: 220px; }
  .site-footer__brand p { font-size: 0.95rem; }
}
/* Trust-Leiste: mobil wischbares Band, das von selbst ruhig weiterläuft (main.js: initTrust) */
@media (max-width: 759px) {
  .trust__inner { display: flex; gap: 0; overflow-x: auto; overflow-y: hidden; padding-block: 1.15rem; padding-inline: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .trust__inner::-webkit-scrollbar { display: none; }
  .trust__track, .trust__track--clone { display: flex; flex: none; align-items: center; }
  .trust__item { flex: none; width: min(78vw, 300px); padding-inline: 1.15rem; border-right: 1px solid var(--line); font-size: 0.88rem; gap: 0.8rem; }
  .trust__item img { height: 42px; }
  .trust__item svg { width: 34px; height: 34px; }
  .trust__item--rating .stars { width: 84px; height: 15px; }
  /* Karriere: Stellen-Pills in voller Breite */
  .jobs-inline a { width: 100%; }
  .site-footer__cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .trust__track--clone { display: none; } }

/* Footer mobil: Fußzeile ohne zweite Linie, direkt unter den Gruppen */
@media (max-width: 899px) {
  .site-footer__grid { padding-bottom: 0; }
  .site-footer__bottom { padding: 1rem 0 1.4rem; border-top: 0; gap: 0.45rem 1.25rem; font-size: 0.8rem; }
  .site-footer__bottom p { margin: 0; }
}

/* ==========================================================================
   Design-Review November 2026, Block A: globale Regeln
   ========================================================================== */
/* A1: lange Wörter in Überschriften nie über den Rand */
/* Trajan Pro 3 zeichnet U+2010 (Standard-Trennzeichen) als Doppelstrich, daher normales Minus */
body { -webkit-hyphenate-character: '-'; hyphenate-character: '-'; }
h1, h2, h3 { overflow-wrap: break-word; }
/* A3: Zitatkarte, Quelle links, Link rechts bzw. darunter */
.quote--single figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1rem; text-wrap: balance; }
.quote--single figcaption a { white-space: nowrap; }
/* A5 */
/* A7: FAQ in voller Containerbreite, Text bleibt lesbar schmal */
.container:not(.container--mid):not(.container--narrow) > .faq { max-width: 860px; }
/* A9: Kacheln im Raster gleich aufgebaut, Abschlusslink unten */
.grid > .tile { display: flex; flex-direction: column; }
.grid > .tile > .link-more:last-child, .grid > .tile > p:last-child:has(> .link-more) { margin-top: auto; padding-top: 0.8rem; align-self: flex-start; }
/* A11: sehr lange URLs dürfen umbrechen */
.prose a { overflow-wrap: anywhere; }
@media (max-width: 639px) {
  /* A1 */
  /* Überschriften nur an weichen Trennstellen (&shy;) trennen; balance + auto-Trennung trennt sonst unnötig */
  h1, h2, h3 { overflow-wrap: anywhere; }
  .page-head h1, .page-head--photo h1 { font-size: clamp(1.5rem, 7vw, 1.75rem); max-width: none; }
  /* A2: Prosa-Überschriften mobil kleiner */
  .prose { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
  .prose :is(h2, h3) { -webkit-hyphens: manual; hyphens: manual; }
  .prose h2 { font-size: 1.25rem; margin-top: 2em; }
  .prose h3 { font-size: 1.05rem; }
  /* A4: Breadcrumbs einzeilig und wischbar, Verlauf am rechten Rand */
  .breadcrumbs ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; font-size: 0.7rem; letter-spacing: 0.02em; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 1.5rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 1.5rem), transparent); }
  .breadcrumbs ol::-webkit-scrollbar { display: none; }
  .breadcrumbs ol::after { content: ''; flex: none; width: 1.5rem; }
  .breadcrumbs li { flex: none; }
}

/* ==========================================================================
   Design-Review November 2026, Block F (Sichtprüfung nach Block A)
   ========================================================================== */
/* Ratgeber-Karten: Meta-Zeile klein und ohne Flex-Wachstum (wurde von .post-card__body p überschrieben) */
.post-card__body .post-card__meta { font-size: 0.72rem; flex: none; color: var(--stone); }
/* CTA-Panel: Link zum Fragebogen bleibt zusammen */
/* Ratgeber-Seitenleiste: Eyebrow nicht von .aside-card p vergrößern lassen */
.aside-card .eyebrow { font-size: 0.74rem; color: var(--navy); }
.aside-card--navy .eyebrow { color: rgba(255, 255, 255, 0.85); }
/* Artikel mobil: Navy-Karte der Seitenleiste entfällt, das CTA-Panel folgt direkt */
@media (max-width: 959px) { .article-aside .aside-card--navy { display: none; } }
@media (max-width: 639px) {
  /* Siegel-Reihe: drei Siegel nebeneinander statt 2 + 1 */
  .seal-row { gap: 1rem 1.25rem; }
  .seal-row a img { height: 100px !important; }
}
/* Seitenkopf ohne Foto: Überschrift darf breiter laufen (Datenschutzerklärung nicht trennen) */
.page-head:not(.page-head--photo) h1 { max-width: 28ch; }

/* ==========================================================================
   Design-Review November 2026, Block B
   ========================================================================== */
/* B2: kompakte Handlungszeile ohne Navy-Fläche (ein Navy-Panel pro Seite) */
.cta-strip--plain { background: none; color: var(--ink); border-radius: 0; border-top: 1px solid var(--line-ink); padding: 1.6rem 0 0; overflow: visible; }
.cta-strip--plain::before { display: none; }
.cta-strip--plain h2, .cta-strip--plain h3, .cta-strip--plain .cta-strip__title { color: var(--ink); }
.cta-strip--plain p:not(.cta-strip__title) { color: var(--ink-soft); }
.cta-strip--plain .eyebrow { color: var(--navy); }
.cta-strip--plain .btn--ghost { color: var(--ink); border-color: var(--line-ink); }
.cta-strip--plain .btn--ghost:hover { color: var(--navy); border-color: var(--navy); }
/* A1-Nachtrag: weiche Trennstellen in Überschriften nur bis 959 px nutzen; ab Desktop passen alle Wörter
   (gemessen 960/1100/1200 px) – Ausnahme .hy für „Einkommensteuer­unterlagen“ */
@media (min-width: 960px) { h1, h2, h3 { -webkit-hyphens: none; hyphens: none; } .hy { -webkit-hyphens: manual !important; hyphens: manual !important; } }

/* ==========================================================================
   Design-Review November 2026, Block C: Prosa-Seiten
   ========================================================================== */
/* C1: Impressum/Datenschutz – kürzerer Abstand nach dem Seitenkopf, Kontaktbox rechts (Desktop) */
.section--plain { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section--plain .prose > :first-child { margin-top: 0; }
.plain-layout { display: grid; gap: 3rem; }
.plain-aside .aside-card p a { font-weight: 700; text-decoration: none; }
.plain-aside .aside-card p a:hover { text-decoration: underline; }
@media (min-width: 960px) { .plain-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; align-items: start; } .plain-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
@media (max-width: 959px) { .plain-aside { display: none; } }
/* C2: Stellenanzeigen linksbündig in einer lesbaren Spalte, Listenüberschriften gleich hoch */

/* ==========================================================================
   Design-Review November 2026, Block D: Leistungsseiten
   ========================================================================== */
/* D3: Tabellen mobil wischbar statt gequetscht; Zweispalter oben ausrichten */
.split--top { align-items: start; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { margin-top: 0; }
@media (max-width: 639px) {
  .table-wrap table { font-size: 0.9rem; }
  .table-wrap th, .table-wrap td { padding-inline: 0.35rem; }
  .table-wrap td:not(:first-child), .table-wrap th { white-space: nowrap; -webkit-hyphens: manual; hyphens: manual; }
  .table-wrap--wide { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .table-wrap--wide table { min-width: 560px; }
  .table-wrap--wide::after { content: 'Tabelle seitlich wischen'; display: block; margin-top: -0.6rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--stone); position: sticky; left: 0; }
}
/* D1: kurze Textabschnitte als redaktioneller Zweispalter (Überschrift links, Text rechts) statt halbleerer Fläche */
.text-split { display: grid; gap: 0.5rem; }
@media (min-width: 900px) {
  .text-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
  .text-split__head h2 { margin-bottom: 0; }
  .text-split__body { max-width: 62ch; padding-top: 1.85rem; }
}
/* D2: Fließtext höchstens 68 Zeichen breit, auch neben Seitenleisten */
/* D4: Abfindungsrechner */
.calc__hint { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--stone); line-height: 1.4; }
/* D8: Themenliste einheitlich, Links ohne Link-Optik bis zum Hover */
.list-topics a { color: var(--ink); text-decoration: none; }
.list-topics a:hover { color: var(--navy); text-decoration: underline; }
/* D1: Gründungs-Pyramide neben Überschrift und Text; Nachfolge-Einträge rechts oben bündig gestapelt */
.split--foundation .foundation { margin-top: 0; width: 100%; }
.split--foundation .sec-head { margin-bottom: 1.5rem; }
@media (min-width: 900px) { .split--foundation .foundation { margin-top: 1.9rem; } .split__aside-top { padding-top: 1.9rem; } }

/* ==========================================================================
   Design-Review November 2026, Block E
   ========================================================================== */
/* E1 Kanzlei: Siegel und Mitgliedslogos in einheitlicher Höhe */
.seal-row--award a img { height: 96px; }
.logo-row--members img { height: 44px; }
@media (max-width: 899px) {
  /* Partner mobil: Foto, dann Name und Text, QR-Code ans Ende */
  .person > div:first-child { display: contents; }
  .person .person__meta { order: 3; margin-top: 0; }
  .person > div:last-child { order: 2; }
  .vita li { grid-template-columns: 5.5em 1fr; gap: 0.75rem; }
  .seal-row--award { gap: 1rem 1.25rem; }
  .seal-row--award a img { height: 84px !important; }
  .logo-row--members { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; justify-items: start; }
  /* Kanzlei „Geprüft und ausgezeichnet“: Label + Text nebeneinander, Siegel/Logos als laufendes Band */
  .award-split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .award { grid-template-columns: auto minmax(0, 1fr); justify-items: stretch; align-items: center; gap: 1.25rem; max-width: none; }
  .award figcaption { min-width: 0; font-size: 0.88rem; }
  .award .datev-label img { height: 96px; }
  .award-split__others { display: none; }
}
/* Laufband Siegel & Mitgliedschaften (nur mobil, main.js: initTicker) */
.marks { display: none; }
@media (max-width: 899px) {
  .marks { display: block; }
  .marks__title { margin: 0 0 1rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
  .marks__band { display: flex; margin-inline: calc(var(--gutter) * -1); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    border-block: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
  .marks__band::-webkit-scrollbar { display: none; }
  .marks__track { display: flex; flex: none; list-style: none; margin: 0; padding: 0 0 0 var(--gutter); }
  .marks__track li { flex: none; width: 132px; margin: 0; padding: 1.1rem 0.75rem 1rem; border-right: 1px solid var(--line); }
  .marks__track li > a, .marks__track li { text-decoration: none; }
  .marks__track li > a { display: block; color: inherit; }
  .marks__track li, .marks__track li > a { text-align: center; }
  .marks__img { display: flex; align-items: center; justify-content: center; height: 76px; }
  .marks__img img { height: 76px; width: auto; }
  .marks__img img.marks__logo { height: 40px; }
  .marks__cap { display: block; margin-top: 0.6rem; font-size: 0.74rem; line-height: 1.3; color: var(--ink-soft); hyphens: manual; }
}
@media (prefers-reduced-motion: reduce) { .marks__track--clone { display: none; } }
/* E2 Kontakt: mobil zuerst das Formular, Labelspalte schmaler */
@media (max-width: 959px) { .contact-grid--form-first > .form-card { order: -1; } }
/* E3 Esslingen: Adresskasten neben der Anfahrt */
.address-card { margin: 0; }
.address-card__name { font-weight: 700; color: var(--ink) !important; margin-bottom: 0.3rem; }
.address-card__hours { margin-top: 1rem; }
.address-card .btn-row { margin-top: 1.3rem; }
/* E5 404: linksbündig an der Containerkante */
.nf-body { max-width: 860px; }
/* Button im Fließtext, der wie ein Link aussieht (z. B. „Cookie-Einstellungen öffnen“) */
.link-inline { all: unset; cursor: pointer; color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link-inline:hover { color: var(--navy-soft); }
.link-inline:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* ==========================================================================
   Mandanten-Monatsinformation (Hub, Ausgabenseiten, Archiv)
   ========================================================================== */
.mi-layout { display: grid; gap: 3rem; }
@media (min-width: 960px) { .mi-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; align-items: start; } .mi-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.mi-main { max-width: 68ch; }
.mi-main > h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2.2em; }
.mi-download { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.2rem; align-items: center; padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-lg); }
.mi-download__icon { width: 44px; height: 44px; color: var(--navy); }
.mi-download__title { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin: 0 0 0.2rem; }
.mi-download__meta { margin: 0; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--stone); }
.mi-download .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 640px) { .mi-download { grid-template-columns: auto 1fr auto; } .mi-download .btn { grid-column: auto; } }
.mi-termine { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.mi-termine th { text-align: left; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); padding: 0 0.6rem 0.5rem 0; border-bottom: 1px solid var(--line-ink); }
.mi-termine td { padding: 0.7rem 0.6rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mi-termine__datum { white-space: nowrap; font-family: var(--font-mono); font-size: 0.82rem; color: var(--navy); width: 9.5em; padding-top: 0.85rem !important; }
.mi-termine td strong { display: block; color: var(--ink); }
.mi-termine td span { display: block; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
.mi-termine__note { margin-top: 0.8rem; font-size: 0.82rem; color: var(--stone); }
.aside-card .mi-termine { font-size: 0.88rem; }
.aside-card .mi-termine__datum { width: 7.5em; font-size: 0.76rem; }
.aside-card .mi-termine td span { display: none; }
.mi-pager { display: grid; gap: 0.75rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-ink); }
@media (min-width: 640px) { .mi-pager { grid-template-columns: 1fr auto 1fr; align-items: start; } .mi-pager__link--next { text-align: right; grid-column: 3; } .mi-pager__link--all { grid-column: 2; text-align: center; } }
.mi-pager__link { display: block; text-decoration: none; font-weight: 700; color: var(--navy); }
.mi-pager__link span { display: block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-bottom: 0.15rem; }
.mi-pager__link:hover { color: var(--navy-soft); text-decoration: underline; }
.mi-archiv { display: grid; gap: 0.75rem; max-width: 860px; }
.mi-archiv__jahr { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.mi-archiv__jahr summary { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.3rem; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.mi-archiv__jahr summary::-webkit-details-marker { display: none; }
.mi-archiv__jahr summary span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--stone); }
.mi-archiv__jahr summary::after { content: '+'; font-family: var(--font-mono); font-size: 1.2rem; color: var(--navy); margin-left: auto; }
.mi-archiv__jahr[open] summary::after { content: '–'; }
.mi-archiv__jahr ul { list-style: none; margin: 0; padding: 0 1.3rem 1rem; display: grid; gap: 0 2rem; }
@media (min-width: 640px) { .mi-archiv__jahr ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .mi-archiv__jahr ul { grid-template-columns: repeat(3, 1fr); } }
.mi-archiv__jahr li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.mi-archiv__jahr li > a:first-child { font-weight: 700; text-decoration: none; }
.mi-archiv__jahr li > a:first-child:hover { text-decoration: underline; }
.mi-archiv__pdf { font-family: var(--font-mono); font-size: 0.72rem; color: var(--stone); text-decoration: none; white-space: nowrap; }
.mi-archiv__pdf:hover { color: var(--navy); text-decoration: underline; }
.cta-strip--bare { background: none; padding-block: 0; border-radius: 0; overflow: visible; }
.cta-strip--bare::before { display: none; }
.mi-layout > *, .split > * { min-width: 0; }
.mi-termine td, .mi-termine th { white-space: normal !important; }
@media (max-width: 639px) {
  .mi-termine thead { display: none; }
  .mi-termine tr { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .mi-termine td { display: block; border: 0; padding: 0 !important; }
  .mi-termine__datum { width: auto; white-space: nowrap !important; margin-bottom: 0.15rem; }
  .mi-download { padding: 1.2rem; }
  .mi-download__meta { overflow-wrap: anywhere; }
  .mi-download .btn { justify-self: stretch; }
}
/* Ersatz für frühere Inline-Styles */
.h2-sub { font-size: 1.4rem; }
.h2-sub--lg { font-size: 1.55rem; }
.reasons-grid { gap: 1.25rem; max-width: 860px; }
.text-small { font-size: 0.85rem; }
.seal-row--center { justify-content: center; }
.seal-row--lg a img { height: 150px; }
/* Schmale Überschriftenspalte im Zweispalter: weiche Trennstellen (&shy;) auch auf dem Desktop nutzen */
@media (min-width: 960px) { .text-split__head h2 { -webkit-hyphens: manual; hyphens: manual; } }

/* ==========================================================================
   Stellenanzeigen (/karriere/steuerfachangestellte/, /karriere/ausbildung/)
   ========================================================================== */
.job-layout { display: grid; gap: 2.5rem; }
.job-layout > * { min-width: 0; }
@media (min-width: 1000px) { .job-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4.5rem; align-items: start; } }
.job-main > p { max-width: 68ch; }
.job-main h2 { margin-top: 3rem; }
.job-main h2:first-child { margin-top: 0; }
@media (max-width: 999px) { .job-side { order: -1; } }

/* Infokarte: Fakten, Ansprechpartner, Bewerben (Desktop mitlaufend) */
.job-side__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: 0 18px 40px -28px rgba(26, 34, 56, 0.35); }
@media (min-width: 1000px) { .job-side { position: sticky; top: calc(var(--header-h) + 1.5rem); } .job-side__card { padding: 1.75rem; } }
.job-side__title { margin: 0 0 0.9rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.job-side__facts { list-style: none; margin: 0; padding: 0; display: grid; }
.job-side__facts li { display: grid; grid-template-columns: 22px 1fr; gap: 0.8rem; align-items: center; margin: 0; padding: 0.7rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.35; }
.job-side__facts li:last-child { border-bottom: 1px solid var(--line); }
.job-side__facts svg { width: 22px; height: 22px; color: var(--navy); }
.job-side__facts span { display: block; font-size: 0.78rem; color: var(--stone); }
.job-side__facts strong { display: block; margin-top: 0.1rem; font-size: 0.95rem; color: var(--ink); }
.job-side__person { display: flex; align-items: center; gap: 0.9rem; margin: 1.2rem 0; }
.job-side__person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.job-side__person p { margin: 0; font-size: 0.86rem; line-height: 1.4; color: var(--ink-soft); }
.job-side__person strong { display: block; color: var(--ink); font-size: 0.98rem; }
.job-side__actions { display: grid; gap: 0.6rem; }
.job-side__actions .btn { width: 100%; }
.job-side__links { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.9rem; }
.job-side__links li { margin: 0; }
.job-side__links a { font-weight: 700; }
@media (max-width: 559px) {
  .job-side__facts { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .job-side__facts li { grid-template-columns: 1fr; gap: 0.35rem; align-items: start; align-content: start; }
  .job-side__facts li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .job-side__facts strong { font-size: 0.9rem; }
}
@media (min-width: 560px) and (max-width: 999px) {
  .job-side__card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .job-side__title, .job-side__facts { grid-column: 1 / -1; }
  .job-side__facts { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .job-side__facts li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .job-side__person { margin-bottom: 0; }
  .job-side__actions { margin-top: 1.2rem; }
  .job-side__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
}

/* Kennzahlen-Leiste */
.job-stats { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-ink); }
@media (min-width: 700px) { .job-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.job-stats li { margin: 0; padding: 1.1rem 1rem 1.2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .job-stats li { border-bottom: 0; } .job-stats li + li { padding-left: 1.1rem; border-left: 1px solid var(--line); } }
.job-stats__num { display: block; font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.job-stats__num sup { font-size: 0.5em; top: -0.7em; color: var(--accent); font-family: var(--font-mono); font-weight: 500; margin-left: 2px; }
.job-stats__num small { font-size: 0.45em; font-weight: 700; margin-left: 0.15em; }
.job-stats__label { display: block; margin-top: 0.5rem; font-size: 0.86rem; line-height: 1.4; color: var(--ink-soft); }

/* Aufgaben als nummerierte Karten */
.job-tasks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: task; }
@media (min-width: 680px) { .job-tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.job-tasks li { counter-increment: task; position: relative; margin: 0; padding: 1.3rem 1.4rem 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease; }
.job-tasks li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: transparent; }
.job-tasks li::before { content: counter(task, decimal-leading-zero); display: block; margin-bottom: 0.7rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--accent); }
.job-tasks strong { display: block; margin-bottom: 0.3rem; font-size: 1.04rem; color: var(--ink); }
.job-tasks p { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--ink-soft); }
@media (min-width: 680px) { .job-tasks li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Vorteile: Kacheln mit Symbol im Navy-Abschnitt */
.jperks { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .jperks { gap: 1rem; } }
@media (max-width: 979px) { .jperk--hero, .jperk:last-child { grid-column: 1 / -1; } }
@media (max-width: 559px) {
  .jperk { padding: 1.1rem 1rem 1.15rem; }
  .jperk svg { width: 26px; height: 26px; margin-bottom: 0.7rem; }
  .section--navy .jperk h3 { font-size: 0.94rem; hyphens: manual; }
  .section--navy .jperk p { hyphens: manual; }
  .section--navy .jperk p { font-size: 0.84rem; }
  .jperk--hero { padding: 1.3rem 1.2rem; }
}
@media (min-width: 980px) { .jperks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.jperk { position: relative; margin: 0; padding: 1.4rem 1.35rem 1.45rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); transition: transform 0.35s var(--ease-out), background 0.35s ease, border-color 0.35s ease; }
.jperk:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.09); border-color: rgba(216, 196, 138, 0.5); }
.jperk svg { width: 30px; height: 30px; color: var(--accent-light); margin-bottom: 1rem; }
.section--navy .jperk h3 { margin: 0 0 0.35rem; font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; letter-spacing: 0; text-transform: none; color: #fff; }
.section--navy .jperk p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: rgba(247, 246, 242, 0.78); }
.jperk--hero { background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%); border-color: transparent; }
.jperk--hero:hover { background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%); border-color: transparent; }
.jperk--hero svg { color: #fff; }
.section--navy .jperk--hero p { color: rgba(255, 255, 255, 0.9); }
.jperk__big { display: block; margin-bottom: 0.4rem; font-size: 2.6rem; font-weight: 700; line-height: 1; color: #fff; }
@media (min-width: 980px) { .jperk:last-child { grid-column: span 2; } .jperk--hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem; } .jperk__big { font-size: 4.2rem; } .jperk--hero svg { width: 40px; height: 40px; margin-bottom: auto; } }

/* Ablauf / Weg als Zeitstrahl */
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0; counter-reset: tl; }
.timeline li { counter-increment: tl; position: relative; margin: 0; padding: 0 0 1.8rem 3.4rem; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500; z-index: 1; }
.timeline li::after { content: ''; position: absolute; left: calc(1.2rem - 1px); top: 2.4rem; bottom: 0; width: 2px; background: linear-gradient(var(--navy), var(--line)); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li:last-child::before { background: var(--accent); }
.timeline h3 { margin: 0.35rem 0 0.35rem; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
.timeline p { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--ink-soft); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
  .timeline li { padding: 3.6rem 0 0; }
  .timeline li::after { left: 2.4rem; right: -1.75rem; top: calc(1.2rem - 1px); bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--navy), var(--line)); }
}
.section--navy .timeline li::before { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(216, 196, 138, 0.6); color: var(--accent-light); }
.section--navy .timeline li:last-child::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.section--navy .timeline li::after { background: linear-gradient(rgba(216, 196, 138, 0.6), rgba(255, 255, 255, 0.12)); }
@media (min-width: 900px) { .section--navy .timeline li::after { background: linear-gradient(90deg, rgba(216, 196, 138, 0.6), rgba(255, 255, 255, 0.12)); } }
.section--navy .timeline h3 { color: #fff; }
.section--navy .timeline p { color: rgba(247, 246, 242, 0.8); }

/* Datensicherheit & GwG: Hinweis auf die externe Prüfung mit Link zu DATA Security */
.seal-proof { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.1rem 1.5rem; margin-top: clamp(2rem, 4vw, 2.75rem); padding: 1.1rem 1.25rem 1.1rem 1.4rem; border-radius: var(--r-lg); background: var(--grad-navy); color: var(--paper); box-shadow: 0 18px 40px -26px rgba(22, 34, 63, 0.7); }
.seal-proof::after { content: ''; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(216, 196, 138, 0.22), transparent 65%); pointer-events: none; }
.seal-proof > svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(216, 196, 138, 0.16); border: 1px solid rgba(216, 196, 138, 0.45); color: var(--accent-light); box-sizing: border-box; }
.seal-proof p { position: relative; margin: 0; font-size: 0.92rem; line-height: 1.5; color: rgba(247, 246, 242, 0.8); }
.seal-proof strong { display: block; margin-bottom: 0.1rem; font-size: 1.02rem; color: #fff; }
.seal-proof .btn { position: relative; z-index: 1; }
@media (max-width: 759px) {
  .seal-proof { grid-template-columns: auto minmax(0, 1fr); align-items: start; padding: 1.2rem; }
  .seal-proof .btn { grid-column: 1 / -1; width: 100%; white-space: normal; }
}
/* Datensicherheit & GwG: Siegel-Karten (Siegelbild + Bezeichnung, darunter die Erläuterung) */
.seal-cards { align-items: stretch; }
.seal-card { position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.5rem 1.5rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 14px 34px -26px rgba(26, 34, 56, 0.35); transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease; }
.seal-card::before { content: ''; position: absolute; left: 1.5rem; right: 1.5rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--seal, var(--navy)); }
#dsgvo.seal-card { --seal: #0B4A9A; } #ki.seal-card { --seal: #F18A00; } #gwg.seal-card { --seal: #C9A23A; }
.seal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: transparent; }
.seal-card__head { display: flex; align-items: center; gap: 1.1rem; }
/* Siegel hier bewusst klein und grau: farbig stehen sie groß im Abschnitt darüber */
.seal-card__head img { width: auto; height: 64px; flex: none; filter: grayscale(1); opacity: 0.6; transition: filter 0.4s ease, opacity 0.4s ease, transform 0.45s var(--ease-out); }
.seal-card:hover .seal-card__head img { filter: none; opacity: 1; transform: rotate(-4deg); }
.seal-card__head .entry__num { margin-bottom: 0.35rem; }
.seal-card__head h3 { margin: 0; font-size: 1.15rem; }
.seal-card p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }
@media (min-width: 680px) and (max-width: 979px) { .seal-cards > :last-child { grid-column: 1 / -1; } }
@media (max-width: 559px) { .seal-card { padding: 1.3rem 1.2rem 1.4rem; } .seal-card__head img { height: 56px; } }
.seal-stage { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; align-self: center; }
@media (max-width: 559px) { .seal-stage .btn { width: 100%; white-space: normal; } }
/* Sprungmarken #dsgvo/#ki/#gwg (Startseite, Footer): Überschrift „Was hinter den Siegeln steckt“ bleibt sichtbar,
   dazu Luft unter der Navigation; mobil (Karten untereinander) springen KI und GwG direkt auf ihre Karte */
.seal-card { scroll-margin-top: calc(var(--header-h) + 13rem); }
@media (max-width: 679px) {
  .seal-card { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
  #dsgvo.seal-card { scroll-margin-top: calc(var(--header-h) + 9rem); }
}
.seal-card:target { border-color: transparent; box-shadow: 0 0 0 2px var(--seal, var(--navy)), var(--shadow-lift); }
