/* K2 Bau – Gipser, Trockenbau, Maler, Muri AG
   Aufbau: Kopfleiste oben, Vollbild-Hero, Karten, dunkles Ablauf-Band, dunkler Fuss.
   Schrift: Archivo (lokal, variable Breite). Keine Silbentrennung: Grössen so gewählt,
   dass das längste Wort jeder Überschrift ab 320 px Breite ganz auf eine Zeile passt. */

:root {
  --papier: #f6f3ec;
  --weiss: #ffffff;
  --schwarz: #141414;
  --tief: #0e0e0e;
  --text: #1d1c1a;
  --grau: #5b5750;
  --linie: #e2dccf;
  --gold: #9d7526;
  --gold-text: #7a5a1a;
  --gold-hell: #c1974a;
  --gold-hover: #d4ab5f;

  --breite: 76rem;
  --rand: clamp(1.125rem, 4vw, 2.5rem);
  --abschnitt: clamp(4rem, 2.5rem + 5vw, 7.5rem);
  --kopfhoehe: 4.5rem;
  --radius: 4px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopfhoehe) + 1rem);
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-stretch: 100%;
}

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

h1, h2, h3 {
  margin: 0;
  color: var(--schwarz);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  hyphens: manual;
  overflow-wrap: normal;
}
h1 em, h2 em { font-style: normal; color: var(--gold-text); }

p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-text); text-underline-offset: 0.18em; }
a:hover { color: var(--schwarz); }

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

.sprung {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: .75rem 1rem; background: var(--schwarz); color: var(--weiss);
  font-weight: 600; text-decoration: none;
}
.sprung:focus { top: 1rem; }

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

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

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

.marke {
  display: flex; align-items: center; gap: .625rem;
  margin: 0 0 1.25rem;
  color: var(--gold-text);
  font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  line-height: 1.3;
}
.marke::before { content: ""; flex: none; width: .4375rem; height: .4375rem; background: currentColor; transform: rotate(45deg); }
.dunkel .marke, .held .marke, .seitenkopf .marke, .aufruf .marke { color: var(--gold-hell); }

.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.55; color: var(--grau); max-width: 40rem; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .75rem 1.5rem;
  border: 2px solid var(--schwarz); border-radius: var(--radius);
  background: var(--schwarz); color: var(--weiss);
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.knopf:hover { background: #2c2a26; border-color: #2c2a26; color: var(--weiss); }
.knopf--gold { background: var(--gold-hell); border-color: var(--gold-hell); color: var(--schwarz); }
.knopf--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--schwarz); }
.knopf--rahmen { background: transparent; color: var(--schwarz); }
.knopf--rahmen:hover { background: var(--schwarz); color: var(--weiss); }
.knopf--hell { background: transparent; border-color: rgba(255,255,255,.55); color: var(--weiss); }
.knopf--hell:hover { background: var(--weiss); border-color: var(--weiss); color: var(--schwarz); }
.knopf--klein { min-height: 2.75rem; padding: .5rem 1.125rem; font-size: .9375rem; }

.aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.pfeil {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--schwarz); font-weight: 650; text-decoration: none;
  border-bottom: 2px solid var(--gold-hell); padding-bottom: .125rem;
}
.pfeil::after { content: "→"; transition: transform .2s; }
.pfeil:hover { color: var(--gold-text); }
.pfeil:hover::after { transform: translateX(3px); }

.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--papier { background: var(--papier); }
.dunkel { background: var(--schwarz); color: #d9d4ca; }
.dunkel h2, .dunkel h3 { color: var(--weiss); }

.abschnitt__kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.abschnitt__kopf > div { max-width: 44rem; }
.abschnitt__kopf h2 + p { margin-top: 1.25rem; }

h2.titel { font-size: clamp(1.875rem, 1.2rem + 3vw, 3.25rem); }
@media (min-width: 48rem) { h2.titel, .held h1, .seitenkopf h1 { font-stretch: 108%; } }

/* ---------- Kopfleiste ---------- */

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: var(--kopfhoehe); }

.kopf__marke { display: flex; align-items: center; gap: .75rem; color: var(--schwarz); text-decoration: none; }
.kopf__marke img { width: auto; height: 2.5rem; }
.kopf__name { display: flex; flex-direction: column; line-height: 1.15; }
.kopf__name strong { font-size: 1.125rem; font-weight: 800; font-stretch: 115%; letter-spacing: .04em; text-transform: uppercase; }
.kopf__name span { font-size: .75rem; color: var(--grau); letter-spacing: .03em; }
.kopf__marke:hover { color: var(--schwarz); }

.hauptnav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.hauptnav a {
  position: relative; display: block; padding: .5rem 0;
  color: var(--schwarz); font-size: .9375rem; font-weight: 600; text-decoration: none;
}
.hauptnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .125rem; height: 2px;
  background: var(--gold-hell); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.hauptnav a:hover::after, .hauptnav a[aria-current="page"]::after { transform: scaleX(1); }
.hauptnav a[aria-current="page"] { color: var(--gold-text); }

.hauptnav__extra { display: none; }
.kopf__aktion { display: flex; align-items: center; gap: 1.25rem; }
.kopf__tel { display: none; color: var(--schwarz); font-weight: 650; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.kopf__tel:hover { color: var(--gold-text); }

.menu-knopf { display: none; }

/* ohne JavaScript: Navigation als Zeile unter dem Logo */
@media (max-width: 63.99rem) {
  html:not(.js) .kopf__innen { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .hauptnav { order: 3; width: 100%; }
  html:not(.js) .kopf__aktion .knopf { display: none; }
}

@media (max-width: 63.99rem) {
  .js .menu-knopf {
    display: inline-flex; align-items: center; gap: .625rem;
    min-height: 2.75rem; padding: .5rem .875rem;
    border: 1.5px solid var(--schwarz); border-radius: var(--radius);
    background: var(--weiss); color: var(--schwarz);
    font: inherit; font-size: .9375rem; font-weight: 650; cursor: pointer;
  }
  .menu-knopf__striche, .menu-knopf__striche::before, .menu-knopf__striche::after {
    display: block; width: 1.125rem; height: 2px; background: currentColor; border-radius: 1px;
    transition: transform .2s, opacity .2s;
  }
  .menu-knopf__striche { position: relative; }
  .menu-knopf__striche::before, .menu-knopf__striche::after { content: ""; position: absolute; left: 0; }
  .menu-knopf__striche::before { top: -6px; }
  .menu-knopf__striche::after { top: 6px; }
  .menu-knopf[aria-expanded="true"] .menu-knopf__striche { background: transparent; }
  .menu-knopf[aria-expanded="true"] .menu-knopf__striche::before { transform: translateY(6px) rotate(45deg); }
  .menu-knopf[aria-expanded="true"] .menu-knopf__striche::after { transform: translateY(-6px) rotate(-45deg); }

  .js .hauptnav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--kopfhoehe)); overflow-y: auto;
    background: var(--weiss); border-bottom: 1px solid var(--linie);
    box-shadow: 0 18px 30px -18px rgba(20,20,20,.35);
    padding: .5rem var(--rand) 1.5rem;
  }
  .js .hauptnav.offen { display: block; }
  .js .hauptnav ul { display: block; }
  .js .hauptnav li { border-bottom: 1px solid var(--linie); }
  .js .hauptnav a { padding: 1rem 0; font-size: 1.25rem; font-weight: 650; }
  .js .hauptnav a::after { display: none; }
  .js .hauptnav a[aria-current="page"]::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .75rem; background: var(--gold-hell); vertical-align: middle; }
  .js .hauptnav__extra { display: grid; gap: .75rem; margin-top: 1.5rem; }
  .kopf__aktion .knopf { display: none; }
}

@media (max-width: 26rem) {
  .kopf__name span { display: none; }
  .kopf__marke img { height: 2.125rem; }
}

@media (min-width: 80rem) { .kopf__tel { display: inline; } }

/* ---------- Hero Startseite ---------- */

.held {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: clamp(32rem, calc(92svh - var(--kopfhoehe)), 52rem);
  padding-block: clamp(3rem, 2rem + 6vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: var(--tief); color: #e8e3d8;
}
.held__bild { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.held::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,12,12,.93) 0%, rgba(12,12,12,.8) 40%, rgba(12,12,12,.3) 100%),
    linear-gradient(0deg, rgba(12,12,12,.8) 0%, rgba(12,12,12,0) 50%);
}
.held__inhalt { max-width: 46rem; }
.held h1 { color: var(--weiss); font-size: clamp(2.625rem, 1.2rem + 6.2vw, 6rem); font-weight: 800; line-height: 1; text-shadow: 0 2px 30px rgba(12,12,12,.5); }
.held h1 em { color: var(--gold-hell); }
.held .lead { max-width: 33rem; margin-top: 1.5rem; color: #f2efe9; font-weight: 500; text-shadow: 0 1px 16px rgba(12,12,12,.7); }

/* Tätigkeiten als Chips – ersetzt die kleine Überschrift über dem Titel */
.taetigkeiten { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.taetigkeiten li {
  padding: .4375rem .875rem;
  border: 1px solid rgba(193,151,74,.5); border-radius: 999px;
  background: rgba(12,12,12,.4);
  color: var(--gold-hell); font-size: .875rem; font-weight: 600; line-height: 1.2;
}

/* ---------- Seitenkopf Unterseiten ---------- */

/* Feste Mindesthöhe, damit alle Unterseiten denselben Kopf haben */
.seitenkopf {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: clamp(19rem, calc(58svh - var(--kopfhoehe)), 29rem);
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--tief); color: #e3ded3;
}
/* Ab Tablet feste Höhe: alle Unterseiten sind gleich hoch, unabhängig vom Text */
@media (min-width: 60rem) { .seitenkopf { min-height: 34rem; } }
.seitenkopf > .behaelter { width: 100%; }
.seitenkopf__bild { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.seitenkopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,12,12,.9) 0%, rgba(12,12,12,.74) 46%, rgba(12,12,12,.2) 100%),
    linear-gradient(0deg, rgba(12,12,12,.55) 0%, rgba(12,12,12,0) 50%);
}
.seitenkopf h1 { color: var(--weiss); font-size: clamp(2rem, 1.1rem + 4.2vw, 4.25rem); max-width: 50rem; text-shadow: 0 2px 26px rgba(12,12,12,.45); }
.seitenkopf h1 em { color: var(--gold-hell); }
.seitenkopf .lead { max-width: 36rem; margin-top: 1.5rem; color: #f0ece4; font-weight: 500; text-shadow: 0 1px 14px rgba(12,12,12,.65); }

.seitenkopf--schlicht { min-height: 0; background: var(--papier); color: var(--text); border-bottom: 1px solid var(--linie); }
.seitenkopf--schlicht .lead { text-shadow: none; font-weight: 400; }
.seitenkopf--schlicht::before { display: none; }
.seitenkopf--schlicht h1 { color: var(--schwarz); text-shadow: none; }
.seitenkopf--schlicht h1 em { color: var(--gold-text); }
.seitenkopf--schlicht .lead { color: var(--grau); }
.seitenkopf--schlicht .marke { color: var(--gold-text); }

.pfad { margin-bottom: 2rem; font-size: .875rem; }
.pfad ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; padding: 0; list-style: none; }
.pfad li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.pfad a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.seitenkopf--schlicht .pfad a { border-bottom-color: var(--linie); }
.pfad a:hover { color: var(--gold-hell); }
.pfad [aria-current] { opacity: .75; }

/* ---------- Leistungskarten ---------- */

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
/* Dazwischen zwei Spalten, damit vier Karten nie 3 + 1 stehen */
@media (min-width: 42rem) and (max-width: 74rem) { .karten { grid-template-columns: repeat(2, 1fr); } }
.karte {
  display: flex; flex-direction: column;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .25s, transform .25s;
}
.karte:hover { box-shadow: 0 22px 40px -24px rgba(20,20,20,.35); transform: translateY(-2px); }
.karte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.karte__text { display: flex; flex-direction: column; flex: 1; padding: 1.75rem 1.5rem 1.75rem; }
.karte__nr { color: var(--gold-text); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; }
.karte h3 { margin: .5rem 0 .75rem; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); }
.karte h3 a { color: inherit; text-decoration: none; }
.karte h3 a::after { content: ""; position: absolute; inset: 0; }
.karte { position: relative; }
.karte p { color: var(--grau); font-size: 1rem; }
.karte .pfeil { margin-top: auto; align-self: flex-start; padding-top: 1rem; border-bottom: 0; }
.karte .pfeil span { border-bottom: 2px solid var(--gold-hell); }

/* ---------- Bildmosaik Startseite ---------- */

.mosaik { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.mosaik li { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--linie); }
.mosaik img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.mosaik li:hover img { transform: scale(1.03); }
.mosaik figcaption, .bildtext {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(0deg, rgba(14,14,14,.8), rgba(14,14,14,0));
  color: var(--weiss); font-size: .9375rem; font-weight: 600; line-height: 1.3;
}
.mosaik figure { margin: 0; height: 100%; }
@media (min-width: 48rem) {
  .mosaik { grid-template-columns: 1fr 1.25fr; grid-template-rows: 1fr 1fr; height: clamp(30rem, 48vw, 40rem); }
  .mosaik li:first-child { grid-row: span 2; }
  .mosaik img { aspect-ratio: auto; }
}

/* ---------- Ablauf ---------- */

/* Schritte: Kacheln mit grosser Konturziffer statt Trennstrich */
.schritte {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
  gap: 1px; margin: 0; padding: 0; list-style: none; counter-reset: schritt;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden;
}
.schritte li {
  position: relative; counter-increment: schritt; isolation: isolate;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--schwarz);
  font-size: 1rem; line-height: 1.55; color: #cfc9bd;
}
.schritte li::before {
  content: counter(schritt);
  position: absolute; z-index: -1; top: -.75rem; right: .5rem;
  font-size: 5.5rem; font-weight: 800; font-stretch: 112%; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(193,151,74,.5);
}
.schritte strong { display: block; margin-bottom: .5rem; color: var(--weiss); font-size: 1.1875rem; font-weight: 700; }

/* ---------- Über uns ---------- */

.ueber { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 56rem) { .ueber { grid-template-columns: 5fr 6fr; } }
.ueber__logo {
  display: grid; place-items: center;
  aspect-ratio: 5 / 4; padding: 12%;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
}
.ueber__logo img { width: 100%; max-width: 22rem; }
.ueber h2 { margin-bottom: 1.5rem; }
.ueber__text p + p { margin-top: 1rem; }
.ueber__zitat {
  margin: 2rem 0 0; padding: 1.25rem 0 0;
  border-top: 1px solid var(--linie);
  color: var(--schwarz); font-size: 1.125rem; font-weight: 650; font-style: italic;
}
.ueber__partner {
  margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--linie);
  display: flex; align-items: center; gap: 1.25rem;
}
.ueber__partner img { flex: none; width: 4.5rem; height: 4.5rem; opacity: .85; }
.ueber__partner .marke { margin-bottom: .375rem; }
.ueber__text .ueber__partner p + p { margin-top: 0; }

/* ---------- Aufruf-Band ---------- */

.aufruf {
  display: grid; gap: 2rem 4rem; align-items: center;
  padding: clamp(2rem, 1rem + 4vw, 4rem);
  background: var(--schwarz); color: #d9d4ca;
  border-radius: var(--radius);
  border-top: 4px solid var(--gold-hell);
}
@media (min-width: 60rem) { .aufruf { grid-template-columns: 1.3fr 1fr; } }
.aufruf h2 { color: var(--weiss); font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem); margin-bottom: 1rem; }
.aufruf .aktionen { margin-top: 1.75rem; }
.kontaktliste { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.kontaktliste li { border-top: 1px solid rgba(255,255,255,.14); }
.kontaktliste li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.kontaktliste a, .kontaktliste p {
  display: flex; flex-direction: column; gap: .125rem;
  margin: 0; padding: 1rem 0;
  color: var(--weiss); font-weight: 600; text-decoration: none;
}
.kontaktliste span { color: #a39d91; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.kontaktliste a:hover { color: var(--gold-hell); }

/* ---------- Vorher/Nachher-Regler ---------- */

/* Breite begrenzt: bei 4:3 würde die Bühne sonst die ganze Seite füllen */
.vh { margin: 0 auto; max-width: 46rem; }
.vh__buehne {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--linie);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.vh__buehne img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Nachherbild liegt deckungsgleich darüber und wird von rechts her freigegeben */
.vh__nachher { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.vh__nachher img { height: 100%; }
.vh__linie {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 2px; margin-left: -1px; background: var(--weiss);
  box-shadow: 0 0 0 1px rgba(12,12,12,.25); pointer-events: none;
}
.vh__griff {
  position: absolute; top: 50%; left: var(--pos, 50%);
  width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; padding: 0;
  display: grid; place-items: center;
  border: 2px solid var(--weiss); border-radius: 50%;
  background: rgba(12,12,12,.45); backdrop-filter: blur(3px);
  color: var(--weiss); font-size: .875rem; line-height: 1;
  cursor: ew-resize;
}
.vh__griff::before { content: "◂ ▸"; letter-spacing: .05em; }
.vh__griff:focus-visible { outline: 3px solid var(--gold-hell); outline-offset: 3px; }
.vh__schild {
  position: absolute; bottom: .75rem; z-index: 1;
  padding: .3125rem .75rem; border-radius: 999px;
  background: rgba(12,12,12,.7); color: var(--weiss);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  pointer-events: none;
}
.vh__schild--vorher { left: .75rem; }
.vh__schild--nachher { right: .75rem; }
.vh figcaption { margin-top: .875rem; color: var(--grau); font-size: .9375rem; }
.dunkel .vh figcaption, .abschnitt--papier .vh figcaption { color: var(--grau); }

/* ---------- Bildwechsler (Leistungen) ---------- */

.bildwechsel { position: relative; margin: 0; }
.bildwechsel__buehne { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--linie); }
.bildwechsel__buehne img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: opacity .45s ease;
}
.bildwechsel__buehne img + img { position: absolute; inset: 0; height: 100%; }
.bildwechsel__buehne img[hidden] { display: block; opacity: 0; pointer-events: none; }
.bildwechsel__flaeche {
  position: absolute; top: 0; bottom: 0; width: 38%; padding: 0;
  border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .2s;
}
.bildwechsel__flaeche--zurueck { left: 0; justify-items: start; padding-left: .875rem; }
.bildwechsel__flaeche--vor { right: 0; justify-items: end; padding-right: .875rem; }
.bildwechsel__flaeche::before {
  content: ""; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(12,12,12,.55) no-repeat center / .875rem;
  backdrop-filter: blur(3px);
}
.bildwechsel__flaeche--zurueck::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4 7 12l8 8'/%3E%3C/svg%3E"); }
.bildwechsel__flaeche--vor::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 4 8 8-8 8'/%3E%3C/svg%3E"); }
.bildwechsel:hover .bildwechsel__flaeche, .bildwechsel__flaeche:focus-visible { opacity: 1; }
@media (hover: none) { .bildwechsel__flaeche { opacity: 1; } }
.bildwechsel__flaeche:focus-visible::before { outline: 3px solid var(--gold-hell); outline-offset: 3px; }
.bildwechsel__fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .875rem; }
.bildwechsel figcaption { color: var(--grau); font-size: .875rem; }
.bildwechsel__punkte { display: flex; flex: none; gap: .375rem; }
.bildwechsel__punkte span { width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--linie); transition: background .2s, transform .2s; }
.bildwechsel__punkte span[data-aktiv] { background: var(--gold); transform: scale(1.3); }

/* ---------- Leistungen-Seite ---------- */

.leistung { display: grid; gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; }
.leistung + .leistung { margin-top: var(--abschnitt); }
@media (min-width: 56rem) {
  .leistung { grid-template-columns: 1fr 1fr; }
  .leistung--gespiegelt .leistung__bild { order: 2; }
}
.leistung__bild { margin: 0; }
.leistung__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.leistung__bild > figcaption { margin-top: .75rem; color: var(--grau); font-size: .875rem; }
.leistung__nr { display: block; margin-bottom: .75rem; color: var(--gold-text); font-size: .875rem; font-weight: 700; letter-spacing: .14em; }
.leistung h2 { margin-bottom: 1.25rem; font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem); }
.leistung__text > p { color: var(--grau); font-size: 1.125rem; }

.punkte { display: grid; gap: 0; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.punkte li {
  position: relative; padding: .875rem 0 .875rem 1.75rem;
  border-top: 1px solid var(--linie); font-size: 1rem; color: var(--grau);
}
.punkte li::before { content: ""; position: absolute; left: 0; top: 1.4rem; width: .875rem; height: 2px; background: var(--gold-hell); }
.punkte strong { color: var(--schwarz); font-weight: 650; }

/* ---------- Fragen ---------- */

.fragen { max-width: 52rem; border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  position: relative; display: block; cursor: pointer;
  padding: 1.375rem 3rem 1.375rem 0;
  color: var(--schwarz); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); font-weight: 650; line-height: 1.4;
  list-style: none;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 2rem; height: 2rem;
  border: 1.5px solid var(--linie); border-radius: 50%;
  color: var(--gold-text); font-size: 1.25rem; font-weight: 500; line-height: 1;
  transition: transform .2s;
}
.fragen details[open] summary::after { content: "–"; }
.fragen summary:hover { color: var(--gold-text); }
.fragen details p { padding: 0 3rem 1.5rem 0; color: var(--grau); }

/* ---------- Projekte-Seite ---------- */

.galerie-block + .galerie-block { margin-top: var(--abschnitt); }
.galerie-block h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
.galerie-block .abschnitt__kopf { margin-bottom: 2rem; }
.galerie-block .abschnitt__kopf p { color: var(--grau); }
.galerie { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.galerie + .galerie { margin-top: 1rem; }
@media (min-width: 40rem) { .galerie--paar { grid-template-columns: 1fr 1fr; } }
.galerie figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--linie); }
.galerie img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.galerie--paar img { aspect-ratio: 4 / 5; }
.galerie--raster img { aspect-ratio: 4 / 3; }
@media (min-width: 40rem) { .galerie--raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 56rem) { .galerie--raster { grid-template-columns: 1fr 1fr 1fr; } }
.bildtext strong { display: block; font-size: 1.0625rem; }
.bildtext span { color: #d9d4ca; font-weight: 500; font-size: .875rem; }

/* ---------- Kontakt-Seite ---------- */

.kontakt-raster { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 60rem) { .kontakt-raster { grid-template-columns: 1.5fr 1fr; } }
.kontakt-raster h2 { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem); margin-bottom: 1.5rem; }
.kontaktkarte { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--schwarz); color: #d9d4ca; border-radius: var(--radius); border-top: 4px solid var(--gold-hell); }
.kontaktkarte h2 { color: var(--weiss); font-size: 1.5rem; }
.kontaktkarte h3 { margin: 2rem 0 1rem; color: var(--weiss); font-size: 1.1875rem; }
.kontaktkarte ol { margin: 0; padding-left: 1.25rem; font-size: 1rem; }
.kontaktkarte ol li { margin-bottom: .5rem; }
.kontaktkarte ol li::marker { color: var(--gold-hell); font-weight: 700; }

.formular { display: grid; gap: 1.25rem; }
.zwei { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .zwei { grid-template-columns: 1fr 1fr; } }
.feld { display: grid; gap: .375rem; }
.feld label { color: var(--schwarz); font-size: .9375rem; font-weight: 650; }
.feld small { color: var(--grau); font-size: .8125rem; font-weight: 500; }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 3.25rem; padding: .75rem .875rem;
  border: 1.5px solid #cbc3b3; border-radius: var(--radius);
  background: var(--weiss); color: var(--text);
  font: inherit; font-size: 1rem;
}
.feld textarea { min-height: 9rem; resize: vertical; }
.feld input[type="file"] { padding: .625rem; background: var(--papier); }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,151,74,.35); }
.feld__hinweis { margin: 0; color: var(--grau); font-size: .875rem; }
.formular__recht { margin: 0; color: var(--grau); font-size: .875rem; }
.formular .aktionen { margin-top: .25rem; }

/* ---------- Rechtstexte ---------- */

.recht { max-width: 46rem; }
.recht h2 { margin: 2.5rem 0 .75rem; font-size: 1.375rem; }
.recht h2:first-child { margin-top: 0; }
.recht p { color: var(--grau); }
.recht strong { color: var(--schwarz); }

/* ---------- Fuss ---------- */

.fuss { background: var(--tief); color: #b9b3a7; font-size: .9375rem; }
.fuss__raster { display: grid; gap: 2.5rem 3rem; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
@media (min-width: 48rem) { .fuss__raster { grid-template-columns: 1.4fr 1fr 1fr; } }
.fuss__logo { width: 9.5rem; height: auto; margin-bottom: 1.25rem; }
.fuss__titel { margin: 0 0 1rem; color: var(--weiss); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fuss ul { margin: 0; padding: 0; list-style: none; }
.fuss li { margin-bottom: .5rem; }
.fuss a { color: #e3ded3; text-decoration: none; }
.fuss a:hover { color: var(--gold-hell); }
.fuss__unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem;
}
.fuss__unten p { margin: 0; }
.fuss__unten nav { display: flex; gap: 1.5rem; }

/* ---------- Handyleiste ---------- */

.handyleiste { display: none; }
@media (max-width: 47.99rem) {
  body { padding-bottom: 4rem; }
  .handyleiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--schwarz); border-top: 1px solid rgba(255,255,255,.12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .handyleiste a {
    display: grid; place-items: center; min-height: 4rem;
    color: var(--weiss); font-weight: 650; text-decoration: none;
  }
  .handyleiste a + a { background: var(--gold-hell); color: var(--schwarz); }
}

/* ---------- Intro: Farbroller malt das Logo frei (nur Startseite, einmal pro Sitzung) ---------- */

.intro { display: none; }
html.mit-intro .intro {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--tief);
  cursor: pointer;
  animation: intro-weg .5s ease 2.45s forwards;
}
html.mit-intro .intro.intro--schnell { animation: intro-weg .25s ease forwards; }

.intro__buehne {
  position: relative;
  width: min(70vw, 21rem); aspect-ratio: 1;
  animation: intro-halten .7s ease-out 1.8s both;
}
.intro__buehne::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(246,243,236,.1);
}
.intro__bahn {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(90deg, rgba(20,20,20,.06) 0 2px, transparent 2px 33.333%),
    linear-gradient(180deg, #faf8f3, var(--papier) 60%, #efeadf);
  animation-duration: .55s; animation-timing-function: cubic-bezier(.45,.05,.4,1); animation-fill-mode: both;
}
.intro__bahn img { width: 74%; }
.intro__bahn--1 { clip-path: inset(0 66.4% 100% 0); animation-name: bahn-1; animation-delay: .25s; }
.intro__bahn--2 { clip-path: inset(0 33.2% 100% 33.2%); animation-name: bahn-2; animation-delay: .75s; }
.intro__bahn--3 { clip-path: inset(0 0 100% 66.4%); animation-name: bahn-3; animation-delay: 1.25s; }

.intro__roller {
  position: absolute; top: 0; height: 100%; width: 33.4%;
  pointer-events: none;
  animation-duration: .55s, .2s; animation-timing-function: cubic-bezier(.45,.05,.4,1), linear; animation-fill-mode: both, forwards;
  animation-name: rollen, roller-weg;
}
.intro__roller svg { position: absolute; left: -4%; top: 100%; width: 108%; height: auto; transform: translateY(-6%); overflow: visible; }
.intro__roller--1 { left: 0; animation-delay: .25s, .8s; }
.intro__roller--2 { left: 33.3%; animation-delay: .75s, 1.3s; }
.intro__roller--3 { left: 66.6%; animation-delay: 1.25s, 1.8s; }

@keyframes bahn-1 { to { clip-path: inset(0 66.4% 0 0); } }
@keyframes bahn-2 { to { clip-path: inset(0 33.2% 0 33.2%); } }
@keyframes bahn-3 { to { clip-path: inset(0 0 0 66.4%); } }
@keyframes rollen {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes roller-weg { to { opacity: 0; transform: translateY(8%); } }
@keyframes intro-halten { from { transform: scale(1); } to { transform: scale(1.04); } }
@keyframes intro-weg { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  .bildwechsel__buehne img { transition: none; }
  html.mit-intro .intro { display: none; }
  *, *::before, *::after { transition: none !important; }
}
.nw { white-space: nowrap; }
