/* Malerbetrieb Ralf Brinkmann – Stylesheet
   Farben: Lime nur als Fläche mit schwarzem Text, Logo nur auf hellem Grund. */

@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-latin.woff2") format("woff2-variations"), url("/assets/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin.woff2") format("woff2-variations"), url("/assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --paper: #F6F7F2;
  --white: #FFFFFF;
  --ink: #0B0D0A;
  --lime: #80FF00;
  --stone: #4D5249;
  --fog: #E9ECE1;
  --line: #D6DACB;
  --ink-soft: rgba(246, 247, 242, .74);

  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --spring: linear(0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1);
  --spring-soft: linear(0, .006, .025 2.8%, .101 6.1%, .539 18.9%, .721 25.3%, .849 31.5%, .937 38.1%, .968 41.8%, .991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001);
  --out: cubic-bezier(.22, 1, .36, 1);

  --brush: url("/assets/img/brush.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 110px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sec-ink :focus-visible, .foot :focus-visible { outline-color: var(--lime); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic.flip { transform: scaleX(-1); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typografie ---------- */
.h1, .h2, .h3, .cta-h, .svc-name, .mq-word, .rating-num, .score-num, .stat dd, .step-n {
  font-family: var(--display);
  font-stretch: 78%;
  letter-spacing: -.015em;
}
.h1 { font-size: clamp(3.5rem, 16.5vw, 7.6rem); line-height: .9; font-weight: 760; text-wrap: balance; }
.h1-page { font-size: clamp(2.6rem, 11vw, 5.6rem); }
.h1-line { white-space: nowrap; }
.h2 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: .98; font-weight: 720; text-wrap: balance; }
.h3 { font-size: 1.45rem; line-height: 1.1; font-weight: 700; font-stretch: 85%; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--stone); max-width: 40em; }
.kicker { font-weight: 600; color: var(--stone); margin-bottom: 18px; font-size: .98rem; }
.prose p + p { margin-top: 1em; }
.prose p:not(.lead) { color: var(--stone); max-width: 38em; }

/* Pinselstrich-Highlight: Lime-Fläche hinter dem Text, wird "aufgemalt" */
.brush { position: relative; display: inline; white-space: nowrap; isolation: isolate; }
.brush::before {
  content: ""; position: absolute; z-index: -1;
  left: -.14em; right: -.28em; top: .08em; bottom: -.04em;
  background: var(--lime);
  -webkit-mask: var(--brush) 0 0 / 100% 100% no-repeat; mask: var(--brush) 0 0 / 100% 100% no-repeat;
  transition: clip-path 1.1s var(--out);
}
.js .brush::before { clip-path: inset(0 100% 0 0); }
.js .brush.is-painted::before { clip-path: inset(0 0 0 0); }
.brush-load::before { transition-duration: 1.25s; transition-delay: .35s; }
.sec-ink .brush::before { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.4em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .5s var(--spring), background-color .2s, color .2s, border-color .2s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 26px -12px rgba(80, 160, 0, .75); }
.btn-lime:hover { box-shadow: 0 16px 30px -12px rgba(80, 160, 0, .9); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { background: rgba(255, 255, 255, .6); border-color: rgba(11, 13, 10, .16); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }
.btn-line { border-color: rgba(11, 13, 10, .55); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: .6em 1.1em; font-size: .94rem; }
.btn-lg { min-height: 56px; padding: 1em 1.6em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.link-arrow .ic { transition: transform .5s var(--spring); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Navigation (Glas-Pill) ---------- */
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 90; padding-inline: 12px; pointer-events: none; }
.nav-bar {
  pointer-events: auto;
  max-width: 1180px; margin-inline: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 7px 7px 7px 8px;
  border-radius: 999px;
  background: rgba(246, 247, 242, .62);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(11, 13, 10, .08);
  box-shadow: 0 10px 34px -18px rgba(11, 13, 10, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: box-shadow .3s, background-color .3s;
}
.nav.is-scrolled .nav-bar { background: rgba(246, 247, 242, .78); box-shadow: 0 14px 40px -18px rgba(11, 13, 10, .45), inset 0 1px 0 rgba(255, 255, 255, .7); }
.nav-logo { display: flex; align-items: center; background: var(--white); border-radius: 999px; padding: 5px 16px 5px 12px; height: 46px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: none; margin-inline: auto; gap: 2px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--ink); transition: background-color .2s; }
.nav-links a:hover { background: rgba(11, 13, 10, .06); }
.nav-links a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-actions .btn { display: none; }
.nav-burger { width: 46px; height: 46px; border-radius: 999px; border: 0; background: var(--ink); cursor: pointer; display: grid; place-content: center; gap: 6px; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .45s var(--spring); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu {
  pointer-events: auto;
  max-width: 1180px; margin: 8px auto 0;
  padding: 18px; border-radius: var(--r-lg);
  background: rgba(246, 247, 242, .9);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(11, 13, 10, .08);
  box-shadow: 0 30px 60px -30px rgba(11, 13, 10, .5);
  transform-origin: top center;
  animation: menuIn .55s var(--spring);
}
.menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
.menu nav { display: grid; }
.menu nav a { font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 1.9rem; line-height: 1.1; padding: 8px 6px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.menu-cta { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .nav-actions .btn { display: inline-flex; } }
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-burger, .menu { display: none !important; }
  .nav-actions { margin-left: 0; }
}

/* ---------- Abschnitte ---------- */
main { display: block; }
.sec { padding-block: clamp(64px, 9vw, 120px); }
.ablauf { padding-top: clamp(24px, 4vw, 48px); }
.sec-tight { padding-top: clamp(24px, 4vw, 48px); }
.sec-fog { background: var(--fog); }
.sec-ink { background: var(--ink); color: var(--paper); }
.sec-ink .lead { color: var(--ink-soft); }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); display: grid; gap: 18px; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(120px, 16vw, 170px); padding-bottom: clamp(48px, 7vw, 90px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-lead { margin-top: 26px; }
.hero .btn-row { margin-top: 32px; }
.hero-note { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--stone); font-size: .98rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #2F9E00; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2F9E00; animation: ping 2.2s var(--out) infinite; }
@keyframes ping { 70%, 100% { transform: scale(2.6); opacity: 0; } }
.hero-photo { aspect-ratio: 4 / 3.2; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
  .hero-photo { aspect-ratio: 4 / 4.6; }
}

/* Bildrahmen + Parallax + "Aufmalen" (Clip-Reveal) */
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--fog); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.parallax { position: absolute; inset: -9% 0; will-change: transform; }
.parallax img { width: 100%; height: 100%; object-fit: cover; }
.js .paint-in { clip-path: inset(0 100% 0 0 round var(--r-lg)); transition: clip-path 1.2s var(--out); }
.js .paint-in.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.photo-tag {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(246, 247, 242, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  font-weight: 600; font-size: .9rem;
}

/* ---------- Laufband (Outline-Typo) ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; align-items: center; animation: mq 46s linear infinite; }
.marquee-track.rev { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
body > main > .marquee, main > .marquee { background: var(--ink); padding-block: clamp(18px, 3vw, 30px); -webkit-mask: none; mask: none; }
.mq-word { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 780; line-height: 1; padding-inline: .28em; color: var(--paper); white-space: nowrap; }
.mq-outline { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.mq-dab { width: 54px; height: 22px; flex: none; background: var(--lime); -webkit-mask: var(--brush) 0 0 / 100% 100% no-repeat; mask: var(--brush) 0 0 / 100% 100% no-repeat; }

/* ---------- Leistungs-Zeilen (Start) ---------- */
.svc-rows { border-top: 2px solid var(--ink); }
.svc-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center;
  padding: 26px 4px; text-decoration: none; border-bottom: 1px solid var(--line);
}
.svc-row::before {
  content: ""; position: absolute; inset: 6px -10px; z-index: -1; border-radius: 6px;
  background: var(--lime);
  -webkit-mask: var(--brush) 0 0 / 100% 100% no-repeat; mask: var(--brush) 0 0 / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--out);
}
.svc-row:hover::before, .svc-row:focus-visible::before { clip-path: inset(0 0 0 0); }
.svc-name { font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; font-weight: 720; }
.svc-list { grid-column: 1; color: var(--stone); font-size: 1rem; max-width: 36em; }
.svc-row:hover .svc-list { color: var(--ink); }
.svc-arrow { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; transition: transform .6s var(--spring); }
.svc-row:hover .svc-arrow { transform: translateX(6px); }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; padding-block: 34px; }
  .svc-list { grid-column: 2; }
  .svc-arrow { grid-column: 3; grid-row: 1; }
}

/* ---------- Split (Text + Medien) ---------- */
.split { display: grid; gap: 44px; align-items: center; }
.split-top { align-items: start; }
.split-copy { display: grid; gap: 22px; justify-items: start; }
.split-media.frame { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.sec-ink .ticks .ic { color: var(--lime); }

/* ---------- Vorher/Nachher ---------- */
.compare { position: relative; aspect-ratio: 3 / 4; max-width: 460px; margin-inline: auto; border-radius: var(--r-lg); overflow: hidden; background: #222; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--lime); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--lime); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.cmp-knob::before, .cmp-knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.cmp-knob::before { left: 8px; border-right-color: var(--ink); }
.cmp-knob::after { right: 8px; border-left-color: var(--ink); }
.cmp-label { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; pointer-events: none; }
.cmp-l { left: 14px; background: rgba(11, 13, 10, .72); color: var(--paper); }
.cmp-r { right: 14px; background: var(--lime); color: var(--ink); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp-range:focus-visible + * , .compare:focus-within { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Masonry-Galerie ---------- */
.masonry { columns: 2 160px; column-gap: 12px; }
@media (min-width: 720px) { .masonry { columns: 3 220px; column-gap: 16px; } }
.masonry-full { columns: 2 150px; }
@media (min-width: 720px) { .masonry-full { columns: 3 220px; } }
.g-item { break-inside: avoid; margin-bottom: 12px; }
@media (min-width: 720px) { .g-item { margin-bottom: 16px; } }
.g-item[hidden] { display: none; }
.g-btn { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--fog); position: relative; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--out); }
.g-btn:hover img { transform: scale(1.04); }
.r-wide .g-btn { aspect-ratio: 16 / 10; }
.r-tall .g-btn { aspect-ratio: 3 / 4; }
.r-square .g-btn { aspect-ratio: 1; }
.g-item.is-entering { animation: gIn .6s var(--spring-soft); }
@keyframes gIn { from { opacity: 0; transform: scale(.94); } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip-filter { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .95rem; cursor: pointer; min-height: 44px; transition: background-color .2s, border-color .2s, transform .45s var(--spring); }
.chip-filter span { color: var(--stone); font-weight: 500; margin-left: 4px; }
.chip-filter:hover { border-color: var(--ink); }
.chip-filter[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); }
.chip-filter[aria-pressed="true"] span { color: var(--ink); }
.chip-filter:active { transform: scale(.95); }
.gal-empty { color: var(--stone); }

/* Lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(11, 13, 10, .94); color: var(--paper); }
.lb::backdrop { background: rgba(11, 13, 10, .6); }
.lb[open] { display: grid; place-items: center; animation: lbIn .35s var(--out); }
@keyframes lbIn { from { opacity: 0; } }
.lb-fig { display: grid; gap: 12px; justify-items: center; padding: 70px 16px 80px; max-width: 100%; }
.lb-fig img { max-width: min(1400px, calc(100vw - 32px)); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: var(--r-sm); object-fit: contain; animation: lbImg .5s var(--spring-soft); }
@keyframes lbImg { from { opacity: 0; transform: scale(.96); } }
.lb-fig figcaption { color: var(--ink-soft); text-align: center; max-width: 40em; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(246, 247, 242, .14); color: var(--paper); transition: background-color .2s; }
.lb-btn:hover { background: var(--lime); color: var(--ink); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; bottom: 18px; }
.lb-next { right: 16px; bottom: 18px; }
@media (min-width: 900px) { .lb-prev, .lb-next { top: 50%; bottom: auto; margin-top: -25px; } }
.lb-count { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; font-weight: 600; color: var(--ink-soft); pointer-events: none; }

/* ---------- Ablauf (nummerierte Schritte) ---------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: grid; gap: 8px; align-content: start; }
.step h3 { font-family: var(--display); font-stretch: 85%; font-size: 1.35rem; line-height: 1.1; }
.step p { color: var(--stone); font-size: 1rem; }
.step-n { font-size: 3.2rem; line-height: .9; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 6px; }
.step:first-child { background: var(--lime); border-color: var(--lime); }
.step:first-child p { color: var(--ink); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(5, 1fr); } .step { min-height: 280px; } }

/* ---------- Bewertung (Start) ---------- */
.quote-wrap { display: grid; gap: 30px; justify-items: start; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.rating-num { font-size: 3.4rem; line-height: 1; font-weight: 780; }
.rating-src { color: var(--stone); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: #B07800; }
.stars .ic { width: 22px; height: 22px; }
.stars-lg .ic { width: 30px; height: 30px; }
.bigquote blockquote p { font-family: var(--display); font-stretch: 85%; font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.15; max-width: 28em; text-wrap: pretty; }
.bigquote figcaption { margin-top: 16px; font-weight: 700; }

/* ---------- Lime-CTA-Band ---------- */
.cta-band { background: var(--lime); color: var(--ink); padding-block: clamp(64px, 9vw, 110px); position: relative; overflow: hidden; }
.cta-inner { display: grid; gap: 16px; justify-items: start; position: relative; }
.cta-h { font-size: clamp(2.6rem, 9vw, 6.4rem); line-height: .9; font-weight: 790; }
.cta-p { font-size: 1.15rem; font-weight: 600; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cta-band :focus-visible { outline-color: var(--ink); }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { padding-top: clamp(130px, 17vw, 190px); padding-bottom: clamp(28px, 4vw, 50px); }
.page-hero .lead { margin-top: 24px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; transition: border-color .2s; }
.jump a:hover { border-color: var(--ink); }

/* ---------- Leistungen ---------- */
.svc-grid { display: grid; gap: 36px; align-items: center; }
.svc-media { aspect-ratio: 16 / 11; }
.svc-media-tall { aspect-ratio: 4 / 5; max-height: 640px; }
.svc-copy { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .svc-flip .svc-media { order: 2; }
}
.acc { border-top: 2px solid var(--ink); margin-top: 8px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font: inherit; }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; min-height: 56px; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 700; font-size: 1.1rem; }
.acc-plus { width: 34px; height: 34px; border-radius: 50%; background: var(--fog); position: relative; flex: none; transition: background-color .2s, transform .5s var(--spring); }
.sec-fog .acc-plus { background: var(--white); }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--spring); }
.acc-plus::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-plus { background: var(--lime); transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .acc-plus::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--out); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 2px 18px; color: var(--stone); max-width: 34em; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

/* ---------- Unternehmen ---------- */
.stats { display: grid; gap: 12px; margin-bottom: clamp(40px, 6vw, 70px); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 22px 24px; border-radius: var(--r-md); background: var(--ink); color: var(--paper); }
.stat:first-child { background: var(--lime); color: var(--ink); }
.stat dd { font-size: clamp(3.2rem, 9vw, 5.4rem); line-height: .9; font-weight: 790; font-variant-numeric: tabular-nums; }
.stat dt { font-weight: 600; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.values { display: grid; gap: 26px; border-top: 2px solid var(--ink); padding-top: 30px; }
.values p { color: var(--stone); margin-top: 8px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.vehicles { position: relative; overflow: hidden; min-height: clamp(520px, 80vh, 760px); display: grid; align-items: end; padding-block: 40px; }
.vehicles-media { inset: -12% 0; }
.vehicles-media img { position: absolute; inset: 0; }
.vehicles-card-wrap { position: relative; }
.glass {
  background: rgba(246, 247, 242, .74);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 30px 60px -30px rgba(11, 13, 10, .55);
}
.vehicles-card { max-width: 520px; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; justify-items: start; }
.vehicles-card p { color: var(--ink); }

.partner-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.p-h { font-family: var(--display); font-stretch: 85%; font-size: 1.25rem; margin-bottom: 12px; }
.marquee-chips .marquee-track { gap: 10px; padding-right: 10px; animation-duration: 40s; }
.chip { display: inline-block; white-space: nowrap; border-radius: 999px; border: 1px solid var(--line); background: var(--white); padding: 12px 20px; font-weight: 600; font-size: 1rem; }

/* ---------- Bewertungen ---------- */
.score { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 2px solid var(--ink); }
.score-num { font-size: clamp(6rem, 22vw, 11rem); line-height: .8; font-weight: 800; }
.score-meta { display: grid; gap: 10px; justify-items: start; }
.score-meta p { color: var(--stone); font-weight: 600; }
.reviews { display: grid; gap: 14px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: grid; gap: 16px; align-content: start; }
.review blockquote p { font-size: 1.08rem; line-height: 1.55; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review figcaption strong { display: block; }
.review figcaption small { color: var(--stone); font-size: .9rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-weight: 800; font-family: var(--display); flex: none; }
.note { margin-top: 28px; color: var(--stone); }
.note a { color: var(--ink); font-weight: 700; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.35fr 1fr; gap: 28px; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 40px); display: grid; gap: 18px; }
.form-h { margin-bottom: 4px; }
.f { display: grid; gap: 7px; }
.f label, .f-set legend { font-weight: 700; font-size: .98rem; }
.f-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .f-2 { grid-template-columns: 1fr 1fr; } .f-plz { grid-template-columns: 9rem 1fr; } }
.f input, .f select, .f textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #B9BEAE; border-radius: var(--r-sm); background: var(--paper);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.f textarea { resize: vertical; min-height: 130px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(128, 255, 0, .55); }
.f input[aria-invalid="true"], .f textarea[aria-invalid="true"] { border-color: #B3261E; }
.f-err { color: #B3261E; font-size: .92rem; font-weight: 600; }
.f-set { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.f-set legend { padding: 0; margin-bottom: 4px; }
.opt { font-weight: 500; color: var(--stone); }
.req { color: #B3261E; }
.f-hint { color: var(--stone); font-size: .92rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--stone); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.check a { color: var(--ink); font-weight: 700; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[type="submit"] { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-msg:empty { display: none; }
.form-msg { border-radius: var(--r-sm); padding: 16px 18px; font-weight: 600; }
.form-msg.ok { background: var(--lime); color: var(--ink); }
.form-msg.err { background: #FCE8E6; color: #8C1D18; }
.form-msg a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }

.contact-side { display: grid; gap: 14px; }
.info-card { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; justify-items: start; }
.info-plain { background: var(--fog); color: var(--ink); }
.info-list { display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .ic { color: var(--lime); margin-top: 3px; }
.info-list a { color: var(--paper); font-weight: 700; text-decoration-color: rgba(128, 255, 0, .7); text-underline-offset: 3px; }
.times { display: grid; gap: 12px; }
.times dt { font-weight: 700; }
.times dd { color: var(--stone); }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 280px; background: var(--fog) repeating-linear-gradient(135deg, transparent 0 14px, rgba(11, 13, 10, .035) 14px 28px); display: grid; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.map-consent { display: grid; gap: 12px; justify-items: center; align-content: center; text-align: center; padding: 28px; }
.map-consent > .ic { width: 34px; height: 34px; }
.map-consent p { color: var(--stone); max-width: 26em; font-size: .96rem; }
.map-link { font-weight: 600; font-size: .94rem; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--ink-soft); padding-top: clamp(56px, 8vw, 90px); padding-bottom: 110px; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-logo { display: inline-block; background: var(--white); border-radius: var(--r-md); padding: 12px 18px; }
.foot-logo img { height: 56px; width: auto; }
.foot-brand p { margin-top: 16px; max-width: 22em; }
.foot-h { font-family: var(--display); font-stretch: 85%; color: var(--paper); font-size: 1.15rem; margin-bottom: 14px; }
.foot ul { display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--paper); }
.foot a:hover { color: var(--lime); }
.foot-social a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(246, 247, 242, .14); font-size: .94rem; }
.foot-legal p:last-child { display: flex; gap: 20px; }
.foot-legal a { display: inline-block; padding-block: 6px; }
@media (min-width: 1000px) { .foot { padding-bottom: 40px; } }

/* ---------- Sticky-CTA (mobil) ---------- */
.sticky-cta {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(246, 247, 242, .7);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(11, 13, 10, .08); box-shadow: 0 14px 34px -14px rgba(11, 13, 10, .5);
  transition: transform .5s var(--spring);
}
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.sticky-wa { background: var(--lime); color: var(--ink); }
.sticky-tel { background: var(--ink); color: var(--paper); }
@media (min-width: 1000px) { .sticky-cta { display: none; } }

/* ---------- Chatbot ---------- */
.chat { position: fixed; right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 85; display: grid; justify-items: end; gap: 12px; }
@media (min-width: 1000px) { .chat { right: 22px; bottom: 22px; } }
.chat-toggle { width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: var(--ink); color: var(--lime); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(11, 13, 10, .6); transition: transform .5s var(--spring); }
.chat-toggle:hover { transform: scale(1.06); }
.chat-toggle .ic { width: 26px; height: 26px; grid-area: 1 / 1; transition: transform .45s var(--spring), opacity .2s; }
.chat-toggle .ic-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat-toggle[aria-expanded="true"] .ic-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat-toggle[aria-expanded="true"] .ic-close { opacity: 1; transform: none; }
.chat-panel {
  width: min(370px, calc(100vw - 28px)); max-height: min(560px, calc(100dvh - 190px));
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: rgba(246, 247, 242, .86);
  -webkit-backdrop-filter: blur(24px) saturate(1.7); backdrop-filter: blur(24px) saturate(1.7);
  border: 1px solid rgba(11, 13, 10, .1); box-shadow: 0 30px 70px -24px rgba(11, 13, 10, .55);
  transform-origin: bottom right; animation: chatIn .55s var(--spring);
}
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: var(--ink); color: var(--paper); }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-family: var(--display); flex: none; }
.chat-title { font-weight: 700; font-size: .98rem; line-height: 1.2; }
.chat-sub { font-size: .8rem; color: var(--ink-soft); }
.chat-x { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--paper); cursor: pointer; display: grid; place-items: center; }
.chat-x:hover { background: rgba(246, 247, 242, .12); }
.chat-body { flex: 1; min-height: 200px; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: .95rem; line-height: 1.45; animation: msgIn .45s var(--spring-soft); }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.msg-bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; justify-self: start; }
.msg-user { background: var(--lime); border-bottom-right-radius: 6px; justify-self: end; }
.msg a { font-weight: 700; color: var(--ink); text-decoration-color: #3C9A00; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--stone); animation: dot 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.chat-quick button { border: 1px solid var(--ink); background: var(--white); border-radius: 999px; padding: 7px 12px; font-size: .85rem; font-weight: 600; cursor: pointer; min-height: 36px; }
.chat-quick button:hover { background: var(--lime); border-color: var(--lime); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
.chat-form input { flex: 1; min-width: 0; min-height: 46px; border: 1.5px solid #B9BEAE; border-radius: 999px; padding: 0 16px; background: var(--white); font-size: 1rem; }
.chat-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(128, 255, 0, .55); }
.chat-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--lime); cursor: pointer; display: grid; place-items: center; flex: none; }

/* ---------- Scroll-Reveal (zurückhaltend) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--out), transform 1s var(--spring-soft); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"].mq-dup { display: none; }
  .js .brush::before, .js .paint-in, .svc-row::before { clip-path: none; }
  .svc-row::before { opacity: 0; }
  .svc-row:hover::before { opacity: 1; }
  .parallax { transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.h1-legal { font-size: clamp(2rem, 8.5vw, 4.4rem); overflow-wrap: anywhere; hyphens: auto; }
.legal { max-width: 46rem; }
.legal section + section { margin-top: clamp(28px, 4vw, 40px); }
.legal h2 { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.1; font-weight: 700; margin-bottom: 10px; }
.legal p { color: var(--stone); line-height: 1.65; overflow-wrap: anywhere; }
.legal p + p { margin-top: .9em; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.legal a:hover { background: var(--lime); }
.legal-note { margin-top: 48px; font-size: .9rem; }

@media print {
  .nav, .sticky-cta, .chat, .marquee { display: none !important; }
  .paint-in { clip-path: none; }
}
