/* DEMO1/DEMO2 block kit (bausteine/QUELLEN.md): the layouts are ported from Tailark blocks (MIT, Copyright (c) 2025
   Irung) and the motion from motion-primitives (MIT, Copyright (c) 2024 ibelick), both as published on 21st.dev,
   rewritten as plain HTML and CSS; icons are Lucide (ISC) in icons.svg. No React, no CDN, fonts from this host only.
   One root .bk carries the firm colour (--brand, --on) and one style class: .stil-m (modern) or .stil-k (klassisch).
   The root is a size container: the blocks lay out by the width of .bk (a phone inside the code page, the whole window
   on a built site), never by the window alone. Motion runs only under .bk.ani (bewegung.js); .bk.still is at rest. */
@font-face { font-family: "DM Sans"; src: url("/beispiel/poolbau/fonts/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/beispiel/poolbau/fonts/DMSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

.bk { --brand: #1D3557; --on: #FFFFFF; --bg: #FFFFFF; --ink: #111113; --quiet: #5E6066; --muted: #F4F4F5; --line: #E4E4E7;
  --r: 16px; --r-lg: 28px; --head: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --head-w: 700; --track: -0.02em;
  background: var(--bg); color: var(--ink); font: 16px/1.55 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; container: bk / inline-size; }
.bk.stil-k { --bg: #FBFAF6; --ink: #1C1B18; --quiet: #5F5B52; --muted: #F2EFE6; --line: #E3DDCF; --r: 4px; --r-lg: 6px;
  --head: "Fraunces", Georgia, "Times New Roman", serif; --track: 0; }
.bk *, .bk *::before, .bk *::after { box-sizing: border-box; }
.bk :where(p, h1, h2, h3, ul, address) { margin: 0; }
.bk :where(ul) { padding: 0; list-style: none; }
.bk :where(a) { color: inherit; }
.bk address { font-style: normal; }

.b { padding: 64px 0; background: var(--bg); }
.b-in { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.b-center { text-align: center; }
.b-narrow { max-width: 620px; margin-left: auto; margin-right: auto; }
.b-muted { background: var(--muted); }
.b-brand { background: var(--brand); color: var(--on); }
.b-h1 { font: var(--head-w) clamp(36px, 9cqi, 76px)/1.05 var(--head); letter-spacing: var(--track); text-wrap: balance; overflow-wrap: anywhere; }
.b-h2 { font: var(--head-w) clamp(28px, 6.4cqi, 46px)/1.12 var(--head); letter-spacing: var(--track); text-wrap: balance; }
.b-h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.b-lead { margin-top: 20px; font-size: 18px; color: var(--quiet); text-wrap: balance; }
.b-sub { margin-top: 14px; font-size: 17px; color: var(--quiet); }
.b-brand .b-sub, .b-brand .b-quiet { color: inherit; opacity: .85; }
.b-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--quiet); margin-bottom: 14px; }
.b-quiet { color: var(--quiet); }
.b-note { margin-top: 18px; font-size: 13px; color: var(--quiet); }
.b-left { max-width: 560px; }

.b-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.b-actions-center { justify-content: center; }
.b-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 20px; border-radius: calc(var(--r) - 4px);
  background: var(--brand); color: var(--on); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.bk .b-btn { color: var(--on); }
.b-btn-ghost, .bk .b-btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.b-btn-round { border-radius: 999px; }
.stil-k .b-btn-round { border-radius: var(--r); }

/* stars: one gold row, filled to --w (rating / 5) */
.b-stars { --w: 0%; position: relative; display: inline-block; width: 96px; height: 18px; vertical-align: -3px;
  background: linear-gradient(90deg, #F2B01E var(--w), #D4D4D8 var(--w));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg%3E%3Cpath id='s' d='M12 1.5l3.1 6.6 7.2.8-5.4 4.9 1.5 7.1L12 17.3 5.6 20.9l1.5-7.1L1.7 8.9l7.2-.8z'/%3E%3Cuse href='%23s' x='24'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='72'/%3E%3Cuse href='%23s' x='96'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg%3E%3Cpath id='s' d='M12 1.5l3.1 6.6 7.2.8-5.4 4.9 1.5 7.1L12 17.3 5.6 20.9l1.5-7.1L1.7 8.9l7.2-.8z'/%3E%3Cuse href='%23s' x='24'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='72'/%3E%3Cuse href='%23s' x='96'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat; }
.b-stars-lg { width: 160px; height: 30px; }

/* 1A · hero-section-1: centred, pill above the name, soft light behind */
.b-1a { padding: 96px 0 88px; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--brand) 14%, var(--bg)) 0%, var(--bg) 70%); }
.b-pill { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; padding: 6px 8px 6px 16px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg); font-size: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.b-pill-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--on); display: inline-flex; align-items: center; justify-content: center; }
.b-pill-dot .i { width: 14px; height: 14px; }
.b-1a .b-lead { max-width: 560px; margin-left: auto; margin-right: auto; }

/* 1B · hero-section-5: a rounded panel, the text at its foot (the video replaced by the firm colour) */
.b-1b { padding: 6px; }
.b-1b-frame { min-height: 520px; display: flex; align-items: flex-end; border-radius: var(--r-lg); overflow: hidden; color: var(--on);
  background: radial-gradient(90% 70% at 85% 10%, color-mix(in srgb, var(--brand) 55%, #ffffff) 0%, transparent 60%),
              linear-gradient(160deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 70%, #000000) 100%); }
.b-1b-body { width: 100%; max-width: 1040px; margin: 0 auto; padding: 40px 24px; }
.b-1b .b-eyebrow, .b-1b .b-lead { color: inherit; opacity: .88; }
.b-1b .b-h1 { max-width: 620px; }
.b-1b .b-btn { background: var(--on); color: var(--brand); }
.b-1b .b-btn-ghost { background: transparent; color: var(--on); box-shadow: inset 0 0 0 1.5px currentColor; }

/* 1C · hero-section-3: centred, a bar like the original's input, two stacked cards below */
.b-1c { padding: 96px 0 0; overflow: hidden; }
.b-1c .b-lead { max-width: 560px; margin-left: auto; margin-right: auto; }
.b-1c-bar { margin: 36px auto 0; max-width: 400px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 6px 6px 6px 16px; border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); background: var(--bg);
  box-shadow: 0 1px 3px rgba(0,0,0,.06); text-align: left; }
.b-1c-icon { display: flex; color: var(--quiet); }
.b-1c-num { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-1c-cards { position: relative; margin: 56px auto 0; width: 300px; height: 230px; }
.b-1c-back, .b-1c-front { position: absolute; inset: 0 0 auto; height: 260px; border-radius: calc(var(--r) + 12px); border: 1px solid var(--line); }
.b-1c-back { transform: translate(-22px, -26px); background: repeating-linear-gradient(-45deg, var(--line) 0 1px, transparent 1px 7px); }
.b-1c-front { transform: translateX(14px); background: var(--bg); padding: 16px; text-align: left; box-shadow: 0 18px 40px rgba(0,0,0,.10); }
.b-1c-name { font: var(--head-w) 18px/1.2 var(--head); }
.b-1c-meta { margin-top: 6px; font-size: 14px; color: var(--quiet); }
.b-1c-list { margin-top: 14px; display: grid; gap: 8px; font-size: 14px; }
.b-1c-list li { display: flex; align-items: center; gap: 8px; }
.b-1c-list li:nth-child(n+4) { display: none; }
.b-1c-list .i { color: var(--brand); }

/* 2A · features-1: cards with a grid ornament around the icon */
.b-2a-grid, .b-2c-grid { margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-card, .b-tile { padding: 12px 10px 20px; text-align: center; border-radius: var(--r); }
.b-card { background: var(--bg); border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.b-tile { background: var(--muted); }
.b-deco { position: relative; display: block; width: 96px; height: 96px; margin: 0 auto 8px;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center;
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 68%); mask: radial-gradient(circle, #000 35%, transparent 68%); }
.b-deco-box .i { width: 22px; height: 22px; }
.b-deco-box { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--bg); border-left: 1px solid var(--line); border-top: 1px solid var(--line); color: var(--brand); }
.b-tile-ico { display: inline-flex; width: 44px; height: 44px; margin: 8px auto 12px; align-items: center; justify-content: center;
  border-radius: calc(var(--r) - 4px); background: var(--bg); color: var(--brand); }
.b-tile-ico .i { width: 22px; height: 22px; }
.stil-k .b-deco-box { color: var(--brand); }

/* 2B · features-4: one bordered grid, cells divided by lines */
.b-2b-grid { margin: 48px auto 0; max-width: 900px; display: grid; border: 1px solid var(--line); }
.b-2b-grid li { padding: 32px 28px; border-top: 1px solid var(--line); }
.b-2b-grid li:first-child { border-top: 0; }
.b-2b-head { display: flex; align-items: center; gap: 8px; color: var(--brand); }
.b-2b-head .b-h3 { color: var(--ink); font-size: 15px; }

/* 3A · testimonials-5's card, holding the rating instead of a quote (no review text is stored) */
.b-3a-card { margin: 36px auto 0; max-width: 420px; padding: 32px 24px; text-align: center; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.b-3a-card p + p { margin-top: 12px; }
.b-3a-num { font: var(--head-w) 64px/1 var(--head); letter-spacing: var(--track); }
.b-3a-num span { font-size: 18px; color: var(--quiet); font-family: "DM Sans", system-ui, sans-serif; font-weight: 400; letter-spacing: 0; }
.b-3a-meta { color: var(--quiet); }
.b-3a-meta b { color: var(--ink); }

/* 3B · features-4's divided grid, two cells */
.b-3b-grid { margin: 40px auto 0; max-width: 640px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--bg); }
.b-3b-grid > div { padding: 32px 16px; text-align: center; }
.b-3b-grid > div + div { border-left: 1px solid var(--line); }
.b-3b-one { grid-template-columns: 1fr; }
.b-3b-big { font: var(--head-w) 48px/1 var(--head); letter-spacing: var(--track); }
.b-3b-label { margin-top: 10px; font-size: 14px; color: var(--quiet); }

/* 3C · call-to-action-3: centred on the firm colour, the stars in a pill */
.b-3c-pill { display: inline-block; margin-top: 28px; padding: 10px 18px; border-radius: 999px; background: var(--bg); }

/* 4A · content-2: the text on the left, a framed colour field behind it on wide screens */
.b-4a-row { margin-top: 32px; position: relative; }
.b-4a-text { position: relative; z-index: 1; }
.b-4a-text > p + p { margin-top: 14px; }
.b-facts { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.b-facts p { margin-top: 6px; font-size: 14px; color: var(--quiet); }
.b-4a-art { margin-top: 40px; padding: 8px; border: 1px dotted var(--line); border-radius: calc(var(--r) + 6px); }
.b-art { height: 220px; border-radius: var(--r); color: var(--on); display: flex; flex-direction: column; justify-content: space-between; padding: 20px;
  background: radial-gradient(70% 90% at 80% 20%, color-mix(in srgb, var(--brand) 50%, #fff) 0%, transparent 70%),
              linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000)); }

/* 4B · content-7: two columns, text and a wide card */
.b-4b-grid { margin-top: 32px; display: grid; gap: 32px; }
.b-4b-text > p + p { margin-top: 14px; }
.b-4b-art { padding: 1px; border-radius: var(--r-lg); background: linear-gradient(to bottom, var(--line), transparent); }
.b-art-wide { height: auto; aspect-ratio: 67 / 34; border-radius: calc(var(--r-lg) - 1px); }
.b-art-mono { font: var(--head-w) 56px/1 var(--head); letter-spacing: var(--track); }
.b-art-name { font-size: 15px; font-weight: 700; line-height: 1.35; opacity: .9; }

/* 4C · call-to-action-3: centred, one line of facts */
.b-4c-line { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.b-4c-line span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }

/* 5A · call-to-action-3: centred, the number in the pill bar */
.b-5a-bar { margin-top: 32px; grid-template-columns: 1fr auto; }
.b-legal { margin-top: 40px; font-size: 13px; color: var(--quiet); }
.b-legal a { color: inherit; }

/* 5B · footer-2: groups in columns, the year line under a rule */
.b-5b { border-top: 1px solid var(--line); }
.b-5b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.b-5b-name { font: var(--head-w) 20px/1.25 var(--head); margin-bottom: 6px; }
.b-5b-group { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.b-5b-grid p { font-size: 15px; color: var(--quiet); line-height: 1.7; }
.b-5b-grid a { text-decoration: none; }
.b-5b-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--quiet); }

/* 5C · footer-4 under an address box */
.b-5c-box { padding: 32px 24px; border-radius: var(--r-lg); background: var(--muted); }
.b-5c-addr { margin: 16px 0 20px; font-size: 17px; line-height: 1.6; }
.b-5c-foot { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; }
.b-5c-links { display: flex; flex-wrap: wrap; gap: 20px; }
.b-5c-links a { color: var(--quiet); text-decoration: none; }

@container bk (min-width: 768px) {
  .b { padding: 96px 0; }
  .b-1a, .b-1c { padding-top: 128px; }
  .b-2a-grid, .b-2c-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
  .b-card, .b-tile { padding: 24px 20px 28px; }
  .b-deco { width: 128px; height: 128px; }
  .b-2b-grid { grid-template-columns: repeat(2, 1fr); }
  .b-2b-grid li { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .b-2b-grid li:nth-child(-n+2) { border-top: 0; }
  .b-2b-grid li:nth-child(2n+1) { border-left: 0; }
  .b-1b-frame { min-height: 560px; }
  .b-1b-body { padding: 56px 48px; }
  .b-4a-text { width: 50%; }
  .b-4a-art { position: absolute; top: -24px; bottom: -24px; right: 0; width: 46%; margin: 0; }
  .b-4a-art .b-art { height: 100%; }
  .b-4b-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .b-5b-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .b-5c-box { padding: 48px; }
}
@container bk (min-width: 1024px) {
  .b-2b-grid { grid-template-columns: repeat(3, 1fr); }
  .b-2b-grid li:nth-child(-n+3) { border-top: 0; }
  .b-2b-grid li:nth-child(n) { border-left: 1px solid var(--line); }
  .b-2b-grid li:nth-child(3n+1) { border-left: 0; }
  .b-2b-grid li:nth-child(4), .b-2b-grid li:nth-child(5), .b-2b-grid li:nth-child(6) { border-top: 1px solid var(--line); }
  .b-1b-frame { min-height: 620px; border-radius: 48px; }
  .stil-k .b-1b-frame { border-radius: var(--r-lg); }
}

/* ---------- DEMO2 ---------- */
.bk .i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; stroke-width: 2; }
.b-btn .i { width: 18px; height: 18px; }
.b-2b-head .i { width: 18px; height: 18px; }
.bk { --m-dur: .9s; --m-ease: cubic-bezier(.22, 1, .36, 1); --m-pop: cubic-bezier(.34, 1.56, .64, 1); --m-blur: 10px;
  --m-y: 22px; --m-stag: 55ms; --loop: 1; }
.bk.stil-k { --m-dur: 1.2s; --m-ease: cubic-bezier(.25, .1, .25, 1); --m-pop: cubic-bezier(.25, .1, .25, 1); --m-blur: 0px;
  --m-y: 12px; --m-stag: 110ms; --loop: 1.6; }

/* the site's own head: the firm's mark carries its initials, the button and the menu go to the sections */
.k-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 12px 0 16px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line); }
.k-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; text-decoration: none; }
.k-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: calc(var(--r) - 6px);
  background: var(--brand); color: var(--on); font: var(--head-w) 14px/1 var(--head); letter-spacing: .02em; }
.stil-k .k-mark { border-radius: 50%; }
.k-name { font: var(--head-w) 15px/1.2 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-cta { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 700; text-decoration: none; }
.bk .k-cta { color: var(--bg); }
.stil-k .k-cta { border-radius: var(--r); background: var(--brand); }
.bk.stil-k .k-cta { color: var(--on); }
.k-menu { position: relative; flex: none; }
.k-menu summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; cursor: pointer; border-radius: 10px; }
.k-menu summary::-webkit-details-marker { display: none; }
.k-menu summary .i { width: 22px; height: 22px; }
.k-nav { position: absolute; right: 0; top: 48px; min-width: 190px; display: grid; padding: 8px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.k-nav a { padding: 10px 12px; border-radius: calc(var(--r) - 6px); text-decoration: none; font-size: 15px; }
.k-nav a:hover { background: var(--muted); }
/* DEMO3: on a wide screen (the laptop view, a built site on a desktop) the sections stand in the head, the menu goes */
.k-links { display: none; }
@container bk (min-width: 900px) {
  .k-head { height: 72px; gap: 28px; padding: 0 max(32px, calc((100cqi - 1040px) / 2 + 24px)); }
  .k-name { font-size: 17px; }
  .k-links { display: flex; align-items: center; gap: 26px; }
  .k-links a { font-size: 15px; color: var(--quiet); text-decoration: none; white-space: nowrap; }
  .k-links a:hover { color: var(--ink); }
  .k-cta { height: 42px; padding: 0 20px; font-size: 14px; }
  .k-menu { display: none; }
}

/* shared pieces of the animated set */
.a-ico-box { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: calc(var(--r) - 4px);
  background: color-mix(in srgb, var(--brand) 12%, var(--bg)); color: var(--brand); }
.a-ico-box .i { width: 22px; height: 22px; }
.a-mono { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: calc(var(--r) - 4px);
  background: var(--brand); color: var(--on); font: var(--head-w) 17px/1 var(--head); }
.stil-k .a-mono { border-radius: 50%; }
.a-stars { --w: 0%; position: relative; display: inline-block; width: 110px; height: 21px; overflow: hidden; background: #D4D4D8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg%3E%3Cpath id='s' d='M12 1.5l3.1 6.6 7.2.8-5.4 4.9 1.5 7.1L12 17.3 5.6 20.9l1.5-7.1L1.7 8.9l7.2-.8z'/%3E%3Cuse href='%23s' x='24'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='72'/%3E%3Cuse href='%23s' x='96'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg%3E%3Cpath id='s' d='M12 1.5l3.1 6.6 7.2.8-5.4 4.9 1.5 7.1L12 17.3 5.6 20.9l1.5-7.1L1.7 8.9l7.2-.8z'/%3E%3Cuse href='%23s' x='24'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='72'/%3E%3Cuse href='%23s' x='96'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat; }
.a-stars i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: #F2B01E; transform-origin: 0 50%; }
.a-stars-lg { width: 170px; height: 32px; }

/* A-1A · hero-section-1 with motion-primitives TextEffect (per word, fade in blur) and AnimatedGroup */
.a-1a { padding: 72px 0 64px; overflow: hidden; position: relative; isolation: isolate; }
.a-1a::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -120px; width: 640px; height: 520px; margin-left: -320px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 34%, transparent), transparent); }
.a-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); font-size: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.a-pill-ico { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: var(--on); }
.a-pill-ico .i { width: 14px; height: 14px; }
.a-1a .b-lead { max-width: 560px; margin-left: auto; margin-right: auto; }
.a-1a-card { margin: 44px auto 0; max-width: 420px; padding: 16px; text-align: left; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 60px -20px rgba(0,0,0,.25); }
.a-1a-top { display: flex; align-items: center; gap: 12px; }
.a-1a-who { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.a-1a-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-1a-who span { font-size: 13px; color: var(--quiet); }
.a-1a-rate { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.a-1a-rate .i { color: #F2B01E; fill: #F2B01E; }
.a-1a-list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.a-1a-list li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--muted); font-size: 13px; }
.a-1a-list .i { color: var(--brand); width: 15px; height: 15px; }
.stil-k .a-1a-list li { border-radius: var(--r); }

/* A-1B · hero-section-5's panel; the video replaced by a slow aurora in the firm colour (motion-primitives style) */
.a-1b { padding: 6px; }
.a-1b-panel { position: relative; isolation: isolate; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; border-radius: var(--r-lg);
  background: var(--brand); color: var(--on); }
.a-aurora { position: absolute; inset: 0; z-index: -1; }
.a-aurora i { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(40px); opacity: .55; }
.a-aurora i:nth-child(1) { left: -20%; top: -10%; background: color-mix(in srgb, var(--brand) 40%, #fff); }
.a-aurora i:nth-child(2) { right: -25%; top: 20%; background: color-mix(in srgb, var(--brand) 55%, #000); }
.a-aurora i:nth-child(3) { left: 20%; bottom: -30%; background: color-mix(in srgb, var(--brand) 70%, #fff); opacity: .35; }
.a-1b-body { width: 100%; padding: 40px 22px 36px; }
.a-1b .b-eyebrow, .a-1b .b-lead { color: inherit; opacity: .9; }
.a-btn-on, .bk .a-btn-on { background: var(--on); color: var(--brand); }
.a-btn-line, .bk .a-btn-line { background: transparent; color: var(--on); box-shadow: inset 0 0 0 1.5px currentColor; }

/* A-1C · hero-section-3 with TextShimmer and InfiniteSlider (motion-primitives) */
.a-1c { padding: 72px 0 40px; overflow: hidden; }
.a-1c-h { margin-top: 4px; }
.a-shimmer { background: linear-gradient(100deg, var(--ink) 40%, color-mix(in srgb, var(--brand) 80%, #fff) 50%, var(--ink) 60%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-position: 100% 0; }
.a-1c-bar { margin-top: 30px; max-width: 420px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 6px 6px 6px 8px; border: 1px solid var(--line); border-radius: calc(var(--r) + 8px); background: var(--bg); box-shadow: 0 10px 30px -12px rgba(0,0,0,.2); }
.a-1c-ico { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: calc(var(--r) + 2px); background: var(--muted); color: var(--brand); }
.a-1c-num { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-marquee { margin-top: 48px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.a-marquee-track { display: flex; width: max-content; }
.a-marquee ul { display: flex; gap: 10px; padding-right: 10px; }
.a-marquee li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; font-size: 15px; }
.stil-k .a-marquee li { border-radius: var(--r); }
.a-marquee .i { color: var(--brand); }

/* A-2A · features-1 cards, rising as a group */
.a-2a-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a-2a-card { padding: 20px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.a-2a-card .b-h3 { margin-top: 14px; }

/* A-2B · numbered rows, a line drawn under each */
.a-2b-list { margin: 32px 0 0; padding: 0; list-style: none; }
.a-2b-list li { position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 18px 0; }
.a-2b-nr { font: var(--head-w) 14px/1 var(--head); color: var(--quiet); }
.a-2b-ico { color: var(--brand); display: inline-flex; }
.a-2b-ico .i { width: 22px; height: 22px; }
.a-2b-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform-origin: 0 50%; }
.a-2b .b-h3 { font-size: 18px; }

/* A-2C · a bento of tiles, a light running along the first tile's border (BorderTrail) */
.a-2c-bento { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a-2c-cell { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 120px; padding: 16px;
  border-radius: var(--r); background: var(--muted); }
.a-2c-cell:first-child { grid-column: 1 / -1; min-height: 140px; background: var(--ink); color: var(--bg); }
.a-2c-ico { width: 26px; height: 26px; color: var(--brand); }
.a-2c-cell:first-child .a-2c-ico { color: color-mix(in srgb, var(--brand) 60%, #fff); }
.a-trail { display: none; }
.a-2c-cell:first-child .a-trail { display: block; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.a-2c-cell:first-child .a-trail::before { content: ""; position: absolute; left: 50%; top: 50%; width: 200%; aspect-ratio: 1; margin: -100% 0 0 -100%;
  background: conic-gradient(from 0deg, transparent 0 300deg, color-mix(in srgb, var(--brand) 70%, #fff) 340deg, transparent 360deg); }

/* A-3A · testimonials card with AnimatedNumber and the stars filling */
.a-3a-card { margin: 24px auto 0; max-width: 420px; padding: 34px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.2); display: grid; gap: 14px; justify-items: center; }
.a-3a-num { font: var(--head-w) 72px/1 var(--head); letter-spacing: var(--track); font-variant-numeric: tabular-nums; }
.a-3a-num small { font: 400 18px/1 "DM Sans", system-ui, sans-serif; color: var(--quiet); letter-spacing: 0; }
.a-3a-meta { color: var(--quiet); }
.a-3a-meta b { color: var(--ink); }

/* A-3B · stats tiles with counters */
.a-3b-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a-3b-tile { padding: 22px 16px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); text-align: center; }
.a-3b-tile:nth-child(3) { grid-column: 1 / -1; }
.a-3b-wide { grid-column: 1 / -1; }
.a-3b-big { font: var(--head-w) 48px/1 var(--head); letter-spacing: var(--track); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.a-3b-label { font-size: 14px; color: var(--quiet); }

/* A-3C · call-to-action-3 on the firm colour, the stars popping one by one */
.a-3c-big { font: var(--head-w) 96px/1 var(--head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.a-3c-stars { margin: 14px 0 22px; display: flex; justify-content: center; gap: 4px; }
.a-3c-stars .i { width: 28px; height: 28px; fill: currentColor; }

/* A-4A · content-2: the text, counters, and a card with the firm's initials moving with the scroll */
.a-4a-row { margin-top: 24px; display: grid; gap: 52px; }
.a-4a-text > p { font-size: 17px; }
.a-4a-num { font: var(--head-w) 40px/1 var(--head); color: var(--brand); font-variant-numeric: tabular-nums; }
.a-4a-card { min-height: 210px; padding: 22px; border-radius: var(--r-lg); display: flex; flex-direction: column; justify-content: space-between; color: var(--on);
  background: radial-gradient(80% 90% at 85% 15%, color-mix(in srgb, var(--brand) 55%, #fff) 0%, transparent 70%), linear-gradient(140deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000)); }
.a-4a-mono { font: var(--head-w) 64px/1 var(--head); letter-spacing: var(--track); }
.a-4a-cap { font-weight: 700; font-size: 15px; line-height: 1.35; }

/* A-4B · a statement read as you scroll (scroll linked text reveal), two facts */
.a-4b-say { font: var(--head-w) 28px/1.3 var(--head); letter-spacing: var(--track); }
.a-4b-row { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.a-4b-row > div { padding: 18px; border-radius: var(--r); background: var(--bg); }
.a-4b-row .i { width: 24px; height: 24px; color: var(--brand); margin-bottom: 12px; }
.a-4b-row p { margin-top: 4px; font-size: 14px; color: var(--quiet); }

/* A-4C · a timeline whose rail is drawn as it comes in */
.a-4c-time { position: relative; margin: 32px 0 0; padding: 0 0 0 0; list-style: none; display: grid; gap: 26px; }
.a-4c-rail { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); transform-origin: 50% 0; }
.a-4c-time li { position: relative; padding-left: 60px; }
.a-4c-dot { position: absolute; left: 0; top: -4px; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--brand); color: var(--brand); }
.a-4c-time p { margin-top: 4px; color: var(--quiet); font-size: 15px; }

/* A-5A · call-to-action on the firm colour with a pulsing call button */
.a-5a .b-sub { color: inherit; opacity: .88; }
.a-5a-call { margin-top: 30px; }
.a-5a-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 26px; border-radius: 999px; background: var(--on);
  color: var(--brand); font-size: 19px; font-weight: 700; text-decoration: none; }
.bk .a-5a-btn { color: var(--brand); }
.stil-k .a-5a-btn { border-radius: var(--r); }
.a-ping { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--on); opacity: 0; }
.a-5a-addr { margin: 26px auto 0; max-width: 300px; display: flex; justify-content: center; align-items: flex-start; gap: 8px; opacity: .9; text-align: left; }
.a-5a-addr .i { margin-top: 3px; }
.a-5a .b-legal { color: inherit; opacity: .8; }

/* A-5B · contact rows sliding in, footer line */
.a-5b-rows { margin-top: 28px; display: grid; gap: 10px; }
.a-5b-rows li { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); }
.a-5b-rows small { display: block; font-size: 12px; color: var(--quiet); text-transform: uppercase; letter-spacing: .08em; }
.a-5b-rows a { font-weight: 700; text-decoration: none; }
.a-5b-foot { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--quiet); }
.a-5b-foot span:last-child { display: flex; gap: 16px; }
.a-5b-foot a { text-decoration: none; }

/* A-5C · footer with the firm's name set big, letter by letter */
.a-5c { padding-bottom: 28px; overflow: hidden; }
.a-5c-top { display: grid; gap: 22px; }
.a-5c-addr { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--quiet); }
.a-5c-links { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.a-5c-links a { color: var(--quiet); text-decoration: none; }
.a-5c-giant { margin-top: 28px; font: var(--head-w) clamp(34px, 10cqi, 132px)/.98 var(--head); letter-spacing: -.035em; overflow-wrap: anywhere;
  background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 25%, var(--bg))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.a-5c-giant .mc, .a-5c-giant .mw { -webkit-text-fill-color: transparent; }
.a-5c-copy { margin-top: 18px; font-size: 13px; color: var(--quiet); }

@container bk (min-width: 768px) {
  .a-1a, .a-1c { padding: 120px 0 88px; }
  .a-2a-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .a-2c-bento { grid-template-columns: repeat(3, 1fr); }
  .a-3b-grid { grid-template-columns: repeat(3, 1fr); }
  .a-3b-tile:nth-child(3) { grid-column: auto; }
  .a-4a-row { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .a-4b-say { font-size: 40px; }
  .a-5c-top { grid-template-columns: 1fr auto; align-items: end; }
  .a-1b-panel { min-height: 620px; }
  .a-1b-body { padding: 64px 56px; max-width: 760px; }
}

/* ---------- motion (bewegung.js puts .ani on .bk; nothing below runs without it) ---------- */
.bk.ani [data-m="rise"], .bk.ani [data-m="group"] > *, .bk.ani [data-m="zoom"], .bk.ani .mw, .bk.ani .mc, .bk.ani [data-m="draw"], .bk.ani [data-m="drawy"],
.bk.ani [data-m="stars"] {
  transition: opacity var(--m-dur) var(--m-ease), transform var(--m-dur) var(--m-ease), filter var(--m-dur) var(--m-ease);
  transition-delay: calc(var(--d, 0ms) + var(--i, 0) * var(--m-stag)); }
.bk.ani .mw, .bk.ani .mc { display: inline-block; }
.bk.ani .mc { transition-delay: calc(var(--d, 0ms) + var(--i, 0) * var(--m-stag) * .45); }
.bk.ani [data-m="rise"]:not(.in), .bk.ani [data-m="group"]:not(.in) > *, .bk.ani [data-m="words"]:not(.in) .mw, .bk.ani [data-m="chars"]:not(.in) .mc {
  opacity: 0; transform: translateY(var(--m-y)); filter: blur(var(--m-blur)); }
.bk.ani [data-m="zoom"]:not(.in) { opacity: 0; transform: scale(.9) translateY(calc(var(--m-y) * 1.4)); filter: blur(var(--m-blur)); }
.bk.ani [data-m="zoom"] { transition-timing-function: var(--m-pop); }
.bk.ani [data-m="draw"]:not(.in) { transform: scaleX(0); }
.bk.ani [data-m="drawy"]:not(.in) { transform: scaleY(0); }
.bk.ani [data-m="draw"], .bk.ani [data-m="drawy"] { transition-duration: calc(var(--m-dur) * 1.4); }
.bk.ani [data-m="stars"]:not(.in) { transform: scaleX(0); }
.bk.ani [data-m="stars"] { transition-duration: calc(var(--m-dur) * 1.8); transition-delay: calc(var(--d, 0ms) + 250ms); }
.bk.ani .a-3c-stars.in > * { transition-timing-function: var(--m-pop); }
.bk.ani .a-3c-stars:not(.in) > * { transform: scale(0); }
.bk.ani .a-marquee-track { animation: a-marquee calc(26s * var(--loop)) linear infinite; }
.bk.ani .a-aurora i { animation: a-drift calc(12s * var(--loop)) ease-in-out infinite alternate; }
.bk.ani .a-aurora i:nth-child(2) { animation-duration: calc(15s * var(--loop)); animation-direction: alternate-reverse; }
.bk.ani .a-aurora i:nth-child(3) { animation-duration: calc(18s * var(--loop)); }
.bk.ani .a-shimmer { animation: a-shimmer calc(3.2s * var(--loop)) ease-in-out infinite; }
.bk.ani .a-2c-cell:first-child .a-trail::before { animation: a-spin calc(5s * var(--loop)) linear infinite; }
.bk.ani .a-ping { animation: a-ping calc(2s * var(--loop)) cubic-bezier(0, 0, .2, 1) infinite; }
.bk.ani .a-2a-card { transition: transform .3s var(--m-ease), box-shadow .3s var(--m-ease), opacity var(--m-dur) var(--m-ease), filter var(--m-dur) var(--m-ease); }
@keyframes a-marquee { to { transform: translateX(-50%); } }
@keyframes a-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(18%, 12%) scale(1.15); } }
@keyframes a-shimmer { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
@keyframes a-spin { to { transform: rotate(360deg); } }
@keyframes a-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.35, 1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .k-head { -webkit-backdrop-filter: none; backdrop-filter: none; } }
.bk.ani-prep, .bk.ani-prep * { transition: none !important; }

/* BAUKASTEN1: the kit's own blocks and surfaces (bausteine/kit/QUELLEN.md). Loaded after bausteine.css, which keeps the
   tokens, the type, the buttons and the motion. Every design is a layout (a file) on one of five surfaces (a class on
   its wrapper .kb): t-hell keeps the layout's own surface, t-weiss, t-ton, t-dunkel and t-marke set it. Modern and
   Klassisch come from .stil-m / .stil-k on the root, animated and static from .ani / .still (bewegung.js), so every
   design exists four times without a second file. Layouts ported from Tailark (MIT) and motion-primitives (MIT) as
   published on 21st.dev, rewritten as plain HTML and CSS; nothing here loads from another host. */

.bk { --kb-brand: var(--brand); --kb-on: var(--on); --kb-ton: #F4F4F5; --kb-ton-in: #FFFFFF; }
.bk.stil-k { --kb-ton: #F2EFE6; --kb-ton-in: #FBFAF6; }

/* the wrapper of one block: its surface, and the note for blocks without real data */
.kb { position: relative; background: var(--bg); color: var(--ink); --kb-hl: var(--kb-brand); }
.kb.t-ton { --bg: var(--kb-ton); --muted: var(--kb-ton-in); }
.kb.t-dunkel { --bg: #121315; --ink: #F4F4F5; --quiet: #A9ABB2; --muted: #1D1E22; --line: #303137; --kb-hl: color-mix(in srgb, var(--kb-brand) 70%, #FFFFFF); }
.stil-k .kb.t-dunkel { --bg: #1E1C18; --ink: #F2EFE6; --quiet: #B9B2A2; --muted: #29261F; --line: #403C33; }
.kb.t-marke { --brand: var(--kb-on); --on: var(--kb-brand); --bg: var(--kb-brand); --ink: var(--kb-on);
  --quiet: color-mix(in srgb, var(--kb-on) 80%, var(--kb-brand)); --muted: color-mix(in srgb, var(--kb-on) 11%, var(--kb-brand));
  --line: color-mix(in srgb, var(--kb-on) 28%, var(--kb-brand)); --kb-hl: var(--kb-on); }
.kb:is(.t-weiss, .t-ton, .t-dunkel, .t-marke) > .b { background: var(--bg); color: var(--ink); }
.kb.t-dunkel .b-1a, .kb.t-dunkel .a-1a { background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--kb-brand) 30%, var(--bg)) 0%, var(--bg) 70%); }
.kb.t-marke .b-stars { background: linear-gradient(90deg, #F2B01E var(--w), color-mix(in srgb, var(--kb-on) 40%, var(--kb-brand)) var(--w)); }
.kb-nach { display: flex; justify-content: center; margin: 0; padding: 0 16px 22px; background: var(--bg); }
.kb-nach span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: var(--quiet); box-shadow: inset 0 0 0 1px var(--line); }
.kb-nach .i { width: 14px; height: 14px; }

/* hover on a wide screen (the laptop view, a built site on a desktop): the block's lines and borders take the firm
   colour, softly. Never on a phone: the container is narrower there and touch has no hover, nothing depends on it. */
@container bk (min-width: 900px) {
  @media (hover: hover) and (pointer: fine) {
    .kb :where(*) { transition: border-color .35s ease, box-shadow .35s ease, outline-color .35s ease; }
    .kb:hover { --line: color-mix(in srgb, var(--kb-hl) 58%, transparent); }
    .kb:hover :where(.b-card, .kx-card, .kx-plan, .kx-callcard, .kx-slot, .kx-qa, .kx-tile, .mk-card, .kx-mapcard, .kx-bento-s, .kx-bento-big) {
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kb-hl) 58%, transparent), 0 10px 30px -18px color-mix(in srgb, var(--kb-hl) 60%, transparent); }
  }
}

/* DEMO4's feature sections (kit/m-*.html), as they were on the demo4 branch */
.mk-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: calc(var(--r) - 4px);
  background: color-mix(in srgb, var(--brand) 12%, var(--bg)); color: var(--brand); }
.mk-ico-lg { width: 56px; height: 56px; }
.mk-ico-lg .i { width: 26px; height: 26px; }
.mk-ico-on { background: color-mix(in srgb, var(--on) 18%, transparent); color: var(--on); margin-bottom: 18px; }
.mk-row { display: flex; gap: 18px; align-items: flex-start; }
.mk-cards { margin-top: 32px; display: grid; gap: 12px; grid-template-columns: 1fr; }
.mk-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 10px 14px; align-items: center; padding: 16px;
  border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.mk-card .mk-ask { grid-column: 1 / -1; justify-content: center; min-height: 42px; }
.mk-ask .i { width: 16px; height: 16px; }
.mk-form { margin-top: 28px; padding: 20px; border-radius: var(--r-lg); background: var(--muted); display: grid; gap: 14px; }
.mk-field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--quiet); }
.mk-input { position: relative; display: block; height: 46px; border-radius: calc(var(--r) - 4px); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); }
.mk-input-tall { height: 92px; }
.mk-input-ico .i { position: absolute; right: 12px; top: 13px; width: 20px; height: 20px; color: var(--quiet); }
.mk-send { justify-content: center; }
.mk-tiles { margin-top: 32px; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.mk-tile { aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; border-radius: var(--r);
  color: var(--on); font-weight: 700; font-size: 14px; line-height: 1.25;
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 78%, #ffffff) 0%, var(--brand) 55%, color-mix(in srgb, var(--brand) 72%, #000000) 100%); }
.mk-tile:nth-child(2n) { background: linear-gradient(200deg, color-mix(in srgb, var(--brand) 60%, #ffffff) 0%, color-mix(in srgb, var(--brand) 85%, #000000) 100%); }
.mk-tile .i { width: 26px; height: 26px; opacity: .9; }
.mk-hours { margin-top: 14px; display: grid; gap: 6px; font-size: 17px; }
.mk-hours li { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.mk-zeiten .b-h2, .mk-jobs .b-h2 { font-size: clamp(26px, 5.6cqi, 40px); }
.mk-call { margin-top: 22px; }
.mk-call-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--on); color: var(--brand);
  font-weight: 700; font-size: 18px; text-decoration: none; }
.bk .mk-call-btn { color: var(--brand); }
.stil-k .mk-call-btn { border-radius: var(--r); }
.mk-call-btn .i { width: 20px; height: 20px; }

/* ---------- the new layouts (kx) ---------- */
.kx .b-center + * { margin-top: 32px; }
.kx-left { max-width: 520px; }
.kx-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; border-radius: calc(var(--r) - 4px);
  background: color-mix(in srgb, var(--brand) 13%, var(--bg)); color: var(--brand); }
.kx-ico .i { width: 20px; height: 20px; }
.kx-ico-lg { width: 58px; height: 58px; margin-bottom: 16px; }
.kx-ico-lg .i { width: 28px; height: 28px; }
.kx-ico-on { margin-left: auto; margin-right: auto; }
.kx-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); text-decoration: none; white-space: nowrap; }
.bk .kx-link { color: var(--brand); }
.kx-link .i { width: 16px; height: 16px; }
.kx-mono { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: calc(var(--r) - 2px);
  background: var(--brand); color: var(--on); font: var(--head-w) 18px/1 var(--head); }
.kx-bar { display: block; height: 10px; width: 70%; border-radius: 6px; background: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.kx-bar-s { width: 45%; margin-top: 8px; }
.kx-av { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; flex: none; border-radius: 50%;
  background: var(--muted); color: var(--quiet); box-shadow: inset 0 0 0 1px var(--line); }
.kx-av .i { width: 28px; height: 28px; }
.kx-av-brand { background: var(--brand); color: var(--on); font: var(--head-w) 20px/1 var(--head); box-shadow: none; }
.kx-slot { display: flex; align-items: center; justify-content: center; height: 64px; border-radius: var(--r); background: var(--muted);
  color: var(--quiet); box-shadow: inset 0 0 0 1px var(--line); }
.kx-slot .i { width: 22px; height: 22px; opacity: .7; }
.stil-k .kx-av { border-radius: 50%; }

/* cards in a grid (features-1, veil-pricing-1) */
.kx-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
.kx-card { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 20px; border-radius: var(--r); background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 3px rgba(0,0,0,.04); }
.kx-person { justify-items: center; padding: 26px 20px; }
.kx-person .kx-bar { margin: 6px auto 0; }
.kx-price { justify-items: center; text-align: center; }
.kx-price-v { font: var(--head-w) 22px/1.2 var(--head); letter-spacing: var(--track); }
.kx-faqcard p { font-size: 15px; }

/* split: text and its partner side by side on a wide screen (content-2, content-7) */
.kx-split { display: grid; gap: 32px; align-items: center; }
.kx-split-top { align-items: start; }
.kx-stack { display: flex; align-items: center; padding-left: 14px; }
.kx-stack > * { margin-left: -14px; box-shadow: 0 0 0 4px var(--bg); }
.kx-stack-c { justify-content: center; margin-bottom: 22px; }

/* divided rows (features-4) */
.kx-rows { margin-top: 28px; display: grid; }
.kx-rows li { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.kx-rows .kx-row-txt { flex: 1; }
.kx-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform-origin: 0 50%; }
.kx-rows-qa li { display: grid; gap: 6px; align-items: start; }
.kx-rows-ico li { border-bottom: 1px solid var(--line); }
.kx-rows-ico a { font-weight: 700; text-decoration: none; }

/* bento (features-8) with a light along the big tile (border-trail) */
.kx-bento { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.kx-bento-big { position: relative; overflow: hidden; grid-column: 1 / -1; display: grid; gap: 6px; justify-items: start; padding: 20px; border-radius: var(--r);
  background: var(--ink); color: var(--bg); }
.kx-bento-big span:last-child { opacity: .75; }
.kx-bento-s { display: grid; gap: 12px; justify-items: center; align-content: center; padding: 18px 12px; border-radius: var(--r); background: var(--muted); text-align: center; }
.kx-bento-s .kx-bar { width: 60%; }
.kx-bento-list .kx-req { justify-items: start; text-align: left; }
.kx-trail { position: relative; }
.kx-trail::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--kx-a, 0deg), transparent 0 290deg, color-mix(in srgb, var(--kb-brand) 75%, #fff) 340deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

/* tiles: the firm's photo, else one of its services (carousel, testimonials-5's wall) */
.kx-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 150px; padding: 14px;
  border-radius: var(--r); color: var(--kb-on); font-weight: 700; font-size: 14px; line-height: 1.25;
  background: linear-gradient(150deg, color-mix(in srgb, var(--kb-brand) 78%, #ffffff) 0%, var(--kb-brand) 55%, color-mix(in srgb, var(--kb-brand) 70%, #000000) 100%); }
.kx-tile:nth-child(3n+2) { background: linear-gradient(200deg, color-mix(in srgb, var(--kb-brand) 60%, #ffffff) 0%, color-mix(in srgb, var(--kb-brand) 85%, #000000) 100%); }
.kx-tile:nth-child(3n) { background: linear-gradient(120deg, color-mix(in srgb, var(--kb-brand) 88%, #000000), color-mix(in srgb, var(--kb-brand) 70%, #ffffff)); }
.kx-tile .i { width: 26px; height: 26px; opacity: .9; }
.kx-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kx-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
  scrollbar-width: none; overscroll-behavior-x: contain; }
.kx-carousel::-webkit-scrollbar { display: none; }
.kx-carousel > * { scroll-snap-align: start; }
.kx-carousel .kx-tile { min-height: 190px; }
.kx-carousel-cards .kx-card { justify-items: start; }
.kx-masonry { columns: 2; column-gap: 10px; }
.kx-masonry .kx-tile { break-inside: avoid; margin-bottom: 10px; }
.kx-masonry .kx-tile:nth-child(2n) { min-height: 200px; }
.kx-feature { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.kx-feature .kx-tile:first-child { grid-column: 1 / -1; min-height: 210px; }

/* a single centred card (mist-pricing-1) */
.kx-plan { position: relative; max-width: 460px; margin: 0 auto; padding: 32px 24px; text-align: center; border-radius: var(--r-lg); background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -28px rgba(0,0,0,.25); }
.kx-plan .b-eyebrow { margin-bottom: 8px; }
.kx-plan-big { font: var(--head-w) clamp(36px, 9cqi, 56px)/1 var(--head); letter-spacing: var(--track); }
.kx-plan .b-actions { justify-content: center; }
.kx-plan .mk-hours { text-align: left; }
.kx-checks { margin: 22px auto 0; display: grid; gap: 10px; max-width: 300px; text-align: left; }
.kx-checks li { display: flex; gap: 10px; align-items: center; }
.kx-checks .i { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* a table of rows with a value at the end */
.kx-table { max-width: 720px; margin-left: auto; margin-right: auto; display: grid; border-top: 1px solid var(--line); }
.kx-table li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.kx-table li > span:first-child { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.kx-table li > span:first-child .i { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* numbered steps (content-7's facts) */
.kx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.kx-steps li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--muted); }
.kx-steps b { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--brand); color: var(--on); }
.stil-k .kx-steps b { border-radius: var(--r); }
.kx-chain { display: grid; gap: 12px; }
.kx-chain .kx-card { grid-template-columns: auto 1fr; align-items: center; }
.kx-chain .kx-card .b-quiet { grid-column: 2; font-size: 15px; }

/* accordion (motion-primitives accordion, as <details>) */
.kx-acc { display: grid; gap: 10px; max-width: 760px; margin-left: auto; margin-right: auto; }
.kx-split .kx-acc { margin: 0; }
.kx-qa { border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.kx-qa summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; font-weight: 700; list-style: none; }
.kx-qa summary::-webkit-details-marker { display: none; }
.kx-qa summary .i { width: 18px; height: 18px; flex: none; color: var(--brand); transition: transform .25s ease; }
.kx-qa[open] summary .i { transform: rotate(180deg); }
.kx-qa p { padding: 0 18px 18px; color: var(--quiet); }

/* panels (hero-section-5's rounded frame) */
.kx-panel { padding: 28px 20px; border-radius: var(--r-lg); background: var(--muted); }
.kx-panel-brand { background: var(--brand); color: var(--on); }
.kx-panel-brand .b-h2 { color: var(--on); }
.kx-panel-brand .mk-form { background: color-mix(in srgb, var(--on) 14%, var(--brand)); }
.kx-panel-brand .mk-field { color: var(--on); }
.kx-panel-brand .mk-input { background: var(--on); box-shadow: none; }
.kx-panel-brand .b-btn { background: var(--on); color: var(--brand); }
.kx-panel-brand .kx-ico { background: color-mix(in srgb, var(--on) 18%, transparent); color: var(--on); }
.kx-callcard { display: grid; gap: 12px; justify-items: center; padding: 28px 20px; border-radius: var(--r-lg); background: var(--bg); text-align: center;
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -26px rgba(0,0,0,.25); }
.kx-callcard .kx-ico-lg { margin-bottom: 0; }
.kx-big-hours .mk-hours { font: var(--head-w) clamp(20px, 5cqi, 30px)/1.35 var(--head); }

/* the drawn map: streets as lines, a pin, no tiles from anywhere */
.kx-mapwrap { position: relative; }
.kx-map { position: relative; height: 240px; overflow: hidden; border-radius: var(--r-lg); background-color: var(--muted);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; }
.kx-map-road { position: absolute; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.kx-r1 { left: -10%; right: -10%; top: 46%; height: 16px; transform: rotate(-8deg); }
.kx-r2 { top: -10%; bottom: -10%; left: 38%; width: 14px; transform: rotate(12deg); }
.kx-r3 { left: 55%; right: -10%; top: 20%; height: 10px; transform: rotate(28deg); }
.kx-pin { position: absolute; left: 50%; top: 44%; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: -40px 0 0 -26px;
  border-radius: 50% 50% 50% 0; background: var(--kb-brand); color: var(--kb-on); transform: rotate(-45deg); box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.bk.ani .kx-pin[data-m="zoom"]:not(.in) { transform: rotate(-45deg) scale(.6); }
.kx-pin .i { width: 24px; height: 24px; transform: rotate(45deg); }
.kx-mapcard { margin-top: -40px; position: relative; max-width: 300px; margin-left: auto; margin-right: auto; padding: 16px 18px; border-radius: var(--r); background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line), 0 16px 30px -18px rgba(0,0,0,.35); }
.kx-mapcard address, .kx-adr address { display: grid; gap: 2px; }
.kx-adr { margin-top: 22px; display: grid; gap: 14px; }
.kx-map-wide .kx-map { height: 320px; border-radius: 0; }
.kx-flush { padding: 0 0 48px; }
.kx-flush .b-in { max-width: none; padding: 0; }
.kx-mapcard-float { margin-top: -70px; }
.kx-adr-big { margin-top: 6px; font: var(--head-w) clamp(24px, 6cqi, 40px)/1.2 var(--head); letter-spacing: var(--track); text-wrap: balance; }

/* forms (the look only) */
.kx-form { max-width: 560px; margin-left: auto; margin-right: auto; }
.kx-split .kx-form { margin: 0; width: 100%; }
.kx-alt { margin-top: 18px; color: var(--quiet); }
.kx-alt a { font-weight: 700; color: var(--ink); }
.kx-lines { margin-top: 20px; display: grid; gap: 18px; max-width: 620px; }
.kx-lines label { display: grid; gap: 10px; font-size: 14px; font-weight: 700; color: var(--quiet); }
.kx-lines span { display: block; height: 1.5px; background: var(--line); }
.kx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.kx-chips li { padding: 9px 14px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 700; }
.kx-chips li:first-child { background: var(--brand); color: var(--on); box-shadow: none; }
.stil-k .kx-chips li { border-radius: var(--r); }
.kx-nl { display: grid; gap: 10px; max-width: 460px; margin: 0 auto; }
.kx-split .kx-nl { margin: 0; }
.kx-nl-in { display: flex; align-items: center; padding: 0 14px; }
.kx-ph { color: var(--quiet); font-size: 15px; }
.kx-nl .b-btn { justify-content: center; }
.kx-nl-line { display: grid; gap: 12px; }

/* Notdienst */
.kx-slim { padding: 28px 0; }
.kx-alert { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--brand); }
.kx-alert .b-quiet { grid-column: 2; font-size: 15px; }
.kx-alert .b-btn { grid-column: 1 / -1; justify-content: center; }
.kx-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%;
  background: var(--brand); color: var(--on); }
.kx-ring .i { width: 30px; height: 30px; }
.kx-ring::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--brand); opacity: 0; }
.bk.ani .kx-ring::after { animation: a-ping calc(2s * var(--loop)) cubic-bezier(0, 0, .2, 1) infinite; }
.kx-notdienst-5 .mk-call-btn { background: var(--brand); color: var(--on); }
.bk .kx-notdienst-5 .mk-call-btn { color: var(--on); }

/* logos (logo-cloud-2, customers-section-2's infinite slider, integrations-4's orbit, integrations-6's list) */
.kx-logos { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.kx-marquee { margin-top: 16px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.kx-marquee-track { display: flex; gap: 10px; width: max-content; }
.kx-marquee-track li { width: 120px; }
.bk.ani .kx-marquee-track { animation: a-marquee calc(30s * var(--loop)) linear infinite; }
.kx-orbit { position: relative; width: 260px; height: 260px; margin: 0 auto; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.kx-orbit::before { content: ""; position: absolute; inset: 60px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.kx-orbit-c { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 22px; background: var(--brand); color: var(--on); font: var(--head-w) 22px/1 var(--head); }
.kx-orbit-s { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 14px; background: var(--muted); color: var(--quiet); box-shadow: inset 0 0 0 1px var(--line); }
.kx-orbit-s .i { width: 20px; height: 20px; opacity: .7; }
.kx-orbit-s:nth-of-type(2) { left: 50%; top: 0; } .kx-orbit-s:nth-of-type(3) { left: 93%; top: 25%; } .kx-orbit-s:nth-of-type(4) { left: 93%; top: 75%; }
.kx-orbit-s:nth-of-type(5) { left: 50%; top: 100%; } .kx-orbit-s:nth-of-type(6) { left: 7%; top: 75%; } .kx-orbit-s:nth-of-type(7) { left: 7%; top: 25%; }
.stil-k .kx-orbit-c, .stil-k .kx-orbit-s { border-radius: var(--r); }
.kx-plist { max-width: 640px; margin-left: auto; margin-right: auto; display: grid; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.kx-plist li { display: flex; align-items: center; gap: 16px; padding: 16px; }
.kx-plist li + li { border-top: 1px solid var(--line); }
.kx-plist .kx-slot { width: 64px; flex: none; }
.kx-plist .kx-row-txt { flex: 1; }

/* the firm's footer (footer-2, footer-4) */
.kx-fuss { padding: 48px 0 32px; }
.kx-fuss a { text-decoration: none; }
.kx-fgrid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.kx-fgrid > div { display: grid; gap: 6px; align-content: start; font-size: 15px; }
.kx-fgrid > div:first-child { grid-column: 1 / -1; }
.kx-fgrid address { display: grid; color: var(--quiet); }
.kx-fgrid a { color: var(--quiet); }
.kx-fname { font: var(--head-w) 20px/1.2 var(--head); letter-spacing: var(--track); }
.kx-copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--quiet); }
.kx-frow { display: grid; gap: 20px; }
.kx-frow nav, .kx-flegal { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.kx-frow address { display: grid; color: var(--quiet); margin-bottom: 8px; }
.kx-giant { margin-top: 28px; font: var(--head-w) clamp(34px, 10cqi, 120px)/.98 var(--head); letter-spacing: -.035em; overflow-wrap: anywhere;
  background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 25%, var(--bg))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kx-giant .mc, .kx-giant .mw { -webkit-text-fill-color: transparent; }
.kx-fuss-3 { padding: 22px 0; border-top: 1px solid var(--line); }
.kx-fuss-3 p { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 14px; color: var(--quiet); }
.kx-fuss-3 b { color: var(--ink); }
.kx-fbrand { display: flex; gap: 14px; align-items: center; }
.kx-fbrand > div { display: grid; }
.kx-fuss-5 .kx-frow > div:first-child { display: grid; gap: 4px; }
.kx-flegal { margin-top: 22px; color: var(--quiet); }
.kx-act .b-btn { background: var(--brand); color: var(--on); }

@container bk (min-width: 700px) {
  .kx-cards.kx-c3 { grid-template-columns: repeat(3, 1fr); }
  .kx-cards.kx-c2 { grid-template-columns: repeat(2, 1fr); }
  .kx-split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .kx-bento { grid-template-columns: repeat(4, 1fr); }
  .kx-bento-big { grid-column: span 2; grid-row: span 2; align-content: end; }
  .kx-bento-list { grid-template-columns: repeat(3, 1fr); }
  .kx-carousel { grid-auto-columns: calc((100% - 30px) / 4); }
  .kx-masonry { columns: 3; }
  .kx-logos { grid-template-columns: repeat(6, 1fr); }
  .kx-logos-2 { grid-template-columns: repeat(3, 1fr); }
  .kx-chain { grid-template-columns: repeat(3, 1fr); }
  .kx-chain .kx-card { grid-template-columns: 1fr; }
  .kx-chain .kx-card .b-quiet { grid-column: 1; }
  .kx-map { height: 320px; }
  .kx-map-wide .kx-map { height: 420px; }
  .kx-mapcard:not(.kx-mapcard-float) { position: absolute; left: 32px; bottom: 32px; margin: 0; }
  .kx-fgrid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .kx-fgrid > div:first-child { grid-column: auto; }
  .kx-frow { grid-template-columns: 1fr auto; align-items: end; }
  .kx-alert { grid-template-columns: auto auto 1fr auto; }
  .kx-alert .b-quiet { grid-column: auto; }
  .kx-alert .b-btn { grid-column: auto; }
  .kx-nl-line { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
  .kx-nl-line .kx-nl { grid-template-columns: 1fr auto; max-width: none; }
  .kx-nl { grid-template-columns: 1fr auto; }
  .kx-panel { padding: 48px 40px; }
}

/* the light along a border (border-trail): a turning conic edge while animated, a still arc at rest */
@property --kx-a { syntax: "<angle>"; inherits: false; initial-value: 30deg; }
.bk.ani .kx-trail::after { animation: kx-spin calc(5s * var(--loop)) linear infinite; }
@keyframes kx-spin { to { --kx-a: 390deg; } }

/* on the firm colour: the pin and the tiles keep their contrast */
.kb.t-marke .kx-pin { background: var(--kb-on); color: var(--kb-brand); }
.kb.t-marke .kx-tile { color: var(--kb-on); background: color-mix(in srgb, var(--kb-on) 18%, var(--kb-brand)); box-shadow: inset 0 0 0 1px var(--line); }
.kb.t-marke .kx-tile:nth-child(3n+2) { background: color-mix(in srgb, #000 22%, var(--kb-brand)); }
.kx-tile, .mk-tile { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.kx-checks-l { margin: 0; max-width: none; }
.kx-tint { background: var(--muted); box-shadow: none; }
.kx-wide { padding: 14px; }
.kx-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kx-strip .kx-tile:first-child { grid-column: 1 / -1; min-height: 200px; }
.kx-cap { margin-top: 12px; font-size: 14px; color: var(--quiet); text-align: center; }
.kx-hours-grid { margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; max-width: 620px; }
.kx-hours-grid .kx-ico-lg { margin: 0; }
.kx-hours-grid .mk-hours { margin-top: 0; }
@container bk (min-width: 700px) { .kx-strip { grid-template-columns: repeat(4, 1fr); } .kx-strip .kx-tile:first-child { grid-column: span 2; grid-row: span 2; } }

/* a layout made for the firm colour, set on another surface: what stood in --on on the colour takes the colour */
.kb:is(.t-weiss, .t-ton, .t-dunkel) > .b-brand :is(.mk-call-btn, .a-5a-btn, .b-btn) { background: var(--kb-brand); color: var(--kb-on); }
.kb:is(.t-weiss, .t-ton, .t-dunkel) > .b-brand .b-btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.kb:is(.t-weiss, .t-ton, .t-dunkel) > .b-brand .mk-ico-on { background: color-mix(in srgb, var(--kb-brand) 14%, var(--bg)); color: var(--kb-brand); }
.kb:is(.t-weiss, .t-ton, .t-dunkel) > .b-brand :is(.b-sub, .b-quiet, .b-eyebrow, .b-legal) { color: var(--quiet); opacity: 1; }
.kb:is(.t-weiss, .t-ton, .t-dunkel) > .b-brand .a-ping { box-shadow: 0 0 0 2px var(--kb-brand); }
.kb:is(.t-weiss, .t-ton, .t-dunkel) > .b-brand :is(.b-3c-pill, .a-3c-pill) { background: var(--muted); }
.kx-bento, .kx-cards, .kx-feature, .kx-strip, .kx-logos { grid-template-columns: repeat(var(--kx-cols, 2), minmax(0, 1fr)); }
.kx-cards { --kx-cols: 1; }
.kx-logos { --kx-cols: 3; }
.kx-bento > *, .kx-cards > *, .kx-chain > * { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
@container bk (min-width: 700px) {
  .kx-cards.kx-c3 { --kx-cols: 3; } .kx-cards.kx-c2 { --kx-cols: 2; } .kx-bento { --kx-cols: 4; } .kx-bento-list { --kx-cols: 3; }
  .kx-logos { --kx-cols: 6; } .kx-logos-2 { --kx-cols: 3; } .kx-strip { --kx-cols: 4; }
}
/* the older layouts in the kit: a long service name wraps inside its card instead of pushing the grid out */
.kb :is(.a-2a-grid, .b-2a-grid, .b-2c-grid, .a-2c-bento, .a-3b-grid, .mk-tiles) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kb :is(.a-2a-grid, .b-2a-grid, .b-2c-grid, .a-2c-bento, .a-3b-grid, .mk-tiles, .mk-cards) > * { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
@container bk (min-width: 768px) { .kb :is(.a-2a-grid, .b-2a-grid, .b-2c-grid, .a-2c-bento, .a-3b-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kb .mk-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Aqua Lindner Pool & Garten, an invented example firm: what this page adds to the block kit (style Modern). The header with a
   text wordmark, the garden hero with its intro, the facts row, the service rows, the numbered sections of a service
   page, the project cards, the sample badge. Motion: transform and opacity only. */
.bk { --brand: #1A5A99; --on: #FFFFFF; --hell: #1FA8DC; --tief: #0E2E52; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: #fff; }
.bk img { max-width: 100%; }

/* header: the kit's k-head with the logo and real pages */
.h-logo { display: block; height: 40px; width: auto; }
.k-brand { flex: 0 1 auto; }
.k-head .k-links a[aria-current="page"], .k-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.k-head .k-links { gap: 20px; flex: 1; justify-content: center; }
.k-head .k-links a { font-size: 14px; }
.k-head .k-cta { background: var(--brand); }
.bk .k-head .k-cta { color: var(--on); }
.k-spacer { flex: 1; }
@container bk (min-width: 900px) { .k-spacer { display: none; } .h-logo { height: 46px; } }
@container bk (max-width: 1099px) { .k-head .k-links { display: none; } .k-head .k-menu { display: block; } .k-spacer { display: block; } }

/* the garden hero: image A (wide) or the phone image (narrow), the intro video over it, the canvas over both */
.held { position: relative; overflow: hidden; background: #DDE7EE; color: #fff; isolation: isolate; aspect-ratio: 752 / 1344; }
@media (min-width: 768px) { .held { aspect-ratio: 1344 / 752; } }
.held-bild, .intro-start, .intro-video, .held-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.held-bild img, .intro-start img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-start { opacity: 0; z-index: 1; }
html.intro .intro-start { opacity: 1; }
.intro-video { z-index: 2; opacity: 0; transition: opacity 700ms ease; pointer-events: none; }
.intro-video.an { opacity: 1; transition-duration: 150ms; }
.held-gl { z-index: 1; opacity: 0; transition: opacity 400ms ease; pointer-events: none; }
.held-gl.an { opacity: 1; }
.held::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 62%; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 28, 50, .55) 0%, rgba(7, 28, 50, .28) 45%, rgba(7, 28, 50, 0) 100%); }
.held-text { position: absolute; z-index: 4; left: 0; right: 0; top: 0; padding: 30px 22px 0; text-align: center; text-shadow: 0 2px 18px rgba(2, 22, 44, .45); }
.held-h1 { margin: 0; font: 700 clamp(46px, 13vw, 116px)/.95 "DM Sans", system-ui, sans-serif; letter-spacing: -.035em; }
.held-h1 .h-klein { display: block; font-size: .62em; letter-spacing: -.02em; }
.held-h1 .h-gross { display: block; color: #fff; }
.held-zeile { margin: 14px 0 0; font-size: clamp(17px, 4.6vw, 26px); font-weight: 700; letter-spacing: -.01em; }
.held-cta { margin-top: 20px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; text-shadow: none; }
.held-cta .b-btn { background: #fff; color: var(--brand); }
.bk .held-cta .b-btn { color: var(--brand); }
.held-cta .b-btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bk .held-cta .b-btn-ghost { color: #fff; }
@media (min-width: 768px) {
  .held-text { top: 6%; text-align: left; left: max(32px, calc((100% - 1040px) / 2 + 24px)); right: auto; max-width: 620px; padding: 0; }
  .held-h1 { font-size: clamp(64px, 8.4vw, 132px); }
  .held-cta { justify-content: flex-start; }
}
.held-vis { position: absolute; z-index: 4; right: 10px; bottom: 10px; margin: 0; padding: 3px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, .42); color: #fff; font-size: 12px; letter-spacing: .02em; pointer-events: none; }
.intro-skip { position: absolute; z-index: 5; left: 12px; bottom: 10px; display: none; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
  background: rgba(0, 0, 0, .45); color: #fff; font: 600 13px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; }
html.intro .intro-skip { display: inline-flex; align-items: center; }
html.intro .held-pins { opacity: 0; pointer-events: none; }

/* the four services as labels on the picture */
.held-pins { position: absolute; inset: 0; z-index: 4; transition: opacity 500ms ease; }
.pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px 0 6px;
  border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--brand); font-size: 13px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18); white-space: nowrap; }
.bk .pin { color: var(--brand); }
.pin .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--brand); color: #fff; }
.pin:hover, .pin:focus-visible { background: #fff; }
.pin-w { display: none; }
@media (min-width: 768px) { .pin-n { display: none; } .pin-w { display: inline-flex; } }

/* the facts row */
.zahlen { padding: 34px 0; background: var(--brand); color: var(--on); }
.zahlen ul { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.zahlen li { display: grid; gap: 4px; }
.zahlen b { font: 700 clamp(28px, 7cqi, 44px)/1 "DM Sans", system-ui, sans-serif; letter-spacing: -.02em; }
.zahlen span { font-size: 14px; opacity: .88; }
@container bk (min-width: 760px) { .zahlen ul { grid-template-columns: repeat(4, 1fr); } }

/* the four services */
.dienste { display: grid; gap: 22px; margin-top: 34px; }
.dienst { display: grid; align-content: start; overflow: hidden; border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px var(--line); }
.dienst-bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--muted); }
.dienst-bild img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform 600ms ease; }
.dienst:hover .dienst-bild img { transform: scale(1.04); }
.dienst-text { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.dienst-nr { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--brand); }
.dienst-text h3 { font: 700 22px/1.2 "DM Sans", system-ui, sans-serif; letter-spacing: -.01em; margin: 0; }
.dienst-text p { color: var(--quiet); }
.mehr { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); text-decoration: none; margin-top: 4px; }
.bk .mehr { color: var(--brand); }
.mehr .i { width: 18px; height: 18px; }
@container bk (min-width: 760px) {
  .dienste { grid-template-columns: 1fr 1fr; }
}

/* a service page: the head with its photo, the numbered sections */
.kopfbild { position: relative; min-height: 340px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--tief); }
.kopfbild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kopfbild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 28, 50, .78) 0%, rgba(7, 28, 50, .25) 60%, rgba(7, 28, 50, .1) 100%); }
.kopfbild .b-in { position: relative; z-index: 1; width: 100%; padding-top: 80px; padding-bottom: 40px; }
.kopfbild .b-eyebrow { color: rgba(255, 255, 255, .85); }
.kopfbild h1 { margin: 0; font: 700 clamp(36px, 8cqi, 64px)/1.05 "DM Sans", system-ui, sans-serif; letter-spacing: -.03em; }
.kopfbild p.lead { margin-top: 14px; max-width: 640px; font-size: 18px; opacity: .95; }
.kopfbild-plain { background: linear-gradient(135deg, var(--tief), var(--brand)); min-height: 260px; }
@container bk (min-width: 760px) { .kopfbild { min-height: 440px; } .kopfbild-plain { min-height: 300px; } }

.abschnitte { display: grid; gap: 16px; margin-top: 30px; }
.abschnitt { padding: 24px 22px; border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.abschnitt-kopf { display: flex; gap: 14px; align-items: baseline; }
.abschnitt-nr { flex: none; font: 700 15px/1 "DM Sans", system-ui, sans-serif; color: var(--brand); letter-spacing: .06em; }
.abschnitt h2 { margin: 0; font: 700 clamp(20px, 4.4cqi, 26px)/1.25 "DM Sans", system-ui, sans-serif; letter-spacing: -.01em; }
.abschnitt h3 { margin: 22px 0 8px; font: 700 18px/1.3 "DM Sans", system-ui, sans-serif; }
.abschnitt p, .abschnitt li { color: #3A3D44; }
.abschnitt p + p, .abschnitt ul + p, .abschnitt p + ul { margin-top: 10px; }
.abschnitt .erst { margin-top: 12px; }
.abschnitt ul { display: grid; gap: 8px; margin-top: 10px; }
.abschnitt li { position: relative; padding-left: 26px; }
.abschnitt li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--hell); }
.abschnitt details { margin-top: 12px; }
.abschnitt summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; color: var(--brand); list-style: none; min-height: 40px; }
.abschnitt summary::-webkit-details-marker { display: none; }
.abschnitt summary .i { width: 18px; height: 18px; transition: transform 200ms ease; }
.abschnitt details[open] summary .i { transform: rotate(180deg); }
.abschnitt details[open] summary .auf, .abschnitt details:not([open]) summary .zu { display: none; }
.abschnitt-satz h2 { font-size: clamp(22px, 5cqi, 30px); color: var(--brand); }
.luecke { margin-top: 10px; padding: 10px 14px; border-radius: 10px; background: #FFF7E0; color: #6B5300; font-size: 14px; }
@container bk (min-width: 760px) { .abschnitt { padding: 30px 34px; } }

/* project cards */
.refs { display: grid; gap: 18px; margin-top: 30px; }
.ref { overflow: hidden; border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 0 0 1px var(--line); display: grid; align-content: start; }
.ref img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--muted); }
.ref-text { padding: 16px 18px 20px; display: grid; gap: 6px; }
.ref-kat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.ref h3 { margin: 0; font: 700 18px/1.3 "DM Sans", system-ui, sans-serif; }
.ref p { color: var(--quiet); font-size: 15px; }
.fotos { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 26px; }
.fotos img { width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; border-radius: calc(var(--r) - 4px); display: block; background: var(--muted); }
@container bk (min-width: 760px) { .refs { grid-template-columns: repeat(3, 1fr); } .fotos { grid-template-columns: repeat(4, 1fr); } }

/* contact and the legal pages */
.kontakt-grid { display: grid; gap: 18px; margin-top: 28px; }
.karte { padding: 24px; border-radius: var(--r-lg); background: var(--muted); display: grid; gap: 8px; align-content: start; }
.karte h3 { margin: 0 0 4px; font: 700 18px/1.3 "DM Sans", system-ui, sans-serif; display: flex; gap: 8px; align-items: center; }
.karte h3 .i { width: 20px; height: 20px; color: var(--brand); }
.karte a { color: var(--brand); font-weight: 700; }
@container bk (min-width: 760px) { .kontakt-grid { grid-template-columns: repeat(3, 1fr); } }
.recht { max-width: 760px; }
.recht h2 { margin: 30px 0 10px; font: 700 22px/1.25 "DM Sans", system-ui, sans-serif; }
.recht h3 { margin: 20px 0 6px; font: 700 17px/1.3 "DM Sans", system-ui, sans-serif; }
.recht p { margin: 0 0 8px; overflow-wrap: anywhere; }

/* footer additions */
.fuss-logo { height: 52px; width: auto; display: block; margin-bottom: 10px; }
.kx-fuss .kx-fgrid a { display: block; }

@media (prefers-reduced-motion: reduce) {
  .intro-start, .intro-video, .intro-skip { display: none !important; }
  .dienst-bild img { transition: none; }
}
@container bk (min-width: 900px) { .kx-fuss .kx-fgrid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }

/* the phone: one gentle shimmer over the pool of the phone image, CSS only (held.js never loads on a phone) */
.held-glanz { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: soft-light;
  clip-path: polygon(12.6% 64%, 38.6% 63.2%, 82.4% 73.3%, 34.6% 76.5%); }
.held-glanz::before { content: ""; position: absolute; left: -40%; top: 58%; width: 180%; height: 24%;
  background: repeating-linear-gradient(100deg, rgba(255,255,255,0) 0 16px, rgba(255,255,255,.7) 22px, rgba(255,255,255,0) 28px 44px);
  animation: glanz 6s ease-in-out infinite alternate; }
@keyframes glanz { from { transform: translateX(-6%); opacity: .55; } to { transform: translateX(6%); opacity: .95; } }
html.intro .held-glanz { display: none; }
@media (min-width: 768px) { .held-glanz { display: none; } }
@media (prefers-reduced-motion: reduce) { .held-glanz { display: none; } }


/* the text wordmark (no logo file: the firm is fictional) */
.m-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 700 19px/1 "DM Sans", system-ui, sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.m-logo .m-zeichen { width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.m-logo .m-zeichen .i { width: 19px; height: 19px; }
.m-logo b { color: var(--brand); }
.bk .m-logo { color: var(--ink); }
.fuss-marke { margin-bottom: 10px; }

/* the sample badge: on every page, above the header, and again in the footer */
.al-badge { margin: 0; padding: 7px 14px; background: #1A1A1A; color: #fff; font: 600 12.5px/1.35 "DM Sans", system-ui, sans-serif; text-align: center; letter-spacing: .01em; }
.al-badge span { display: inline-block; padding: 1px 8px; margin-right: 6px; border-radius: 999px; background: #F2B01E; color: #1A1A1A; font-weight: 700; }
.al-fuss { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--ink); }
.vis-label { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .5); color: #fff; font-size: 12px; }
.ref-bild { position: relative; }
.k-head .m-logo { flex: none; }
.k-head .k-links { gap: 16px; min-width: 0; }
@container bk (max-width: 1239px) { .k-head .k-links { display: none; } .k-head .k-menu { display: block; } .k-spacer { display: block; } }
.kopfbild .vis-label { z-index: 2; top: 12px; left: 12px; }


/* ARBEITEN3: a fact that is a link */
.zahl-link { display: grid; gap: 4px; color: inherit; text-decoration: none; border-radius: 10px; }
.bk .zahl-link { color: inherit; }
.zahl-link span { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.zahl-link .i { width: 16px; height: 16px; flex: none; transition: transform 200ms ease; }
.zahl-link:hover .i, .zahl-link:focus-visible .i { transform: translateX(3px); }
.zahl-link:focus-visible { outline: 2px solid var(--on); outline-offset: 4px; }

/* ARBEITEN3: the service pictures tilt (kippen.js); the picture is a little larger than its frame */
.dienst-bild { perspective: 900px; }
.dienst-bild img.kipp { transform: perspective(900px) scale(1.1); transition: none; will-change: transform; }

/* ARBEITEN3: team with a drawn smiley over each face, then the question and the jobs */
.team { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
@container bk (min-width: 760px) { .team { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.person { display: grid; gap: 4px; align-content: start; text-align: center; }
.person-bild { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--muted); }
.person-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-bild .smiley { position: absolute; left: 50%; top: var(--gy, 42%); width: 54%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.person-name { margin: 10px 0 0; font-weight: 700; font-size: 17px; }
.person-rolle { margin: 0; color: var(--quiet); font-size: 15px; }
.mitmachen { margin-top: 34px; padding: 24px; border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 0 0 1px var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.mitmachen-frage { margin: 0; font: 700 clamp(20px, 5cqi, 26px)/1.25 "DM Sans", system-ui, sans-serif; letter-spacing: -.01em; }
.mitmachen .b-btn .i { width: 18px; height: 18px; margin-left: 6px; }
.stellen { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.stellen li { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.stellen span { color: var(--quiet); }
.ref-punkte { margin: 6px 0 0; padding-left: 18px; color: var(--quiet); font-size: 15px; }
.ref { scroll-margin-top: 90px; }
#beckenarten, #karriere { scroll-margin-top: 70px; }

/* AQUALINDNER2: the own text wordmark (no logo picture) */
.al-marke { display: inline-flex; flex-direction: column; line-height: 1; gap: 3px; }
.al-wort { font: 700 20px/1 "DM Sans", system-ui, sans-serif; letter-spacing: -.02em; color: var(--ink); }
.al-wort b { color: var(--brand); }
.al-zusatz { font: 600 10.5px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--quiet, #6b7280); }
.kx-steps em { display: block; margin-top: 4px; font-style: normal; font-size: .9em; color: var(--quiet, #6b7280); }

/* POOL-FIX2: the hero plays Timo's own pool build film once (bau.js), then its last frame stays as the hero picture.
   The film is drawn 16:9 and never cropped: wide screens keep the hero at the film's own proportion with the text on
   it as before; on a phone the text stands above and the film below it in full width. Nothing lies on the film but
   the "Visualisierung" label. If the video does not run, bau.js draws the same film as pictures on the canvas. Without
   JavaScript or with reduced motion html.bau is never set and the hero is the finished picture at rest. */
.held.held-film { aspect-ratio: 16 / 9; }
.held-film .film { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #91A9C0; }
.held-film .film-v, .held-film .film-c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.held-film .film-v, .held-film .film-c, .bau-nochmal { display: none; }
html.bau .held-film .film-v { display: block; z-index: 1; }
/* while the film runs the finished picture is not shown (it flashed for a moment before the first frame); the film's
   first frame is the box's background until the video paints it */
html.bau .held-film .film { background: #91A9C0 url(/beispiel/poolbau/film/start-1600.webp) center / cover no-repeat; }
html.bau .held-film .held-bild { visibility: hidden; }
html.bau .held-film.fertig .held-bild { visibility: visible; }
html.bau .held-film .film-c { display: block; z-index: 2; opacity: 0; }
html.bau .held-film.ersatz .film-c { opacity: 1; }
html.bau .held-film.ersatz .film-v, html.bau .held-film.fertig .film-v, html.bau .held-film.fertig .film-c { visibility: hidden; }
html.bau .bau-nochmal { display: block; margin: 0; padding: 6px 16px; text-align: center; background: var(--bg, #fff); }
.bau-nochmal button { min-height: 44px; padding: 0 14px; border: 0; background: none; color: var(--brand, #1D3557);
  font: 700 15px/1 "DM Sans", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.bau-nochmal button:focus-visible { outline: 2px solid var(--brand, #1D3557); outline-offset: 2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .held-film .film-v, .held-film .film-c, .bau-nochmal { display: none !important; } }
@media (max-width: 767px) {
  .held.held-film { aspect-ratio: auto; display: flex; flex-direction: column;
    background: #91A9C0; }
  .held-film::before { display: none; }
  .held-film .held-text { position: relative; order: 1; padding: 28px 22px 44px;
    background: linear-gradient(180deg, #1B3653 0%, #2B4D72 calc(100% - 44px), #91A9C0 100%); }
  .held-film .film { position: relative; order: 2; inset: auto; width: 100%; aspect-ratio: 16 / 9; }
  .held-film .held-vis { bottom: 8px; right: 8px; }
}
/* ALLE-SEITEN: every target for the finger at least 44 px. Padding with an equal negative margin, so nothing moves on the
   page; the pins keep their look and get a larger invisible hit area around them. */
.k-head .m-logo, .kx-fuss .m-logo { padding-block: 5.5px; margin-block: -5.5px; }
.k-cta { padding-top: 4px; padding-bottom: 4px; margin-block: -4px; min-height: 44px; }
.k-menu > summary { min-width: 44px; min-height: 44px; margin: -2px; }
.k-links a { display: inline-block; padding-block: 11px; margin-block: -11px; min-width: 44px; text-align: center; }
.pin::before { content: ""; position: absolute; inset: -6px -2px; }
.mehr { display: inline-block; padding-block: 10px; margin-block: -10px; }
.kx-fuss a, .al-badge a, .kx-fuss address a { display: inline-block; padding-block: 11px; margin-block: -11px; }
footer a[href*="timohoelscher"] { padding-block: 13px; margin-block: -13px; }
.a-5a-addr a { display: inline-block; padding-block: 10px; margin-block: -10px; }
/* ALLE-SEITEN: WebKit (Safari) stürzte beim Durchscrollen ab, solange Elemente mit Unschärfe (filter: blur) einblendeten
   (4 von 4 Läufen bei 390 px, auch auf der Live Seite). Alles blendet jetzt nur mit Deckkraft und Weg ein. */
.bk.ani { --m-blur: 0px; }
.bk.ani [data-m], .bk.ani [data-m] > *, .bk.ani .mw, .bk.ani .mc { transition-property: opacity, transform; }
.bk.ani [data-m]:not(.in), .bk.ani [data-m]:not(.in) > *, .bk.ani [data-m]:not(.in) .mw, .bk.ani [data-m]:not(.in) .mc { filter: none; }
