/* Hallmark · macrostructure: roof hero + figure bars + descending statement + poster tile and bar row + client wall + name map with logo sign-off · genre: modern-minimal · nav: N1b · footer: Ft5 · accent: orange (calls only) *//* v5 r2: rules of v4 components that style-guide.html and components.html still use stay until Vlad approves the Style Guide update; everything no page uses was removed (C9). *//* Alijaj Hauswartung — components. Prefix ah-, BEM-ish, state classes is-*.
   Demo state classes (is-demo-hover / is-demo-focus / is-demo-pressed) exist only so the
   Style Guide can show states side by side; each sits in the same rule as the real state.
   Responsive layout changes live here; responsive type and spacing values live in tokens.css. *//* =========================================================================
   Dark grounds: blue section, hero, any .ah-on-dark wrapper
   ========================================================================= */

.ah-on-dark,
.ah-section--blue,
.ah-hero {
  --ah-focus-color: var(--ah-color-focus-on-dark);
  color: var(--ah-color-white);
}
:is(.ah-on-dark, .ah-section--blue, .ah-hero) :is(h1, h2, h3, h4) { color: var(--ah-color-white); }
:is(.ah-on-dark, .ah-section--blue, .ah-hero) a:not(.ah-btn),
:is(.ah-on-dark, .ah-section--blue, .ah-hero) a:not(.ah-btn):hover { color: var(--ah-color-white); }   /* explicit on hover too: the global a:hover is navy *//* =========================================================================
   Section frames
   ========================================================================= */   

.ah-section { padding-block: var(--ah-section-y); }
.ah-section--light { background: var(--ah-color-white); }
.ah-section--page { background: transparent; }   /* revision 1: the page ground (body) is white; a section on it has no fill of its own, so it is not counted as a box */   
.ah-section--tint { background: var(--ah-color-tint); }
.ah-section--blue { background: var(--ah-color-blue); }

.ah-section-head { margin-bottom: var(--ah-head-gap); }
.ah-section-head--split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--ah-space-32) var(--ah-col-gap);
  align-items: end;
}

.ah-eyebrow {
  display: block;
  margin: 0 0 var(--ah-space-16);
  font-size: var(--ah-fs-label);
  line-height: var(--ah-lh-label);
  letter-spacing: var(--ah-ls-label);
  font-weight: var(--ah-fw-semibold);
  text-transform: uppercase;
  color: var(--ah-color-blue);
}
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-eyebrow { color: var(--ah-color-white); }

.ah-lead {
  max-width: var(--ah-measure-lead);   /* ≤ 75 characters per line at the lead size */
  font-size: var(--ah-fs-lead);
  line-height: var(--ah-lh-lead);
}   /* Looks like an H1 without being one (the Style Guide specimen; the page keeps one real h1). */

.ah-h1-spec {
  max-width: none;
  color: var(--ah-color-heading);
  font-size: var(--ah-fs-h1);
  line-height: var(--ah-lh-h1);
  letter-spacing: var(--ah-ls-h1);
  font-weight: var(--ah-fw-bold);
  text-wrap: balance;
}   /* An h3 that must look like a section title (demo frames, contact band in a nested section). */

.ah-h2 {
  font-size: var(--ah-fs-h2);
  line-height: var(--ah-lh-h2);
  letter-spacing: var(--ah-ls-h2);
}

.ah-small {
  font-size: var(--ah-fs-small);
  line-height: var(--ah-lh-small);
}   /* Heading with a 1 px navy rule under it (Einzugsgebiet, footer-like column heads). */

.ah-rule-head {
  padding-bottom: var(--ah-space-16);
  border-bottom: var(--ah-border) solid var(--ah-color-navy);
}

/* =========================================================================
   Icons (inline SVG from the sprite; stroke = currentColor)
   ========================================================================= */

.ah-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}
.ah-icon--lg { width: 1.75rem; height: 1.75rem; }

/* =========================================================================
   Buttons: primary (orange, navy label), secondary (outline), text (tertiary)
   ========================================================================= */

.ah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ah-space-12);
  min-height: 3.25rem;
  padding: var(--ah-space-12) var(--ah-space-24);
  border: var(--ah-border) solid transparent;
  border-radius: var(--ah-radius-round);   /* revision 1: pill buttons (was the 4 px radius) */
  background: transparent;
  font-family: inherit;
  font-size: var(--ah-fs-ui);
  line-height: var(--ah-lh-ui);
  font-weight: var(--ah-fw-semibold);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--ah-dur-fast) var(--ah-ease-standard),
    border-color var(--ah-dur-fast) var(--ah-ease-standard),
    box-shadow var(--ah-dur-fast) var(--ah-ease-standard),
    color var(--ah-dur-fast) var(--ah-ease-standard);
}
.ah-btn .ah-icon { width: 1.125rem; height: 1.125rem; }
.ah-btn__num {
  padding-left: var(--ah-space-12);
  border-left: var(--ah-border) solid color-mix(in srgb, currentColor 35%, transparent);
  font-weight: var(--ah-fw-bold);
}
.ah-btn.is-demo-focus {
  outline: var(--ah-focus-width) solid var(--ah-focus-color);
  outline-offset: var(--ah-focus-offset);
}   /* primary: orange fill + navy label (5.44:1). Hover = navy fill + white label; pressed = deep-navy fill,
   white label and a 1 px inset ring, so pressed differs from hover by fill (1.24:1) and by the ring. */

.ah-btn--primary {
  background: var(--ah-color-orange);
  border-color: var(--ah-color-orange);
  color: var(--ah-color-navy);
}
.ah-btn--primary:not(:disabled):not(.is-disabled):hover,
.ah-btn--primary.is-demo-hover {
  background: var(--ah-color-primary-hover);
  border-color: var(--ah-color-primary-hover);
  color: var(--ah-color-white);
}
.ah-btn--primary:not(:disabled):not(.is-disabled):active,
.ah-btn--primary.is-demo-pressed {
  background: var(--ah-color-primary-pressed);
  border-color: var(--ah-color-primary-pressed);
  box-shadow: inset 0 0 0 1px var(--ah-color-ring-pressed);
  color: var(--ah-color-white);
}   /* on dark grounds a navy hover fill needs its own edge */

:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--primary:not(:disabled):not(.is-disabled):hover,
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--primary.is-demo-hover {
  /* round 1: on dark grounds the hover stays orange (a navy hover looked like the ghost button): lighter orange,
     fill step 1.52:1 against the default, navy label 8.25:1 */
  background: var(--ah-color-primary-hover-on-dark);
  border-color: var(--ah-color-primary-hover-on-dark);
  color: var(--ah-color-navy);
}
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--primary:not(:disabled):not(.is-disabled):active,
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--primary.is-demo-pressed {
  background: var(--ah-color-primary-pressed);   /* round 1: the dark-ground hover is orange now, so pressed sets its own fill */
  border-color: var(--ah-color-primary-pressed);
  color: var(--ah-color-white);
}   /* secondary, light grounds */

.ah-btn--secondary {
  background: transparent;
  border-color: var(--ah-color-blue);
  color: var(--ah-color-blue);
}
.ah-btn--secondary:not(:disabled):not(.is-disabled):hover,
.ah-btn--secondary.is-demo-hover {
  background: var(--ah-color-blue);
  border-color: var(--ah-color-blue);
  color: var(--ah-color-white);
}
.ah-btn--secondary:not(:disabled):not(.is-disabled):active,
.ah-btn--secondary.is-demo-pressed {
  background: var(--ah-color-navy);
  border-color: var(--ah-color-navy);
  color: var(--ah-color-white);
}   /* secondary, dark grounds */

:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--secondary {
  background: transparent;
  border-color: var(--ah-color-white);
  color: var(--ah-color-white);
}
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--secondary:not(:disabled):not(.is-disabled):hover,
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--secondary.is-demo-hover {
  background: var(--ah-color-white);
  border-color: var(--ah-color-white);
  color: var(--ah-color-navy);
}
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--secondary:not(:disabled):not(.is-disabled):active,
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--secondary.is-demo-pressed {
  background: var(--ah-color-tint-strong);
  border-color: var(--ah-color-tint-strong);
  color: var(--ah-color-navy);
}   /* text (tertiary): «Mehr erfahren →» */

.ah-btn--text {
  min-height: 2.75rem;
  padding: var(--ah-space-8) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ah-color-blue);
  gap: var(--ah-space-8);
  text-decoration-line: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.ah-btn--text .ah-icon { transition: transform var(--ah-dur-fast) var(--ah-ease-out); }
.ah-btn--text:not(:disabled):not(.is-disabled):hover,
.ah-btn--text.is-demo-hover {
  color: var(--ah-color-navy);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
}
.ah-btn--text:not(:disabled):not(.is-disabled):active,
.ah-btn--text.is-demo-pressed {
  color: var(--ah-color-navy-logo);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
}
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--text { color: var(--ah-color-white); }
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--text:not(:disabled):not(.is-disabled):hover,
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--text.is-demo-hover {
  color: var(--ah-color-white);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
}
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--text:not(:disabled):not(.is-disabled):active,
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--text.is-demo-pressed {
  color: var(--ah-color-tint-strong);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
}   /* disabled: grey fill and grey label, no opacity (last, so it wins over every variant) */

.ah-btn:disabled,
.ah-btn.is-disabled {
  background: var(--ah-color-disabled-bg);
  border-color: var(--ah-color-disabled-bg);
  color: var(--ah-color-disabled-text);
  cursor: not-allowed;
}
.ah-btn--text:disabled,
.ah-btn--text.is-disabled,
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--text:disabled,
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--text.is-disabled {
  background: transparent;
  border-color: transparent;
  color: var(--ah-color-disabled-text);
  text-decoration-line: none;
}
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--text:disabled,
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn--text.is-disabled { color: var(--ah-color-rule); }
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn:disabled:not(.ah-btn--text),
:is(.ah-on-dark, .ah-section--blue, .ah-hero) .ah-btn.is-disabled:not(.ah-btn--text) {
  background: var(--ah-color-disabled-bg);
  border-color: var(--ah-color-disabled-bg);
  color: var(--ah-color-disabled-text);
}   /* Round icon button (mobile header: call, burger). The only place for --ah-radius-round. */

.ah-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--ah-icon-btn);
  height: var(--ah-icon-btn);
  padding: 0;
  border: var(--ah-border) solid var(--ah-color-rule);
  border-radius: var(--ah-radius-round);
  background: var(--ah-color-white);
  color: var(--ah-color-navy);
  text-decoration: none;
  transition: border-color var(--ah-dur-fast) var(--ah-ease-standard), color var(--ah-dur-fast) var(--ah-ease-standard);
}
.ah-icon-btn:hover { border-color: var(--ah-color-blue); color: var(--ah-color-blue); }

/* =========================================================================
   Lists
   ========================================================================= */

.ah-checklist { list-style: none; }
.ah-checklist > li {
  position: relative;
  padding: var(--ah-space-12) 0 var(--ah-space-12) var(--ah-space-32);
  border-top: var(--ah-border) solid var(--ah-color-rule);
  line-height: 1.4;
}
.ah-checklist > li:first-child { border-top: 0; }
.ah-checklist > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--ah-space-12) + 0.1em);
  width: 1.25rem;
  height: 1.25rem;
  background: var(--ah-color-blue);
  -webkit-mask: var(--ah-mask-check) center / contain no-repeat;
  mask: var(--ah-mask-check) center / contain no-repeat;
}

.ah-linklist { list-style: none; border-top: var(--ah-border) solid var(--ah-color-rule); }
.ah-linklist > li { border-bottom: var(--ah-border) solid var(--ah-color-rule); }
.ah-linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ah-space-16);
  padding: var(--ah-space-16) 0;
  color: var(--ah-color-navy);
  font-weight: var(--ah-fw-semibold);
  text-decoration: none;
}
.ah-linklist a .ah-icon { color: var(--ah-color-blue); transition: transform var(--ah-dur-fast) var(--ah-ease-out); }
.ah-linklist a:hover, .ah-linklist a.is-demo-hover { color: var(--ah-color-blue); text-decoration: underline; }

.ah-places {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--ah-space-32);
}
.ah-places > li {
  padding: var(--ah-space-12) 0;
  border-bottom: var(--ah-border) solid var(--ah-color-rule);
  color: var(--ah-color-navy);
  line-height: 1.35;
}

/* =========================================================================
   Forms (target look for the Dynamic Forms module output)
   ========================================================================= */

.ah-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--ah-space-24);
  max-width: 48rem;
}
.ah-field { grid-column: span 3; display: flex; flex-direction: column; gap: var(--ah-space-8); min-width: 0; }
.ah-field--full { grid-column: 1 / -1; }
.ah-field--short { grid-column: span 2; }
.ah-field--long { grid-column: span 4; }
.ah-field__label {
  color: var(--ah-color-navy);
  font-size: var(--ah-fs-small);
  line-height: 1.3;
  font-weight: var(--ah-fw-semibold);
}
.ah-field__input {
  width: 100%;
  min-height: 3rem;
  padding: var(--ah-space-12) var(--ah-space-16);
  border: var(--ah-border) solid var(--ah-color-border-input);
  border-radius: var(--ah-radius);
  background: var(--ah-color-white);
  color: var(--ah-color-navy);
  font-size: var(--ah-fs-body);
  line-height: 1.4;
  transition: border-color var(--ah-dur-fast) var(--ah-ease-standard);
}
textarea.ah-field__input { min-height: 9rem; resize: vertical; }
.ah-field__input:hover { border-color: var(--ah-color-navy); }
.ah-field__input:focus-visible,
.ah-field.is-demo-focus .ah-field__input {
  border-color: var(--ah-color-blue);
  outline: var(--ah-focus-width) solid var(--ah-focus-color);
  outline-offset: 2px;
}
.ah-field.is-error .ah-field__input,
.ah-field__input[aria-invalid="true"] {
  border: 2px solid var(--ah-color-error);
  padding: var(--ah-space-12) var(--ah-space-16);
}
.ah-field__input:disabled {
  border-style: dashed;
  border-color: var(--ah-color-border-input);
  background: var(--ah-color-disabled-bg);
  color: var(--ah-color-disabled-text);
  cursor: not-allowed;
}
.ah-field__error {
  color: var(--ah-color-error);
  font-size: var(--ah-fs-small);
  line-height: 1.35;
  font-weight: var(--ah-fw-semibold);
}
.ah-field__help {
  color: var(--ah-color-muted);
  font-size: var(--ah-fs-small);
  line-height: var(--ah-lh-small);
}

.ah-fieldset { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.ah-fieldset > legend { padding: 0; margin-bottom: calc(var(--ah-space-24) - 0.6875rem); }   /* round 1: 24 px between the legend and the visible box of its control (the checkbox row has an 11 px hit-area margin above the box; was 12 px of margin) */   

.ah-check { position: relative; display: flex; align-items: flex-start; min-height: 2.75rem; }
.ah-check__input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: grid;
  place-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0.6875rem 0 0;
  border: var(--ah-border) solid var(--ah-color-border-input);
  border-radius: var(--ah-radius);
  background: var(--ah-color-white);
  cursor: pointer;
}
.ah-check__input::before {
  content: "";
  width: 1.125rem;
  height: 1.125rem;
  background: var(--ah-color-white);
  -webkit-mask: var(--ah-mask-check) center / contain no-repeat;
  mask: var(--ah-mask-check) center / contain no-repeat;
  visibility: hidden;
}
.ah-check__input:hover { border-color: var(--ah-color-navy); }
.ah-check__input:checked { background: var(--ah-color-blue); border-color: var(--ah-color-blue); }
.ah-check__input:checked::before { visibility: visible; }
.ah-check.is-demo-focus .ah-check__input {
  outline: var(--ah-focus-width) solid var(--ah-focus-color);
  outline-offset: var(--ah-focus-offset);
}
.ah-check.is-error .ah-check__input,
.ah-check__input[aria-invalid="true"] { border: 2px solid var(--ah-color-error); }
.ah-check__input:disabled {
  border-style: dashed;
  border-color: var(--ah-color-border-input);
  background: var(--ah-color-disabled-bg);
  cursor: not-allowed;
}   /* hit area ≥ 44 px: the label has 11 px padding above and below, and its ::before covers the box */

.ah-check__label { flex: 1; min-width: 0; padding: 0.6875rem 0 0.6875rem var(--ah-space-12); color: var(--ah-color-text); line-height: 1.45; }
.ah-check__label::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2.75rem; }
.ah-check__input:disabled + .ah-check__label { color: var(--ah-color-disabled-text); }

.ah-captcha { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--ah-space-16); }
.ah-captcha__image {
  display: grid;
  place-items: center;
  min-width: 11rem;
  height: 3rem;
  padding: 0 var(--ah-space-16);
  border: var(--ah-border) dashed var(--ah-color-border-input);
  border-radius: var(--ah-radius);
  background: var(--ah-color-tint);
  color: var(--ah-color-muted);
  font-size: var(--ah-fs-small);
}
.ah-captcha .ah-field__input { width: 11rem; }

/* =========================================================================
   Skip link
   ========================================================================= */

.ah-skip {
  position: absolute;
  left: var(--ah-space-16);
  top: -5rem;
  z-index: 100;
  padding: var(--ah-space-12) var(--ah-space-16);
  border-radius: var(--ah-radius);
  background: var(--ah-color-navy);
  color: var(--ah-color-white);
  font-weight: var(--ah-fw-semibold);
  text-decoration: none;
}   /* Own two-tone indicator: white ring between the navy pill and a navy band, so it reads on any
   header, logo or hero behind it (15.18:1 on both sides). */

.ah-skip:focus {
  top: var(--ah-space-16);
  outline: var(--ah-focus-width) solid var(--ah-color-white);
  outline-offset: 0;
  box-shadow: 0 0 0 calc(2 * var(--ah-focus-width)) var(--ah-color-navy);
}   /* Standalone link on its own line (mail address): 44 px hit area, same look. */

.ah-link--standalone,
.ah-ref__label { display: inline-flex; align-items: center; min-height: 2.75rem; }   /* .ah-ref__label: an unlinked name keeps the line of its linked neighbours *//* Link inside running text: the ring keeps 3 px from the words (outline-offset) and the link gets 3 px of
   air on both sides, so the 6 px the ring reaches out sideways stay inside the 3.6 + 3 px gap and do not
   run into the neighbouring words (measured in docs/phase-2-plan.md, Round 2). */   

.ah-link--inline {
  margin-inline: var(--ah-space-4);
  outline-offset: 3px;
}

/* =========================================================================
   Logo (header and footer). One class switches the lock-up for the whole site:
   .ah-logo--mark-text = bars mark + live wordmark in Source Sans 600 (default, chosen);
   .ah-logo--full      = the supplied logo file as one image (needs 80 px height for a 7.6 px wordmark).
   Both variants sit in the markup; the modifier decides which one is shown.
   ========================================================================= */

.ah-logo {
  display: flex;
  align-items: center;
  min-height: 2.75rem;     /* 44 px hit area; the lock-up keeps its size and is centred in it */
  color: var(--ah-color-navy-logo);
  text-decoration: none;
}
.ah-logo__full { display: none; height: var(--ah-logo-h); width: auto; }
.ah-logo__lockup { display: flex; align-items: center; gap: var(--ah-lockup-gap); }   /* round 4: mark and name share one centre line with the menu, the phone and the button */   
.ah-logo__mark { height: var(--ah-lockup-mark-h); width: auto; }
.ah-logo__text {
  display: flex;
  flex-direction: column;
  color: var(--ah-color-navy-logo);
  font-size: var(--ah-lockup-fs);
  line-height: 1.1;
  font-weight: var(--ah-fw-semibold);
  letter-spacing: var(--ah-lockup-ls);
  text-transform: uppercase;
  white-space: nowrap;
}
.ah-logo--full .ah-logo__full { display: block; }
.ah-logo--full .ah-logo__lockup { display: none; }

/* =========================================================================
   Header (skin part). Desktop menu from 1100 px header width (revision 1, measured with the
   supplied logo and four links); compact layout with call + burger below.
   ========================================================================= */

.ah-header {
  position: sticky;
  top: 0;
  z-index: 50;
  container: ah-header / inline-size;
  background: var(--ah-color-white);
  border-bottom: 0;   /* v5 N1b: no hairline; the shadow appears after the IO sentinel */
  transition: box-shadow var(--ah-dur-base) var(--ah-ease-out);
}
.ah-header.is-scrolled { box-shadow: var(--ah-shadow-1); }

.ah-header__bar {
  display: flex;
  align-items: center;
  gap: var(--ah-space-24);
  min-height: var(--ah-header-h);
  padding-block: 0;
}
.ah-header__logo:focus-visible { outline-offset: 0; }   /* revision 1: the supplied logo is 88 px (64 px) high, so a 3 px ring with the usual 3 px offset would leave the 96 px (72 px) header */   
.ah-header__logo { flex: none; display: inline-flex; align-items: center; min-height: 3.5rem; }   /* round 1: a 56 px click area, so the focus ring does not run to the header edges; the bar keeps its own min-height */   

.ah-nav { display: flex; align-items: center; gap: var(--ah-space-24); margin-left: auto; }
.ah-nav__list { display: flex; gap: var(--ah-space-20); list-style: none; }
.ah-nav__item { position: relative; }
.ah-nav__link {
  display: flex;
  align-items: center;
  gap: var(--ah-space-4);
  min-height: 2.75rem;                    /* round 1: 44 px hit height */
  padding: var(--ah-space-8) 0;
  border-bottom: 2px solid transparent;   /* round 1: hover = this line at 40 %, current page = 100 % */
  color: var(--ah-color-navy);
  font-size: var(--ah-fs-ui);
  line-height: var(--ah-lh-ui);
  font-weight: var(--ah-fw-semibold);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ah-dur-fast) var(--ah-ease-standard), border-color var(--ah-dur-fast) var(--ah-ease-standard);
}
.ah-nav__link:hover { color: var(--ah-color-blue); }
.ah-nav__link[aria-current="page"] { color: var(--ah-color-blue); }
.ah-nav__caret { width: 0.875rem; height: 0.875rem; transform: rotate(90deg); color: var(--ah-color-blue); }

.ah-nav__sub {
  display: none;
  position: absolute;
  top: calc(100% + var(--ah-space-12));   /* clear of the parent link's focus ring */
  left: calc(-1 * var(--ah-space-16));
  z-index: 2;
  min-width: 12rem;
  padding: var(--ah-space-8) 0;
  list-style: none;
  background: var(--ah-color-white);
  border-radius: var(--ah-radius);
  box-shadow: var(--ah-shadow-2);
}
.ah-nav__sub::before {               /* hover bridge across the 12 px gap */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: var(--ah-space-12);
}
.ah-nav__item--parent:hover > .ah-nav__sub,
.ah-nav__item--parent:focus-within > .ah-nav__sub { display: block; }
.ah-nav__sublink {
  display: block;
  padding: var(--ah-space-8) var(--ah-space-16);
  color: var(--ah-color-navy);
  font-size: var(--ah-fs-ui);
  line-height: var(--ah-lh-ui);
  font-weight: var(--ah-fw-semibold);
  text-decoration: none;
  white-space: nowrap;
}
.ah-nav__sublink:hover { color: var(--ah-color-blue); background: var(--ah-color-tint); text-decoration: underline; }
.ah-nav__sublink:focus-visible { outline-offset: calc(-1 * var(--ah-focus-width)); }

.ah-header__actions { display: flex; align-items: center; gap: var(--ah-space-20); }
.ah-header__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--ah-space-8);
  min-height: 2.75rem;
  color: var(--ah-color-navy);
  font-size: var(--ah-fs-ui);
  font-weight: var(--ah-fw-bold);
  text-decoration: none;
  white-space: nowrap;
}
.ah-header__phone .ah-icon { color: var(--ah-color-blue); }
.ah-header__phone:hover { color: var(--ah-color-blue); text-decoration: underline; }

.ah-header__call,
.ah-header__burger { display: none; }
.ah-header__burger .ah-icon--close,
.ah-header.is-open .ah-header__burger .ah-icon--burger { display: none; }
.ah-header.is-open .ah-header__burger .ah-icon--close { display: block; }   /* Revision 1 (19.10.2026): two header steps, measured with `measure-phase5-ah.py headerfit` (amends D-017's three steps):
   from 1100 px header width the full bar (four links, phone, «Anfrage senden»; no overflow at 1100, 1180, 1280, 1346, 1440);
   below 1100 px logo + call + burger with the panel (Home appears in the panel only). The old middle step (links + round call
   button, 1100-1346 px) is gone: with the supplied logo (150 px) and four links the full bar fits from 1100 px. */

@container ah-header (max-width: 1279px) {
  .ah-header__bar { flex-wrap: wrap; gap: 0 var(--ah-bar-gap); }
  .ah-header__call,
  .ah-header__burger { display: inline-flex; }
  .ah-header__call { margin-left: auto; }
  .ah-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--ah-space-24);
    margin: 0;
    padding: var(--ah-space-8) var(--ah-gutter) var(--ah-space-32);
    background: var(--ah-color-white);
    border-top: var(--ah-border) solid var(--ah-color-rule);
    border-bottom: var(--ah-border) solid var(--ah-color-rule);
    box-shadow: var(--ah-shadow-2);
  }
  .ah-header.is-open .ah-nav {
    display: flex;
    max-height: calc(100vh - var(--ah-header-h));
    max-height: calc(100dvh - var(--ah-header-h));   /* the open panel scrolls itself on short screens */
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .ah-nav__list { flex-direction: column; gap: 0; }
  .ah-nav__link { padding: var(--ah-space-12) 0; border-bottom-width: 1px; border-bottom-color: var(--ah-color-rule); }
  .ah-nav__link:hover,
  .ah-nav__caret { display: none; }
  .ah-nav__sub::before { display: none; }
  .ah-nav__sub {
    display: block;
    position: static;
    min-width: 0;
    padding: 0 0 0 var(--ah-space-24);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .ah-nav__sublink {
    padding: var(--ah-space-12) 0;
    border-bottom: var(--ah-border) solid var(--ah-color-rule);
    font-weight: var(--ah-fw-regular);
  }
  .ah-nav__sublink:hover { background: none; }
  .ah-header__actions { flex-direction: column; align-items: stretch; gap: var(--ah-space-12); }
  .ah-header__actions .ah-btn { width: 100%; }
  .ah-header__phone { padding: 0; }   /* Static panel: no JS (menu always visible) and the Style Guide demo frames. */

  
  .no-js .ah-header { position: relative; }
  .no-js .ah-header__burger { display: none; }
  .no-js .ah-nav,
  .ah-header.is-static .ah-nav {
    max-height: none;
    overflow: visible;
    position: static;
    flex-basis: 100%;
    order: 5;
    padding-inline: 0;
    border-bottom: 0;
    box-shadow: none;
  }
  .no-js .ah-nav { display: flex; }   /* Round 1: a navy scrim under the open panel (it starts below the header bar) */

  
  .ah-header.is-open:not(.is-static) .ah-nav::before {
    content: "";
    position: fixed;
    top: var(--ah-header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: rgb(var(--ah-rgb-navy) / 0.55);
  }
}   /* Round 1: from 768 px the panel is capped at 28 rem and sits at the right edge */

@container ah-header (min-width: 768px) and (max-width: 1279px) {
  .ah-nav { left: auto; width: min(28rem, 100%); }
  .no-js .ah-nav,
  .ah-header.is-static .ah-nav { width: auto; }
}   /* the page behind an open panel does not scroll */

html:has(.ah-header.is-open:not(.is-static)) { overflow: hidden; }   /* the Style Guide's static demo frame (.is-static) does not lock the page *//* very narrow phones: the call button leaves the bar (the number is in the open menu) */   

@container ah-header (max-width: 359px) {
  .ah-header__call { display: none; }
  .ah-header__burger { margin-left: auto; }
}

/* =========================================================================
   Footer (skin part)
   ========================================================================= */

.ah-footer {
  container: ah-footer / inline-size;   /* the grid reacts to the footer's own width: the same in the page and in the Style Guide demo frame */
  --ah-focus-color: var(--ah-color-focus-on-dark);   /* revision 1: the footer is on the brand blue, so it is a dark ground */
  padding: var(--ah-space-80) 0 var(--ah-space-40);
  background: var(--ah-color-blue);
  color: var(--ah-color-white);
  font-size: var(--ah-fs-small);
  line-height: 1.7;
}
.ah-footer__grid {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr 4fr;
  gap: var(--ah-space-40);
}
.ah-footer__logo { display: inline-flex; min-height: 2.75rem; }   /* the logo on the blue ground: one white shape (the bars keep their gaps), whichever variant is in the markup */

.ah-footer .ah-logo__full,
.ah-footer .ah-logo__mark { filter: brightness(0) invert(1); }
.ah-footer .ah-logo,
.ah-footer .ah-logo:hover,
.ah-footer .ah-logo:visited,
.ah-footer .ah-logo__text { color: var(--ah-color-white); }
.ah-footer__title { margin-bottom: var(--ah-space-12); color: var(--ah-color-white); font-weight: var(--ah-fw-bold); }
.ah-footer a:not(.ah-logo),
.ah-footer a:not(.ah-logo):visited {
  color: var(--ah-color-white);
  text-decoration-line: underline;               /* never colour-only */
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.ah-footer a:not(.ah-logo):hover,
.ah-footer a:not(.ah-logo):visited:hover { color: var(--ah-color-white); text-decoration-thickness: 3px; }
.ah-footer__links { list-style: none; columns: 2; column-gap: var(--ah-space-32); }
@container ah-footer (max-width: 1179px) {
  .ah-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container ah-footer (max-width: 699px) {
  .ah-footer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--ah-space-32); }
}   /* 44 px hit area by min-height, not by bigger type; it also keeps a focus ring off the next link */

.ah-footer__links a,
.ah-footer__line a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.ah-footer__bottom {
  max-width: none;
  margin-top: var(--ah-space-64);
  padding-top: var(--ah-space-24);
  border-top: var(--ah-border) solid var(--ah-color-rule-on-blue);
  color: var(--ah-color-blue-pale);
}

/* =========================================================================
   Hero: full-bleed photo, navy gradient only under the text
   ========================================================================= */

.ah-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 40rem;
  height: calc(100svh - var(--ah-header-h));
  max-height: 60rem;
  overflow: hidden;
  background: var(--ah-color-navy);
}
.ah-hero__media { position: absolute; inset: 0; z-index: -2; }
.ah-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.ah-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Stops are anchored to the text column, not to the viewport: the text starts at --ah-text-left,
     is 34 rem wide, the shade stays solid 2 rem beyond it and fades out over 12 rem. */
  background: linear-gradient(90deg,
    rgb(var(--ah-rgb-navy) / 0.92) 0%,
    rgb(var(--ah-rgb-navy) / 0.88) calc(var(--ah-text-left) + 36rem),
    rgb(var(--ah-rgb-navy) / 0.5) calc(var(--ah-text-left) + 42rem),
    rgb(var(--ah-rgb-navy) / 0) calc(var(--ah-text-left) + 48rem));
}
.ah-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: var(--ah-space-64) var(--ah-section-y);
}
.ah-hero__text { max-width: 34rem; }
.ah-hero__title {
  font-size: var(--ah-fs-h1);
  line-height: var(--ah-lh-h1);
  letter-spacing: var(--ah-ls-h1);
  font-weight: var(--ah-fw-bold);
}
.ah-hero__sub { margin-top: var(--ah-space-24); font-size: var(--ah-fs-lead); line-height: var(--ah-lh-lead); max-width: 32em; }
.ah-hero__actions { display: flex; flex-wrap: wrap; gap: var(--ah-space-16); margin-top: var(--ah-space-40); }

.ah-badge {
  position: absolute;
  right: var(--ah-gutter);
  bottom: var(--ah-section-y);
  display: inline-flex;
  align-items: center;
  gap: var(--ah-space-12);
  max-width: none;
  padding: var(--ah-space-16) var(--ah-space-24);
  border: 1px solid var(--ah-color-white);     /* round 1: an outline, not the brightest object of the hero: no white fill, no shadow */
  border-radius: var(--ah-radius);
  background: rgb(var(--ah-rgb-navy) / 0.6);   /* a navy tint keeps the label ≥ 4.5:1 over the bright building */
  color: var(--ah-color-white);
  font-size: var(--ah-fs-body);
  line-height: 1.2;
  font-weight: var(--ah-fw-bold);
  animation: ah-rise var(--ah-dur-enter) 180ms var(--ah-ease-out) both;
}
.ah-badge .ah-icon { color: var(--ah-color-white); }   /* translate only: the text is fully opaque from the first frame */

@keyframes ah-rise {
  from { transform: translateY(var(--ah-rise)); }
  to { transform: none; }
}

/* =========================================================================
   Proof strip: plain-text facts (A, chosen). The rules are the 1 px gaps of a grid on a rule-coloured
   ground, so rows and columns always close, whatever the number of columns. (B, large numerals, is the
   not-chosen variant.)
   ========================================================================= */

.ah-proof { background: var(--ah-color-white); border-bottom: var(--ah-border) solid var(--ah-color-rule); }
.ah-proof__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--ah-border);
  background: var(--ah-color-rule);
  list-style: none;
}
.ah-proof__item {
  padding: var(--ah-space-32) var(--ah-grid-gap) var(--ah-space-40);
  background: var(--ah-color-white);
}
.ah-proof__item:first-child { padding-left: 0; }
.ah-proof__item::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-bottom: var(--ah-space-16);
  background: var(--ah-color-blue);
}
.ah-proof__text { color: var(--ah-color-navy); font-size: var(--ah-fs-fact); line-height: var(--ah-lh-fact); font-weight: var(--ah-fw-semibold); }
.ah-proof__text a {
  display: inline-block;          /* 44 px hit area: padding up to one line of 44 px, taken back by the same negative margin, so the cell does not grow (also when the text wraps to two lines) */
  padding-block: var(--ah-hit-pad);
  margin-block: calc(-1 * var(--ah-hit-pad));
  color: var(--ah-color-link);    /* round 2: it is a link, so it looks like the other text links */
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.ah-proof__text a:hover { color: var(--ah-color-navy); text-decoration-thickness: 2px; }   /* Not chosen: large numerals */

.ah-proof--numerals { padding-block: var(--ah-strip-y); border-bottom: 0; }
.ah-proof--numerals .ah-proof__list { column-gap: var(--ah-grid-gap); row-gap: var(--ah-space-40); background: none; }   /* Three rows (prefix · numeral · label) so every numeral sits on the same line. */

.ah-proof--numerals .ah-proof__item {
  display: grid;
  grid-template-rows: 1.5rem auto 1.5rem;
  align-items: end;
  row-gap: var(--ah-space-4);
  padding: var(--ah-space-24) 0 0;
  background: none;
  border-top: var(--ah-border) solid var(--ah-color-navy);
}
.ah-proof--numerals .ah-proof__item::before { display: none; }
.ah-proof__pre,
.ah-proof__label { color: var(--ah-color-muted); font-size: var(--ah-fs-small); line-height: 1.3; font-weight: var(--ah-fw-semibold); }
.ah-proof__pre { grid-row: 1; }
.ah-proof__num,
.ah-proof__word { grid-row: 2; }
.ah-proof__label { grid-row: 3; align-self: start; }
.ah-proof__num {
  color: var(--ah-color-navy);
  font-size: var(--ah-fs-numeral);
  line-height: var(--ah-lh-numeral);
  letter-spacing: var(--ah-ls-numeral);
  font-weight: var(--ah-fw-semibold);
  font-variant-numeric: lining-nums tabular-nums;
}
.ah-proof__word {
  padding-bottom: 0.35em;
  color: var(--ah-color-navy);
  font-size: var(--ah-fs-h3);
  line-height: 1.1;
  font-weight: var(--ah-fw-semibold);
}

/* =========================================================================
   Service tile (photo + title, bullet list, text link) and its wide variant
   ========================================================================= */

.ah-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ah-grid-gap); }
.ah-tile {
  display: flex;
  flex-direction: column;
  background: var(--ah-color-white);
  border: var(--ah-border) solid var(--ah-color-rule);
  border-radius: var(--ah-radius-lg);
}
.ah-tile__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--ah-radius-lg) var(--ah-radius-lg) 0 0;
  background: var(--ah-color-navy);
  color: var(--ah-color-white);
  text-decoration: none;
}
.ah-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ah-dur-slow) var(--ah-ease-out);
}   /* title scrim (round 1): starts at 55 % of the height and eases in with one navy ramp, so a light photo does not turn grey */

a.ah-tile__media::after,
.ah-tile__media--titled::after {
  content: "";
  position: absolute;
  inset: 55% 0 0 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgb(var(--ah-rgb-navy) / 0) 0%,
    rgb(var(--ah-rgb-navy) / 0.18) 14%,
    rgb(var(--ah-rgb-navy) / 0.52) 36%,
    rgb(var(--ah-rgb-navy) / 0.78) 58%,
    rgb(var(--ah-rgb-navy) / 0.9) 80%,
    rgb(var(--ah-rgb-navy) / 0.94) 100%);
}   /* round 1: the photo is a decorative link (aria-hidden, no tab stop); the heading names the card */

.ah-tile__photo { position: absolute; inset: 0; display: block; }
.ah-tile__media--titled .ah-tile__title { pointer-events: none; }
.ah-tile__title {
  position: absolute;
  left: var(--ah-space-24);
  right: var(--ah-space-24);
  bottom: var(--ah-space-24);
  z-index: 1;
  color: var(--ah-color-white);
}
.ah-tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--ah-space-16);
  padding: var(--ah-space-24);
}
.ah-tile__body > .ah-btn--text { align-self: flex-start; margin-top: auto; }

.ah-tile--wide { display: grid; grid-template-columns: 7fr 5fr; }
.ah-tile--wide .ah-tile__media { aspect-ratio: auto; min-height: 26rem; border-radius: var(--ah-radius-lg) 0 0 var(--ah-radius-lg); }
.ah-tile--wide .ah-tile__media img { position: absolute; inset: 0; object-position: 50% 70%; }
.ah-tile--wide .ah-tile__body { padding: var(--ah-space-48); }
.ah-tile--wide .ah-tile__body .ah-eyebrow { margin-bottom: 0; }

/* =========================================================================
   Wide photo band
   ========================================================================= */

.ah-photo-band img {
  width: 100%;
  aspect-ratio: 35 / 12;
  object-fit: cover;
  object-position: 50% 60%;
  border-radius: var(--ah-radius-lg);
}

/* =========================================================================
   Reference tiles: logo on white (A: ruled grid) and soft variant (C: tiles on tint)
   ========================================================================= */

.ah-refs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: var(--ah-border) solid var(--ah-color-rule);
  border-left: var(--ah-border) solid var(--ah-color-rule);
}
.ah-ref {
  display: flex;
  flex-direction: column;
  background: var(--ah-color-white);
  border-right: var(--ah-border) solid var(--ah-color-rule);
  border-bottom: var(--ah-border) solid var(--ah-color-rule);
}
.ah-ref__logo { display: flex; align-items: center; justify-content: center; height: 13rem; padding: var(--ah-space-24); }
.ah-ref__logo img { width: auto; max-width: 100%; max-height: 100%; }
.ah-ref__meta { padding: var(--ah-space-24); border-top: var(--ah-border) solid var(--ah-color-rule); }
.ah-ref__name { color: var(--ah-color-navy); font-weight: var(--ah-fw-semibold); line-height: 1.3; }
.ah-ref__addr { margin-top: var(--ah-space-4); color: var(--ah-color-muted); font-size: var(--ah-fs-small); line-height: var(--ah-lh-small); }

.ah-refs--soft {
  gap: var(--ah-grid-gap);
  padding: var(--ah-space-32);
  border: 0;
  border-radius: var(--ah-radius-lg);
  background: var(--ah-color-tint);
}
.ah-refs--soft .ah-ref { border: 0; border-radius: var(--ah-radius); text-align: center; }
.ah-refs--soft .ah-ref__meta { border-top: 0; padding-top: 0; }
.ah-refs--soft .ah-ref__addr { margin-inline: auto; }

/* =========================================================================
   Contact band (on .ah-section--blue)
   ========================================================================= */

.ah-contact,
.ah-service { display: grid; grid-template-columns: 6fr 5fr; gap: var(--ah-space-48) var(--ah-col-gap); align-items: center; }   /* .ah-service: the same two-column frame on the inner pages */   
.ah-contact { align-items: baseline; row-gap: 0; }   /* round 1: the H2 and the phone number share one baseline (the eyebrow takes the row above) */   
.ah-contact > :first-child { display: contents; }
.ah-contact > :first-child > .ah-eyebrow { grid-column: 1; grid-row: 1; }
.ah-contact > :first-child > :is(h2, h3) { grid-column: 1; grid-row: 2; }
.ah-contact > :last-child { grid-column: 2; grid-row: 2; }
.ah-contact__lines { display: flex; flex-direction: column; align-items: flex-start; gap: var(--ah-space-8); }
.ah-contact__lines a.ah-contact__phone {
  font-size: var(--ah-fs-h2);
  line-height: 1.1;
  letter-spacing: var(--ah-ls-h2);
  font-weight: var(--ah-fw-bold);
  text-decoration: none;
}
.ah-contact__lines a.ah-contact__phone:hover { text-decoration: underline; }
.ah-contact__lines a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.ah-contact__mail { font-size: var(--ah-fs-lead); }
.ah-contact__actions { display: flex; flex-wrap: wrap; gap: var(--ah-space-16); margin-top: var(--ah-space-32); }

/* =========================================================================
   Responsive layout (values come from tokens; only layout switches here)
   ========================================================================= */

@media (max-width: 1199px) {/* 3 + 2: item 5 spans two columns, so no cell is left grey */
  
  .ah-proof:not(.ah-proof--numerals) .ah-proof__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(4) { padding-left: 0; }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(5) { grid-column: span 2; }
  .ah-proof--numerals .ah-proof__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .ah-section-head--split,
  .ah-contact { grid-template-columns: minmax(0, 1fr); }
  .ah-contact > :last-child { grid-column: 1; grid-row: 3; margin-top: var(--ah-space-48); }
  .ah-hero__shade {
    /* round 1: never lighter than 0.58 anywhere, strongest under the text (every text pixel ≥ 4.5:1 on 390×667 … 768×1024) */
    background: linear-gradient(0deg,
      rgb(var(--ah-rgb-navy) / 0.94) 0%,
      rgb(var(--ah-rgb-navy) / 0.88) 45%,
      rgb(var(--ah-rgb-navy) / 0.74) 70%,
      rgb(var(--ah-rgb-navy) / 0.58) 100%);
  }
  .ah-badge { position: static; align-self: flex-start; margin-bottom: var(--ah-space-24); animation-delay: 0ms; }
  .ah-tiles { grid-template-columns: minmax(0, 1fr); }
  .ah-tile { display: grid; grid-template-columns: 1fr 1fr; }
  .ah-tile__media { aspect-ratio: auto; min-height: 22rem; border-radius: var(--ah-radius-lg) 0 0 var(--ah-radius-lg); }
  .ah-tile__media img { position: absolute; inset: 0; }
  .ah-tile--wide .ah-tile__body { padding: var(--ah-space-32) var(--ah-space-24); }
  .ah-refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ah-hero { min-height: 36rem; }
  .ah-hero__media img { object-position: 72% 50%; }
  .ah-hero__actions .ah-btn { width: 100%; }
  .ah-badge { order: 2; margin: var(--ah-space-24) 0 0; padding: var(--ah-space-8) var(--ah-space-16); }   /* round 1: below the buttons */   
  .ah-hero__text { order: 1; }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__list,
  .ah-proof--numerals .ah-proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* 2 + 2 + 1: item 5 spans both columns */
  
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(n) { padding-left: var(--ah-grid-gap); }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(odd) { padding-left: 0; }
  .ah-proof__item:last-child { grid-column: 1 / -1; }
  .ah-proof--numerals .ah-proof__list { row-gap: var(--ah-space-24); }
  .ah-proof--numerals .ah-proof__item { grid-template-rows: auto; row-gap: 0; padding-top: var(--ah-space-16); }
  .ah-proof--numerals .ah-proof__pre,
  .ah-proof--numerals .ah-proof__num,
  .ah-proof--numerals .ah-proof__word,
  .ah-proof--numerals .ah-proof__label { grid-row: auto; }
  .ah-tile,
  .ah-tile--wide { display: flex; flex-direction: column; }
  .ah-tile__media,
  .ah-tile--wide .ah-tile__media { aspect-ratio: 4 / 3; min-height: 0; border-radius: var(--ah-radius-lg) var(--ah-radius-lg) 0 0; }
  .ah-tile__title { left: var(--ah-space-16); right: var(--ah-space-16); bottom: var(--ah-space-16); }
  .ah-tile__body { padding: var(--ah-space-16) var(--ah-space-16) var(--ah-space-24); }
  .ah-tile--wide .ah-tile__body { padding: var(--ah-space-24) var(--ah-space-16); }
  .ah-photo-band img { aspect-ratio: 16 / 9; }
  .ah-ref__logo { height: 8.5rem; padding: var(--ah-space-16); }
  .ah-ref__meta { padding: var(--ah-space-16); }
  .ah-refs--soft { padding: var(--ah-space-16); }
  .ah-places { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ah-space-24); }
  .ah-contact__actions .ah-btn { width: 100%; }   /* form: one column; only PLZ + Ortschaft share a row; «senden» full width */
  
  .ah-form { grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--ah-space-24) var(--ah-space-16); }
  .ah-field,
  .ah-field--long,
  .ah-fieldset { grid-column: 1 / -1; }
  .ah-field--short { grid-column: 1; }
  .ah-field--short + .ah-field--long { grid-column: 2; }
  .ah-form .ah-field--full > .ah-btn,
  .ah-form > .ah-field--full .ah-btn { width: 100%; }   /* CAPTCHA: image keeps its natural size above, the input takes the whole row */
  
  .ah-captcha { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ah-space-12); }
  .ah-captcha__image { justify-self: start; }
  .ah-captcha .ah-field__input { width: 100%; }
}   /* Hover movement exists only when the visitor has not asked for less motion. */

@media (prefers-reduced-motion: no-preference) {/* round 1: a whole card answers hover and keyboard focus with a navy border (gone under reduced motion); v5 fix round 1: the photo no longer scales, only the bar cards of Home do */
  
  .ah-tile--card { transition: border-color var(--ah-dur-fast) var(--ah-ease-standard); }
  .ah-tile--card:hover,
  .ah-tile--card:focus-within { border-color: var(--ah-color-navy); }
  .ah-btn--text:not(:disabled):not(.is-disabled):hover .ah-icon,
  .ah-btn--text.is-demo-hover .ah-icon,
  .ah-linklist a:hover .ah-icon,
  .ah-linklist a.is-demo-hover .ah-icon { transform: translateX(3px); }
}

/* =========================================================================
   Phase 4+5 additions (10.10.2026): inner-page parts and the Home intro.
   Everything below is new; nothing above was changed. Values are tokens only.
   ========================================================================= *//* Section head with a link on the right (Referenzen teaser): title left, link at the end of the row. */

.ah-section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--ah-space-16) var(--ah-space-32);
}   /* Home intro: label + statement pairs («Sie suchen» / «Wir bieten» / «Unsere Mission»), ruled rows. */

.ah-def__row { padding-block: var(--ah-space-32); border-top: var(--ah-border) solid var(--ah-color-rule); }
.ah-def__row:first-child { padding-top: 0; border-top: 0; }
.ah-def__row:last-child { padding-bottom: 0; }   /* An element that must look like an H3 while its place in the outline is decided by the page (block titles, statements). */

.ah-h3 {
  color: var(--ah-color-navy);
  font-size: var(--ah-fs-h3);
  line-height: var(--ah-lh-h3);
  letter-spacing: var(--ah-ls-h3);
  font-weight: var(--ah-fw-semibold);
  text-wrap: balance;
}
.ah-def__term {
  margin-bottom: var(--ah-space-8);
  color: var(--ah-color-blue);
  font-size: var(--ah-fs-small);
  line-height: var(--ah-lh-small);
  font-weight: var(--ah-fw-bold);
}
.ah-def__note {
  display: flex;
  align-items: center;
  gap: var(--ah-space-12);
  margin-top: var(--ah-space-16);
  color: var(--ah-color-navy);
  font-weight: var(--ah-fw-bold);
}
.ah-def__note .ah-icon { color: var(--ah-color-blue); }   /* Inner-page header band: H1 and an optional lead on a tint or light ground, no photo.
   Padding is the head gap token (64 / 64 / 48 / 32), one step below a full section. */

.ah-pagehead { padding-block: var(--ah-head-gap); }   /* round 1: the inner-page H1 has its own role (48 / 44 / 40 / 32 px, tokens --ah-fs-h1-inner), used only here; the hero keeps --ah-fs-h1 */

.ah-pagehead :is(h1, .ah-h1-spec) {
  font-size: var(--ah-fs-h1-inner);
  line-height: var(--ah-lh-h1-inner);
  letter-spacing: var(--ah-ls-h1-inner);
}   /* round 1: the ruled variant is a tint band with a 1 px bottom rule, so it still reads as a band above another tint section */

.ah-pagehead--ruled { border-bottom: var(--ah-border) solid var(--ah-color-rule); }
.ah-pagehead .ah-lead { margin-top: var(--ah-space-24); }   /* Prose section: lead + paragraphs. The measure comes from the tags (p: 31 em, lead: 28 em). */

.ah-prose > * + * { margin-top: var(--ah-space-24); }
.ah-prose > .ah-prose__sep { margin-top: var(--ah-space-32); margin-bottom: var(--ah-space-8); }
.ah-prose__sep {
  display: flex;
  align-items: center;
  gap: var(--ah-space-16);
  max-width: var(--ah-measure);
  color: var(--ah-color-muted);
  font-size: var(--ah-fs-label);
  line-height: var(--ah-lh-label);
  letter-spacing: var(--ah-ls-label);
  font-weight: var(--ah-fw-semibold);
  text-transform: uppercase;
}
.ah-prose__sep::before,
.ah-prose__sep::after { content: ""; flex: 1; border-top: var(--ah-border) solid var(--ah-color-rule); }   /* Check list in two columns (one column below 768). Rules sit under each item, so both columns close cleanly. */

.ah-checklist--cols {
  columns: 2;
  column-gap: var(--ah-col-gap);
  border-top: var(--ah-border) solid var(--ah-color-rule);
}
.ah-checklist--cols > li { break-inside: avoid; border-top: 0; border-bottom: var(--ah-border) solid var(--ah-color-rule); }   /* Service block: heading + list on one side, photo on the other; --reverse puts the photo first. */

.ah-service--reverse { grid-template-columns: 5fr 6fr; }
.ah-service--reverse .ah-service__media { order: -1; }
.ah-service__body > * + * { margin-top: var(--ah-space-24); }
.ah-service__body .ah-eyebrow { margin-bottom: var(--ah-space-8); }
.ah-service__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--ah-radius-lg);
}   /* Main + aside layout: contact page (form | address) and Standort (map | address). */

.ah-layout-aside {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--ah-space-48) var(--ah-col-gap);
  align-items: start;
}
.ah-addr {
  padding: var(--ah-space-32);
  border: var(--ah-border) solid var(--ah-color-rule);
  border-radius: var(--ah-radius-lg);
  background: var(--ah-color-tint);
}
.ah-section--tint .ah-addr { background: var(--ah-color-white); }
.ah-addr > * + * { margin-top: var(--ah-space-24); }
.ah-addr__label { margin-bottom: var(--ah-space-8); color: var(--ah-color-navy); font-size: var(--ah-fs-small); font-weight: var(--ah-fw-bold); }
.ah-addr p { max-width: none; font-size: var(--ah-fs-small); line-height: 1.7; }
.ah-addr .ah-def__note { margin-top: 0; }   /* Map block: a frame that keeps its shape until the embed or the static map goes in. */

.ah-map { margin: 0; }
.ah-map__frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 18rem;
  overflow: hidden;
  border: var(--ah-border) solid var(--ah-color-rule);
  border-radius: var(--ah-radius-lg);
  background: var(--ah-color-tint-strong);
  color: var(--ah-color-blue);
}
.ah-map__frame .ah-icon { width: 3rem; height: 3rem; }
.ah-map__frame iframe { width: 100%; height: 100%; border: 0; }
.ah-map__cap { margin-top: var(--ah-space-12); max-width: none; color: var(--ah-color-muted); font-size: var(--ah-fs-small); line-height: var(--ah-lh-small); }   /* Legal text (Impressum): one row per H2, title left and text right; long URLs wrap. */

.ah-legal__block {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: var(--ah-space-16) var(--ah-col-gap);
  padding-block: var(--ah-space-48);
  border-top: var(--ah-border) solid var(--ah-color-rule);
}
.ah-legal__block:first-child { padding-top: 0; border-top: 0; }
.ah-legal__body > * + * { margin-top: var(--ah-space-16); }
.ah-legal__body a { overflow-wrap: anywhere; }
.ah-legal__links > div { padding-block: var(--ah-space-12); border-top: var(--ah-border) solid var(--ah-color-rule); }
.ah-legal__links > div:last-child { border-bottom: var(--ah-border) solid var(--ah-color-rule); }
.ah-legal__links dt { color: var(--ah-color-navy); font-weight: var(--ah-fw-semibold); }   /* Reference tile with a linked name (Referenzen page). */

.ah-ref__name a { overflow-wrap: anywhere; }   /* Reference logo wall (Home teaser): logos only, six across (three from 1199 px, two below 768); natural size, shrunk only when the cell is narrower. */

.ah-refs--logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ah-refs--logos .ah-ref__logo { height: 9rem; padding: var(--ah-space-16); }   /* Einzugsgebiet list across the full width: four columns from 1200 px (24 names = 6 rows). */

@media (min-width: 1200px) {
  .ah-places--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
  .ah-refs--logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}   /* Service tiles with the firm's own landscape photos (1400 × 480): 4:3 media keeps them at 0.63 of their natural
   size at 1440 (a 4:5 tile would enlarge them 1.05×). Round 1: was 1:1. */

@media (min-width: 992px) {
  .ah-tiles--landscape .ah-tile__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 991px) {
  .ah-service,
  .ah-service--reverse,
  .ah-layout-aside,
  .ah-legal__block { grid-template-columns: minmax(0, 1fr); }
  .ah-service--reverse .ah-service__media { order: 0; }
}

@media (max-width: 767px) {
  .ah-refs--logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-refs--logos .ah-ref__logo { height: 8rem; }
  .ah-checklist--cols { columns: 1; }
  .ah-addr { padding: var(--ah-space-24) var(--ah-space-16); }
  .ah-map__frame { aspect-ratio: 4 / 3; min-height: 0; }
  .ah-legal__block { padding-block: var(--ah-space-32); }
}

/* =========================================================================
   Round 1 (10.10.2026): fixes after the two independent reviews
   ========================================================================= *//* Proof strip: no orphan cell at any width (plain-text variant A only) */

.ah-proof:not(.ah-proof--numerals) .ah-proof__text { text-wrap: balance; }
@media (min-width: 1360px) {/* five columns, the last one wider: «24 Orte im Einzugsgebiet» stays on one line like the other four, all cells one height */
  
  .ah-proof:not(.ah-proof--numerals) .ah-proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item { padding-inline: var(--ah-space-24); }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:first-child { padding-left: 0; }
}
@media (min-width: 768px) and (max-width: 1359px) {/* six columns: three cells of 2 on the first row, two cells of 3 on the second, so the last row fills the width */
  
  .ah-proof:not(.ah-proof--numerals) .ah-proof__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item { grid-column: span 2; }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(n + 4) { grid-column: span 3; }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(1),
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(4) { padding-left: 0; }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(2),
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(3),
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(5) { padding-left: var(--ah-grid-gap); }
}
@media (max-width: 767px) {/* a compact list: five rows, no dash */
  
  .ah-proof:not(.ah-proof--numerals) > .ah-container { padding-block: var(--ah-space-16); }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__list { grid-template-columns: minmax(0, 1fr); }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item:nth-child(n) { grid-column: auto; padding: 0.625rem 0; }
  .ah-proof:not(.ah-proof--numerals) .ah-proof__item::before { display: none; }
}   /* Compact section: for the lighter sections (Referenzen, Einzugsgebiet); the padding never exceeds the section step */

.ah-section--compact { padding-block: min(5rem, var(--ah-section-y)); }
.ah-section--compact .ah-section-head { margin-bottom: min(3rem, var(--ah-head-gap)); }   /* Einzugsgebiet, wide: one rule above the group, plain spacing between the names */

.ah-places--wide { border-top: var(--ah-border) solid var(--ah-color-rule); }
.ah-places--wide > li { border-bottom: 0; }   /* Reference logos: optical size by CSS only (the files stay as the client sent them). height = wanted visible height
   ÷ the share of the file the mark fills, never above the file's own height (no enlargement). Wordmarks ≈ 40 px
   visible, stacked marks ≈ 64 px; Keller and Taxalis are smaller than that in their files and stay at 1.0. */

.ah-ref__logo--wordmark { --ah-logo-visible: 2.5rem; }
.ah-ref__logo--stack { --ah-logo-visible: 4rem; }   /* Round 2: the WIDTH is set and the height follows (height: auto), so a narrow cell can only shrink the whole logo, never squeeze it:
   width = wanted visible height ÷ fill × aspect ratio (w/h of the file), at most the file's 11.25 rem and at most the cell. */

.ah-ref__logo .ah-ref__img {
  width: min(calc(var(--ah-logo-visible) / var(--ah-logo-fill) * var(--ah-logo-ar)), 11.25rem, 100%);
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.ah-ref__img--hesta { --ah-logo-fill: 0.8125; --ah-logo-ar: 2.8125; }   /* 166 × 52 visible in 180 × 64 */          
.ah-ref__img--keller { --ah-logo-fill: 0.458; --ah-logo-ar: 2.1687; }   /* 157 × 38 in 180 × 83 */     
.ah-ref__img--taxalis { --ah-logo-fill: 0.349; --ah-logo-ar: 2.093; }   /* 168 × 30 in 180 × 86 */     
.ah-ref__img--prestige { --ah-logo-fill: 0.807; --ah-logo-ar: 1.2; }   /* 95 × 121 in 180 × 150 */    
.ah-ref__img--ruchti { --ah-logo-fill: 0.867; --ah-logo-ar: 1.7143; }   /* 165 × 91 in 180 × 105 */     
.ah-ref__img--widmer { --ah-logo-fill: 0.8; --ah-logo-ar: 1.5; }   /* 150 × 96 in 180 × 120 *//* Footer: one row pitch (44 px) for the address, the contact lines and the links, so the first lines share a baseline */          

.ah-footer__grid p:not(.ah-footer__title) { line-height: var(--ah-footer-row); }   /* Form: the submit button is wide enough to read as the end of the form */

.ah-form [type="submit"] { min-width: 10rem; }   /* Round 2: the contact band as a compact section (Home): lighter padding, the eyebrow closer to the H2, and the buttons closer to the lines */

.ah-section--compact .ah-contact .ah-eyebrow { margin-bottom: var(--ah-space-8); }
.ah-section--compact .ah-contact__actions { margin-top: var(--ah-space-24); }
.ah-section--compact.ah-section--blue { padding-block: min(4rem, var(--ah-section-y)); }   /* the closing band: 64 px, so it is ≤ 340 px high and at most 40 % empty at 1440 *//* =========================================================================
   Revision round 1 (19.10.2026, Mert's video): Home rebuilt. Values are tokens only.
   New: hero split, plain logo wall, service feature + list, steps (the logo's bars), flowing places,
   contact panel. The footer, the radii and the header menu changed above (same file, same tokens).
   ========================================================================= *//* =========================================================================
   Fix round 1 (19.10.2026): services as photos, the 24 h strip, the «Warum» composition, the area split, the bars divider
   ========================================================================= */
}

.ah-hero__title { overflow-wrap: anywhere; }   /* 24 h strip: full width, one statement, the number as live text */

.ah-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ah-space-16) var(--ah-space-48);
  margin-top: var(--ah-space-32);
  padding: var(--ah-space-24) var(--ah-space-32);
  border-radius: var(--ah-radius-lg);
  background: var(--ah-color-navy);
  color: var(--ah-color-white);
}

@media (max-width: 991px) {
  .ah-strip { padding: var(--ah-space-32) var(--ah-space-24); }
}   /* detector fixes (fix round 1): the photo tile link keeps its white label on hover (the global a:hover navy sat on the navy tile ground) */

a.ah-tile__media:hover { color: var(--ah-color-white); }
.ah-skip:hover { color: var(--ah-color-white); }
.ah-footer .ah-footer__h2 { color: var(--ah-color-white); }
.ah-footer a.ah-btn--primary,
.ah-footer a.ah-btn--primary:visited { color: var(--ah-color-navy); text-decoration: none; }
.ah-footer a.ah-btn--primary:hover,
.ah-footer a.ah-btn--primary:visited:hover { color: var(--ah-color-navy); background: var(--ah-color-primary-hover-on-dark); border-color: var(--ah-color-primary-hover-on-dark); text-decoration: none; }
.ah-ref__img--hesta { --ah-logo-h-ref: 2.25rem; }
.ah-ref__img--keller { --ah-logo-h-ref: 2.25rem; }
.ah-ref__img--taxalis { --ah-logo-h-ref: 1.75rem; }
.ah-ref__img--prestige { --ah-logo-h-ref: 3.5rem; }
.ah-ref__img--ruchti { --ah-logo-h-ref: 3.25rem; }
.ah-ref__img--widmer { --ah-logo-h-ref: 3.25rem; }

/* =========================================================================
   Revision round 2 (19.10.2026, Mert's second video, D-020): the site grows, nothing is removed.
   Header 72 / 64 px with the one-line lock-up, menu Startseite / Unsere Leistungen / Referenzen / Über uns,
   Mert's own photos, the intro back as ruled rows, five service tiles + the big 24-Stunden-Service band,
   references as their own bigger section, hero fact row. Values are tokens only.
   ========================================================================= *//* ---- Header: short bar, small one-line logo */

.ah-header__bar { padding-block: 0; gap: var(--ah-space-24); }
.ah-logo--mark-text .ah-logo__text { flex-direction: row; gap: 0.3em; }
.ah-header__logo.ah-logo--mark-text { min-height: 2.75rem; }
.ah-nav__list { gap: var(--ah-space-24); }
.ah-nav { gap: var(--ah-space-32); }
.ah-nav__sub { min-width: 13rem; }
@container ah-header (max-width: 1279px) {
  .ah-nav__list { gap: var(--ah-space-16); }
  .ah-nav { gap: var(--ah-space-16); }
  .ah-header__actions { gap: var(--ah-space-12); }
  .ah-header__phone .ah-icon { display: none; }
  .ah-header__bar { gap: var(--ah-space-16); }
}
@container ah-header (max-width: 1279px) {
  .ah-nav__list { gap: 0; }
  .ah-nav { gap: var(--ah-space-24); }
  .ah-header__phone .ah-icon { display: block; }
}
@media (max-width: 767px) {
  .ah-logo--mark-text .ah-logo__text { flex-direction: column; gap: 0; line-height: 1.1; }
  .ah-header__bar { gap: 0 var(--ah-space-8); }
}
@media (min-width: 390px) and (max-width: 767px) {/* round 4: the header name stays on one line beside the mark from 390 px (13 px; with the call button and burger it fills the bar) */   
  .ah-header .ah-logo--mark-text .ah-logo__text { flex-direction: row; gap: 0.3em; font-size: 0.8125rem; }
}   /* ---- Revision 2, fix round 1 (19.10.2026): five reviews, orchestrator decisions in docs/revision-2-fix-round-1.md *//* Header: the phone number is the strongest right-hand item, «Anfrage senden» the only filled button */

.ah-header__phone { font-size: 1.25rem; line-height: 1.2; font-weight: var(--ah-fw-bold); }
.ah-header .ah-btn { min-height: 2.75rem; padding-block: var(--ah-space-8); }   /* round 4: 44 px, on the bar's centre line */   
.ah-header .ah-btn--filled { background: var(--ah-color-blue); border-color: var(--ah-color-blue); color: var(--ah-color-white); }
.ah-header .ah-btn--filled:not(:disabled):hover { background: var(--ah-color-navy); border-color: var(--ah-color-navy); color: var(--ah-color-white); }
@container ah-header (max-width: 1279px) { .ah-header__phone { font-size: 1.125rem; }
}   /* Footer on phones: tighter address lines */

@container ah-footer (max-width: 699px) {
  .ah-footer__grid p:not(.ah-footer__title) { line-height: 1.6; }
  .ah-footer__grid { gap: var(--ah-space-24); }
}
.ah-header .ah-btn--filled:not(:disabled):active { background: var(--ah-color-navy-deep); border-color: var(--ah-color-navy-deep); color: var(--ah-color-white); box-shadow: inset 0 0 0 1px var(--ah-color-ring-pressed); }

/* =========================================================================
   Revision round 3 (19.10.2026, Mert's chat reply; D-021): hero bars, «Warum Kunden uns lieben», six service cards.
   Values are tokens only. Replaces the proof row, the two text rows, the 24 h band and the team band.
   ========================================================================= *//* ---- Warum Kunden uns lieben: three photo cards on navy, unequal (fix round 1: the photo takes more than 60 % of each card) ---- */

.ah-section--warum { padding-block: var(--ah-space-80) var(--ah-space-96); }
@media (max-width: 767px) {
  .ah-section--warum { padding-block: var(--ah-space-32) var(--ah-space-40); }
}

/* =========================================================================
   Home v5 (D-022), B1: S0 header N1b + S1 hero «the roof». docs/home-v5-direction.md §3.
   ========================================================================= *//* ---- S0 header: logo and menu grouped left (48 px after the lock-up), phone dominant right, «Anfrage senden» the only filled control */

@container ah-header (min-width: 1280px) {
  .ah-nav { flex: 1; margin-left: 0; }
  .ah-header__actions { margin-left: auto; }
}
@container ah-header (min-width: 1340px) {/* 48 px after the lock-up = the bar's 24 px flex gap + 24 */   
  .ah-nav { margin-left: var(--ah-space-24); gap: var(--ah-space-24); }
  .ah-nav__list { gap: var(--ah-space-24); }
  .ah-header__actions { gap: var(--ah-space-24); }
}
.ah-header__phone { font-size: 1.25rem; line-height: 1.2; font-weight: var(--ah-fw-heavy); }
.ah-header__phone:hover { text-decoration-line: underline; text-underline-offset: 4px; }   /* ---- S1 hero: copy on the brand blue, the photo seen through the logo's seven bars */

.ah-hero--roof {
  --roof: var(--ah-roof-tab);
  container: ah-hero / inline-size;
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  background: var(--ah-color-blue);
  padding-block: var(--ah-space-48) calc(56.25vw + var(--ah-space-48));
}
.ah-hero--roof .ah-hero__inner { display: block; padding-block: 0; }
.ah-hero--roof .ah-hero__text { max-width: none; animation: none; }
.ah-hero--roof .ah-hero__title {
  font-size: var(--ah-fs-h1-hero);
  line-height: var(--ah-lh-h1-hero);
  letter-spacing: var(--ah-ls-h1-hero);
  font-weight: var(--ah-fw-heavy);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.ah-hero--roof .ah-hero__sub {
  max-width: 34em;
  margin-top: var(--ah-space-24);
  color: var(--ah-color-blue-pale);
  font-size: var(--ah-fs-lede-hero);
  line-height: var(--ah-lh-lede-hero);
}
.ah-hero--roof .ah-hero__actions { gap: var(--ah-space-16); margin-top: var(--ah-space-40); }
.ah-hero--roof .ah-hero__actions .ah-btn { min-height: 3.5rem; }

.ah-hero__panel {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 56.25cqw;
  margin: 0;
  clip-path: var(--roof);
}
.ah-hero__panel picture, .ah-hero__panel img { display: block; width: 100%; height: 100%; }
.ah-hero__panel img { object-fit: cover; object-position: 100% 56%; }   /* r2: shifted 35 px so a bar gap falls on the word space of the shirt print *//* the seven covers: hero blue over each bar, shrinking upward on load, so the photo grows up from the baseline */   

.ah-hero__cover {
  --i: 0;   /* set inline per cover (0-6) */
  position: absolute;
  top: 0;
  height: 100%;
  left: calc(var(--l) - 0.4%);
  width: calc(var(--w) + 0.8%);
  background: var(--ah-color-blue);
  transform-origin: top;
  animation: ah-rise-bar 480ms cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--i) * 60ms);
}
.ah-hero__cover:nth-of-type(1) { --l: 0%; --w: 12.97%; }
.ah-hero__cover:nth-of-type(2) { --l: 14.51%; --w: 12.96%; }
.ah-hero__cover:nth-of-type(3) { --l: 29.01%; --w: 12.97%; }
.ah-hero__cover:nth-of-type(4) { --l: 43.52%; --w: 12.96%; }
.ah-hero__cover:nth-of-type(5) { --l: 58.02%; --w: 12.97%; }
.ah-hero__cover:nth-of-type(6) { --l: 72.53%; --w: 12.96%; }
.ah-hero__cover:nth-of-type(7) { --l: 87.03%; --w: 12.97%; }
@keyframes ah-rise-bar { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .ah-hero__cover { display: none; }
}   /* badge (r2 A2): the fourth line of the text stack, no pill, no fill, no shadow */

.ah-hero--roof .ah-badge {
  position: static;
  display: flex;
  align-items: center;
  gap: var(--ah-space-12);
  max-width: none;
  margin: var(--ah-space-32) 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ah-color-white);
  font-size: 1.1875rem;
  line-height: 1.2;
  font-weight: var(--ah-fw-heavy);
  white-space: nowrap;
  animation: none;
}
.ah-hero--roof .ah-badge .ah-icon { width: 1.5rem; height: 1.5rem; color: var(--ah-color-blue-pale); }

@media (max-width: 575px) {
  .ah-hero--roof { --roof: var(--ah-roof-mob); padding-block: var(--ah-space-40) calc(87.18vw + var(--ah-space-32)); }
  .ah-hero--roof .ah-hero__sub { margin-top: var(--ah-space-20); }
  .ah-hero--roof .ah-hero__actions { flex-direction: column; gap: var(--ah-space-12); margin-top: var(--ah-space-24); }
  .ah-hero--roof .ah-hero__actions .ah-btn { width: 100%; min-height: 3.25rem; }
  .ah-hero__panel { height: 87.18cqw; }
  .ah-hero--roof .ah-badge { margin-top: var(--ah-space-24); }
}
@media (min-width: 576px) and (max-width: 1199px) {
  .ah-hero--roof { padding-block: var(--ah-space-64) calc(56.25vw + var(--ah-space-48)); }
  .ah-hero__panel img { object-position: 50% 12%; }   /* the 16:9 window keeps the cap and the shirt logo */}
@media (min-width: 576px) and (max-width: 767px) {
  .ah-hero--roof { padding-block: var(--ah-space-40) calc(56.25vw + var(--ah-space-48)); }
}
@media (min-width: 1200px) {
  .ah-hero--roof {
    --roof: var(--ah-roof-desk);
    display: flex;
    align-items: center;   /* the copy sits centred between the paddings, against the tall photo */
    min-height: calc(var(--ah-hero-panel-w) * 0.918);   /* the panel keeps about the 599:550 proportion the polygon is cut for */
    padding-block: calc(var(--ah-space-64) + var(--ah-space-8)) var(--ah-space-96);   /* ratio bottom / top 1.33 (gate 44a) */
  }
  .ah-hero--roof .ah-hero__inner { width: 100%; }
  .ah-hero--roof .ah-hero__text { width: calc(100cqw - max(var(--ah-gutter), (100cqw - var(--ah-container)) / 2) - var(--ah-hero-panel-w) - var(--ah-space-24)); }
  .ah-hero__panel { left: auto; width: var(--ah-hero-panel-w); height: auto; top: 0; }
  .ah-hero__cover:nth-of-type(1) { --l: 0%; --w: 12.19%; }
  .ah-hero__cover:nth-of-type(2) { --l: 14.64%; --w: 12.18%; }
  .ah-hero__cover:nth-of-type(3) { --l: 29.27%; --w: 12.19%; }
  .ah-hero__cover:nth-of-type(4) { --l: 43.91%; --w: 12.18%; }
  .ah-hero__cover:nth-of-type(5) { --l: 58.54%; --w: 12.19%; }
  .ah-hero__cover:nth-of-type(6) { --l: 73.18%; --w: 12.18%; }
  .ah-hero__cover:nth-of-type(7) { --l: 87.81%; --w: 12.19%; }
}

/* =========================================================================
   Home v5 r2 C3 + round 4: «Warum Kunden uns lieben». The numbers stand in three solid bars in the logo's colours 2-4; the photos are plain
   rectangles. The tinted ground ends behind the upper half of the photos, their lower half stands on white (round 4 / Mert, row 5).
   ========================================================================= */

.ah-section--warum { position: relative; z-index: 0; overflow-x: clip; padding-block: calc(var(--ah-space-96) + var(--ah-space-24)) 0; }
.ah-proof--v5 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ah-grid-gap); align-items: stretch; background: none; border: 0; }
.ah-proof__bento {
  position: relative;
  grid-column: 1 / 7;
  display: grid;
  grid-template-columns: minmax(0, 372fr) minmax(0, 240fr);
  grid-template-rows: 252px 252px;
  gap: var(--ah-space-16);
}
.ah-proof__bento::before {   /* the white ground under the lower half of the photos, full bleed (the shadow spreads it sideways, the clip keeps it inside the photos' lower half and the section's end) */
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% 0 0;
  background: var(--ah-color-white);
  box-shadow: 0 0 0 100vmax var(--ah-color-white);
  clip-path: inset(0 -100vmax);
}
.ah-proof__ph { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: var(--ah-radius-lg); }
.ah-proof__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ah-proof__ph--a { grid-row: 1 / 3; }
.ah-proof__ph--a img { object-position: 50% 30%; }
.ah-proof__copy { grid-column: 8 / 13; display: flex; flex-direction: column; min-width: 0; }
.ah-figbars {
  --fig-d: 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: var(--ah-space-24);
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  overflow: clip;   /* the bars rise out of the floor */
}
.ah-figbar-item { min-width: 0; --i: 0; /* set inline per item (0-2) */ display: flex; flex-direction: column; justify-content: flex-end; }
.ah-figbar-item:nth-child(1) { --bh: var(--ah-figbar-1); --bc: var(--ah-bar-2); }
.ah-figbar-item:nth-child(2) { --bh: var(--ah-figbar-2); --bc: var(--ah-bar-3); }
.ah-figbar-item:nth-child(3) { --bh: var(--ah-figbar-3); --bc: var(--ah-bar-4); }
.ah-figbar__label { margin-bottom: var(--ah-space-16); }
.ah-figbar__title { color: var(--ah-color-navy); font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; font-weight: var(--ah-fw-heavy); }
.ah-figbar__line { max-width: none; overflow-wrap: anywhere; hyphens: auto; margin-top: var(--ah-space-4); color: var(--ah-color-text); font-size: 1rem; line-height: 1.4; }
.ah-figbar { container-type: inline-size; display: flex; align-items: flex-end; height: var(--bh); padding: 0 var(--ah-space-16) var(--ah-space-24); background: var(--bc); clip-path: polygon(0 0, 100% var(--fig-d), 100% 100%, 0 100%); }
.ah-figbar__n { max-width: none; color: var(--ah-color-white); font-size: min(var(--ah-fs-figure), 42cqw); line-height: var(--ah-lh-figure); letter-spacing: var(--ah-ls-figure); font-weight: var(--ah-fw-heavy); white-space: nowrap; font-variant-numeric: lining-nums; }   /* 42 cqw: «2013» fits the narrowest bar; all three numerals share the size and the baseline */   
.ah-figbar__unit { font-size: 0.5em; font-weight: var(--ah-fw-semibold); letter-spacing: 0; }   /* motion: when the section comes into view each bar rises out of the floor once (translate only: the numeral keeps its size); without JS or with reduced motion the bars stand */

@media (prefers-reduced-motion: no-preference) {
  html.js .ah-figbars .ah-figbar { transform: translateY(100%); }
  html.js .ah-figbars.is-in .ah-figbar { transform: none; transition: transform 480ms cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * 80ms); }
}
@media (max-width: 1199px) {
  .ah-figbars { --fig-d: 44px; }
}
@media (max-width: 991px) {
  .ah-proof--v5 { display: flex; flex-direction: column; align-items: stretch; }
  .ah-proof__copy { order: -1; margin-bottom: var(--ah-space-24); }   /* H2, then the bars, then the photos */   
  .ah-figbars { margin-top: var(--ah-space-32); }
  .ah-proof__bento { grid-template-columns: minmax(0, 372fr) minmax(0, 240fr); grid-template-rows: 252px 252px; max-width: 40rem; }
}
@media (max-width: 359px) {
  .ah-figbars { grid-template-columns: minmax(0, 1fr); }   /* one column on the narrowest phones */}
@media (max-width: 767px) {
  .ah-section--warum { padding-block: calc(var(--ah-space-48) + var(--ah-space-12)) 0; }
  .ah-figbars { --fig-d: 40px; gap: var(--ah-space-12); }
  .ah-figbar__title { font-size: 1rem; }
  .ah-figbar { padding: 0 var(--ah-space-8) var(--ah-space-12); }
  .ah-proof__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; max-width: none; gap: var(--ah-space-16); }
  .ah-proof__ph--a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .ah-proof__ph--a img { object-position: 50% 22%; }
  .ah-proof__ph--b, .ah-proof__ph--c { aspect-ratio: 1; }
}

/* =========================================================================
   Home v5 r2 C4 + round 4: intro. The client's three statements descend across the section, the labels are the huge light words,
   one client photo (a plain rectangle) stands on the section floor with white space below it.
   ========================================================================= */

.ah-section--intro { padding-block: calc(2 * var(--ah-space-64)) var(--ah-space-80); }
.ah-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: var(--ah-grid-gap); row-gap: var(--ah-space-48); }
.ah-intro__label { display: block; max-width: none; margin: 0 0 var(--ah-space-4); color: var(--ah-color-blue); font-size: var(--ah-fs-intro-label); line-height: var(--ah-lh-intro); letter-spacing: -0.02em; font-weight: var(--ah-fw-light); }
.ah-intro__claim { display: block; max-width: none; margin: 0; color: var(--ah-color-navy); font-size: var(--ah-fs-intro-claim); line-height: var(--ah-lh-intro); letter-spacing: -0.02em; font-weight: var(--ah-fw-heavy); text-wrap: balance; }
.ah-intro__q { grid-column: 1 / 9; grid-row: 1; align-self: start; max-width: none; }
.ah-intro__a { grid-column: 7 / 13; grid-row: 1; align-self: start; margin-top: calc(2 * var(--ah-space-96)); max-width: none; }   /* one step lower: +192 px */   
.ah-intro__mission { grid-column: 7 / 13; grid-row: 2; max-width: none; padding-bottom: var(--intro-pad, var(--ah-space-32)); color: var(--ah-color-text); font-size: 1.25rem; line-height: 1.6; }   /* the padding keeps the photo (it stands on the floor) 40 px or more below step 1 */   
.ah-intro__runin { color: var(--ah-color-navy); font-weight: var(--ah-fw-heavy); }
.ah-intro__photo { grid-column: 1 / 6; grid-row: 1 / 3; align-self: end; aspect-ratio: 515 / 340; margin: 0; overflow: hidden; border-radius: var(--ah-radius-lg); }
.ah-intro__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
@media (min-width: 1200px) { .ah-intro__mission { --intro-pad: var(--ah-space-16); }
}
@media (max-width: 991px) {
  .ah-section--intro { padding-block: calc(var(--ah-space-48) + var(--ah-space-12)) var(--ah-space-64); }
  .ah-intro { display: flex; flex-direction: column; row-gap: 0; }
  .ah-intro__q, .ah-intro__a, .ah-intro__mission { grid-column: auto; }
  .ah-intro__a { margin-top: var(--ah-space-24); }
  .ah-intro__mission { margin: var(--ah-space-24) 0 0; padding-bottom: 0; font-size: 1.125rem; line-height: 1.55; }
  .ah-intro__photo { width: min(100%, 32rem); aspect-ratio: 515 / 340; margin-top: var(--ah-space-32); order: 5; align-self: flex-start; }   /* below the text */}
@media (max-width: 767px) {
  .ah-section--intro { padding-block: calc(var(--ah-space-48) + var(--ah-space-12)) calc(var(--ah-space-32) + var(--ah-space-24)); }
  .ah-intro__photo { width: 100%; aspect-ratio: 16 / 9; }
}

/* =========================================================================
   Home v5 B4 + round 4: S4 «Unsere Leistungen». A navy band (`.ah-leist__band`, a real box) carries the title and the 24 h tile and ends behind the
   UPPER HALF of the photo row; the lower half of the five plain, equal photos stands on the light ground (straight edge, photos overlap it).
   §3 S4, round 4 rows 5-6.
   ========================================================================= */

.ah-section--leist {
  container-type: inline-size;   /* cqw below = the section's width: the photo row's width = min(container, section - 2 gutters) */
  --svc-gap: var(--ah-space-32);
  --svc-tile-gap: var(--ah-space-96);   /* tile bottom to the top of the photos (round 4b: at least 96 px) */
  --svc-half: calc((min(var(--ah-container), 100cqw - 2 * var(--ah-gutter)) - 4 * var(--svc-gap)) / 5 * 0.625);   /* half of a photo (4:5, so width x 1.25 / 2) */
  padding-block: 0 calc(var(--ah-space-96) + var(--ah-space-40));
}
.ah-leist__band { padding-block: calc(var(--ah-space-96) + var(--ah-space-40)) calc(var(--svc-tile-gap) + var(--svc-half)); background: var(--ah-color-navy); }
.ah-section-title { margin-bottom: var(--ah-space-48); }
.ah-leist__band .ah-section-title { color: var(--ah-color-white); }
.ah-svc24 { display: flex; align-items: stretch; gap: var(--ah-space-64); min-height: 33.75rem; background: none; color: var(--ah-color-white); }
.ah-svc24__photo { position: relative; flex: 0 0 min(540px, 42.2%); margin: 0; overflow: hidden; border-radius: var(--ah-radius-lg); }
.ah-svc24__photo picture, .ah-svc24__photo img { display: block; width: 100%; height: 100%; }
.ah-svc24__photo img { position: absolute; inset: 0; object-fit: cover; }
.ah-svc24__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: var(--ah-space-32) 0; }
.ah-svc24__title { color: var(--ah-color-white); font-size: var(--ah-fs-h3-feature); line-height: 1.05; letter-spacing: -0.02em; font-weight: var(--ah-fw-heavy); }
.ah-svc24__line { max-width: 28em; margin-top: var(--ah-space-16); color: var(--ah-color-blue-pale); font-size: 1.25rem; line-height: 1.45; }
.ah-svc24__item { display: flex; align-items: center; gap: var(--ah-space-12); max-width: none; margin-top: var(--ah-space-24); color: var(--ah-color-white); font-size: 1.125rem; line-height: 1.4; }
.ah-svc24__item .ah-icon { color: var(--ah-color-blue-pale); }
.ah-svc24 a.ah-svc24__phone { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: var(--ah-space-40); color: var(--ah-color-white); font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: var(--ah-lh-phone-xl); letter-spacing: var(--ah-ls-phone-xl); font-weight: var(--ah-fw-heavy); text-decoration: none; white-space: nowrap; }
.ah-svc24 a.ah-svc24__phone:hover { color: var(--ah-color-white); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ah-svc24 .ah-btn { margin-top: var(--ah-space-24); min-height: 3.5rem; }   /* the five columns: level, one equal 4:5 photo each, pulled up by half a photo into the navy band */

.ah-svcbars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--svc-gap);
  margin-top: calc(-1 * var(--svc-half));
  align-items: start;
}
.ah-svcbar { container-type: inline-size; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; border-radius: var(--ah-radius-lg); }
.ah-svcbar__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--ah-radius-lg); }
.ah-svcbar__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ah-svcbar__body { padding-top: var(--ah-space-24); }
.ah-svcbar__title { font-size: clamp(1.0625rem, 10.4cqw, var(--ah-fs-h3)); line-height: var(--ah-lh-h3); letter-spacing: var(--ah-ls-h3); font-weight: var(--ah-fw-heavy); }
.ah-svcbar__link { display: inline-flex; align-items: center; gap: var(--ah-space-8); min-height: 2.75rem; color: var(--ah-color-navy); text-decoration: none; }
.ah-svcbar__link:hover { color: var(--ah-color-navy); text-decoration: none; }
.ah-svcbar__link::after { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: var(--ah-radius-lg); }   /* the whole card is the link */   
.ah-svcbar__link .ah-icon { width: 1.25rem; height: 1.25rem; color: var(--ah-color-blue); }
.ah-svcbar__link:focus-visible { outline: none; }
.ah-svcbar:has(.ah-svcbar__link:focus-visible) { outline: var(--ah-focus-width) solid var(--ah-focus-color); outline-offset: 4px; }
.ah-svcbar__list { display: grid; gap: var(--ah-space-4); margin: var(--ah-space-12) 0 0; padding: 0; list-style: none; color: var(--ah-color-text); font-size: var(--ah-fs-list); line-height: var(--ah-lh-list); }
.ah-svcbar__list li { position: relative; padding-left: var(--ah-space-16); }
.ah-svcbar__list li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 4px; height: 12px; background: var(--ah-bar-3); clip-path: polygon(0 0, 100% 37%, 100% 100%, 0 100%); }
@media (prefers-reduced-motion: no-preference) {
  .ah-svcbar__media img { transition: transform 500ms var(--ah-ease-out); }
  .ah-svcbar:hover .ah-svcbar__media img,
  .ah-svcbar:has(.ah-svcbar__link:focus-visible) .ah-svcbar__media img { transform: scale(1.04); }
}
@media (max-width: 1199px) {
  .ah-section--leist { --svc-gap: var(--ah-space-24); padding-block: 0 calc(var(--ah-space-96) + var(--ah-space-24)); }
  .ah-leist__band { padding-top: calc(var(--ah-space-96) + var(--ah-space-24)); }
  .ah-svc24 { gap: var(--ah-space-40); }
}
@media (max-width: 991px) {
  .ah-section--leist { --svc-thumb: 10rem; --svc-tile-gap: var(--ah-space-64); --svc-half: calc(-1 * var(--ah-space-24)); padding-block: 0 calc(var(--ah-space-80) + var(--ah-space-20)); }   /* text stands beside the photos here: the band ends 24 px above the first photo, not behind it */   
  .ah-leist__band { padding-top: calc(var(--ah-space-80) + var(--ah-space-20)); }
  .ah-svc24 { flex-direction: column; gap: var(--ah-space-32); min-height: 0; }
  .ah-svc24__photo { flex: none; aspect-ratio: 16 / 9; }
  .ah-svc24__body { padding: 0; justify-content: flex-start; }
  .ah-svcbars { grid-template-columns: minmax(0, 1fr); gap: var(--ah-space-24); }   /* rows: a 4:5 photo of 10 rem width, text beside it */   
  .ah-svcbar { grid-template-columns: var(--svc-thumb) minmax(0, 1fr); column-gap: var(--ah-space-24); }
  .ah-svcbar__body { padding: 0; align-self: start; }
}
@media (max-width: 767px) {
  .ah-section--leist { --svc-thumb: 8rem; --svc-tile-gap: var(--ah-space-64); padding-block: 0 calc(var(--ah-space-32) + var(--ah-space-24)); }
  .ah-leist__band { padding-top: calc(var(--ah-space-48) + var(--ah-space-12)); }
  .ah-section-title { margin-bottom: var(--ah-space-24); }
  .ah-svc24 { gap: var(--ah-space-24); }
  .ah-svc24__line { font-size: 1.0625rem; }
  .ah-svc24__item { margin-top: var(--ah-space-16); font-size: 1rem; }
  .ah-svc24 a.ah-svc24__phone { margin-top: var(--ah-space-16); font-size: var(--ah-fs-phone-xl); }
  .ah-svc24 .ah-btn { width: 100%; margin-top: var(--ah-space-12); }
  .ah-svcbars { gap: var(--ah-space-16); }
  .ah-svcbar { column-gap: var(--ah-space-16); }
  .ah-svcbar__title { font-size: 1.25rem; }
  .ah-svcbar__x { display: none; }   /* phones: the five bullets that repeat another line (the filler «Und noch vieles mehr!», two winter lines on the same job, the Hauswartungen line that restates the heading, Tiefgaragenreinigung) stay in the markup and on tablet/desktop */}
@media (max-width: 359px) {
  .ah-section--leist { --svc-thumb: 6.5rem; }
  .ah-svcbar__title { font-size: 1.125rem; }
}

/* =========================================================================
   Home v5 r2, C1 (header, §A7): the current page is a small gable bar (bar 1 of the logo) in the gap before the link; hover shows it at 40 %.
   ========================================================================= */

.ah-nav__link { position: relative; border-bottom: 0; }
.ah-nav__link::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  bottom: 1.0625rem;   /* 17 px: the bar's bottom sits on the link text's baseline (measured: link bottom 58, baseline 40.8) */
  width: 6px;
  height: 18px;
  background: var(--ah-bar-2);
  clip-path: polygon(0 33%, 100% 0, 100% 100%, 0 100%);
  opacity: 0;
}
.ah-nav__link[aria-current="page"]::before { opacity: 1; }
.ah-nav__link:not([aria-current="page"]):hover::before { opacity: 0.4; }
@media (prefers-reduced-motion: no-preference) {
  .ah-nav__link::before { transition: opacity var(--ah-dur-fast) var(--ah-ease-out); }
}
@container ah-header (max-width: 1279px) {
  .ah-nav__link::before { display: none; }   /* the open panel keeps its row rules */}   /* the navy ground (the one dark section: Referenzen) */

.ah-section--navy { background: var(--ah-color-navy); color: var(--ah-color-white); }

/* =========================================================================
   Home v5 r2, C6: «Diese Firmen vertrauen uns» on navy, the six logos stand on one white wall cut like the logo's bars (§A4)
   ========================================================================= */

.ah-section--refs { padding-block: calc(var(--ah-space-96) + var(--ah-space-8)); }
.ah-section--refs h2 { margin-bottom: var(--ah-space-8); }
.ah-reflink { display: inline-flex; align-items: center; gap: var(--ah-space-8); min-height: 2.75rem; margin-bottom: var(--ah-space-48); color: var(--ah-color-white); font-size: 1.125rem; font-weight: var(--ah-fw-semibold); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ah-reflink:hover { color: var(--ah-color-white); text-decoration-thickness: 3px; }
.ah-wall {
  --wall-step: 12px;
  --wall-d: 74px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--ah-space-16);
  align-items: stretch;
  height: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--ah-color-white);
  /* bar geometry (the logo's sloped tops), not an organic contour: impeccable's organic-clip-path flag on this polygon is a false positive, see docs/design-system.md */
  clip-path: polygon(0% 100%, 0% 0px, calc((100% - 80px) * 1 / 6 + 0px) var(--wall-d), calc((100% - 80px) * 1 / 6 + 0px) 100%, calc((100% - 80px) * 1 / 6 + 16px) 100%, calc((100% - 80px) * 1 / 6 + 16px) calc(var(--wall-step) * 1), calc((100% - 80px) * 2 / 6 + 16px) calc(var(--wall-step) * 1 + var(--wall-d)), calc((100% - 80px) * 2 / 6 + 16px) 100%, calc((100% - 80px) * 2 / 6 + 32px) 100%, calc((100% - 80px) * 2 / 6 + 32px) calc(var(--wall-step) * 2), calc((100% - 80px) * 3 / 6 + 32px) calc(var(--wall-step) * 2 + var(--wall-d)), calc((100% - 80px) * 3 / 6 + 32px) 100%, calc((100% - 80px) * 3 / 6 + 48px) 100%, calc((100% - 80px) * 3 / 6 + 48px) calc(var(--wall-step) * 3), calc((100% - 80px) * 4 / 6 + 48px) calc(var(--wall-step) * 3 + var(--wall-d)), calc((100% - 80px) * 4 / 6 + 48px) 100%, calc((100% - 80px) * 4 / 6 + 64px) 100%, calc((100% - 80px) * 4 / 6 + 64px) calc(var(--wall-step) * 4), calc((100% - 80px) * 5 / 6 + 64px) calc(var(--wall-step) * 4 + var(--wall-d)), calc((100% - 80px) * 5 / 6 + 64px) 100%, calc((100% - 80px) * 5 / 6 + 80px) 100%, calc((100% - 80px) * 5 / 6 + 80px) calc(var(--wall-step) * 5), 100% calc(var(--wall-step) * 5 + var(--wall-d)), 100% 100%);
}
.ah-wall > li { --i: 0; display: flex; align-items: center; justify-content: center; padding: calc(var(--wall-step) * var(--i) + var(--wall-d) / 2 + var(--ah-space-12)) var(--ah-space-12) var(--ah-space-4); }
.ah-wall__img { width: auto; height: auto; max-width: 100%; max-height: 80px; }
@media (max-width: 1199px) {
  .ah-wall { --wall-step: 9px; --wall-d: 51px; }
  .ah-wall__img { max-width: calc(100% - 24px); }
}
@media (max-width: 991px) {
  .ah-section--refs { padding-block: var(--ah-space-48); }
  .ah-reflink { margin-bottom: var(--ah-space-32); }
  .ah-wall {
    --wall-row1: 160px;
    --wall-step: 12px;
    --wall-d: 41px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: var(--wall-row1) 1fr;
    column-gap: var(--ah-space-8);
    row-gap: var(--ah-space-8);
    height: 320px;
    /* two rows in one polygon (the spec's polygon fills the strip between the rows): row 1 comb left to right, back along its bottom, down the left edge (a zero-width slit), row 2 comb, back along the bottom */
    /* bar geometry (the logo's sloped tops), not an organic contour: impeccable's organic-clip-path flag on this polygon is a false positive, see docs/design-system.md */
    clip-path: polygon(0% var(--wall-row1), 0% calc(var(--wall-step) * 0), calc((100% - 16px) * 1 / 3) calc(var(--wall-step) * 0 + var(--wall-d)), calc((100% - 16px) * 1 / 3) var(--wall-row1), calc((100% - 16px) * 1 / 3 + 8px) var(--wall-row1), calc((100% - 16px) * 1 / 3 + 8px) calc(var(--wall-step) * 1), calc((100% - 16px) * 2 / 3 + 8px) calc(var(--wall-step) * 1 + var(--wall-d)), calc((100% - 16px) * 2 / 3 + 8px) var(--wall-row1), calc((100% - 16px) * 2 / 3 + 16px) var(--wall-row1), calc((100% - 16px) * 2 / 3 + 16px) calc(var(--wall-step) * 2), 100% calc(var(--wall-step) * 2 + var(--wall-d)), 100% var(--wall-row1), 0% var(--wall-row1), 0% calc(var(--wall-row1) + 8px + var(--wall-step) * 3), calc((100% - 16px) * 1 / 3) calc(var(--wall-row1) + 8px + var(--wall-step) * 3 + var(--wall-d)), calc((100% - 16px) * 1 / 3) 100%, calc((100% - 16px) * 1 / 3 + 8px) 100%, calc((100% - 16px) * 1 / 3 + 8px) calc(var(--wall-row1) + 8px + var(--wall-step) * 4), calc((100% - 16px) * 2 / 3 + 8px) calc(var(--wall-row1) + 8px + var(--wall-step) * 4 + var(--wall-d)), calc((100% - 16px) * 2 / 3 + 8px) 100%, calc((100% - 16px) * 2 / 3 + 16px) 100%, calc((100% - 16px) * 2 / 3 + 16px) calc(var(--wall-row1) + 8px + var(--wall-step) * 5), 100% calc(var(--wall-row1) + 8px + var(--wall-step) * 5 + var(--wall-d)), 100% 100%, 0% 100%);
  }
  .ah-wall > li { padding: calc(var(--wall-step) * var(--i) + var(--wall-d) + var(--ah-space-8)) var(--ah-space-8) var(--ah-space-8); }
  .ah-wall__img { max-width: 95px; max-height: 80px; }
}
@media (max-width: 767px) {/* fix round 5.4: two columns x three rows, every cell at least 150 wide, logos 130 wide (Prestige keeps its 103 px file width: no upscaling), the step keeps running in the row order */
  
  .ah-wall {
    --wall-step: 8px;
    --wall-d: 63px;
    --r1: 190px;
    --r2: 140px;
    --r3: 160px;   /* was 118: the Taxalis wordmark (row 3, step 5) stood below the row's bottom edge */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: var(--r1) var(--r2) var(--r3);
    column-gap: var(--ah-space-8);
    row-gap: var(--ah-space-8);
    height: calc(var(--r1) + var(--r2) + var(--r3) + 16px);
    /* three rows in one polygon: each row's comb left to right, back along its bottom, down the left edge (a zero-width slit) to the next row */
    clip-path: polygon(0 0, calc(50% - 4px) var(--wall-d), calc(50% - 4px) var(--r1), calc(50% + 4px) var(--r1), calc(50% + 4px) var(--wall-step), 100% calc(var(--wall-step) + var(--wall-d)), 100% var(--r1), 0 var(--r1), 0 calc(var(--r1) + 8px + var(--wall-step) * 2), calc(50% - 4px) calc(var(--r1) + 8px + var(--wall-step) * 2 + var(--wall-d)), calc(50% - 4px) calc(var(--r1) + 8px + var(--r2)), calc(50% + 4px) calc(var(--r1) + 8px + var(--r2)), calc(50% + 4px) calc(var(--r1) + 8px + var(--wall-step) * 3), 100% calc(var(--r1) + 8px + var(--wall-step) * 3 + var(--wall-d)), 100% calc(var(--r1) + 8px + var(--r2)), 0 calc(var(--r1) + 8px + var(--r2)), 0 calc(var(--r1) + var(--r2) + 16px + var(--wall-step) * 4), calc(50% - 4px) calc(var(--r1) + var(--r2) + 16px + var(--wall-step) * 4 + var(--wall-d)), calc(50% - 4px) 100%, calc(50% + 4px) 100%, calc(50% + 4px) calc(var(--r1) + var(--r2) + 16px + var(--wall-step) * 5), 100% calc(var(--r1) + var(--r2) + 16px + var(--wall-step) * 5 + var(--wall-d)), 100% 100%, 0 100%);
  }
  .ah-wall > li { padding: calc(var(--wall-step) * var(--i) + var(--wall-d) / 2 + var(--ah-space-12)) var(--ah-space-8) var(--ah-space-4); }
  .ah-wall__img { width: 130px; max-width: 100%; max-height: none; }
  .ah-wall > li:nth-child(1) .ah-wall__img { width: 80px; }   /* round 4 cleanup, optical balance: Prestige is a tall mark, so it goes down from its natural 103 px; the two flat wordmarks go up to 140 */
  .ah-wall > li:nth-child(5) .ah-wall__img,
  .ah-wall > li:nth-child(6) .ah-wall__img { width: 140px; }
}

/* =========================================================================
   Home v5 r2, C7: «Unser Einzugsgebiet» on white: the 24 places set as names at their real positions (a map made only of names),
   Wolfhausen marked with the logo mark, the logo sign-off rises out of the footer (§A5)
   ========================================================================= */

.ah-section--map { padding-block: var(--ah-space-96) 0; }
.ah-section--map .ah-map { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ah-grid-gap); align-items: stretch; margin-inline: auto; }   /* scoped: the v4 .ah-map (Standort demo) keeps its own rule */   
.ah-map__head { grid-column: 1 / 5; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ah-map__head h2 { margin-bottom: var(--ah-space-24); }
.ah-map__addr { max-width: none; margin-bottom: var(--ah-space-16); color: var(--ah-color-text); font-size: 1.0625rem; line-height: 1.6; }
.ah-map__link { display: inline-flex; align-items: center; gap: var(--ah-space-8); min-height: 2.75rem; color: var(--ah-color-blue); font-size: 1.125rem; font-weight: var(--ah-fw-semibold); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ah-map__link:hover { color: var(--ah-color-navy); text-decoration-thickness: 3px; }
.ah-signoff { display: block; width: 25rem; max-width: 100%; height: auto; margin-top: auto; fill: var(--ah-color-blue); }   /* the footer's own blue: the footer rises into the logo; stands on the section floor */   
.ah-map__field { --mk: clamp(34px, 5.7cqw, 48px); container-type: inline-size; grid-column: 5 / 13; position: relative; align-self: start; aspect-ratio: 973 / 720; margin-bottom: calc(var(--ah-space-64) + var(--ah-space-8)); }   /* labels and the seat mark scale with the field so no two names meet */   
.ah-map__canvas { position: absolute; inset: 0; }
.ah-map__six { display: none; }
.ah-map__svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; }
.ah-map__svg path { fill-rule: evenodd; stroke: var(--ah-color-white); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ah-map__svg .m-ctx path, .ah-map__svg .m-ctx-city path { fill: var(--ah-map-context); }
.ah-map__svg .m-srv path { fill: var(--ah-map-served); }
.ah-map__svg .m-seat path { fill: var(--ah-map-seat); }
.ah-map__svg .m-lake path { fill: var(--ah-map-water); stroke: none; }
.ah-map__svg .m-mark { display: none; }
.ah-map__svg .m-mark polygon:nth-child(1), .ah-map__svg .m-mark polygon:nth-child(3) { fill: var(--ah-bar-1); }
.ah-map__svg .m-mark polygon:nth-child(2) { fill: var(--ah-bar-2); }
.ah-map__svg .m-mark polygon:nth-child(4) { fill: var(--ah-bar-4); }
.ah-map__svg .m-mark polygon:nth-child(5) { fill: var(--ah-bar-5); }
.ah-map__svg .m-mark polygon:nth-child(6) { fill: var(--ah-bar-6); }
.ah-map__svg .m-mark polygon:nth-child(7) { fill: var(--ah-bar-7); }
.ah-map__svg .m-mark polygon { stroke: none; }
.ah-map__credit { position: absolute; right: 0; top: calc(100% + var(--ah-space-8)); max-width: none; margin: 0; color: var(--ah-color-muted); font-size: 1rem; line-height: 1.3; }
.ah-map__places { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.ah-map__places > li { --x: 0%; --y: 0%; /* set inline per place */ position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.ah-map__places > li::before { content: ""; position: absolute; left: -2px; top: -6px; width: 4px; height: 12px; background: var(--ah-color-map-dot); clip-path: polygon(0 0, 100% 37%, 100% 100%, 0 100%); }   /* the micro-bar of the service lists, centred on the place */   
.ah-map__name { position: absolute; left: 0.625rem; top: 0; transform: translateY(-50%); color: var(--ah-color-navy); font-size: clamp(0.8125rem, 2cqw, 1.0625rem); line-height: 1.2; font-weight: var(--ah-fw-semibold); white-space: nowrap; text-shadow: var(--ah-text-halo); }
.ah-map__places > li.is-left .ah-map__name { left: auto; right: 0.625rem; }
.ah-map__places > li.is-seat::before { display: none; }
.ah-map__mark { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: var(--mk, 48px); max-width: none; height: calc(var(--mk, 48px) * 21 / 48); }
.ah-map__places > li.is-seat .ah-map__name { left: 0; top: calc(var(--mk) * 21 / 96 + var(--ah-space-8)); font-size: clamp(0.8125rem, 1.95cqw, 1.0625rem); font-weight: var(--ah-fw-heavy); transform: none; }   /* fix round 5: the seat's name sits under the mark, so it never meets the labels beside it */   
.ah-map__mark polygon { fill: var(--ah-color-navy); }   /* round 4 fix: all seven bars on the darkest tone (bars 1 and 3 had no fill and drew black) */   
.ah-map__note { display: block; margin-top: var(--ah-space-4); color: var(--ah-color-navy); font-size: clamp(0.875rem, 1.65cqw, 0.9375rem); font-weight: var(--ah-fw-regular); }
@media (max-width: 991px) {
  .ah-section--map { padding-block: var(--ah-space-64) 0; }
  .ah-section--map .ah-map { display: flex; flex-direction: column; }
  .ah-map__head { display: contents; }
  .ah-map__head h2 { order: 0; margin-bottom: var(--ah-space-16); }
  .ah-map__addr { order: 1; }
  .ah-map__link { order: 2; align-self: flex-start; }
  .ah-map__field { order: 3; width: 100%; margin: var(--ah-space-32) 0; }
  .ah-signoff { order: 4; width: 20rem; margin-top: 0; align-self: flex-start; }   /* last: stands on the section floor */}
@media (max-width: 767px) {
  .ah-section--map { padding-block: var(--ah-space-48) 0; }
  .ah-map__head { display: block; }
  .ah-section--map .ah-map { display: flex; flex-direction: column; }
  .ah-map__head { display: contents; }
  .ah-map__head h2 { order: 0; }
  .ah-map__addr { order: 1; margin-bottom: var(--ah-space-24); }
  .ah-map__field { order: 2; display: flex; flex-direction: column; aspect-ratio: auto; margin: 0; }
  .ah-map__canvas { position: relative; order: 0; }
  .ah-map__svg { position: static; height: auto; aspect-ratio: 973 / 720; }
  .ah-map__six { display: block; }
  .ah-map__six span { position: absolute; left: calc(var(--x) + 0.75rem); top: var(--y); transform: translateY(-50%); color: var(--ah-color-navy); font-size: 0.875rem; font-weight: var(--ah-fw-semibold); line-height: 1.2; white-space: nowrap; text-shadow: var(--ah-text-halo); }
  .ah-map__six span::before { content: ""; position: absolute; left: -0.5rem; top: 50%; width: 4px; height: 12px; transform: translateY(-50%); background: var(--ah-color-map-dot); clip-path: polygon(0 0, 100% 37%, 100% 100%, 0 100%); }
  .ah-map__six span:first-child { left: calc(var(--x) + 1.75rem); }
  .ah-map__six span:first-child::before { display: none; }
  .ah-map__svg .m-mark { display: inline; }
  .ah-map__credit { position: static; order: 1; margin: var(--ah-space-8) 0 var(--ah-space-24); }
  .ah-map__places { order: 2; }
  .ah-map__link { order: 3; margin-top: var(--ah-space-16); }
  .ah-signoff { order: 4; width: 13rem; align-self: flex-end; margin-top: var(--ah-space-24); }
  .ah-map__places { position: static; display: grid; grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(13, 1.375rem); }
  .ah-map__places > li { position: static; width: auto; height: auto; }
  .ah-map__places > li::before { display: none; }
  .ah-map__name { position: static; transform: none; display: block; font-size: 1.0625rem; line-height: 1.375rem; }
  .ah-map__places > li.is-left .ah-map__name { right: auto; }
  .ah-map__places > li.is-seat { grid-row: span 2; display: flex; align-items: flex-start; gap: var(--ah-space-8); }
  .ah-map__mark { position: static; flex: none; transform: none; width: 48px; height: 21px; margin-top: 0.125rem; }
  .ah-map__places > li.is-seat .ah-map__name { font-size: 1.0625rem; line-height: 1.375rem; left: auto; transform: none; }
  .ah-map__note { font-size: 0.875rem; line-height: 1rem; margin-top: 0; }
}

/* =========================================================================
   Home v5 r2, C8: the statement footer (§A6): one call row, one link row, the mark-and-text lock-up
   ========================================================================= */

.ah-footer:has(.ah-footer__top) { padding: calc(var(--ah-space-64) + var(--ah-space-8)) 0 2.5rem; }
.ah-footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ah-grid-gap); align-items: start; padding-bottom: var(--ah-space-40); border-bottom: var(--ah-border) solid var(--ah-color-rule-on-blue); }
.ah-footer__lead { grid-column: 1 / 8; }
.ah-footer__lead .ah-footer__h2 { margin-bottom: var(--ah-space-16); color: var(--ah-color-white); }
.ah-footer__call { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ah-space-8) var(--ah-space-24); }
.ah-footer .ah-footer__call a.ah-footer__phone { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ah-color-white); font-size: var(--ah-fs-phone-xl); line-height: var(--ah-lh-phone-xl); letter-spacing: var(--ah-ls-phone-xl); font-weight: var(--ah-fw-heavy); text-decoration: none; white-space: nowrap; }
.ah-footer .ah-footer__call a.ah-footer__phone:hover { text-decoration: underline; }
.ah-footer .ah-footer__call .ah-btn { min-height: 3.5rem; }
.ah-footer a.ah-footer__mail { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: var(--ah-space-8); font-size: 1.125rem; font-weight: var(--ah-fw-regular); }
.ah-footer__addr { grid-column: 9 / 13; }
.ah-footer__addr .ah-footer__title { color: var(--ah-color-white); font-size: var(--ah-fs-label); letter-spacing: 0.08em; text-transform: uppercase; }
.ah-footer__addr p:not(.ah-footer__title) { color: var(--ah-color-blue-pale); font-size: 1.0625rem; line-height: 1.6; }
.ah-footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ah-space-8) var(--ah-space-24); padding-top: var(--ah-space-32); }
.ah-footer__nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--ah-space-24); margin: 0; padding: 0; list-style: none; }
.ah-footer__nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1rem; font-weight: var(--ah-fw-semibold); white-space: nowrap; }
.ah-footer__row .ah-footer__logo { margin-left: auto; }
.ah-footer:has(.ah-footer__top) .ah-footer__bottom { margin-top: var(--ah-space-16); padding-top: 0; border-top: 0; color: var(--ah-color-blue-pale); font-size: 0.9375rem; }
@media (max-width: 991px) {
  .ah-footer__lead, .ah-footer__addr { grid-column: 1 / -1; }
  .ah-footer__addr { margin-top: var(--ah-space-32); }
}
@media (max-width: 767px) {
  .ah-footer:has(.ah-footer__top) { padding: var(--ah-space-48) 0 var(--ah-space-32); }
  .ah-footer__top { padding-bottom: var(--ah-space-32); }
  .ah-footer .ah-footer__call a.ah-footer__phone { font-size: var(--ah-fs-phone-xl); }
  .ah-footer .ah-footer__call .ah-btn { width: 100%; min-height: 3.25rem; }
  .ah-footer__nav { width: 100%; }
  .ah-footer__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--ah-space-24); }
  .ah-footer__row .ah-footer__logo { margin: var(--ah-space-16) 0 0; }
}
/* =========================================================================
   Inner pages (25.11.2026): Hauswartungen, Reinigungen, Gartenunterhalt, Referenzen.
   Built in the language of Home v6: blue page head with one plain photo behind the seven bar covers, rectangular photos,
   the logo's bars as markers, navy / tint / white grounds. Each block is self-contained (one DNN module); no selector
   reaches into a sibling section. Re-tuned phase-4 parts: ah-prose, ah-checklist--cols, ah-service, ah-refs (page version).
   ========================================================================= */

/* ---- page head: the compact twin of the Home hero (blue ground, H1, the two buttons, one plain photo with bar covers) ---- */
.ah-hero--page {
  container: ah-hero / inline-size;
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background: var(--ah-color-blue);
  --ah-page-bars: polygon(0% 100%, 0% 0%, 12.97% 0%, 12.97% 100%, 14.51% 100%, 14.51% 5%, 27.48% 5%, 27.48% 100%, 29.01% 100%, 29.01% 10%, 41.98% 10%, 41.98% 100%, 43.52% 100%, 43.52% 15%, 56.49% 15%, 56.49% 100%, 58.02% 100%, 58.02% 20%, 70.99% 20%, 70.99% 100%, 72.53% 100%, 72.53% 25%, 85.5% 25%, 85.5% 100%, 87.03% 100%, 87.03% 30%, 100.0% 30%, 100.0% 100%);   /* below 992 px: bars 12.97 % wide, as Home's phone panel */
}
.ah-hero--page .ah-hero__inner { display: block; padding-block: var(--ah-space-48) var(--ah-space-40); }
.ah-hero--page .ah-hero__text { max-width: none; animation: none; }
.ah-hero--page .ah-hero__title {
  font-size: var(--ah-fs-h1-hero);
  line-height: var(--ah-lh-h1-hero);
  letter-spacing: var(--ah-ls-h1-hero);
  font-weight: var(--ah-fw-heavy);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.ah-hero--page .ah-hero__sub {
  max-width: 34em;
  margin-top: var(--ah-space-24);
  color: var(--ah-color-blue-pale);
  font-size: var(--ah-fs-lede-hero);
  line-height: var(--ah-lh-lede-hero);
}
.ah-hero--page .ah-hero__actions { gap: var(--ah-space-16); margin-top: var(--ah-space-32); }
.ah-hero--page .ah-hero__actions .ah-btn { min-height: 3.5rem; }
.ah-hero--page .ah-hero__panel {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  clip-path: var(--ah-page-bars);   /* the final state keeps Home's seven bars: flat tops stepping down to the right, blue gaps between */
}
.ah-hero--page .ah-hero__panel picture { position: absolute; inset: 0; }   /* 01.12.2026: Safari otherwise stretches the 8:5 panel to the screen height */
.ah-hero--page .ah-hero__panel img { object-position: 50% 50%; }
@media (max-width: 575px) {
  .ah-hero--page .ah-hero__inner { padding-block: var(--ah-space-40) var(--ah-space-32); }
  .ah-hero--page .ah-hero__sub { margin-top: var(--ah-space-20); }
  .ah-hero--page .ah-hero__actions { flex-direction: column; gap: var(--ah-space-12); margin-top: var(--ah-space-24); }
  .ah-hero--page .ah-hero__actions .ah-btn { width: 100%; min-height: 3.25rem; }
}
@media (min-width: 992px) {
  .ah-hero--page { --ah-page-bars: polygon(0% 100%, 0% 0%, 12.19% 0%, 12.19% 100%, 14.64% 100%, 14.64% 5%, 26.83% 5%, 26.83% 100%, 29.27% 100%, 29.27% 10%, 41.46% 10%, 41.46% 100%, 43.91% 100%, 43.91% 15%, 56.1% 15%, 56.1% 100%, 58.54% 100%, 58.54% 20%, 70.73% 20%, 70.73% 100%, 73.18% 100%, 73.18% 25%, 85.37% 25%, 85.37% 100%, 87.81% 100%, 87.81% 30%, 100.0% 30%, 100.0% 100%); }   /* from 992 px: bars 12.19 % wide, as Home's desktop panel */
  .ah-hero--page .ah-hero__cover:nth-of-type(1) { --l: 0%; --w: 12.19%; }
  .ah-hero--page .ah-hero__cover:nth-of-type(2) { --l: 14.64%; --w: 12.19%; }
  .ah-hero--page .ah-hero__cover:nth-of-type(3) { --l: 29.27%; --w: 12.19%; }
  .ah-hero--page .ah-hero__cover:nth-of-type(4) { --l: 43.91%; --w: 12.19%; }
  .ah-hero--page .ah-hero__cover:nth-of-type(5) { --l: 58.54%; --w: 12.19%; }
  .ah-hero--page .ah-hero__cover:nth-of-type(6) { --l: 73.18%; --w: 12.19%; }
  .ah-hero--page .ah-hero__cover:nth-of-type(7) { --l: 87.81%; --w: 12.19%; }
  .ah-hero--page { display: flex; align-items: center; min-height: 25rem; }
  .ah-hero--page .ah-hero__inner { width: 100%; padding-block: var(--ah-space-64); }
  .ah-hero--page .ah-hero__text { width: calc(100cqw - max(var(--ah-gutter), (100cqw - var(--ah-container)) / 2) - var(--ah-hero-panel-w) - var(--ah-space-32)); }
  .ah-hero--page .ah-hero__panel { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: var(--ah-hero-panel-w); aspect-ratio: auto; }
}

/* ---- ruled bar list (re-tuned ah-checklist: the logo's bar replaces the tick, as in the Home service rows) ---- */
.ah-checklist--bars { border-top: var(--ah-border) solid var(--ah-color-rule); }
.ah-checklist--bars > li {
  padding: var(--ah-space-16) 0 var(--ah-space-16) var(--ah-space-24);
  border-top: 0;
  border-bottom: var(--ah-border) solid var(--ah-color-rule);
  color: var(--ah-color-navy);
  font-size: var(--ah-fs-lead);
  line-height: 1.35;
  font-weight: var(--ah-fw-semibold);
}
.ah-checklist--bars > li::before {
  top: calc(var(--ah-space-16) + 0.2em);
  width: 0.25rem;
  height: 0.875rem;
  background: var(--ah-bar-3);
  -webkit-mask: none;
  mask: none;
  clip-path: polygon(0 0, 100% 37%, 100% 100%, 0 100%);
}
.ah-checklist--bars > li:first-child { border-top: 0; }

.ah-checklist--compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ah-space-16) var(--ah-space-32); border-top: 0; }
.ah-checklist--compact > li { padding: 0 0 0 var(--ah-space-24); border-bottom: 0; font-size: var(--ah-fs-body); line-height: 1.4; }
.ah-checklist--compact > li::before { top: 0.35em; }
.ah-checklist--compact.ah-checklist--lg { gap: var(--ah-space-24) var(--ah-grid-gap); }
.ah-checklist--lg > li { font-size: var(--ah-fs-h3); line-height: 1.2; font-weight: var(--ah-fw-bold); letter-spacing: var(--ah-ls-h3); padding-left: var(--ah-space-32); }
.ah-checklist--lg > li::before { top: 0.2em; width: 0.375rem; height: 1.25rem; }
.ah-checklist--lg > li.ah-checklist__more { color: var(--ah-color-blue); }
@media (max-width: 575px) { .ah-checklist--compact { grid-template-columns: minmax(0, 1fr); } }

/* ---- prose: the client's lead stands as the large statement, the paragraphs run in one reading column beside it ---- */
.ah-prose--split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ah-grid-gap); align-items: start; }
.ah-prose--split > * + * { margin-top: 0; }
.ah-prose__lead { grid-column: 1 / 6; max-width: none; color: var(--ah-color-navy); font-size: var(--ah-fs-h3); line-height: 1.3; letter-spacing: var(--ah-ls-h3); font-weight: var(--ah-fw-bold); }
.ah-prose__body { grid-column: 7 / 13; }
.ah-prose__body > p { max-width: 34em; }
.ah-prose__body > * + * { margin-top: var(--ah-space-24); }
.ah-prose__body > .ah-prose__sep { margin-top: var(--ah-space-32); margin-bottom: var(--ah-space-8); max-width: 34em; }
@media (max-width: 991px) {
  .ah-prose__lead, .ah-prose__body { grid-column: 1 / -1; }
  .ah-prose__body { margin-top: var(--ah-space-32); }
}

/* ---- service block with the 24-Stunden-Service emphasis: list on the left, a navy call card on the right ---- */
.ah-tech { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ah-grid-gap); align-items: start; }
.ah-tech__main { grid-column: 1 / 8; min-width: 0; }
.ah-tech__main h2 { margin-bottom: var(--ah-space-32); }
.ah-callcard {
  grid-column: 9 / 13;
  container-type: inline-size;   /* the phone number scales with the card, so it never leaves its box */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  position: sticky;
  top: calc(var(--ah-header-h) + var(--ah-space-24));   /* stays beside the list while it scrolls */
  min-width: 0;
  padding: var(--ah-space-40);
  border-radius: var(--ah-radius-lg);
  background: var(--ah-color-navy);
  color: var(--ah-color-white);
}
.ah-callcard__label { display: flex; align-items: center; gap: var(--ah-space-12); font-size: var(--ah-fs-h3); line-height: 1.1; letter-spacing: var(--ah-ls-h3); font-weight: var(--ah-fw-heavy); }
.ah-callcard__label .ah-icon { width: 1.75rem; height: 1.75rem; color: var(--ah-color-blue-pale); }
.ah-callcard a.ah-callcard__phone {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: var(--ah-space-24);
  color: var(--ah-color-white);
  font-size: min(var(--ah-fs-h3-feature), 15cqw);
  line-height: 1;
  letter-spacing: var(--ah-ls-phone-xl);
  font-weight: var(--ah-fw-heavy);
  text-decoration: none;
  white-space: nowrap;
}
.ah-callcard a.ah-callcard__phone:hover { color: var(--ah-color-white); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ah-callcard .ah-btn { margin-top: var(--ah-space-24); min-height: 3.5rem; }
@media (max-width: 991px) {
  .ah-tech__main, .ah-callcard { grid-column: 1 / -1; }
  .ah-callcard { position: static; max-width: 28rem; margin-top: var(--ah-space-40); }
}
@media (max-width: 767px) {
  .ah-callcard { padding: var(--ah-space-24); }
  .ah-callcard .ah-btn { width: 100%; }
}

/* ---- service block, photo + list (re-tuned ah-service): a tall plain photo, the 24-Stunden-Service flag, the ruled list ---- */
.ah-service--top { align-items: start; }
.ah-service__media--square img { aspect-ratio: 1 / 1; }
.ah-service__media--wide img { aspect-ratio: 3 / 2; object-position: 50% 62%; }   /* Winterdienst (Vlad 25.11): landscape photo as tall as the text, no half-empty column */
.ah-checklist--compact.ah-checklist--one { grid-template-columns: minmax(0, 1fr); }
.ah-service__body h2 { margin-bottom: var(--ah-space-8); }
.ah-service__body > .ah-service__flag { margin-top: var(--ah-space-16); }
.ah-service__flag { display: flex; align-items: center; gap: var(--ah-space-12); max-width: none; color: var(--ah-color-navy); font-size: 1.1875rem; line-height: 1.2; font-weight: var(--ah-fw-heavy); }
.ah-service__flag .ah-icon { width: 1.5rem; height: 1.5rem; color: var(--ah-color-blue); }
.ah-service__body > .ah-checklist { margin-top: var(--ah-space-32); }

/* ---- Reinigungen: Umzugsreinigung singled out, landscape photo beside a large line ---- */
.ah-umzug { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ah-grid-gap); align-items: center; padding: var(--ah-space-48); border-radius: var(--ah-radius-lg); background: var(--ah-color-navy); color: var(--ah-color-white); }
.ah-umzug__photo { grid-column: 6 / 13; grid-row: 1; margin: 0; overflow: hidden; border-radius: var(--ah-radius-lg); }
.ah-umzug__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ah-umzug__body { grid-column: 1 / 5; grid-row: 1; min-width: 0; }
.ah-umzug__line { max-width: none; margin-top: var(--ah-space-16); color: var(--ah-color-white); font-size: var(--ah-fs-h3); line-height: 1.2; letter-spacing: var(--ah-ls-h3); font-weight: var(--ah-fw-bold); }
.ah-umzug__body .ah-btn { margin-top: var(--ah-space-32); min-height: 3.5rem; }
@media (max-width: 991px) {
  .ah-umzug { padding: var(--ah-space-32); }
  .ah-umzug__photo, .ah-umzug__body { grid-column: 1 / -1; }
  .ah-umzug__photo { grid-row: 2; margin-top: var(--ah-space-32); }
}
@media (max-width: 767px) {
  .ah-umzug { padding: var(--ah-space-24); }
  .ah-umzug__body .ah-btn { width: 100%; }
}

/* ---- Gartenunterhalt: photo collage first, then the eight items as a plain two-column list ---- */
.ah-collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 17.5rem 17.5rem; gap: var(--ah-grid-gap); margin-block: 0; }
.ah-collage__ph { min-width: 0; margin: 0; overflow: hidden; border-radius: var(--ah-radius-lg); }
.ah-collage__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ah-collage__ph--a { grid-column: 1 / 5; grid-row: 1 / 3; }
.ah-collage__ph--b { grid-column: 5 / 13; grid-row: 1; }
.ah-collage__ph--c { grid-column: 5 / 9; grid-row: 2; }
.ah-collage__ph--d { grid-column: 9 / 13; grid-row: 2; }
.ah-collage__ph--d img { object-position: 85% 50%; }
@media (max-width: 991px) {
  .ah-collage { grid-template-rows: 14rem 14rem; }
}
@media (max-width: 767px) {
  .ah-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: var(--ah-space-16); }
  .ah-collage__ph--a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .ah-collage__ph--b { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 7; }
  .ah-collage__ph--c, .ah-collage__ph--d { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
}

/* ---- Referenzen: six firms as cards that step down across the row like the logo's bars ---- */
.ah-refgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ah-grid-gap); margin: 0; padding: 0; list-style: none; }
@media (min-width: 1200px) { .ah-refgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ah-refgrid > li { display: flex; }
.ah-refcard { display: flex; flex-direction: column; flex: 1; min-width: 0; overflow: hidden; border: var(--ah-border) solid var(--ah-color-rule); border-radius: var(--ah-radius-lg); background: var(--ah-color-white); }
.ah-refcard__logo { display: flex; align-items: center; justify-content: center; height: 7.5rem; padding: var(--ah-space-16) var(--ah-space-24); border-bottom: var(--ah-border) solid var(--ah-color-rule); }
.ah-refcard__logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; }
.ah-refcard__body { flex: 1; padding: var(--ah-space-24); }
.ah-refcard__name { color: var(--ah-color-navy); font-size: var(--ah-fs-h4); line-height: var(--ah-lh-h4); letter-spacing: var(--ah-ls-h4); font-weight: var(--ah-fw-heavy); }
.ah-refcard__addr { margin-top: var(--ah-space-8); color: var(--ah-color-muted); font-size: var(--ah-fs-small); line-height: var(--ah-lh-small); font-style: normal; }
.ah-refcard__link { display: inline-block; padding-block: 0.625rem; margin-top: 0; line-height: 1.5; color: var(--ah-color-blue); font-size: var(--ah-fs-small); font-weight: var(--ah-fw-semibold); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ah-refcard__link:hover { color: var(--ah-color-navy); text-decoration-thickness: 3px; }
.ah-refcard__link .ah-icon { display: inline-block; width: 1.125rem; height: 1.125rem; margin-left: var(--ah-space-8); vertical-align: -0.2em; }
.ah-refcard__nw { white-space: nowrap; }   /* the last part of the address and the arrow never separate */
@media (max-width: 575px) {   /* phones: compact cards, the logo beside the text */
  .ah-refgrid { grid-template-columns: minmax(0, 1fr); gap: var(--ah-space-16); }
  .ah-refcard { flex-direction: row; align-items: stretch; }
  .ah-refcard__logo img { max-height: 4.5rem; }
  .ah-refcard__logo { flex: 0 0 8.5rem; height: auto; padding: var(--ah-space-12); border-bottom: 0; border-right: var(--ah-border) solid var(--ah-color-rule); }
  .ah-refcard__body { padding: var(--ah-space-12) var(--ah-space-16); }
  .ah-refcard__link { margin-top: 0; }
}

/* ---- navigation: a service page marks its sub-link; the parent «Unsere Leistungen» shows the same marker ---- */
.ah-nav__sublink[aria-current="page"] { color: var(--ah-color-blue); }
.ah-nav__item--parent:has(.ah-nav__sublink[aria-current="page"]) > .ah-nav__link { color: var(--ah-color-blue); }
.ah-nav__item--parent:has(.ah-nav__sublink[aria-current="page"]) > .ah-nav__link::before { opacity: 1; }

/* inner pages only (the page head is their marker): the gable bar sits nearer its own label, clear of the previous one; Home keeps its own spacing */
html:has(.ah-hero--page) .ah-nav__link::before { left: -0.5625rem; }

/* =========================================================================
   Remaining pages (25.11.2026): Über uns, Standort, Kontakt, Impressum, Datenschutz.
   Same head as the four service pages; where a photo would be filler (Kontakt, Impressum, Datenschutz) the panel is the logo's own
   seven bars, standing in the logo's colours. Each block is self-contained (one DNN module); no selector reaches into a sibling section.
   ========================================================================= */

/* ---- page head without a photo: the logo's seven bars as the panel ---- */
.ah-hero--page { --ah-page-gap: 1.54%; }
.ah-hero--page .ah-hero__panel--bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: var(--ah-page-gap);
  align-items: end;
  aspect-ratio: 16 / 5;
  clip-path: none;
}
.ah-hero__bar {
  --i: 0;   /* set inline per bar (0-6) */
  height: calc(100% - var(--i) * 5%);
  background: var(--c, var(--ah-bar-1));
  transform-origin: bottom;
  animation: ah-page-bar 480ms cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--i) * 60ms);
}
.ah-hero__bar:nth-child(1) { --c: var(--ah-bar-1); }
.ah-hero__bar:nth-child(2) { --c: var(--ah-color-navy); }   /* the logo's bar 2 is the brand blue itself, which would vanish on the head: navy */
.ah-hero__bar:nth-child(3) { --c: var(--ah-bar-3); }
.ah-hero__bar:nth-child(4) { --c: var(--ah-bar-4); }
.ah-hero__bar:nth-child(5) { --c: var(--ah-bar-5); }
.ah-hero__bar:nth-child(6) { --c: var(--ah-bar-6); }
.ah-hero__bar:nth-child(7) { --c: var(--ah-bar-7); }
@keyframes ah-page-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .ah-hero__bar { animation: none; } }
@media (min-width: 992px) {
  .ah-hero--page { --ah-page-gap: 2.44%; }
  .ah-hero--page .ah-hero__panel--bars { aspect-ratio: auto; }
  .ah-hero--short { min-height: 16rem; }
}
.ah-hero--short .ah-hero__inner { padding-block: var(--ah-space-48); }

/* ---- Über uns: the four statements as a staircase of type ---- */
.ah-about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ah-grid-gap); row-gap: var(--ah-space-40); }
.ah-about__lead { grid-column: 1 / 12; grid-row: 1; max-width: none; color: var(--ah-color-navy); font-size: var(--ah-fs-intro-claim); line-height: var(--ah-lh-intro); letter-spacing: -0.02em; font-weight: var(--ah-fw-heavy); text-wrap: balance; }
.ah-about__p { max-width: 30em; margin: 0; font-size: var(--ah-fs-lead); line-height: var(--ah-lh-lead); }
.ah-about__p--2 { grid-column: 1 / 7; grid-row: 2; }
.ah-about__p--3 { grid-column: 7 / 13; grid-row: 2 / 4; }
.ah-about__p--4 { grid-column: 1 / 7; grid-row: 3; color: var(--ah-color-navy); font-weight: var(--ah-fw-semibold); }
@media (max-width: 991px) {
  .ah-about { row-gap: var(--ah-space-24); }
  .ah-about__lead, .ah-about__p--2, .ah-about__p--3, .ah-about__p--4 { grid-column: 1 / -1; grid-row: auto; }
}

/* ---- Standort: address block and a static map built from OpenStreetMap data ---- */
.ah-loc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ah-grid-gap); align-items: stretch; }
.ah-loc__addr { grid-column: 1 / 6; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--ah-space-32); }
.ah-loc__lines { max-width: none; color: var(--ah-color-navy); font-size: var(--ah-fs-h3); line-height: 1.3; letter-spacing: var(--ah-ls-h3); font-weight: var(--ah-fw-bold); font-style: normal; }
.ah-loc__link { display: inline-flex; align-items: flex-end; gap: var(--ah-space-12); color: var(--ah-color-navy); text-decoration: none; }
.ah-loc__link .ah-icon { width: 1.5rem; height: 1.5rem; margin-bottom: 0.25rem; color: var(--ah-color-blue); transition: transform var(--ah-dur-fast) var(--ah-ease-out); }
.ah-loc__link:hover { color: var(--ah-color-blue); }
.ah-loc__link:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ah-loc__link:hover .ah-icon { transform: translateX(0.25rem); }
.ah-loc__row { display: flex; flex-direction: column; align-items: flex-start; }
.ah-loc__row a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ah-color-navy); font-size: var(--ah-fs-lead); font-weight: var(--ah-fw-semibold); overflow-wrap: anywhere; }
.ah-locmap { grid-column: 7 / 13; margin: 0; min-width: 0; }
.ah-locmap__field { container-type: inline-size; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--ah-radius-lg); background: var(--ah-color-white); }
.ah-locmap__svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ah-locmap__svg path { fill-rule: evenodd; stroke: var(--ah-color-white); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ah-locmap__svg .m-ctx path, .ah-locmap__svg .m-ctx-city path { fill: var(--ah-map-context); }
.ah-locmap__svg .m-srv path { fill: var(--ah-map-served); }
.ah-locmap__svg .m-seat path { fill: var(--ah-map-seat); }
.ah-locmap__svg .m-lake path { fill: var(--ah-map-water); stroke: none; }
.ah-locmap__svg .m-mark { display: none; }
.ah-locmap__places { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.ah-locmap__places > li { --x: 0%; --y: 0%; position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.ah-locmap__places > li::before { content: ""; position: absolute; left: -2px; top: -6px; width: 4px; height: 12px; background: var(--ah-color-map-dot); clip-path: polygon(0 0, 100% 37%, 100% 100%, 0 100%); }
.ah-locmap__name { position: absolute; left: 0.625rem; top: 0; transform: translateY(-50%); color: var(--ah-color-navy); font-size: clamp(0.75rem, 2.6cqw, 1rem); line-height: 1.2; font-weight: var(--ah-fw-semibold); white-space: nowrap; text-shadow: var(--ah-text-halo); }
.ah-locmap__places > li.is-left .ah-locmap__name { left: auto; right: 0.625rem; }
.ah-locmap__places > li.is-seat::before { display: none; }
.ah-locmap__mark { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: clamp(2.25rem, 9cqw, 3.5rem); max-width: none; height: auto; }
.ah-locmap__mark polygon { fill: var(--ah-color-navy); }
.ah-locmap__places > li.is-seat .ah-locmap__name { left: 0; top: clamp(1.25rem, 5cqw, 2rem); transform: translateX(-50%); font-weight: var(--ah-fw-heavy); }
.ah-locmap__credit { margin-top: var(--ah-space-8); max-width: none; color: var(--ah-color-muted); font-size: var(--ah-fs-small); line-height: 1.3; }
@media (max-width: 991px) {
  .ah-loc__addr, .ah-locmap { grid-column: 1 / -1; }
  .ah-locmap { margin-top: var(--ah-space-40); }
}

/* ---- Kontakt: the form beside the address block (re-tuned ah-layout-aside and ah-addr) ---- */
.ah-layout-aside--contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.ah-addr--contact { position: sticky; top: calc(var(--ah-header-h) + var(--ah-space-24)); background: var(--ah-color-tint); }
.ah-addr--contact a.ah-link--standalone { overflow-wrap: anywhere; }
.ah-form .ah-captcha { align-items: stretch; }
.ah-form .ah-captcha__image { min-width: 12.5rem; height: 4rem; border: var(--ah-border) solid var(--ah-color-rule); border-radius: var(--ah-radius); background: var(--ah-color-tint); }   /* a calm frame the size of the module's code image (200 x 64) */
.ah-form .ah-captcha .ah-field__input { align-self: flex-end; }
.ah-field__help .ah-link--inline { margin-inline: var(--ah-space-4) 0; }
@media (max-width: 991px) { .ah-layout-aside--contact { grid-template-columns: minmax(0, 1fr); } .ah-addr--contact { position: static; } }

/* ---- Impressum and Datenschutz: one legal layout, the block title stays in view while its text scrolls ---- */
.ah-legal--long .ah-legal__block { align-items: start; }
.ah-legal--long .ah-legal__block > h2 { position: sticky; top: calc(var(--ah-header-h) + var(--ah-space-24)); }
.ah-legal__body ul { margin-left: var(--ah-space-24); padding: 0; }
.ah-legal__body ul > li { position: relative; list-style: none; padding-left: var(--ah-space-8); max-width: 38em; }
.ah-legal__body ul > li::before { content: ""; position: absolute; left: calc(-1 * var(--ah-space-16)); top: 0.35em; width: 0.25rem; height: 0.875rem; background: var(--ah-bar-3); clip-path: polygon(0 0, 100% 37%, 100% 100%, 0 100%); }
.ah-legal__body > ul { margin-top: var(--ah-space-16); }
.ah-legal__body strong { color: var(--ah-color-navy); font-weight: var(--ah-fw-bold); }
@media (max-width: 991px) { .ah-legal--long .ah-legal__block > h2 { position: static; } }
.ah-addr--contact a.ah-link--inline { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* long head titles (Datenschutzerklärung): the word fits one line on phones, a soft hyphen is the proper break if it ever does not */
.ah-hero--page .ah-hero__title--long { font-size: clamp(1.75rem, 8.2vw, var(--ah-fs-h1-hero)); overflow-wrap: break-word; hyphens: manual; }

