/* Design-System v1.3.0 – DLIVR, nur heller Modus */
:root {
  --paper: #f4f2ef;
  --hero-surface: #f4f2ef;
  --product-surface: #ece7e1;
  --button-bg: #a65332;
  --button-hover: #874027;
  --link-underline: #c6b6aa;
  --card: #ffffff;
  --ink: #25282e;
  --muted: #62646a;
  --line: #d8d5d0;
  --fine: #e2dfda;
  --accent: #99482b;
  --accent-mark: #b56846;
  --accent-dark: #874027;
  --accent-light: #e2a185;
  --band: #202227;
  --band-ink: #f4f2ef;
}
:root {
  color-scheme: light;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --width: 1184px;
  --section-space: clamp(2rem, 4vw, 3rem);
  --heading-space: clamp(1.25rem, 2.5vw, 2rem);
  --column-gap: clamp(1.5rem, 4vw, 3rem);
  --card-space: clamp(1.25rem, 2.5vw, 1.75rem);
  --card-title: 1.06rem;
}
* { box-sizing: border-box; }
html { height: 100%; overflow: hidden; }
body { overflow-wrap: anywhere; height: 100vh; height: 100dvh; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
main { min-width: 0; min-height: 0; overflow-y: auto; scroll-behavior: smooth; }
main:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1.2rem; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 9vw, 5.6rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); line-height: 1.1; }
h3 { font-size: 1.5rem; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.wrap { width: min(var(--width), calc(100% - 64px)); margin: 0 auto; }
.skip { position: fixed; left: 20px; top: 12px; transform: translateY(calc(-100% - 24px)); z-index: 100; padding: 12px 20px; background: var(--card); }
.skip:focus { transform: none; }
.site-header { position: relative; z-index: 20; background: var(--card); border-bottom: 1px solid var(--fine); }
.header-inner { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { width: 94px; height: auto; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { font-size: 14px; font-weight: 500; color: var(--muted); padding: 29px 0 26px; border-bottom: 3px solid transparent; }
nav a:hover, nav a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.eyebrow, .label { font: .75rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.eyebrow { color: var(--accent); font-size: clamp(.85rem, 1.3vw, 1rem); letter-spacing: .09em; margin-bottom: 16px; }
.label { color: var(--muted); }
.hero { --accent-light: var(--accent); --band-ink: var(--ink); background: var(--hero-surface); color: var(--ink); border-bottom: 3px solid var(--accent-mark); padding-top: var(--section-space); }
.hero .eyebrow { color: var(--accent-light); }
.hero h1 span { color: var(--accent-light); }
.hero-copy { color: var(--muted); max-width: none; font-size: 18px; line-height: 1.7; margin: 24px 0 28px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 49px; padding: 13px 22px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 600; transition: background .15s, border-color .15s; }
.button.primary { background: var(--button-bg); color: #fff; }
.button.primary:hover { background: var(--button-hover); }
.button.outline { border-color: var(--muted); color: var(--ink); }
.button.outline:hover { background: var(--card); border-color: var(--accent); }
.section { padding: var(--section-space) 0; display: flow-root; }
.section > .wrap > :last-child { margin-bottom: 0; }
.section[id] { scroll-margin-top: calc(12px - var(--section-space)); }
h2[id], h3[id] { scroll-margin-top: 12px; }
.section-heading { display: flex; justify-content: space-between; gap: var(--column-gap); align-items: end; margin-bottom: var(--heading-space); }
.section-heading > p { max-width: 370px; color: var(--muted); margin: 0 0 4px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { min-width: 0; display: flex; flex-direction: column; padding: var(--card-space); border: 1px solid var(--fine); border-radius: 10px; background: var(--card); }
.card .label { color: var(--accent); margin-bottom: 16px; display: flex; align-items: baseline; gap: 12px; }
.card h3 { margin-bottom: 12px; font-size: var(--card-title); line-height: 1.3; letter-spacing: -.01em; }
.card > p:not(.label) { color: var(--muted); font-size: .93rem; }
.card .text-link { margin-top: auto; padding-top: 16px; }
.text-link { display: inline-flex; gap: 14px; align-items: center; color: var(--accent); font-size: 14px; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.product-section { background: var(--product-surface); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--column-gap); align-items: center; }
.product-grid h2 { margin-bottom: var(--heading-space); }
.product-grid p:not(.eyebrow) { color: var(--muted); }
.intro { font-size: 1.03rem; line-height: 1.6; }
.product-grid .text-link { margin-top: 12px; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 30px; box-shadow: 0 16px 35px -24px #564033; }
.product-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 23px; border-bottom: 1px solid var(--fine); }
.product-heading img { width: 145px; }
.product-heading .label { font-size: .75rem; }
.product-card h3 { margin: 24px 0; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.product-card h3 span { color: var(--muted); }
dl { margin: 0; }
.product-facts > div { border-top: 1px solid var(--fine); padding: 14px 0; }
.product-facts > div:last-child { padding-bottom: 0; }
.product-facts dt { font: .75rem/1.6 var(--mono); text-transform: uppercase; color: var(--accent); letter-spacing: .08em; }
.product-facts dd { margin: 5px 0 0; font-size: 14px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--column-gap); }
.profile-caption { margin-top: 24px; font-size: 17px; color: var(--muted); }
.profile-grid > div:nth-child(2) > p:not(.intro) { color: var(--muted); }
.contact-strip { padding: var(--section-space) 0; background: var(--card); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--column-gap); }
.strip-inner h2 { font-size: clamp(1.65rem, 3vw, 2rem); }
.strip-inner p:last-child { color: var(--muted); margin: 14px 0 0; max-width: 660px; }
.strip-inner .eyebrow { margin-bottom: 12px; }
.strip-inner > .button { flex-shrink: 0; }
.site-footer { background: var(--band); color: #b6bfcd; padding: 10px 0; padding-bottom: max(10px, env(safe-area-inset-bottom)); font-size: 14px; }
.footer-inner, .footer-inner > div { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.footer-inner { justify-content: space-between; }
.footer-brand img { width: 76px; height: auto; }
.footer-brand { font-weight: 700; color: var(--band-ink); letter-spacing: .06em; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.hero-small { padding: var(--section-space) 0; }
.hero-small h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); }
.hero-small .hero-copy:last-child { margin-bottom: 0; }
.services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card { scroll-margin-top: 12px; }
.service-card h3 { overflow-wrap: anywhere; hyphens: auto; font-size: var(--card-title); line-height: 1.3; letter-spacing: -.01em; margin-bottom: 12px; }
.service-card .service-lead { font-weight: 600; color: var(--ink) !important; }
.service-card .service-tags { border-top: 1px solid var(--fine); padding-top: 18px; margin: auto 0 0; font-size: 12px !important; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--column-gap); align-items: stretch; }
.contact-grid > * { min-width: 0; }
.contact-grid h3 { margin-bottom: 14px; }
.contact-grid .intro { color: var(--muted); font-size: 17px; }
.contact-details { margin-top: 32px; }
.contact-details > div { display: grid; grid-template-columns: 95px 1fr; padding: 18px 0; border-top: 1px solid var(--line); gap: 15px; }
.contact-details dt { font: .75rem/1.8 var(--mono); text-transform: uppercase; color: var(--muted); }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.contact-details a, .legal a { text-decoration: underline; text-decoration-color: var(--link-underline); text-underline-offset: 4px; }
.contact-heading { margin-bottom: var(--heading-space); }
.contact-heading h2 { margin-bottom: 20px; }
.contact-heading > p:last-child { color: var(--muted); margin-bottom: 0; }
.contact-grid { gap: 24px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; background: var(--card); padding: var(--card-space); border: 1px solid var(--fine); border-radius: 10px; }
.contact-card p, .contact-card li { color: var(--muted); font-size: 1rem; }
.contact-card ul { padding-left: 20px; margin: 0 0 20px; }
.contact-card li + li { margin-top: 8px; }
.contact-card > :last-child { margin-bottom: 0; }
.contact-email { color: var(--accent); font-size: 1.25rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 24px; }
.contact-card .button { margin-top: auto; }

.contact-note ul { padding-left: 19px; margin: 20px 0; }
.contact-note li { margin: 10px 0; }
.legal-section { background: var(--card); }
.legal { max-width: 780px; }
.legal h2 { margin-bottom: var(--heading-space); }
.legal h2:not(:first-of-type) { margin-top: var(--section-space); }
.legal h3 { margin: var(--heading-space) 0 16px; }
.legal p { color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .product-heading { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .hero-copy { font-size: 17px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; max-width: 100%; }
  .cards, .cards.services, .product-grid, .profile-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .cards:not(.services) { gap: 16px; }
  .strip-inner { align-items: start; flex-direction: column; gap: 25px; }
}
@media (max-width: 420px) {
  .header-inner { gap: 20px; min-height: 73px; }
  .logo img { width: 74px; }
  nav { gap: 17px; }
  nav a { font-size: 12px; padding: 24px 0 22px; }

  .button-row { flex-direction: column; align-items: stretch; }
  .contact-details > div { grid-template-columns: 1fr; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { main { scroll-behavior: auto; } * { transition: none !important; } }

/* Shared light/dark palette, including a no-JavaScript system fallback. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #17191d;
  --hero-surface: #202227;
  --card: #22252a;
  --ink: #f0ece7;
  --muted: #b2b3b9;
  --line: #44464d;
  --fine: #35383f;
  --accent: #e2a185;
  --product-surface: #1d1f23;
  --link-underline: #ac806b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
  --paper: #17191d;
  --hero-surface: #202227;
  --card: #22252a;
  --ink: #f0ece7;
  --muted: #b2b3b9;
  --line: #44464d;
  --fine: #35383f;
  --accent: #e2a185;
  --product-surface: #1d1f23;
  --link-underline: #ac806b;
  }
}
.icon, .service-icon { width: 1rem; height: 1rem; flex: none; }
.service-icon { width: 1.4rem; height: 1.4rem; }
.logo-on-dark { display: none; }
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block; }
}
/* Mi-Tool header dimensions and navigation type scale. */
.site-header { background: var(--paper); }
.header-inner { min-height: 0; padding-block: .6rem; gap: 1rem; }
.logo img { width: auto; height: 2rem; }
.desktop-nav { margin-left: auto; gap: .15rem; }
.desktop-nav a, .mobile-menu nav a { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; padding: .4rem .7rem; border: 0; border-radius: 999px; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .mobile-menu nav a:hover, .mobile-menu nav a[aria-current] { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.theme-toggle { flex: none; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 50%; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle:focus-visible, .mobile-menu summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; }
:root[data-theme="dark"] .theme-moon { display: none; }
.mobile-menu { display: none; position: relative; margin-left: auto; }
.mobile-menu summary { cursor: pointer; padding: .65rem .9rem; min-height: 44px; border: 1px solid var(--line); border-radius: .6rem; background: var(--card); font-size: .88rem; font-weight: 600; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: stretch; gap: .2rem; position: absolute; top: calc(100% + .6rem); right: 0; min-width: 13rem; padding: .45rem; background: var(--card); border: 1px solid var(--line); border-radius: .6rem; box-shadow: 0 8px 28px #0002; }
.mobile-menu nav a { padding: .8rem 1rem; border-radius: .3rem; }
/* The introduction and its three steps form one full-width composition. */
.hero { padding-top: 0; }
.hero-intro { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.hero-intro h1 { line-height: .93; font-weight: 700; letter-spacing: -.04em; }
.hero-intro .eyebrow { font-size: clamp(.85rem, 1.5vw, 1.15rem); font-weight: 700; line-height: 1.5; margin-bottom: 1.2rem; }
.hero-copy { font-size: clamp(1.02rem, 2.2vw, 1.22rem); line-height: 1.55; margin: 1.4rem 0 2rem; }
.approach-steps { list-style: none; padding: 0 0 2.5rem; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.approach-steps li { position: relative; display: flex; align-items: baseline; gap: 1rem; padding-top: 1.2rem; min-width: 0; }
.step-number { font: 600 1.25rem/1.3 var(--mono); font-variant-numeric: tabular-nums; color: var(--accent-light); flex: none; }
.approach-steps h2 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; }
.approach-steps p { font-size: .92rem; color: var(--muted); margin: .4rem 0 0; }
.hero-small { padding: var(--section-space) 0; }
@media (max-width: 760px) {
  .header-inner { gap: .65rem; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .theme-toggle { width: 44px; height: 44px; }
  .approach-steps { grid-template-columns: 1fr; gap: .9rem; }
  .approach-steps li { padding-top: .9rem; }
}

/* Keep legal links visible without taking reading space on narrow screens. */
@media (max-width: 760px) {
  .site-footer { padding-top: 5px; padding-bottom: max(5px, env(safe-area-inset-bottom)); font-size: .8125rem; }
  .footer-inner, .footer-inner > div { gap: 10px; }
  .footer-detail, .footer-inner > div:last-child > span { display: none; }
  .footer-brand img { width: 52px; }
  .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media print {
  html, body { height: auto; overflow: visible; }
  body { display: block; }
  main { overflow: visible; }
  .site-header, .site-footer, .button-row, .contact-strip, .skip { display: none; }
  body, .hero, .product-section { background: #fff; color: #111; }
  .hero h1 span, .hero-copy, .hero .eyebrow { color: #444; }
  .section, .hero { padding: 25px 0; }
  .hero-intro { padding: 0; }
  .approach-steps { display: none; }
  .logo-on-dark { display: none !important; }
  .logo-on-light { display: block !important; }
  .card, .product-card { break-inside: avoid; box-shadow: none; }
}

/* Separate legal pages follow the same type scale and fixed shell. */
.legal-page h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); margin-bottom: 1.4rem; }
.legal-page h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-top: var(--section-space); margin-bottom: 1rem; }
.legal-page .contact-details { margin-top: 0; }
.legal-page ul { padding-left: 1.3rem; color: var(--muted); }
.legal-page li { margin-bottom: .6rem; }
.legal-page code { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .site-footer .footer-inner { gap: 0 10px; }
  .footer-name { font-size: .75rem; }
}

/* Readable focus on both the copper buttons and their dark surroundings. */
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--accent-light); }
[id]:focus-visible:not(main) { outline: 2px solid var(--accent); outline-offset: 5px; }
.hero [id]:focus-visible { outline-color: var(--accent-light); }
h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; }
.text-link, .site-footer a { min-height: 24px; }
.site-footer a { display: inline-flex; align-items: center; }
.desktop-nav a[aria-current], .mobile-menu nav a[aria-current] { text-decoration: underline; text-underline-offset: .25em; }

/* One decorative copper route; words and numbers remain visible throughout. */
.approach-steps { position: relative; }
.approach-steps::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent-light); }
.approach-steps li::before { content: ""; position: absolute; left: 0; top: -.25rem; width: .625rem; height: .625rem; border-radius: 50%; background: var(--accent-light); }
@media (prefers-reduced-motion: no-preference) {
  .approach-steps.motion-ready::before { clip-path: inset(0 100% 0 0); }
  .approach-steps.motion-ready li::before { opacity: 0; }
  .approach-steps.motion-playing::before { animation: approach-route 4s ease-out both; }
  .approach-steps.motion-playing li::before { animation: approach-marker .6s ease-out both; }
  .approach-steps.motion-playing li:nth-child(2)::before { animation-delay: 1.3s; }
  .approach-steps.motion-playing li:nth-child(3)::before { animation-delay: 2.6s; }
}
@keyframes approach-route { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes approach-marker { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 760px) {
  .approach-steps::before { left: .25rem; right: auto; top: 1.3rem; bottom: 2.5rem; width: 2px; height: auto; }
  .approach-steps li { padding-left: 1.4rem; }
  .approach-steps li::before { left: 0; top: 1.3rem; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .approach-steps.motion-ready::before { clip-path: inset(0 0 100% 0); }
  .approach-steps.motion-playing::before { animation-name: approach-route-vertical; }
}
@keyframes approach-route-vertical { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
/* At high zoom or in a short window, reading takes priority over fixed bars. */
@media screen and (max-height: 30rem) {
  html { height: auto; overflow: auto; scroll-behavior: smooth; }
  body { height: auto; min-height: 100dvh; display: block; overflow: visible; }
  main { overflow: visible; }
  .header-inner { flex-wrap: wrap; }
  .mobile-menu nav { max-height: 65dvh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html, main { scroll-behavior: auto; }
  .approach-steps::before, .approach-steps li::before { animation: none !important; clip-path: none !important; opacity: 1 !important; transform: none !important; }
}
@media print {
  .approach-steps { display: grid; }
  .approach-steps::before, .approach-steps li::before { display: none; }
  .approach-steps p, .step-number { color: #444; }
}

@media (max-width: 760px) {
  .site-footer a { min-height: 44px; }
}
@media print {
  :root, :root[data-theme] {
    color-scheme: light;
    --paper: #fff; --card: #fff; --ink: #111; --muted: #444;
    --accent: #874027; --product-surface: #fff; --line: #999; --fine: #999;
  }
}

/* Consulting offer and reciprocal product links. */
.pdf-section { background: var(--card); }
.pdf-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--column-gap); }
.pdf-grid > div { min-width: 0; }
.pdf-grid p:not(.eyebrow) { color: var(--muted); }
.pdf-grid > div > :last-child { margin-bottom: 0; }
.footer-identity { flex: 1; min-width: 0; }
.site-footer .footer-partner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; border-left: 2px solid var(--accent-light); padding-left: 16px; }
.footer-partner strong { color: var(--band-ink); font-size: .95rem; }
.footer-partner-detail { font-size: .8125rem; }
.footer-linkedin { gap: .4rem; }
.footer-links { flex-shrink: 0; }
@media (max-width: 1000px) {
  .footer-detail { display: none; }
}
@media (max-width: 760px) {
  .pdf-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-inner { display: block; gap: 0; }
  .footer-identity, .footer-links { width: 100%; justify-content: space-between; }
  .footer-partner-detail { display: none; }
  .footer-partner strong { font-size: .8125rem; }
  .site-footer .footer-partner { border-left: 0; padding-left: 0; }
}

/* Anchor destinations retain reading focus without a mouse-click outline. */
.anchor-focus-target:focus { outline: none; }
.anchor-focus-target:focus-visible:not(.anchor-focus-pointer) { outline: 2px solid var(--accent); outline-offset: 5px; }
.hero .anchor-focus-target:focus-visible:not(.anchor-focus-pointer) { outline-color: var(--accent-light); }

.gemeinsamer-fuss { --fuss-akzent: #b56845; --fuss-bg: #202326; }

/* Gemeinsame Footer-Aufteilung DLIVR / mi-tool, 16.09.2026. */
.gemeinsamer-fuss { margin: 0; padding: 4px 0 max(4px, env(safe-area-inset-bottom)); border-top: 3px solid var(--fuss-akzent); background: var(--fuss-bg); color: #bcc4d0; font: 14px/1.4 Arial, sans-serif; }
.gemeinsamer-fuss-inhalt { max-width: 1184px; margin: auto; padding: 0 20px; }
.fuss-erste-zeile, .fuss-zweite-zeile { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.gemeinsamer-fuss a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.gemeinsamer-fuss .fuss-partnerlink { color: #f2f3f5; font-weight: 700; gap: .3em; }
.fuss-linkedin { gap: .4em; }
.fuss-linkedin svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.gemeinsamer-fuss a:hover { text-decoration: underline; text-underline-offset: .2em; }
.gemeinsamer-fuss a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 48rem) { .gemeinsamer-fuss { font-size: 13px; } .gemeinsamer-fuss-inhalt { padding-inline: 16px; } }
@media print { .gemeinsamer-fuss { display: none !important; } }

.gemeinsamer-fuss a { padding: 0; border: 0; font-size: inherit; line-height: inherit; }

/* Schmale Fußleiste, folgt der aktiven Farbwelt. */
.gemeinsamer-fuss { background: var(--paper); color: var(--ink); }
.gemeinsamer-fuss-inhalt { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.gemeinsamer-fuss .fuss-partnerlink { color: var(--ink); }
.fuss-zweite-zeile { gap: 10px; }
.gemeinsamer-fuss a:focus-visible { outline-color: var(--accent); }
@media (max-width: 48rem) { .gemeinsamer-fuss { font-size: 12px; } .gemeinsamer-fuss-inhalt { padding-inline: 12px; } .fuss-zweite-zeile { gap: 8px; } }

/* Gemeinsame Kopfzeilenmaße, 16.09.2026. */
.site-header { background: var(--paper); }
.header-inner { box-sizing: border-box; width: 100%; max-width: 1224px; margin: auto; min-height: 64px; padding: 10px 20px; display: flex; align-items: center; gap: 8px; }
.logo { flex: 0 1 144px; min-width: 0; margin-right: auto; }
.logo img { width: auto; max-width: 144px; height: 32px; object-fit: contain; }
.desktop-nav { margin-left: auto; gap: 2px; }
.desktop-nav > a, .desktop-nav > details > summary { font-size: 14px; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; padding: 6px 8px; }
.theme-toggle { width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border-radius: 50%; }
.theme-toggle svg { width: 20px; height: 20px; }
.header-start { display: none; }
.mobile-menu > summary { box-sizing: border-box; height: 44px; min-height: 44px; padding: 10px 12px; font: 600 14px/22px Arial,sans-serif; border-radius: 10px; }
@media (max-width: 75rem) {
 .desktop-nav { display: none; }
 .header-inner { padding-inline: 12px; flex-wrap: nowrap; }
 .logo { flex-basis: 112px; }
 .logo img { max-width: 112px; height: 32px; }
 .mobile-menu { display: block; position: relative; flex: none; margin-left: 0; }
 .header-start { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; flex: 0 0 44px; font-size: 0; color: var(--ink); }
 .header-start svg { width: 20px; height: 20px; }
}
@media print { .site-header { display: none !important; } }

/* Gemeinsame Gestaltungsregeln beider Marken, 16.09.2026. */
@media screen {
 body { font-size: 16px; line-height: 1.6; }
 .wrap:not(.header-inner) { box-sizing: border-box; width: 100%; max-width: 1224px; margin-inline: auto; padding-inline: 20px; }
 .cards, .contact-grid { gap: 24px; }
 .card, .contact-card, .product-card { border-radius: 12px; padding: clamp(20px, 2.5vw, 28px); }
 .card h3, .contact-card h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.015em; }
 .button { box-sizing: border-box; min-height: 48px; padding: 12px 20px; border-radius: 10px; font-size: 1rem; line-height: 1.4; font-weight: 600; }
 .legal { box-sizing: border-box; width: 100%; max-width: 1000px; margin-inline: auto; padding-inline: 20px; }
 .legal h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); line-height: 1.3; margin-block: 2rem 1rem; }
 .mobile-menu > nav { max-width: calc(100vw - 24px); }
 .gemeinsamer-fuss a:hover { color: inherit; text-decoration: underline; }
 @media (max-width: 48rem) { .wrap:not(.header-inner), .legal { padding-inline: 16px; } .cards, .contact-grid { gap: 16px; } }
}

@media screen { .section-heading { display: block; } .section-heading > p { max-width: none; margin-top: 1rem; } .legal h1 { text-transform: none; } }

@media screen and (max-width: 52rem) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Freigegebener gestalterischer Feinschliff, 17.09.2026. */
@media screen {
 .hero-intro { padding-block: clamp(2rem, 5vw, 3.5rem); }
 .hero h1 span { white-space: nowrap; hyphens: none; }
 .approach-steps::before, .approach-steps li::before { display: none; }
 .approach-steps li { padding-left: 0; }
 .section-heading, .product-grid h2 { margin-bottom: var(--heading-space); }
}
.pdf-preview { margin: 1.5rem 0 0; }
.pdf-preview img { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pdf-preview figcaption, .product-preview figcaption { font-size: .8125rem; line-height: 1.5; color: var(--muted); margin-top: .6rem; }
.pdf-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.5rem; }
.product-preview { margin: 1.25rem 0 0; }
.product-preview img { width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.product-preview a { display: block; }
@media (max-width: 48rem) {
 .hero .button-row, .pdf-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
 .hero .button, .pdf-actions .button { width: 100%; min-height: 48px; }
 .pdf-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
 .hero h1 { font-size: clamp(2.1rem, 8.5vw, 3.5rem); }
}

/* Design-System v1.3.1: große Abschnittsbezeichner und Nummern
   in der Grundschrift, kleine Feldbezeichner weiterhin mono. */
.eyebrow, .step-number { font-family: var(--font); }
h1, h2, h3, h1 span, h2 span, h3 span, .hero h1 span { color: inherit; }

code { font-family: var(--mono); font-size: .75rem; }

/* Kompakte Abstände und wieder sichtbarer einmaliger Ablauf. */
@media screen {
 .section { padding-block: 24px; }
 .section > .wrap > :last-child { margin-bottom: 0; }
 .section-heading { margin-bottom: 24px; }
 .section-heading > p, .section h2 + p { margin-top: 16px; }
 .button-row, .pdf-actions { margin-top: 20px; }
 .approach-steps::before, .approach-steps li::before { display: block; }
 @media (max-width: 760px) { .approach-steps li { padding-left: 1.4rem; } }
 @media (max-width: 48rem) {
  .section { padding-block: 16px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading > p, .section h2 + p { margin-top: 12px; }
  .button-row, .pdf-actions { margin-top: 16px; }
 }
}

/* Partnerlogos auf partner.html. Dieselbe Umschaltung wie bei der eigenen
   Wortmarke (.logo-on-light / .logo-on-dark): Wer eine helle Fassung
   mitliefert, bekommt sie im Dunkelmodus; wer nur eine hat, behaelt sie in
   beiden Modi. Die Hoehe ist gedeckelt, damit ein breites und ein schmales
   Logo auf gleicher Linie stehen. */
.partner-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 70%;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 16px;
}
.partner-logo.logo-on-dark { display: none; }
:root[data-theme="dark"] .partner-logo.logo-on-light { display: none; }
:root[data-theme="dark"] .partner-logo.logo-on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .partner-logo.logo-on-light { display: none; }
  :root:not([data-theme="light"]) .partner-logo.logo-on-dark { display: block; }
}

/* ==================================================================== *
 * Startseite, 05.10.2026: Strichgrafiken der Leistungen und das
 * Formularbeispiel im PDF-Abschnitt. Bewegung in assets/linien.js.
 * Farben ausschließlich aus den Variablen des Tokenadapters 1.3.1:
 * --accent brand.accent, --accent-light brand.light, --ink text.primary,
 * --muted text.muted, --card surface.card, --paper surface.page,
 * --line border.default, --fine border.subtle. Kein neuer Farbwert.
 * ==================================================================== */

/* Strichgrafiken: führen die Linie der drei Schritte im Kopf weiter. */
.leistung-linie {
  display: block; width: 9rem; height: 4.8rem; margin: -4px 0 12px -3px;
  color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; overflow: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .linien-bereit .leistung-linie :is(path, circle, rect) { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .linien-bereit .leistung-linie.zeichnet :is(path, circle, rect) { animation: linie-zeichnen 1.4s ease-out forwards; }
  .linien-bereit .leistung-linie.zeichnet :nth-child(2) { animation-delay: .2s; }
  .linien-bereit .leistung-linie.zeichnet :nth-child(3) { animation-delay: .4s; }
  .linien-bereit .leistung-linie.zeichnet :nth-child(4) { animation-delay: .6s; }
  .linien-bereit .leistung-linie.zeichnet :nth-child(5) { animation-delay: .8s; }
  .linien-bereit .leistung-linie.zeichnet :nth-child(n+6) { animation-delay: 1s; }
}
@keyframes linie-zeichnen { to { stroke-dashoffset: 0; } }

/* Formularbeispiel: ein Prüfprotokoll, das sich einmal selbst ausfüllt.
   Gezeigt wird nur, was die Beiträge vom 17.09., 24.09. und 01.10.2026
   zusagen: Übernahme aus einem Textbaustein, eindeutige Auswahl, Kürzel
   und Uhrzeit, fehlende Angaben sichtbar, offene Mängel zusammengefasst. */
.formular-blatt {
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  padding: 24px; font-size: .9rem; line-height: 1.45; color: var(--ink);
}
.formular-blatt p { margin: 0; color: var(--ink) !important; }
.formular-blatt .f-marke { font: .72rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent) !important; margin-bottom: 14px; }
.f-kopf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.f-feld { min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--card); padding: 8px 10px; }
.f-feld span { display: block; font-size: .72rem; color: var(--muted); }
.f-feld b { display: block; min-height: 1.45em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.formular-blatt .f-quelle { margin: 6px 0 16px; font-size: .75rem; color: var(--muted) !important; }
.f-punkte { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fine); }
.f-punkte li { display: grid; grid-template-columns: minmax(0, 1fr) auto 5.5rem; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--fine); }
.f-titel { min-width: 0; }
.f-wahl { display: inline-flex; gap: 6px; }
.f-wahl i { font-style: normal; font-size: .75rem; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--card); white-space: nowrap; }
.f-wahl i.an { border-color: var(--ink); background: var(--ink); color: var(--card); }
.f-punkte li.mangel .f-wahl i.an { border-color: var(--accent); background: var(--accent); }
.f-zeichen { font: .7rem/1.4 var(--mono); color: var(--muted); text-align: right; white-space: nowrap; }
.f-punkte li.offen { box-shadow: inset 3px 0 0 var(--accent-light); padding-left: 10px; }
.f-punkte li.offen .f-zeichen { color: var(--accent); }
.f-summe { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 6px 6px 0; }
.f-summe p + p { margin-top: 4px; }
@media (max-width: 30rem) {
  .formular-blatt { padding: 16px; }
  .f-kopf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .f-kopf .f-feld:last-child { grid-column: 1 / -1; }
  .f-punkte li { grid-template-columns: minmax(0, 1fr) auto; }
  .f-zeichen { grid-column: 1 / -1; text-align: left; margin-top: -4px; }
}

/* Vor dem Ausfüllen: nur mit Skript und ohne Ruhewunsch. Der Endzustand
   steht im HTML; jeder Schritt bekommt ".da" und zeigt ihn. */
@media (prefers-reduced-motion: no-preference) {
  .formular-bereit .formular [data-schritt] { transition: opacity .45s ease, transform .45s ease, box-shadow .45s ease, background-color .3s ease, border-color .3s ease, color .3s ease; }
  .formular-bereit .formular .f-feld:not(.da) b { opacity: 0; }
  .formular-bereit .formular .f-quelle:not(.da) { opacity: 0; }
  .formular-bereit .formular li:not(.da) .f-wahl i.an { border-color: var(--line); background: var(--card); color: var(--muted); }
  .formular-bereit .formular li:not(.da) .f-zeichen { opacity: 0; }
  .formular-bereit .formular li.offen:not(.da) { box-shadow: none; }
  .formular-bereit .formular .f-summe:not(.da) { opacity: 0; transform: translateY(6px); }
  .formular-bereit .formular .f-feld b, .formular-bereit .formular .f-quelle, .formular-bereit .formular .f-zeichen, .formular-bereit .formular .f-wahl i { transition: opacity .45s ease, background-color .3s ease, border-color .3s ease, color .3s ease; }
}
@media print {
  .leistung-linie :is(path, circle, rect) { stroke-dashoffset: 0 !important; animation: none !important; }
  .formular [data-schritt], .formular [data-schritt] * { opacity: 1 !important; transform: none !important; }
}

/* ==================================================================== *
 * Zwei Angebote, 05.10.2026: DLIVR und mi-tool nebeneinander, mit
 * Gegenstück auf mi-tool.tech. Farben aus dem Tokenadapter 1.3.1
 * (--card surface.card, --fine border.subtle, --muted text.muted,
 * --accent brand.accent). Kein neuer Farbwert.
 * ==================================================================== */
.cards.angebote { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .cards.angebote { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.card.angebot { padding: 28px; }
@media (max-width: 760px) { .card.angebot { padding: 20px; } }
.angebot-logo { height: 2rem; width: auto; margin: 0 0 18px; align-self: flex-start; }
.card.angebot .label { margin-bottom: 10px; }
.card.angebot h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card.angebot .angebot-knopf { margin: auto 0 0; padding-top: 18px; }
.product-grid .button-row { margin-top: 12px; }
