@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500i.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3eee6;
  --cream: #fffcf8;
  --ink: #1c1916;
  --muted: #5c564e;
  --line: rgba(28, 25, 22, 0.12);
  --blue: #3e466a;
  --blue-deep: #1f2852;
  --blue-soft: #dfe4f3;
  --yellow: #f0b93a;
  --yellow-deep: #b9861a;
  --clay: var(--blue);
  --clay-deep: var(--blue);
  --pine: var(--blue-deep);
  --pine-2: #2a356b;
  --shadow: 0 18px 50px rgba(28, 25, 22, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
  --header: 128px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --section: clamp(64px, 8vw, 112px);
  --head-gap: clamp(24px, 3vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip {
  position: absolute;
  left: var(--s-4);
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-2) var(--s-3);
  z-index: 50;
}

.skip:focus {
  transform: translateY(var(--s-3));
}

.wrap {
  width: min(var(--max), calc(100% - var(--s-6)));
  margin-inline: auto;
}

h1,
h2,
h3,
.step strong,
.phone-link {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0 0 var(--s-5);
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  line-height: 0.95;
}

h1 em {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  color: var(--clay-deep);
}

.brush {
  position: absolute;
  left: -3%;
  bottom: -0.06em;
  width: 108%;
  height: 0.34em;
  overflow: visible;
  pointer-events: none;
}

.brush path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

h1 span {
  display: block;
}

h2 {
  position: relative;
  z-index: 0;
  margin: 0 0 var(--s-4);
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.02;
}

h2::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.28em -0.06em 0.06em;
  background: var(--yellow);
  border-radius: 46% 54% 42% 58% / 70% 55% 45% 60%;
  transform-origin: left center;
  transform: rotate(-1deg) scaleX(0);
  opacity: 0;
  pointer-events: none;
}

h3 {
  margin: var(--s-1) 0 var(--s-2);
  font-size: 1.35rem;
  line-height: 1.15;
}

p {
  margin: 0 0 var(--s-3);
}

.kicker {
  margin: 0 0 var(--s-3);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.lead {
  max-width: 38rem;
  font-size: 1.16rem;
  color: var(--muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 238, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--header);
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
  order: 1;
  line-height: 0;
}

.logo img {
  height: 112px;
  width: auto;
}

.logo-mark {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  order: 2;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav a:hover {
  color: var(--clay-deep);
}

.bar-end {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  order: 3;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  place-items: center;
  cursor: pointer;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
}

.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-burger span::before {
  top: -6px;
}

.nav-burger span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-pine {
  background: var(--pine);
  color: var(--cream);
}

.btn-pine:hover {
  background: var(--pine-2);
}

.btn-line {
  background: transparent;
  border-color: rgba(28, 25, 22, 0.28);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--ink);
}

.btn-cream {
  background: var(--cream);
  color: var(--pine);
}

.btn-cream:hover {
  background: #fff;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-yellow:hover {
  background: var(--yellow-deep);
  color: var(--ink);
}

.btn:focus-visible,
.nav a:focus-visible,
.logo:focus-visible,
.nav-burger:focus-visible,
.text-link:focus-visible,
.phone-link:focus-visible,
.google-badge:focus-visible,
.slide-btn:focus-visible,
.slide-dot:focus-visible,
.footer a:focus-visible,
.skip:focus-visible,
.filter:focus-visible,
.wa-sticky:focus-visible,
.work-card button:focus-visible,
.work-photo:focus-visible,
.work-shot:focus-visible,
.lightbox-close:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 3px;
}

.nav a[aria-current="page"],
.nav a.is-here {
  color: var(--blue);
}

.nav a.is-here {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s-6);
  align-items: center;
  padding-block: var(--s-6) var(--s-5);
  overflow-x: clip;
}

.hero h1 {
  position: relative;
  display: inline-block;
  margin: 0 0 0.7em;
  font-size: clamp(2.8rem, 4vw, 3.5rem);
  line-height: 1;
}

.hero .brush {
  left: -1%;
  bottom: -0.42em;
  width: 102%;
  height: 0.28em;
  overflow: visible;
}

.hero .brush path {
  vector-effect: none;
  stroke-width: 7;
}

.slogan {
  margin: 0 0 var(--s-4);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  color: var(--blue);
}

.hero .kicker {
  margin-bottom: var(--s-2);
}

.hero .lead {
  max-width: 40rem;
  margin-bottom: var(--s-4);
  font-size: 1.02rem;
  line-height: 1.45;
}

.claims {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--s-4);
  margin: 0 0 var(--s-4);
  padding: 0;
  list-style: none;
}

.claims li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.claims li::before {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  background: var(--yellow);
  border-radius: 58% 42% 62% 38% / 46% 58% 42% 54%;
}

.swatches {
  display: flex;
  gap: var(--s-2);
  margin: var(--s-4) 0 var(--s-5);
}

.swatches span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-block: var(--s-5) var(--s-4);
}

.fine {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-frame {
  position: relative;
  isolation: isolate;
}

.blob {
  --blob: 1;
  position: absolute;
  z-index: 0;
  transform: scale(var(--blob));
  pointer-events: none;
}

.blob-clay {
  width: 190px;
  height: 170px;
  top: -34px;
  right: -28px;
  background: var(--blue);
  border-radius: 58% 42% 62% 38% / 46% 58% 42% 54%;
}

.blob-moss {
  width: 130px;
  height: 150px;
  left: -36px;
  bottom: 18px;
  background: var(--yellow);
  border-radius: 46% 54% 40% 60% / 58% 38% 62% 42%;
}

.blob-sand {
  width: 78px;
  height: 78px;
  right: 18%;
  bottom: -22px;
  background: #7f8fc4;
  border-radius: 50% 50% 46% 54%;
}

.hero-frame picture {
  display: block;
  width: 100%;
  overflow: hidden;
  --photo-r: 22px;
  border-radius: var(--photo-r);
  box-shadow: 0 22px 40px rgba(28, 25, 22, 0.14);
}

.hero-frame .portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(520px, calc(100vh - var(--header) - 96px));
  object-fit: cover;
  object-position: left center;
  border-radius: 0;
  transform: none;
}

.photo-label {
  position: absolute;
  left: var(--s-4);
  top: var(--s-4);
  margin: 0;
  padding: var(--s-2) var(--s-3);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.92);
  font-size: 0.86rem;
  font-weight: 600;
}

.inset {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  width: min(46%, 210px);
  margin: 0;
  border: 5px solid var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.inset img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 20%;
}

.step strong {
  display: block;
}

.section,
[id] {
  scroll-margin-top: calc(var(--header) + var(--s-4));
}

.section {
  padding-block: var(--section);
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-6);
  align-items: end;
  margin-bottom: var(--head-gap);
}

.section-head p:last-child {
  margin-bottom: 0;
}

.jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  align-items: stretch;
}

.job {
  position: relative;
  background: var(--cream);
  border-radius: 16px;
  padding: var(--s-5);
  border-top: 4px solid var(--chip, var(--clay));
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}

.job > * {
  position: relative;
  z-index: 1;
}

.job::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--chip);
  opacity: 0.1;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1);
  pointer-events: none;
}

.job::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 18%;
  bottom: 8px;
  width: 8px;
  height: 12px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--chip);
  box-shadow: 26px 5px 0 -1px var(--chip), 52px 1px 0 -2px var(--chip);
  opacity: 0;
  transform: translateY(-12px);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1) 0.32s, opacity 0.5s ease 0.32s;
  pointer-events: none;
}

.job:nth-child(6n + 1) { --chip: var(--blue); }
.job:nth-child(6n + 2) { --chip: var(--blue-deep); }
.job:nth-child(6n + 3) { --chip: var(--blue); }
.job:nth-child(6n + 4) { --chip: #7f8fc4; }
.job:nth-child(6n + 5) { --chip: var(--yellow); }
.job:nth-child(6n + 6) { --chip: #3d4c66; }

.job-index {
  margin: 0 0 var(--s-3);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.job h3 {
  margin: 0 0 var(--s-2);
}

.job p:last-of-type {
  color: var(--muted);
  margin: 0;
}

.text-link {
  color: var(--pine);
  font-weight: 600;
  text-underline-offset: 3px;
}

.more-note {
  margin: var(--s-5) 0 0;
  color: var(--muted);
}

.band {
  padding-bottom: var(--s-3);
}

.band img {
  width: 100%;
  height: min(62vh, 540px);
  object-fit: cover;
  object-position: center 18%;
  border-radius: 22px;
}

.band figcaption {
  margin-top: var(--s-3);
  color: var(--muted);
  font-size: 0.92rem;
}

.profile {
  padding-block: var(--s-7);
}

.profile-line {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: var(--s-7);
  align-items: center;
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-blob {
  position: relative;
  margin: 0;
  width: min(100%, 280px);
}

.profile-blob::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -2% -12% -8% -8%;
  background: var(--blue);
  border-radius: 42% 58% 36% 64% / 58% 34% 66% 42%;
  transform: rotate(-14deg);
}

.profile-blob img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  object-position: center 100%;
  overflow: hidden;
  transform: scale(1.08);
  transform-origin: 58% 62%;
  border-radius: 62% 38% 46% 54% / 42% 58% 36% 64%;
}

.profile-line h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.profile-line p:last-child {
  margin: 0;
  color: var(--muted);
}

.team .section-head {
  grid-template-columns: 1fr;
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: var(--s-7);
  align-items: start;
}

.team-person {
  position: sticky;
  top: calc(var(--header) + var(--s-6));
  align-self: start;
}

.team .profile-blob picture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 62% 38% 46% 54% / 42% 58% 36% 64%;
}

.team .profile-blob img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-position: 38% 56%;
  transform: scale(1.72);
  transform-origin: 36% 54%;
  border-radius: 0;
}

.team-name {
  margin: var(--s-4) 0 var(--s-1);
  font-weight: 600;
  font-size: 1.2rem;
}

.team-role {
  margin: 0;
  color: var(--muted);
}

.team-copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  max-width: 65ch;
}

.team-copy h3 {
  margin: 0 0 var(--s-3);
  font-size: 1.35rem;
}

.team-copy p {
  margin: 0 0 var(--s-4);
}

.team-lead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-5);
  align-items: start;
}

.team-lead p:last-child {
  margin-bottom: 0;
}

.team-stat {
  margin: 0;
}

.team-stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 5vw, 4.25rem);
  line-height: 0.9;
  color: var(--blue);
}

.team-stat span {
  display: block;
  margin-top: var(--s-2);
  max-width: 9rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.3;
}

.team-more summary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  width: fit-content;
  color: var(--pine);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}

.team-more summary::-webkit-details-marker,
.team-more summary::marker {
  content: none;
  display: none;
}

.team-more summary::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.team-more[open] summary::after {
  transform: rotate(225deg);
}

.team-more .when-open {
  display: none;
}

.team-more[open] .when-closed {
  display: none;
}

.team-more[open] .when-open {
  display: inline;
}

.team-more summary:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 3px;
}

.team-more-body {
  padding-top: var(--s-4);
}

.team-more-body h3 {
  margin-top: var(--s-5);
}

.team-more-body p:last-child {
  margin-bottom: 0;
}

.team-promise {
  position: relative;
  padding: var(--s-6);
  border-radius: 16px;
  background: var(--blue);
  color: var(--cream);
}

.team-promise::before {
  content: "";
  position: absolute;
  top: var(--s-4);
  left: var(--s-5);
  width: 36px;
  height: 24px;
  background: var(--yellow);
  border-radius: 62% 38% 55% 45% / 42% 68% 32% 58%;
  transform: rotate(-12deg);
}

.team-promise h3,
.team-promise p {
  color: var(--cream);
}

.team-promise h3 {
  margin-top: var(--s-5);
}

.team-promise-note {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.team-sign {
  margin: var(--s-4) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .team-more summary::after {
    transition: none;
  }
}

.team-quote {
  margin: 0;
  padding: 0 0 0 var(--s-4);
  border-left: 3px solid var(--blue);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.team-quote p {
  margin: 0;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
}

.values li {
  background: var(--cream);
  border-radius: 16px;
  padding: var(--s-5);
}

.values strong {
  display: block;
  font-weight: 600;
}

.values strong::before {
  content: "";
  display: block;
  width: 28px;
  height: 22px;
  margin-bottom: var(--s-3);
  background: var(--yellow);
  border-radius: 62% 38% 55% 45% / 42% 68% 32% 58%;
}

.values span {
  display: block;
  margin-top: var(--s-2);
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.step b {
  display: block;
  margin-bottom: var(--s-2);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--clay-deep);
}

.step strong {
  font-size: 1.35rem;
  margin-bottom: var(--s-2);
}

.step p {
  margin: 0;
  color: var(--muted);
}

#ablauf h2 {
  margin-bottom: var(--head-gap);
}

.reviews-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-5);
  margin-bottom: var(--head-gap);
}

.reviews-top h2 {
  margin-bottom: 0;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: var(--s-2) var(--s-4) var(--s-2) var(--s-3);
  text-decoration: none;
  flex-shrink: 0;
}

.google-badge__logo {
  width: 28px;
  height: 28px;
}

.google-badge__rating {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.78rem;
  color: var(--muted);
}

.google-badge__score {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.google-badge__stars {
  color: #f5b400;
  letter-spacing: 1px;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "prev view next"
    "dots dots dots";
  align-items: center;
  gap: var(--s-3) var(--s-4);
}

.slide-prev { grid-area: prev; }
.slide-next { grid-area: next; }
.slide-viewport { grid-area: view; }
.slide-dots { grid-area: dots; }

.slide-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.slide-btn:hover {
  background: var(--pine);
  color: var(--cream);
  border-color: var(--pine);
}

.slide-viewport {
  overflow: hidden;
  border-radius: 18px;
}

.reviews-carousel .slide-track {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 0;
  transition: transform 0.45s ease;
}

.reviews-carousel .google-review {
  flex: 0 0 100%;
  box-sizing: border-box;
}

.slide-dots {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-2);
}

.slide-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d5cdc3;
  cursor: pointer;
}

.slide-dot[aria-current="true"] {
  width: 26px;
  background: var(--clay);
}

.google-review {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.google-review__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: min(100%, 62ch);
  margin-inline: auto;
}

.google-review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.google-review__avatar--blue { background: #6e8fa8; }
.google-review__avatar--green { background: #6fa585; }
.google-review__avatar--rose { background: #c9a0a0; }
.google-review__avatar--orange { background: #d89761; }
.google-review__avatar--teal { background: #5ba7a0; }
.google-review__avatar--purple { background: #9b7bb8; }

.google-review__name {
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
}

.google-review__stars {
  margin: var(--s-1) 0 0;
  color: #f5b400;
  letter-spacing: 1px;
  font-size: 0.92rem;
  line-height: 1;
}

.google-review__text {
  width: min(100%, 62ch);
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s-7);
  align-items: start;
}

.phone-link {
  display: inline-block;
  margin-block: var(--s-2) var(--s-4);
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}

.phone-link:hover {
  color: var(--clay-deep);
}

.contact-card {
  background: var(--cream);
  border-radius: 22px;
  padding: var(--s-6);
}

.contact-card h3 {
  font-size: 1.35rem;
}

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-2) var(--s-4);
  margin: 0 0 var(--s-4);
}

.hours dt {
  font-weight: 600;
}

.hours dd {
  margin: 0;
}

.footer {
  padding-block: var(--s-7);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  align-items: end;
}

.footer a {
  color: var(--ink);
}

.footer p {
  margin: var(--s-1) 0 0;
}

.page-hero {
  padding-block: var(--s-8) 0;
}

.page-hero h1 {
  margin-bottom: var(--s-5);
}

.prose {
  max-width: 68ch;
  padding-bottom: var(--section);
}

.prose h2 {
  font-size: 1.7rem;
  margin-top: var(--s-7);
}

.print-logo {
  display: none;
}

.withdraw-notice,
.withdraw-form {
  margin-top: var(--s-5);
  padding: var(--s-6);
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--cream);
}

.withdraw-notice h2:first-child {
  margin-top: 0;
}

.withdraw-form p {
  margin: 0 0 var(--s-3);
}

.withdraw-field {
  margin-top: var(--s-4);
}

.write-line {
  display: block;
  height: 2em;
  margin: 0 0 var(--s-2);
  border-bottom: 1px dotted var(--ink);
}

.no-print {
  margin-top: var(--s-5);
}

@media (max-width: 1100px) {
  :root {
    --header: 96px;
  }

  .logo img {
    height: 78px;
  }

  .nav-burger {
    display: grid;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + var(--s-2));
    left: 0;
    right: 0;
    margin: 0;
    padding: var(--s-5);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
    background: var(--cream);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav a {
    width: 100%;
    padding: var(--s-3) var(--s-2);
    font-size: 1.1rem;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }
}

@media (max-width: 900px) {
  .profile-blob {
    width: min(100%, 240px);
  }

  .team .profile-blob {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .team-person {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team .values {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .section-head,
  .profile-line,
  .team-grid,
  .contact-grid,
  .jobs {
    grid-template-columns: 1fr;
  }

  .reviews-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-line {
    gap: var(--s-3);
  }

  .hero {
    gap: var(--s-5);
    padding-block: var(--s-5) var(--s-4);
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .slogan {
    font-size: 1.6rem;
  }

  .claims {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-2);
  }

  .hero-frame {
    order: -1;
  }

  .hero-frame picture {
    --photo-r: 18px;
  }

  .hero-frame .portrait {
    aspect-ratio: 16 / 9;
    max-height: none;
    object-position: left center;
    transform: none;
  }

  .blob {
    --blob: 0.6;
  }

  .photo-label {
    top: auto;
    bottom: var(--s-4);
  }

}

.call-num {
  display: none;
}

@media (min-width: 981px) {
  .call-num {
    display: inline;
  }

  .call-short {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .jobs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.7rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .slogan {
    font-size: 1.6rem;
  }

  .reviews-carousel {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "view view view"
      "prev dots next";
  }

  .slide-viewport {
    width: 100%;
    min-width: 0;
  }

  .google-review {
    padding: var(--s-5);
  }

  #anfrage .actions {
    flex-direction: column;
    align-items: stretch;
  }

  #anfrage .actions .btn {
    width: 100%;
  }

  .hero-frame picture {
    --photo-r: 18px;
  }

  .brush {
    bottom: 0.1em;
  }

  .inset {
    width: 42%;
  }

  .inset img {
    height: 150px;
  }
}

.js .hero-frame .portrait {
  clip-path: inset(0 0 100% 0 round var(--photo-r));
}

.js .hero-frame.is-rolling .portrait {
  animation: roller-reveal 1.1s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.js .hero-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background: var(--clay);
  border-radius: 0 0 10px 10px;
  opacity: 0;
  pointer-events: none;
}

.js .hero-frame.is-rolling::after {
  animation: roller-edge 1.1s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.js .blob {
  opacity: 0;
  transform: scale(calc(var(--blob) * 0.6));
}

.js .hero-frame.is-open .blob {
  animation: blob-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.js .hero-frame.is-open .blob-moss { animation-delay: 0.12s; }
.js .hero-frame.is-open .blob-sand { animation-delay: 0.24s; }

.js .brush path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.js .hero.is-open .brush path {
  animation: brush-draw 0.8s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.js h2.is-marked::before {
  animation: brush-hl 0.7s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

@media (hover: hover) {
  .job:hover,
  .job:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(28, 25, 22, 0.1);
  }

  .job:hover::before,
  .job:focus-within::before {
    transform: scaleY(1);
  }

  .job:hover::after,
  .job:focus-within::after {
    opacity: 0.45;
    transform: translateY(0);
  }

  .job:hover .job-index,
  .job:focus-within .job-index {
    color: var(--chip);
  }
}

@media (hover: none) {
  .js .job.is-wet {
    animation: job-rise 0.9s cubic-bezier(0.7, 0, 0.2, 1);
  }

  .js .job.is-wet::before {
    animation: job-wash 0.9s cubic-bezier(0.7, 0, 0.2, 1) forwards;
  }

  .js .job.is-wet::after {
    animation: job-drip 0.55s cubic-bezier(0.7, 0, 0.2, 1) 0.34s forwards;
  }

  .js .job.is-wet .job-index {
    color: var(--chip);
  }
}

@keyframes roller-reveal {
  to { clip-path: inset(0 0 0 0 round var(--photo-r)); }
}

@keyframes roller-edge {
  0% { opacity: 1; transform: translate3d(0, 0, 0); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(0, var(--roll-y, 0px), 0); }
}

@keyframes blob-in {
  to { opacity: 1; transform: scale(var(--blob)); }
}

@keyframes brush-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes brush-hl {
  to { transform: rotate(-1deg) scaleX(1); opacity: 0.35; }
}

@keyframes job-rise {
  0% { transform: translateY(0); }
  42% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@keyframes job-wash {
  to { transform: scaleY(1); }
}

@keyframes job-drip {
  to { opacity: 0.45; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reviews-carousel .slide-track {
    transition: none;
  }

  .js .hero-frame .portrait,
  .js .hero-frame::after,
  .js .blob,
  .js .brush path,
  h2::before,
  .job,
  .job::before,
  .job::after {
    animation: none;
  }

  .js .hero-frame .portrait {
    clip-path: none;
  }

  .js .hero-frame::after {
    opacity: 0;
  }

  .js .blob {
    opacity: 1;
    transform: scale(var(--blob));
  }

  .js .brush path {
    stroke-dashoffset: 0;
  }

  h2::before {
    transform: rotate(-1deg) scaleX(1);
    opacity: 0.35;
  }

  .job,
  .job::before,
  .job::after {
    transition: none;
  }

  .job:hover,
  .job:focus-within {
    transform: none;
    box-shadow: none;
  }

  .job::before {
    opacity: 0;
  }
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

.work-card,
.work-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  color: var(--muted);
  font-size: 0.92rem;
}

.work-card[hidden] {
  display: none;
}

.work-shot {
  text-decoration: none;
}

.work-card button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 22px;
}

.work-card img,
.work-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  background: var(--cream);
}

.work-card.pos-rot img {
  object-position: center 46%;
}

.work-card.pos-gelb img,
.work-shot.pos-gelb img {
  object-position: center 100%;
}

.work-card figcaption {
  margin: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--head-gap);
}

.filter {
  min-height: 44px;
  padding: 0 var(--s-4);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.filter[aria-pressed="true"] {
  background: var(--blue);
  color: var(--cream);
  border-color: var(--blue);
}

.work-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  display: grid;
  grid-template-columns: minmax(0, min(40%, 440px)) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line);
}

.work-item.is-title {
  align-items: center;
}

.work-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.work-item[hidden] {
  display: none;
}

.work-photo {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: none;
  cursor: zoom-in;
  box-shadow: 0 18px 40px rgba(28, 25, 22, 0.14);
}

.work-photo picture,
.work-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.work-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-photos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  width: 100%;
  min-width: 0;
}

.work-photos .work-photo {
  max-width: none;
}

.work-photo--more {
  width: 33%;
}

.work-cat {
  display: inline-block;
  margin: 0 0 var(--s-3);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.work-copy h2 {
  margin: 0 0 var(--s-3);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  text-wrap: balance;
  hyphens: auto;
}

.work-item.is-title .work-copy h2 {
  margin-bottom: 0;
}

.work-copy h2::before {
  content: none;
}

.work-copy > p:not(.work-cat) {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

.preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
}

.preview a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  min-width: 0;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .preview { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .work-item,
  .work-item.is-title {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .work-photo {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .team-lead {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .team .values {
    grid-template-columns: 1fr;
  }
}

.gallery {
  padding-bottom: var(--section);
}

.lightbox {
  width: min(960px, calc(100vw - var(--s-6)));
  max-height: calc(100vh - var(--s-6));
  border: 0;
  padding: var(--s-4);
  background: var(--cream);
  border-radius: 22px;
}

.lightbox::backdrop {
  background: rgba(28, 25, 22, 0.72);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: var(--paper);
  border-radius: 16px;
}

.lightbox p {
  margin: var(--s-3) 0 0;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--cream);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(28, 25, 22, 0.06);
  padding-block: var(--s-4);
}

.hinweis-ok .cookie {
  display: none;
}

.cookie-row {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.cookie p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie .btn {
  flex: 0 0 auto;
}

.wa-sticky {
  position: fixed;
  right: var(--s-4);
  bottom: var(--s-4);
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 52px;
  padding: 0 var(--s-4) 0 var(--s-3);
  border-radius: 999px;
  background: #1f7a4d;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(28, 25, 22, 0.18);
}

html:not(.hinweis-ok) .wa-sticky {
  bottom: calc(var(--cookie-h, 96px) + var(--s-3));
}

.wa-sticky svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.footer {
  padding-bottom: calc(var(--s-7) + 76px);
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .cookie-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .wa-sticky {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }

  .wa-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

@property --paint {
  syntax: "<color>";
  inherits: true;
  initial-value: #3e466a;
}

.can {
  --can-size: 56px;
  --paint: var(--clay);
  width: var(--can-size);
  height: var(--can-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 22% 14% at 38% 33%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(circle closest-side, var(--paint) 0 74%, color-mix(in srgb, var(--paint) 72%, #000) 79%, #6f6f6f 81%, transparent 82%),
    conic-gradient(from 200deg, #f7f7f7, #a8a8a8 18%, #ededed 34%, #8d8d8d 52%, #f4f4f4 68%, #b4b4b4 84%, #f7f7f7);
  box-shadow: 0 12px 24px rgba(28, 25, 22, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.18);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.tile--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.tile-num {
  position: absolute;
  z-index: 2;
  top: var(--s-3);
  left: var(--s-3);
  min-width: 2.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.tile picture,
.shot picture,
.work-card picture {
  position: absolute;
  inset: 0;
  display: block;
}

.tile img,
.shot img,
.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: var(--pos, center);
  border-radius: 0;
  background: var(--cream);
}

.tile-text {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: var(--s-2);
  inset: auto 0 0 0;
  padding: var(--s-5);
  text-align: left;
  color: var(--cream);
}

.tile:not(.tile--color) .tile-text {
  padding: var(--s-8) var(--s-4) var(--s-4);
  background: linear-gradient(to top, rgba(31, 40, 82, 0.88), transparent);
}

.tile-text h3 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.15;
  hyphens: auto;
}

.tile-text span {
  display: block;
  color: var(--cream);
}

.tile-short {
  hyphens: auto;
}

.tile:not(.tile--color) .tile-short {
  color: rgba(255, 252, 248, 0.85);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.tile-more {
  align-self: flex-end;
  margin-top: var(--s-1);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 600;
}

.tile--color {
  background: var(--tile);
  color: var(--tile-ink);
}

.tile--color .can {
  --can-size: 74px;
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  z-index: 1;
  transition: transform 0.4s ease;
}

.tile--color .tile-text {
  background: none;
  color: var(--tile-ink);
}

.tile--color .tile-text h3,
.tile--color .tile-text span {
  color: var(--tile-ink);
}

.tile--tapete { --tile: var(--yellow); --tile-ink: var(--ink); }
.tile--tapete .can { --paint: var(--cream); }
.tile--boden { --tile: var(--pine); --tile-ink: var(--cream); }
.tile--boden .can { --paint: #7f8fc4; }
.tile--cta { --tile: var(--blue); --tile-ink: var(--cream); }
.tile--cta .can { --paint: var(--yellow); }

.tile--cta .tile-text { align-items: flex-start; }

.shots,
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot,
.work-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  min-width: 0;
  color: var(--cream);
  text-decoration: none;
}

.work-card button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  cursor: zoom-in;
}

.shot-cap,
.work-card figcaption {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: var(--s-4);
  color: var(--cream);
  background: linear-gradient(transparent, rgba(31, 40, 82, 0.85));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.shot--rot { --pos: center 46%; }
.shot--gelb { --pos: center 78%; }
.work-card.pos-rot { --pos: center 46%; }
.work-card.pos-gelb { --pos: center 100%; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev { left: var(--s-3); }
.lightbox-next { right: var(--s-3); }

.spill {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--s-7);
  align-items: center;
}

.spill-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.step-1 { --step: var(--blue); }
.step-2 { --step: #7f8fc4; }
.step-3 { --step: var(--yellow); }
.step-4 { --step: var(--blue-deep); }

.step-can {
  --can-size: 60px;
  --paint: var(--step);
  margin-bottom: var(--s-2);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.05rem;
  transition: --paint 0.45s ease, transform 0.45s ease, color 0.45s ease;
}

.step-2 .step-can,
.step-3 .step-can { color: var(--ink); }

html.motion .step-can {
  --paint: #e9e3d8;
  color: var(--muted);
  transform: none;
}

html.motion .step.is-filled .step-can {
  --paint: var(--step);
  color: var(--cream);
  transform: rotate(-8deg);
}

html.motion .step-2.is-filled .step-can,
html.motion .step-3.is-filled .step-can { color: var(--ink); }

.tile:focus-visible,
.shot:focus-visible,
.work-card button:focus-visible,
.work-photo:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible,
.leistung-close:focus-visible,
.leistung-prev:focus-visible,
.leistung-next:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: -3px;
}

@media (hover: hover) {
  .tile:not(.tile--color):hover img,
  .tile:not(.tile--color):focus-visible img { transform: scale(1.04); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile:not(.tile--color) .tile-text { transition: padding-top 0.35s ease; }

  .tile img,
  .shot img,
  .work-card img { transition: transform 0.6s ease; }

  .shot:hover img,
  .shot:focus-visible img,
  .work-card:hover img,
  .work-card:focus-within img { transform: scale(1.06); }

  .shot:hover .shot-cap,
  .shot:focus-visible .shot-cap,
  .work-card:hover figcaption,
  .work-card:focus-within figcaption {
    opacity: 1;
    transform: translateY(0);
  }

  .tile--color:hover .can { transform: rotate(-14deg); }
}

@media (hover: none) {
  .shot-cap,
  .work-card figcaption { display: none; }
}

@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile--wide { aspect-ratio: 2 / 1; }
  .tile--cta { grid-column: span 2; aspect-ratio: 2 / 1; }
  .shots { grid-template-columns: 1fr 1fr; }
  .spill { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card figcaption,
  .shot-cap { display: none; }
}

@media (max-width: 560px) {
  .logo img { height: 64px; }

  .tiles { grid-template-columns: 1fr; }
  .tile,
  .tile--wide,
  .tile--cta {
    grid-column: auto;
    aspect-ratio: 5 / 4;
  }
  .tile--color { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo .can,
  .tile--color .can,
  .step-can,
  .tile img,
  .shot img,
  .work-card img,
  .tile-text,
  .shot-cap,
  .work-card figcaption {
    transition: none;
  }

  .logo:hover .can,
  .logo:focus-visible .can { transform: none; }
}

.leistung-dialog {
  width: min(960px, calc(100% - var(--s-6)));
  max-height: calc(100dvh - var(--s-6));
  margin: auto;
  padding: var(--s-5);
  border: 0;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.leistung-dialog[open] {
  display: flex;
  flex-direction: column;
}

.leistung-dialog::backdrop {
  background: rgba(28, 25, 22, 0.55);
}

html.dialog-open,
html.dialog-open body {
  overflow: hidden;
}

.leistung-close,
.leistung-prev,
.leistung-next {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.leistung-close {
  position: absolute;
  z-index: 2;
  top: var(--s-3);
  right: var(--s-3);
}

.leistung-scroll {
  overflow: auto;
  min-height: 0;
}

.leistung-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--s-5);
  align-items: stretch;
}

.leistung-photo-wrap {
  position: relative;
  min-width: 0;
}

.leistung-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 16px;
}

.leistung-prev,
.leistung-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.leistung-prev { left: var(--s-3); }
.leistung-next { right: var(--s-3); }

.leistung-copy {
  min-width: 0;
  padding-top: var(--s-2);
  padding-right: 52px;
}

.leistung-num {
  position: static;
  display: inline-block;
  margin: 0 0 var(--s-3);
}

.leistung-dialog h2 {
  margin: 0 0 var(--s-4);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.15;
  hyphens: auto;
}

.leistung-dialog h2::before { content: none; }

.leistung-text p:last-child { margin-bottom: 0; }

.leistung-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}

@media (max-width: 700px) {
  .leistung-dialog[open] {
    width: calc(100% - var(--s-4));
    height: calc(100dvh - var(--s-4));
    max-height: calc(100dvh - var(--s-4));
    padding: var(--s-3);
    border-radius: 16px;
  }

  .leistung-layout { grid-template-columns: 1fr; }

  .leistung-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .leistung-copy { padding-right: 0; }
}

@media print {
  .header,
  .footer,
  .cookie,
  .wa-sticky,
  .skip,
  .no-print,
  .page-hero {
    display: none;
  }

  body,
  .prose,
  .prose a {
    background: #fff;
    color: #000;
  }

  .print-logo {
    display: block;
    width: 160px;
    height: auto;
    margin: 0 0 var(--s-5);
  }

  .prose {
    max-width: none;
    padding-bottom: 0;
  }

  .withdraw-notice,
  .withdraw-form {
    background: #fff;
    color: #000;
    border-color: #000;
  }

  .write-line {
    border-bottom-color: #000;
  }

  .withdraw-print {
    break-before: page;
  }

  .withdraw-print h2 {
    margin-top: 0;
  }

  .withdraw-form {
    break-inside: avoid;
  }

  h2::before {
    content: none;
  }
}
