/* ==========================================================================
   Malermeister Julian Yanko – Stylesheet
   1 Schriften · 2 Tokens · 3 Basis · 4 Layout · 5 Bausteine · 6 Sektionen
   ========================================================================== */

/* 1 Schriften (selbst gehostet, SIL Open Font License) ------------------- */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* 2 Tokens --------------------------------------------------------------- */
:root {
  --c-ink: #0e0e0f;          /* dunkle Sektionen */
  --c-ink-deep: #09090a;     /* Fußbereich */
  --c-ink-card: #19191c;     /* Karten auf Dunkel */
  --c-ink-line: #2a2a2e;     /* Linien auf Dunkel */
  --c-cream: #f6f3ee;        /* helle Sektionen */
  --c-cream-deep: #ece6dc;
  --c-paper: #ffffff;
  --c-line: #e3ddd2;         /* Linien auf Hell */
  --c-text: #1b1b1c;
  --c-text-soft: #5e5b57;    /* 6,1 : 1 auf Creme */
  --c-on-dark: #f3efe8;
  --c-on-dark-soft: #a8a39b; /* 7,7 : 1 auf Fast-Schwarz */
  --c-gold: #b8924a;         /* Akzent; Schrift darauf immer dunkel */
  --c-gold-light: #cfa95c;
  --c-gold-text: #80622a;    /* kleine Goldschrift auf Hell, 5,1 : 1 */
  --c-whatsapp: #25d366;

  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 84px;
  --radius: 2px;
  --shadow: 0 22px 44px -26px rgba(14, 14, 15, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1079px) {
  :root { --header-h: 72px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-underline-offset: .2em; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.005em;
  text-wrap: balance;
}

/* Cormorant setzt Ziffern sonst als Mediävalziffern – bei Zahlen und Telefonnummern stören die */
.facts__value,
.rating-summary__score,
.phone-band a { font-variant-numeric: lining-nums; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

::selection { background: var(--c-gold); color: var(--c-ink); }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--c-gold);
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* 4 Layout --------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--light { background: var(--c-cream); color: var(--c-text); }
.section--paper { background: var(--c-paper); color: var(--c-text); }
.section--dark { background: var(--c-ink); color: var(--c-on-dark); }
.section--tight-top { padding-top: clamp(16px, 3vw, 40px); }

/* Dunkle Flächen 1 px nach unten verlängern: verhindert helle Haarlinien zwischen
   zwei dunklen Sektionen bei krummen Pixelwerten (z. B. 125 % Bildschirmskalierung) */
.hero,
.page-hero--dark,
.section--dark,
.facts,
.call-band,
.phone-band { box-shadow: 0 1px 0 var(--c-ink); }

/* Erste Sektion einer Unterseite ohne Seitenkopf: Platz für den fixierten Header */
.page-intro { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); }

.note { max-width: 46rem; margin: 40px auto 0; font-size: .9375rem; text-align: center; color: var(--c-text-soft); }
.link-row { margin-top: 36px; text-align: center; }

.section-head { max-width: 680px; margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(2.25rem, 1.55rem + 2.3vw, 3.4rem); }
.section-head__sub { margin: 14px 0 0; font-size: 1rem; font-weight: 500; }
.section-head__text { margin: 10px 0 0; font-size: .9375rem; color: var(--c-text-soft); }
.section--dark .section-head__text { color: var(--c-on-dark-soft); }

.section-cta { display: flex; justify-content: center; margin-top: 52px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--light .eyebrow { color: var(--c-gold-text); }

/* 5 Bausteine ------------------------------------------------------------ */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 48px;
  padding: .8em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 .8125rem/1.2 var(--font-sans);
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn--gold { background: var(--c-gold); color: var(--c-ink); }
.btn--gold:hover { background: var(--c-gold-light); }
.btn--ghost { border-color: rgba(243, 239, 232, .5); color: var(--c-on-dark); }
.btn--ghost:hover { border-color: var(--c-gold-light); color: var(--c-gold-light); }
.btn--line { border-color: var(--c-text); color: var(--c-text); }
.btn--line:hover { background: var(--c-text); color: var(--c-cream); }
.btn--sm { min-height: 40px; padding: .6em 1.2em; font-size: .75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--c-gold-text);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
a:hover .link-arrow .icon { transform: translateX(4px); }

.stars { display: inline-flex; gap: 3px; color: var(--c-gold); }
.stars .icon { width: 17px; height: 17px; }

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--c-on-dark);
}
/* Hintergrund als eigene Ebene: backdrop-filter direkt am Header würde
   das fixierte Mobilmenü auf die Header-Höhe beschneiden. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(14, 14, 15, .94);
  box-shadow: 0 1px 0 rgba(243, 239, 232, .07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.header[data-theme="dark"].is-scrolled::before,
.header[data-theme="dark"].is-open::before { opacity: 1; }
.header[data-theme="light"] {
  background: var(--c-cream);
  box-shadow: 0 1px 0 var(--c-line);
  color: var(--c-text);
}

.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__brand { flex: none; display: block; }
.header__brand img { width: auto; height: 50px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(18px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.nav__list a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: none; }
.nav__contact { display: none; }

.header__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.header__toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.header__toggle span:nth-child(1) { top: 15px; }
.header__toggle span:nth-child(2) { top: 21px; }
.header__toggle span:nth-child(3) { top: 27px; }
.header.is-open .header__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.is-open .header__toggle span:nth-child(2) { opacity: 0; }
.header.is-open .header__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1079px) {
  .header__brand img { height: 38px; }
  .header__cta { display: none; }
  .header__toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    margin: 0;
    padding: 24px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--c-ink);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .header[data-theme="light"] .nav { background: var(--c-cream); }
  .header.is-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    padding: 14px 0;
    border-bottom: 1px solid var(--c-ink-line);
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
  }
  .header[data-theme="light"] .nav__list a { border-color: var(--c-line); }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { color: var(--c-gold); }
  .nav__contact { display: grid; gap: 12px; margin-top: 32px; }
  .header[data-theme="light"] .nav__contact .btn--ghost { border-color: var(--c-text); color: var(--c-text); }
}

/* Mobile Kontaktleiste */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--c-ink);
  box-shadow: 0 -10px 30px rgba(14, 14, 15, .25);
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
.action-bar__call { background: var(--c-gold); color: var(--c-ink); }
.action-bar__wa { color: var(--c-on-dark); }
.action-bar__wa .icon { color: var(--c-whatsapp); }

@media (max-width: 860px) {
  .action-bar { display: grid; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* Einblenden beim Scrollen (nur mit JavaScript) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* 6 Sektionen ------------------------------------------------------------ */

/* Hero (Startseite) */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(640px, 100svh, 980px);
  overflow: hidden;
  background: var(--c-ink);
  color: var(--c-on-dark);
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 14, 15, .75) 0%, rgba(14, 14, 15, 0) 24%),
    linear-gradient(0deg, rgba(14, 14, 15, .97) 0%, rgba(14, 14, 15, 0) 36%),
    linear-gradient(90deg, rgba(14, 14, 15, .95) 0%, rgba(14, 14, 15, .84) 36%, rgba(14, 14, 15, .42) 70%, rgba(14, 14, 15, .55) 100%);
}
.hero__inner {
  align-self: center;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 64px;
}
.hero h1 {
  max-width: 12em;
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 1.45rem + 3.9vw, 4.4rem);
  line-height: 1.02;
}
.hero__lead {
  max-width: 34rem;
  margin-bottom: 36px;
  font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
  color: rgba(243, 239, 232, .82);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 148px;
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(243, 239, 232, .6);
  border-radius: 12px;
  transform: translateX(-50%);
}
.hero__scroll::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--c-gold-light);
  animation: scroll-hint 2.2s var(--ease) infinite;
}
@keyframes scroll-hint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-block: 0;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(243, 239, 232, .14);
  list-style: none;
}
.trust-bar li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 500;
  text-align: center;
}
.trust-bar .icon { width: 28px; height: 28px; color: var(--c-gold); }

@media (max-width: 860px) {
  .hero__scroll { display: none; }
  .hero__inner { padding-bottom: 40px; }
  .trust-bar { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .trust-bar li { flex-direction: row; justify-content: flex-start; text-align: left; }
  .trust-bar li:last-child { grid-column: 1 / -1; }
  .trust-bar .icon { width: 24px; height: 24px; }
}

/* Leistungen */
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 28px;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}
.service-card { grid-column: span 2; }
.service-card:nth-child(n + 4) { grid-column: span 3; }
.service-card > a { display: block; color: inherit; text-decoration: none; }
.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--c-ink);
}
.service-card:nth-child(n + 4) .service-card__media { aspect-ratio: 16 / 7.2; }
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.service-card > a:hover img { transform: scale(1.045); }
.service-card h3 { margin: 22px 0 8px; font-size: 1.6rem; }
.service-card p { margin-bottom: 14px; font-size: .9375rem; color: var(--c-text-soft); }

/* Motiv, solange ein echtes Foto fehlt */
.motif {
  display: grid;
  place-items: center;
  background:
    radial-gradient(110% 90% at 25% 15%, #2b261e 0%, rgba(14, 14, 15, 0) 60%),
    var(--c-ink);
}
.motif::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(184, 146, 74, .07) 0 1px, transparent 1px 16px);
}
.motif .icon {
  position: relative;
  width: 64px;
  height: 64px;
  color: var(--c-gold);
  stroke-width: 1;
  transition: transform .9s var(--ease);
}
.service-card > a:hover .motif .icon { transform: scale(1.08); }

/* Hinweis auf Fremdbilder, damit niemand sie für eigene Arbeiten hält */
.media-note {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 8px;
  background: rgba(14, 14, 15, .72);
  color: var(--c-on-dark);
  font-size: .6875rem;
  letter-spacing: .04em;
}

/* Bildausschnitt weiter unten (z. B. Boden statt Decke) */
img.focus-low { object-position: 50% 62%; }

@media (max-width: 960px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card,
  .service-card:nth-child(n + 4) { grid-column: auto; }
  .service-card:nth-child(n + 4) .service-card__media { aspect-ratio: 16 / 10.5; }
  .service-card:last-child { grid-column: 1 / -1; }
  .service-card:last-child .service-card__media { aspect-ratio: 16 / 7.2; }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-card:last-child .service-card__media { aspect-ratio: 16 / 10.5; }
}

/* Projekte (Kacheln) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.project-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-ink-card);
  color: var(--c-on-dark);
  text-decoration: none;
}
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 14, 15, .9) 0%, rgba(14, 14, 15, .25) 45%, rgba(14, 14, 15, 0) 65%);
}
.project-tile:hover img { transform: scale(1.05); }
.project-tile__meta {
  position: absolute;
  left: 24px; right: 24px; bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 6px;
}
.project-tile__cat {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold-light);
}
.project-tile__title { font-family: var(--font-serif); font-size: 1.65rem; line-height: 1.15; }

@media (max-width: 860px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-grid > li:first-child { grid-column: 1 / -1; }
  .project-grid > li:first-child .project-tile { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-tile,
  .project-grid > li:first-child .project-tile { aspect-ratio: 4 / 3.4; }
}

/* Mein Anspruch */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about h1,
.about h2 { margin-bottom: 26px; font-size: clamp(2.25rem, 1.55rem + 2.3vw, 3.4rem); }
.about__text > p { max-width: 34rem; color: var(--c-text-soft); }
.checklist { display: grid; gap: 4px; margin: 28px 0 36px; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; padding: 6px 0; font-size: .9375rem; }
.checklist .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--c-gold-text); }
/* Das Porträt ist nur 419 px breit: ganz zeigen, aber nicht breiter, damit es scharf bleibt */
.about__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  margin: 0;
  aspect-ratio: 419 / 640;
  overflow: hidden;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.about__media figcaption {
  position: absolute;
  left: 0; bottom: 0;
  padding: 12px 18px;
  background: rgba(14, 14, 15, .82);
  color: var(--c-on-dark);
  font-size: .75rem;
  letter-spacing: .04em;
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; justify-self: center; aspect-ratio: 4 / 4.4; }
}

/* Fakten-Band */
.facts { padding-block: 46px; background: var(--c-ink); color: var(--c-on-dark); }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 0; padding: 0; list-style: none; }
.facts__list li { padding: 6px 18px; text-align: center; border-left: 1px solid var(--c-ink-line); }
.facts__list li:first-child { border-left: 0; }
.facts__value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem);
  line-height: 1.15;
  color: var(--c-gold);
}
.facts__value .icon { width: .62em; height: .62em; }
.facts__label { display: block; margin-top: 4px; font-size: .8125rem; color: var(--c-on-dark-soft); }

@media (max-width: 760px) {
  .facts__list { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .facts__list li:nth-child(3) { border-left: 0; }
}

/* Projektablauf */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--c-gold);
  opacity: .6;
}
.step { position: relative; text-align: center; }
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 0 10px var(--c-cream);
  color: var(--c-ink);
  font-weight: 600;
}
.section--paper .step__num { box-shadow: 0 0 0 10px var(--c-paper); }
.step .icon { width: 38px; height: 38px; margin: 0 auto 16px; stroke-width: 1.2; }
.step h3 { margin-bottom: 8px; font-family: var(--font-sans); font-size: .9375rem; font-weight: 600; }
.step p { max-width: 24ch; margin: 0 auto; font-size: .875rem; color: var(--c-text-soft); }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 24px; bottom: 48px; left: 23.5px; right: auto; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 22px; padding-bottom: 30px; text-align: left; }
  .step__num { grid-row: span 2; margin: 0; }
  .step .icon { display: none; }
  .step h3 { margin-top: 12px; }
  .step p { max-width: none; margin: 0; }
}

/* Anruf-Band */
.call-band { padding-block: 34px; background: var(--c-ink); color: var(--c-on-dark); }
.call-band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.call-band__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-ink);
}
.call-band__icon .icon { width: 28px; height: 28px; }
.call-band__text { flex: 1 1 300px; }
.call-band__title { margin: 0 0 2px; font-weight: 600; }
.call-band__text p:last-child { font-size: .875rem; color: var(--c-on-dark-soft); }
.call-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kundenstimmen */
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin: 30px 0 48px;
}
.rating-summary__score { font-family: var(--font-serif); font-size: 2.75rem; line-height: 1; }
.rating-summary .stars .icon { width: 20px; height: 20px; }
.rating-summary__count { font-size: .8125rem; color: var(--c-on-dark-soft); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 30px 28px;
  background: var(--c-ink-card);
  border: 1px solid var(--c-ink-line);
}
.review-card blockquote { flex: 1; margin: 0; font-size: .9375rem; line-height: 1.75; }
.review-card__author { margin: 0; font-size: .875rem; font-weight: 600; }
.review-card__author span { display: block; font-size: .8125rem; font-weight: 400; color: var(--c-on-dark-soft); }
.reviews__note {
  max-width: 62ch;
  margin: 30px auto 0;
  font-size: .75rem;
  text-align: center;
  color: var(--c-on-dark-soft);
}

@media (max-width: 900px) {
  .review-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* Kontakt */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.contact h1,
.contact h2 { margin-bottom: 18px; font-size: clamp(2.25rem, 1.55rem + 2.3vw, 3.4rem); }
.contact__intro { max-width: 30rem; color: var(--c-text-soft); }
.contact-list { display: grid; gap: 22px; margin: 36px 0 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; font-size: .9375rem; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--c-gold-text); }
.contact-list__label {
  display: block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--c-gold-text); text-decoration: underline; }

.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  color: var(--c-text);
  text-decoration: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.contact-card:hover { border-color: var(--c-gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-cream-deep);
  color: var(--c-gold-text);
}
.contact-card--primary .contact-card__icon { background: var(--c-gold); color: var(--c-ink); }
.contact-card--whatsapp .contact-card__icon { background: #e7f8ee; color: #128c4a; }
.contact-card__title { display: block; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.15; }
.contact-card__text { display: block; font-size: .875rem; color: var(--c-text-soft); }
.contact-card > .icon { width: 20px; height: 20px; color: var(--c-gold-text); transition: transform .25s var(--ease); }
.contact-card:hover > .icon { transform: translateX(4px); }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .contact-card { grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; }
  .contact-card__icon { width: 48px; height: 48px; }
  .contact-card > .icon { display: none; }
}

.phone-band { padding-block: 30px; background: var(--c-ink); color: var(--c-on-dark-soft); text-align: center; }
.phone-band p { margin: 0 0 4px; font-size: .875rem; }
.phone-band a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.25rem);
  line-height: 1.2;
  color: var(--c-on-dark);
  text-decoration: none;
}
.phone-band a:hover { color: var(--c-gold-light); }
.phone-band .icon { width: 26px; height: 26px; color: var(--c-gold); }

/* Fußbereich */
.footer {
  padding-top: 72px;
  background: var(--c-ink-deep);
  color: var(--c-on-dark-soft);
  font-size: .875rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand img { width: 200px; height: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 26ch; }
.footer__title {
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-on-dark);
}
.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--c-gold-light); text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.85; }
.footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.footer__social .icon { width: 18px; height: 18px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--c-ink-line);
  font-size: .8125rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* 7 Unterseiten ---------------------------------------------------------- */

/* Seitenkopf */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 7vw, 100px);
  text-align: center;
}
.page-hero--light { background: var(--c-cream); color: var(--c-text); }
.page-hero--dark { background: var(--c-ink); color: var(--c-on-dark); }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.page-hero h1 { max-width: 16em; margin-inline: auto; font-size: clamp(2.6rem, 1.5rem + 3.4vw, 4.2rem); }
.page-hero__sub { margin: 16px 0 0; font-weight: 500; }
.page-hero__lead { max-width: 42rem; margin: 14px auto 0; color: var(--c-text-soft); }
.page-hero--dark .page-hero__lead { color: rgba(243, 239, 232, .78); }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.page-hero__media,
.page-hero__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 14, 15, .86) 0%, rgba(14, 14, 15, .72) 50%, rgba(14, 14, 15, .94) 100%);
}

/* Sprungmarken */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.chips a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-paper);
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.chips a:hover { border-color: var(--c-gold); color: var(--c-gold-text); }

/* Leistungen im Detail */
.service-detail { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--c-line); }
.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.service-detail--flip .service-detail__media { order: 2; }
.service-detail__media { position: relative; margin: 0; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--c-ink); }
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-variant-numeric: lining-nums;
  letter-spacing: .12em;
  color: var(--c-gold-text);
}
.service-detail h2 { margin-bottom: 20px; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); }
.service-detail__text > p { max-width: 36rem; color: var(--c-text-soft); }
.service-detail .checklist { margin: 24px 0 30px; }

@media (max-width: 860px) {
  .service-detail__grid { grid-template-columns: 1fr; }
  .service-detail--flip .service-detail__media { order: 0; }
  .service-detail__media { aspect-ratio: 16 / 10; }
}

/* Projekte mit Filter */
.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  margin: 36px 0 0;
}
.filter[hidden] { display: none; }
.filter button {
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--c-on-dark-soft);
  font: 500 .8125rem/1.4 var(--font-sans);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.filter button:hover,
.filter button[aria-pressed="true"] { color: var(--c-on-dark); border-bottom-color: var(--c-gold); }

.project-list { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 28px; }
.project[hidden] { display: none; }
.project__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-ink-card);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project__media:hover img { transform: scale(1.04); }
.project__count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(14, 14, 15, .8);
  color: var(--c-on-dark);
  font-size: .75rem;
  font-weight: 500;
}
.project__count .icon { width: 16px; height: 16px; }
.project__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.project__thumbs a { display: block; width: 76px; aspect-ratio: 1; overflow: hidden; opacity: .7; transition: opacity .2s var(--ease); }
.project__thumbs a:hover,
.project__thumbs a:focus-visible { opacity: 1; }
.project__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.project__body { padding-top: 24px; }
.project__cat {
  margin: 0;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold-light);
}
.project h2 { margin: 8px 0 12px; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); }
.project__text { max-width: 36rem; color: var(--c-on-dark-soft); }
.project__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--c-ink-line);
  font-size: .8125rem;
}
.project__facts div { display: flex; gap: 8px; }
.project__facts dt { color: var(--c-on-dark-soft); }
.project__facts dd { margin: 0; }

@media (max-width: 860px) {
  .project-list { grid-template-columns: 1fr; gap: 56px; }
}

/* Lightbox */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 72px 16px;
  border: 0;
  background: rgba(9, 9, 10, .97);
  color: var(--c-on-dark);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(9, 9, 10, .9); }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; max-width: min(100%, 1100px); margin: 0; }
.lightbox__img { width: auto; max-width: 100%; max-height: calc(100svh - 190px); object-fit: contain; }
.lightbox__caption { max-width: 60ch; font-size: .875rem; text-align: center; color: var(--c-on-dark-soft); }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(243, 239, 232, .25);
  border-radius: 50%;
  background: rgba(14, 14, 15, .6);
  color: var(--c-on-dark);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.lightbox__btn:hover { border-color: var(--c-gold); color: var(--c-gold-light); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 28px; left: 24px; margin: 0; font-size: .8125rem; color: var(--c-on-dark-soft); }
.lightbox.is-single .lightbox__prev,
.lightbox.is-single .lightbox__next { display: none; }

@media (max-width: 700px) {
  .lightbox__prev,
  .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* Karten mit Symbol (Werte, Zielgruppen, Arbeitsweise) */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.values--3 { grid-template-columns: repeat(3, 1fr); }
.value { padding: 30px 26px; background: var(--c-paper); border: 1px solid var(--c-line); }
.value .icon { width: 34px; height: 34px; margin-bottom: 18px; color: var(--c-gold-text); stroke-width: 1.2; }
.value h3 { margin-bottom: 8px; font-size: 1.45rem; }
.value p { font-size: .9rem; color: var(--c-text-soft); }
.section--dark .value { background: var(--c-ink-card); border-color: var(--c-ink-line); }
.section--dark .value .icon { color: var(--c-gold); }
.section--dark .value p { color: var(--c-on-dark-soft); }

@media (max-width: 960px) {
  .values,
  .values--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .values,
  .values--3 { grid-template-columns: 1fr; }
}

/* Werdegang */
.timeline { position: relative; max-width: 720px; margin: 56px auto 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 40px;
  width: 1px;
  background: var(--c-gold);
  opacity: .6;
}
.timeline li { position: relative; padding: 0 0 36px 52px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--c-gold);
  border-radius: 50%;
  background: var(--c-cream);
}
.section--paper .timeline li::before { background: var(--c-paper); }
.timeline__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold-text);
}
.timeline h3 { margin: 4px 0 6px; font-size: 1.6rem; }
.timeline p { color: var(--c-text-soft); }

/* Zitat */
.quote { max-width: 780px; margin: 0 auto; text-align: center; }
.project-grid + .quote { margin-top: 72px; }
.contact .link-row { text-align: left; }
.quote .stars { justify-content: center; margin-bottom: 22px; }
.quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1.3;
}
.quote figcaption { margin-top: 18px; font-size: .875rem; color: var(--c-on-dark-soft); }

/* Zwei Referenz-Kacheln */
.project-grid--2 { grid-template-columns: repeat(2, 1fr); }
.project-grid--2 .project-tile { aspect-ratio: 16 / 11; }
@media (max-width: 860px) {
  .project-grid--2 > li:first-child .project-tile { aspect-ratio: 16 / 11; }
}
@media (max-width: 560px) {
  .project-grid--2 { grid-template-columns: 1fr; }
}

/* Hinweis-Kasten */
.tip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 22px;
  border-left: 3px solid var(--c-gold);
  background: var(--c-paper);
  font-size: .9rem;
  color: var(--c-text-soft);
}
.tip .icon { color: #128c4a; }
.tip strong { color: var(--c-text); }

/* Rechtstexte */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .4em; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--c-gold-text); }
.prose address { margin-bottom: 1em; font-style: normal; }
.prose__updated { margin-top: 3em; font-size: .8125rem; color: var(--c-text-soft); }

/* 404 */
.error-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: var(--c-ink);
  color: var(--c-on-dark);
  text-align: center;
}
.error-page__code {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 4rem + 8vw, 10rem);
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--c-gold);
}
.error-page h1 { margin: 12px 0 16px; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); }
.error-page p:not(.error-page__code) { max-width: 34rem; margin: 0 auto 32px; color: var(--c-on-dark-soft); }
