/* ==========================================================================
   Malerei Jashari GmbH — Stylesheet
   Palette aus dem Logo: Schwarz #110F0D · Gelb #F9E281 · Weiss
   ========================================================================== */

:root {
  --black: #110f0d;
  --black-2: #1c1a17;
  --yellow: #f9e281;
  --yellow-deep: #efcf55;
  --white: #ffffff;
  --paper: #f8f5ee;
  --line: #e6e0d2;
  --muted: #5d5850;
  --muted-on-dark: #b9b3a8;

  --font-display: "Barlow Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--black); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; }
p  { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2; /* Inhalt liegt über der Pinselspur */
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--yellow); padding: 8px 14px; font-weight: 600;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--yellow); }
.dark .form :focus-visible { outline-color: var(--black); }

/* ---------- Eyebrow & Hervorhebung ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 10px; border-radius: 6px;
  background: var(--yellow);
  box-shadow: inset 0 0 0 1px rgba(17,15,13,.08);
}

.mark {
  position: relative; white-space: nowrap; z-index: 0;
}
.mark::after {
  content: ""; position: absolute; z-index: -1;
  left: -.08em; right: -.08em; bottom: .02em; height: .42em;
  background: var(--yellow);
  border-radius: .3em .1em .35em .15em;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease) .35s;
}
.is-in .mark::after, .mark.is-in::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--black); --fg: var(--white); --fill: var(--yellow); --fill-fg: var(--black);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1rem 1.6rem;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--bg); border-radius: var(--radius);
  transition: color .35s var(--ease);
}
.btn::before { /* Farbe streicht beim Hover über den Button */
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: var(--fill);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path .5s var(--ease);
}
.btn:hover { color: var(--fill-fg); }
.btn:hover::before { clip-path: polygon(0 0, 115% 0, 100% 100%, 0 100%); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--yellow { --bg: var(--yellow); --fg: var(--black); --fill: var(--black); --fill-fg: var(--white); }
.btn--ghost  { --bg: transparent; --fg: var(--black); border-color: var(--black); --fill: var(--black); --fill-fg: var(--white); }
.dark .btn--ghost { --fg: var(--white); border-color: var(--white); --fill: var(--white); --fill-fg: var(--black); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .35s, box-shadow .35s, transform .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(248, 245, 238, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header:focus-within { transform: none; }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 54px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav a {
  position: relative; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 4px; height: 9px; z-index: -1;
  background: var(--yellow); border-radius: 6px 2px 7px 3px;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: .7rem 1.2rem; font-size: 1rem; }

.burger {
  display: none; width: 48px; height: 48px; border: 0; background: var(--black);
  border-radius: var(--radius); cursor: pointer; position: relative; z-index: 60;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--yellow);
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  :root { --header-h: 68px; }
  .header__logo img { height: 46px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--black);
    clip-path: circle(0 at calc(100% - 40px) 34px);
    transition: clip-path .6s var(--ease);
    visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; }
  .nav a:not(.btn) { color: var(--white); font-size: 2.2rem; }
  .nav a:not(.btn)::after { background: var(--yellow); height: 6px; bottom: 0; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--yellow); }
  .nav .btn { font-size: 1.3rem; margin-top: 10px; }
  .menu-open { overflow: hidden; }
  /* backdrop-filter würde das fixierte Menü auf die Headerhöhe begrenzen */
  .menu-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav :focus-visible { outline-color: var(--yellow); }
}

/* ---------- Sektionen ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.section--white { background: var(--white); }
.dark { background: var(--black); color: var(--white); }
.dark p:not(.form p) { color: var(--muted-on-dark); }
.dark .eyebrow { color: var(--yellow); }
.yellow { background: var(--yellow); }

.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head p { margin: 0; }
@media (max-width: 800px) { .section__head { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Hero (Startseite) ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  position: relative;
}
.hero .wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; }
.hero__kicker { max-width: 100%; line-height: 1.3; }
.hero__title {
  font-family: var(--font-display); font-weight: 800; line-height: .95; letter-spacing: .01em;
  text-transform: uppercase; font-size: clamp(3rem, 9vw, 7.5rem); margin: 0 0 .3em; max-width: none;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.is-loaded .hero__title .line > span { transform: none; }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 2.6rem;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 8px; height: 8px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 1px var(--black); }

/* Ankerpunkt des Pinsels im Hero (der wandernde Pinsel startet hier) */
.brush-dock { position: relative; justify-self: center; width: clamp(110px, 14vw, 180px); aspect-ratio: 560 / 1530; }
.brush-dock__tip { position: absolute; left: 50%; top: 3%; width: 1px; height: 1px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .2em; font-size: .85rem; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint i { width: 2px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--black); animation: drip 2s var(--ease) 2; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 800px) {
  /* Mobile: Text direkt unter dem Header, Pinsel gerade rechts neben dem Titel */
  .hero { align-items: flex-start; min-height: 0; padding: calc(var(--header-h) + 28px) 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero .brush-dock { position: absolute; top: 0; right: var(--gutter); width: 56px; }
  .hero__kicker, .hero__title { padding-right: 76px; }
  .scroll-hint { display: none; }
}

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(60px, 10vw, 120px)) 0 clamp(60px, 8vw, 100px); }
.page-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
.page-hero p { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); }
.page-hero .brush-dock { width: clamp(70px, 8vw, 110px); }
@media (max-width: 700px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .brush-dock { display: none; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--black); color: var(--yellow); overflow: hidden; padding: 22px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--yellow); color: var(--black);
  box-shadow: 0 0 0 6px var(--black);
}
.marquee__toggle svg { width: 16px; height: 16px; }
.marquee__toggle .i-play { display: none; }
.marquee.is-paused .marquee__toggle .i-play { display: block; }
.marquee.is-paused .marquee__toggle .i-pause { display: none; }
.marquee__toggle:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.marquee span {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: .04em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
}
.marquee span::after { content: ""; width: 18px; height: 18px; background: var(--yellow); border-radius: 50% 40% 55% 45%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Leistungs-Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; min-height: 300px;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: transform .5s var(--ease), border-color .3s;
}
.card::before { /* Farbe läuft von unten hoch */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow);
  clip-path: inset(100% 0 0 0 round 0);
  transition: clip-path .6s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--black); }
.card:hover::before { clip-path: inset(0 0 0 0); }
.card__num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .15em; color: var(--muted); }
.card__icon { width: 56px; height: 56px; margin: 18px 0 22px; }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); font-size: 1rem; margin: 0; transition: color .3s; }
.card:hover p, .card:hover .card__num { color: var(--black); }
.card__more {
  margin-top: auto; padding-top: 22px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.card__more svg { width: 18px; transition: transform .35s var(--ease); }
.card:hover .card__more svg { transform: translateX(6px); }

/* ---------- Split / Intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.big-quote {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; margin: 0;
}

/* Farbmuster-Fächer als grafisches Element */
.swatches { position: relative; height: clamp(320px, 38vw, 460px); }
.swatch {
  position: absolute; left: 50%; bottom: 0;
  width: clamp(120px, 14vw, 170px); height: 92%;
  border-radius: 10px; transform-origin: 50% 92%;
  box-shadow: 0 20px 40px -24px rgba(17,15,13,.45), 0 0 0 1px rgba(17,15,13,.08);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem;
  transition: transform 1.2s var(--ease);
  translate: -50% 0;
}
.swatch small { display: block; font-weight: 500; opacity: .7; letter-spacing: .05em; }
.swatch--1 { background: var(--white); }
.swatch--2 { background: #fbf0c2; }
.swatch--3 { background: var(--yellow); }
.swatch--4 { background: var(--black); color: var(--yellow); }
.swatches .swatch { transform: rotate(0); }
.swatches.is-in .swatch--1 { transform: rotate(-24deg); }
.swatches.is-in .swatch--2 { transform: rotate(-9deg); }
.swatches.is-in .swatch--3 { transform: rotate(7deg); }
.swatches.is-in .swatch--4 { transform: rotate(22deg); }

/* ---------- Vorteile ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.feature { padding: 36px 28px 10px 0; border-right: 1px solid rgba(255,255,255,.14); }
.feature + .feature { padding-left: 28px; }
.feature:last-child { border-right: 0; }
.feature h3 { color: var(--white); font-size: 1.6rem; }
.feature p { font-size: 1rem; }
.feature__dot { width: 44px; height: 44px; border-radius: 48% 52% 45% 55%; background: var(--yellow); margin-bottom: 22px; display: grid; place-items: center; }
.feature__dot svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 32px 20px 20px 0 !important; }
}
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 70px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1;
  -webkit-text-stroke: 1.5px var(--black); color: transparent;
  transition: color .5s var(--ease);
}
.step.is-in::before { color: var(--yellow); }
.step h3 { font-size: 1.6rem; }
.step p { font-size: 1rem; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA-Band ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.6rem, 7vw, 6rem); }
.cta p { margin: 0 auto 2rem; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Dienstleistungen (Detail) ---------- */
.service {
  display: grid; grid-template-columns: 110px 1fr 1fr; gap: clamp(24px, 4vw, 60px);
  padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service__num { font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: .9; }
.service__num span { background: var(--yellow); padding: 0 .12em; border-radius: 4px; }
.service h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.service li {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-bottom: 1px dashed var(--line); font-weight: 500;
}
.service li::before { content: ""; flex: 0 0 22px; height: 8px; border-radius: 5px; background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(17,15,13,.15); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } .service__num { font-size: 3rem; } }

/* ---------- Über uns ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.value h3 { display: flex; align-items: center; gap: 12px; }
.value h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px var(--black); flex: none; }
.value p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Kreis-Stempel: alle Masse relativ zur Kreisbreite (cqw), damit der Inhalt immer im Kreis bleibt */
.stamp {
  container-type: inline-size;
  display: grid; place-items: center; text-align: center; overflow: hidden;
  aspect-ratio: 1 / 1; border-radius: 50%; background: var(--yellow);
  width: min(100%, 420px); margin-inline: auto;
  font-family: var(--font-display); text-transform: uppercase;
}
.stamp__inner { display: flex; flex-direction: column; align-items: center; }
.stamp img { height: 44cqw; width: auto; margin: 0 0 3cqw; }
.stamp strong { display: block; font-size: 15cqw; font-weight: 800; line-height: .9; }
.stamp span { font-weight: 700; letter-spacing: .12em; font-size: 3.2cqw; margin-top: 1.5cqw; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__list { list-style: none; margin: 0; padding: 0; }
.contact__list li { border-top: 1px solid rgba(255,255,255,.16); padding: 22px 0; }
.contact__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.contact__label { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .9rem; color: var(--yellow); margin-bottom: 4px; }
.contact__list a, .contact__list address { font-style: normal; color: var(--white); text-decoration: none; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }
.contact__list a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 5px; text-decoration-thickness: 3px; }

.form { background: var(--white); color: var(--black); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); }
.form h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--black);
  background: var(--paper); border: 2px solid transparent; border-bottom-color: var(--line);
  border-radius: var(--radius); padding: 13px 14px;
  transition: border-color .25s, background .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); background: var(--white); }
.form__note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.form__status { color: var(--black); }
.form .btn { margin-top: 22px; cursor: pointer; }

.map-card { margin-top: 28px; display: block; text-decoration: none; background: var(--yellow); color: var(--black); border-radius: var(--radius); padding: 22px 24px; font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.map-card:hover { background: var(--white); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding: 80px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo img { width: 210px; }
.footer__h { font-size: 1.1rem; letter-spacing: .14em; color: var(--yellow); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--muted-on-dark); transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer__credit { color: var(--white) !important; font-weight: 600; }
.footer__credit:hover { color: var(--yellow) !important; }
.footer address { font-style: normal; color: var(--muted-on-dark); }
.footer__bottom { margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted-on-dark); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: 2rem; margin-top: 2.2rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.legal a { color: var(--black); text-decoration-color: var(--yellow-deep); text-underline-offset: 3px; }
.legal p, .legal address { color: var(--muted); font-style: normal; }

/* ==========================================================================
   Pinselspur — der Pinsel aus dem Logo wandert beim Scrollen über die Seite
   ========================================================================== */
.trail {
  position: absolute; top: 0; left: 0; width: 100%;
  pointer-events: none; z-index: 1; /* über Sektions-Hintergründen, unter dem Inhalt */
  overflow: visible;
}
.trail path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trail .t-main { stroke: var(--yellow); }
.trail .t-fill { fill: var(--yellow); stroke: none; }
.trail .t-dry  { stroke: var(--yellow-deep); opacity: .35; }
.trail .t-hi   { stroke: #fff6cf; opacity: .55; }

.brush {
  position: absolute; top: 0; left: 0; z-index: 3; pointer-events: none;
  width: 56px; aspect-ratio: 560 / 1530;
  transform-origin: 50% 3%; /* Pinsel steht kopfüber: Borsten oben an der Spur, Griff unten */
  filter: drop-shadow(0 6px 8px rgba(17,15,13,.18));
}
.brush img { width: 100%; height: 100%; }
.no-trail .brush, .no-trail .trail { display: none; }
@media (max-width: 700px) {
  /* Auf dem Handy läuft der Pinsel unter dem Inhalt durch, damit Texte frei bleiben */
  .brush { z-index: 1; filter: none; }
}

/* ---------- Seitenübergang: gelbe Farbwand ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: var(--yellow);
  transform: translateY(calc(100% + 80px));
}
.wipe svg { position: absolute; left: 0; width: 100%; height: 60px; }
.wipe svg.top { bottom: 100%; }
.wipe svg.bot { top: 100%; transform: scaleY(-1); }
/* Neue Seite: Farbwand liegt schon beim ersten Bild darüber (Klasse aus dem <head>) und zieht dann nach oben weg */
.wipe-in .wipe { animation: wipeAway .8s var(--ease) .12s both; }
@keyframes wipeAway { from { transform: none; } to { transform: translateY(calc(-100% - 80px)); } }
/* Link geklickt: Farbwand kommt von unten */
.wipe.is-enter { animation: wipeIn .55s var(--ease) both; }
@keyframes wipeIn { from { transform: translateY(calc(100% + 80px)); } to { transform: none; } }

/* ---------- Reveal-Animationen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="scale"] { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .brush { display: none; }
}
.brush-dock img { width: 100%; height: 100%; }
.trail-on .brush-dock img { visibility: hidden; }
.is-loaded .hero .mark::after { transform: scaleX(1); transition-delay: .9s; }

/* ==========================================================================
   Galerie
   ========================================================================== */
.gal-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 2px solid var(--black); border-radius: 999px;
  background: transparent; color: var(--black); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.chip:hover { background: var(--yellow); }
.chip[aria-pressed="true"] { background: var(--black); color: var(--yellow); }

.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 22vw, 290px); grid-auto-flow: dense; gap: 16px;
}
.gallery--teaser { grid-auto-rows: clamp(180px, 18vw, 250px); }
.gal-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper); isolation: isolate; }
.gal-item.is-tall { grid-row: span 2; }
.gal-item.is-wide { grid-column: span 2; }
.gal-item[hidden] { display: none; }
.gal-item.is-filtered-in { animation: galIn .55s var(--ease) both; }
@keyframes galIn { from { opacity: 0; transform: scale(.94); } }

.gal-link { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.gal-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gal-link:hover img, .gal-link:focus-visible img { transform: scale(1.06); }
.gal-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: -6px; }
.gal-zoom {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: var(--black);
  transform: scale(0); transition: transform .4s var(--ease);
}
.gal-zoom svg { width: 22px; height: 22px; }
.gal-link:hover .gal-zoom, .gal-link:focus-visible .gal-zoom { transform: scale(1); }

.gal-item figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.gal-item figcaption strong, .gal-item figcaption span {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; line-height: 1.1;
  padding: 6px 10px; border-radius: 3px;
}
.gal-item figcaption strong { background: var(--black); color: var(--white); font-size: 1.05rem; }
.gal-item figcaption span { background: var(--yellow); color: var(--black); font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.gal-item:not(.is-placeholder) figcaption { transform: translateY(8px); opacity: .92; transition: transform .45s var(--ease), opacity .45s; }
.gal-item:not(.is-placeholder):hover figcaption { transform: none; opacity: 1; }

/* Platzhalter, solange noch keine Fotos vorhanden sind */
.gal-ph {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: #f1ece0;
}
.gal-ph__stroke { position: absolute; left: -6%; top: 22%; width: 112%; height: 46%; fill: var(--yellow); transform: rotate(-8deg); }
.gal-ph__note {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem;
  color: var(--black); background: rgba(255,255,255,.85); padding: 8px 12px; border-radius: 999px;
  margin-bottom: 44px;
}
.gal-ph__note svg { width: 18px; height: 18px; }
.gal-ph--1 .gal-ph { background: var(--yellow); }
.gal-ph--1 .gal-ph__stroke { fill: var(--white); opacity: .7; }
.gal-ph--2 .gal-ph { background: var(--black); }
.gal-ph--2 .gal-ph__stroke { opacity: .9; }
.gal-ph--3 .gal-ph { background: #fbf0c2; }
.gal-ph--3 .gal-ph__stroke { fill: var(--yellow-deep); opacity: .55; }
.gal-ph--4 .gal-ph { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }

.gal-empty { text-align: center; color: var(--muted); margin: 32px auto 0; }
.gallery__more { display: flex; justify-content: center; margin-top: clamp(32px, 5vw, 56px); }

@media (max-width: 980px) {
  .gallery--teaser { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; gap: 12px; }
}
@media (max-width: 560px) {
  .gallery, .gallery--teaser { grid-auto-rows: 160px; gap: 10px; }
  .gal-item figcaption { left: 8px; right: 8px; bottom: 8px; }
  .gal-item figcaption strong { font-size: .85rem; padding: 5px 8px; }
  .gal-item figcaption span { display: none; }
  .gal-ph__note { font-size: .75rem; padding: 6px 10px; margin-bottom: 30px; }
  .gal-zoom { transform: scale(1); width: 36px; height: 36px; top: 8px; right: 8px; }
}

/* ---------- Lightbox ---------- */
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(17, 15, 13, .96); color: var(--white);
}
.lightbox::backdrop { background: rgba(17, 15, 13, .6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__bar { display: flex; justify-content: flex-end; align-items: center; padding: 16px var(--gutter); }
.lightbox__stage {
  position: relative; display: grid; place-items: center; min-height: 0;
  grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr);
  padding: 0 clamp(16px, 8vw, 110px); touch-action: pan-y;
}
.lightbox__stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; min-height: 0;
  border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  animation: lbImg .45s var(--ease);
}
@keyframes lbImg { from { opacity: 0; transform: scale(.97); } }
.lightbox__cap { padding: 18px var(--gutter) 26px; text-align: center; }
.lightbox__cap strong { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; letter-spacing: .03em; }
.lightbox__cap span { color: var(--yellow); font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; }
.lb-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--yellow); color: var(--black);
  transition: transform .25s var(--ease), background .25s;
}
.lb-btn:hover { transform: scale(1.08); }
.lb-btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.lb-btn svg { width: 24px; height: 24px; }
.lb-btn--close { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.lb-btn--prev, .lb-btn--next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-btn--prev:hover, .lb-btn--next:hover { transform: translateY(-50%) scale(1.08); }
.lb-btn--prev { left: clamp(8px, 2vw, 28px); }
.lb-btn--next { right: clamp(8px, 2vw, 28px); }
.lb-btn[hidden] { display: none; }
@media (max-width: 560px) {
  .lightbox__stage { padding: 0 8px; }
  .lb-btn--prev, .lb-btn--next { top: auto; bottom: -70px; transform: none; }
  .lb-btn--prev:hover, .lb-btn--next:hover { transform: none; }
  .lightbox__cap { padding-left: 76px; padding-right: 76px; }
}

/* ---------- Vorher / Nachher ---------- */
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(17,15,13,.45); user-select: none; background: var(--paper);
  touch-action: pan-y; cursor: ew-resize;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__ph--before {
  background:
    repeating-linear-gradient(115deg, rgba(17,15,13,.05) 0 2px, transparent 2px 14px),
    radial-gradient(circle at 30% 40%, #cfc7b6, #b9b0a0);
}
.ba__ph--after { background: var(--white); }
.ba__ph .gal-ph__note { margin-bottom: 0; }
.ba__ph--before .gal-ph__note { justify-self: start; margin-left: 6%; }
.ba__ph--after .gal-ph__note { justify-self: end; margin-right: 6%; }
.ba__tag {
  position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 3px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem;
}
.ba__tag--before { left: 14px; background: var(--black); color: var(--white); }
.ba__tag--after { right: 14px; background: var(--yellow); color: var(--black); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; z-index: 2;
  background: var(--yellow); pointer-events: none;
}
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: var(--yellow) no-repeat center / 28px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23110F0D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E");
  box-shadow: 0 6px 18px rgba(17,15,13,.3);
}
.ba__range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; /* nur für Tastatur/Screenreader, Maus/Touch per Pointer-Events */
}
.ba:has(.ba__range:focus-visible) .ba__handle::after { outline: 3px solid var(--black); outline-offset: 3px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__intro { position: static; } }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.15; text-transform: none; letter-spacing: 0; font-weight: 700; }
.faq__item summary:hover h3 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.faq__item summary:focus-visible { outline: 3px solid var(--black); outline-offset: 4px; }
.faq__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); position: relative; transition: transform .35s var(--ease), background .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--black); }
.faq__icon::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq__item[open] .faq__icon { background: var(--black); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--yellow); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 56px 24px 0; }
.faq__a p { color: var(--muted); margin: 0; }
.faq__item[open] .faq__a { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================================
   Formular: Spam-Schutz & Status
   ========================================================================== */
.form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.form__status { margin: 14px 0 0; font-weight: 600; min-height: 1.6em; }
.form__status.is-ok { color: #1f6b33; }
.form__status.is-error { color: #a4231a; }
.form__status:empty { display: none; }
.form__note a { color: inherit; }

/* Vorher/Nachher-Platzhalter auf schmalen Bildschirmen */
.ba img { -webkit-user-drag: none; user-select: none; }
@media (max-width: 560px) {
  .ba__ph .gal-ph__note { max-width: calc(44% - 30px); white-space: normal; line-height: 1.25; }
  .ba__ph .gal-ph__note svg { flex: none; }
}

/* Reduzierte Bewegung: Pinsel im Hero bleibt sichtbar (statisch) */
@media (prefers-reduced-motion: reduce) {
  .brush-dock img { visibility: visible; }
}

/* Druck */
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wipe, .trail, .brush, .marquee, .scroll-hint, .burger, .skip, .brush-dock { display: none !important; }
  .header { position: absolute; transform: none; background: none; box-shadow: none; }
  .hero__title .line > span { transform: none !important; }
  .dark, .yellow { background: none !important; color: #000 !important; }
  .dark p, .dark .eyebrow, .dark h2, .dark h3 { color: #000 !important; }
}
