@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
/* Local fallbacks scaled to the web fonts' width and line height (measured against Arial / Liberation): while the
   fonts load (swap), text sets in these, so nothing jumps when the real ones arrive. */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 103.08%;
  ascent-override: 97.50%;
  descent-override: 28.62%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  font-weight: 100 549;
  size-adjust: 99.17%;
  ascent-override: 88.54%;
  descent-override: 21.18%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial Bold"), local("Arial"), local("Liberation Sans Bold");
  font-weight: 550 900;
  size-adjust: 97.97%;
  ascent-override: 89.62%;
  descent-override: 21.43%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Geist Mono Fallback";
  src: local("Courier New"), local("Liberation Mono");
  size-adjust: 99.98%;
  ascent-override: 100.52%;
  descent-override: 29.50%;
  line-gap-override: 0%;
}

:root {
  /* Light and dark follow the system setting. light-dark() resolves where a token is used, against that element's
     color-scheme, so the pictures of the app and of paper below stay light ("Pictures stay light"). */
  color-scheme: light dark;
  --bg: light-dark(#F4F3EE, #131210);
  --paper: light-dark(#FFFFFF, #1C1B19);
  --chrome: light-dark(#ECE9E2, #282623);
  --ink: light-dark(#1C1B19, #F4F2EC);
  --ink-2: light-dark(#37332E, #DDD7CD);
  --muted: light-dark(#5F5951, #BDB6AB);
  --faint: light-dark(#6E675E, #A39C91);
  --line: light-dark(#E3DED4, #2E2C29);
  --line-2: light-dark(#D5CFC4, #3D3934);
  /* Edge of a field, chip or outline button: --line-2 in light, 3:1 against the dark surfaces */
  --line-ui: light-dark(#D5CFC4, #7A7368);
  /* Text on an --ink fill (.btn--dark, the pressed motion button) */
  --on-ink: light-dark(#FFFFFF, #1C1B19);

  --dark: #1C1B19;
  --dark-2: #232220;
  --dark-3: #2E2C29;
  --dark-line: #3A3630;
  --on-dark: #F4F2EC;
  --on-dark-2: #BDB6AB;
  --on-dark-3: #8E877C;

  --brand: light-dark(#1F6B45, #6FC08F);
  /* The brand green as a fill (green bands, ticks, pixel icons): the same in both schemes */
  --green: #1F6B45;
  --btn: #23744A;
  --btn-hover: #1C6440;
  --btn-edge: #17573A;
  --brand-deep: light-dark(#1F6B45, #6FC08F);
  --lime: #C9F27A;
  --mustard: #D9A441;
  --orange: #E8622A;
  --blue: #3E7BE0;
  --cream: light-dark(#F7F6F1, #232220);
  --mark: #C9F27A;
  --cta: light-dark(#C9F27A, #1E2A14);

  --font: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Archivo", "Archivo Fallback", "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 70rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
/* No grey tap flash; controls bring their own :active (see "Touch" at the end) */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; -webkit-tap-highlight-color: transparent; }
body { margin: 0; font: 400 1rem/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: anywhere; }
/* With large text on a narrow screen a long word may not fit its column: it breaks instead of pushing the page sideways.
   Tables keep whole words, their columns share the width by content. */
table { overflow-wrap: normal; }
img, svg { display: block; max-width: 100%; }
/* Pictures stay light: the app screens, the phone chats and the paper sheets show what the product and the
   documents look like, so in dark mode they keep their light look. Each one has its own background; color is
   set again because it inherits as a resolved colour, not as light-dark(). */
:is(.shot, .step__viz, .browser, .phone, .sheet, .aufst, .viz, .lcard__viz, .out, .st-mock, .ko-board, .ko-wa__frame, .ko-call) { color-scheme: light; color: var(--ink); }
/* They also keep their own line breaks (the page text may break inside long words, see body); with large text on a phone they break too */
:is(.shot, .step__viz, .browser, .phone, .sheet, .aufst, .viz, .lcard__viz, .out, .st-mock, .ko-board, .ko-wa__frame, .ko-call) { overflow-wrap: normal; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
/* Taps fire at once (no double-tap-zoom wait; pinch zoom stays), and a long press doesn't select a control's label */
a, button, summary, label { touch-action: manipulation; }
.btn, button, summary { -webkit-user-select: none; user-select: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.topbar :focus-visible, .foot :focus-visible, .ab-flow :focus-visible { outline-color: var(--lime); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 50; padding: .5rem .75rem; background: var(--ink); color: var(--on-ink); border-radius: .375rem; }
.skip:focus { left: .5rem; }
/* Read out, not shown */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Type */
h1, h2, h3, h4 { font-family: var(--display); }
h3 { text-wrap: balance; }
/* headings inside app/document pictures and uppercase labels stay Geist */
.job :is(h2, h3), .offer h3, .ko-board :is(h2, h3), .sheet h2,
.lg-promise h3, .lg-group h2, .lg-glance__h, .incl__h, .grp__h { font-family: var(--font); }
.h1 { font-size: clamp(2.6rem, .33rem + 5.52vw, 4.6rem); font-weight: 600; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font-size: clamp(2.1rem, .39rem + 3.83vw, 3.35rem); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h3 { font-size: 1.25rem; font-weight: 650; line-height: 1.2; letter-spacing: -.02em; }
.lede { font-size: clamp(1.06rem, .21rem + 1.2vw, 1.2rem); line-height: 1.55; color: var(--muted); }
.accent { color: var(--brand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .55rem 1.1rem; border-radius: .5rem; font-size: .95rem; font-weight: 560; white-space: nowrap; transition: background-color .15s, box-shadow .15s, transform .15s cubic-bezier(.2, .7, .2, 1); }
.btn svg { width: 1rem; height: 1rem; flex: none; }
.btn--go { color: #fff; background: var(--btn); box-shadow: inset 0 0 0 1px var(--btn-edge), inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 2px rgba(29, 27, 24, .18); }
@media (hover: hover) and (pointer: fine) { .btn--go:hover { background: var(--btn-hover); } }
.btn--ghost { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-ui), 0 1px 2px rgba(29, 27, 24, .07); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: light-dark(#FBFAF7, var(--dark-2)); box-shadow: inset 0 0 0 1px light-dark(#C6BFB2, #9E978C), 0 1px 2px rgba(29, 27, 24, .07); } }
.btn--dark { color: var(--on-ink); background: var(--ink); box-shadow: inset 0 0 0 1px light-dark(#000, var(--ink)), inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 2px rgba(29, 27, 24, .2); }
@media (hover: hover) and (pointer: fine) { .btn--dark:hover { background: light-dark(#2E2B27, #DDD7CD); } }
.btn--light { background: #F7F6F1; color: var(--dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 1px 2px rgba(29, 27, 24, .2); }
@media (hover: hover) and (pointer: fine) { .btn--light:hover { background: #fff; } }
.btn--line { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
@media (hover: hover) and (pointer: fine) { .btn--line:hover { background: rgba(255, 255, 255, .08); } }
.cta-row { display: flex; flex-wrap: wrap; gap: .625rem; }

/* Pixel icons */
.px { width: 1.75rem; height: 1.75rem; shape-rendering: crispEdges; flex: none; color: var(--green); --px2: #134A2F; --px3: #F7F6F1; }
.px--orange { color: var(--orange); --px2: #A9431A; --px3: #FFF1E8; }
.px--mustard { color: var(--mustard); --px2: #9A7220; --px3: #FFF6E0; }
.px--lime { color: #A8D65A; --px2: #5E8A2A; --px3: #F3FBE6; }

/* Dither between two colours, three rows: 25 %, 50 %, 75 % */
.dz { height: 24px; --dz:
  linear-gradient(90deg, var(--b) 0 8px, transparent 0) 0 0 / 32px 8px repeat-x,
  linear-gradient(90deg, var(--b) 0 8px, transparent 0) 8px 8px / 16px 8px repeat-x,
  linear-gradient(90deg, transparent 0 8px, var(--b) 0) 16px 16px / 32px 8px repeat-x;
  background: var(--dz), var(--a); }
/* The stripes keep the brand green in dark mode; the inline --a/--b and the band's strips name --brand(-deep) */
.band, .dz { --brand: var(--green); --brand-deep: var(--green); }

/* Top bar + nav */
.topbar { background: var(--dark); color: var(--on-dark-2); font-size: .85rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 2.5rem; padding-block: .4rem; text-align: center; flex-wrap: wrap; }
.topbar span { text-wrap: balance; }
.topbar b { font-weight: 600; color: var(--lime); }
.topbar a { color: #fff; font-weight: 560; display: inline-flex; align-items: center; gap: .2rem; }
.topbar a svg { width: .9rem; height: .9rem; }

.nav { position: sticky; top: 0; z-index: 20; background: light-dark(rgba(244, 242, 236, .92), rgba(19, 18, 16, .9)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { position: relative; display: flex; align-items: center; gap: 2rem; height: 4rem; }
.logo { display: flex; align-items: center; }
.logo img { height: 1.6rem; width: auto; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; margin-inline: auto; font-size: .94rem; color: var(--ink-2); }
.dd__btn { display: inline-flex; align-items: center; gap: .3rem; margin: 0 -.65rem; padding: .45rem .65rem; border-radius: .45rem; color: inherit; }
.dd__btn svg { width: .85rem; height: .85rem; color: var(--faint); transition: transform .2s; }
@media (hover: hover) and (pointer: fine) { .dd__btn:hover { color: var(--brand); } }
.dd__btn[aria-expanded="true"] { color: var(--ink); background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(29, 27, 24, .06); }
.dd__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd__panel { position: absolute; top: calc(100% + .45rem); left: 50%; z-index: 30; width: min(56rem, 100%); overflow: hidden; border-radius: .75rem; background: var(--paper); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(29, 27, 24, .35); transform: translateX(-50%); }
.dd__panel[hidden] { display: none; }
.dd__panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: .8rem; }
.dd__panel--split { display: grid; grid-template-columns: 1fr 17rem; width: min(45rem, 100%); }
.dd__h { margin-bottom: .55rem; font-size: .8rem; font-weight: 600; color: var(--brand); }
.dd__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.6rem 1.6rem 1.3rem; }
.dd__cols a { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .75rem; align-items: center; margin-inline: -.5rem; padding: .5rem; border-radius: .5rem; }
@media (hover: hover) and (pointer: fine) { .dd__cols a:hover { background: light-dark(#F6F3ED, var(--dark-2)); } }
.dd__ico { grid-row: span 2; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: .5rem; background: light-dark(#F7F5F0, var(--dark-2)); box-shadow: inset 0 0 0 1px var(--line); }
.dd__ico .px { width: 1.25rem; height: 1.25rem; max-width: none; }
.dd__cols b { font-size: .92rem; font-weight: 560; color: var(--ink); }
.dd__cols small { font-size: .78rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .dd__cols a:hover b { color: var(--brand); } }
.dd__foot { padding: .9rem 1.6rem; border-top: 1px solid var(--line); background: light-dark(#F4F2EC, #171614); font-size: .88rem; color: var(--muted); }
.dd__foot a { font-weight: 560; color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .dd__foot a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.dd__links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.6rem 1.6rem 1.4rem; }
.dd__links ul { display: grid; gap: .1rem; }
.dd__links a { display: block; margin-inline: -.5rem; padding: .5rem; border-radius: .45rem; font-size: .92rem; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .dd__links a:hover { background: light-dark(#F6F3ED, var(--dark-2)); color: var(--brand); } }
.dd__news { display: flex; flex-direction: column; padding: 1.6rem 1.5rem; border-left: 1px solid var(--line); background: light-dark(#F4F2EC, #171614); }
.dd__news strong { font-size: 1.1rem; font-weight: 650; line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.dd__news span { margin-top: .55rem; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.dd__news em { margin-top: auto; padding-top: 1.2rem; font-size: .84rem; font-style: normal; font-weight: 560; color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .dd__news:hover em { text-decoration: underline; text-underline-offset: 3px; } }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover, .nav__side a:not(.btn):hover { color: var(--brand); } }
.nav__side { display: flex; align-items: center; gap: 1.25rem; font-size: .94rem; color: var(--ink-2); }
.nav__side .btn { min-height: 2.25rem; padding: .35rem .85rem; font-size: .88rem; }
.nav__menu { display: none; }
/* Language switch DE / EN: the same page in the other language */
.lang { display: flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; letter-spacing: .03em; }
.lang a { color: var(--faint); }
.lang b { color: var(--ink); font-weight: 600; }
.lang i { font-style: normal; color: var(--faint); opacity: .5; }

/* Hero */
.hero { padding-top: clamp(3.5rem, 8vw, 5.75rem); text-align: center; }
.hero .h1 { max-width: 15ch; margin-inline: auto; }
.hero .lede { max-width: 62rem; margin: 1.5rem auto 0; text-wrap: balance; }
.hero .lede b { font-weight: 600; color: var(--ink); }
.hero .cta-row { justify-content: center; margin-top: 2rem; }

.stage { position: relative; margin-top: 3.25rem; }
.band { position: absolute; inset: auto 0 0; height: 56%; display: flex; flex-direction: column; }
.band > i { flex: 1; }
.band > .dz { flex: none; }

/* Product frame */
.shot { position: relative; z-index: 1; height: 37rem; overflow: hidden; border-radius: .875rem .875rem 0 0; background: var(--chrome); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(29, 27, 24, .45); text-align: left; }
.shot__bar { display: flex; align-items: center; gap: .25rem; padding: .4rem .4rem .4rem .4rem; }
.shot__tabs { display: flex; align-items: center; gap: .25rem; min-width: 0; }
.tab { display: inline-flex; align-items: center; gap: .45rem; height: 2.15rem; padding: 0 .8rem; border-radius: .45rem; font-size: .85rem; color: var(--muted); }
.tab svg { width: .95rem; height: .95rem; }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--ink); } }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); font-weight: 560; box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(29, 27, 24, .06); }
.tab[aria-selected="true"] svg { color: var(--brand); }

.app { display: grid; grid-template-columns: 1fr 17.5rem; height: calc(100% - 2.95rem); margin: 0 .4rem; background: var(--paper); border-radius: .5rem .5rem 0 0; box-shadow: 0 0 0 1px var(--line-2); overflow: hidden; font-size: .8rem; color: var(--ink-2); }
.app svg.i { width: .85rem; height: .85rem; flex: none; }
.shot__live { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; height: 2.15rem; padding: 0 .8rem; border-radius: .45rem; font-size: .82rem; font-weight: 560; white-space: nowrap; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2); }
.shot__live .pulse, .shot__live .pulse::after { background: #2F8A55; }
.shot__live time { font: 500 .74rem var(--mono); color: var(--faint); }

/* Hero demo: one job at a time on the left, the owner's WhatsApp on the right */
.jobs { min-width: 0; min-height: 0; }
.job { display: flex; flex-direction: column; height: 100%; }
.job[hidden] { display: none; }
.job__head { padding: 1.2rem 1.4rem 1rem; border-bottom: 1px solid var(--line); }
.job__head h2 { margin-top: .25rem; font-size: 1.35rem; font-weight: 650; letter-spacing: -.035em; color: var(--ink); }
.job__head p:last-child { margin-top: .15rem; color: var(--muted); }
.job__body { display: grid; grid-template-columns: 1fr 1fr; flex: 1; min-height: 0; }
.job__body > * { min-width: 0; padding: 1rem 1.4rem; }
.job__out { border-left: 1px solid var(--line); background: #FCFBF9; }
.job__out h3 { margin-top: .5rem; font-size: 1.3rem; font-weight: 650; letter-spacing: -.035em; color: var(--ink); }
.job__out .addr { margin-top: .15rem; color: var(--muted); }
.job__h { font-size: .78rem; font-weight: 500; color: var(--muted); }
.got { margin-top: .6rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--paper); }
.got li { display: flex; align-items: flex-start; gap: .55rem; padding: .55rem .7rem; border-top: 1px solid var(--line); line-height: 1.4; }
.got li:first-child { border-top: 0; }
.got li > svg { margin-top: .15rem; color: #2F8A55; }
.got small { display: block; font-size: .66rem; color: var(--faint); }
.job__state { display: flex; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .76rem; font-weight: 560; color: #24774A; }
.job__state.wait { color: #8A6511; }
.job__state.wait svg { display: none; }
.job__att { display: flex; align-items: center; gap: .4rem; margin-top: .6rem; font-size: .74rem; color: var(--muted); }
.day { display: grid; gap: .4rem; margin-top: .6rem; }
.slot { display: grid; grid-template-columns: 2.8rem 1fr; align-items: center; padding: .5rem .6rem; border-radius: .35rem; background: #F2EEE6; border-left: 3px solid var(--ink-2); line-height: 1.3; }
.slot time { font: 500 .7rem var(--mono); color: var(--faint); }
.slot small { display: block; font-size: .66rem; color: var(--faint); }
.slot--free { background: repeating-linear-gradient(135deg, #FFF7E2 0 6px, #FDF0CC 6px 12px); border: 1px dashed #D8B24E; border-left: 3px solid #D8B24E; }
.slot--free:has(.slot__new.is-on) { background: #E3F0E7; border: 0; border-left: 3px solid var(--brand); }
.slot--free:has(.slot__new.is-on) .slot__free, .js .slot__new:not(.is-on) { display: none; }
.job--done { align-items: center; justify-content: center; }
.js .job [data-s]:not(.is-on), .js .job [data-after]:not(.is-on) { visibility: hidden; opacity: 0; }
.js .job tr[data-s]:not(.is-on) { border-color: transparent; background: none; }

.wa { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line-2); background: var(--bg); }
.wa__top { display: flex; align-items: center; gap: .55rem; padding: .75rem .9rem; background: var(--dark); color: #fff; font-weight: 600; line-height: 1.25; }
.wa__top .av { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--paper); }
.wa__top small { display: block; font-size: .64rem; font-weight: 400; color: rgba(255, 255, 255, .62); }
.wa__msgs { display: flex; flex-direction: column; gap: .45rem; flex: 1; min-height: 0; overflow-y: auto; padding: .8rem .7rem 1rem; scrollbar-width: none; }
.wa__day { align-self: center; padding: .1rem .55rem; border-radius: .35rem; background: rgba(255, 255, 255, .7); font-size: .64rem; color: var(--muted); }
.wa .msg { flex: none; max-width: 94%; }
.wa__pdf { display: flex; align-items: center; gap: .4rem; margin-top: .45rem; padding: .45rem .55rem; border-radius: .35rem; background: #F4F1EA; font-size: .72rem; color: var(--ink-2); }
.wa__btns { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: .4rem -.6rem -.35rem; border-top: 1px solid var(--line); }
.wa__btns button { padding: .5rem .3rem; font-size: .76rem; font-weight: 600; color: var(--brand); transition: background-color .35s, color .35s; }
.wa__btns button:first-child { border-bottom-left-radius: .55rem; }
.wa__btns button + button { border-left: 1px solid var(--line); border-bottom-right-radius: .55rem; }
@media (hover: hover) and (pointer: fine) { .wa__btns button:hover { background: #F6F3ED; } }
.wa__btns .cursor { left: 2.6rem; top: .9rem; }
.msg.is-done .wa__btns button { color: var(--faint); pointer-events: none; }
/* The waiting Freigeben pulses through an opacity layer behind its label, not background-color, so the loop never repaints */
.wa__btns [data-approve] { position: relative; z-index: 0; }
.wa__btns [data-approve]::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #E6F4D2; opacity: 0; pointer-events: none; }
.msg.is-done .cursor { visibility: hidden; transition: visibility 0s .9s; }
.js .wa [data-for]:not(.is-on), .js .wa [data-after]:not(.is-on) { display: none; }


.crumb { display: flex; align-items: center; gap: .35rem; font-size: .7rem; color: var(--faint); }
.lines { width: 100%; margin-top: 1.1rem; border-collapse: collapse; font-size: .78rem; }
.lines :is(td, th) { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.lines td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 1rem; }
.lines th { font-weight: inherit; text-align: left; }
.lines tr.sum :is(td, th) { border-bottom: 0; padding-top: .7rem; font-weight: 650; color: var(--ink); }
.acts { display: flex; gap: .4rem; margin-top: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .7rem; border-radius: .38rem; font-size: .76rem; font-weight: 560; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip--go { color: #fff; background: var(--btn); box-shadow: inset 0 0 0 1px var(--btn-edge); }
@media (hover: hover) and (pointer: fine) { button.chip:hover { box-shadow: inset 0 0 0 1px #C6BFB2; } }
@media (hover: hover) and (pointer: fine) { button.chip--go:hover { background: var(--btn-hover); box-shadow: inset 0 0 0 1px var(--btn-edge); } }
.tag { display: inline-block; padding: .08rem .45rem; border-radius: .3rem; font-size: .66rem; font-weight: 600; white-space: nowrap; }
.tag--red { background: light-dark(#FCE4DA, #35190F); color: light-dark(#A13A15, #F4A27F); }
.tag--ok { background: light-dark(#E1F1E6, #18291F); color: light-dark(#24774A, #7CC79A); }
.tag--wait { background: light-dark(#FBF0D2, #2E2512); color: light-dark(#8A6511, #E8C66E); }
.tag--n { background: var(--chrome); color: var(--ink-2); }

/* Conversations (hero demo and module.html) */
.say { margin-top: .6rem; padding: .5rem .65rem; border-radius: .45rem; background: var(--paper); border: 1px solid var(--line); line-height: 1.45; }
.say b { display: block; font-size: .66rem; color: var(--faint); font-weight: 600; }
.say--them { background: #F4F1EA; }
.sum { margin-top: .8rem; padding: .6rem .7rem; border-radius: .45rem; background: #EEF6E8; border: 1px solid #CFE5C0; line-height: 1.45; }
.sum b { display: block; margin-bottom: .15rem; font-size: .66rem; color: var(--brand-deep); }

/* Calendar entries (module.html) */
.ev { position: absolute; left: .3rem; right: .3rem; padding: .3rem .45rem; border-radius: .35rem; background: #F2EEE6; border-left: 3px solid var(--ink-2); line-height: 1.3; overflow: hidden; text-align: left; }
@media (hover: hover) and (pointer: fine) { .ev:hover { filter: brightness(.97); } }
.ev.sel { outline: 2px solid var(--ink); outline-offset: 1px; }
.ev small { display: block; color: var(--faint); font-size: .62rem; }
.ev--brand { background: #E3F0E7; border-color: var(--brand); }
.ev--blue { background: #EAF1FD; border-color: var(--blue); }
.ev--wait { background: repeating-linear-gradient(135deg, #FFF7E2 0 6px, #FDF0CC 6px 12px); border: 1px dashed #D8B24E; border-left: 3px solid #D8B24E; }

/* Letter text */
.letter__p { margin-top: .6rem; padding: .8rem; border-radius: .45rem; background: var(--paper); border: 1px solid var(--line); line-height: 1.5; color: var(--ink-2); }

/* Tools strip */
.tools { background: var(--dark); color: var(--on-dark-3); }
.tools .wrap { display: flex; align-items: center; gap: 2.5rem; padding-block: 2.25rem; }
.tools p { flex: none; max-width: 13rem; padding-right: 2.5rem; border-right: 1px solid var(--dark-line); font-size: .85rem; line-height: 1.45; color: var(--on-dark-2); }
.marquee { display: flex; flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; flex: none; align-items: center; gap: 2.75rem; padding-right: 2.75rem; padding-block: .4rem; }
.tools li { display: inline-flex; align-items: center; gap: .75rem; font-size: 1.2rem; font-weight: 620; letter-spacing: -.03em; color: #CFC8BD; white-space: nowrap; transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .tools li:hover { color: #fff; } }
/* Same app tiles as in "Arbeitet mit", without the badge */
.tools .tool { width: 2.15rem; height: 2.15rem; border-radius: .54rem; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 16px -8px rgba(0, 0, 0, .7); }
.tools .tool::before { content: none; }

/* Pain */
.pain { background: var(--dark); color: var(--on-dark); padding-top: clamp(3rem, 5vw, 4rem); display: flow-root; overflow: clip; }
.pain__top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.pain .h2 { font-size: clamp(1.75rem, 4.4vw, 3.5rem); white-space: nowrap; }
.pain .h2 em { display: block; font-style: normal; color: var(--lime); }
.pain__lede { margin-top: 1.5rem; max-width: 30rem; font-size: 1.15rem; line-height: 1.5; color: var(--on-dark-2); }
.pain__lede b { font-weight: 400; color: var(--lime); }
.pile { height: 14.5rem; overflow: hidden; text-align: right; font-size: clamp(1.2rem, .48rem + 1.3vw, 1.55rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.55; color: var(--on-dark-3);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
          mask-image: linear-gradient(180deg, #000 30%, transparent); }
.pile li { height: 1.55em; transition: color .8s; }
.pile li:nth-child(1) { color: #EDE9E1; }
.pile li:nth-child(2) { color: #C9C2B7; }
.pile li:nth-child(3) { color: #A39B90; }
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--dark-line); }
.moments p { font-size: 1.02rem; line-height: 1.45; color: var(--on-dark); }
.moments p b { font-weight: 400; color: var(--mustard); }
.who-when { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; font-size: .78rem; line-height: 1.3; }
.who-when strong { display: block; font-weight: 600; }
.who-when span { color: var(--on-dark-3); }
.who-when .px { width: 1.5rem; height: 1.5rem; }
.roofs { width: 100%; height: auto; color: var(--dark-3); }
.pain .roofs { margin-top: 4rem; }

/* How it works */
.how { padding-block: clamp(4.5rem, 9vw, 7rem) clamp(2.5rem, 4vw, 3.5rem); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.25rem; }
.step__viz { position: relative; height: 13rem; overflow: hidden; border-radius: .6rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(29, 27, 24, .05); }
.step__n { position: absolute; z-index: 1; top: .8rem; right: .7rem; padding: .1rem .3rem; border-radius: .3rem; background: var(--paper); font: 600 .75rem var(--mono); color: var(--faint); }
.step .h3 { margin-top: 1.4rem; }
.step > p { margin-top: .5rem; max-width: 22rem; font-size: .92rem; color: var(--muted); }
.card-ui { position: absolute; left: 50%; transform: translateX(-50%); width: 16rem; padding: .7rem .8rem; border-radius: .5rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 12px 24px -14px rgba(29, 27, 24, .35); font-size: .74rem; }
.card-ui__h { display: flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); }
.card-ui__h .px { position: static; width: .95rem; height: .95rem; }
.card-ui__s { margin: .15rem 0 .5rem; color: var(--faint); font-size: .7rem; }
.card-ui__l { display: flex; justify-content: space-between; gap: .5rem; padding: .25rem .45rem; border-radius: .25rem; font-size: .7rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card-ui__l + .card-ui__l { margin-top: .2rem; }
.card-ui__l--a { background: #F7F3EC; color: var(--ink-2); }
.card-ui__l--b { background: #E6F2E9; color: var(--brand-deep); font-weight: 600; }
.card-ui .acts { margin-top: .55rem; }
.card-ui .chip { padding: .22rem .55rem; font-size: .68rem; }
.card-ui--sm { padding: .4rem .7rem; }
.card-ui--list { padding: .55rem .7rem; }
.card-ui__h { white-space: nowrap; }
.card-ui__h .tag { margin-left: auto; }
.done { display: grid; gap: .2rem; margin-top: .4rem; }
.done li { display: flex; align-items: center; gap: .5rem; padding: .2rem .45rem; line-height: 1.3; border-radius: .3rem; background: #F7F4EE; color: var(--ink-2); font-size: .72rem; white-space: nowrap; }
.done li svg { flex: none; width: .9rem; height: .9rem; padding: .15rem; border-radius: 50%; background: #2F8A55; color: #fff; }
/* Each step shows a different thing: 01 a phone call, 02 your WhatsApp, 03 the invoice on paper */
.step__stage { position: absolute; top: 0; bottom: 0; left: 50%; width: min(16.5rem, 100% - .75rem); translate: -50%; font-size: .74rem; line-height: 1.3; }
.call { position: absolute; top: 2.4rem; left: 0; right: 0; display: flex; align-items: center; gap: .6rem; padding: .4rem .85rem .4rem .4rem; border-radius: 999px; background: var(--brand); color: #fff; box-shadow: 0 12px 24px -14px rgba(19, 74, 47, .8); }
.call__av { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--lime); }
.call__av .px { width: 1.05rem; height: 1.05rem; }
.call__who { flex: 1; min-width: 0; white-space: nowrap; }
.call__who b { display: block; font-size: .8rem; font-weight: 600; }
.call__sub { display: grid; font-size: .66rem; color: #BFDCCB; }
.call__sub > span { grid-area: 1 / 1; display: flex; align-items: center; gap: .25rem; }
.call__sub > span + span { opacity: 0; color: var(--lime); }
.call__sub svg { width: .7rem; height: .7rem; }
.call__wave { display: flex; align-items: center; gap: 2px; height: 1.3rem; }
.call__wave i { width: 3px; height: 100%; border-radius: 1px; background: var(--lime); transform: scaleY(var(--h)); }
.facts { position: absolute; top: 5.85rem; left: 1.4rem; display: grid; justify-items: start; gap: .4rem; padding-left: 1rem; }
.facts::before { content: ""; position: absolute; left: 0; top: -.6rem; bottom: .8rem; border-left: 1.5px dotted #B4AC9F; transform-origin: top; }
.facts li { position: relative; display: flex; align-items: baseline; gap: .45rem; padding: .3rem .65rem; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.facts li::before { content: ""; position: absolute; left: -1rem; top: 50%; width: .85rem; border-top: 1.5px dotted #B4AC9F; }
.facts small { font-size: .66rem; font-weight: 500; opacity: .75; }
.fact--a { background: #FBF0D2; color: #6E500F; }
.fact--p { background: #FCE4DA; color: #A13A15; }
.fact--d { background: #E3F2CF; color: var(--brand-deep); }
.mphone { position: absolute; top: 1rem; bottom: -1rem; left: 1.4rem; right: 1.4rem; display: flex; flex-direction: column; border-radius: 1.3rem 1.3rem 0 0; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 6px #1F1D1A, 0 24px 40px -20px rgba(29, 27, 24, .55); }
.mphone__top { display: flex; align-items: center; gap: .45rem; padding: .5rem .7rem .45rem; background: var(--dark); color: #fff; font-weight: 600; }
.mphone__top .av { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--paper); }
.mphone__top small { display: block; font-size: .6rem; font-weight: 400; color: rgba(255, 255, 255, .62); }
.mphone__chat { display: flex; flex-direction: column; gap: .3rem; padding: .45rem .55rem; }
.mm { align-self: flex-start; max-width: 92%; padding: .35rem .5rem; border-radius: .5rem; background: #fff; box-shadow: 0 1px 0 rgba(29, 27, 24, .08); }
.mm--doc { align-self: stretch; max-width: none; padding: .3rem .3rem 0; }
.mm__doc { display: flex; align-items: center; gap: .45rem; padding: .3rem .45rem; border-radius: .35rem; background: #F4F1EA; }
.mm__doc .px { width: 1.15rem; height: 1.15rem; }
.mm__doc b { display: block; font-size: .72rem; }
.mm__doc small { display: block; font-size: .6rem; color: var(--faint); }
.mm__sum { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mm__btns { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: .3rem -.3rem 0; border-top: 1px solid var(--line); }
.mm__btns > span { padding: .32rem; text-align: center; font-weight: 600; color: var(--brand); }
.mm__btns > span:first-child { border-bottom-left-radius: .5rem; }
.mm__btns > span + span { border-left: 1px solid var(--line); }
.mm__btns .cursor { left: 3.4rem; top: .7rem; }
/* Freigeben: the tap flash and the greyed-out label are opacity layers (like .call__sub), so the 6 s loop never repaints */
.mm__ok { position: relative; z-index: 0; display: grid; }
.mm__ok > span { grid-area: 1 / 1; }
.mm__ok > span + span { color: var(--faint); opacity: 0; }
.mm__ok::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #E3F2CF; opacity: 0; }
.mm--me { align-self: flex-end; display: flex; align-items: center; gap: .3rem; background: #DCF3D0; font-weight: 500; }
.mm--me svg { width: .75rem; height: .75rem; color: var(--blue); }
.inv { position: absolute; top: 1.5rem; bottom: -1.5rem; left: .6rem; width: 11.2rem; display: flex; flex-direction: column; gap: .3rem; padding: .85rem .9rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 14px 28px -16px rgba(29, 27, 24, .45); rotate: -2.5deg; }
.inv__h { display: flex; align-items: baseline; justify-content: space-between; }
.inv__h b { font-size: .82rem; }
.inv__h span { font: 500 .58rem var(--mono); color: var(--faint); }
.inv__to { margin-bottom: .3rem; font-size: .62rem; color: var(--faint); white-space: nowrap; }
.inv__l { display: flex; justify-content: space-between; padding-bottom: .25rem; border-bottom: 1px solid var(--line); font-size: .64rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.inv__l--sum { border: 0; font-size: .7rem; font-weight: 700; color: var(--ink); }
.inv__stamp { position: absolute; left: 1.2rem; top: 7.75rem; padding: .15rem .55rem; border: 2px solid currentColor; border-radius: .3rem; color: var(--brand); font: 700 .95rem var(--mono); letter-spacing: .14em; text-transform: uppercase; rotate: -9deg; opacity: .88; mix-blend-mode: multiply; }
.inv__note { position: absolute; top: 2.3rem; right: .2rem; width: 5.4rem; padding: .55rem .55rem .7rem; background: #F7DC8A; color: #5C430B; font-size: .66rem; font-weight: 600; line-height: 1.25; rotate: 5deg; box-shadow: 0 8px 14px -8px rgba(92, 67, 11, .55); }
.inv__rate { position: absolute; right: 0; bottom: 1.3rem; display: grid; gap: .2rem; padding: .45rem .6rem; border-radius: .55rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 12px 24px -14px rgba(29, 27, 24, .4); }
.inv__rate > span { display: flex; gap: 2px; }
.inv__rate .px { width: .8rem; height: .8rem; }
.inv__rate small { font-size: .6rem; color: var(--muted); white-space: nowrap; }

/* Whole office */
.office { padding-block: clamp(2rem, 5vw, 3.5rem) 0; }
.office .h2 { max-width: 19ch; }
.office .cta-row { margin-top: 2rem; }
.stage--b { margin-top: 3.5rem; }
.made { display: flex; align-items: center; gap: .6rem; max-width: 46rem; margin-bottom: .9rem; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.made b { font-weight: 600; color: var(--ink); }
.made .px { width: 1.3rem; height: 1.3rem; }
.stage--b .band { height: 52%; }
.browser { position: relative; z-index: 1; height: 30rem; overflow: hidden; border-radius: .875rem .875rem 0 0; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(29, 27, 24, .45); }
.browser__bar { display: flex; align-items: center; height: 2.6rem; padding: 0 .9rem; background: var(--chrome); border-bottom: 1px solid var(--line-2); }
.browser__bar i { width: .6rem; height: .6rem; margin-right: .35rem; background: #D3CCBF; }
.browser__url { display: flex; align-items: center; gap: .4rem; margin: 0 auto; padding: .2rem 1.6rem; border-radius: .35rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2); font-size: .76rem; color: var(--muted); }
.browser__url::before { content: ""; width: .45rem; height: .45rem; background: #2F8A55; }
.offer { display: grid; grid-template-columns: 1fr 15rem; gap: 2.5rem; max-width: 52rem; padding: 2rem 2.4rem; font-size: .84rem; color: var(--ink-2); }
.offer__firm { display: flex; align-items: center; gap: .6rem; font-weight: 650; color: var(--ink); }
.offer__firm .av { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: .4rem; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; }
.offer h3 { margin-top: 1.6rem; font-size: 1.6rem; font-weight: 650; letter-spacing: -.04em; color: var(--ink); }
.offer .meta { margin-top: .2rem; color: var(--faint); }
.offer .lines { font-size: .84rem; }
.offer .lines tr.gross :is(td, th) { font-size: .95rem; }
.offer__side { align-self: start; margin-top: 4.3rem; padding: 1rem; border-radius: .6rem; border: 1px solid var(--line); background: #FBFAF7; }
.offer__side .btn { width: 100%; min-height: 2.4rem; font-size: .84rem; margin-top: .5rem; }
.offer__side dl { margin: 0 0 .9rem; display: grid; gap: .5rem; }
.offer__side dt { font-size: .7rem; color: var(--faint); }
.offer__side dd { margin: 0; color: var(--ink); font-weight: 560; }
.phone { position: absolute; z-index: 2; right: 2.5rem; bottom: 0; width: 17.5rem; height: 25rem; border-radius: 1.5rem 1.5rem 0 0; background: var(--bg); box-shadow: 0 0 0 7px #1F1D1A, 0 30px 60px -20px rgba(29, 27, 24, .5); display: flex; flex-direction: column; overflow: hidden; font-size: .78rem; }
.phone__top { display: flex; align-items: center; gap: .5rem; padding: 1.4rem .9rem .6rem; background: var(--dark); color: #fff; }
.phone__top .av { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--brand); font-size: .62rem; font-weight: 700; }
.phone__top small { display: block; font-size: .64rem; color: rgba(255, 255, 255, .62); }
.msgs { display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; flex: 1; min-height: 0; overflow: hidden; padding: .8rem .7rem; }
.msg { max-width: 85%; padding: .45rem .6rem .35rem; border-radius: .55rem; background: #fff; line-height: 1.4; box-shadow: 0 1px 0 rgba(29, 27, 24, .08); }
.msg time { display: block; text-align: right; font-size: .6rem; color: var(--faint); }
.msg--me { align-self: flex-end; background: #E2ECE5; }
.msg--bot b { display: block; font-size: .64rem; color: var(--brand-deep); }

/* Features grid */
.features { background: var(--dark); color: var(--on-dark); padding-block: clamp(3.5rem, 7vw, 5rem); }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--dark-line); border-radius: .75rem; overflow: clip; background: var(--dark-2); }
.fgrid > div { padding: 1.5rem 1.4rem 1.6rem; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.fgrid > div:nth-child(4n) { border-right: 0; }
.fgrid > div:nth-child(n+5) { border-bottom: 0; }
.fgrid h3 { margin-top: 1.1rem; font-size: 1.05rem; font-weight: 620; letter-spacing: -.01em; }
.fgrid p { margin-top: .45rem; font-size: .88rem; line-height: 1.5; color: var(--on-dark-2); }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.promise { position: relative; display: flex; flex-direction: column; padding: 3.75rem 1.4rem 1.2rem; border-radius: .75rem; background: var(--dark-2); border: 1px solid var(--dark-line); overflow: hidden; }
.promise .roofs { position: absolute; top: 0; left: 0; right: 0; height: 2.25rem; color: var(--dark-3); border-bottom: 1px solid var(--dark-3); }
.promise h3 { font-size: clamp(1.7rem, .18rem + 2.34vw, 2.15rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; }
.promise p { margin-top: .6rem; font-size: .9rem; color: var(--on-dark-2); }
.promise footer { display: flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--dark-line); font-size: .78rem; }
.promise > p { margin-bottom: 1.5rem; }
.promise footer span { color: var(--on-dark-3); }
.promise footer a { margin-left: auto; color: var(--lime); font-weight: 560; }
@media (hover: hover) and (pointer: fine) { .promise footer a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.promise footer .px { width: 1.35rem; height: 1.35rem; }

/* Switch (brand section) */
.switch { background: var(--green); color: #fff; padding-block: clamp(4rem, 8vw, 6rem); }
.switch .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: start; }
.switch .h2 { font-size: clamp(2.1rem, .46rem + 3.53vw, 3.2rem); }
.switch__lede { margin-top: 1.4rem; max-width: 31rem; font-size: 1.12rem; line-height: 1.55; color: #CFE6D8; }
.squares { display: flex; gap: .55rem; margin: 1.9rem 0 1.6rem; }
.squares i { width: .55rem; height: .55rem; background: var(--mark); }
.objections li { color: #fff; margin-top: .75rem; max-width: 32rem; line-height: 1.45; }
.objections q { color: rgba(255, 255, 255, .62); quotes: "„" "“"; }
.switch .cta-row { margin-top: 2.1rem; }
.uses { margin-top: 2.4rem; }
.uses ul { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.uses li { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .75rem .3rem .3rem; border-radius: .6rem; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-size: .84rem; transition: background-color .2s, box-shadow .2s; }
@media (hover: hover) and (pointer: fine) { .uses li:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); } }
/* App tile with the tool's logo; the lime badge says "verbunden" */
.tool { position: relative; flex: none; width: 1.75rem; height: 1.75rem; border-radius: .44rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .12); }
.tool svg { display: block; width: 100%; height: 100%; }
.tool::before { content: ""; position: absolute; right: -.25rem; bottom: -.25rem; width: .64rem; height: .64rem; border-radius: 50%; box-shadow: 0 0 0 2px var(--green);
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.2 6.2l1.9 1.9 3.7-4.2' fill='none' stroke='%231C1B19' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.uses a { display: inline-block; margin-top: .8rem; font-size: .84rem; color: #CFE6D8; }
@media (hover: hover) and (pointer: fine) { .uses a:hover { color: #fff; } }
.setup { display: grid; gap: 1rem; }
.setup article { padding: 1.4rem 1.4rem 1.2rem; border-radius: .6rem; background: var(--cream); color: var(--ink); box-shadow: 0 20px 40px -24px rgba(29, 27, 24, .5); }
.setup p { font-size: 1.12rem; font-weight: 620; letter-spacing: -.025em; line-height: 1.35; }
.setup mark { padding: 0 .15rem; background: var(--mark); color: var(--dark); }
.setup__done { margin-top: 1rem; }
.setup__done li { display: flex; align-items: center; gap: .6rem; padding: .48rem 0; font-size: .92rem; font-weight: 560; line-height: 1.35; color: var(--ink-2); }
.setup__done li + li { border-top: 1px solid var(--line); }
.setup__done .i { width: 1.15rem; height: 1.15rem; padding: .2rem; flex: none; border-radius: 50%; background: var(--green); color: #fff; }
.setup footer { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; font-size: .8rem; }
.setup footer strong { display: block; font-weight: 600; }
.setup footer span { color: var(--muted); }
.setup footer a { margin-left: auto; color: var(--brand-deep); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .setup footer a:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* Trades */
.trades { padding-block: clamp(4.5rem, 9vw, 7rem); }
.trades__head { display: grid; grid-template-columns: 1fr minmax(0, 30rem); gap: 2.5rem 4rem; align-items: end; }
.trades .h2 { max-width: 18ch; }
.trades .cta-row { margin-top: 2rem; }
.trades__list ul { display: flex; flex-wrap: wrap; gap: .45rem; }
.trades__list li { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .8rem .42rem .65rem; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .88rem; font-weight: 560; }
.trades__list .i { width: .9rem; height: .9rem; flex: none; color: var(--brand); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.5rem; }
.tcard { display: flex; flex-direction: column; padding: 1.25rem .4rem 1.1rem; border-radius: .6rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(29, 27, 24, .05); }
.tcard:has(> img) { padding-top: .4rem; }
.tcard img { width: 100%; height: 10rem; object-fit: cover; border-radius: .4rem; margin-bottom: 1.1rem; }
.tcard__trade { display: flex; justify-content: space-between; gap: 1rem; margin: 0 1rem; font-size: .74rem; font-weight: 600; color: var(--brand); }
.tcard__trade span { font-weight: 500; color: var(--faint); }
.tcard h3 { margin: .45rem 1rem 0; font-size: 1.25rem; font-weight: 620; letter-spacing: -.02em; line-height: 1.22; text-wrap: balance; }
.tcard--more > p { margin: .55rem 1rem 0; font-size: .93rem; line-height: 1.5; color: var(--ink-2); }
.tcard__ask { margin: auto 1rem 1.1rem; padding-top: 1.4rem; }
.tcard__ask small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
.tcard__ask ul { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.tcard__ask li { padding: .24rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.tcard__ask li:nth-child(1) { background: light-dark(#FBF0D2, #2E2512); color: light-dark(#6E500F, #E8C66E); }
.tcard__ask li:nth-child(2) { background: light-dark(#FCE4DA, #35190F); color: light-dark(#A13A15, #F4A27F); }
.tcard__ask li:nth-child(3) { background: light-dark(#E3F2CF, #18291F); color: var(--brand-deep); }
.tcard footer { display: flex; align-items: center; gap: .6rem; margin: 0 1rem; padding-top: .95rem; border-top: 1px solid var(--line); }
.tcard footer p { font-size: .88rem; font-weight: 560; line-height: 1.4; color: var(--brand-deep); }
.tcard footer .px { width: 1.4rem; height: 1.4rem; }
.tcard:not(:has(> img)) h3 { font-size: 1.6rem; font-weight: 650; letter-spacing: -.03em; line-height: 1.12; }
.tcard--dark { background: var(--dark); color: var(--on-dark); box-shadow: none; }
.tcard--dark .tcard__trade { color: var(--lime); }
.tcard--dark .tcard__trade span, .tcard--dark .tcard__ask small { color: var(--on-dark-3); }
.tcard--dark footer { border-color: var(--dark-line); }
.tcard--dark footer p { color: var(--on-dark); }
.tcard--more footer { margin-top: auto; padding-top: 1.4rem; border-top: 0; }
.tcard--more footer a { font-size: .88rem; font-weight: 600; color: var(--brand-deep); }
@media (hover: hover) and (pointer: fine) { .tcard--more footer a:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* FAQ */
.faq { padding-block: clamp(2rem, 5vw, 3rem) clamp(4.5rem, 9vw, 6.5rem); }
.faq .wrap { display: grid; grid-template-columns: 1fr 1.55fr; gap: 3.5rem; align-items: start; }
.faq .h2 { max-width: 11ch; }
.faq__aside { position: sticky; top: 6rem; }
.faq__aside p { margin-top: 1.4rem; color: var(--muted); }
.faq__aside a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { display: grid; grid-template-columns: 2.25rem 1fr 1.25rem; align-items: baseline; gap: .5rem; padding: 1.15rem 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary small { font: 600 .72rem var(--mono); color: var(--faint); }
.qa summary span { font-size: 1.18rem; font-weight: 620; letter-spacing: -.03em; line-height: 1.3; }
.qa summary::after { content: ""; align-self: center; width: 1rem; height: 1rem; background:
  linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; }
.qa[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat; }
@media (hover: hover) and (pointer: fine) { .qa summary:hover span { color: var(--brand-deep); } }
.qa p { padding: 0 2.5rem 1.4rem 2.75rem; color: var(--muted); line-height: 1.6; }

/* Final CTA */
.cta { background: var(--cta); text-align: center; padding-block: clamp(4rem, 8vw, 5.5rem); }
.cta .h2 { max-width: 20ch; margin-inline: auto; }
.cta .lede { max-width: 35rem; margin: 1.3rem auto 0; color: light-dark(#2F4A1B, #CDE0B5); }
.cta .cta-row { justify-content: center; margin-top: 2rem; }
.cta .btn--ghost { background: light-dark(rgba(255, 255, 255, .55), rgba(255, 255, 255, .06)); box-shadow: inset 0 0 0 1px light-dark(rgba(29, 27, 24, .2), rgba(255, 255, 255, .45)); }
@media (hover: hover) and (pointer: fine) { .cta .btn--ghost:hover { background: light-dark(rgba(255, 255, 255, .8), rgba(255, 255, 255, .12)); } }
/* Büro-Check form in the closing section (POST /anfrage) */
.check { display: grid; gap: 1.15rem; max-width: 44rem; margin: 2.25rem auto 0; padding: 2rem; text-align: left; background: var(--paper); border-radius: 1.1rem; box-shadow: 0 0 0 1px rgba(29, 27, 24, .08), 0 1px 2px rgba(29, 27, 24, .06), 0 24px 48px -28px rgba(29, 27, 24, .45); }
.check__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1rem; }
.check__hp { position: absolute; left: -9999px; }
.check > [hidden] { display: none; }
.field { display: grid; gap: .4rem; font-size: .82rem; font-weight: 560; color: var(--ink-2); }
.field input, .field select { width: 100%; min-height: 2.85rem; padding: .6rem .85rem; border: 0; border-radius: .55rem; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-ui), 0 1px 2px rgba(29, 27, 24, .05); font: inherit; font-size: .94rem; font-weight: 400; color: var(--ink); transition: box-shadow .15s; }
.field select { appearance: none; padding-right: 2.6rem; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5951' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .85rem center / 1rem no-repeat; cursor: pointer; }
.field input::placeholder { color: #A39C91; }
/* The select's arrow is an image, which light-dark() can't recolour (light-dark() images aren't Baseline yet): a lighter stroke on the dark field */
@media (prefers-color-scheme: dark) {
  .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A938A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
}
/* iOS zooms into any field under 16px and doesn't zoom back out */
@media (pointer: coarse) { .field input, .field select { font-size: max(16px, 1rem); } }
@media (hover: hover) and (pointer: fine) { .field input:hover, .field select:hover { box-shadow: inset 0 0 0 1px light-dark(#B9B1A3, #9E978C), 0 1px 2px rgba(29, 27, 24, .05); } }
.field input:focus, .field select:focus { box-shadow: inset 0 0 0 1px var(--brand), 0 0 0 3px rgba(31, 107, 69, .16); }
.check__chips { display: flex; flex-wrap: wrap; gap: .4rem .35rem; margin: 0; padding: 0; border: 0; }
.check__chips legend { margin-bottom: .55rem; padding: 0; font-size: .82rem; font-weight: 560; color: var(--ink-2); }
/* The chip is the label; the real checkbox inside it draws the + / tick itself (appearance: none). */
.check__chips label { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.1rem; padding: .3rem .7rem .3rem .55rem; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-ui); font-size: .82rem; color: var(--ink-2); cursor: pointer; user-select: none; transition: background-color .15s, box-shadow .15s, color .15s; }
.check__chips input { appearance: none; flex: none; width: .7rem; height: .7rem; margin: 0; background: currentColor; opacity: .5; cursor: pointer; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (hover: hover) and (pointer: fine) { .check__chips label:hover { background: light-dark(#FBFAF7, var(--dark-2)); box-shadow: inset 0 0 0 1px light-dark(#B9B1A3, #9E978C); } }
.check__chips label:has(:checked) { background: var(--green); color: #fff; box-shadow: inset 0 0 0 1px var(--btn-edge); }
@media (hover: hover) and (pointer: fine) { .check__chips label:hover:has(:checked) { background: var(--btn-hover); } }
.check__chips input:checked { opacity: 1; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.check__chips label:has(:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (forced-colors: active) {
  .check__chips label { border: 1px solid CanvasText; }
  .check__chips input { background: CanvasText; }
}
.check__ok { display: flex; align-items: flex-start; gap: .65rem; padding-top: 1.15rem; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check__ok input { appearance: none; flex: none; width: 1.15rem; height: 1.15rem; margin: .02rem 0 0; border-radius: .3rem; background: var(--paper); box-shadow: inset 0 0 0 1.5px light-dark(#B9B1A3, #8E877C); cursor: pointer; transition: background-color .15s, box-shadow .15s; }
@media (hover: hover) and (pointer: fine) { .check__ok input:hover { box-shadow: inset 0 0 0 1.5px var(--brand); } }
.check__ok input:checked { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .75rem no-repeat; box-shadow: inset 0 0 0 1px var(--btn-edge); }
.check__ok input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.check__ok a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.check .btn { width: 100%; min-height: 3rem; }
.check__note { margin-top: -.3rem; font-size: .76rem; color: var(--faint); text-align: center; }
.check__status { padding: .7rem .85rem; border-radius: .5rem; background: light-dark(#E3F0E7, #18291F); color: var(--brand-deep); font-size: .86rem; }
.check__status--error { background: light-dark(#FBE6DC, #35190F); color: light-dark(#9A3A12, #F4A27F); }
/* site.js focuses the message so it is read out; it isn't a control, so no ring */
.check__status:focus { outline: 0; }
.check__req { margin-top: -.4rem; font-size: .8rem; color: var(--muted); }
.check__status:has(> .px) { display: flex; align-items: flex-start; gap: .7rem; }
.check__status > .px { width: 1.5rem; height: 1.5rem; margin-top: .02rem; }
/* While the request is on its way (site.js): no hover colour change, no second send */
.btn[aria-busy="true"] { pointer-events: none; }
.btn .spin { flex: none; width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin-top: 2rem; font-size: .86rem; color: light-dark(#2A3D17, #CDE0B5); }
.ticks li { display: flex; align-items: center; gap: .5rem; }
.ticks li::before { content: ""; width: .5rem; height: .5rem; background: var(--brand-deep); }

/* Footer */
.foot { background: var(--dark); color: var(--on-dark-2); font-size: .88rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; padding-block: 3.5rem 2.5rem; }
.foot__brand img { height: 1.5rem; width: auto; }
.foot__brand p { margin-top: .8rem; max-width: 15rem; line-height: 1.5; }
.foot h2 { font-size: .85rem; font-weight: 600; color: #fff; }
.foot ul { margin-top: .8rem; display: grid; gap: .45rem; }
/* thumb-sized tap areas: footer links get real spacing, the arrow links in card footers a larger hit area without moving */
@media (pointer: coarse) {
  .foot ul { gap: 0; }
  .foot li a { display: inline-block; padding-block: .7rem; }
  .promise footer a, .setup footer a, .tcard--more footer a { padding-block: .75rem; margin-block: -.75rem; }
}
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: #fff; } }
.foot__base { padding-block: 1.2rem; border-top: 1px solid var(--dark-line); font-size: .8rem; color: var(--on-dark-3); }
.foot__px { display: flex; justify-content: space-between; padding-block: 1.5rem 0; overflow: hidden; height: 5.25rem; }
.foot__px .px { width: 4.5rem; height: 4.5rem; }

/* Subpages: page header, long text, current menu item */
.phero { padding-block: clamp(3.5rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 4rem); text-align: center; }
.phero .h1 { max-width: 16ch; margin-inline: auto; }
.phero .lede { max-width: 38rem; margin: 1.4rem auto 0; }
.phero .cta-row { justify-content: center; margin-top: 2rem; }
.prose { max-width: 44rem; line-height: 1.65; color: var(--ink-2); }
.prose :is(p, li) { text-wrap: pretty; hyphens: auto; }
.prose h2 { margin-top: 2.6rem; font-size: 1.4rem; font-weight: 650; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.prose h3 { margin-top: 1.8rem; font-size: 1.08rem; font-weight: 650; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin-top: .8rem; }
.prose ul { padding-left: 1.2rem; list-style: square; }
.prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .35rem; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 620; color: var(--ink); }
.nav__links > a[aria-current="page"], .dd__btn.is-current { color: var(--ink); font-weight: 600; }
.dd__cols a[aria-current="page"] b, .dd__links a[aria-current="page"] { color: var(--brand); font-weight: 650; }

/* Demo frame: hint row, toast, done screen */
.try { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: .9rem; text-align: left; }
.try__hint { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.try__hint .px { width: 1.3rem; height: 1.3rem; }
.try__reset, .motion-btn { flex: none; margin-left: .3rem; padding: .18rem .6rem; border-radius: .35rem; font-size: .78rem; font-weight: 560; color: var(--brand-deep); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-ui); }
.try__note { max-width: 29rem; font-size: .78rem; line-height: 1.4; color: var(--faint); text-align: right; }
.motion-btn { vertical-align: baseline; min-height: 1.5rem; }  /* WCAG 2.5.8: a 24px target */
.motion-btn[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); box-shadow: none; }
/* On the dark catalog (module.html) --faint is too dark: the lighter grey of the dark sections */
.catalog .try__note { color: var(--on-dark-3); }
.shot__toast { position: absolute; left: 50%; bottom: 1.4rem; z-index: 5; max-width: min(30rem, 90%); padding: .55rem .95rem; border-radius: .6rem; background: var(--ink); color: #fff; font-size: .8rem; line-height: 1.4; text-align: center; opacity: 0; transform: translate(-50%, 8px); pointer-events: none; transition: opacity .25s, transform .25s; }
.shot__toast.on { opacity: 1; transform: translate(-50%, 0); }
.all { max-width: 27rem; padding: 1.6rem 1.4rem; text-align: center; }
.all > .px { width: 3rem; height: 3rem; margin: 0 auto; }
.all h2 { margin-top: .9rem; font-size: 1.5rem; font-weight: 650; letter-spacing: -.04em; color: var(--ink); }
.all > p { margin-top: .3rem; color: var(--muted); }
.all .all__h { margin-top: 1.1rem; font-weight: 600; color: var(--ink); }
.all ul { display: grid; gap: .35rem; margin-top: .5rem; text-align: left; }
.all li { display: flex; align-items: baseline; gap: .6rem; padding: .45rem .7rem; border-radius: .4rem; background: #F7F4EE; }
.all li b { min-width: .8rem; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.all .acts { justify-content: center; }

/* Sicherheit und Datenschutz */
.trust { background: var(--dark); color: var(--on-dark); padding-block: clamp(4.5rem, 9vw, 6.5rem); }
.trust > .wrap:first-child { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: start; }
.trust__lede { max-width: 30rem; margin-top: 1.5rem; font-size: 1.15rem; line-height: 1.5; color: var(--on-dark-2); }
.trust__lede b { font-weight: 600; color: var(--on-dark); }
.trust__docs { max-width: 30rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--dark-line); }
.trust__docs p { font-size: .88rem; font-weight: 600; color: var(--on-dark); }
.trust__docs ul { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin-top: .85rem; }
.trust__docs li { display: flex; align-items: center; gap: .5rem; font-size: .86rem; color: var(--on-dark-2); }
.trust__docs svg { flex: none; width: .95rem; height: .95rem; color: var(--lime); }
.sheet { display: flow-root; overflow: clip; border-radius: .75rem; background: var(--paper); color: var(--ink-2); font-size: .88rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.sheet__top { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); background: #FAF9F6; }
.sheet__top .px { width: 1.6rem; height: 1.6rem; }
.sheet__top strong { display: block; font-weight: 650; color: var(--ink); }
.sheet__top span { font-size: .75rem; color: var(--faint); }
.sheet__top .tag { margin-left: auto; }
.sheet dl { margin: 0; padding: .2rem 1.3rem; }
.sheet dl > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid var(--line); }
.sheet dl > div:last-child { border-bottom: 0; }
.sheet dt { font-size: .8rem; color: var(--faint); }
.sheet dd { margin: 0; font-weight: 520; color: var(--ink); }
.sheet--dsgvo { font-size: .9rem; }
.sheet--dsgvo .sheet__top { padding: 1.1rem 1.4rem; }
.sheet--dsgvo .sheet__top strong { font-size: .98rem; }
.sheet__group { padding: 1.05rem 1.4rem 1.1rem; }
.sheet__group + .sheet__group { border-top: 1px solid var(--line); }
.sheet__h { display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.sheet__h .px { width: 1.05rem; height: 1.05rem; }
.sheet--dsgvo dl { padding: 0; }
.sheet--dsgvo dl > div { grid-template-columns: 7rem 1fr; align-items: baseline; padding: .3rem 0; border-bottom: 0; }
.sheet--dsgvo dt { font-size: .8rem; }
.sheet--dsgvo dd { line-height: 1.45; text-wrap: balance; }
/* DSGVO und EU-Regeln: one card per rule, the law on top, what Handem does below */
.eu { padding-block: clamp(4.5rem, 9vw, 6.5rem) clamp(1rem, 3vw, 2rem); }
.eu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.75rem; }
.eu__grid li { padding: 1.4rem 1.3rem 1.5rem; border-radius: .6rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(29, 27, 24, .05); }
.eu__grid .px { width: 1.6rem; height: 1.6rem; }
.eu__grid small { display: block; margin-top: 1rem; font: 600 .72rem var(--mono); color: var(--brand); }
.eu__grid h3 { margin-top: .3rem; font-size: 1.1rem; font-weight: 620; letter-spacing: -.01em; }
.eu__grid p { margin-top: .4rem; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.eu__nb { white-space: nowrap; }
.for-narrow { display: none; }
.eu__foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: .78rem; line-height: 1.5; color: var(--faint); }
.eu__foot a { font-size: .92rem; font-weight: 560; color: var(--brand-deep); }
@media (hover: hover) and (pointer: fine) { .eu__foot a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.msg--typing { display: none; gap: .2rem; padding: .55rem .65rem; }
.msg--typing i { width: .35rem; height: .35rem; border-radius: 50%; background: #B5ADA1; }
.roofs .w { fill: var(--mustard); opacity: .08; }
.roofs .w.on { opacity: .85; }
.promise .roofs .w { display: none; }
.qa summary::after { transition: transform .25s ease; }
.qa[open] summary::after { transform: rotate(180deg); }

/* Motion, only when the visitor hasn't asked for less */
@media (max-width: 73.75em) {
  .trust__docs ul { grid-template-columns: 1fr; }
}

@media (max-width: 66.25em) {
  .nav__links { gap: 1.25rem; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .eu__grid { grid-template-columns: 1fr 1fr; }
  .fgrid > div:nth-child(4n) { border-right: 1px solid var(--dark-line); }
  .fgrid > div:nth-child(2n) { border-right: 0; }
  .fgrid > div:nth-child(n+5) { border-bottom: 1px solid var(--dark-line); }
  .fgrid > div:nth-child(n+7) { border-bottom: 0; }
  .foot__grid { grid-template-columns: repeat(3, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 53.75em) {
  .app { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 12.5rem; }
  /* Home demo: one phone screen holds the job and the Handem app half and half, so the Freigabe is in view;
     the job pane scrolls and the script keeps its newest line visible */
  .shot:not(.shot--one) { height: clamp(32rem, 100svh - 5.5rem, 48rem); }
  .shot:not(.shot--one) .app { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  .shot:not(.shot--one) .job__body { overflow-y: auto; scrollbar-width: none; }
  .shot:not(.shot--one) .job--done { overflow-y: auto; justify-content: safe center; }
  .wa { border-left: 0; border-top: 1px solid var(--line-2); }
  .job__head p:last-child, .job__more { display: none; }
  .job__head h2 { font-size: 1.15rem; }
  .tab { flex: none; }
  .job__body { grid-template-columns: 1fr; }
  .job__out { border-left: 0; }
  .tab span { display: none; }
  .try__note { text-align: left; }
  .tools .wrap { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .tools p { max-width: none; padding-right: 0; border-right: 0; }
  .marquee { width: 100%; }
  .tools li { font-size: 1.05rem; gap: .6rem; }
  .tools .tool { width: 1.85rem; height: 1.85rem; border-radius: .46rem; }
  .pain__top { grid-template-columns: 1fr; }
  .pain .h2 { font-size: clamp(1.5rem, 7.4vw, 3.5rem); }
  .pile { display: none; }
  .moments { grid-template-columns: 1fr 1fr; }
  .steps, .promises, .tgrid, .trades__head { grid-template-columns: 1fr; }
  /* Everything from here to the end of this block is for phones and small tablets only; wider screens keep their layout */
  /* Stacked, picture and text share one card, so it's clear which text belongs to which picture */
  .step { overflow: clip; padding-bottom: 1.4rem; border-radius: .6rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(29, 27, 24, .05); }
  .step__viz { border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); background: light-dark(#FAF8F4, #22211E); }
  .step .h3 { margin: 1.25rem 1.25rem 0; }
  .step > p { margin: .5rem 1.25rem 0; }
  /* Shorter copy in places (index.html marks it) */
  .for-wide { display: none; }
  .for-narrow { display: inline; }
  .offer { grid-template-columns: 1fr; padding: 1.5rem; }
  .offer__side { display: none; }
  .phone { right: 1rem; width: 15rem; height: 21rem; }
  .switch .wrap, .faq .wrap, .trust > .wrap:first-child { grid-template-columns: 1fr; gap: 3rem; }
  .faq__aside { position: static; }
  .foot__px .px:nth-child(n+6) { display: none; }
}

/* Phone and tablet menu: the top menu's links as a sheet below the bar (site.js sets --menu-top). Below 1021px the top menu doesn't fit next to the logo. */
@media (max-width: 63.75em) {
  .nav__links, .nav__side a:not(.btn) { display: none; }
  .nav__side .lang a { display: inline; }
  .nav .wrap { justify-content: space-between; }
  .nav__menu { display: grid; place-content: center; gap: 4px; width: 2.25rem; height: 2.25rem; margin-right: -.45rem; border-radius: .45rem; }
  /* Bigger tap areas without moving anything */
  .nav__menu { width: 2.75rem; height: 2.75rem; margin: -.25rem -.7rem -.25rem -.25rem; }
  .lang a { padding: .7rem .5rem; margin: -.7rem -.5rem; }
  .nav__menu i { width: 1.15rem; height: 1.5px; border-radius: 1px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .nav__menu[aria-expanded="true"] i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .nav__menu[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .nav--open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav--open .nav__links { position: fixed; inset: var(--menu-top, 4rem) 0 0; z-index: 25; display: block; margin: 0; padding: .25rem var(--gutter) 2.5rem; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); font-size: 1.1rem; color: var(--ink); }
  .nav--open .nav__links > a, .nav--open .dd__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--line); border-radius: 0; font-weight: 560; }
  .nav--open .dd__btn[aria-expanded="true"] { background: none; box-shadow: none; }
  .nav--open .dd__btn svg { width: 1.1rem; height: 1.1rem; }
  .nav--open .dd__panel { position: static; width: auto; overflow: visible; border-radius: 0; background: none; box-shadow: none; transform: none; }
  .nav--open .dd__panel::before, .nav--open .dd__cols small, .nav--open .dd__news { display: none; }
  .nav--open .dd__panel--split, .nav--open .dd__cols, .nav--open .dd__links { grid-template-columns: 1fr; }
  .nav--open .dd__cols, .nav--open .dd__links { gap: 1.25rem; padding: 1.1rem 0 1.25rem; border-bottom: 1px solid var(--line); }
  .nav--open .dd__cols a { grid-template-columns: 2rem 1fr; margin-inline: 0; padding: .45rem 0; }
  .nav--open .dd__ico { grid-row: auto; width: 2rem; height: 2rem; }
  .nav--open .dd__links a { margin-inline: 0; padding: .55rem 0; font-size: 1rem; }
  .nav--open .dd__foot { padding: 1rem 0 1.25rem; border-top: 0; border-bottom: 1px solid var(--line); background: none; }
}

@media (max-width: 26.25em) {
  .nav__side .btn { padding-inline: .75rem; font-size: .84rem; white-space: nowrap; }
  .nav__side .btn svg { display: none; }
}
@media (max-width: 37.5em) {
  .topbar .wrap { gap: .5rem; font-size: .8rem; }
  .topbar a { display: none; }
  .nav .wrap, .nav__side { gap: .6rem; }
  .nav__side .btn { white-space: nowrap; }
  .nav__long { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .faq .h2 { max-width: none; }
  .check { padding: 1.25rem; }
  .check__row { grid-template-columns: 1fr; }
  .shot__live time { display: none; }
  .sheet dl > div { grid-template-columns: 1fr; gap: .1rem; }
  .trust__docs ul { grid-template-columns: 1fr; }
  .ev small { display: none; }
  .moments { grid-template-columns: 1fr; }
  /* Phones: icon beside the text, so six rules don't take six screens */
  .eu__grid { grid-template-columns: 1fr; gap: .6rem; }
  .eu__grid li { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; padding: 1.1rem 1.1rem 1.2rem; }
  .eu__grid .px { grid-row: span 3; }
  .eu__grid small { margin-top: 0; }
  .fgrid { grid-template-columns: 1fr; }
  .fgrid > div:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .fgrid > div:last-child { border-right: 0; border-bottom: 0; }
  .fgrid > div { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; padding: 1.15rem 1.2rem; }
  .fgrid > div > svg { grid-row: span 2; }
  .fgrid h3 { margin-top: 0; }
  .browser { height: 34rem; }
  .phone { display: none; }
  .qa p { padding: 0 0 1.3rem 2.75rem; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__px .px { width: 3rem; height: 3rem; }
  .btn { white-space: normal; text-align: center; }
}
/* Narrow in text terms: a small phone, or any phone with large text (em breakpoints follow the text size). */
@media (max-width: 22em) {
  body { hyphens: auto; }
  :is(.shot, .step__viz, .browser, .phone, .sheet, .aufst, .viz, .lcard__viz, .out, .st-mock, .ko-board, .ko-wa__frame, .ko-call) { overflow-wrap: anywhere; }
  /* The bar may take two rows here: it scrolls away instead of covering a quarter of the screen */
  .nav { position: relative; }
  .nav .wrap { flex-wrap: wrap; height: auto; min-height: 4rem; padding-block: .6rem; row-gap: .4rem; }
  .nav__side { flex-wrap: wrap; }
  .shot__bar { flex-wrap: wrap; }
  .foot__grid { grid-template-columns: 1fr; }
  .sheet__top { flex-wrap: wrap; }
}

/* Bits added for the animations; all of them also have a resting state */
.pulse { position: relative; width: .45rem; height: .45rem; border-radius: 50%; background: var(--lime); }
.tab { position: relative; }
.tab__bar { position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; opacity: 0; }
.cursor { position: absolute; left: 3.4rem; top: .9rem; width: 15px; height: 20px; opacity: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 20'%3E%3Cpath d='M1 1v15.5l4-3.6 2.7 6 2.6-1.2-2.7-5.9H13z' fill='%231C1B19' stroke='%23fff' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; }
.acts { position: relative; }
.shot:not(.auto) .cursor { display: none; }
.chip, .tag, .ev { transition: background-color .35s, color .35s, box-shadow .35s, border-color .35s; }
.flip { display: inline-grid; }
.flip > span { grid-area: 1 / 1; text-align: center; }
.flip > span + span { opacity: 0; }
.toast { position: absolute; left: 50%; top: 10.2rem; transform: translateX(-50%); display: flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; white-space: nowrap; opacity: 0; }
.toast svg { width: .8rem; height: .8rem; color: var(--lime); }

@media (prefers-reduced-motion: no-preference) {
  /* The page's first block (the hero, usually the largest paint) doesn't wait for site.js: it rises from the first paint.
     So does the picture right under a feature page's hero (.l-stage), which is part of the same entrance. */
  .js main > :first-child [data-rise], .js main > .l-hero + .l-stage { animation: rise .8s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 90ms) both; }
  /* Everything below rises in while it scrolls into view: a scroll-driven animation, so no content waits for site.js.
     It is decoration, so browsers without view timelines simply show it (no fallback). --i (site.js numbers a
     [data-stagger] group's children) starts each item a little further into its entry; the end stays reachable at the page's foot.
     Screen only: a printout doesn't scroll, so everything prints at rest. */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @media screen {
      :is([data-rise], [data-stagger] > *):not(:where(main > :first-child *, main > .l-hero + .l-stage)) {
        --rise-at: calc(min(var(--i, 0), 4) * 10%);
        animation: rise-in auto cubic-bezier(.2, .7, .2, 1) backwards;
        animation-timeline: view();
        animation-range: entry var(--rise-at) entry min(100%, calc(12rem + var(--rise-at)));
      }
    }
  }
  .fgrid > .in .px { animation: pop .45s steps(3) both; animation-delay: calc(var(--i, 0) * 90ms + .2s); }
  @media (hover: hover) and (pointer: fine) { .fgrid > div:hover .px { animation: hop .5s steps(2); } }

  .shot__live .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: ping 2s ease-out 2; }

  .shot.auto .tab[aria-selected="true"] .tab__bar { opacity: 1; animation: fill var(--dur, 7s) linear forwards; }
  .shot.auto.hold .tab__bar, .shot.auto.away .tab__bar { animation-play-state: paused; }

  .chip.pressed { animation: press .3s; }
  .job--done:not([hidden]) > .all > .px { animation: pop .45s steps(3) both; }
  .job--done:not([hidden]) li { animation: slot .45s cubic-bezier(.2, .7, .2, 1) both; }
  /* Each row .08s after the one above it; :nth-child only where sibling-index() is missing. */
  @supports (animation-delay: calc(sibling-index() * .08s)) {
    .job--done:not([hidden]) li { animation-delay: calc((sibling-index() - 1) * .08s); }
  }
  @supports not (animation-delay: calc(sibling-index() * .08s)) {
    .job--done:not([hidden]) li:nth-child(2) { animation-delay: .08s; }
    .job--done:not([hidden]) li:nth-child(3) { animation-delay: .16s; }
    .job--done:not([hidden]) li:nth-child(4) { animation-delay: .24s; }
    .job--done:not([hidden]) li:nth-child(5) { animation-delay: .32s; }
  }
  .job [data-s], .job [data-after] { transition: opacity .4s, transform .4s cubic-bezier(.2, .7, .2, 1); }
  .js .job [data-s]:not(.is-on), .js .job [data-after]:not(.is-on) { transform: translateY(8px); }
  /* After a Freigabe the follow-up arrives one by one: --k is its place in line. */
  .job [data-after].is-on { transition-delay: calc(var(--k, 0) * .7s); }
  .wa .msg.is-on, .wa [data-after].is-on { animation: slot .4s cubic-bezier(.2, .7, .2, 1) both; }
  .wa [data-after].is-on { animation-delay: calc(var(--k, 0) * .7s); }
  .wa__msgs { scroll-behavior: smooth; }
  .shot.auto .msg.aim .cursor { animation: point 2.9s cubic-bezier(.5, 0, .2, 1) forwards; }
  .wa__btns .pressed { animation: press .3s; }
  .shot:not(.auto) .msg.is-on:not(.is-done) [data-approve]::before { animation: wa-ask 1.8s ease-in-out 2; }

  /* Tools plug in one by one, then get their badge */
  .uses li.in .tool { animation: plug .4s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i) * 60ms + .1s); }
  .uses li.in .tool::before { animation: badge .3s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i) * 60ms + .45s); }
  .setup__done li.in .i { animation: badge .4s cubic-bezier(.3, 1.6, .5, 1) backwards; animation-delay: calc(var(--i) * 220ms + .45s); }
  .dd__panel:not([hidden]) { animation: dd-in .22s cubic-bezier(.2, .7, .2, 1) both; }
  .dd__panel:not([hidden]) li, .dd__panel:not([hidden]) .dd__news > * { animation: dd-row .32s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--r, 0) * 25ms + 40ms); }
  @media (hover: hover) and (pointer: fine) { .dd__cols a:hover .dd__ico .px { animation: hop .5s steps(2); } }

  .marquee ul { animation: slide 55s linear infinite; }
  @media (hover: hover) and (pointer: fine) { .marquee:hover ul { animation-play-state: paused; } }


  .call__wave { animation: call-end 7s infinite; }
  .call__wave i { animation: talk .8s steps(3) infinite alternate; animation-delay: var(--d); }
  .call__sub > span:first-child { animation: sub-a 7s infinite; }
  .call__sub > span + span { animation: sub-b 7s infinite; }
  .facts::before { animation: thread 7s infinite; }
  .facts li:nth-child(1) { animation: fact-1 7s cubic-bezier(.2, .7, .2, 1) infinite; }
  .facts li:nth-child(2) { animation: fact-2 7s cubic-bezier(.2, .7, .2, 1) infinite; }
  .facts li:nth-child(3) { animation: fact-3 7s cubic-bezier(.2, .7, .2, 1) infinite; }
  .mm--doc { animation: mm-doc 6s cubic-bezier(.2, .7, .2, 1) infinite; }
  .mm__btns .cursor { animation: point-loop 6s cubic-bezier(.5, 0, .2, 1) infinite; }
  .mm__ok::before { animation: mm-flash 6s infinite; }
  .mm__ok > span:first-child { animation: mm-ok-out 6s infinite; }
  .mm__ok > span + span { animation: mm-ok-in 6s infinite; }
  .mm--me { animation: mm-me 6s cubic-bezier(.2, .7, .2, 1) infinite; }
  .mm--bot { animation: mm-bot 6s cubic-bezier(.2, .7, .2, 1) infinite; }
  .inv { animation: thud 7s infinite; }
  .inv__note { animation: note 7s cubic-bezier(.2, .7, .2, 1) infinite; }
  .inv__stamp { animation: stamp 7s infinite; }
  .inv__rate { animation: rate 7s cubic-bezier(.2, .7, .2, 1) infinite; }

  .msgs.anim .msg:not(.on) { display: none; }
  .msgs.anim .msg.on { animation: slot .4s cubic-bezier(.2, .7, .2, 1) both; }
  .msgs.anim .msg--typing.on { display: flex; }
  .msg--typing i { animation: dot 1s ease-in-out infinite; }
  .msg--typing i:nth-child(2) { animation-delay: .15s; }
  .msg--typing i:nth-child(3) { animation-delay: .3s; }

  /* Hero and Angebot bands: the stepped edges run out from behind the screen to both sides. The right half is the left half mirrored.
     Each half is one 32px tile wider than it shows and slides by transform, so the loop runs on the compositor instead of
     repainting all 16 strips 13 times a second (background-position). The extra tile sits behind the screen in the middle;
     overflow hides it at the outer edge. */
  .hero .dz, .stage--b .dz { position: relative; overflow: hidden; background: var(--a); }
  .hero .dz::before, .hero .dz::after, .stage--b .dz::before, .stage--b .dz::after { content: ""; position: absolute; inset: 0 calc(50% - 32px) 0 0; background: var(--dz); animation: dz-out 2.4s steps(32) infinite; }
  .hero .dz::after, .stage--b .dz::after { inset: 0 0 0 calc(50% - 32px); transform: scaleX(-1); animation-name: dz-out-r; }



  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { block-size: 0; overflow: hidden; transition: block-size .35s cubic-bezier(.2, .7, .2, 1), content-visibility .35s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}

/* "Animationen anhalten" (site.js puts .paused on <html>; the head script restores it before the first paint).
   The endless loops stop on the still frame reduced motion shows, the demo tab timers hold where they are.
   Scroll-driven rise-ins stop too: their items simply show. One-shot entrances (menus, the hero's rise on load) keep running,
   they would freeze half drawn. */
.paused :is(.marquee ul, .call__wave, .call__wave i, .call__sub > span, .facts li, .mm--doc, .mm__btns .cursor, .mm__ok > span, .mm--me, .mm--bot,
  .inv, .inv__note, .inv__stamp, .inv__rate, .msg--typing i),
.paused :is([data-rise], [data-stagger] > *):not(:where(main > :first-child *, main > .l-hero + .l-stage)),
.paused :is(.facts, .mm__ok, .hero .dz, .stage--b .dz)::before, .paused :is(.hero .dz, .stage--b .dz)::after { animation: none; }
.paused :is(.shot.auto, .ko-board.auto) .tab[aria-selected="true"] .tab__bar { animation-play-state: paused; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-in { from { opacity: 0; transform: var(--rise-from, translateY(18px)); } }
.fgrid > *, .setup__done > * { --rise-from: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes slot { from { opacity: 0; transform: translateY(10px); } }
@keyframes pop-ev { from { opacity: 0; transform: scale(.94); } }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.15); } 100% { transform: none; } }
@keyframes hop { 50% { transform: translateY(-4px); } }
@keyframes point { 0% { opacity: 0; transform: translate(9rem, 5rem); } 20% { opacity: 1; } 80% { opacity: 1; transform: none; } 88% { transform: scale(.85); } 100% { opacity: 1; transform: none; } }
@keyframes press { 50% { transform: scale(.94); } }
@keyframes wa-ask { 50% { opacity: 1; } }
@keyframes slide { to { transform: translateX(-100%); } }
@keyframes point-loop { 0%, 8% { opacity: 0; transform: translate(6rem, 4rem); } 15% { opacity: 1; } 38% { transform: none; } 42% { transform: scale(.85); } 46%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: none; } }
@keyframes press-loop { 0%, 41% { transform: none; } 43% { transform: scale(.94); } 45% { transform: none; background: var(--btn); color: #fff; } 46%, 92% { background: #E1F1E6; color: #24774A; box-shadow: inset 0 0 0 1px #BFE0CB; } }
@keyframes out-loop { 0% { opacity: 1; } 45% { opacity: 0; } 94% { opacity: 1; } }
@keyframes in-loop { 0% { opacity: 0; } 45% { opacity: 1; } 94% { opacity: 0; } }
@keyframes talk { to { transform: scaleY(calc(1.2 - var(--h))); } }
@keyframes call-end { 0%, 56% { transform: none; } 60%, 92% { transform: scaleY(.12); } 97%, 100% { transform: none; } }
@keyframes sub-a { 0%, 56% { opacity: 1; } 58%, 94% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes sub-b { 0%, 56% { opacity: 0; } 58%, 94% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes thread { 0%, 11% { transform: scaleY(0); } 14%, 25% { transform: scaleY(.26); } 28%, 39% { transform: scaleY(.63); } 42%, 93% { transform: scaleY(1); opacity: 1; } 98%, 100% { transform: scaleY(1); opacity: 0; } }
@keyframes fact-1 { 0%, 12% { opacity: 0; transform: translateY(-6px); } 16%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes fact-2 { 0%, 26% { opacity: 0; transform: translateY(-6px); } 30%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes fact-3 { 0%, 40% { opacity: 0; transform: translateY(-6px); } 44%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes mm-doc { 0%, 3% { opacity: 0; transform: translateY(8px); } 8%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes mm-flash { 0%, 41% { opacity: 0; } 43% { opacity: 1; } 55%, 100% { opacity: 0; } }
/* The grey label fades in over the green one, which stays opaque until it is fully covered: same colours as a color transition */
@keyframes mm-ok-out { 0%, 55% { opacity: 1; } 56%, 93% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes mm-ok-in { 0%, 41% { opacity: 0; } 55%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mm-me { 0%, 45% { opacity: 0; transform: translateY(8px); } 50%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes mm-bot { 0%, 58% { opacity: 0; transform: translateY(8px); } 63%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes thud { 0%, 40.5%, 44%, 100% { transform: none; } 41.5% { transform: translateY(1.5px); } }
@keyframes note { 0%, 12% { opacity: 0; transform: scale(1.35) rotate(8deg); } 17%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes stamp { 0%, 37% { opacity: 0; transform: scale(2.2); animation-timing-function: cubic-bezier(.6, 0, 1, 1); } 41% { opacity: .88; transform: scale(.94); } 44%, 93% { opacity: .88; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes rate { 0%, 60% { opacity: 0; transform: translateY(10px); } 66%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes toast-loop { 0%, 48% { opacity: 0; transform: translate(-50%, 8px); } 55%, 86% { opacity: 1; transform: translate(-50%, 0); } 94%, 100% { opacity: 0; transform: translate(-50%, 0); } }
@keyframes dd-in { from { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(.985); } }
@keyframes dd-row { from { opacity: 0; transform: translateY(-4px); } }
@keyframes ring-go { 0% { box-shadow: inset 0 0 0 1px var(--btn-edge), 0 0 0 0 rgba(201, 242, 122, .95); } 70%, 100% { box-shadow: inset 0 0 0 1px var(--btn-edge), 0 0 0 9px rgba(201, 242, 122, 0); } }
@keyframes plug { from { opacity: 0; transform: translateY(6px); } }
@keyframes badge { from { transform: scale(0); } }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes dz-out { to { transform: translateX(-32px); } }
@keyframes dz-out-r { from { transform: scaleX(-1); } to { transform: scaleX(-1) translateX(-32px); } }

/* Büro-Check, closing section of the landing page (index.html #check): the form beside a preview of the
   Aufstellung. Scoped to .cta--check so buero-check.html keeps its own form card. No card, no shadows:
   white fields and the white sheet sit straight on the lime field. */
.cta--check { --edge: light-dark(rgba(30, 45, 10, .42), rgba(201, 242, 122, .45)); --edge-hover: light-dark(rgba(30, 45, 10, .7), rgba(201, 242, 122, .7)); --olive: light-dark(#2F4A1B, #CDE0B5); text-align: left; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.cta--check .h2 { max-width: none; margin: 0; font-size: clamp(2.6rem, .21rem + 5.7vw, 5.6rem); line-height: .95; letter-spacing: -.045em; }
.cta--check .check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0 clamp(2.5rem, 5vw, 4.5rem); max-width: none; margin: clamp(2rem, 3.6vw, 3rem) 0 0; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.cta--check .check__status { grid-column: 1 / -1; grid-row: 1; margin-bottom: 1.5rem; padding: 1rem 1.2rem; font-size: 1.05rem; background: var(--paper); color: var(--ink); }
.cta--check .check__status--error { background: light-dark(#FBE6DC, #35190F); color: light-dark(#8A3410, #F4A27F); }
.cta--check .check__a { grid-column: 1; grid-row: 2; display: grid; gap: 1.25rem; align-content: start; }
.cta--check .check__b { grid-column: 1; grid-row: 3; display: grid; gap: 1rem; align-content: start; margin-top: 1.75rem; }
.cta--check .aufst { grid-column: 2; grid-row: 2 / 4; }
.cta--check .check > [hidden] { display: none; }

.cta--check .lede { max-width: 34rem; margin: 0 0 .75rem; color: var(--ink); font-size: clamp(1.1rem, .56rem + .54vw, 1.25rem); text-wrap: pretty; }
.cta--check .lede b { font-weight: 650; }

.cta--check .field { gap: .45rem; font-size: .95rem; color: var(--ink); }
.cta--check .field input, .cta--check .field select { min-height: 3.1rem; padding: .7rem .95rem; border-radius: .5rem; font-size: 1rem; box-shadow: inset 0 0 0 1px var(--edge); transition: box-shadow .15s; }
.cta--check .field select { padding-right: 2.6rem; background-color: var(--paper); }
.cta--check .field input::placeholder { color: light-dark(#857F74, #A39C91); }
@media (hover: hover) and (pointer: fine) { .cta--check .field input:hover, .cta--check .field select:hover { box-shadow: inset 0 0 0 1px var(--edge-hover); } }
.cta--check .field input:focus, .cta--check .field select:focus { box-shadow: inset 0 0 0 2px var(--ink); }

.cta--check .check__chips { gap: .45rem .4rem; }
.cta--check .check__chips legend { margin-bottom: .65rem; font-size: .95rem; color: var(--ink); }
.cta--check .check__chips label { min-height: 2.5rem; padding: .4rem .95rem .4rem .75rem; gap: .4rem; font-size: .95rem; color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px light-dark(transparent, var(--edge)); transition: background-color .15s, color .15s, transform .15s; }
.cta--check .check__chips input:not(:checked) { opacity: .6; }
@media (hover: hover) and (pointer: fine) { .cta--check .check__chips label:hover { background: light-dark(#F2F9E2, #263319); box-shadow: inset 0 0 0 1px light-dark(transparent, var(--edge-hover)); } }
.cta--check .check__chips label:has(:checked) { background: light-dark(var(--dark), var(--lime)); color: light-dark(var(--lime), var(--dark)); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .cta--check .check__chips label:hover:has(:checked) { background: light-dark(#34312C, #B5DD68); } }
.cta--check .check__chips label:has(:focus-visible) { outline-color: var(--ink); }

.cta--check .check__ok { padding-top: 0; border-top: 0; font-size: .95rem; color: var(--ink); }
.cta--check .check__ok input { width: 1.25rem; height: 1.25rem; margin-top: .05rem; box-shadow: inset 0 0 0 1.5px var(--edge-hover); }
@media (hover: hover) and (pointer: fine) { .cta--check .check__ok input:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.cta--check .check__ok input:checked { background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9F27A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .8rem no-repeat; box-shadow: none; }
.cta--check .check__ok input:focus-visible { outline-color: var(--ink); }
.cta--check .check__ok a { color: var(--ink); text-decoration-thickness: 1px; }
.cta--check .check .btn { min-height: 3.4rem; font-size: 1.02rem; box-shadow: none; transition: background-color .15s, transform .15s; }
@media (hover: hover) and (pointer: fine) { .cta--check .check .btn:hover { background: var(--green); } }
.cta--check .check .btn:focus-visible { outline-color: var(--ink); }
.cta--check .check__note { margin: 0; font-size: .9rem; color: var(--olive); text-align: left; }

/* The sheet: a white page with the Handem letterhead. Lines appear for the ticked boxes, the package that
   covers them is marked. Works without script; the script only fills in Betrieb and Branche. */
.aufst { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.5rem, 2.6vw, 2.25rem); background: var(--paper); border-radius: .875rem; color: var(--ink); }
.aufst__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--muted); }
.aufst__top img { width: 7.3rem; height: auto; }
.aufst__h { margin-top: 1.9rem; font-size: clamp(1.6rem, .21rem + 2vw, 2.05rem); font-weight: 650; line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
.aufst__meta { max-width: 30rem; margin-top: .5rem; font-size: .95rem; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.aufst__lines { flex: 1; display: flex; flex-direction: column; margin-top: 1.9rem; }
.aufst__cols { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; font-size: .88rem; color: var(--muted); }
.aufst__empty { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; padding: 1.4rem 1.25rem; border-radius: .5rem; background: var(--cream); font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.aufst__icons { display: grid; grid-template-columns: repeat(12, 1.5rem); justify-content: space-between; gap: .75rem .5rem; }
.aufst__empty .aufst__icons .px { grid-area: auto; width: 1.5rem; height: 1.5rem; margin: 0; }
.aufst .nw { white-space: nowrap; }
.aufst__lines ul { display: grid; gap: .35rem; }
.aufst__lines li { display: none; grid-template-columns: 1.75rem minmax(0, 1fr) auto; grid-template-areas: "ico name pk" "ico desc desc"; column-gap: .9rem; padding: .8rem 1rem .85rem .85rem; border-radius: .5rem; background: #F1F8E2; }
.aufst__lines .px { grid-area: ico; width: 1.75rem; height: 1.75rem; margin-top: .1rem; }
.aufst__lines b { grid-area: name; font-weight: 620; }
.aufst__lines em { grid-area: pk; font-style: normal; font-size: .9rem; color: var(--muted); }
.aufst__lines li > span { grid-area: desc; margin-top: .15rem; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.check:has(.check__chips :checked) .aufst__empty { display: none; }
.check:has([value="telefon"]:checked) [data-z="telefon"],
.check:has([value="termine"]:checked) [data-z="termine"],
.check:has([value="emails"]:checked) [data-z="emails"],
.check:has([value="angebote"]:checked) [data-z="angebote"],
.check:has([value="rechnungen"]:checked) [data-z="rechnungen"],
.check:has([value="mahnungen"]:checked) [data-z="mahnungen"],
.check:has([value="belege"]:checked) [data-z="belege"],
.check:has([value="nachtraege"]:checked) [data-z="nachtraege"],
.check:has([value="einsatzplanung"]:checked) [data-z="einsatzplanung"],
.check:has([value="fristen"]:checked) [data-z="fristen"],
.check:has([value="ueberblick"]:checked) [data-z="ueberblick"],
.check:has([value="stunden"]:checked) [data-z="stunden"] { display: grid; }

/* Compact sheet: from three ticks the script sets is-dicht. Earlier picks shrink to tags that wrap, the newest
   pick (is-neu) keeps its full line below them, so the sheet stays about as tall as the form at any count.
   Without script every pick keeps its full line. */
.aufst.is-dicht .aufst__cols { display: none; }
.aufst.is-dicht .aufst__lines ul { display: flex; flex-wrap: wrap; }
.aufst.is-dicht .aufst__lines li:not(.is-neu) { grid-template-columns: 1.5rem auto; grid-template-areas: "ico name"; align-items: center; column-gap: .55rem; padding: .5rem .9rem .5rem .6rem; }
.aufst.is-dicht .aufst__lines li:not(.is-neu) .px { width: 1.5rem; height: 1.5rem; margin: 0; }
.aufst.is-dicht .aufst__lines li:not(.is-neu) > :is(em, span) { display: none; }
.aufst.is-dicht .aufst__lines li.is-neu { order: 1; flex: 1 0 100%; }

.aufst__immer { margin-top: 1.75rem; }
.aufst__immer h4 { font: 620 .95rem/1.4 var(--font); }
.aufst__immer ul { display: grid; gap: .35rem; margin-top: .55rem; font-size: .92rem; line-height: 1.4; color: var(--ink-2); }
.aufst__immer li { display: flex; align-items: baseline; gap: .6rem; }
.aufst__immer li::before { content: ""; flex: none; width: .5rem; height: .5rem; background: var(--brand-deep); }

.aufst__paket { margin-top: 1.75rem; }
.aufst__fit { margin-bottom: .6rem; font-weight: 620; }
.aufst__fit span { display: none; }
.aufst__pk { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .1rem 1rem; padding: .85rem 1rem; border-radius: .5rem; background: var(--cream); transition: background-color .25s, color .25s; }
.aufst__pk + .aufst__pk { margin-top: .35rem; }
.aufst__pk b { font-weight: 620; }
.aufst__pk strong { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aufst__pk small { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); transition: color .25s; }
.aufst__note { margin-top: .7rem; font-size: .88rem; color: var(--muted); }
/* Which package covers the ticks: only Telefon, Termine, E-Mails → Anfragen; anything else → Büro. */
.check:not(:has(.check__chips :checked)) .fit--none,
.check:has(.check__chips :checked):not(:has(.check__chips :checked:not([value="telefon"], [value="termine"], [value="emails"]))) .fit--anfragen,
.check:has(.check__chips :checked:not([value="telefon"], [value="termine"], [value="emails"])) .fit--buero { display: inline; }
.check:has(.check__chips :checked):not(:has(.check__chips :checked:not([value="telefon"], [value="termine"], [value="emails"]))) [data-pk="anfragen"],
.check:has(.check__chips :checked:not([value="telefon"], [value="termine"], [value="emails"])) [data-pk="buero"] { background: var(--ink); color: #fff; }
.check:has(.check__chips :checked):not(:has(.check__chips :checked:not([value="telefon"], [value="termine"], [value="emails"]))) [data-pk="anfragen"] small,
.check:has(.check__chips :checked:not([value="telefon"], [value="termine"], [value="emails"])) [data-pk="buero"] small { color: var(--on-dark-2); }

@media (max-width: 63.75em) {
  .cta--check .check { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .cta--check .check__a, .cta--check .check__b, .cta--check .aufst { grid-column: 1; grid-row: auto; }
  .cta--check .aufst { margin-top: 1.75rem; }
}
@media (max-width: 37.5em) {
  .cta--check .check { padding: 0; }
  .aufst { padding: 1.25rem; }
  .aufst__h { margin-top: 1.4rem; }
  .aufst__lines { margin-top: 1.4rem; }
  .aufst__lines li { padding-inline: .75rem; column-gap: .75rem; }
  .aufst__icons { grid-template-columns: repeat(6, 1.5rem); }
}
@media (max-width: 22em) {
  .aufst__icons { grid-template-columns: repeat(auto-fill, 1.5rem); }
  .aufst__pk { grid-template-columns: minmax(0, 1fr); }
  .aufst__pk strong { white-space: normal; }
}

@media (prefers-reduced-motion: no-preference) {
  .aufst__lines li { animation: aufst-line .4s cubic-bezier(.2, .7, .2, 1) both; }
  .aufst__lines li .px { animation: pop .45s steps(3) .1s both; }
  .aufst__fit span { animation: slot .35s cubic-bezier(.2, .7, .2, 1) both; }
  .cta--check .check__chips label:active { transform: scale(.95); }
  .cta--check .check__chips input:checked { animation: pop .35s steps(3); }
  .cta--check .check .btn:active { transform: scale(.985); }
  @media (hover: hover) and (pointer: fine) { .cta--check .check .btn:hover svg { transform: translateX(3px); } }
  .cta--check .check .btn svg { transition: transform .15s; }
}
@keyframes aufst-line { from { opacity: 0; transform: translateY(8px); } }

/* Animation review 2026-11-09: press feedback, sending state, success tick, loop restarts, phone menu */
@media (prefers-reduced-motion: no-preference) {
  .btn:not(:disabled):active { transform: scale(.97); }
  .btn .spin { animation: spin .8s steps(8) infinite; }
  /* Same beat as the demo's done screen: the line slots in, the tick pops */
  .check__status { animation: slot .4s cubic-bezier(.2, .7, .2, 1) .2s both; }
  .check__status > .px { animation: pop .45s steps(3) .3s both; }
  /* Demo loops fade out before they start over (index.html) */
  .app, .msgs { transition: opacity .24s cubic-bezier(.2, .7, .2, 1); }
  .shot.is-clearing .app, .msgs.is-clearing { opacity: 0; }
  @media (max-width: 63.75em) {
    /* The phone menu comes down out of the bar; closing stays instant */
    .nav--open .nav__links { transition: opacity .2s cubic-bezier(.2, .7, .2, 1), transform .2s cubic-bezier(.2, .7, .2, 1); }
    @starting-style { .nav--open .nav__links { opacity: 0; transform: translateY(-8px); } }
    /* dd-in carries the desktop centring (translateX(-50%)); in the sheet the panel isn't shifted */
    .nav--open .dd__panel:not([hidden]) { animation-name: dd-row; }
  }
}
@keyframes spin { to { transform: rotate(1turn); } }

/* Touch: hover only exists for a mouse (gated above), so in-page controls show their hover look while pressed.
   Instant on press; the base transition eases it back on release. */
.dd__btn:active, .nav__links a:active, .nav__side a:not(.btn):active { color: var(--brand); }
.dd__cols a:active, .dd__links a:active { background: light-dark(#F6F3ED, var(--dark-2)); }
.tab:active { color: var(--ink); }
.qa summary:active span { color: var(--brand-deep); }
.wa__btns button:active { background: #F6F3ED; transition-duration: 0s; }
button.chip:active, .try__reset:active, .motion-btn:active { box-shadow: inset 0 0 0 1px light-dark(#C6BFB2, #9E978C); transition-duration: 0s; }
button.chip--go:active { background: var(--btn-hover); box-shadow: inset 0 0 0 1px var(--btn-edge); }

/* Forced colours drop box-shadow edges and background states: fields, the consent box and the selected tab
   get real borders and outlines in system colours. The form. prefix outranks the .cta--check look (also in check-preview.css). */
@media (forced-colors: active) {
  .field input, .field select { border: 1px solid CanvasText; }
  .check__ok input { border: 1px solid CanvasText; }
  form.check .check__ok input:checked { background: CanvasText; }
  .tab[aria-selected="true"], .motion-btn[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -2px; }
  .btn { border: 1px solid ButtonText; }  /* filled buttons have no edge once forced colours drop their fill */
}
