/* M.I.B-Haustechnik · styles
   Richtung: one-motif (das runde Meister-Siegel). Grund Schwarz, Tinte Weiß, Akzent Weiß. */

/* ---------- tokens ---------- */
:root {
  --bg: #0a0a0a;
  --surface: #161616;
  --surface-2: #232323;
  --surface-3: #2e2e2e;
  --ink: #ffffff;
  --ink-soft: #e4e4e4;
  --muted: #a3a3a3;
  --accent: #ffffff;
  --accent-ink: #0a0a0a;
  --paper: #f3f3f0;
  --paper-2: #e4e4df;
  --paper-ink: #0a0a0a;
  --paper-muted: #5a5a57;

  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-sub: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --step-head: clamp(2.125rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 0.9rem + 5.2vw, 5.75rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 12vw, 13rem);
  --radius: 0px;
  --pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); color-scheme: dark; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd, address { margin: 0; }
address { font-style: normal; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
a, button, input, textarea, [role="tab"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.skip { position: absolute; left: var(--margin); top: -100%; z-index: 30; padding: 0.75rem 1.25rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--pill); text-decoration: none; font-weight: 500; }
.skip:focus { top: 0.75rem; }
main:focus { outline: none; }
:target { scroll-margin-top: 5.5rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.panel :focus-visible, .coupon :focus-visible { outline-color: var(--paper-ink); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; hyphens: none; letter-spacing: -0.02em; line-height: 1.05; }
.display { font-size: var(--step-display); line-height: 0.92; letter-spacing: -0.04em; font-weight: 600; }
.head { font-size: var(--step-head); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 42ch; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
p { max-width: 62ch; text-wrap: pretty; }
.nums { font-variant-numeric: tabular-nums; }
.only-wide { display: none; }
.only-narrow { display: inline; }
@media (min-width: 64em) { .only-wide { display: inline; } .only-narrow { display: none; } }

/* ---------- layout ---------- */
.wrap { padding-inline: max(var(--margin), env(safe-area-inset-left)) max(var(--margin), env(safe-area-inset-right)); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--pill); text-decoration: none; white-space: nowrap; font-weight: 500; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.96); }
.button--big { min-height: 3.75rem; padding: 0 2.2rem; font-size: var(--step-lead); }
.button--small { min-height: 2.5rem; padding: 0 1.1rem; font-size: var(--step-small); }
.button--dark { background: var(--paper-ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--ink-soft); }
  .button--dark:hover { background: var(--surface-3); }
}
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, opacity var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }
.field { width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem; background: var(--paper-2); color: var(--paper-ink); border: 0; border-radius: var(--radius); font-size: max(1rem, var(--step-body)); transition: background-color var(--t-hover) ease; }
.field::placeholder { color: var(--paper-muted); opacity: 1; }
.field:focus { background: #fff; outline-offset: 0; }
.field--area { resize: vertical; min-height: 7rem; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--gutter); min-height: 4.25rem; background: var(--bg); }
.top__mark { font-weight: 700; font-size: var(--step-lead); letter-spacing: -0.03em; text-decoration: none; margin-right: auto; white-space: nowrap; }
@media (max-width: 30em) { .top__mark span { display: none; } }
.top__mark span { font-weight: 500; color: var(--muted); }
.top__nav { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.top__menu { display: none; min-height: 3rem; padding: 0 0.5rem; font-weight: 500; }
@media (max-width: 63.99em) {
  .top__nav { display: none; position: fixed; inset: 4.25rem 0 0 0; z-index: 19; flex-direction: column; justify-content: center; gap: 1.5rem; padding: var(--margin); background: var(--bg); font-size: var(--step-head); font-weight: 600; letter-spacing: -0.03em; }
  .top__nav.is-open { display: flex; }
  .top__nav a { text-decoration: none; }
  .top__menu { display: inline-flex; align-items: center; }
  .top__call { min-height: 2.75rem; padding: 0 1.1rem; }
}

/* ---------- hero: giant cropped seal ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero__seal { position: absolute; top: calc(50% + 2rem); right: var(--margin); width: min(74vh, 40vw); height: min(74vh, 40vw); translate: 0 -50%; z-index: 0; color: var(--accent); }
.seal { width: 100%; height: 100%; --seal-bg: #fff; --seal-ink: #0a0a0a; }
.hero__text { position: relative; z-index: 1; padding-block: 7rem 5rem; width: 100%; }
.hero__text .display { max-width: none; }
.hero__sub { margin-top: clamp(1.5rem, 2.5vw, 2.25rem); font-size: var(--step-lead); line-height: 1.35; max-width: 32ch; }
.hero__actions { margin-top: clamp(1.75rem, 3vw, 2.75rem); display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.75rem; }
.hero__fact { color: var(--ink-soft); }
@media (min-width: 64em) {
  .hero__text { max-width: 58%; }
}
@media (max-width: 63.99em) {
  .hero { min-height: 100svh; align-items: start; }
  .hero__text { padding-block: clamp(3rem, 10svh, 6rem) 0; }
  .hero__text .display { font-size: clamp(2.5rem, 10.8vw, 4.5rem); }
  .hero__sub { font-size: var(--step-body); max-width: 36ch; }
  .hero__seal { position: relative; top: auto; right: auto; left: auto; width: min(84vw, 44svh); height: min(84vw, 44svh); translate: none; margin: 2.5rem auto 0; }
  .hero__text::after { content: none; }
  .hero { display: flex; flex-direction: column; padding-bottom: 3rem; }
  .hero__seal { order: 2; }
}
@media (max-width: 63.99em) and (min-width: 48em) {
  .hero__seal { width: min(60vw, 46svh); height: min(60vw, 46svh); }
}

/* ---------- leistungen: two-column menu with photo bullets, index with preview ---------- */
.leistungen__lead { margin-top: 1.25rem; color: var(--ink-soft); }
.leistungen__grid { margin-top: clamp(2rem, 4vw, 3.5rem); position: relative; }
.index__menu { grid-column: 1 / span 12; }
.menu__cat { display: flex; justify-content: space-between; align-items: baseline; gap: var(--gutter); padding-top: clamp(3rem, 6vw, 6rem); padding-bottom: clamp(1.25rem, 2.5vw, 2.5rem); }
.menu__cat:first-child { padding-top: 0; }
.menu__cat h3 { font-size: var(--step-sub); letter-spacing: -0.035em; line-height: 1; }
.menu__count { color: var(--muted); font-size: var(--step-body); white-space: nowrap; }
.menu__items { display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 3vw, 2.25rem) 4rem; }
.index__row { display: flex; gap: 1.25rem; align-items: flex-start; text-decoration: none; color: inherit; transition: opacity var(--t-hover) ease; }
.menu__thumb { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; background: var(--surface); transition: transform var(--t-ui) var(--ease-out); }
.menu__body { display: block; min-width: 0; flex: 1; }
.menu__line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu__name { font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.015em; }
.menu__fact { color: var(--muted); font-size: var(--step-small); white-space: nowrap; text-align: right; }
@media (max-width: 63.99em) { .menu__line { flex-wrap: wrap; gap: 0.1rem 0.75rem; } .menu__fact { white-space: normal; text-align: left; } }
.menu__desc { display: block; margin-top: 0.35rem; color: var(--ink-soft); max-width: 44ch; text-wrap: pretty; }
.index__frame { display: none; }
@media (min-width: 64em) {
  .menu__items { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64em) {
  .index__menu { grid-column: 1 / span 8; }
  .index__frame { display: block; grid-column: 10 / span 3; position: sticky; top: calc(4.25rem + 50vh); translate: 0 -50%; align-self: start; }
  .index__frame::before { content: ''; display: block; aspect-ratio: 1; }
  .index__frame img, .index__frame video { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; position: absolute; inset: 0 0 auto 0; border-radius: 50%; background: var(--surface); transition: opacity 240ms var(--ease-out); }
  .index__frame figcaption { margin-top: 0.75rem; text-align: center; font-size: var(--step-small); color: var(--muted); }
  .index__pause { min-height: 2.75rem; padding: 0 0.75rem; }
  .index__frame:not(.is-video) figcaption { visibility: hidden; }
  .index__frame video { opacity: 0; }
  .index__frame.is-video video { opacity: 1; }
  .index__frame.is-video img { opacity: 0; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 64em) {
  .index__menu:has(.index__row:hover, .index__row:focus-visible) .index__row:not(:hover, :focus-visible) { opacity: 0.45; }
  .index__row:hover .menu__thumb { transform: scale(1.08); }
}

/* ---------- badumbau: many into one + the ten days ---------- */
.badumbau { background: var(--surface); }
.badumbau__intro { row-gap: 1.5rem; }
.badumbau__intro .head { grid-column: 1 / span 12; }
.badumbau__p { grid-column: 1 / span 12; color: var(--ink-soft); }
@media (min-width: 64em) {
  .badumbau__intro .head { grid-column: 1 / span 5; }
  .badumbau__p { grid-column: 7 / span 5; align-self: end; }
}
.diagram svg { width: 100%; height: auto; }
.diagram--wide { display: none; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.diagram--tall { width: 30vw; max-width: 160px; flex: 0 0 auto; }
.diagram--tall svg { height: 100%; }
.badumbau__zones { display: flex; gap: var(--gutter); margin-top: clamp(2.5rem, 5vw, 4rem); }
.zones { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; flex: 1; }
.zone h3 { font-size: var(--step-lead); letter-spacing: -0.02em; }
.zone p { margin-top: 0.5rem; color: var(--ink-soft); max-width: 36ch; }
@media (min-width: 48em) {
  .diagram--wide { display: block; }
  .diagram--tall { display: none; }
  .badumbau__zones { margin-top: 2.5rem; }
  .zones { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--gutter); }
}

.days { margin-top: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.days__title { font-size: var(--step-lead); letter-spacing: -0.02em; grid-column: 1 / -1; }
.days__picker { display: none; }
.js .days__picker { display: grid; grid-template-columns: repeat(5, 3.25rem); gap: 0.6rem; grid-column: 1 / -1; }
.day { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--surface-3); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; justify-content: center; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.day:active { transform: scale(0.92); }
.day.is-phase { background: #5a5a5a; }
.day.is-phase.is-current, .day[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .day:hover { background: var(--ink-soft); color: var(--accent-ink); } }
.days__phases { display: grid; gap: 2rem; grid-column: 1 / -1; }
.phase h4 { font-size: var(--step-lead); letter-spacing: -0.02em; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline; }
.phase__days { color: var(--muted); font-weight: 500; }
.phase p { margin-top: 0.6rem; color: var(--ink-soft); max-width: 58ch; }
.js .phase { display: none; }
.js .phase.is-active { display: block; }
.days__cta { grid-column: 1 / -1; }
@media (min-width: 64em) {
  .days { grid-template-columns: 5fr 7fr; column-gap: var(--gutter); align-items: start; }
  .days__title { grid-column: 1 / span 2; }
  .js .days__picker { grid-column: 1; }
  .days__phases { grid-column: 2; }
  .days__cta { grid-column: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .phase.is-active { animation: ad-rise 500ms var(--ease-out) both; }
}

/* ---------- heizung: specimens on tiles ---------- */
.heizung__grid { row-gap: clamp(2.5rem, 5vw, 4rem); }
.heizung__head { grid-column: 1 / span 12; display: grid; gap: 1.5rem; align-content: start; }
.heizung__head p { color: var(--ink-soft); max-width: 34ch; }
.tiles { grid-column: 1 / span 12; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 8px; }
.tile--wide { grid-column: span 2; order: -1; }
.tile__stage { aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--tile, var(--surface)); overflow: hidden; }
.tile--wide .tile__stage { aspect-ratio: 8 / 5; }
.tile__stage img { width: 70%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; background: var(--surface-2); transition: transform 1200ms var(--ease-soft); }
.tile--wide .tile__stage img { width: auto; height: 70%; }
.tile--a { --tile: #1c1c1c; }
.tile--b { --tile: #2a2a2a; }
.tile--c { --tile: var(--paper); }
.tile__name { margin-top: 0.9rem; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; }
.tile__fact { margin-top: 0.25rem; color: var(--muted); font-size: var(--step-body); max-width: 30ch; }
@media (min-width: 64em) {
  .heizung__head { grid-column: 1 / span 3; }
  .heizung__head .head { font-size: var(--step-sub); }
  .tiles { grid-column: 4 / span 9; grid-template-columns: repeat(3, 1fr); gap: 2.75rem 10px; }
  .tile--wide { grid-column: span 2; order: 0; }
}
@media (hover: hover) and (pointer: fine) { .tile:hover .tile__stage img { transform: scale(1.05); } }

/* ---------- über uns: inset paper panel, round photo ---------- */
.ueber { padding-block: calc(var(--section) / 2) 0; }
.panel { margin-inline: 20px; background: var(--paper); color: var(--paper-ink); overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 2rem; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 3vw, 3.5rem); }
.panel__left { display: grid; align-content: space-between; gap: 2rem; }
.panel__left .head { max-width: 18ch; }
.panel__photo { display: block; width: min(86vw, 520px); }
.panel__photo img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; background: var(--paper-2); }
.panel__right { display: grid; gap: 2.5rem; align-content: start; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.panel__block h3 { font-size: var(--step-lead); letter-spacing: -0.02em; }
.panel__block p { margin-top: 0.6rem; color: #2a2a28; max-width: 38ch; }
.panel .button--dark { background: var(--paper-ink); color: var(--paper); }
@media (min-width: 64em) {
  .ueber { padding-block: calc(var(--section) / 2); }
  .panel { grid-template-columns: 1fr 1fr; min-height: 92svh; padding: 56px; gap: var(--gutter); }
  .panel__left { align-content: space-between; }
  .panel__photo { width: 36vw; max-width: 560px; }
  .panel__right { padding: 0 0 0 15%; max-width: 560px; justify-self: end; }
}
@media (max-width: 63.99em) {
  .panel { margin-inline: 10px; }
  .panel__left { order: 2; }
  .panel__right { order: 1; padding-bottom: 0; }
  .panel__left .head { order: -1; }
  .panel { grid-template-areas: 'title' 'right' 'photo'; }
  .panel__left { display: contents; }
  .panel__left .head { grid-area: title; }
  .panel__right { grid-area: right; }
  .panel__photo { grid-area: photo; justify-self: center; }
}

/* ---------- notdienst: the seal returns ---------- */
.notdienst { position: relative; overflow: hidden; background: var(--bg); padding-block: 0; }
.notdienst__grid { position: relative; width: 100%; min-height: 90svh; align-items: center; }
.notdienst__seal { grid-column: 1 / span 12; position: relative; color: var(--accent); }
.notdienst__seal .seal { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 100%; height: 100%; rotate: -8deg; }
.notdienst__text { grid-column: 1 / span 12; display: grid; gap: 1.25rem; justify-items: start; }
.notdienst__text h2 { font-size: var(--step-sub); letter-spacing: -0.03em; }
.notdienst__text p { color: var(--ink-soft); }
.notdienst__fact { font-size: var(--step-sub); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.notdienst__fact .link { text-decoration-color: transparent; }
@media (min-width: 64em) {
  .notdienst__seal { grid-column: 1 / span 8; align-self: stretch; min-height: 90svh; }
  .notdienst__seal .seal { width: min(70vh, 44vw); height: min(70vh, 44vw); }
  .notdienst__text { grid-column: 9 / span 4; }
}
@media (max-width: 63.99em) {
  .notdienst__grid { min-height: 0; padding-top: calc(var(--section) / 2); display: flex; flex-direction: column; gap: 3rem; }
  .notdienst__seal { order: 2; width: 100%; height: min(84vw, 50svh); margin-bottom: calc(var(--section) / 2); }
  .notdienst__seal .seal { width: min(84vw, 50svh); height: min(84vw, 50svh); }
}

/* ---------- kontakt: coupon ---------- */
.kontakt { background: var(--surface); }
.coupon { position: relative; display: grid; grid-template-columns: 1fr; background: var(--paper); color: var(--paper-ink); padding: 0; margin: 0 auto; width: 100%; max-width: 1280px; }
.coupon__left { padding: clamp(1.5rem, 3.5vw, 3rem); display: grid; align-content: space-between; gap: 2rem; }
.coupon__left h2 { font-size: var(--step-sub); letter-spacing: -0.035em; max-width: 12ch; }
.coupon__left p { color: #2a2a28; max-width: 36ch; }
.coupon__right { padding: clamp(1.5rem, 3.5vw, 3rem); display: grid; gap: 10px; align-content: start; }
.coupon__submit { min-height: 3.5rem; background: var(--paper-ink); color: var(--paper); font-weight: 500; border-radius: var(--radius); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.coupon__submit:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .coupon__submit:hover { background: var(--surface-3); } }
.coupon__note:empty { display: none; }
.coupon__note { color: #2a2a28; }
.consent { display: flex; align-items: center; gap: 0.75rem; font-size: var(--step-small); color: #2a2a28; cursor: pointer; min-height: 3rem; }
.consent__check { width: 1.25rem; height: 1.25rem; min-height: 0; flex: 0 0 auto; accent-color: var(--paper-ink); outline-offset: 2px; }
/* perforation: two round notches in the ground colour, dots as the tear line (the form keeps its lines) */
.coupon::before, .coupon::after { content: ''; position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); z-index: 1; }
@media (min-width: 48em) {
  .coupon { grid-template-columns: 46% 54%; }
  .coupon::before { left: 46%; top: -14px; translate: -50% 0; }
  .coupon::after { left: 46%; bottom: -14px; translate: -50% 0; }
  .coupon__right { border-left: 5px dotted var(--surface); padding-left: calc(clamp(1.5rem, 3.5vw, 3rem) + 4px); }
}
@media (max-width: 47.99em) {
  .coupon { margin-inline: calc(var(--margin) * -1 + 12px); width: auto; }
  .coupon::before { top: 46%; left: -14px; translate: 0 -50%; }
  .coupon::after { top: 46%; right: -14px; translate: 0 -50%; }
  .coupon__right { border-top: 5px dotted var(--surface); }
}

/* ---------- footer: the mark built from blocks ---------- */
.foot { padding-block: clamp(7rem, 14vw, 11rem) 2rem; background: var(--bg); }
.blocks { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 180px; max-height: 420px; }
.block { display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-size: 20vw; overflow: hidden; }
.block--m, .block--i, .block--b { height: 100%; flex: 1 1 0; }
.block--dot { flex: 0 0 auto; width: clamp(28px, 4vw, 64px); height: clamp(28px, 4vw, 64px); border-radius: 50%; background: var(--accent); margin-bottom: 0; align-self: flex-end; }
@media (min-width: 64em) { .block { font-size: 15vw; } }
.foot__grid { margin-top: 56px; row-gap: 2rem; }
.foot__links { grid-column: 1 / span 12; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; align-content: start; }
.foot__links a { text-decoration: none; }
.foot__address, .foot__contact { grid-column: span 12; line-height: 1.6; }
@media (min-width: 48em) {
  .foot__links { grid-column: 1 / span 6; grid-template-columns: 1fr 1fr 1fr; }
  .foot__address { grid-column: 7 / span 3; }
  .foot__contact { grid-column: 10 / span 3; }
}
.foot__last { margin-top: 3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.foot__credits { margin-top: 2rem; max-width: 56ch; }

/* ---------- motion helpers (content stays visible without JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: ad-rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero__seal { animation: seal-press 1400ms var(--ease-expo) both; }
  .js .hero__seal .seal { transition: transform 80ms linear; }
  .js .tile__stage img { transform: scale(0.9); transition: transform 1200ms var(--ease-soft); }
  .js .tile.is-in .tile__stage img { transform: none; }
  .js .notdienst__seal { transition: transform 1200ms var(--ease-soft); }
}
@keyframes ad-rise { to { opacity: 1; transform: none; } }
@keyframes seal-press { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
