/* MOKIA – Renovierung & Polsterei
   Schriften: Bricolage Grotesque (Überschriften), Instrument Sans (Text), beide OFL, selbst gehostet */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-var.woff2") format("woff2-variations"), url("../fonts/bricolage-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument";
  src: url("../fonts/instrument-sans-var.woff2") format("woff2-variations"), url("../fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@view-transition { navigation: auto; }

/* ---------- Farben & Maße ---------- */
:root {
  --paper: #f3efe7;
  --paper-2: #e9e3d8;
  --card: #fbf9f5;
  --ink: #161514;
  --ink-2: #57524b;
  --line: color-mix(in oklab, var(--ink) 14%, transparent);
  --accent: #b6400f;
  --accent-strong: #973309;
  --on-accent: #ffffff;
  --band: #161514;
  --band-ink: #f3efe7;
  --band-muted: #b9b2a7;
  --field: #ffffff;
  --field-line: #8d877e;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 10px;
  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --text: "Instrument", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 12px 32px -12px rgb(0 0 0 / .18);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141312;
    --paper-2: #1c1a18;
    --card: #1f1d1b;
    --ink: #f1ebe1;
    --ink-2: #b3ab9f;
    --line: color-mix(in oklab, var(--ink) 16%, transparent);
    --accent: #ec6a35;
    --accent-strong: #ff8150;
    --on-accent: #1a0d06;
    --band: #0b0a09;
    --band-ink: #f1ebe1;
    --band-muted: #a39b8f;
    --field: #262321;
    --field-line: #6f685f;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -16px rgb(0 0 0 / .7);
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 1.4rem + 6.4vw, 6.6rem); letter-spacing: -0.045em; line-height: 0.92; }
h2 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.2rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0 0 1rem; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; color: var(--ink-2); }
.center { text-align: center; margin-top: 1.5rem; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: .75rem 1rem; }
.skip:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 1.1rem;
}
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.25rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.1 var(--text); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.pill:active { transform: translateY(1px); }
.pill-lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.0625rem; }
.pill-accent { background: var(--accent); color: var(--on-accent); }
.pill-accent:hover { background: var(--accent-strong); color: var(--on-accent); }
.pill-ghost { border-color: color-mix(in oklab, var(--ink) 30%, transparent); color: var(--ink); background: transparent; }
.pill-ghost:hover { border-color: var(--ink); color: var(--ink); background: color-mix(in oklab, var(--ink) 6%, transparent); }
.pill-light { background: var(--band-ink); color: var(--band); }
.pill-light:hover { background: #fff; color: var(--band); }
.pill svg { transition: transform .2s; }
.pill:hover svg { transform: translateX(2px); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; gap: .2rem; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; }
.brand-sub { font-size: .75rem; color: var(--ink-2); letter-spacing: .02em; }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2);
  padding: .55rem .8rem; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center;
}
.nav a:hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 6%, transparent); }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-phone { font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-cta .pill { min-height: 42px; padding: .55rem 1.1rem; }

@media (max-width: 63.99rem) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 29.99rem) {
  .header-phone { display: none; }
}

/* ---------- Einstieg ---------- */
.hero { padding-block: clamp(2.25rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); color: var(--ink-2); max-width: 36rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-note { margin-top: 1.1rem; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 29.99rem) { .hero-actions .pill { width: 100%; } }

.hero-media { position: relative; padding-bottom: 2.5rem; }
.hero-main { margin: 0; }
.hero-main img { border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-main figcaption { font-size: .8125rem; color: var(--ink-2); margin-top: .6rem; text-align: right; }
.hero-inset {
  position: absolute; left: -1.5rem; bottom: 0; width: min(42%, 15rem); margin: 0;
  border-radius: var(--radius-sm); overflow: hidden; border: 5px solid var(--paper); box-shadow: var(--shadow);
}
.hero-inset img { aspect-ratio: 4 / 3; object-fit: cover; }
.rating-card {
  position: absolute; right: 1rem; top: 1rem;
  display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center;
  padding: .8rem 1rem; border-radius: 14px; text-decoration: none; color: var(--ink);
  background: color-mix(in oklab, var(--card) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow); max-width: 15.5rem;
}
.rating-card:hover { color: var(--ink); }
.rating-score { grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 2.1rem; letter-spacing: -0.04em; line-height: 1; }
.rating-of { font-size: 1rem; color: var(--ink-2); font-weight: 600; }
.rating-stars { color: var(--accent); letter-spacing: .1em; font-size: .9rem; line-height: 1.2; }
.rating-text { grid-column: 1 / -1; font-size: .8rem; line-height: 1.35; margin-top: .4rem; }
@media (max-width: 63.99rem) { .hero-inset { left: auto; right: 1rem; } .hero-main figcaption { text-align: left; } }
@media (max-width: 29.99rem) {
  .hero-inset { display: none; }
  .hero-media { padding-bottom: 0; }
  .rating-card { position: static; margin-top: 1rem; max-width: none; }
}

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { padding: 1.25rem 1rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.stats dt { font-size: .8125rem; color: var(--ink-2); }
.stats dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); letter-spacing: -0.04em; line-height: 1; }
.stats dd span { display: block; margin-top: .35rem; font-family: var(--text); font-weight: 500; font-size: .9rem; letter-spacing: 0; color: var(--ink-2); }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tint { background: var(--paper-2); }
.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.split { max-width: none; display: grid; gap: 1rem 3rem; align-items: end; }
@media (min-width: 56rem) { .section-head.split { grid-template-columns: 1.4fr 1fr; } }
.section-head.split p:last-child { color: var(--ink-2); margin: 0; }
.section-head h2 { margin-bottom: 0; }

/* ---------- Leistungen (Bento) ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(13rem, auto); }
  .t-maler   { grid-column: span 12; grid-row: span 2; }
  .t-tapete  { grid-column: span 6; }
  .t-boden   { grid-column: span 6; }
  .t-polster { grid-column: span 12; }
  .t-trocken { grid-column: span 12; }
}
@media (min-width: 64rem) {
  .t-maler   { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .t-tapete  { grid-column: 8 / span 5; }
  .t-boden   { grid-column: 8 / span 5; }
  .t-polster { grid-column: 1 / span 8; }
  .t-trocken { grid-column: 9 / span 4; }
}
.tile {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex; flex-direction: column; justify-content: flex-end; gap: .25rem;
}
.tile p { color: var(--ink-2); margin: 0; }
.tile h3 { margin-bottom: .5rem; }
.tile .icon { width: 2.25rem; height: 2.25rem; stroke-width: 1.6; color: var(--accent); margin-bottom: auto; padding-bottom: 1.5rem; box-sizing: content-box; }
.tag { font-size: .75rem !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: .6rem !important; }

.tile-photo { min-height: 24rem; border: 0; color: #fff; }
.tile-photo picture, .tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile-photo img { object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile-photo:hover img { transform: scale(1.03); }
.tile-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(12 11 10 / .88) 0%, rgb(12 11 10 / .35) 45%, rgb(12 11 10 / 0) 70%);
}
.tile-photo .tile-body { position: relative; z-index: 1; max-width: 30rem; }
.tile-photo p { color: rgb(255 255 255 / .85); }
.tile-photo .tag { color: #ffb48f !important; }

.tile-dark { background: var(--band); color: var(--band-ink); border: 0; justify-content: space-between; gap: 1.5rem; }
.tile-dark p { color: var(--band-muted); }
.tile-dark .tag { color: #ff9a6b !important; }
@media (min-width: 48rem) { .tile-dark { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; } .tile-dark .pill { grid-column: 1 / -1; justify-self: start; } }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: .7rem 0 .7rem 1.9rem; border-top: 1px solid rgb(255 255 255 / .14); position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1rem; width: 1.05rem; height: .55rem;
  border-left: 2px solid #ff9a6b; border-bottom: 2px solid #ff9a6b; transform: rotate(-45deg);
}

/* ---------- Arbeiten ---------- */
.compare { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 48rem) { .compare { grid-template-columns: 1fr 1fr; } }
.compare figure, .rail figure { margin: 0; }
.compare img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.compare figcaption, .rail figcaption { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .9rem; color: var(--ink-2); margin-top: .7rem; }
.chip {
  display: inline-flex; align-items: center; padding: .2rem .65rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; background: var(--card); border: 1px solid var(--line); color: var(--ink);
}
.chip-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.rail { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.rail img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 47.99rem) {
  .rail {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail figure { scroll-snap-align: start; }
}

/* ---------- Ablauf ---------- */
.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow { color: var(--band-muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgb(255 255 255 / .12); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--band); padding: clamp(1.5rem, 3vw, 2.25rem); }
.step-no {
  display: block; font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
  letter-spacing: -0.05em; line-height: 1; margin-bottom: 1.75rem;
  color: transparent; -webkit-text-stroke: 1.5px #ff9a6b;
}
.steps h3 { color: var(--band-ink); }
.steps p { color: var(--band-muted); margin: 0; }

/* ---------- Anfrage ---------- */
.quote-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 64rem) {
  .quote-grid { grid-template-columns: 1fr 1.35fr; }
  .quote-intro { position: sticky; top: 6.5rem; }
}
.quote-intro p { color: var(--ink-2); max-width: 30rem; }
.direct { list-style: none; padding: 0; margin: 2rem 0 0; }
.direct li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.direct li:last-child { border-bottom: 1px solid var(--line); }
.direct span { color: var(--ink-2); }
.direct a { font-weight: 600; text-decoration: none; }

.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: var(--shadow);
}
.field { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 600; margin-bottom: .45rem; padding: 0; font-size: .95rem; }
.opt { font-weight: 400; color: var(--ink-2); font-size: .85rem; margin-left: .25rem; }
.hint { font-size: .85rem; color: var(--ink-2); margin: .45rem 0 0; }
.quote input[type="text"], .quote input[type="tel"], .quote input[type="email"], .quote select, .quote textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.quote textarea { resize: vertical; min-height: 8.5rem; }
.quote input::placeholder, .quote textarea::placeholder { color: color-mix(in oklab, var(--ink-2) 80%, transparent); }
.quote input:focus, .quote select:focus, .quote textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent);
}
.quote input[type="file"] { font: inherit; font-size: .9rem; color: var(--ink-2); max-width: 100%; padding: .55rem 0; }
.quote input[type="file"]::file-selector-button {
  font: 600 .9rem var(--text); color: var(--ink); background: transparent; cursor: pointer;
  border: 1.5px solid var(--field-line); border-radius: 999px; padding: .5rem 1rem; margin-right: .75rem;
}
.grid-2 { display: grid; gap: 0 1rem; }
@media (min-width: 40rem) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-check span {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--field-line); font-weight: 500; font-size: .95rem;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip-check span::before {
  content: ""; width: .9rem; height: .9rem; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55;
  transition: all .15s;
}
.chip-check:hover span { border-color: var(--ink); }
.chip-check:has(input:checked) span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-check:has(input:checked) span::before { background: var(--accent); border-color: var(--accent); opacity: 1; }
.chip-check:has(input:focus-visible) span { outline: 3px solid var(--accent); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 1rem; justify-items: start; margin-top: 1.5rem; }
.form-foot .small { margin: 0; }
@media (max-width: 39.99rem) { .form-foot .pill { width: 100%; } }

/* ---------- Über mich ---------- */
.about > * { max-width: 62rem; }
.statement {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.9rem);
  line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 1.5rem; text-wrap: balance;
}
.statement .hl { color: var(--accent); }
.about-note { color: var(--ink-2); font-size: 1.1rem; max-width: 34rem; }

/* ---------- Kontakt ---------- */
.contact-card {
  display: grid; gap: 2.5rem; align-items: end;
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 5vw, 3.5rem); box-shadow: var(--shadow);
}
@media (min-width: 56rem) { .contact-card { grid-template-columns: 1.5fr 1fr; } }
.contact-card h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); }
.big-phone {
  display: inline-block; font-family: var(--display); font-weight: 700; text-decoration: none;
  font-size: clamp(2.2rem, 1.2rem + 4.6vw, 4.8rem); letter-spacing: -0.04em; line-height: 1;
  margin: .5rem 0 1.5rem; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.contact-meta { margin: 0; display: grid; gap: 0; }
.contact-meta > div { padding: .9rem 0; border-top: 1px solid var(--line); }
.contact-meta dt { font-size: .8125rem; color: var(--ink-2); }
.contact-meta dd { margin: 0; font-weight: 600; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--band); color: var(--band-muted); padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; overflow: hidden; }
.footer-mark {
  font-family: var(--display); font-weight: 800; color: var(--band-ink);
  font-size: clamp(5rem, 1rem + 20vw, 17rem); letter-spacing: -0.06em; line-height: .8; margin: 0 0 2rem -.04em;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: .9rem; border-top: 1px solid rgb(255 255 255 / .12); padding-top: 1.5rem; }
.site-footer a { color: var(--band-ink); }
.site-footer nav { display: flex; gap: 1.5rem; }

/* ---------- Kontaktleiste (Handy) ---------- */
.callbar { display: none; }
@media (max-width: 47.99rem) {
  body.has-callbar { padding-bottom: 5.5rem; }
  .callbar {
    display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: .4rem;
    position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 60;
    padding: .4rem; border-radius: 999px;
    background: color-mix(in oklab, var(--card) 85%, transparent);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .callbar .pill { min-height: 46px; padding: .5rem .6rem; font-size: .95rem; }
  .callbar .pill-ghost { border-color: transparent; }
}

/* ---------- Bewegung (nur CSS, nur wenn erwünscht) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Rechtstexte & einfache Seiten ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 5rem); }
.legal .wrap { max-width: 48rem; }
.legal h1 { font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; letter-spacing: -0.02em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.legal address { font-style: normal; margin-bottom: 1rem; }
.legal ul { padding-left: 1.25rem; }
.legal .pill { margin-top: .5rem; }
.legal a:not(.pill) { color: var(--accent); }
.todo { background: #fff1a8; color: #3d3300; padding: 0 .25em; border-radius: 3px; }
